Fix sigevent namespace (bug 21543).
[glibc.git] / ChangeLog
blob8495478e82eaa34fea7ab6faacf316c2f9cae96d
1 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21543]
4         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
5         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
6         [__USE_XOPEN_EXTENDED].
8 2017-06-02  Florian Weimer  <fweimer@redhat.com>
10         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
11         strdupa.
12         (getcanonname): Use __strdup instead of strdup.
14 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16         * misc/Makefile (CFLAGS-preadv2.c): New rule.
17         (CFLAGS-preadv64v2.c): Likewise.
18         (CFLAGS-pwritev2.c): Likewise.
19         (CFLAGS-pwritev64v2.c): Likewise.
21 2017-06-02  Florian Weimer  <fweimer@redhat.com>
23         Test res_init with several configuration files.
24         * resolv/Makefile [build-shared] (tests-internal): Add
25         tst-resolv-res_init, tst-resolv-res_init-thread.
26         (tst-resolv-res_init): Link against libdl, libresolv.
27         (tst-resolv-res_init-thread): Link against libdl, libresolv,
28         libpthread.
29         * resolv/tst-resolv-res_init.c: New file.
30         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
31         * resolv/tst-resolv-res_init-thread.c: Likewise.
32         * support/Makefile (libsupport-routines): Add support-xstat,
33         support_can_chroot, support_capture_subprocess_check,
34         support_isolate_in_subprocess, support_shared_allocate,
35         support_write_file_string, xchroot, xmkdir, xopen.
36         * support/capture_subprocess.h (enum support_capture_allow): Define.
37         (support_capture_subprocess_check): Declare.
38         * support/namespace.h (support_can_chroot)
39         (support_isolate_in_subprocess): Declare.
40         * support/support-xstat.c: New file.
41         * support/support.h (support_shared_allocate, support_shared_free)
42         (support_write_file_string): Declare.
43         * support/support_can_chroot.c: New file.
44         * support/support_capture_subprocess_check.c: Likewise.
45         * support/support_isolate_in_subprocess.c: Likewise.
46         * support/support_shared_allocate.c: Likewise.
47         * support/support_write_file_string.c: Likewise.
48         * support/xchroot.c: Likwise.
49         * support/xmkdir.c: Likwise.
50         * support/xopen.c: Likwise.
51         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
53 2017-06-02  Florian Weimer  <fweimer@redhat.com>
55         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
56         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
58 2017-06-02  Florian Weimer  <fweimer@redhat.com>
60         * malloc/Makefile (routines): Add dynarray_at_failure,
61         dynarray_emplace_enlarge, dynarray_finalize.
62         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
63         tst-dynarray-at-fail.
64         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
65         (tests-special): Add tst-dynarray-mem.out,
66         tst-dynarray-mem-fail.out.
67         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
68         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
69         mtrace.
70         * malloc/Versions (__libc_dynarray_at_failure)
71         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
72         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
73         GLIBC_PRIVATE.
74         * malloc/dynarray.h: New file.
75         * malloc/dynarray-skeleton.c: Likewise.
76         * malloc/dynarray_at_failure.c: Likewise.
77         * malloc/dynarray_emplace_enlarge.c: Likewise.
78         * malloc/dynarray_finalize.c: Likewise.
79         * malloc/dynarray_resize.c: Likewise.
80         * malloc/dynarray_resize_clear.c: Likewise.
81         * malloc/tst-dynarray.c: Likewise.
82         * malloc/tst-dynarray-fail.c: Likewise.
83         * malloc/tst-dynarray-at-fail.c: Likewise.
84         * malloc/tst-dynarray-shared.h: Likewise.
85         * support/Makefile (libsupport-routines): Add
86         support_capture_subprocess, xdup2, xpipe.
87         (tests): Add tst-support_capture_subprocess.
88         * support/capture_subprocess.h: New file.
89         * support/support_capture_subprocess.c: Likewise.
90         * support/tst-support_capture_subprocess.c: Likewise.
91         * support/xdup2.c: Likewise.
92         * support/xpipe.c: Likewise.
93         * support/xunistd.h (xdup2, xpipe): Declare.
95 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
97         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
98         macros MAX and MIN.
100 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
102         * conform/data/signal.h-data (sa_sigaction): Do not expect for
103         [XPG4].
104         (SA_SIGINFO): Likewise.
105         (SA_ONSTACK): Likewise.
106         (SA_RESETHAND): Likewise.
107         (SA_RESTART): Likewise.
108         (SA_NOCLDWAIT): Likewise.
109         (SA_NODEFER): Likewise.
110         (SS_ONSTACK): Likewise.
111         (SS_DISABLE): Likewise.
112         (MINSIGSTKSZ): Likewise.
113         (SIGSTKSZ): Likewise.
114         (ucontext_t): Likewise.
115         (stack_t): Likewise.
116         (struct sigstack): Likewise.
117         (SI_USER): Do not expect for [XPG4 || XPG42].
118         (SI_QUEUE): Likewise.
119         (SI_TIMER): Likewise.
120         (SI_ASYNCIO): Likewise.
121         (SI_MESGQ): Likewise.
122         (bsd_signal): Do not expect for [XPG4].
123         (killpg): Likewise.
124         (sigaltstack): Likewise.
125         (sighold): Likewise.
126         (sigignore): Likewise.
127         (siginterrupt): Likewise.
128         (sigpause): Likewise.
129         (sigrelse): Likewise.
130         (sigset): Likewise.
131         (sigwait): Do not expect for [XPG4 || XPG42].
133 2017-06-01  Zack Weinberg  <zackw@panix.com>
135         [BZ #21514]
136         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
137         pointing to the generated file in <builddir>/misc/bits/syscall.h.
139 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
141         [BZ #21457]
142         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
143         NGREG to __NGREG if [__USE_MISC].
144         (gregset_t): Define using __NGREG.
145         (__ctx): New macro.
146         (mcontext_t): Use __ctx in defining fields.
147         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
148         define NGREG to __NGREG if [__USE_MISC].
149         (gregset_t): Define using __NGREG.
150         (__ctx): New macro.
151         (__ctxt): Likewise.
152         (fpregset_t): Use __ctx and __ctxt in defining fields.
153         (mcontext_t): Likewise.
154         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
155         define NGREG to __NGREG if [__USE_MISC].
156         (gregset_t): Define using __NGREG.
157         (__ctx): New macro.
158         (mcontext_t): Use __ctx in defining fields.
159         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
160         define NGREG to __NGREG if [__USE_MISC].
161         (gregset_t): Define using __NGREG.
162         (__ctx): New macro.
163         (fpregset_t): Use __ctx in defining fields.
164         (mcontext_t): Likewise.
165         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
166         __NGREG and define NGREG to __NGREG if [__USE_MISC].
167         (gregset_t): Define using __NGREG.
168         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
169         [__USE_MISC].
170         (fpregset_t): Define using __NFPREG.
171         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
172         __NGREG and define NGREG to __NGREG if [__USE_MISC].
173         (gregset_t): Define using __NGREG.
174         (__ctx): New macro.
175         (fpregset_t): Use __ctx in defining fields.
176         (mcontext_t): Likewise.
177         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
178         __NGREG and define NGREG to __NGREG if [__USE_MISC].
179         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
180         [__USE_MISC].
181         (gregset_t): Define using __NGREG.
182         (__ctx): New macro.
183         (fpregset_t): Use __ctx in defining fields.
184         (mcontext_t): Likewise.
185         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
186         (mcontext_t): Use __ctx in defining fields.
187         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
188         macro.
189         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
190         __NGREG if [__USE_MISC].
191         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
192         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
193         (mcontext_t): Likewise.
194         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
195         __NGREG if [__USE_MISC].
196         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
197         to __NFPREG if [__USE_MISC].
198         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
199         to __NVRREG if [__USE_MISC].
200         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
201         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
202         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
203         [__WORDSIZE != 32] (vrregset_t): Likewise.
204         [__WORDSIZE != 32] (mcontext_t): Likewise.
205         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
206         (__psw_t): Use __ctx in defining fields.
207         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
208         [__USE_MISC].
209         (gregset_t): Define using __NGREG.
210         (fpreg_t): Use __ctx in defining fields.
211         (fpregset_t): Likewise.
212         (mcontext_t): Likewise.
213         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
214         __NGREG and define NGREG to __NGREG if [__USE_MISC].
215         (gregset_t): Define using __NGREG.
216         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
217         [__USE_MISC].
218         (fpregset_t): Define using __NFPREG.
219         (__ctx): New macro.
220         (mcontext_t): Use __ctx in defining fields.
221         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
222         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
223         __NGREG if [__USE_MISC].
224         [__x86_64__] (gregset_t): Define using __NGREG.
225         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
226         [__x86_64__] (struct _libc_fpstate): Likewise.
227         [__x86_64__] (mcontext_t): Likewise.
228         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
229         __NGREG if [__USE_MISC].
230         [!__x86_64__] (gregset_t): Define using __NGREG.
231         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
232         [!__x86_64__] (struct _libc_fpstate): Likewise.
233         [!__x86_64__] (mcontext_t): Likewise.
235 2017-06-01  Zack Weinberg  <zackw@panix.com>
237         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
238         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
239         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
240         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
241         libpthread.so no longer references __errno_location.
243 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
245         * NEWS: Add note about pwritev2 and preadv2 inclusion.
246         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
247         pwritev64v2.
248         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
249         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
250         pwritev64v2.
251         * misc/preadv2.c: New file.
252         * misc/preadv64v2.c: Likewise.
253         * misc/pwritev2.c: Likewise.
254         * misc/pwritev64v2.c: Likewise.
255         * misc/tst-preadvwritev2.c: Likewise.
256         * misc/tst-preadvwritev64v2.c: Likewise.
257         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
258         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
259         prototype.
260         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
261         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
262         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
263         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
264         (PWRITEV): Likewise.
265         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
266         ENOSYS.
267         * nptl/tst-cancel4.c (tf_pwritev2): New test.
268         (tf_preadv2): Likewise.
269         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
270         * sysdeps/posix/preadv2.c: Likewise.
271         * sysdeps/posix/preadv64v2.c: Likewise.
272         * sysdeps/posix/pwritev2.c: Likewise.
273         * sysdeps/posix/pwritev64v2.c: Likewise.
274         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
275         support in kernel.
276         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
277         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
278         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
279         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
280         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
281         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
282         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
283         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
284         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
285         support flags on Linux.
286         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
287         preadv2, preadv64v2, pwritev2, pwritev64v2.
288         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
289         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
290         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
291         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
292         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
293         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
294         Likewise.
295         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
296         Likewise.
297         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
298         Likewise.
299         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
300         Likewise.
301         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
302         Likewise.
303         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
304         Likewise.
305         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
306         Likewise.
307         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
309         (GLIBC_2.26): Likewise.
310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
311         (GLIBC_2.26): Likewise.
312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
313         Likewise.
314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
315         (GLIBC_2.26): Likewise.
316         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
317         Likewise.
318         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
319         Likewise.
320         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
321         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
322         Likewise.
323         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
324         Likewise.
325         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
326         Likewise.
327         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
328         Likewise.
329         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
330         Likewise.
331         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
332         Likewise.
333         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
334         Likewise.
336 2017-05-31  Andreas Schwab  <schwab@suse.de>
338         * nptl/tst-fork3.c: Include <support/test-driver.c>.
339         (main): Rename to do_test and make static.
341 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
343         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
344         ARCH_INIT_CPU_FEATURES.
345         (LIBC_START_MAIN): Call it.
346         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
347         (__libc_start_main): Remove.
348         (ARCH_INIT_CPU_FEATURES): New macro.
349         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
350         (ARCH_INIT_CPU_FEATURES): New macro.
352 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
353             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
355         * include/stdlib.h (__libc_reallocarray): New declaration.
356         * malloc/Makefile (routines): Add reallocarray.
357         (tests): Add tst-reallocarray.c.
358         * malloc/Versions: Add reallocarray and __libc_reallocarray.
359         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
360         function.
361         * malloc/malloc.h (reallocarray): New declaration.
362         * stdlib/stdlib.h (reallocarray): Likewise.
363         * malloc/reallocarray.c: New file.
364         * malloc/tst-reallocarray.c: New test file.
365         * manual/memory.texi: Document reallocarray.
366         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
367         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
368         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
369         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
370         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
371         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
372         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
373         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
374         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
375         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
376         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
377         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
379         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
381         Likewise.
382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
383         Likewise.
384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
386         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
387         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
388         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
389         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
390         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
393         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
397 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
399         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
400         the lower 32 bits.
402 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
404         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
405         $(build-pie-default) = yes]: Define.
407 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
409         * string/test-memchr.c (test_main): Add tests for n == 0.
411 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
413         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
414         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
415         (tests-internal): ... here.
417 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
418              H.J. Lu  <hongjiu.lu@intel.com>
420         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
421         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
422         (__tunable_set_val): Likewise.
424 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
426         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
427         dl-tunables.list in subdirectories.
429 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
430             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
431             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
433         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
434         (SNANF128): New macro.
435         * math/e_sqrtf128.c: New file.
436         * math/s_fmaxmag_template.c: Include math_private.h in order to
437         make inline expansion of fabs128().
438         * math/s_fminmag_template.c: Likewise.
440         * sysdeps/ieee754/float128/e_acosf128.c: New file.
441         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
442         * sysdeps/ieee754/float128/e_asinf128.c: New file.
443         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
444         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
445         * sysdeps/ieee754/float128/e_coshf128.c: New file.
446         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
447         * sysdeps/ieee754/float128/e_expf128.c: New file.
448         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
449         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
450         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
451         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
452         * sysdeps/ieee754/float128/e_j0f128.c: New file.
453         * sysdeps/ieee754/float128/e_j1f128.c: New file.
454         * sysdeps/ieee754/float128/e_jnf128.c: New file.
455         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
456         * sysdeps/ieee754/float128/e_log10f128.c: New file.
457         * sysdeps/ieee754/float128/e_log2f128.c: New file.
458         * sysdeps/ieee754/float128/e_logf128.c: New file.
459         * sysdeps/ieee754/float128/e_powf128.c: New file.
460         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
461         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
462         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
463         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
464         * sysdeps/ieee754/float128/float128_private.h: New file.
465         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
466         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
467         * sysdeps/ieee754/float128/k_cosf128.c: New file.
468         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
469         * sysdeps/ieee754/float128/k_sinf128.c: New file.
470         * sysdeps/ieee754/float128/k_tanf128.c: New file.
471         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
472         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
473         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
474         * sysdeps/ieee754/float128/s_atanf128.c: New file.
475         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
476         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
477         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
478         * sysdeps/ieee754/float128/s_cosf128.c: New file.
479         * sysdeps/ieee754/float128/s_erff128.c: New file.
480         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
481         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
482         * sysdeps/ieee754/float128/s_finitef128.c: New file.
483         * sysdeps/ieee754/float128/s_floorf128.c: New file.
484         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
485         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
486         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
487         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
488         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
489         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
490         * sysdeps/ieee754/float128/s_isinff128.c: New file.
491         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
492         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
493         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
494         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
495         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
496         * sysdeps/ieee754/float128/s_logbf128.c: New file.
497         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
498         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
499         * sysdeps/ieee754/float128/s_modff128.c: New file.
500         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
501         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
502         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
503         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
504         * sysdeps/ieee754/float128/s_remquof128.c: New file.
505         * sysdeps/ieee754/float128/s_rintf128.c: New file.
506         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
507         * sysdeps/ieee754/float128/s_roundf128.c: New file.
508         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
509         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
510         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
511         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
512         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
513         * sysdeps/ieee754/float128/s_significandf128.c: New file.
514         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
515         * sysdeps/ieee754/float128/s_sinf128.c: New file.
516         * sysdeps/ieee754/float128/s_tanf128.c: New file.
517         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
518         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
519         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
520         * sysdeps/ieee754/float128/s_truncf128.c: New file.
521         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
522         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
523         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
524         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
526         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
527         (__iscanonicalf128): Define as a macro.
529 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
531         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
532         (memmove): Use MEMMOVE for name.
533         (memcpy): Use MEMCPY for name.  Change internal labels
534         to external labels.
535         * sysdeps/aarch64/multiarch/Makefile: New file.
536         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
537         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
538         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
539         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
540         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
541         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
543 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
545         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
546         (_dl_arm_cap_flags): Fix array subscript.
547         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
548         Fix count.
550 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
552         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
554 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
556         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
557         (is_amd): Likewise.
558         (max_cpuid): Likewise.
559         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
560         (init_cacheinfo): Likewise.
562 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
564         [BZ #21511]
565         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
566         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
567         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
568         !__USE_XOPEN2K) || __USE_MISC].
569         * conform/data/signal.h-data (struct sigstack): Expect type only
570         if [!XOPEN2K8 && !POSIX2008].
571         (sigstack): Expect function only if [XPG42 || UNIX98].
573         [BZ #21457]
574         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
575         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
576         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
577         <bits/types/__sigset_t.h>.
578         (ucontext_t): Use sigset_t instead of __sigset_t.
579         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
580         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
581         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
582         <bits/types/__sigset_t.h>.
583         (ucontext_t): Use sigset_t instead of __sigset_t.
584         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
585         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
586         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
587         <bits/types/__sigset_t.h>.
588         (ucontext_t): Use sigset_t instead of __sigset_t.
589         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
590         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
591         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
592         <bits/types/__sigset_t.h>.
593         (ucontext_t): Use sigset_t instead of __sigset_t.
594         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
595         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
596         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
597         <bits/types/__sigset_t.h>.
598         (ucontext_t): Use sigset_t instead of __sigset_t.
599         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
600         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
601         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
602         <bits/types/__sigset_t.h>.
603         (ucontext_t): Use sigset_t instead of __sigset_t.
604         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
605         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
606         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
607         <bits/types/__sigset_t.h>.
608         (ucontext_t): Use sigset_t instead of __sigset_t.
609         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
610         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
611         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
612         <bits/types/__sigset_t.h>.
613         (ucontext_t): Use sigset_t instead of __sigset_t.
614         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
615         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
616         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
617         <bits/types/__sigset_t.h>.
618         (ucontext_t): Use sigset_t instead of __sigset_t.
619         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
620         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
621         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
622         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
623         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
624         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
625         <bits/types/__sigset_t.h>.
626         (ucontext_t): Use sigset_t instead of __sigset_t.
627         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
628         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
629         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
630         <bits/types/__sigset_t.h>.
631         (ucontext_t): Use sigset_t instead of __sigset_t.
632         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
633         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
634         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
635         <bits/types/__sigset_t.h>.
636         (ucontext_t): Use sigset_t instead of __sigset_t.
637         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
638         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
639         <bits/ss_flags.h>.
640         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
641         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
642         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
643         <bits/types/__sigset_t.h>.
644         (ucontext_t): Use sigset_t instead of __sigset_t.
645         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
646         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
647         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
648         <bits/types/__sigset_t.h>.
649         (ucontext_t): Use sigset_t instead of __sigset_t.
650         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
651         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
652         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
653         <bits/types/__sigset_t.h>.
654         (ucontext_t): Use sigset_t instead of __sigset_t.
655         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
656         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
657         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
658         <bits/types/__sigset_t.h>.
659         (ucontext_t): Use sigset_t instead of __sigset_t.
660         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
661         <bits/types.h>.
662         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
663         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
664         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
665         <bits/types/__sigset_t.h>.
666         (ucontext_t): Use sigset_t instead of __sigset_t.
668 2017-05-22  Zack Weinberg  <zackw@panix.com>
670         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
671         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
672         bits/siginfo-arch.h, only if not already defined.
673         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
674         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
675         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
676         Likewise.
678         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
679         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
680         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
681         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
682         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
683         Unconditionally define __SI_* macros.
685 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
687         [BZ #21393]
688         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
689         and add a check for dup3 failure.
690         * libio/freopen64.c (freopen64): Likewise.
691         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
692         libsupport.
693         (do_test_bz21398): New test.
694         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
696 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
698         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
699         Remove invalid comment.
701 2017-05-21  Zack Weinberg  <zackw@panix.com>
703         * signal/Makefile (headers): Add bits/types/sigval_t.h.
705 2017-05-20  Zack Weinberg  <zackw@panix.com>
707         * bits/sigevent-consts.h
708         * bits/siginfo-consts.h
709         * bits/types/__sigset_t.h
710         * bits/types/sigevent_t.h
711         * bits/types/siginfo_t.h
712         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
713         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
714         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
715         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
716         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
717         New system-dependent bits headers.
719         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
720         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
721         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
722         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
723         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
724         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
725         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
726         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
727         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
728         New Linux-only system-dependent bits headers.
730         * signal/bits/types/sig_atomic_t.h
731         * signal/bits/types/sigset_t.h
732         * signal/bits/types/sigval_t.h:
733         New non-system-dependent bits headers.
735         * sysdeps/generic/sigsetops.h
736         * sysdeps/unix/sysv/linux/sigsetops.h:
737         New internal headers.
739         * include/bits/types/sig_atomic_t.h
740         * include/bits/types/sigset_t.h
741         * include/bits/types/sigval_t.h:
742         New wrappers.
744         * signal/sigsetops.h
745         * bits/siginfo.h
746         * bits/sigset.h
747         * sysdeps/unix/sysv/linux/bits/siginfo.h
748         * sysdeps/unix/sysv/linux/bits/sigset.h
749         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
750         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
751         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
752         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
753         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
754         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
755         Deleted.
757         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
758         Update lists of installed headers.
760         * posix/bits/types.h: Define __sig_atomic_t here.
761         * signal/signal.h: Use the new bits headers; no need to handle
762         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
763         to define sigmask.
764         * include/signal.h: No need to handle __need_sig_atomic_t
765         nor __need_sigset_t.  Don't define __sigemptyset.
767         * io/sys/poll.h, setjmp/setjmp.h
768         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
769         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
770         * sysdeps/mach/hurd/i386/bits/sigcontext.h
771         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
772         * sysdeps/pthread/bits/sigthread.h
773         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
774         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
775         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
776         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
777         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
778         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
779         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
780         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
781         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
782         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
783         Use bits/types/__sigset_t.h.
785         * misc/sys/select.h, posix/spawn.h
786         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
787         * sysdeps/unix/sysv/linux/sys/epoll.h
788         * sysdeps/unix/sysv/linux/sys/signalfd.h:
789         Use bits/types/sigset_t.h.
791         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
792         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
793         * socket/sys/socket.h: Don't include bits/sigset.h.
795         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
796         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
797         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
798         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
799         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
800         * sysdeps/unix/sysv/linux/nptl-signals.h:
801         Include sigsetops.h.
803         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
804         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
805         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
806         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
807         now return no value.
809         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
810         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
811         "sigsetops.h".
813         * signal/sigsetops.c: Explicitly define __sigismember,
814         __sigaddset, and __sigdelset as compatibility symbols.
816         * signal/Versions: Correct commentary on __sigpause,
817         __sigaddset, __sigdelset, __sigismember.
819         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
820         __sigblock/__sigsetmask to use __sigprocmask and friends.
822         * resolv/resolv.h: Remove __need_res_state logic.
823         Move definition of res_state and related constants to ...
824         * resolv/bits/types/res_state.h: ...this new file.
825         * resolv/Makefile: Install bits/types/res_state.h.
826         * include/bits/types/res_state.h: New wrapper.
827         * include/list.h: Remove __need_list_t logic.
828         Move definition of list_t to ...
829         * include/list_t.h: ...this new file.
831         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
832         instead of list.h and resolv.h.
834         * resolv/resolv.h: Remove __need_res_state logic.
835         Move definition of res_state and related constants to ...
836         * resolv/bits/types/res_state.h: ...this new file.
837         * resolv/Makefile: Install bits/types/res_state.h.
838         * include/bits/types/res_state.h: New wrapper.
839         * include/list.h: Remove __need_list_t logic.
840         Move definition of list_t to ...
841         * include/list_t.h: ...this new file.
843         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
844         instead of list.h and resolv.h.
846 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
848         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
850 2017-05-20  Zack Weinberg  <zackw@panix.com>
852         * sysdeps/arm/sysdep.h
853         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
855         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
856         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
857         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
858         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
859         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
860         * sysdeps/arm/armv6t2/strlen.S
861         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
862         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
863         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
864         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
865         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
866         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
868 2017-05-20  Zack Weinberg  <zackw@panix.com>
870         Remove the NaCl port.
871         * sysdeps/arm/nacl: Remove directory and contents.
872         * sysdeps/nacl: Remove directory and contents.
873         * abi-tags: Remove .*-.*-nacl.* entry.
875 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
877         * manual/errno.texi: Convert @comment-based errno documentation to
878         @errno.
879         * manual/macros.texi (@errno): New macro.  Consolidate errors,
880         their values, and messages, adding the error string to the Concept
881         Index.  Provide a warning in the comment about external (to the
882         manual) dependencies.
883         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
884         * sysdeps/mach/hurd/errnos.awk: Likewise.
886 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
888         * bits/ss_flags.h: New file.
889         * bits/types/stack_t.h: Likewise.
890         * include/bits/types/struct_sigstack.h: Likewise.
891         * signal/bits/types/struct_sigstack.h: Likewise.
892         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
893         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
894         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
895         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
896         bits/types/stack_t.h and bits/ss_flags.h.
897         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
898         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
899         <bits/ss_flags.h>.
900         * bits/sigstack.h (struct sigstack): Remove.
901         (stack_t): Likewise.
902         (SS_ONSTACK): Likewise.
903         (SS_DISABLE): Likewise.
904         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
905         (struct sigstack): Likewise.
906         (stack_t): Likewise.
907         (SS_ONSTACK): Likewise.
908         (SS_DISABLE): Likewise.
909         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
910         Likewise.
911         (stack_t): Likewise.
912         (SS_ONSTACK): Likewise.
913         (SS_DISABLE): Likewise.
914         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
915         Likewise.
916         (stack_t): Likewise.
917         (SS_ONSTACK): Likewise.
918         (SS_DISABLE): Likewise.
919         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
920         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
921         Likewise.
922         (stack_t): Likewise.
923         (SS_ONSTACK): Likewise.
924         (SS_DISABLE): Likewise.
925         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
926         (struct sigstack): Likewise.
927         (stack_t): Likewise.
928         (SS_ONSTACK): Likewise.
929         (SS_DISABLE): Likewise.
930         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
931         Likewise.
932         (stack_t): Likewise.
933         (SS_ONSTACK): Likewise.
934         (SS_DISABLE): Likewise.
935         * sysdeps/arm/sys/ucontext.h: Include
936         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
937         <bits/ss_flags.h>.
938         * sysdeps/generic/sys/ucontext.h: Likewise.
939         * sysdeps/i386/sys/ucontext.h: Likewise.
940         * sysdeps/m68k/sys/ucontext.h: Likewise.
941         * sysdeps/mips/sys/ucontext.h: Likewise.
942         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
943         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
944         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
945         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
946         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
947         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
948         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
949         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
950         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
951         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
952         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
953         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
954         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
955         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
956         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
958 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
960         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
961         "edx + ecx - 16" to avoid possible addition overflow.
962         * sysdeps/x86_64/memchr.S (memchr): Likewise.
964 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
966         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
967         (CFLAGS-splice.c): Likewise.
968         (CFLAGS-open_by_handle_at.c): Likewise.
969         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
970         (CFLAGS-splice.c): Likewise.
971         (CFLAGS-open_by_handle_at.c): Likewise.
973 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
975         * scripts/versions.awk: Generate ldbl-compat-choose.h.
976         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
977         <ldbl-compat-choose.h>.
978         (maybe_long_double_symbol): New macro.
979         [!declare_mgen_alias] (declare_mgen_alias): Use
980         maybe_long_double_symbol.
981         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
982         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
983         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
984         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
985         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
986         * Makerules [$(build-shared) = yes && !avoid-generated]
987         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
988         [$(build-shared) = yes && !avoid-generated]
989         ($(common-objpfx)ldbl-compat-choose.h): New target.
991         * scripts/versions.awk: Generate first-versions.h.
992         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
993         <first-versions.h>.
994         (LDOUBLE_cabsl_libm_version): Remove macro.
995         (LDOUBLE_cargl_libm_version): Likewise.
996         (LDOUBLE_cimagl_libm_version): Likewise.
997         (LDOUBLE_conjl_libm_version): Likewise.
998         (LDOUBLE_creall_libm_version): Likewise.
999         (LDOUBLE_cacosl_libm_version): Likewise.
1000         (LDOUBLE_cacoshl_libm_version): Likewise.
1001         (LDOUBLE_ccosl_libm_version): Likewise.
1002         (LDOUBLE_ccoshl_libm_version): Likewise.
1003         (LDOUBLE_casinl_libm_version): Likewise.
1004         (LDOUBLE_csinl_libm_version): Likewise.
1005         (LDOUBLE_casinhl_libm_version): Likewise.
1006         (LDOUBLE_csinhl_libm_version): Likewise.
1007         (LDOUBLE_catanl_libm_version): Likewise.
1008         (LDOUBLE_catanhl_libm_version): Likewise.
1009         (LDOUBLE_ctanl_libm_version): Likewise.
1010         (LDOUBLE_ctanhl_libm_version): Likewise.
1011         (LDOUBLE_cexpl_libm_version): Likewise.
1012         (LDOUBLE_clogl_libm_version): Likewise.
1013         (LDOUBLE_cprojl_libm_version): Likewise.
1014         (LDOUBLE_csqrtl_libm_version): Likewise.
1015         (LDOUBLE_cpowl_libm_version): Likewise.
1016         (LDOUBLE_clog10l_libm_version): Likewise.
1017         (LDOUBLE___clog10l_libm_version): Likewise.
1018         (LDOUBLE_fdiml_libm_version): Likewise.
1019         (LDOUBLE_fmaxl_libm_version): Likewise.
1020         (LDOUBLE_fminl_libm_version): Likewise.
1021         (LDOUBLE_ilogbl_libm_version): Likewise.
1022         (LDOUBLE_nanl_libm_version): Likewise.
1023         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1024         FIRST_VERSION_libm_* macros.
1025         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1026         * Makerules [$(build-shared) = yes && !avoid-generated]
1027         (before-compile): Add $(common-objpfx)first-versions.h.
1028         [$(build-shared) = yes && !avoid-generated]
1029         ($(common-objpfx)first-versions.h): New target.
1030         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1031         building $(common-objpfx)versions.stmp.
1033 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1035         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1036         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1037         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1038         auto-generation list.
1040         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1041         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1042         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1043         from auto-generation list.
1045         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1046         open_by_handle_at.
1047         (CFLAGS-open_by_handle_at.c): New flag.
1048         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1049         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1050         file.
1051         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1053         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1054         (CFLAGS-splice.c): New flag.
1055         * sysdeps/unix/sysv/linux/splice.c: New file.
1056         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1057         auto-generation syscall list.
1058         * misc/Makefile (CFLAGS-splice.c): New rule.
1060         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1061         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1062         auto-generation syscall list.
1063         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1064         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1066         * misc/Makefile (CFLAGS-fsync.c): New flag.
1067         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1068         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1069         syscall list.
1070         * sysdeps/unix/sysv/linux/fsync.c: New file.
1071         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1072         (__errno_location): Remove.
1074         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1075         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1076         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1077         list.
1078         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1080         * misc/Makefile (CFLAGS-msync.c): New rule.
1081         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1082         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1083         * sysdeps/unix/sysv/linux/msync.c: New file.
1085         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1086         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1087         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1088         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1089         (CFLAGS-sigsuspend.c): Remove rule.
1091         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1092         (CFLAGS-tee.c): New rule.
1093         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1094         auto-generated list.
1095         * sysdeps/unix/sysv/linux/tee.c: New file.
1097         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1098         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1099         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1100         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1101         auto-generated list.
1103         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1104         auto-generated list.
1105         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1106         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1107         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1108         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1109         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1111         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1112         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1113         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1114         (__NR_pause): Undefine.
1115         * sysdeps/unix/sysv/linux/pause.c: New file.
1116         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1117         auto-generation list.
1118         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1119         Remove rule.
1120         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1122 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1124         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1125         comments.
1127 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1129         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1130         LD_HWCAP_MASK.
1132 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1134         * manual/conf.texi: Convert @tables of annotated @items to
1135         @vtables.
1136         * manual/lang.texi: Likewise.
1137         * manual/pattern.texi: Likewise.
1138         * manual/resource.texi: Likewise.
1139         * manual/socket.texi: Likewise.
1141 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1143         * manual/crypt.texi: Move a comment out of an @*x list.
1144         * manual/filesys.texi: Refactor some comments, one of which looks
1145         like a standard.  Fix incorrectly separated standards.
1146         * manual/locale.texi: Invert an annotation.
1147         * manual/resource.texi: Fix incorrectly separated standards.
1148         * manual/time.texi: Refactor a @vtable that obscures an
1149         annotation.
1150         * manual/users.texi: Refactor multiple headers to occupy a single
1151         @comment.
1153 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1155         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1156         (sysdep_routines): Add memcmp-power8.
1157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1158         (memcmp): Add __memcmp_power8 to list of memcmp functions.
1159         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1160         (memcmp): Add __memcmp_power8 to ifunc list.
1161         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1162         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1164 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1165             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1167         * math/math.h (__MATH_TG): Extend the conditions to add
1168         _Float128 support.
1169         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1171 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
1173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1174         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1175         s_cosf-ppc64.
1176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1179         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1181 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1183         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1184         (gen-libm-calls): Add e_exp2F to use the template.
1185         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1186         * math/e_exp2_template.c: New file, renamed from
1187         math/e_exp2l.c, and made into a template.
1188         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1190 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1192         * elf/dl-tunable-types.h (tunable_type_code_t): New type
1193         TUNABLE_TYPE_UINT_64.
1194         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1195         Simplify computation of overflow.
1196         (tunable_set_val_if_valid_range_signed,
1197         tunable_set_val_if_valid_range_unsigned): Remove and replace
1198         with this...
1199         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1200         (tunable_initialize): Adjust.  Add uint64_t support.
1201         (__tunable_set_val): Add uint64_t support.
1202         * README.tunables: Document it.
1204         * scripts/gen-tunables.awk: Recognize 'default' keyword in
1205         dl-tunables.list.
1206         * README.tunables: Document it.
1208 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1210         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1211         * sysdeps/posix/preadv64.c: Likewise.
1212         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1213         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1214         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1215         * sysdeps/posix/pwritev64.c: Likewise.
1216         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1217         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1218         * sysdeps/posix/preadv_common.c: New file.
1219         * sysdeps/posix/pwritev_common.c: Likewise.
1221 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1223         * sysdeps/generic/math-type-macros-float128.h
1224         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1225         wrapper templates.
1227 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1228             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1230         * include/complex.h (__kernel_casinhf128): New declaration.
1231         * include/float.h: New file.
1232         * include/math.h (__finitef128): Add a hidden def.
1233         (__isinff128): Likewise.
1234         (__isnanf128): Likewise.
1235         (__fpclassify): Likewise.
1236         (__issignalling): Likewise.
1237         (__expf128): Likewise.
1238         (__expm1f128): Likewise.
1240         * sysdeps/generic/fix-fp-int-convert-overflow.h:
1241         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
1242         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
1244         * sysdeps/generic/math-type-macros-float128.h: New file.
1246         * sysdeps/generic/math_private.h: Include bits/floatn.h and
1247         math_private_calls.h for _Float128.
1248         (__isinff128): New inline implementation used when GCC < 7.0,
1249         since in this case __builtin_isinf_sign is broken.
1250         (fabsf128): New inline implementation that calls the builtin.
1251         (__EXPR_FLT128): New macro.
1252         (min_of_type): Optionally include _Float128 types too.
1254         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
1255         Declare for _Float128.
1256         (__kernel_rem_pio2): Likewise.
1258         * sysdeps/ieee754/ldbl-opt/s_sin.c:
1259         (__DECL_SIMD_sincos_disablef128): New macro.
1261 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1263         * math/math.h: Include bits/math-finite.h for float128.
1264         (__MATH_DECLARING_FLOATN): Define to control declaration of
1265         float128 functions.
1266         * math/bits/math-finite.h (pow10): Do not declare for float128.
1267         (gamma): Likewise.
1268         (scalb): Likewise.
1270 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1271             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1273         * bits/floatn.h: New file.
1274         * bits/huge_val_flt128.h: Likewise.
1276         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
1277         (__DECL_SIMD_sinf128): Likewise.
1278         (__DECL_SIMD_sincosf128): Likewise.
1279         (__DECL_SIMD_logf128): Likewise.
1280         (__DECL_SIMD_expf128): Likewise.
1281         (__DECL_SIMD_powf128): Likewise.
1283         * math/Makefile (headers): Install bits/floatn.h and
1284         bits/huge_val_flt128.h.
1286         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
1287         defined.
1289         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
1290         (isnan, gamma, nexttoward, scalb): Only define if not
1291         __MATH_DECLARING_FLOATN.
1292         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
1293         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
1294         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
1295         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
1297         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
1298         Include bits/cmathcalls.h to get the declarations of _Float128
1299         versions of complex functions.
1300         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
1301         Define macro.
1303         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
1304         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
1305         get the declarations of _Float128 versions of math functions.
1306         (__MATH_DECLARING_FLOATN): New macro to control declaration of
1307         _FloatN types.
1308         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
1309         is type-generic, so use it without __MATH_TG.
1310         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
1311         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
1312         _Float128 type and GCC < 7.0, otherwise use the builtin.
1313         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
1314         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
1315         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
1316         New _GNU_SOURCE enabled macros.
1318 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1320         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
1321         (signbitf): Likewise.
1322         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
1323         Likewise.
1324         (signbitl): Likewise.
1325         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
1326         Likewise.
1327         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
1328         (signbitl): Likewise.
1329         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
1331 2017-05-12  Florian Weimer  <fweimer@redhat.com>
1333         [BZ #21386]
1334         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
1335         parent PID.  The assertion in the child is incorrect with PID
1336         namespaces.
1338 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1340         * sysdeps/unix/sysv/linux/kernel-features.h
1341         (__ASSUME_STATFS_F_FLAGS): Remove macro.
1342         * sysdeps/unix/sysv/linux/internal_statvfs.c
1343         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
1345 2017-05-11  Zack Weinberg  <zackw@panix.com>
1347         * Makerules: New subdir configuration variables 'tests-internal'
1348         and 'test-internal-extras'.  Test files in these categories will
1349         still be compiled with MODULE_NAME=nonlib.  Test files in the
1350         existing categories (tests, xtests, test-srcs, test-extras) are
1351         now compiled with MODULE_NAME=testsuite.
1352         New subdir configuration variable 'modules-names-tests'.  Files
1353         which are in both 'modules-names' and 'modules-names-tests' will
1354         be compiled with MODULE_NAME=testsuite instead of
1355         MODULE_NAME=extramodules.
1356         (gen-as-const-headers): Move to tests-internal.
1357         (do-tests-clean, common-mostlyclean): Support tests-internal.
1358         * Makeconfig (built-modules): Add testsuite.
1359         * Makefile: Change libof-check-installed-headers-c and
1360         libof-check-installed-headers-cxx to 'testsuite'.
1361         * Rules: Likewise.  Support tests-internal.
1362         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
1363         Remove extra-modules.mk.
1365         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
1366         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
1367         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
1368         very top of the file and rationalize their order.
1369         If MODULE_NAME is not defined at all, define IS_IN to always be
1370         false, and don't define _ISOMAC.
1371         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
1372         true, define _ISOMAC and suppress everything else in this file,
1373         starting with the inclusion of config.h.
1374         Do check for inappropriate definitions of __OPTIMIZE__ and
1375         __FAST_MATH__ here, but only if _ISOMAC is not defined.
1376         Correct some out-of-date commentary.
1378         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
1379         and _Mlong_double_ before including math.h.
1380         * include/string.h: If _ISOMAC is defined, don't expose
1381         _STRING_ARCH_unaligned. Move a comment to a more appropriate
1382         location.
1384         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
1385         * include/time.h, include/unistd.h, include/wchar.h: No need to
1386         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
1388         * misc/sys/cdefs.h (__NTHNL): New macro.
1389         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
1390         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
1392         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
1393         defined, for HAVE_TUNABLES.
1394         * inet/tst-checks-posix.c: No need to define _ISOMAC.
1395         * intl/tst-gettext2.c: Provide own definition of N_.
1396         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
1397         * math/test-signgam-main.c: No need to define _ISOMAC.
1398         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
1399         * stdlib/tst-strtod1i.c: ...this new file.
1400         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
1401         Split tests of __strtod_internal to...
1402         * stdlib/tst-strtod5i.c: ...this new file.
1403         * string/test-string.h: Include stdint.h. Duplicate definition of
1404         inhibit_loop_to_libcall here (from libc-symbols.h).
1405         * string/test-strstr.c: Provide dummy definition of
1406         libc_hidden_builtin_def when including strstr.c.
1407         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
1408         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
1409         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1410         Don't include init-arch.h.
1411         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1412         Don't include init-arch.h.
1414         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
1415         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
1416         unload, unload2, circleload1, neededtest, neededtest2,
1417         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
1418         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
1419         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
1420         ifunc tests to tests-internal.
1421         Don't add $(modules-names) to test-extras.
1422         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
1423         Add tst-deadline to tests-static-internal.
1424         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
1425         tests-internal.
1426         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
1427         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
1428         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
1429         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
1430         tst-sem12-static, and tst-stackguard1-static to tests-internal.
1431         Link tests-internal with libpthread also.
1432         Don't add $(modules-names) to test-extras.
1433         * nss/Makefile: Move tst-field to tests-internal.
1434         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
1435         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
1436         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
1437         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
1438         tests-internal.
1439         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
1440         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
1441         test-get_hwcap-static to tests-internal.
1442         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
1443         tests-internal.
1444         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
1445         modules-names-tests.
1447 2017-05-11  Zack Weinberg  <zackw@panix.com>
1449         * libio/libio.h: Condition dummy definition of _IO_lock_t on
1450         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
1451         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
1452         _IO_funlockfile, and _IO_ftrylockfile.  Only define
1453         _IO_cleanup_region_start and _IO_cleanup_region_end if not
1454         already defined.
1455         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
1456         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
1457         appropriately.
1458         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
1459         Define _IO_lock_t_defined after defining _IO_lock_t.
1461 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1463         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
1464         void* for argument type and use VDSO_SYMBOL macro.
1465         (is_sigtramp_address_rt): Likewise.
1466         (__backtrace): Setup expected frame pointer address for signal
1467         handling.
1468         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
1469         void* for argumetn type and use VSDO_SYMBOL macro.
1470         (__backtrace): Setup expected frame pointer address for signal
1471         handling.
1473         * sysdeps/unix/sysv/linux/writev.c: New file.
1475         * sysdeps/unix/sysv/linux/readv.c: New file.
1477         * include/unistd.h (write): Add hidden proto.
1478         * io/Makefile (CFLAGS-write.c): New define.
1479         * nptl/Makefile (CFLAGS-write.c): Likewise.
1480         * sysdeps/unix/sysv/linux/write.c: New file.
1482         [BZ #21428]
1483         * include/unistd.h (read): Add hidden proto.
1484         * io/Makefile (CFLAGS-read.c): New define.
1485         * nptl/Makefile (CFLAGS-read.c): Likewise.
1486         * sysdeps/unix/sysv/linux/read.c: New file.
1488         * io/Makefile (CFLAGS-creat.c): New rule.
1489         (CFLAGS-creat64.c): Likewise.
1490         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
1491         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
1492         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
1493         * sysdeps/unix/sysv/linux/creat.c: New file.
1494         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
1495         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
1496         auto-generated list.
1497         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1499         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
1500         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
1501         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
1502         * sysdeps/unix/sysv/linux/open.c: New file.
1503         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
1504         iff __WORDSIZE != 64 and use __NR_openat when available.
1505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
1506         from auto-generated list.
1508         * nptl/Makefile (CFLAGS-close.c): New flag.
1509         * sysdeps/unix/sysv/linux/close.c: New file.
1511 2017-05-11  DJ Delorie  <dj@redhat.com>
1513         * MAINTAINERS: New.  Points to wiki.
1515 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1517         * scripts/gen-tunables.awk: Add attribute_relro to
1518         tunable_list.
1520 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
1522         [BZ #21457]
1523         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
1524         (R1): Likewise.
1525         (R2): Likewise.
1526         (R3): Likewise.
1527         (R4): Likewise.
1528         (R5): Likewise.
1529         (R6): Likewise.
1530         (R7): Likewise.
1531         (R8): Likewise.
1532         (R9): Likewise.
1533         (R10): Likewise.
1534         (R11): Likewise.
1535         (R12): Likewise.
1536         (R13): Likewise.
1537         (R14): Likewise.
1538         (R15): Likewise.
1539         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
1540         (REG_FS): Likewise.
1541         (REG_ES): Likewise.
1542         (REG_DS): Likewise.
1543         (REG_EDI): Likewise.
1544         (REG_ESI): Likewise.
1545         (REG_EBP): Likewise.
1546         (REG_ESP): Likewise.
1547         (REG_EBX): Likewise.
1548         (REG_EDX): Likewise.
1549         (REG_ECX): Likewise.
1550         (REG_EAX): Likewise.
1551         (REG_TRAPNO): Likewise.
1552         (REG_ERR): Likewise.
1553         (REG_EIP): Likewise.
1554         (REG_CS): Likewise.
1555         (REG_EFL): Likewise.
1556         (REG_UESP): Likewise.
1557         (REG_SS): Likewise.
1558         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
1559         (R_D1): Likewise.
1560         (R_D2): Likewise.
1561         (R_D3): Likewise.
1562         (R_D4): Likewise.
1563         (R_D5): Likewise.
1564         (R_D6): Likewise.
1565         (R_D7): Likewise.
1566         (R_A0): Likewise.
1567         (R_A1): Likewise.
1568         (R_A2): Likewise.
1569         (R_A3): Likewise.
1570         (R_A4): Likewise.
1571         (R_A5): Likewise.
1572         (R_A6): Likewise.
1573         (R_A7): Likewise.
1574         (R_SP): Likewise.
1575         (R_PC): Likewise.
1576         (R_PS): Likewise.
1577         (fpregset_t): Likewise.
1578         (MCONTEXT_VERSION): Likewise.
1579         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1580         (CTX_AT): Likewise.
1581         (CTX_V0): Likewise.
1582         (CTX_V1): Likewise.
1583         (CTX_A0): Likewise.
1584         (CTX_A1): Likewise.
1585         (CTX_A2): Likewise.
1586         (CTX_A3): Likewise.
1587         (CTX_T0): Likewise.
1588         (CTX_T1): Likewise.
1589         (CTX_T2): Likewise.
1590         (CTX_T3): Likewise.
1591         (CTX_T4): Likewise.
1592         (CTX_T5): Likewise.
1593         (CTX_T6): Likewise.
1594         (CTX_T7): Likewise.
1595         (CTX_S0): Likewise.
1596         (CTX_S1): Likewise.
1597         (CTX_S2): Likewise.
1598         (CTX_S3): Likewise.
1599         (CTX_S4): Likewise.
1600         (CTX_S5): Likewise.
1601         (CTX_S6): Likewise.
1602         (CTX_S7): Likewise.
1603         (CTX_T8): Likewise.
1604         (CTX_T9): Likewise.
1605         (CTX_K0): Likewise.
1606         (CTX_K1): Likewise.
1607         (CTX_GP): Likewise.
1608         (CTX_SP): Likewise.
1609         (CTX_S8): Likewise.
1610         (CTX_RA): Likewise.
1611         (CTX_MDLO): Likewise.
1612         (CTX_MDHI): Likewise.
1613         (CTX_CAUSE): Likewise.
1614         (CTX_EPC): Likewise.
1615         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1616         inclusion of <sys/procfs.h> on [__USE_MISC].
1617         (greg_t): Condition on [__USE_MISC].
1618         (gregset_t): Likewise.
1619         (fpregset_t): Likewise.
1620         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
1621         (NGREG): Likewise.
1622         (gregset_t): Likewise.
1623         (REG_R0): Likewise.
1624         (REG_R1): Likewise.
1625         (REG_R2): Likewise.
1626         (REG_R3): Likewise.
1627         (REG_R4): Likewise.
1628         (REG_R5): Likewise.
1629         (REG_R6): Likewise.
1630         (REG_R7): Likewise.
1631         (REG_R8): Likewise.
1632         (REG_R9): Likewise.
1633         (REG_R10): Likewise.
1634         (REG_R11): Likewise.
1635         (REG_R12): Likewise.
1636         (REG_R13): Likewise.
1637         (REG_R14): Likewise.
1638         (REG_R15): Likewise.
1639         (struct _libc_fpstate): Likewise.
1640         (fpregset_t): Likewise.
1641         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
1642         (NFPREG): Likewise.
1643         (gregset_t): Likewise.
1644         (fpregset_t): Likewise.
1645         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
1646         (R_D1): Likewise.
1647         (R_D2): Likewise.
1648         (R_D3): Likewise.
1649         (R_D4): Likewise.
1650         (R_D5): Likewise.
1651         (R_D6): Likewise.
1652         (R_D7): Likewise.
1653         (R_A0): Likewise.
1654         (R_A1): Likewise.
1655         (R_A2): Likewise.
1656         (R_A3): Likewise.
1657         (R_A4): Likewise.
1658         (R_A5): Likewise.
1659         (R_A6): Likewise.
1660         (R_A7): Likewise.
1661         (R_SP): Likewise.
1662         (R_PC): Likewise.
1663         (R_PS): Likewise.
1664         (fpregset_t): Likewise.
1665         (MCONTEXT_VERSION): Likewise.
1666         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
1667         Likewise.
1668         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
1669         (REG_R1): Likewise.
1670         (REG_R2): Likewise.
1671         (REG_R3): Likewise.
1672         (REG_R4): Likewise.
1673         (REG_R5): Likewise.
1674         (REG_R6): Likewise.
1675         (REG_R7): Likewise.
1676         (REG_R8): Likewise.
1677         (REG_R9): Likewise.
1678         (REG_R10): Likewise.
1679         (REG_R11): Likewise.
1680         (REG_R12): Likewise.
1681         (REG_R13): Likewise.
1682         (REG_R14): Likewise.
1683         (REG_R15): Likewise.
1684         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
1685         of <arch/abi.h> on [__USE_MISC].
1686         (greg_t): Condition on [__USE_MISC].
1687         (NGREG): Likewise.
1688         (gregset_t): Likewise.
1690 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1692         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1693         (__pthread_rwlock_arch_t): Remove __data definition.
1694         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1695         (__pthread_rwlock_arch_t): Likewise.
1697 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1699         * resolv/inet_pton.c: Reformat in GNU style.  Remove
1700         internal_function on static functions.
1702 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1704         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
1705         from format_ai_flags.
1706         (format_ai_flags): New function.  Incorporate flag formatting code
1707         from format_ai_one.
1708         (format_ai_canonname): New function.
1709         (format_ai_one): Remove flags parameter.
1710         (format_ai_family): Likewise.
1711         (support_format_addrinfo): Call format_ai_flags,
1712         format_ai_canonname.
1713         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
1714         check_ai.
1715         (check_ai): Call check_ai_hints.
1716         (do_test): Add AI_CANONNAME tests.
1718 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1720         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
1721         (gaih_inet): Likewise.
1723 2017-05-10  Andreas Schwab  <schwab@suse.de>
1725         * nptl/tst-fork1.c: Include <support/test-driver.c>.
1726         (main): Rename to do_test and make static.
1728 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
1730         * string/rawmemchr.c: Include <libc-diag.h>.
1731         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
1732         with size (size_t)-1.
1734 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1736         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
1737         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1738         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1740         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
1741         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
1742         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
1743         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
1744         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
1745         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
1746         * sysdeps/unix/sysv/linux/kernel-features.h
1747         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
1748         socket syscalls.
1749         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1750         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1751         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1752         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1753         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1754         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1755         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1756         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1757         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1758         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1759         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1760         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1761         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1762         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1763         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1765 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1767         * posix/Makefile (headers): Add pthreadtypes-arch.h and
1768         thread-shared-types.h.
1769         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
1770         specific thread definition.
1771         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
1772         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
1773         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
1774         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
1775         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
1776         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
1777         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
1778         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
1779         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
1780         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1781         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
1782         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
1783         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
1784         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
1785         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
1786         thread definition between POSIX and C11.
1787         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
1788         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
1789         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
1790         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
1791         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
1792         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
1793         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
1794         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
1795         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
1796         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
1797         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
1798         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
1799         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
1800         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
1801         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
1802         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
1803         definitions shared across all architectures.
1805 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1807         * sysdeps/unix/sysv/linux/kernel-features.h
1808         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
1809         (__ASSUME_SENDMMSG): Likewise.
1810         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
1811         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
1812         sendmmsg syscall if that can be assumed to be present, socketcall
1813         otherwise, with no fallback for runtime failure.
1815         * sysdeps/unix/sysv/linux/kernel-features.h
1816         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
1817         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
1818         (__ASSUME_RECVMMSG): Likewise.
1819         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
1820         recvmmsg syscall if it can be assumed to be present, socketcall
1821         otherwise, with no fallback for runtime failure.
1823 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1824             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1826         * bits/libc-header-start.h:
1827         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
1828         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
1829         * manual/creature.texi: Likewise.
1831 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1832             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1834         * math/Makefile:
1835         (type-float128-suffix): New variable
1836         (type-float128-routines): Likewise
1837         (type-float128-yes): Likewise
1838         (types): Append float128 if supported
1839         (types-basic): New variable to control the use of templates for
1840         float, double, and long double, but not for float128 or newer types.
1841         (type-basic-foreach): Likewise.
1843         * sysdeps/ieee754/float128/Makeconfig: New file.
1844         * sysdeps/ieee754/float128/Versions: New file.
1846 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1848         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
1849         Remove macro.
1850         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
1851         prlimit64 is always available and does not give an ENOSYS error.
1852         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
1853         unconditional.
1854         [!__NR_prlimit64]: Remove conditional code.
1855         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
1856         prlimit64 is always available and does not give an ENOSYS error.
1857         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
1859 2017-05-09  Zack Weinberg  <zackw@panix.com>
1861         * sunrpc/tst-xdrmem2.c: Include stdint.h.
1863 2017-05-09  Florian Weimer  <fweimer@redhat.com>
1865         [BZ #21474]
1866         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
1867         (__res_maybe_init): Likewise.
1869 2017-05-09  Zack Weinberg  <zackw@panix.com>
1871         * extra-modules.mk: Delete file.
1872         * cppflags-iterator.mk: Rename to ...
1873         * libof-iterator.mk: ...this.  Adjust comments.
1875         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
1876         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
1877         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
1878         Use libof-iterator.mk instead of cppflags-iterator.mk or
1879         extra-modules.mk.
1881         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
1882         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
1884 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1886         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1888 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
1890         * stdio-common/vfprintf.c (EXTSIZ): Define.
1891         (vfprintf): Use EXTSIZ.
1892         (printf_positional): Likewise.
1894 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1896         * sysdeps/unix/sysv/linux/kernel-features.h
1897         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
1898         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
1899         <kernel-features.h>.
1900         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
1902         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1903         (__ASSUME_GETCPU_SYSCALL): Remove macro.
1905 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1907         Prevent multiple deletion of temporary files.
1908         * support/temp_file.c (struct temp_name_list): Add owner member.
1909         (add_temp_file): Record owner.
1910         (support_delete_temp_files): Delete file only if owner matches.
1911         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
1912         (do_prepare): Use create_temp_file instead of add_temp_file.
1913         Initialize temp_fd1, temp_fd2.
1914         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
1915         framework remove the temporary files.
1916         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
1917         (do_prepare): Use create_temp_file instead of add_temp_file.
1918         Initialize temp_fd1, temp_fd2, temp_fd3.
1919         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
1920         the test framework remove the temporary files.
1921         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
1922         deletion.
1923         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
1924         temporary directory.  It is removed by the test framework.
1925         * dirent/tst-scandir.c (do_test): Likewise.
1927 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1929         Delete temporary files in LIFO order.
1930         * support/temp_file.c (struct temp_name_list): Replace q member
1931         with next.
1932         (add_temp_file): Add new file to front of linked list.
1933         (support_delete_temp_files): Use next member.
1934         (support_print_temp_files): Likewise.
1936 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1939         sys/ultrasound.h.
1940         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
1942 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1944         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1945         Remove.
1946         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1947         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1948         (arch_minimum_kernel): Remove.
1949         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1950         * README: Update statement about Linux kernel requirements.
1952 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1954         * manual/llio.texi: Add preadv and pwritev documentation.
1956 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1958         [BZ #21455]
1959         * bits/stdint-intn.h: New file.
1960         * bits/stdint-uintn.h: Likewise.
1961         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
1962         bits/stdint-uintn.h.
1963         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
1964         <stdint.h>.
1965         * posix/sys/types.h: Include <bits/stdint-intn.h>.
1966         (__int8_t_defined): Do not define here.
1967         (int8_t): Likewise.
1968         (int16_t): Likewise.
1969         (int32_t): Likewise.
1970         (int64_t): Likewise.
1971         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
1972         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
1973         <stdint.h>.
1974         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
1975         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
1976         <bits/stdint-uintn.h>.
1977         (int8_t): Do not define here.
1978         (int16_t): Likewise.
1979         (int32_t): Likewise.
1980         (int64_t): Likewise.
1981         (uint8_t): Likewise.
1982         (uint16_t): Likewise.
1983         (uint32_t): Likewise.
1984         (uint64_t): Likewise.
1985         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
1986         variable.
1987         (test-xfail-XPG42/netdb.h/conform): Likewise.
1988         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
1989         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1990         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1991         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1993 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1995         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
1996         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
1997         the above.
1998         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1999         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2001 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2003         [BZ #21445]
2004         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2006         [BZ #21457]
2007         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2008         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2009         __glibc_reserved1.
2010         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2011         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2012         (struct _fpxreg): Likewise.
2013         [!__x86_64__] (struct _fpstate): Rename field reserved to
2014         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2015         [__x86_64__] (struct _fpstate): Rename field padding to
2016         __glibc_reserved1.
2017         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2018         Rename field reserved2 to __glibc_reserved2.
2019         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2020         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2021         __glibc_reserved1.
2022         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2023         __glibc_reserved1.
2025 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2027         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2028         variable name.
2030 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2032         [BZ #21391]
2033         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2034         Only call init_cpu_features.
2035         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2036         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2037         * sysdeps/i386/dl-procinfo.h: Removed.
2038         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2039         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2040         <sysdeps/x86/dl-procinfo.h>.
2041         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2042         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2043         Include <sysdeps/x86/dl-procinfo.h> instead of
2044          <sysdeps/generic/dl-procinfo.h>.
2045         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2046         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2047         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2048         (bit_cpu_MOVBE): Likewise.
2049         (bit_cpu_BMI1): Likewise.
2050         (bit_cpu_BMI2): Likewise.
2051         (index_cpu_BMI1): Likewise.
2052         (index_cpu_BMI2): Likewise.
2053         (index_cpu_LZCNT): Likewise.
2054         (index_cpu_MOVBE): Likewise.
2055         (index_cpu_POPCNT): Likewise.
2056         (reg_BMI1): Likewise.
2057         (reg_BMI2): Likewise.
2058         (reg_LZCNT): Likewise.
2059         (reg_MOVBE): Likewise.
2060         (reg_POPCNT): Likewise.
2061         * sysdeps/x86/dl-hwcap.h: New file.
2062         * sysdeps/x86/dl-procinfo.h: Likewise.
2063         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2064         (_dl_x86_platforms): Likewise.
2066 2017-05-03  DJ Delorie  <dj@redhat.com>
2068         [BZ #21411]
2069         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2071 2017-05-03  Phil Blundell  <pb@pbcl.net>
2073         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2074         comments.
2076 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2078         [BZ #20116]
2079         * nptl/pthread_create.c: Expand comments to describe
2080         semaphore-like and mutex-like uses of PD->lock.
2082 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2084         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2085         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2086         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2087         auto-generation list.
2088         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2089         epoll_wait.
2090         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2091         Remove epoll_wait.
2093         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2094         osf_select.
2095         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2096         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2097         osf_select from auto-generation list.
2098         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2099         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2100         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2101         * sysdeps/unix/sysv/linux/select.c: New file.
2103         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2104         * sysdeps/unix/sysv/linux/poll.c: New file.
2105         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2106         auto-generation list.
2108 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2110         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2111         New macro.
2113 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2115         [BZ #21179]
2116         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2117         R_SPARC_REGISTER relocations.
2119 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2121         * include/unistd.h (__pread): Add libc_hidden_proto.
2122         (__pread64): Likewise.
2123         (__pwrite): Likewise.
2124         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2125         (__pread64): Remove.
2126         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2127         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2128         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2130 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2134 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2136         * nptl/tst-cancel4-common.c: Use libsupport.
2137         * nptl/tst-cancel4-common.h: Likewise.
2138         * nptl/tst-cancel4.c (tf_read): Likewise.
2139         (tf_readv): Likewise.
2140         (tf_write): Likewise.
2141         (tf_writev): Likewise.
2142         (tf_sleep): Likewise.
2143         (tf_usleep): Likewise.
2144         (tf_nanosleep): Likewise.
2145         (tf_select): Likewise.
2146         (tf_pselect): Likewise.
2147         (tf_poll): Likewise.
2148         (tf_ppoll): Likewise.
2149         (tf_wait): Likewise.
2150         (tf_waitpid): Likewise.
2151         (tf_waitid): Likewise.
2152         (tf_sigpause): Likewise.
2153         (tf_sigsuspend): Likewise.
2154         (tf_sigwait): Likewise.
2155         (tf_sigwaitinfo): Likewise.
2156         (tf_sigtimedwait): Likewise.
2157         (tf_pause): Likewise.
2158         (tf_accept): Likewise.
2159         (tf_send): Likewise.
2160         (tf_recv): Likewise.
2161         (tf_recvfrom): Likewise.
2162         (tf_recvmsg): Likewise.
2163         (tf_open): Likewise.
2164         (tf_close): Likewise.
2165         (tf_pread): Likewise.
2166         (tf_pwrite): Likewise.
2167         (tf_preadv): Likewise.
2168         (tf_pwritev): Likewise.
2169         (tf_fsync): Likewise.
2170         (tf_fdatasync): Likewise.
2171         (tf_msync): Likewise.
2172         (tf_sendto): Likewise.
2173         (tf_sendmsg): Likewise.
2174         (tf_creat): Likewise.
2175         (tf_connect): Likewise.
2176         (tf_tcdrain): Likewise.
2177         (tf_msgrcv): Likewise.
2178         (tf_msgsnd): Likewise.
2179         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2180         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2182         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2183         expected arguments.
2184         (do_test): Adapt to use libsupport.
2186 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
2188         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2190         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2191         (PF_MAX): Set to 44.
2192         (AF_SMC): New macro.
2194         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2195         kernel version to 4.11.
2197 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2199         [BZ #21280]
2200         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2201         signal of subnormals and adjust the exponent of power of 2 down
2202         when low part has opposite sign.
2204 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2206         * sysdeps/powerpc/powerpc64le/Implies: New file.
2207         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2208         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2209         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2210         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2211         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2212         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2213         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2214         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2215         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2216         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2217         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2218         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2219         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2220         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2221         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2222         * sysdeps/powerpc/preconfigure: New file.
2223         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2224         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2226 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
2228         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2229         inclusion.
2230         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
2231         Remove.
2233 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
2235         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
2236         (XPG3): Rename standard to XPG4.
2237         * conform/Makefile: Likewise.
2238         * conform/list-header-symbols.pl: Likewise.
2239         * conform/data/aio.h-data: Likewise.
2240         * conform/data/arpa/inet.h-data: Likewise.
2241         * conform/data/complex.h-data: Likewise.
2242         * conform/data/ctype.h-data: Likewise.
2243         * conform/data/dlfcn.h-data: Likewise.
2244         * conform/data/fcntl.h-data: Likewise.
2245         * conform/data/fenv.h-data: Likewise.
2246         * conform/data/float.h-data: Likewise.
2247         * conform/data/fmtmsg.h-data: Likewise.
2248         * conform/data/ftw.h-data: Likewise.
2249         * conform/data/grp.h-data: Likewise.
2250         * conform/data/inttypes.h-data: Likewise.
2251         * conform/data/iso646.h-data: Likewise.
2252         * conform/data/langinfo.h-data: Likewise.
2253         * conform/data/libgen.h-data: Likewise.
2254         * conform/data/limits.h-data: Likewise.
2255         * conform/data/locale.h-data: Likewise.
2256         * conform/data/math.h-data: Likewise.
2257         * conform/data/mqueue.h-data: Likewise.
2258         * conform/data/ndbm.h-data: Likewise.
2259         * conform/data/net/if.h-data: Likewise.
2260         * conform/data/netdb.h-data: Likewise.
2261         * conform/data/netinet/in.h-data: Likewise.
2262         * conform/data/poll.h-data: Likewise.
2263         * conform/data/pthread.h-data: Likewise.
2264         * conform/data/pwd.h-data: Likewise.
2265         * conform/data/sched.h-data: Likewise.
2266         * conform/data/search.h-data: Likewise.
2267         * conform/data/semaphore.h-data: Likewise.
2268         * conform/data/signal.h-data: Likewise.
2269         * conform/data/spawn.h-data: Likewise.
2270         * conform/data/stdbool.h-data: Likewise.
2271         * conform/data/stdint.h-data: Likewise.
2272         * conform/data/stdio.h-data: Likewise.
2273         * conform/data/stdlib.h-data: Likewise.
2274         * conform/data/string.h-data: Likewise.
2275         * conform/data/strings.h-data: Likewise.
2276         * conform/data/stropts.h-data: Likewise.
2277         * conform/data/sys/mman.h-data: Likewise.
2278         * conform/data/sys/resource.h-data: Likewise.
2279         * conform/data/sys/select.h-data: Likewise.
2280         * conform/data/sys/socket.h-data: Likewise.
2281         * conform/data/sys/stat.h-data: Likewise.
2282         * conform/data/sys/statvfs.h-data: Likewise.
2283         * conform/data/sys/time.h-data: Likewise.
2284         * conform/data/sys/timeb.h-data: Likewise.
2285         * conform/data/sys/types.h-data: Likewise.
2286         * conform/data/sys/uio.h-data: Likewise.
2287         * conform/data/sys/un.h-data: Likewise.
2288         * conform/data/sys/wait.h-data: Likewise.
2289         * conform/data/syslog.h-data: Likewise.
2290         * conform/data/termios.h-data: Likewise.
2291         * conform/data/tgmath.h-data: Likewise.
2292         * conform/data/time.h-data: Likewise.
2293         * conform/data/ucontext.h-data: Likewise.
2294         * conform/data/unistd.h-data: Likewise.
2295         * conform/data/utmpx.h-data: Likewise.
2296         * conform/data/varargs.h-data: Likewise.
2297         * conform/data/wchar.h-data: Likewise.
2298         * conform/data/wctype.h-data: Likewise.
2300 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
2302         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
2303         version to 7 branch.
2305 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
2307         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
2308         earlyclobber to output operand of sqrt insn.
2309         (__ieee754_sqrtf): Ditto.
2311 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
2313         [BZ #21426]
2314         * misc/bits/types/struct_iovec.h: New file.
2315         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
2316         * include/bits/types/struct_iovec.h: New file.
2317         * bits/uio.h (struct iovec): Replace by inclusion of
2318         <bits/types/struct_iovec.h>.
2319         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
2320         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
2321         of <sys/uio.h>.
2322         * nptl/tst-cancel4.c: Include <sys/uio.h>
2323         * posix/test-errno.c: Likewise.
2324         * support/resolv_test.c: Likewise.
2325         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
2326         Remove.
2327         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2328         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2329         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2331         * conform/data/sys/socket.h-data (*_t): Allow.
2333 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2335         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
2336         assignment.
2338 2017-04-24  Daurnimator  <quae@daurnimator.com>
2339             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2341         [BZ #21340]
2342         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
2343         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
2344         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
2345         valid flags.
2346         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
2347         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
2348         POSIX_SPAWN_SETSID.
2349         * sysdeps/posix/spawni.c (__spawni): Likewise.
2350         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2351         * NEWS: Add note about POSIX_SPAWN_SETSID support.
2353 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2355         * sysdeps/generic/math_private.h: Move the declaration of many
2356         functions to sysdeps/generic/math_private_calls.h.
2357         * sysdeps/generic/math_private_calls.h: New file with the
2358         declarations of the functions removed from math_private.h
2359         macroized by floating-point type.
2361 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2363         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
2364         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
2365         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2366         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2367         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2368         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2370 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2372         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
2373         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
2374         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
2375         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
2376         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
2377         New Define.
2379 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2381         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
2382         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
2383         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2384         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2385         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2386         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2388 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2390         * sysdeps/s390/multiarch/ifunc-resolve.h
2391         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
2392         * sysdeps/s390/multiarch/8bit-generic.c
2393         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
2394         define ifunc resolvers.
2396 2017-04-21  Florian Weimer  <fweimer@redhat.com>
2398         [BZ #20424]
2399         * manual/memory.texi (Replacing malloc): New section.
2400         (Allocating Storage For Program Data): Reference it.
2401         (The GNU Allocator): Likewise.
2403 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
2405         * stdlib/Versions (__strtod_internal): List explicitly, not as
2406         wildcard.
2407         (__strtof_internal): Likewise.
2408         (__strtold_internal): Likewise.
2409         (__strtol_internal): Likewise.
2410         (__strtoll_internal): Likewise.
2411         (__strtoul_internal): Likewise.
2412         (__strtoull_internal): Likewise.
2413         (__strtoq_internal): Likewise.
2414         (__strtouq_internal): Likewise.
2415         * wcsmbs/Versions (__wcstod_internal): Likewise.
2416         (__wcstof_internal): Likewise.
2417         (__wcstold_internal): Likewise.
2418         (__wcstol_internal): Likewise.
2419         (__wcstoll_internal): Likewise.
2420         (__wcstoul_internal): Likewise.
2421         (__wcstoull_internal): Likewise.
2423 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2425         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
2426         struct timespec definition.
2428 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2430         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
2432 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2434         * inet/rcmd.c (rresvport_af): Fix typo in comment.
2435         * inet/rexec.c (rexec_af): Likewise.
2437 2017-04-19  Zack Weinberg  <zackw@panix.com>
2439         * posix/tst-mmap-offset.c: Include stdint.h.
2440         * resolv/tst-ns_name_compress.c: Include string.h.
2441         * resolv/tst-resolv-edns.c: Include resolv.h.
2443 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2445         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
2446         with __glibc_likely.
2447         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
2448         Replace __builtin_expect with __glibc_unlikely.
2449         * resolv/res_init.c (__res_vinit): Likewise.
2450         * resolv/res_query.c (__libc_res_nquery): Likewise.
2451         * resolv/res_send.c (__libc_res_nsend): Likewise.
2453 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2455         [BZ #15722]
2456         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
2457         with SOCK_CLOEXEC.
2458         * resolv/res_send.c (send_vc, reopen): Likewise.
2459         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2460         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
2461         Likewise.
2462         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
2463         * inet/rexec.c (rexec_af): Add comment.
2464         * inet/rcmd.c (rresvport_af): Likewise.
2466 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2468         * nscd/connections.c (have_accept4): Removed definition.
2469         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
2470         accept4 works.
2471         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
2472         ia64 because that was the first version with accept4 support.
2473         * support/Makefile (libsupport-routines): Add xaccept4.
2474         * support/xsocket.h (xaccept4): Declare.
2475         * support/xaccept4.c: New file.
2476         * socket/tst-accept4.c: New file.
2477         * socket/Makefile (tests): Add tst-accept4.
2478         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
2479         definition.
2480         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
2481         comment.
2482         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
2483         implementation is available.
2484         (accept4): Use the system call if available, otherwise use the
2485         socket call.
2486         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
2487         Set to 3.2.18.
2488         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2489         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
2490         accept4 is unconditionally available in later 3.2 stable kernels.
2491         (__ASSUME_ACCEPT4_SYSCALL): Define.
2492         * sysdeps/unix/sysv/linux/kernel-features.h
2493         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
2494         definitions.
2495         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2496         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
2498 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
2500         * conform/Makefile (tests-special): Do not make addition of
2501         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
2502         (generated): Do not make addition of $(conformtest-header-base)
2503         conditional on [$(cross-compiling) = no].
2505         [BZ #21267]
2506         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
2507         if defined by <asm/socket.h> and not previously defined.
2508         (IOCSIZE_SHIFT): Likewise.
2509         (IOC_IN): Likewise.
2510         (IOC_INOUT): Likewise.
2511         (IOC_OUT): Likewise.
2513 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2515         [BZ #21396]
2516         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2517         Prefer_No_AVX512 if AVX512ER isn't available.
2518         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
2519         (index_arch_Prefer_No_AVX512): Likewise.
2520         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
2521         AVX512 version if Prefer_No_AVX512 is set.
2522         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
2523         Likewise.
2524         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
2525         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
2526         Likewise.
2527         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2528         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
2529         Likewise.
2530         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
2531         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
2532         Likewise.
2534 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2536         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2537         Prefer_No_VZEROUPPER if AVX512ER is available.
2538         * sysdeps/x86/cpu-features.h
2539         (bit_cpu_AVX512PF): New.
2540         (bit_cpu_AVX512ER): Likewise.
2541         (bit_cpu_AVX512CD): Likewise.
2542         (bit_cpu_AVX512BW): Likewise.
2543         (bit_cpu_AVX512VL): Likewise.
2544         (index_cpu_AVX512PF): Likewise.
2545         (index_cpu_AVX512ER): Likewise.
2546         (index_cpu_AVX512CD): Likewise.
2547         (index_cpu_AVX512BW): Likewise.
2548         (index_cpu_AVX512VL): Likewise.
2549         (reg_AVX512PF): Likewise.
2550         (reg_AVX512ER): Likewise.
2551         (reg_AVX512CD): Likewise.
2552         (reg_AVX512BW): Likewise.
2553         (reg_AVX512VL): Likewise.
2555 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2557         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
2558         O_CLOEXEC is defined.
2559         * include/fcntl.h (__have_o_cloexec): Remove declaration.
2560         * io/Makefile (aux): Remove.
2561         * io/have_o_cloexec.c: Remove file.
2562         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2563         defined and works.
2564         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2565         defined.
2566         * login/utmp_file.c (O_flags): Remove definition.
2567         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
2568         O_CLOEXEC works.
2569         (pututline_file): Likewise.
2570         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2571         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2572         definition.
2573         (internal_setgrent): Assume that O_CLOEXEC works.
2574         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2575         Remove definition.
2576         (internal_setgrent): Assume that O_CLOEXEC works.
2577         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2578         definition.
2579         (internal_setpwent): Assume that O_CLOEXEC works.
2580         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2581         definition.
2582         (internal_setspent): Assume that O_CLOEXEC works.
2583         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2584         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2585         O_CLOEXEC is defined and works.
2586         * nss/Makefile (libnss_files-routines): Remove
2587         files-have_o_cloexec.
2588         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2589         defined.
2590         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2591         O_CLOEXEC is defined and works.
2592         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2593         * nss/nss_files/files-have_o_cloexec.c: Remove.
2594         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2595         defined.
2596         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2597         and works.
2598         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2599         definition.
2600         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2601         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2602         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2603         (__opendirat, __opendir): Adjust opendir_oflags call.
2604         (check_have_o_cloexec): Remove.
2605         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2606         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2607         defined.
2608         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2609         Remove definition.
2611 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2613         * include/unistd.h (__have_dup3): Remove declaration.
2614         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2615         dup3 is available.
2616         * libio/freopen64.c (freopen64): Likewise.
2617         * socket/Makefile (aux): Remove have_sock_cloexec.
2618         * socket/have_sock_cloexec.c: Remove file.
2619         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
2620         definition.
2621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
2622         Likewise.
2623         * sysdeps/nacl/kernel-features.h: Update comment.
2625 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2627         * include/unistd.h (__have_pipe2): Remove declaration.
2628         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
2629         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
2630         available.
2631         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
2632         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
2633         Remove definition.
2635 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2637         * malloc/malloc.c (cfree): Turn into compat symbol.
2638         (__cfree): Remove alias.
2639         * stdlib/stdlib.h (cfree): Remove declaration.
2640         * malloc/malloc.h (cfree): Likewise.
2641         * manual/memory.texi (Freeing after Malloc): Remove cfree.
2642         * malloc/Versions (GLIBC_2.26): Add.
2644 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2646         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2647         (sysdep_routines): Add strrchr-power8.
2648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2649         (strrchr): Add __strrchr_power8 to list of strrchr functions.
2650         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
2651         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
2652         (strrchr): Add __strrchr_power8 to ifunc list.
2653         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
2655 2017-04-17  Rabin Vincent  <rabinv@axis.com>
2657         [BZ #21357]
2658         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
2659         Call free() outside of mutex.
2661 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2663         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
2664         is defined.
2665         * elf/rtld.c (process_envvars): Likewise.
2666         * sysdeps/posix/shm_open.c (shm_open): Likewise.
2667         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
2668         O_NOFOLLOW directly.
2669         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
2671 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2673         [BZ #21369]
2674         Remove EDNS fallback.
2675         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
2676         handling.
2677         * resolv/res_send.c (send_dg): Likewise.
2678         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
2679         "tcp." prefixes.
2680         (do_test): Send a "formerr."-prefixed query in an attempt to
2681         trigger EDNS fallback.
2683 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2685         [BZ #21361]
2686         Limit EDNS buffer size to 1200 bytes.
2687         * include/resolv.h (__res_nopt): Remove declaration.
2688         * resolv/Makefile (tests): tst-resolv-edns.
2689         (tst-resolv-edns): Link with -lresolv, -lpthread.
2690         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
2691         interval [512, 1200].
2692         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
2693         we can resize the buffer.
2694         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
2695         (__res_nopt): Declare.
2696         * resolv/tst-resolv-edns.c: New file.
2697         * resolv/resolv_test.h (struct resolv_edns_info): Define.
2698         (struct resolv_response_context): Add edns member.
2699         * resolv/resolv_test.c (struct query_info): Add edns member.
2700         (parse_query): Extract EDNS information from the query.
2701         (server_thread_udp_process_one): Propagate EDNS data.
2702         (server_thread_tcp_client): Likewise.
2704 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2706         [BZ #21359]
2707         * resolv/ns_name.c (ns_name_pack): Do not require an additional
2708         byte in the destination buffer.  Avoid out-of-bounds pointer
2709         arithmetic.
2710         * resolv/Makefile (tests): Add tst-ns_name_compress.
2711         (tst-ns_name_compress): Link with -lresolv.
2712         * resolv/tst-ns_name_compress.c: New file.
2713         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
2714         (response): Recognize LONG_NAME.
2715         (do_test): Add LONG_NAME tests.
2716         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
2717         for ns_name_unpack.  Add tests for ns_name_pton and
2718         ns_name_compress.
2720 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2722         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
2723         (res_nisourserver): Remove definition.
2724         (p_section, res_npquery, res_nisourserver): Remove declaration.
2725         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
2726         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
2727         ... here.
2728         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
2729         <resolv.h>.
2730         * resolv/res_query.c: Likewise.
2731         * resolv/res_debug.c (p_section): Define as static.
2733 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2735         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
2736         strncat-power8.
2737         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
2738         __strncat_power8 to ifunc list.
2739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2740         (strncat): Add __strncat_power8 to list of strncat functions.
2741         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
2743 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2745         [BZ #21270]
2746         * posix/tst-mmap-offset.c (do_prepare): New function.
2747         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
2748         (do_test_bz21270): New function.
2749         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
2750         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
2751         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
2752         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
2753         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
2754         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2755         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
2756         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
2757         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
2758         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
2759         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
2760         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2761         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2762         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2763         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
2764         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
2765         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2766         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
2767         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
2768         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
2769         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
2770         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
2771         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
2772         from auto-generation list.
2773         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
2774         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2775         * sysdeps/unix/sysv/linux/mmap.c: New file.
2776         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
2777         offsets and support for mmap2 syscall.
2779         * posix/globtest.sh: Add cleanup routine on trap 0.
2781 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2783         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
2784         implementation-specific function name and remove unneeded
2785         macros definition.
2786         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
2787         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
2788         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
2789         name if not defined and pass as parameter to macros accordingly.
2790         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2791         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2793         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
2794         implementation-specific function name and remove unneeded
2795         macros definition.
2796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
2797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
2798         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
2799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
2800         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2801         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
2802         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
2803         name if not defined and pass as parameter to macros accordingly.
2804         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2805         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2806         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2807         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2808         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2809         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2811         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
2812         implementation-specific function name and remove unneeded macros
2813         definition.
2814         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
2815         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
2816         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
2817         function name if not defined and pass as parameter to macros
2818         accordingly.
2819         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2820         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2822         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
2823         implementation-specific function name and remove unneeded macros
2824         definition.
2825         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2826         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2827         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
2828         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2829         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
2830         not defined and pass as parameter to macros accordingly.
2831         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2832         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2833         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2834         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2836         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
2837         strcasestr implementation name and remove unneeded macros definition.
2838         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2839         strstr implementation name and remove unneeded macros definition.
2840         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
2841         name if not defined and pass as parameter to macros accordingly.
2842         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2844         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
2845         implementation-specific function name and remove unneeded macros
2846         definition.
2847         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
2848         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
2849         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
2850         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
2851         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
2852         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
2853         function name if not defined and pass as parameter to macros
2854         accordingly.
2855         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2856         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2857         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2858         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2860         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
2861         the strlen implementation name and remove unneeded macros definition.
2862         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
2863         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2864         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
2865         the strnlen implementation name and remove unneeded macros definition.
2866         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
2867         name if not defined and pass as parameter to macros accordingly.
2868         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2869         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2870         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2872         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
2873         the implementation-specific function name and remove unneeded
2874         macros definition.
2875         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
2876         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
2877         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2878         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2879         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
2880         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
2881         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2882         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2883         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2884         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
2885         name if not defined and pass as parameter to macros accordingly.
2886         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2887         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2888         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2889         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2890         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2891         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2892         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2893         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2895         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
2896         implementation-specific function name and remove unneeded macros
2897         definition.
2898         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2899         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2900         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
2901         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
2902         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2903         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
2904         function name if not defined.
2905         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2906         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2908 2017-04-11  Paul Clarke  <pc@us.ibm.com>
2910         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
2911         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
2912         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
2913         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
2915 2017-04-11  Florian Weimer  <fweimer@redhat.com>
2916             Zack Weinberg  <zackw@panix.com>
2918         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
2919         readdir64 as thread-safe.  Update warning about readdir_r.
2921 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2923         * sysdeps/unix/sysv/linux/x86/Implies: New file.
2924         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
2925         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
2926         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
2927         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
2928         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
2929         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2931 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2933         * sysdeps/i386/dl-procinfo.c: Include
2934         <sysdeps/x86/dl-procinfo.c>.
2935         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2936         * sysdeps/x86/dl-procinfo.c: New file.
2938 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2940         * sysdeps/generic/math_private.h: Remove declarations of
2941         many functions that are already declared in math.h.
2942         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
2943         declaration for __frexpl.
2944         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
2945         the declarations for __scalbnl and fabsl.
2947 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
2949         [BZ #20831]
2950         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
2951         of __mprotect to change protection on the excess portion
2952         to disallow all access.
2954 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
2956         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
2957         HAS_CPU_FEATURE to check for SSE.
2958         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2959         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2960         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
2961         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
2962         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
2963         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
2964         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
2965         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
2966         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2967         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
2968         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2969         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2970         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
2971         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
2972         (index_cpu_SSE): Likewise.
2973         (reg_SSE): Likewise.
2975 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
2977         * posix/getopt1.c: Include <config.h>, not "config.h".
2979 2017-04-07  Zack Weinberg  <zackw@panix.com>
2981         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
2982         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
2983         Mention in top-of-file boilerplate that these files are shared
2984         with gnulib.
2985         * posix/getopt.h, posix/bits/getopt_posix.h:
2986         Mention in top-of-file boilerplate that these files are NOT shared
2987         with gnulib, unlike the rest of the getopt implementation.
2989         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
2990         New files, intended to be shared with gnulib.
2991         * posix/bits/getopt_posix.h:
2992         New file, not intended to be shared with gnulib.
2993         * posix/getopt.h: Now just includes features.h,
2994         bits/getopt_core.h, and bits/getopt_ext.h.  Will
2995         no longer be shared with gnulib.
2996         * include/bits/getopt_core.h, include/bits/getopt_ext.h
2997         * include/bits/getopt_posix.h: New wrappers.
2998         * posix/Makefile: Install new headers.
2999         * posix/unistd.h, libio/stdio.h:
3000         Include bits/getopt_posix.h instead of getopt.h.
3002         * include/libc-symbols.h: For gnulib compatibility, define
3003         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3004         _GL_ATTRIBUTE_CONST.
3005         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3006         parameters with _GL_UNUSED.
3008         * posix/getopt.c: When used standalone, define __libc_use_alloca
3009         as always false and alloca to abort if called.
3010         (process_long_option): Rewrite handling of ambiguous long options
3011         to use a single boolean vector, not a linked list; use
3012         __libc_use_alloca to decide whether to allocate this using alloca.
3013         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3015         * posix/getopt.c (process_long_option): New function split out
3016         from _getopt_internal_r.
3017         (_getopt_internal_r): Replace both copies of the long-option
3018         processing code with calls to process_long_option.
3019         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3020         (do_test): Differentiate argv[0] in the two subtests.
3022         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3023         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3024         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3026         * posix/getopt.h: Add backup definition of __nonnull for
3027         consistency with gnulib.  Define __getopt_argv_const to const
3028         if not already defined.
3029         (getopt): Update doc comment from gnulib.  Prototype
3030         unconditionally.  Add __nonnull annotation.
3031         (__posix_getopt): Add __nonnull annotation.
3032         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3033         prototypes for consistency with gnulib.  Add __nonnull
3034         annotations.
3035         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3036         (getopt_internal): Change 'argv' argument to type 'char **'.
3037         Remove now-unnecessary casts.
3038         (getopt, __posix_getopt): Eliminate repetition with a macro.
3039         Cast 'argv' to 'char **' when calling _getopt_internal.
3040         * posix/getopt1.c (getopt_long, getopt_long_only):
3041         Use __getopt_argv_const for consistency with gnulib.
3042         Cast 'argv' to 'char **' when calling _getopt_internal.
3043         (_getopt_long_r, _getopt_long_only_r):
3044         Change 'argv' argument to type 'char **'.
3045         (main): Constify 'long_options'.
3046         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3047         (_getopt_long_r, _getopt_long_only_r):
3048         Change 'argv' argument to type 'char **'.
3050         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3051         (locked_vfxprintf): New helper function. Handle arbitrary
3052         multibyte strings, not just ASCII.
3053         * include/stdio.h: Declare __fxprintf_nocancel.
3054         * posix/getopt.c: When _LIBC is defined, define fprintf to
3055         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3056         to _IO_funlockfile.  When neither _LIBC nor
3057         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3058         funlockfile as no-ops.
3059         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3060         the standalone error-printing code can now be used for libc as
3061         well.  Add an flockfile/funlockfile pair around one case where
3062         the error message is printed in several chunks.  Don't use fputc.
3063         * posix/tst-getopt-cancel.c: New test.
3064         * posix/Makefile: Run it.
3066         * posix/getopt.c (_getopt_internal_r): Don't increment
3067         d->optind a second time when reporting ambiguous -W options.
3069         * posix/getopt_int.h: Include getopt.h.
3070         Use impl-namespace names for all arguments to _getopt_internal and
3071         _getopt_internal_r.
3072         Declare __ordering enum outside the struct.
3073         Harmonize comments with gnulib.
3074         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3075         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3076         #ifdef TEST block and make unconditional.  Do not define NULL.
3077         * posix/getopt.c: Partial merge from gnulib, covering the
3078         initial includes and global declarations, commentary, and
3079         a couple of semantically-neutral code changes.
3081         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3082         Use '...' instead of `...' for quotation marks inside
3083         comments and strings.
3085         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3086         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3087         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3088         * posix/getopt_int.h: Likewise.
3089         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3090         __libc_argc and __libc_argv externs, which were only used by
3091         #ifdef USE_NONOPTION_FLAGS blocks.
3092         * posix/getopt_init.c: Remove file.
3093         * posix/Makefile (routines): Remove getopt_init.
3094         * include/getopt.h: Don't declare __getopt_initialize_environment.
3095         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3096         a comment.
3098 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3100         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3102 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3104         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3105         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3106         to __wrap_.udiv.
3107         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3108         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3110         * sysdeps/i386/symbol-hacks.h: New file.
3111         * sysdeps/m68k/symbol-hacks.h: New file.
3112         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3113         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3114         * sysdeps/unix/sysv/linux/i386/Makefile
3115         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3116         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3117         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3118         * sysdeps/unix/sysv/linux/m68k/Makefile
3119         [$(subdir) = csu] (sysdep_routines): Likewise.
3120         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3121         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3123         [$(subdir) = csu] (sysdep_routines): Likewise.
3124         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3125         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3126         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3127         [$(subdir) = csu] (sysdep_routines): Likewise.
3128         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3129         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3130         * sysdeps/wordsize-32/Makefile: Remove file.
3131         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3132         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3134 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
3136         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3137         (TEST_FUNCTION_ARGV): New.
3139 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3141         * elf/next.c: Import support/test-driver.c instead of
3142         test-skeleton.c and delete TEST_FUNCTION macro definition.
3143         * elf/nodelete.c: Likewise.
3144         * elf/order2.c: Likewise.
3145         * elf/tst-_dl_addr_inside_object.c: Likewise.
3146         * elf/tst-addr1.c: Likewise.
3147         * elf/tst-align.c: Likewise.
3148         * elf/tst-align2.c: Likewise.
3149         * elf/tst-audit11.c: Likewise.
3150         * elf/tst-audit12.c: Likewise.
3151         * elf/tst-audit2.c: Likewise.
3152         * elf/tst-audit9.c: Likewise.
3153         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3154         * elf/tst-deep1.c: Likewise.
3155         * elf/tst-dl-iter-static.c: Likewise.
3156         * elf/tst-dlmodcount.c: Likewise.
3157         * elf/tst-dlmopen1.c: Likewise.
3158         * elf/tst-dlmopen2.c: Likewise.
3159         * elf/tst-dlmopen3.c: Likewise.
3160         * elf/tst-dlopen-aout.c: Likewise.
3161         * elf/tst-dlopenrpath.c: Likewise.
3162         * elf/tst-dlsym-error.c: Likewise.
3163         * elf/tst-execstack-needed.c: Likewise.
3164         * elf/tst-execstack-prog.c: Likewise.
3165         * elf/tst-execstack.c: Likewise.
3166         * elf/tst-global1.c: Likewise.
3167         * elf/tst-gnu2-tls1.c: Likewise.
3168         * elf/tst-latepthread.c: Likewise.
3169         * elf/tst-leaks1.c: Likewise.
3170         * elf/tst-linkall-static.c: Likewise.
3171         (do_test): New function.
3172         * elf/tst-nodelete-opened.c: Likewise.
3173         * elf/tst-nodelete.cc: Likewise.
3174         * elf/tst-nodelete2.c: Likewise.
3175         * elf/tst-noload.c: Likewise.
3176         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3177         * elf/tst-order-main.c: Likewise.
3178         * elf/tst-pathopt.c: Likewise.
3179         * elf/tst-pie2.c: Likewise.
3180         * elf/tst-piemod1.c: Likewise.
3181         * elf/tst-prelink.c: Likewise.
3182         * elf/tst-protected1a.c: Likewise.
3183         * elf/tst-protected1b.c: Likewise.
3184         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3185         and define _GNU_SOURCE macro.
3186         (cmdline_process_function): New function.
3187         * elf/tst-relsort1.c: Likewise.
3188         * elf/tst-stackguard1.c: Likewise, import getopt.h,
3189         and define _GNU_SOURCE macro.
3190         (cmdline_process_function): New function.
3191         * elf/tst-thrlock.c: Likewise.
3192         * elf/tst-tls-dlinfo.c: Likewise.
3193         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3194         * elf/tst-tls1.c: Likewise.
3195         * elf/tst-tls10.c: Likewise.
3196         * elf/tst-tls11.c: Likewise.
3197         * elf/tst-tls12.c: Likewise.
3198         * elf/tst-tls13.c: Likewise.
3199         * elf/tst-tls14.c: Likewise.
3200         * elf/tst-tls15.c: Likewise.
3201         * elf/tst-tls16.c: Likewise.
3202         * elf/tst-tls17.c: Likewise.
3203         * elf/tst-tls18.c: Likewise.
3204         * elf/tst-tls19.c: Likewise.
3205         * elf/tst-tls2.c: Likewise.
3206         * elf/tst-tls3.c: Likewise.
3207         * elf/tst-tls4.c: Likewise.
3208         * elf/tst-tls5.c: Likewise.
3209         * elf/tst-tls6.c: Likewise.
3210         * elf/tst-tls7.c: Likewise.
3211         * elf/tst-tls8.c: Likewise.
3212         * elf/tst-tls9.c: Likewise.
3213         * elf/tst-tlsalign-extern.c: Likewise.
3214         * elf/tst-tlsalign.c: Likewise.
3215         * elf/tst-unique1.c: Likewise.
3216         * elf/tst-unique2.c: Likewise.
3217         * elf/vismain.c: Likewise.
3219 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3221         * string/test-strnlen.c (do_page_tests): New function
3222         to check length of strings ending at the page boundary.
3223         (test_main): Added call to the do_page_tests function.
3225 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3226             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3228         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3229         (sysdep_routines): Add strnlen-power8.
3230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3231         (strnlen): Add __strnlen_power8 to list of strnlen functions.
3232         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
3233         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
3234         (__strnlen): Add __strnlen_power8 to ifunc list.
3235         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
3237 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3239         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
3240         the TEST_FUNCTION macro definition.
3241         * wcsmbs/tst-mbrtowc2.c: Likewise.
3242         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3243         * wcsmbs/tst-wchar-h.c: Likewise.
3244         * wcsmbs/tst-wcpncpy.c: Likewise.
3245         * wcsmbs/tst-wcrtomb.c: Likewise.
3246         * wcsmbs/tst-wcsnlen.c: Likewise.
3247         * wcsmbs/tst-wcstof.c: Likewise.
3249 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3251         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
3252         CALL_THREAD_FCT macro usage.
3253         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
3254         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
3255         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
3257         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
3258         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3259         (__ASSUME_REQUEUE_PI): Likewise.
3260         * sysdeps/unix/sysv/linux/kernel-features.h
3261         (__ASSUME_REQUEUE_PI): Likewise.
3262         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3263         (__ASSUME_REQUEUE_PI): Likewise.
3264         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3265         (__ASSUME_REQUEUE_PI): Likewise.
3266         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3267         (__ASSUME_REQUEUE_PI): Likewise.
3269 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3271         * resolv/tst-resolv-canonname.c: New file.
3272         * resolv/Makefile (tests): Add tst-resolv-canonname.
3273         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
3275 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3277         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
3278         Declare.
3279         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
3280         (NS_MAXCDNAME): Remove definition.
3281         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3282         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
3283         (NS_MAXCDNAME): Remove definition.
3284         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3286 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3288         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
3289         call whose result is not used.
3291 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3293         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
3294         * resolv/Makefile (tests): Add tst-ns_name.
3295         (tst-ns_name): Link with -lresolv.
3296         (tst-ns_name.out): Depend on the input data file.
3298 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3300         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
3301         Clobber also r14.
3303 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
3305         [BZ #21253]
3306         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
3307         slack space by 32KiB.
3309 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
3311         [BZ #21338]
3312         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
3313         instead of incorrect do_set_arena_test
3315 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3317         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
3318         * math/bits/math-finite.h: Likewise.
3320 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
3322         [BZ #21289]
3323         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
3325 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3327         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
3328         non expected inotify_add_watch and quotactl return.
3330 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3332         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
3333         to int32_t.
3334         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
3335         as returning int32_t.
3337 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3339         * math/math.h: Include bits/math-finite.h once per
3340         floating-point type.
3341         * math/bits/math-finite.h: Macroize all declarations by
3342         floating-point type.
3344 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3346         [BZ #21182]
3347         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
3348         near end of a page.
3349         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
3350         overflow calculation.
3352 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3354         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
3355         (IMPL) Call with 1 instead of 0 as argument.
3357 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3359         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3360         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3361         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3362         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3363         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3364         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3365         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3366         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3367         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3368         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3369         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3370         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3371         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3372         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3373         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3374         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3375         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3376         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3377         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3378         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3379         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3380         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3381         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3382         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3383         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3384         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3385         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3386         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3387         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3388         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3389         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3390         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3391         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3392         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3393         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3394         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3395         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3396         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3397         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3398         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3399         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3400         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3401         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3402         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3403         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3404         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3405         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3406         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3407         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3408         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3409         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3410         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3411         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3412         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3413         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3414         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3415         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3416         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3417         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3418         defined.
3419         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3420         __NR_setgroups32 if defined.
3421         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3422         if defined.
3423         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3424         __NR_setresgid32 is defined.
3425         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3426         __NR_setresuid32 if defined.
3427         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3428         __NR_setreuid32 if defined.
3429         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3430         defined.
3431         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3432         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3433         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3434         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3435         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3436         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3437         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3438         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3439         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3440         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3441         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3442         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3443         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3444         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3445         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3446         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3447         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3448         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3449         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3450         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3451         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3452         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3453         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3454         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3455         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3456         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3457         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3458         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3459         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3460         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3461         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3462         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3463         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3464         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3465         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3466         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3467         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3468         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3469         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3470         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3471         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3472         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3473         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3474         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3475         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3476         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3477         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3478         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3479         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3480         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3481         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3482         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3483         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3484         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3485         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3486         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3487         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3488         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3489         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3490         defined.
3491         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3492         __NR_setgroups32 if defined.
3493         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3494         if defined.
3495         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3496         __NR_setresgid32 is defined.
3497         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3498         __NR_setresuid32 if defined.
3499         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3500         __NR_setreuid32 if defined.
3501         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3502         defined.
3504 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
3506         [BZ #21277]
3507         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
3508         unconditionally.
3509         (IMAXBEL): Likewise.
3510         (IUTF8): Likewise.
3512 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3514         * sysdeps/aarch64/libm-test-ulps: Update.
3516 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
3518         * README.tunables: Updated descriptions.
3519         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
3520         * scripts/gen-tunables.awk: Updated the code related to the
3521         commit.
3523 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
3525         * benchtests/Makefile (string-benchset): Add memcpy-random.
3526         * benchtests/bench-memcpy-random.c: New file.
3528 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3530         * stdio-common/printf.h (register_printf_modifier): Change the
3531         order of __wur and __THROW.
3532         (register_printf_type): Likewise.
3534 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3536         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
3537         test_main ().
3538         (CMDLINE_PROCESS): Use function instead of defined macro.
3539         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
3540         <suppport/support.h> to use set_fortify_handler().
3541         * string/bug-envz1.c: Import support/test-driver.c instead of
3542         test-skeleton.c.
3543         * string/bug-strcoll2.c: Likewise.
3544         * string/bug-strtok1.c: Likewise.
3545         * string/stratcliff.c: Likewise.
3546         * string/test-ffs.c: Likewise.
3547         * string/test-memccpy.c: Likewise.
3548         * string/test-memchr.c: Likewise.
3549         * string/test-memcmp.c: Likewise.
3550         * string/test-memcpy.c: Likewise.
3551         * string/test-memmem.c: Likewise.
3552         * string/test-memmove.c: Likewise.
3553         * string/test-memrchr.c: Likewise.
3554         * string/test-memset.c: Likewise.
3555         * string/test-rawmemchr.c: Likewise.
3556         * string/test-strcasecmp.c: Likewise.
3557         * string/test-strcasestr.c: Likewise.
3558         * string/test-strcat.c: Likewise.
3559         * string/test-strchr.c: Likewise.
3560         * string/test-strcmp.c: Likewise.
3561         * string/test-strcpy.c: Likewise.
3562         * string/test-string.h: Likewise.
3563         * string/test-strlen.c: Likewise.
3564         * string/test-strncasecmp.c: Likewise.
3565         * string/test-strncat.c: Likewise.
3566         * string/test-strncmp.c: Likewise.
3567         * string/test-strncpy.c: Likewise.
3568         * string/test-strnlen.c: Likewise.
3569         * string/test-strpbrk.c: Likewise.
3570         * string/test-strrchr.c: Likewise.
3571         * string/test-strspn.c: Likewise.
3572         * string/test-strstr.c: Likewise.
3573         * string/tst-bswap.c: Likewise.
3574         * string/tst-cmp.c: Likewise.
3575         * string/tst-endian.c: Likewise.
3576         * string/tst-inlcall.c: Likewise.
3577         * string/tst-strcoll-overflow.c: Likewise.
3578         * string/tst-strfry.c: Likewise.
3579         * string/tst-strlen.c: Likewise.
3580         * string/tst-strtok.c: Likewise.
3581         * string/tst-strtok_r.c: Likewise.
3582         * string/tst-strxfrm.c: Likewise.
3583         * string/tst-strxfrm2.c: Likewise.
3584         * string/tst-svc.c: Likewise.
3585         * string/tst-svc2.c: Likewise.
3587 2017-03-22  Zack Weinberg  <zackw@panix.com>
3589         * stdio-common/bug25.c: Include stdlib.h.
3590         * support/tst-support_format_dns_packet.c: Include stdio.h,
3591         stdlib.h, and string.h.
3592         * support/tst-support_record_failure.c: Include string.h.
3593         * support/tst-support_record_failure-2.sh: Adjust line number
3594         expectations and correct a typo in an error message.
3596 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3598         [BZ #21258]
3599         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3600         Define only if _dl_runtime_resolve is defined to
3601         _dl_runtime_resolve_sse_vex.
3602         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3603         Fallthrough to _dl_runtime_resolve_sse_vex.
3605 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3607         * INSTALL: Regenerated.
3609 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
3611         * config.h.in: Add LINK_OBSOLETE_NSL.
3612         * config.make.in: Add build-obsolete-nsl.
3613         * configure.ac: Add obsolete-nsl option.
3614         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3615         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3616         * include/rpcsvc/nislib.h: Likewise.
3617         * include/rpcsvc/ypclnt.h: Likewise.
3618         * manual/install.texi: Document --enable-obsolete-nsl.
3619         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
3620         * nis/nis_add.c: Replace libnsl_hidden_def with
3621         libnsl_hidden_nolink_def.
3622         * nis/nis_addmember.c: Likewise.
3623         * nis/nis_call.c: Likewise.
3624         * nis/nis_clone_obj.c: Likewise.
3625         * nis/nis_defaults.c: Likeise.
3626         * nis/nis_domain_of_r.c: Likewise.
3627         * nis/nis_error.c: Likewise.
3628         * nis/nis_file.c: Likewise.
3629         * nis/nis_free.c: Likewise.
3630         * nis_local_names.c: Likewise.
3631         * nis/nis_lookup.c: Likewise.
3632         * nis/nis_modify.c: Likewise.
3633         * nis/nis_print.c: Likewise.
3634         * nis/nis_remove.c: Likewise.
3635         * nis/nis_table.c: Likewise.
3636         * nis/nis_util.c: Likewise.
3637         * nis/nis_xdr.c: Likewise.
3638         * nis/yp_xdr.c: Likewise.
3639         * nis/ypclnt.c: Likewise.
3640         * nis/ypupdate_xdr.c: Likewise.
3641         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
3642         * nis/nis_clone_dir.c: Likewise.
3643         * nis/nis_clone_res.c: Likewise.
3644         * nis/nis_creategroup.c: Likewise.
3645         * nis/nis_destroygroup.c: Likewise.
3646         * nis/nis_domain_of.c: Likewise.
3647         * nis/nis_getservlist.c: Likewise.
3648         * nis/nis_ismember.c: Likewise.
3649         * nis/nis_mkdir.c: Likewise.
3650         * nis/nis_ping.c: Likewise.
3651         * nis/nis_print_group_entry.c: Likewise.
3652         * nis/nis_removemember.c: Likewise.
3653         * nis/nis_rmdir.c: Likewise.
3654         * nis/nis_server.c: Likewise.
3655         * nis/nis_subr.c: Likewise.
3656         * nis/nis_verifygroup.c: Likewise.
3658 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3660         * malloc/tst-interpose-aux.c (check_for_allocations):
3661         Move compiler barrier before free.
3663 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
3665         [BZ #21279]
3666         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3667         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3668         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
3669         x86_64-x32-linux.
3670         (mq_attr.mq_maxmsg): Likewise.
3671         (mq_attr.mq_msgsize): Likewise.
3672         (mq_attr.mq_curmsgs): Likewise.
3674         [BZ #21278]
3675         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
3676         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3677         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
3678         mips-o32-linux.
3680         [BZ #21268]
3681         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
3682         if [__USE_MISC]
3683         (NL3): Likewise.
3685 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
3687         [BZ #21275]
3688         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
3689         __stack to __stackbase.
3690         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
3691         checks so we can include defined(__ia64__) first.
3693 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
3695         * sysdeps/unix/sysv/linux/ttyname.h: New file.
3696         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
3697         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
3698         Call is_pty when the link does not exist or does not match, fail
3699         with ENODEV when it returns true.
3700         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
3701         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
3702         Call is_pty when the link does not exist or does not match, fail
3703         with ENODEV when it returns true.
3705 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
3707         [BZ #16437]
3708         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3709         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3710         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
3711         x86_64-x32-linux.
3712         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
3713         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
3714         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
3716         [BZ #21261]
3717         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
3718         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
3719         names for all fields.
3720         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
3721         for jmp_buf field renaming.
3722         (_JMPBUF_UNWINDS_ADJ): Likewise.
3724         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
3725         with allow-header.
3727 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
3729         * malloc/malloc.c (unlink): Add consistency check between size and
3730         next->prev->size, to further harden against 1-byte overflows.
3732 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
3734         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
3735         CPU_FEATURES_CPU_P.
3737 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
3739         [BZ #21259]
3740         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
3741         unconditionally, not just for [__USE_MISC].
3743         [BZ #17786]
3744         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
3745         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
3746         mips-o32-linux.
3748         [BZ #21260]
3749         * sysdeps/unix/sysv/linux/alpha/Makefile
3750         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3751         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
3753         * conform/conformtest.pl ($cross): New variable.
3754         (--cross): New command-line option.
3755         (runtest): Skip test execution when cross-compiling.
3756         * conform/Makefile (conformtest-cross): New variable.
3757         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
3758         conformtest.pl.
3760         * conform/conformtest.pl ($xfail_str): New variable.
3761         (--xfail=): New command-line option.
3762         (top level): Handle expectations starting xfail[cond]-.
3763         * conform/Makefile (conformtest-xfail): New variable.
3764         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
3765         conformtest.pl.
3767 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3769         * conform/conformtest.pl: Use compilation instead of execution
3770         tests for testing values of constants and usability in #if.
3772 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3774         * math/auto-libm-test-in: Mark some catan and catanh as
3775         xfail-rounding:ibm128-libgcc.
3776         * math/auto-libm-test-out-catan: Regenerate.
3777         * math/auto-libm-test-out-catanh: Likewise.
3779 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3781         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
3782         (__END_NAMESPACE_STD): Likewise.
3783         (__USING_NAMESPACE_STD): Likewise.
3784         (__BEGIN_NAMESPACE_C99): Likewise.
3785         (__END_NAMESPACE_C99): Likewise.
3786         (__USING_NAMESPACE_C99): Likewise.
3787         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
3788         undefine macro.
3789         (_Mdouble_END_NAMESPACE): Likewise.
3790         * ctype/ctype.h: Do not handle C++ namespaces.
3791         * libio/bits/stdio-ldbl.h: Likewise.
3792         * libio/stdio.h: Likewise.
3793         * locale/locale.h: Likewise.
3794         * math/bits/mathcalls.h: Likewise.
3795         * setjmp/setjmp.h: Likewise.
3796         * signal/signal.h: Likewise.
3797         * stdlib/bits/stdlib-float.h: Likewise.
3798         * stdlib/bits/stdlib-ldbl.h: Likewise.
3799         * stdlib/stdlib.h: Likewise.
3800         * string/string.h: Likewise.
3801         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3802         * time/bits/types/clock_t.h: Likewise.
3803         * time/bits/types/struct_tm.h: Likewise.
3804         * time/bits/types/time_t.h: Likewise.
3805         * time/time.h: Likewise.
3806         * wcsmbs/bits/wchar-ldbl.h: Likewise.
3807         * wcsmbs/uchar.h: Likewise.
3808         * wcsmbs/wchar.h: Likewise.
3809         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
3810         * wctype/wctype.h: Do not handle C++ namespaces.
3811         * scripts/begin-end-check.pl: Remove.
3812         * Makefile (installed-headers): Likewise.
3813         (tests-special): Do not add $(objpfx)begin-end-check.out.
3814         ($(objpfx)begin-end-check.out): Remove.
3816 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
3817             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3819         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
3820         (DL_PLATFORM_INIT): New define.
3821         (dl_platform_init): New function.
3822         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
3823         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
3824         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
3825         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
3826         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
3828 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
3830         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
3831         instead of PIC.
3833 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3835         [BZ #21094]
3836         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3837         24+24+24-bit pi for wider range of values around pi/2.
3838         * math/auto-libm-test-in: Add more tests of cos and tan.
3839         * math/auto-libm-test-out-cos: Regenerated.
3840         * math/auto-libm-test-out-tan: Likewise.
3842 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
3844         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
3845         (RTLD_START): Don't record stack end address in _dl_start_user.
3847 2017-03-15  Alexey Neyman  <stilor@att.net>
3849         [BZ #21088]
3850         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
3851         around definitions match those around use.
3853 2017-03-15  Alexey Neyman  <stilor@att.net>
3855         * configure.ac: Avoid empty subexpression in grep.
3856         * configure: Regenerate.
3858 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3860         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
3861         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
3862         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
3863         (test_wrp_rv): Fix format.
3864         (test_wrp_rv2): New macro.
3865         (do_test): Handle mlock return on 64 bits kernels with 32 bits
3866         binaries.
3868 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3870         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
3871         Use a union when storing pointers.
3872         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
3873         cast result when passing to INIT_VEC_PTRS_LOOP.
3874         (VECTOR_WRAPPER_fFF_3): Likewise.
3875         (VECTOR_WRAPPER_fFF_4): Likewise.
3877 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3879         * include/bits/mathcalls-helper-functions.h: New file.
3880         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
3881         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
3882         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
3883         math/bits/mathcalls-helper-functions.h.
3884         * math/bits/mathcalls-helper-functions.h: New file.
3885         * math/math.h: Include bits/mathcalls-helper-functions.h for
3886         float, double, and long double.
3888 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3890         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
3891         instead of feraiseexcept.
3893 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3895         [BZ #21243]
3896         * support/temp_file.c (support_delete_temp_files): Add comment
3897         about ignored errors.
3899 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3901         [BZ #21244]
3902         * support/xclose.c: New file.
3903         * support/Makefile (libsupport-routines): Add xclose.
3904         * support/xunistd.h (xclose): Declare.
3905         * support/resolv_test.c (server_thread_tcp_client)
3906         (server_thread_tcp, make_server_sockets, resolv_test_start)
3907         (resolv_test_end): Call xclose instead of close.
3908         * support/support_enter_network_namespace.c
3909         (support_enter_network_namespace): Likewise.
3910         * support/support_run_diff.c (write_to_temp_file): Likewise.
3912 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3914         * support/support_format_dns_packet.c (support_format_dns_packet):
3915         Handle CNAME records in the response.  Extract RDATA names from
3916         rdata, not the whole packet.  Check AAAA record length.
3917         * support/tst-support_format_dns_packet.c: New file.
3918         * support/Makefile (tests): Add tst-support_format_dns_packet.
3919         (tst-support_format_dns_packet): Link against libresolv.
3921 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3923         [BZ #21232]
3924         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
3925         posix_fadvise64 weak_alias for static build.
3927 2017-03-14  Andreas Schwab  <schwab@suse.de>
3929         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
3930         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
3931         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
3932         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
3933         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
3934         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
3935         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
3936         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
3938 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3940         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
3941         posix error code.
3942         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3944 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3946         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
3947         no_isolate usage for SH.
3949 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
3951         [BZ #15105]
3952         [BZ #19463]
3953         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
3954         * inet/rcmd.c (rcmd_af): Likewise.
3955         * inet/rexec.c   (rexec_af): Likewise.
3956         * intl/dcigettext.c (_LIBC): Likewise.
3957         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
3958         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
3959         * locale/setlocale.c (setlocale): Likewise.
3960         * posix/spawn_faction_addopen.c
3961         (posix_spawn_file_actions_addopen): Likewise.
3962         * stdlib/putenv.c (putenv): Use __strndup.
3963         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
3964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
3965         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
3966         (__Need_M_And_C) Remove define/undef.
3967         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
3968         (__malloc_and_calloc_defined): Remove define.
3969         * string/bits/string2.h (__strdup): Remove define.
3970         (strdup): Likewise.
3971         (__strndup): Likewise.
3972         (strndup): Likewise.
3974 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
3976         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
3977         macro.
3978         (IPV6_ADDR_PREFERENCES): Likewise.
3979         (IPV6_MINHOPCOUNT): Likewise.
3980         (IPV6_ORIGDSTADDR): Likewise.
3981         (IPV6_RECVORIGDSTADDR): Likewise.
3982         (IPV6_TRANSPARENT): Likewise.
3983         (IPV6_UNICAST_IF): Likewise.
3984         (IPV6_RECVFRAGSIZE): Likewise.
3986 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
3988         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
3990 2017-03-12  Alexey Neyman <stilor@att.net>
3992         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
3993         in R_SH_DIR32 case is always false when inlined from
3994         dl-conflict.c. Ifdef out to prevent GCC from insertin an
3996 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
3998         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3999         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4000         __ASSUME_SEND_SYSCALL.
4002 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4004         * sunrpc/Makefile: don't build and install rpcsvc header
4005         files, rpcgen and librpcsvc.a by default.
4007 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4009         * math/auto-libm-test-out-catan: Regenerated.
4010         * math/auto-libm-test-out-catanh: Likewise.
4011         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4013 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4015         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4016         for long double with corrected test expectations.
4018 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4020         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4021         Define.
4022         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4023         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4024         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4025         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4026         * sysdeps/unix/sysv/linux/tile/sysdep.h
4027         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4028         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4029         (__ASSUME_RECV_SYSCALL): Define.
4030         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4031         (__ASSUME_RECV_SYSCALL): Likewise.
4032         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4033         (__ASSUME_RECV_SYSCALL): Likewise.
4034         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4035         (__ASSUME_RECV_SYSCALL): Likewise.
4036         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4037         (__ASSUME_RECV_SYSCALL): Likewise.
4038         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4039         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4040         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4041         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4042         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4043         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4044         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4045         auto-generation list.
4046         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4047         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4048         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4049         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4050         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4051         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4052         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4053         __ASSUME_SENDTO_SYSCALL.
4054         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4055         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4056         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4058         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4059         auto-generation list.
4060         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4061         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4062         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4063         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4064         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4065         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4066         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4067         * sysdeps/unix/sysv/linux/kernel-features.h
4068         (__ASSUME_SENDTO_SYSCALL): Define by default.
4069         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4070         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4071         __NR_sendto.
4072         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4073         (__ASSUME_SENDTO_SYSCALL): Likewise.
4074         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4075         (__ASSUME_SENDTO_SYSCALL): Likewise.
4076         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4077         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4078         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4079         (__ASSUME_SENDTO_SYSCALL): Likewise.
4080         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4081         (__ASSUME_SENDTO_SYSCALL): Likewise.
4082         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4084         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4085         auto-generation list.
4086         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4087         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4088         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4089         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4090         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4091         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4092         (__ASSUME_RECV_SYSCALL): New define.
4093         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4094         (__ASSUME_RECV_SYSCALL): Likewise.
4095         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4096         (__ASSUME_RECV_SYSCALL): Likewise.
4097         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4098         (__ASSUME_RECV_SYSCALL): Likewise.
4099         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4100         (__ASSUME_RECV_SYSCALL): Likewise.
4101         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4102         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4103         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4104         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4105         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4106         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4107         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4108         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4109         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4110         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4111         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4112         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4114         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4115         auto-generation list.
4116         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4117         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4118         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4119         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4120         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4121         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4122         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4123         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4124         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4125         * sysdeps/unix/sysv/linux/kernel-features.h
4126         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4127         __NR_recvfrom.
4128         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4129         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4130         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4131         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4132         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4133         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4134         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4135         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4136         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4137         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4138         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4139         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4140         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4142         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4143         auto-generation list.
4144         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4145         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4146         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4147         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4148         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4149         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4150         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4151         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4152         * sysdeps/unix/sysv/linux/kernel-features.h
4153         (__ASSUME_CONNECT_SYSCALL): Define.
4154         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4155         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4156         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4157         (__ASSUME_CONNECT_SYSCALL): Likewise.
4158         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4159         (__ASSUME_CONNECT_SYSCALL): Likewise.
4160         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4161         (__ASSUME_CONNECT_SYSCALL): Likewise.
4163         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4164         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4165         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4166         auto-generation list.
4167         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4168         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4169         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4170         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4171         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4172         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4173         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4174         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4175         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4176         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4177         * sysdeps/unix/sysv/linux/kernel-features.h
4178         (__ASSUME_ACCEPT_SYSCALL): New define.
4179         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4180         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4181         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4182         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4183         (__ASSUME_ACCEPT_SYSCALL): Define.
4184         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4185         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4186         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4187         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4188         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4189         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4190         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4191         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4192         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4194 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
4195             Zack Weinberg  <zackw@panix.com>
4197         * posix/test-errno.c: New file.
4198         * posix/Makefile (tests): Add test-errno.
4199         * sysdeps/unix/sysv/linux/test-errno.c: New file.
4200         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4202 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
4204         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4206 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4208         * time/tzset.c (compute_offset): Open-code min macro.
4209         (min, max, sign): Remove.
4211 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4213         [BZ #15576]
4214         Remove TZNAME_MAX limit from sysconf.
4215         * include/time.h (__tzname_cur_max, __tzname_max): Remove
4216         declaration.
4217         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4218         compute_tzname_max.
4219         (compute_tzname_max): Remove.
4220         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4221         (update_vars): Do not update __tzname_cur_max.
4222         (tzset_internal): Remove argument.
4223         (__tzset): Adjust call to tzset_internal.
4224         (__tz_convert): Likewise.
4226         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4227         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4228         * manual/conf.texi (Sysconf Definition): Update comment.
4230 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4232         [BZ #21209]
4233         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
4234         AT_SECURE processes.
4235         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
4236         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
4237         (test_child): Likewise.
4238         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
4240 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4242         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
4244 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4246         * sysdeps/s390/atomic-machine.h
4247         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
4248         (__arch_compare_and_exchange_val_8_acq,
4249         __arch_compare_and_exchange_val_16_acq,
4250         __arch_compare_and_exchange_val_32_acq,
4251         __arch_compare_and_exchange_val_64_acq):
4252         Delete macro.
4253         (atomic_compare_and_exchange_val_acq,
4254         atomic_compare_and_exchange_val_rel,
4255         atomic_compare_and_exchange_bool_acq,
4256         catomic_compare_and_exchange_bool_acq,
4257         atomic_exchange_acq, atomic_exchange_rel,
4258         atomic_exchange_and_add_acq,
4259         atomic_exchange_and_add_rel,
4260         catomic_exchange_and_add, atomic_or_val,
4261         atomic_or, catomic_or, atomic_bit_test_set,
4262         atomic_and_val, atomic_and, catomic_and):
4263         Define macros with help of C11 atomic builtins.
4265 2017-03-03  Justus Winter <justus@gnupg.org>
4267         * sysdeps/mach/hurd/ftruncate64.c: New file.
4268         * sysdeps/mach/hurd/truncate64.c: Likewise.
4270 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4272         * time/tzfile.c (NOID): Do not define.
4273         * time/tzset.c (NOID): Likewise.
4275 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4277         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
4279 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4281         * elf/get-dynamic-info.h: Remove header file inclusion guard.
4283 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4285         [BZ #21015]
4286         * manual/install.texi (Configuring and compiling): Document
4287         --enable-bind-now.
4288         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
4289         (build-shlib-helper): Use $(LDFLAGS-lib.so).
4290         (format.lds): Likewise.
4291         [bind-now] (LDFLAGS-c.so): Remove.
4292         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
4293         be R_X86_64_GLOB_DAT.
4294         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
4295         relocation can be R_386_GLOB_DAT.
4296         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
4297         relocaiton can be R_ALPHA_GLOB_DAT.
4298         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
4300 2017-03-01  Zack Weinberg  <zackw@panix.com>
4302         * include/libc-pointer-arith.h: New file.  Define
4303         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
4304         PTR_ALIGN_DOWN here.
4305         * include/libc-internal.h: Definitions of above macros
4306         moved from here.  Don't include libc-diag.h anymore either.
4307         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
4308         Don't include libc-internal.h.
4310         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
4311         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
4312         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
4313         * string/strcoll_l.c, sysdeps/nacl/brk.c
4314         * sysdeps/unix/clock_settime.c
4315         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
4316         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
4317         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4318         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
4319         Don't include libc-internal.h.
4321         * elf/get-dynamic-info.h, iconv/loop.c
4322         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
4323         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
4324         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
4325         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
4326         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4327         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
4328         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4329         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
4330         * sysdeps/ieee754/ldbl-128/k_tanl.c
4331         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4332         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4333         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
4334         Include libc-diag.h instead of libc-internal.h.
4336         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
4337         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
4338         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
4339         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
4340         * sysdeps/unix/sysv/linux/spawni.c
4341         * sysdeps/x86_64/nptl/tls.h:
4342         Include libc-pointer-arith.h instead of libc-internal.h.
4344         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
4345         * sysdeps/x86_64/atomic-machine.h:
4346         Add multiple include guard.
4348         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
4349         * string/strcasestr.c: No need to include config.h.
4350         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
4351         sys/auxv.h. Don't include sysdep.h.
4352         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
4354         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
4355         DL_LOOKUP_ADDRESS.
4356         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
4357         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
4358         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
4359         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
4360         of ARTIFICIAL_LIMIT.
4361         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
4362         declaration of __clone2.
4364 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4366         * scripts/backport-support.sh (latest_commit): New file.
4368 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4370         [BZ #20257]
4371         * inet/Makefile (routines): Add deadline.
4372         (tests-static): Add tst-deadline.
4373         * inet/net-internal.h (struct deadline_current_time)
4374         (__deadline_current_time, struct deadline, __deadline_is_infinite)
4375         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
4376         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
4377         * inet/deadline.c: New file.
4378         * inet/tst-deadline.c: Likewise.
4379         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
4380         tst-udp-timeout, tst-udp-garbage.
4381         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
4382         explicitly.
4383         (tst-udp-garbage): Likewise.  Also link against thread library.
4384         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
4385         struct layout is part of the ABI.
4386         (clntudp_call): Rework timeout handling.
4387         * sunrpc/tst-udp-garbage.c: New file.
4388         * sunrpc/tst-udp-nonblocking.c: Likewise.
4389         * sunrpc/tst-udp-timeout.c: Likewise.
4391 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4393         [BZ #5010]
4394         * sunrpc/svc.c (svc_is_mapped): Remove.
4395         (svc_unregister): Obtain mapped status while the service is still
4396         registered.
4397         * sunrpc/Makefile [have-thread-library] (tests): Add
4398         tst-svc_register.
4399         (tst-svc_register): Link against libc.so explicitly and the thread
4400         library.
4401         * sunrpc/tst-svc_register.c: New file.
4403 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
4405         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
4406         * sysdeps/pthread/bits/sigthread.h: Likewise.
4408 2017-02-27  Florian Weimer  <fweimer@redhat.com>
4410         [BZ #21115]
4411         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
4412         * sunrpc/Makefile (tests): Add tst-udp-error.
4413         (tst-udp-error): Link against libc.so explicitly.
4414         * sunrpc/tst-udp-error: New file.
4416 2017-02-25  Zack Weinberg  <zackw@panix.com>
4418         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
4419         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
4421         * sysdeps/generic/math_ldbl.h
4422         * sysdeps/ia64/fpu/math_ldbl.h
4423         * sysdeps/ieee754/ldbl-128/math_ldbl.h
4424         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4425         * sysdeps/ieee754/ldbl-96/math_ldbl.h
4426         * sysdeps/powerpc/fpu/math_ldbl.h
4427         * sysdeps/x86_64/fpu/math_ldbl.h:
4428         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
4429         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
4430         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
4431         Add copyright notices.
4433         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4434         Don't use EXTRACT_WORDS64.
4436         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
4437         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
4438         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
4439         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
4440         Include math_ldbl.h, not math_private.h.
4442 2017-02-25  Zack Weinberg  <zackw@panix.com>
4444         * include/libc-diag.h: New file.  Define ignore_value,
4445         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
4446         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
4448         * include/libc-internal.h: Definitions of above macros moved from
4449         here.  Include libc-diag.h.  Add copyright notice.
4451         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
4452         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
4453         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
4454         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
4455         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
4456         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
4457         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
4458         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
4459         Include libc-diag.h instead of libc-internal.h.
4461         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
4462         call to unsetenv (NULL).
4463         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
4464         call to pthread_mutexattr_destroy (NULL).
4466 2017-02-25  Zack Weinberg  <zackw@panix.com>
4468         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
4469         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
4470         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
4471         gets was removed from C++ in C++14.
4472         * include/stdio.h: Remove redundant declaration of gets.
4473         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
4474         be declared, since we are testing it.
4475         * stdio-common/Makefile (tst-gets.c): Compile with
4476         -Wno-deprecated-declarations.
4477         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
4478         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
4479         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
4480         Compile with -Wno-deprecated-declarations.
4482 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4484         * math/libm-test-support.c (check_ulp): Use LIT() around literal
4485         numbers.
4487 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4489         * resolv/tst-resolv-qtypes.c (domain):
4490         Change type to const pointer to const char.
4492 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
4494         * math/Makefile (libm-tests-generated): Remove variable.
4495         (libm-tests-base-normal): New variable.
4496         (libm-tests-base-finite): Likewise.
4497         (libm-tests-base-inline): Likewise.
4498         (libm-tests-base): Likewise.
4499         (libm-tests-normal): Likewise.
4500         (libm-tests-finite): Likewise.
4501         (libm-tests-inline): Likewise.
4502         (libm-tests-vector): Likewise.
4503         (libm-tests): Define in terms of these new variables.
4504         (libm-tests-for-type): New variable.
4505         (libm-tests.o): Move definition.
4506         (tests): Move addition of $(libm-tests).
4507         (generated): Update for new and removed libm test files.
4508         ($(objpfx)libm-test.c): Remove target.
4509         ($(objpfx)libm-have-vector-test.h): Likewise.
4510         (CFLAGS-test-double-vlen2.c): Remove variable.
4511         (CFLAGS-test-double-vlen4.c): Likewise.
4512         (CFLAGS-test-double-vlen8.c): Likewise.
4513         (CFLAGS-test-float-vlen4.c): Likewise.
4514         (CFLAGS-test-float-vlen8.c): Likewise.
4515         (CFLAGS-test-float-vlen16.c): Likewise.
4516         (CFLAGS-test-float.c): Likewise.
4517         (CFLAGS-test-float-finite.c): Likewise.
4518         (CFLAGS-libm-test-support-float.c): Likewise.
4519         (CFLAGS-test-double.c): Likewise.
4520         (CFLAGS-test-double-finite.c): Likewise.
4521         (CFLAGS-libm-test-support-double.c): Likewise.
4522         (CFLAGS-test-ldouble.c): Likewise.
4523         (CFLAGS-test-ldouble-finite.c): Likewise.
4524         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4525         (libm-test-inline-cflags): New variable.
4526         (CFLAGS-test-ifloat.c): Remove variable.
4527         (CFLAGS-test-idouble.c): Likewise.
4528         (CFLAGS-test-ildouble.c): Likewise.
4529         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
4530         dependencies.
4531         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
4532         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
4533         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
4534         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
4535         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
4536         Likewise.
4537         (dependencies on libm-test-support-*.o): Remove.
4538         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
4539         rules using iterators.
4540         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
4541         Likewise.
4542         ($(objpfx)libm-test-support-$(o).o): Likewise.
4543         ($(addprefix $(objpfx),$(filter-out $(tests-static)
4544         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
4545         instead.
4546         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
4547         define rule instead.
4548         * math/README.libm-test: Update.
4549         * math/libm-test-acos.inc: Include libm-test-driver.c.
4550         (do_test): New function.
4551         * math/libm-test-acosh.inc: Include libm-test-driver.c.
4552         (do_test): New function.
4553         * math/libm-test-asin.inc: Include libm-test-driver.c.
4554         (do_test): New function.
4555         * math/libm-test-asinh.inc: Include libm-test-driver.c.
4556         (do_test): New function.
4557         * math/libm-test-atan.inc: Include libm-test-driver.c.
4558         (do_test): New function.
4559         * math/libm-test-atan2.inc: Include libm-test-driver.c.
4560         (do_test): New function.
4561         * math/libm-test-atanh.inc: Include libm-test-driver.c.
4562         (do_test): New function.
4563         * math/libm-test-cabs.inc: Include libm-test-driver.c.
4564         (do_test): New function.
4565         * math/libm-test-cacos.inc: Include libm-test-driver.c.
4566         (do_test): New function.
4567         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4568         (do_test): New function.
4569         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4570         (do_test): New function.
4571         * math/libm-test-carg.inc: Include libm-test-driver.c.
4572         (do_test): New function.
4573         * math/libm-test-casin.inc: Include libm-test-driver.c.
4574         (do_test): New function.
4575         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4576         (do_test): New function.
4577         * math/libm-test-catan.inc: Include libm-test-driver.c.
4578         (do_test): New function.
4579         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4580         (do_test): New function.
4581         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4582         (do_test): New function.
4583         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4584         (do_test): New function.
4585         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4586         (do_test): New function.
4587         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4588         (do_test): New function.
4589         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4590         (do_test): New function.
4591         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4592         (do_test): New function.
4593         * math/libm-test-clog.inc: Include libm-test-driver.c.
4594         (do_test): New function.
4595         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4596         (do_test): New function.
4597         * math/libm-test-conj.inc: Include libm-test-driver.c.
4598         (do_test): New function.
4599         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4600         (do_test): New function.
4601         * math/libm-test-cos.inc: Include libm-test-driver.c.
4602         (do_test): New function.
4603         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4604         (do_test): New function.
4605         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4606         (do_test): New function.
4607         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4608         (do_test): New function.
4609         * math/libm-test-creal.inc: Include libm-test-driver.c.
4610         (do_test): New function.
4611         * math/libm-test-csin.inc: Include libm-test-driver.c.
4612         (do_test): New function.
4613         * math/libm-test-csinh.inc: Include libm-test-driver.c.
4614         (do_test): New function.
4615         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4616         (do_test): New function.
4617         * math/libm-test-ctan.inc: Include libm-test-driver.c.
4618         (do_test): New function.
4619         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
4620         (do_test): New function.
4621         * math/libm-test-erf.inc: Include libm-test-driver.c.
4622         (do_test): New function.
4623         * math/libm-test-erfc.inc: Include libm-test-driver.c.
4624         (do_test): New function.
4625         * math/libm-test-exp.inc: Include libm-test-driver.c.
4626         (do_test): New function.
4627         * math/libm-test-exp10.inc: Include libm-test-driver.c.
4628         (do_test): New function.
4629         * math/libm-test-exp2.inc: Include libm-test-driver.c.
4630         (do_test): New function.
4631         * math/libm-test-expm1.inc: Include libm-test-driver.c.
4632         (do_test): New function.
4633         * math/libm-test-fabs.inc: Include libm-test-driver.c.
4634         (do_test): New function.
4635         * math/libm-test-fdim.inc: Include libm-test-driver.c.
4636         (do_test): New function.
4637         * math/libm-test-floor.inc: Include libm-test-driver.c.
4638         (do_test): New function.
4639         * math/libm-test-fma.inc: Include libm-test-driver.c.
4640         (do_test): New function.
4641         * math/libm-test-fmax.inc: Include libm-test-driver.c.
4642         (do_test): New function.
4643         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
4644         (do_test): New function.
4645         * math/libm-test-fmin.inc: Include libm-test-driver.c.
4646         (do_test): New function.
4647         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
4648         (do_test): New function.
4649         * math/libm-test-fmod.inc: Include libm-test-driver.c.
4650         (do_test): New function.
4651         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
4652         (do_test): New function.
4653         * math/libm-test-frexp.inc: Include libm-test-driver.c.
4654         (do_test): New function.
4655         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
4656         (do_test): New function.
4657         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
4658         (do_test): New function.
4659         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
4660         (do_test): New function.
4661         * math/libm-test-hypot.inc: Include libm-test-driver.c.
4662         (do_test): New function.
4663         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
4664         (do_test): New function.
4665         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
4666         (do_test): New function.
4667         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
4668         (do_test): New function.
4669         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
4670         (do_test): New function.
4671         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
4672         (do_test): New function.
4673         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
4674         (do_test): New function.
4675         * math/libm-test-isinf.inc: Include libm-test-driver.c.
4676         (do_test): New function.
4677         * math/libm-test-isless.inc: Include libm-test-driver.c.
4678         (do_test): New function.
4679         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
4680         (do_test): New function.
4681         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
4682         (do_test): New function.
4683         * math/libm-test-isnan.inc: Include libm-test-driver.c.
4684         (do_test): New function.
4685         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
4686         (do_test): New function.
4687         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
4688         (do_test): New function.
4689         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
4690         (do_test): New function.
4691         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
4692         (do_test): New function.
4693         * math/libm-test-iszero.inc: Include libm-test-driver.c.
4694         (do_test): New function.
4695         * math/libm-test-j0.inc: Include libm-test-driver.c.
4696         (do_test): New function.
4697         * math/libm-test-j1.inc: Include libm-test-driver.c.
4698         (do_test): New function.
4699         * math/libm-test-jn.inc: Include libm-test-driver.c.
4700         (do_test): New function.
4701         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
4702         (do_test): New function.
4703         * math/libm-test-llogb.inc: Include libm-test-driver.c.
4704         (do_test): New function.
4705         * math/libm-test-llrint.inc: Include libm-test-driver.c.
4706         (do_test): New function.
4707         * math/libm-test-llround.inc: Include libm-test-driver.c.
4708         (do_test): New function.
4709         * math/libm-test-log.inc: Include libm-test-driver.c.
4710         (do_test): New function.
4711         * math/libm-test-log10.inc: Include libm-test-driver.c.
4712         (do_test): New function.
4713         * math/libm-test-log1p.inc: Include libm-test-driver.c.
4714         (do_test): New function.
4715         * math/libm-test-log2.inc: Include libm-test-driver.c.
4716         (do_test): New function.
4717         * math/libm-test-logb.inc: Include libm-test-driver.c.
4718         (do_test): New function.
4719         * math/libm-test-lrint.inc: Include libm-test-driver.c.
4720         (do_test): New function.
4721         * math/libm-test-lround.inc: Include libm-test-driver.c.
4722         (do_test): New function.
4723         * math/libm-test-modf.inc: Include libm-test-driver.c.
4724         (do_test): New function.
4725         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
4726         (do_test): New function.
4727         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
4728         (do_test): New function.
4729         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
4730         (do_test): New function.
4731         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
4732         (do_test): New function.
4733         * math/libm-test-nextup.inc: Include libm-test-driver.c.
4734         (do_test): New function.
4735         * math/libm-test-pow.inc: Include libm-test-driver.c.
4736         (do_test): New function.
4737         * math/libm-test-remainder.inc: Include libm-test-driver.c.
4738         (do_test): New function.
4739         * math/libm-test-remquo.inc: Include libm-test-driver.c.
4740         (do_test): New function.
4741         * math/libm-test-rint.inc: Include libm-test-driver.c.
4742         (do_test): New function.
4743         * math/libm-test-round.inc: Include libm-test-driver.c.
4744         (do_test): New function.
4745         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
4746         (do_test): New function.
4747         * math/libm-test-scalb.inc: Include libm-test-driver.c.
4748         (do_test): New function.
4749         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
4750         (do_test): New function.
4751         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
4752         (do_test): New function.
4753         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
4754         (do_test): New function.
4755         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
4756         (do_test): New function.
4757         * math/libm-test-signbit.inc: Include libm-test-driver.c.
4758         (do_test): New function.
4759         * math/libm-test-significand.inc: Include libm-test-driver.c.
4760         (do_test): New function.
4761         * math/libm-test-sin.inc: Include libm-test-driver.c.
4762         (do_test): New function.
4763         * math/libm-test-sincos.inc: Include libm-test-driver.c.
4764         (do_test): New function.
4765         * math/libm-test-sinh.inc: Include libm-test-driver.c.
4766         (do_test): New function.
4767         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
4768         (do_test): New function.
4769         * math/libm-test-tan.inc: Include libm-test-driver.c.
4770         (do_test): New function.
4771         * math/libm-test-tanh.inc: Include libm-test-driver.c.
4772         (do_test): New function.
4773         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
4774         (do_test): New function.
4775         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
4776         (do_test): New function.
4777         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
4778         (do_test): New function.
4779         * math/libm-test-trunc.inc: Include libm-test-driver.c.
4780         (do_test): New function.
4781         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
4782         (do_test): New function.
4783         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
4784         (do_test): New function.
4785         * math/libm-test-y0.inc: Include libm-test-driver.c.
4786         (do_test): New function.
4787         * math/libm-test-y1.inc: Include libm-test-driver.c.
4788         (do_test): New function.
4789         * math/libm-test-yn.inc: Include libm-test-driver.c.
4790         (do_test): New function.
4791         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
4792         (HAVE_VECTOR): Remove macro.
4793         (START): Do not call HAVE_VECTOR.
4794         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
4795         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
4796         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
4797         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
4798         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
4799         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
4800         * math/test-math-vector.h (FUNC_TEST): New macro.
4801         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
4802         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
4803         (double-vlen4-funcs): Likewise.
4804         (double-vlen4-avx2-funcs): Likewise.
4805         (double-vlen8-funcs): Likewise.
4806         (float-vlen4-funcs): Likewise.
4807         (float-vlen8-funcs): Likewise.
4808         (float-vlen8-avx2-funcs): Likewise.
4809         (float-vlen16-funcs): Likewise.
4810         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
4811         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
4812         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
4813         macro.
4814         (TEST_VECTOR_sin): Likewise.
4815         (TEST_VECTOR_sincos): Likewise.
4816         (TEST_VECTOR_log): Likewise.
4817         (TEST_VECTOR_exp): Likewise.
4818         (TEST_VECTOR_pow): Likewise.
4819         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
4820         Likewise.
4821         (TEST_VECTOR_sin): Likewise.
4822         (TEST_VECTOR_sincos): Likewise.
4823         (TEST_VECTOR_log): Likewise.
4824         (TEST_VECTOR_exp): Likewise.
4825         (TEST_VECTOR_pow): Likewise.
4826         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
4827         Likewise.
4828         (TEST_VECTOR_sinf): Likewise.
4829         (TEST_VECTOR_sincosf): Likewise.
4830         (TEST_VECTOR_logf): Likewise.
4831         (TEST_VECTOR_expf): Likewise.
4832         (TEST_VECTOR_powf): Likewise.
4833         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
4834         Likewise.
4835         (TEST_VECTOR_sinf): Likewise.
4836         (TEST_VECTOR_sincosf): Likewise.
4837         (TEST_VECTOR_logf): Likewise.
4838         (TEST_VECTOR_expf): Likewise.
4839         (TEST_VECTOR_powf): Likewise.
4840         * math/gen-libm-have-vector-test.sh: Remove file.
4841         * math/libm-test.inc: Likewise.
4842         * math/libm-test-support-double.c: Likewise.
4843         * math/libm-test-support-float.c: Likewise.
4844         * math/libm-test-support-ldouble.c: Likewise.
4845         * math/test-double-finite.c: Likewise.: Likewise.
4846         * math/test-double.c: Likewise.
4847         * math/test-float-finite.c: Likewise.
4848         * math/test-float.c: Likewise.
4849         * math/test-idouble.c: Likewise.
4850         * math/test-ifloat.c: Likewise.
4851         * math/test-ildouble.c: Likewise.
4852         * math/test-ldouble-finite.c: Likewise.
4853         * math/test-ldouble.c: Likewise.
4854         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4855         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
4856         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4857         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4858         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4859         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4860         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4861         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
4862         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4863         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4865 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4866            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4868         * math/Makefile: Add wrappers to gen-libm-calls.
4869         * math/w_acos_template.c: New file.
4870         * math/w_acosh_template.c: Likewise.
4871         * math/w_asin_template.c: Likewise.
4872         * math/w_atan2_template.c: Likewise.
4873         * math/w_atanh_template.c: Likewise.
4874         * math/w_cosh_template.c: Likewise.
4875         * math/w_exp10_template.c: Likewise.
4876         * math/w_exp2_template.c: Likewise.
4877         * math/w_exp_template.c: Likewise.
4878         * math/w_fmod_template.c: Likewise.
4879         * math/w_hypot_template.c: Likewise.
4880         * math/w_j0_template.c: Likewise.
4881         * math/w_j1_template.c: Likewise.
4882         * math/w_jn_template.c: Likewise.
4883         * math/w_lgamma_r_template.c: Likewise.
4884         * math/w_lgamma_template.c: Likewise.
4885         * math/w_log10_template.c: Likewise.
4886         * math/w_log2_template.c: Likewise.
4887         * math/w_log_template.c: Likewise.
4888         * math/w_pow_template.c: Likewise.
4889         * math/w_remainder_template.c: Likewise.
4890         * math/w_sinh_template.c: Likewise.
4891         * math/w_sqrt_template.c: Likewise.
4892         * math/w_tgamma_template.c: Likewise.: Likewise.
4893         * sysdeps/generic/math-type-macros-double.h
4894         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
4895         the new wrappers.
4896         * sysdeps/generic/math-type-macros-float.h: Likewise.
4897         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4899 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
4901         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
4902         New enum constant and macro.
4904         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4905         kernel version to 4.10.
4907 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
4909         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
4911 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4915 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4917         * sysdeps/powerpc/tst-set_ppr.c: New file.
4918         Implement test cases for __ppc_set_ppr_* functions.
4919         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
4920         in the list of tests.
4922 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4924         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
4925         instead of test-skeleton.c.
4926         (do_test): Replaced pthread_create and pthread_join with
4927         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
4928         Removed unneeded status variable.
4929         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
4930         instead of test-skeleton.c.
4931         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
4933 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
4935         [BZ #20313]
4936         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4937         201605L, for Unicode 9.
4939 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
4941         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
4942         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4943         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4944         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4945         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4946         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4948 2017-02-19  Zack Weinberg  <zackw@panix.com>
4950         * rt/tst-mqueue4.c: Include stdint.h.
4952 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4954         * sysdeps/arm/libm-test-ulps: Update.
4955         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4956         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4957         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4959 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4961         [BZ #21029]
4962         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
4963         * sysdeps/unix/sysv/linux/i386/Makefile
4964         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
4965         (uses-6-syscall-arguments): Remove.
4966         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
4967         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
4968         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
4969         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
4970         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
4971         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
4972         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
4973         [$(subdir) = misc] (cflags-pselect.o): Likewise.
4974         [$(subdir) = misc] (cflags-pselect.os): Likewise.
4975         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
4976         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
4977         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
4978         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
4979         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
4980         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
4981         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
4982         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
4983         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
4984         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
4985         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
4986         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
4987         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
4988         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
4989         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
4990         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
4991         Likewise.
4992         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
4993         Likewise.
4994         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
4995         Likewise.
4996         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
4997         Likewise.
4998         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
4999         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5000         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5001         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5002         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5003         ebp on inline assembly.
5004         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5005         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5006         Set if CAN_USE_REGISTER_ASM_EBP is set.
5008 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5010         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5011         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5013 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5015         * math/auto-libm-test-in: Add tests of catan and catanh.
5016         * math/auto-libm-test-out-catan: New generated file.
5017         * math/auto-libm-test-out-catanh: Likewise.
5018         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5019         Move tests with finite inputs, except divide-by-zero cases, to
5020         auto-libm-test-in.
5021         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5022         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5023         (libm-test-funcs-noauto): Remove catan and catanh.
5024         * sysdeps/i386/fpu/libm-test-ulps: Update.
5025         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5028         * math/auto-libm-test-in: Add tests of casin and casinh.
5029         * math/auto-libm-test-out-casin: New generated file.
5030         * math/auto-libm-test-out-casinh: Likewise.
5031         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5032         Move tests with finite inputs to auto-libm-test-in.
5033         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5034         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5035         (libm-test-funcs-noauto): Remove casin and casinh.
5036         * sysdeps/i386/fpu/libm-test-ulps: Update.
5037         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5040         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5041         * math/auto-libm-test-out-cacos: New generated file.
5042         * math/auto-libm-test-out-cacosh: Likewise.
5043         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5044         Move tests with finite inputs to auto-libm-test-in.
5045         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5046         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5047         (libm-test-funcs-noauto): Remove cacos and cacosh.
5048         * sysdeps/i386/fpu/libm-test-ulps: Update.
5049         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5052         Revert:
5053         2017-02-16  Zack Weinberg  <zackw@panix.com>
5055         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5056         Don't include init-arch.h.
5057         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5058         Don't include init-arch.h.
5060 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5062         [BZ #21171]
5063         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5064         +Inf and raise divide-by-zero when x is negative.
5065         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5066         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5067         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5068         -Inf and raise divide-by-zero when x = +-0.
5069         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5070         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5071         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5072         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5073         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5074         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5075         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5077 2017-02-16  Zack Weinberg  <zackw@panix.com>
5079         * scripts/build-many-glibcs.py (bot_build_mail): If the
5080         bot_config does not contain all of the necessary email-
5081         related settings, just print a warning and continue.
5083 2017-02-16  Zack Weinberg  <zackw@panix.com>
5085         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5086         * dirent/opendir-tst1.c: Include sys/stat.h.
5087         * dirent/tst-fdopendir.c: Include sys/stat.h.
5088         * dirent/tst-fdopendir2.c: Include stdlib.h.
5089         * dirent/tst-scandir.c: Include stdbool.h.
5090         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5091         * elf/tst-tls15.c: Include stdlib.h.
5092         * elf/tst-tls16.c: Include stdlib.h.
5093         * elf/tst-tls17.c: Include stdlib.h.
5094         * elf/tst-tls18.c: Include stdlib.h.
5095         * iconv/tst-iconv6.c: Include endian.h.
5096         * iconvdata/bug-iconv11.c: Include limits.h.
5097         * io/test-utime.c: Include stdint.h.
5098         * io/tst-faccessat.c: Include sys/stat.h.
5099         * io/tst-fchmodat.c: Include sys/stat.h.
5100         * io/tst-fchownat.c: Include sys/stat.h.
5101         * io/tst-fstatat.c: Include sys/stat.h.
5102         * io/tst-futimesat.c: Include sys/stat.h.
5103         * io/tst-linkat.c: Include sys/stat.h.
5104         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5105         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5106         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5107         * io/tst-openat.c: Include stdbool.h.
5108         * io/tst-readlinkat.c: Include sys/stat.h.
5109         * io/tst-renameat.c: Include sys/stat.h.
5110         * io/tst-symlinkat.c: Include sys/stat.h.
5111         * io/tst-unlinkat.c: Include stdbool.h.
5112         * libio/bug-memstream1.c: Include stdlib.h.
5113         * libio/bug-wmemstream1.c: Include stdlib.h.
5114         * libio/tst-fwrite-error.c: Include stdlib.h.
5115         * libio/tst-memstream1.c: Include stdlib.h.
5116         * libio/tst-memstream2.c: Include stdlib.h.
5117         * libio/tst-memstream3.c: Include stdlib.h.
5118         * malloc/tst-interpose-aux.c: Include stdint.h.
5119         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5120         * nptl/tst-basic7.c: Include limits.h.
5121         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5122         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5123         * nptl/tst-cancel4_1.c: Include stddef.h.
5124         * nptl/tst-cancel4_2.c: Include stddef.h.
5125         * nptl/tst-cond16.c: Include limits.h.
5126         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5127         * nptl/tst-cond18.c: Include limits.h.
5128         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5129         * nptl/tst-cond4.c: Include stdint.h.
5130         * nptl/tst-cond6.c: Include stdint.h.
5131         * nptl/tst-stack2.c: Include limits.h.
5132         * nptl/tst-stackguard1.c: Include stddef.h.
5133         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5134         * nptl/tst-tls4moda.c: Include stddef.h.
5135         Don't include stdio.h, unistd.h, or tls.h.
5136         * nptl/tst-tls4modb.c: Include stddef.h.
5137         Don't include stdio.h, unistd.h, or tls.h.
5138         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5139         * posix/tst-getaddrinfo2.c: Include stdio.h.
5140         * posix/tst-getaddrinfo5.c: Include stdio.h.
5141         * posix/tst-pathconf.c: Include sys/stat.h.
5142         * posix/tst-posix_fadvise-common.c: Include stdint.h.
5143         * posix/tst-preadwrite-common.c: Include sys/stat.h.
5144         * posix/tst-regex.c: Include stdint.h.
5145         Don't include spawn.h or spawn_int.h.
5146         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5147         * posix/tst-vfork3.c: Include sys/stat.h.
5148         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5149         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5150         * resolv/tst-resolv-search.c: Include stdlib.h.
5151         * stdio-common/tst-fmemopen2.c: Include stdint.h.
5152         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5153         * stdlib/test-canon.c: Include sys/stat.h.
5154         * stdlib/tst-tls-atexit.c: Include stdbool.h.
5155         * string/test-memchr.c: Include stdint.h.
5156         * string/tst-cmp.c: Include stdint.h.
5157         * sysdeps/pthread/tst-timer.c: Include stdint.h.
5158         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5159         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5160         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5161         Don't include init-arch.h.
5162         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5163         Don't include init-arch.h.
5164         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5165         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5166         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5167         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5168         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5169         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5170         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5171         * time/clocktest.c: Include stdint.h.
5172         * time/tst-posixtz.c: Include stdint.h.
5173         * timezone/tst-timezone.c: Include stdint.h.
5175 2017-02-16  Zack Weinberg  <zackw@panix.com>
5177         * string/string.h [__USE_MISC]: Include strings.h.
5178         (__bzero, bcmp, bcopy, bzero, index, rindex)
5179         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5180         (ffs, ffsl, ffsll): Don't declare.
5181         * string/strings.h: Do not suppress the file if string.h has
5182         already been included.
5183         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5184         annotations.
5185         (index, rindex): Define inline forwarders even if
5186         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5187         (ffs): Use __attribute_const__.
5188         (ffsl, ffsll): Declare here.
5189         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5190         have now been standardized.
5191         * include/string.h (__bzero): Declare here.
5193         * bits/types.h: Move to posix/bits.
5194         * include/bits/types.h: New wrapper.
5196 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5198         * string/bits/string2.h (strcmp): Remove define.
5199         (__strcmp_cg): Likewise.
5200         (strncmp): Likewise.
5202 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5204         * include/string.h: Add __cplusplus check.
5206 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5208         [BZ #21134]
5209         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5210         "divide by zero" exception when the input is zero.
5211         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5212         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5213         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5214         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5215         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5217 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
5219         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5220         and include ...
5221         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
5222         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5223         to, and include ...
5224         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
5225         file.
5226         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5227         and include ...
5228         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
5229         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
5230         and include ...
5231         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
5232         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
5233         and include ...
5234         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
5235         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
5236         and include ...
5237         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
5238         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
5239         to, and include ...
5240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
5241         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
5242         and include ...
5243         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
5245 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
5247         * math/libm-test-support.h: Do not include <math-tests-arch.h>
5248         here.
5249         * math/libm-test-support.c (libm_test_init): Do not call
5250         INIT_ARCH_EXT here.
5251         * math/libm-test-driver.c: Include <math-tests-arch.h>.
5252         (main): Call INIT_ARCH_EXT.
5254 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5256         [BZ #21130]
5257         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
5258         with the "invalid" exception raised when x is -Inf.
5259         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5261 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
5263         * string/bits/string2.h (strchr): Remove define.
5265 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
5267         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
5268         tst-avx512.
5269         (test-extras): Add tst-avx-aux and tst-avx512-aux.
5270         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
5271         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
5272         ($(objpfx)tst-sse): New rule.
5273         ($(objpfx)tst-avx): Likewise.
5274         ($(objpfx)tst-avx512): Likewise.
5275         (CFLAGS-tst-avx-aux.c): New.
5276         (CFLAGS-tst-avxmod.c): Likewise.
5277         (CFLAGS-tst-avx512-aux.c): Likewise.
5278         (CFLAGS-tst-avx512mod.c): Likewise.
5279         * sysdeps/x86_64/tst-avx-aux.c: New file.
5280         * sysdeps/x86_64/tst-avx.c: Likewise.
5281         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
5282         * sysdeps/x86_64/tst-avx512.c: Likewise.
5283         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
5284         * sysdeps/x86_64/tst-avxmod.c: Likewise.
5285         * sysdeps/x86_64/tst-sse.c: Likewise.
5286         * sysdeps/x86_64/tst-ssemod.c: Likewise.
5288 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5290         * math/auto-libm-test-in: Add more tests of csin and csinh.
5291         * math/auto-libm-test-out-csin: Regenerated.
5292         * math/auto-libm-test-out-csinh: Likewise.
5293         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
5294         auto-libm-test-in.
5295         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
5297 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5299         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
5300         libm-compat-calls-auto.
5301         (libm-compat-calls): Likewise.
5302         (libm-compat-calls-auto): Rename to libm-compat-calls and add
5303         w_lgamma_compatF and k_standardF (merged from the items above).
5304         (libm-routines): Use libm-compat-calls, instead of
5305         libm-compat-calls-auto, with type-foreach.
5307 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5309         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
5310         macro.
5311         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
5312         (CFLAGS-test-ifloat.c): ... this.  Remove
5313         -U__LIBC_INTERNAL_MATH_INLINES.
5314         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
5315         (CFLAGS-test-idouble.c): ... this.  Remove
5316         -U__LIBC_INTERNAL_MATH_INLINES.
5317         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
5318         (CFLAGS-test-ildouble.c): ... this.  Remove
5319         -U__LIBC_INTERNAL_MATH_INLINES.
5321 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
5323         * math/libm-test-support.c: New file.  Content from
5324         math/libm-test-driver.c.
5325         * math/libm-test-support.h: Likewise.
5326         * math/libm-test-support-double.c: New file.
5327         * math/libm-test-support-float.c: Likewise.
5328         * math/libm-test-support-ldouble.c: Likewise.
5329         * math/libm-test-driver.c: Remove main comment and header
5330         includes.  Include libm-test-support.h.
5331         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
5332         (flag_test_errno): Remove static.
5333         (flag_test_exceptions): Likewise.
5334         (flag_test_finite): Likewise.
5335         (flag_test_inline): Likewise.
5336         (flag_test_mathvec): Likewise.
5337         (test_msg): Likewise.
5338         (NO_EXCEPTION): Remove.
5339         (INVALID_EXCEPTION): Likewise.
5340         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5341         (OVERFLOW_EXCEPTION): Likewise.
5342         (UNDERFLOW_EXCEPTION): Likewise.
5343         (INEXACT_EXCEPTION): Likewise.
5344         (INVALID_EXCEPTION_OK): Likewise.
5345         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5346         (OVERFLOW_EXCEPTION_OK): Likewise.
5347         (UNDERFLOW_EXCEPTION_OK): Likewise.
5348         (NO_INEXACT_EXCEPTION): Likewise.
5349         (EXCEPTIONS_OK): Likewise.
5350         (IGNORE_ZERO_INF_SIGN): Likewise.
5351         (TEST_NAN_SIGN): Likewise.
5352         (TEST_NAN_PAYLOAD): Likewise.
5353         (NO_TEST_INLINE): Likewise.
5354         (XFAIL_TEST): Likewise.
5355         (ERRNO_UNCHANGED): Likewise.
5356         (ERRNO_EDOM): Likewise.
5357         (ERRNO_ERANGE): Likewise.
5358         (IGNORE_RESULT): Likewise.
5359         (NON_FINITE): Likewise.
5360         (TEST_SNAN): Likewise.
5361         (NO_TEST_MATHVEC): Likewise.
5362         (__CONCATX): Likewise.
5363         (TYPE_MIN): Likewise.
5364         (TYPE_TRUE_MIN): Likewise.
5365         (TYPE_MAX): Likewise.
5366         (MIN_EXP): Likewise.
5367         (MAX_EXP): Likewise.
5368         (MANT_DIG): Likewise.
5369         (FSTR_MAX): Likewise.
5370         (ulp_idx): Likewise.
5371         (qtype_str): Remove static.
5372         (TEST_COND_binary32): Remove.
5373         (TEST_COND_binary64): Likewise.
5374         (TEST_COND_binary128): Likewise.
5375         (TEST_COND_ibm128): Likewise.
5376         (TEST_COND_intel96): Likewise.
5377         (TEST_COND_m68k96): Likewise.
5378         (TEST_COND_ibm128_libgcc): Likewise.
5379         (XFAIL_IBM128_LIBGCC): Likewise.
5380         (PAYLOAD_DIG): Likewise.
5381         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5382         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5383         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5384         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5385         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5386         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5387         (TEST_COND_long32): Likewise.
5388         (TEST_COND_long64): Likewise.
5389         (TEST_COND_before_rounding): Likewise.
5390         (TEST_COND_after_rounding): Likewise.
5391         (ulps_file_name): Likewise.
5392         (ulps_file): Likewise.
5393         (output_ulps): Likewise.
5394         (output_dir): Likewise.
5395         (noErrors): Likewise.
5396         (noTests): Likewise.
5397         (noExcTests): Likewise.
5398         (noErrnoTests): Likewise.
5399         (verbose): Likewise.
5400         (output_max_error): Likewise.
5401         (output_points): Likewise.
5402         (ignore_max_ulp): Likewise.
5403         (max_error): Likewise.
5404         (real_max_error): Likewise.
5405         (imag_max_error): Likewise.
5406         (prev_max_error): Likewise.
5407         (prev_real_max_error): Likewise.
5408         (prev_imag_max_error): Likewise.
5409         (max_valid_error): Likewise.
5410         (TYPE_DECIMAL_DIG): Likewise.
5411         (TYPE_HEX_DIG): Likewise.
5412         (fmt_ftostr): Likewise.
5413         (compare_ulp_data): Likewise.
5414         (find_ulps): Likewise.
5415         (init_max_error): Likewise.
5416         (set_max_error): Likewise.
5417         (print_float): Likewise.
5418         (print_screen): Likewise.
5419         (print_screen_max_error): Likewise.
5420         (update_stats): Likewise.
5421         (print_function_ulps): Likewise.
5422         (print_complex_function_ulps): Likewise.
5423         (fpstack_test): Likewise.
5424         (print_max_error): Likewise.
5425         (print_complex_max_error): Likewise.
5426         (test_single_exception): Likewise.
5427         (test_exceptions): Likewise.
5428         (test_single_errno): Likewise.
5429         (test_errno): Likewise.
5430         (ULPDIFF): Likewise.
5431         (ulp): Likewise.
5432         (check_float_internal): Likewise.
5433         (check_float): Likewise.
5434         (check_complex): Likewise.
5435         (check_int): Likewise.
5436         (check_long): Likewise.
5437         (check_bool): Likewise.
5438         (check_longlong): Likewise.
5439         (check_intmax_t): Likewise.
5440         (check_uintmax_t): Likewise.
5441         (enable_test): Likewise.
5442         (matherr): Likewise.
5443         (initialize): Likewise.
5444         (options): Likewise.
5445         (doc): Remove static.
5446         (argp): Likewise.
5447         (parse_opt): Remove.
5448         (check_ulp): Likewise.
5449         (libm_test_init): Likewise.
5450         (libm_test_finish): Likewise.
5451         * math/Makefile (libm-test-support): New variable.
5452         (test-extras): Add libm-test-support files.
5453         (extra-test-objs): Likewise.
5454         (CFLAGS-libm-test-support-float.c): New variable.
5455         (CFLAGS-libm-test-support-double.c): Likewise.
5456         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5457         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
5458         libm-test-support objects.
5460 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5462         * math/Makefile (libm-calls): Move w_exp...
5463         (libm-compat-calls-auto): Here.
5465         * math/w_expl.c: Add suffix "_compat" to filename.
5466         * sysdeps/ia64/fpu/w_expl.c: Likewise.
5467         * sysdeps/ia64/fpu/w_expf.c: Likewise.
5468         * sysdeps/ia64/fpu/w_exp.c: Likewise.
5469         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5470         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5471         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5472         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5473         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5475         * math/w_expl_compat.c: New file, copied from above.
5476         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
5477         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
5478         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
5479         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5480         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5481         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5482         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5483         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5485         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
5486         to filename.
5487         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
5489         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
5490         copied from above and adjusted for the new filenames.
5491         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5493 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5495         * math/Makefile (libm-calls): Move w_lgammaF...
5496         (libm-compat-calls-auto): Here.
5498         * math/w_lgamma.c: Add suffix "_compat2" to filename.
5499         * math/w_lgammaf.c: Likewise.
5500         * math/w_lgammal.c: Likewise.
5502         * math/w_lgamma_compat2.c: New file, copied from above.
5503         * math/w_lgammaf_compat2.c: Likewise.
5504         * math/w_lgammal_compat2.c: Likewise.
5506 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5508         * math/Makefile (libm-calls): Move w_lgammaF_r...
5509         (libm-compat-calls-auto): Here.
5511         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
5512         * math/w_lgammaf_r.c: Likewise.
5513         * math/w_lgammal_r.c: Likewise.
5514         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
5515         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
5516         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
5518         * math/w_lgamma_r_compat.c: New file, copied from above.
5519         * math/w_lgammaf_r_compat.c: Likewise.
5520         * math/w_lgammal_r_compat.c: Likewise.
5521         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
5522         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
5523         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
5525         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
5526         to filename.
5527         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
5529         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
5530         copied from above and adjusted for the new filenames.
5531         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5533 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
5535         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
5536         calculation in SYSCALL_ERROR_HANDLER().
5538 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
5540         * manual/contrib.texi: Fix typo.
5542 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5544         [BZ #21109]
5545         * elf/dl-tunable-types.h (tunable_callback_t): Accept
5546         tunable_val_t as argument.
5547         * elf/dl-tunables.c (__tunable_set_val): Add comment.
5548         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
5549         argument.
5550         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
5552 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
5554         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
5555         Add PTRACE_EVENT_STOP.
5556         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5557         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5558         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5559         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5560         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5561         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5563 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
5565         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5566         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5567         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5568         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5569         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5570         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5571         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5572         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5573         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5574         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5576         [BZ #21112]
5577         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5578         12 bits zero.
5579         (cp_l): Update for new value of cp_h.
5580         * math/auto-libm-test-in: Add another test of pow.
5581         * math/auto-libm-test-out-pow: Regenerated.
5583 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5585         * manual/contrib.texi: Fix typo.
5587 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5589         [BZ #15998]
5590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5591         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5594 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5596         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5597         STRCHR as __strchr_power8.
5598         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5599         strlen as __strlen_power8.
5601 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5603         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5604         unaligned load for shorter strings.
5605         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5607 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5609         * math/libm-test-driver.c (flag_test_errno): New variable.
5610         (flag_test_exceptions): Likewise.
5611         (flag_test_finite): Likewise.
5612         (flag_test_inline): Likewise.
5613         (flag_test_mathvec): Likewise.
5614         (test_msg): Likewise.
5615         (ulp_idx): Likewise.
5616         (qtype_str): Likewise.
5617         (ULP_IDX): Remove macro.
5618         (QTYPE_STR): Likewise.
5619         (find_ulps): Use ulp_idx not ULP_IDX.
5620         (print_function_ulps): Use qtype_str, printed with %s, not
5621         QTYPE_STR, printed with concatentation to format string.
5622         (print_complex_function_ulps): Likewise.
5623         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
5624         (test_errno): Use flag_test_errno not TEST_ERRNO.
5625         (enable_test): Use flag_test_inline, flag_test_finite and
5626         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
5627         TEST_MATHVEC.
5628         (libm_test_init): New function.  Factored out of main.
5629         (libm_test_finish): Likewise.
5630         (main): Call libm_test_init and libm_test_finish and move most
5631         code to those functions.
5633         * math/libm-test-driver.c (STRX): New macro.
5634         (STR): Likewise.
5635         (STR_FLOAT): Likewise.
5636         (STR_VEC_LEN): Likewise.
5637         (TEST_MSG): Likewise.  Define here instead of expecting to be
5638         defined by including file.
5639         * math/test-double-finite.c (TEST_MSG): Remove macro.
5640         * math/test-double-vlen2.h (TEST_MSG): Likewise.
5641         * math/test-double-vlen4.h (TEST_MSG): Likewise.
5642         * math/test-double-vlen8.h (TEST_MSG): Likewise.
5643         * math/test-double.c (TEST_MSG): Likewise.
5644         * math/test-float-finite.c (TEST_MSG): Likewise.
5645         * math/test-float-vlen16.h (TEST_MSG): Likewise.
5646         * math/test-float-vlen4.h (TEST_MSG): Likewise.
5647         * math/test-float-vlen8.h (TEST_MSG): Likewise.
5648         * math/test-float.c (TEST_MSG): Likewise.
5649         * math/test-idouble.c (TEST_MSG): Likewise.
5650         * math/test-ifloat.c (TEST_MSG): Likewise.
5651         * math/test-ildouble.c (TEST_MSG): Likewise.
5652         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
5653         * math/test-ldouble.c (TEST_MSG): Likewise.
5655         * math/libm-test.inc: Move all tests of individual functions to
5656         libm-test-*.inc and #include libm-test-*.c files.
5657         (acos_test_data): Remove.
5658         (acos_test): Likewise.
5659         (acosh_test_data): Likewise.
5660         (acosh_test): Likewise.
5661         (asin_test_data): Likewise.
5662         (asin_test): Likewise.
5663         (asinh_test_data): Likewise.
5664         (asinh_test): Likewise.
5665         (atan_test_data): Likewise.
5666         (atan_test): Likewise.
5667         (atanh_test_data): Likewise.
5668         (atanh_test): Likewise.
5669         (atan2_test_data): Likewise.
5670         (atan2_test): Likewise.
5671         (cabs_test_data): Likewise.
5672         (cabs_test): Likewise.
5673         (cacos_test_data): Likewise.
5674         (cacos_test): Likewise.
5675         (cacosh_test_data): Likewise.
5676         (cacosh_test): Likewise.
5677         (canonicalize_test_data): Likewise.
5678         (canonicalize_test): Likewise.
5679         (carg_test_data): Likewise.
5680         (carg_test): Likewise.
5681         (casin_test_data): Likewise.
5682         (casin_test): Likewise.
5683         (casinh_test_data): Likewise.
5684         (casinh_test): Likewise.
5685         (catan_test_data): Likewise.
5686         (catan_test): Likewise.
5687         (catanh_test_data): Likewise.
5688         (catanh_test): Likewise.
5689         (cbrt_test_data): Likewise.
5690         (cbrt_test): Likewise.
5691         (ccos_test_data): Likewise.
5692         (ccos_test): Likewise.
5693         (ccosh_test_data): Likewise.
5694         (ccosh_test): Likewise.
5695         (ceil_test_data): Likewise.
5696         (ceil_test): Likewise.
5697         (cexp_test_data): Likewise.
5698         (cexp_test): Likewise.
5699         (cimag_test_data): Likewise.
5700         (cimag_test): Likewise.
5701         (clog_test_data): Likewise.
5702         (clog_test): Likewise.
5703         (clog10_test_data): Likewise.
5704         (clog10_test): Likewise.
5705         (conj_test_data): Likewise.
5706         (conj_test): Likewise.
5707         (copysign_test_data): Likewise.
5708         (copysign_test): Likewise.
5709         (cos_test_data): Likewise.
5710         (cos_test): Likewise.
5711         (cosh_test_data): Likewise.
5712         (cosh_test): Likewise.
5713         (cpow_test_data): Likewise.
5714         (cpow_test): Likewise.
5715         (cproj_test_data): Likewise.
5716         (cproj_test): Likewise.
5717         (creal_test_data): Likewise.
5718         (creal_test): Likewise.
5719         (csin_test_data): Likewise.
5720         (csin_test): Likewise.
5721         (csinh_test_data): Likewise.
5722         (csinh_test): Likewise.
5723         (csqrt_test_data): Likewise.
5724         (csqrt_test): Likewise.
5725         (ctan_test_data): Likewise.
5726         (ctan_test): Likewise.
5727         (ctanh_test_data): Likewise.
5728         (ctanh_test): Likewise.
5729         (erf_test_data): Likewise.
5730         (erf_test): Likewise.
5731         (erfc_test_data): Likewise.
5732         (erfc_test): Likewise.
5733         (exp_test_data): Likewise.
5734         (exp_test): Likewise.
5735         (exp10_test_data): Likewise.
5736         (exp10_test): Likewise.
5737         (pow10_test): Likewise.
5738         (exp2_test_data): Likewise.
5739         (exp2_test): Likewise.
5740         (expm1_test_data): Likewise.
5741         (expm1_test): Likewise.
5742         (fabs_test_data): Likewise.
5743         (fabs_test): Likewise.
5744         (fdim_test_data): Likewise.
5745         (fdim_test): Likewise.
5746         (floor_test_data): Likewise.
5747         (floor_test): Likewise.
5748         (fma_test_data): Likewise.
5749         (fma_test): Likewise.
5750         (fmax_test_data): Likewise.
5751         (fmax_test): Likewise.
5752         (fmaxmag_test_data): Likewise.
5753         (fmaxmag_test): Likewise.
5754         (fmin_test_data): Likewise.
5755         (fmin_test): Likewise.
5756         (fminmag_test_data): Likewise.
5757         (fminmag_test): Likewise.
5758         (fmod_test_data): Likewise.
5759         (fmod_test): Likewise.
5760         (fpclassify_test_data): Likewise.
5761         (fpclassify_test): Likewise.
5762         (frexp_test_data): Likewise.
5763         (frexp_test): Likewise.
5764         (fromfp_test_data): Likewise.
5765         (fromfp_test): Likewise.
5766         (fromfpx_test_data): Likewise.
5767         (fromfpx_test): Likewise.
5768         (getpayload_test_data): Likewise.
5769         (getpayload_test): Likewise.
5770         (hypot_test_data): Likewise.
5771         (hypot_test): Likewise.
5772         (ilogb_test_data): Likewise.
5773         (ilogb_test): Likewise.
5774         (iscanonical_test_data): Likewise.
5775         (iscanonical_test): Likewise.
5776         (iseqsig_test_data): Likewise.
5777         (iseqsig_test): Likewise.
5778         (isfinite_test_data): Likewise.
5779         (isfinite_test): Likewise.
5780         (finite_test): Likewise.
5781         (isgreater_test_data): Likewise.
5782         (isgreater_test): Likewise.
5783         (isgreaterequal_test_data): Likewise.
5784         (isgreaterequal_test): Likewise.
5785         (isinf_test_data): Likewise.
5786         (isinf_test): Likewise.
5787         (isless_test_data): Likewise.
5788         (isless_test): Likewise.
5789         (islessequal_test_data): Likewise.
5790         (islessequal_test): Likewise.
5791         (islessgreater_test_data): Likewise.
5792         (islessgreater_test): Likewise.
5793         (isnan_test_data): Likewise.
5794         (isnan_test): Likewise.
5795         (isnormal_test_data): Likewise.
5796         (isnormal_test): Likewise.
5797         (issignaling_test_data): Likewise.
5798         (issignaling_test): Likewise.
5799         (issubnormal_test_data): Likewise.
5800         (issubnormal_test): Likewise.
5801         (isunordered_test_data): Likewise.
5802         (isunordered_test): Likewise.
5803         (iszero_test_data): Likewise.
5804         (iszero_test): Likewise.
5805         (j0_test_data): Likewise.
5806         (j0_test): Likewise.
5807         (j1_test_data): Likewise.
5808         (j1_test): Likewise.
5809         (jn_test_data): Likewise.
5810         (jn_test): Likewise.
5811         (lgamma_test_data): Likewise.
5812         (lgamma_test): Likewise.
5813         (gamma_test): Likewise.
5814         (llogb_test_data): Likewise.
5815         (llogb_test): Likewise.
5816         (lrint_test_data): Likewise.
5817         (lrint_test): Likewise.
5818         (llrint_test_data): Likewise.
5819         (llrint_test): Likewise.
5820         (log_test_data): Likewise.
5821         (log_test): Likewise.
5822         (log10_test_data): Likewise.
5823         (log10_test): Likewise.
5824         (log1p_test_data): Likewise.
5825         (log1p_test): Likewise.
5826         (log2_test_data): Likewise.
5827         (log2_test): Likewise.
5828         (logb_test_data): Likewise.
5829         (logb_test): Likewise.
5830         (lround_test_data): Likewise.
5831         (lround_test): Likewise.
5832         (llround_test_data): Likewise.
5833         (llround_test): Likewise.
5834         (modf_test_data): Likewise.
5835         (modf_test): Likewise.
5836         (nearbyint_test_data): Likewise.
5837         (nearbyint_test): Likewise.
5838         (nextafter_test_data): Likewise.
5839         (nextafter_test): Likewise.
5840         (nextup_test_data): Likewise.
5841         (nextup_test): Likewise.
5842         (nextdown_test_data): Likewise.
5843         (nextdown_test): Likewise.
5844         (nexttoward_test_data): Likewise.
5845         (nexttoward_test): Likewise.
5846         (pow_test_data): Likewise.
5847         (pow_test): Likewise.
5848         (remainder_test_data): Likewise.
5849         (remainder_test): Likewise.
5850         (drem_test): Likewise.
5851         (remquo_test_data): Likewise.
5852         (remquo_test): Likewise.
5853         (rint_test_data): Likewise.
5854         (rint_test): Likewise.
5855         (round_test_data): Likewise.
5856         (round_test): Likewise.
5857         (roundeven_test_data): Likewise.
5858         (roundeven_test): Likewise.
5859         (scalb_test_data): Likewise.
5860         (scalb_test): Likewise.
5861         (scalbn_test_data): Likewise.
5862         (scalbn_test): Likewise.
5863         (ldexp_test): Likewise.
5864         (scalbln_test_data): Likewise.
5865         (scalbln_test): Likewise.
5866         (setpayload_test_data): Likewise.
5867         (setpayload_test): Likewise.
5868         (setpayloadsig_test_data): Likewise.
5869         (setpayloadsig_test): Likewise.
5870         (signbit_test_data): Likewise.
5871         (signbit_test): Likewise.
5872         (sin_test_data): Likewise.
5873         (sin_test): Likewise.
5874         (sincos_test_data): Likewise.
5875         (sincos_test): Likewise.
5876         (sinh_test_data): Likewise.
5877         (sinh_test): Likewise.
5878         (sqrt_test_data): Likewise.
5879         (sqrt_test): Likewise.
5880         (tan_test_data): Likewise.
5881         (tan_test): Likewise.
5882         (tanh_test_data): Likewise.
5883         (tanh_test): Likewise.
5884         (tgamma_test_data): Likewise.
5885         (tgamma_test): Likewise.
5886         (totalorder_test_data): Likewise.
5887         (totalorder_test): Likewise.
5888         (totalordermag_test_data): Likewise.
5889         (totalordermag_test): Likewise.
5890         (trunc_test_data): Likewise.
5891         (trunc_test): Likewise.
5892         (ufromfp_test_data): Likewise.
5893         (ufromfp_test): Likewise.
5894         (ufromfpx_test_data): Likewise.
5895         (ufromfpx_test): Likewise.
5896         (y0_test_data): Likewise.
5897         (y0_test): Likewise.
5898         (y1_test_data): Likewise.
5899         (y1_test): Likewise.
5900         (yn_test_data): Likewise.
5901         (yn_test): Likewise.
5902         (significand_test_data): Likewise.
5903         (significand_test): Likewise.
5904         * math/Makefile (auto-libm-test-out-files): Remove variable.
5905         (libm-test-funcs-noauto): New variable.
5906         (libm-test-funcs-all): Likewise.
5907         (libm-test-c-auto): Likewise.
5908         (libm-test-c-noauto): Likewise.
5909         (libm-tests-generated): Add $(libm-test-c-auto) and
5910         $(libm-test-c-noauto).
5911         (generated): Do not add auto-libm-test-out.
5912         (libm-test-c-auto-obj): New variable.
5913         (libm-test-c-noauto-obj): Likewise.
5914         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
5915         ($(libm-test-c-noauto-obj)): New static pattern rule.
5916         ($(libm-test-c-auto-obj)): Likewise.
5917         (libm-test-incs): New variable.
5918         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
5919         and pass it to gen-libm-have-vector-test.sh.
5920         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
5921         be passed on command line.
5922         * math/libm-test-acos.inc: New file.  Content from
5923         math/libm-test.inc.
5924         * math/libm-test-acosh.inc: Likewise.
5925         * math/libm-test-asin.inc: Likewise.
5926         * math/libm-test-asinh.inc: Likewise.
5927         * math/libm-test-atan.inc: Likewise.
5928         * math/libm-test-atan2.inc: Likewise.
5929         * math/libm-test-atanh.inc: Likewise.
5930         * math/libm-test-cabs.inc: Likewise.
5931         * math/libm-test-cacos.inc: Likewise.
5932         * math/libm-test-cacosh.inc: Likewise.
5933         * math/libm-test-canonicalize.inc: Likewise.
5934         * math/libm-test-carg.inc: Likewise.
5935         * math/libm-test-casin.inc: Likewise.
5936         * math/libm-test-casinh.inc: Likewise.
5937         * math/libm-test-catan.inc: Likewise.
5938         * math/libm-test-catanh.inc: Likewise.
5939         * math/libm-test-cbrt.inc: Likewise.
5940         * math/libm-test-ccos.inc: Likewise.
5941         * math/libm-test-ccosh.inc: Likewise.
5942         * math/libm-test-ceil.inc: Likewise.
5943         * math/libm-test-cexp.inc: Likewise.
5944         * math/libm-test-cimag.inc: Likewise.
5945         * math/libm-test-clog.inc: Likewise.
5946         * math/libm-test-clog10.inc: Likewise.
5947         * math/libm-test-conj.inc: Likewise.
5948         * math/libm-test-copysign.inc: Likewise.
5949         * math/libm-test-cos.inc: Likewise.
5950         * math/libm-test-cosh.inc: Likewise.
5951         * math/libm-test-cpow.inc: Likewise.
5952         * math/libm-test-cproj.inc: Likewise.
5953         * math/libm-test-creal.inc: Likewise.
5954         * math/libm-test-csin.inc: Likewise.
5955         * math/libm-test-csinh.inc: Likewise.
5956         * math/libm-test-csqrt.inc: Likewise.
5957         * math/libm-test-ctan.inc: Likewise.
5958         * math/libm-test-ctanh.inc: Likewise.
5959         * math/libm-test-erf.inc: Likewise.
5960         * math/libm-test-erfc.inc: Likewise.
5961         * math/libm-test-exp.inc: Likewise.
5962         * math/libm-test-exp10.inc: Likewise.
5963         * math/libm-test-exp2.inc: Likewise.
5964         * math/libm-test-expm1.inc: Likewise.
5965         * math/libm-test-fabs.inc: Likewise.
5966         * math/libm-test-fdim.inc: Likewise.
5967         * math/libm-test-floor.inc: Likewise.
5968         * math/libm-test-fma.inc: Likewise.
5969         * math/libm-test-fmax.inc: Likewise.
5970         * math/libm-test-fmaxmag.inc: Likewise.
5971         * math/libm-test-fmin.inc: Likewise.
5972         * math/libm-test-fminmag.inc: Likewise.
5973         * math/libm-test-fmod.inc: Likewise.
5974         * math/libm-test-fpclassify.inc: Likewise.
5975         * math/libm-test-frexp.inc: Likewise.
5976         * math/libm-test-fromfp.inc: Likewise.
5977         * math/libm-test-fromfpx.inc: Likewise.
5978         * math/libm-test-getpayload.inc: Likewise.
5979         * math/libm-test-hypot.inc: Likewise.
5980         * math/libm-test-ilogb.inc: Likewise.
5981         * math/libm-test-iscanonical.inc: Likewise.
5982         * math/libm-test-iseqsig.inc: Likewise.
5983         * math/libm-test-isfinite.inc: Likewise.
5984         * math/libm-test-isgreater.inc: Likewise.
5985         * math/libm-test-isgreaterequal.inc: Likewise.
5986         * math/libm-test-isinf.inc: Likewise.
5987         * math/libm-test-isless.inc: Likewise.
5988         * math/libm-test-islessequal.inc: Likewise.
5989         * math/libm-test-islessgreater.inc: Likewise.
5990         * math/libm-test-isnan.inc: Likewise.
5991         * math/libm-test-isnormal.inc: Likewise.
5992         * math/libm-test-issignaling.inc: Likewise.
5993         * math/libm-test-issubnormal.inc: Likewise.
5994         * math/libm-test-isunordered.inc: Likewise.
5995         * math/libm-test-iszero.inc: Likewise.
5996         * math/libm-test-j0.inc: Likewise.
5997         * math/libm-test-j1.inc: Likewise.
5998         * math/libm-test-jn.inc: Likewise.
5999         * math/libm-test-lgamma.inc: Likewise.
6000         * math/libm-test-llogb.inc: Likewise.
6001         * math/libm-test-llrint.inc: Likewise.
6002         * math/libm-test-llround.inc: Likewise.
6003         * math/libm-test-log.inc: Likewise.
6004         * math/libm-test-log10.inc: Likewise.
6005         * math/libm-test-log1p.inc: Likewise.
6006         * math/libm-test-log2.inc: Likewise.
6007         * math/libm-test-logb.inc: Likewise.
6008         * math/libm-test-lrint.inc: Likewise.
6009         * math/libm-test-lround.inc: Likewise.
6010         * math/libm-test-modf.inc: Likewise.
6011         * math/libm-test-nearbyint.inc: Likewise.
6012         * math/libm-test-nextafter.inc: Likewise.
6013         * math/libm-test-nextdown.inc: Likewise.
6014         * math/libm-test-nexttoward.inc: Likewise.
6015         * math/libm-test-nextup.inc: Likewise.
6016         * math/libm-test-pow.inc: Likewise.
6017         * math/libm-test-remainder.inc: Likewise.
6018         * math/libm-test-remquo.inc: Likewise.
6019         * math/libm-test-rint.inc: Likewise.
6020         * math/libm-test-round.inc: Likewise.
6021         * math/libm-test-roundeven.inc: Likewise.
6022         * math/libm-test-scalb.inc: Likewise.
6023         * math/libm-test-scalbln.inc: Likewise.
6024         * math/libm-test-scalbn.inc: Likewise.
6025         * math/libm-test-setpayload.inc: Likewise.
6026         * math/libm-test-setpayloadsig.inc: Likewise.
6027         * math/libm-test-signbit.inc: Likewise.
6028         * math/libm-test-significand.inc: Likewise.
6029         * math/libm-test-sin.inc: Likewise.
6030         * math/libm-test-sincos.inc: Likewise.
6031         * math/libm-test-sinh.inc: Likewise.
6032         * math/libm-test-sqrt.inc: Likewise.
6033         * math/libm-test-tan.inc: Likewise.
6034         * math/libm-test-tanh.inc: Likewise.
6035         * math/libm-test-tgamma.inc: Likewise.
6036         * math/libm-test-totalorder.inc: Likewise.
6037         * math/libm-test-totalordermag.inc: Likewise.
6038         * math/libm-test-trunc.inc: Likewise.
6039         * math/libm-test-ufromfp.inc: Likewise.
6040         * math/libm-test-ufromfpx.inc: Likewise.
6041         * math/libm-test-y0.inc: Likewise.
6042         * math/libm-test-y1.inc: Likewise.
6043         * math/libm-test-yn.inc: Likewise.
6044         * math/README.libm-test: Update.
6046         * math/gen-auto-libm-tests.c: Update comment about use of program.
6047         (generate_output): Add argument FUNCTION.
6048         (main): Require extra argument.  Pass function name to
6049         generate_output.
6050         * math/Makefile (generated): Add auto-libm-test-out.
6051         (libm-test-funcs-auto): New variable.
6052         (auto-libm-test-out-files): New variable.
6053         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6054         Concatenate those files to form $(objpfx)auto-libm-test-out and
6055         use it as input to gen-libm-test.pl.
6056         * math/README.libm-test: Update.
6057         * math/auto-libm-test-out: Remove.
6058         * math/auto-libm-test-out-acos: New generated file.
6059         * math/auto-libm-test-out-acosh: Likewise.
6060         * math/auto-libm-test-out-asin: Likewise.
6061         * math/auto-libm-test-out-asinh: Likewise.
6062         * math/auto-libm-test-out-atan: Likewise.
6063         * math/auto-libm-test-out-atan2: Likewise.
6064         * math/auto-libm-test-out-atanh: Likewise.
6065         * math/auto-libm-test-out-cabs: Likewise.
6066         * math/auto-libm-test-out-carg: Likewise.
6067         * math/auto-libm-test-out-cbrt: Likewise.
6068         * math/auto-libm-test-out-ccos: Likewise.
6069         * math/auto-libm-test-out-ccosh: Likewise.
6070         * math/auto-libm-test-out-cexp: Likewise.
6071         * math/auto-libm-test-out-clog: Likewise.
6072         * math/auto-libm-test-out-clog10: Likewise.
6073         * math/auto-libm-test-out-cos: Likewise.
6074         * math/auto-libm-test-out-cosh: Likewise.
6075         * math/auto-libm-test-out-cpow: Likewise.
6076         * math/auto-libm-test-out-csin: Likewise.
6077         * math/auto-libm-test-out-csinh: Likewise.
6078         * math/auto-libm-test-out-csqrt: Likewise.
6079         * math/auto-libm-test-out-ctan: Likewise.
6080         * math/auto-libm-test-out-ctanh: Likewise.
6081         * math/auto-libm-test-out-erf: Likewise.
6082         * math/auto-libm-test-out-erfc: Likewise.
6083         * math/auto-libm-test-out-exp: Likewise.
6084         * math/auto-libm-test-out-exp10: Likewise.
6085         * math/auto-libm-test-out-exp2: Likewise.
6086         * math/auto-libm-test-out-expm1: Likewise.
6087         * math/auto-libm-test-out-fma: Likewise.
6088         * math/auto-libm-test-out-hypot: Likewise.
6089         * math/auto-libm-test-out-j0: Likewise.
6090         * math/auto-libm-test-out-j1: Likewise.
6091         * math/auto-libm-test-out-jn: Likewise.
6092         * math/auto-libm-test-out-lgamma: Likewise.
6093         * math/auto-libm-test-out-log: Likewise.
6094         * math/auto-libm-test-out-log10: Likewise.
6095         * math/auto-libm-test-out-log1p: Likewise.
6096         * math/auto-libm-test-out-log2: Likewise.
6097         * math/auto-libm-test-out-pow: Likewise.
6098         * math/auto-libm-test-out-sin: Likewise.
6099         * math/auto-libm-test-out-sincos: Likewise.
6100         * math/auto-libm-test-out-sinh: Likewise.
6101         * math/auto-libm-test-out-sqrt: Likewise.
6102         * math/auto-libm-test-out-tan: Likewise.
6103         * math/auto-libm-test-out-tanh: Likewise.
6104         * math/auto-libm-test-out-tgamma: Likewise.
6105         * math/auto-libm-test-out-y0: Likewise.
6106         * math/auto-libm-test-out-y1: Likewise.
6107         * math/auto-libm-test-out-yn: Likewise.
6109         * math/Makefile (generated): Do not include libm-test.stmp.
6110         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6111         on $(objpfx)libm-test.stmp.
6112         ($(objpfx)libm-test.stmp): Remove rule.
6113         ($(objpfx)libm-test-ulps.h): New rule.
6114         ($(objpfx)libm-test.c): Likewise.
6115         ($(objpfx)libm-have-vector-test.h): Likewise.
6116         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6117         individual generated files, not libm-test.stmp.
6119         * math/gen-libm-test.pl ($output_dir): Remove variable.
6120         ($srcdir): Likewise.
6121         ($opt_a): New variable.
6122         ($opt_c): Likewise.
6123         ($opt_C): Likewise.
6124         ($opt_H): Likewise.
6125         (-n): Make option take argument and use it as NewUlps output.
6126         (-a): New option.  Use its argument for auto-libm-test-out input.
6127         (-c): New option.  Use its argument for libm-test.inc input.
6128         (-C): New option.  Use its argument for libm-test.c output.
6129         (-H): New option.  Use its argument for libm-test-ulps.h output.
6130         (top level): Only process inputs needed to generate outputs
6131         specified by command-line options.  Only generate outputs
6132         specified by command-line options.
6133         * math/README.libm-test: Update example gen-libm-test.pl command.
6134         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6135         commands.
6136         (regen-ulps): Likewise.
6138 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
6140         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6141         * include/string.h (index): Remove define.
6142         (rindex): Likewise.
6143         * misc/getttyent.c (__getttyent): Rename index to strchr.
6144         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6145         * sunrpc/rpc_main.c (mkfile_output): Likewise.
6147 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6149         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
6150         * math/libm-test.inc: Move all contents, other than tests of
6151         individual functions, to libm-test-driver.c.
6152         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6153         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6154         [!FE_UPWARD] (FE_UPWARD): Likewise.
6155         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6156         (NO_EXCEPTION): Likewise.
6157         (INVALID_EXCEPTION): Likewise.
6158         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6159         (OVERFLOW_EXCEPTION): Likewise.
6160         (UNDERFLOW_EXCEPTION): Likewise.
6161         (INEXACT_EXCEPTION): Likewise.
6162         (INVALID_EXCEPTION_OK): Likewise.
6163         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6164         (OVERFLOW_EXCEPTION_OK): Likewise.
6165         (UNDERFLOW_EXCEPTION_OK): Likewise.
6166         (NO_INEXACT_EXCEPTION): Likewise.
6167         (EXCEPTIONS_OK): Likewise.
6168         (IGNORE_ZERO_INF_SIGN): Likewise.
6169         (TEST_NAN_SIGN): Likewise.
6170         (TEST_NAN_PAYLOAD): Likewise.
6171         (NO_TEST_INLINE): Likewise.
6172         (XFAIL_TEST): Likewise.
6173         (ERRNO_UNCHANGED): Likewise.
6174         (ERRNO_EDOM): Likewise.
6175         (ERRNO_ERANGE): Likewise.
6176         (IGNORE_RESULT): Likewise.
6177         (NON_FINITE): Likewise.
6178         (TEST_SNAN): Likewise.
6179         (NO_TEST_MATHVEC): Likewise.
6180         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6181         (__CONCATX): Likewise.
6182         (TYPE_MIN): Likewise.
6183         (TYPE_TRUE_MIN): Likewise.
6184         (TYPE_MAX): Likewise.
6185         (MIN_EXP): Likewise.
6186         (MAX_EXP): Likewise.
6187         (MANT_DIG): Likewise.
6188         (FSTR_MAX): Likewise.
6189         (ULP_IDX): Likewise.
6190         (QTYPE_STR): Likewise.
6191         (TEST_COND_binary32): Likewise.
6192         (TEST_COND_binary64): Likewise.
6193         (TEST_COND_binary128): Likewise.
6194         (TEST_COND_ibm128): Likewise.
6195         (TEST_COND_intel96): Likewise.
6196         (TEST_COND_m68k96): Likewise.
6197         (TEST_COND_ibm128_libgcc): Likewise.
6198         (XFAIL_IBM128_LIBGCC): Likewise.
6199         (PAYLOAD_DIG): Likewise.
6200         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6201         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6202         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6203         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6204         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6205         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6206         (TEST_COND_long32): Likewise.
6207         (TEST_COND_long64): Likewise.
6208         (TEST_COND_before_rounding): Likewise.
6209         (TEST_COND_after_rounding): Likewise.
6210         (lit_pi_3_m_4_d): Likewise.
6211         (lit_pi_3_m_4_ln10_m_d): Likewise.
6212         (lit_pi_2_ln10_m_d): Likewise.
6213         (lit_pi_4_ln10_m_d): Likewise.
6214         (lit_pi_ln10_d): Likewise.
6215         (lit_pi_2_d): Likewise.
6216         (lit_pi_4_d): Likewise.
6217         (lit_pi): Likewise.
6218         (lit_e): Likewise.
6219         (ulps_file_name): Likewise.
6220         (ulps_file): Likewise.
6221         (output_ulps): Likewise.
6222         (output_dir): Likewise.
6223         (noErrors): Likewise.
6224         (noTests): Likewise.
6225         (noExcTests): Likewise.
6226         (noErrnoTests): Likewise.
6227         (verbose): Likewise.
6228         (output_max_error): Likewise.
6229         (output_points): Likewise.
6230         (ignore_max_ulp): Likewise.
6231         (plus_zero): Likewise.
6232         (minus_zero): Likewise.
6233         (plus_infty): Likewise.
6234         (minus_infty): Likewise.
6235         (qnan_value_pl): Likewise.
6236         (qnan_value): Likewise.
6237         (snan_value_pl): Likewise.
6238         (snan_value): Likewise.
6239         (max_value): Likewise.
6240         (min_value): Likewise.
6241         (min_subnorm_value): Likewise.
6242         (snan_value_ld): Likewise.
6243         (max_error): Likewise.
6244         (real_max_error): Likewise.
6245         (imag_max_error): Likewise.
6246         (prev_max_error): Likewise.
6247         (prev_real_max_error): Likewise.
6248         (prev_imag_max_error): Likewise.
6249         (max_valid_error): Likewise.
6250         (TYPE_DECIMAL_DIG): Likewise.
6251         (TYPE_HEX_DIG): Likewise.
6252         (fmt_ftostr): Likewise.
6253         (compare_ulp_data): Likewise.
6254         (find_ulps): Likewise.
6255         (init_max_error): Likewise.
6256         (set_max_error): Likewise.
6257         (print_float): Likewise.
6258         (print_screen): Likewise.
6259         (print_screen_max_error): Likewise.
6260         (update_stats): Likewise.
6261         (print_function_ulps): Likewise.
6262         (print_complex_function_ulps): Likewise.
6263         (fpstack_test): Likewise.
6264         (print_max_error): Likewise.
6265         (print_complex_max_error): Likewise.
6266         (test_single_exception): Likewise.
6267         (test_exceptions): Likewise.
6268         (test_single_errno): Likewise.
6269         (test_errno): Likewise.
6270         (ULPDIFF): Likewise.
6271         (ulp): Likewise.
6272         (check_float_internal): Likewise.
6273         (check_float): Likewise.
6274         (check_complex): Likewise.
6275         (check_int): Likewise.
6276         (check_long): Likewise.
6277         (check_bool): Likewise.
6278         (check_longlong): Likewise.
6279         (check_intmax_t): Likewise.
6280         (check_uintmax_t): Likewise.
6281         (enable_test): Likewise.
6282         (struct test_f_f_data): Likewise.
6283         (struct test_ff_f_data): Likewise.
6284         (struct test_fj_f_data): Likewise.
6285         (struct test_fi_f_data): Likewise.
6286         (struct test_fl_f_data): Likewise.
6287         (struct test_if_f_data): Likewise.
6288         (struct test_fff_f_data): Likewise.
6289         (struct test_fiu_M_data): Likewise.
6290         (struct test_fiu_U_data): Likewise.
6291         (struct test_c_f_data): Likewise.
6292         (struct test_f_f1_data): Likewise.
6293         (struct test_fF_f1_data): Likewise.
6294         (struct test_ffI_f1_data): Likewise.
6295         (struct test_c_c_data): Likewise.
6296         (struct test_cc_c_data): Likewise.
6297         (struct test_f_i_data): Likewise.
6298         (struct test_ff_i_data): Likewise.
6299         (struct test_f_l_data): Likewise.
6300         (struct test_f_L_data): Likewise.
6301         (struct test_fFF_11_data): Likewise.
6302         (struct test_Ff_b1_data): Likewise.
6303         (IF_ROUND_INIT_): Likewise.
6304         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6305         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6306         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6307         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6308         (ROUND_RESTORE_): Likewise.
6309         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6310         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6311         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6312         (ROUND_RESTORE_FE_UPWARD): Likewise.
6313         (RM_): Likewise.
6314         (RM_FE_DOWNWARD): Likewise.
6315         (RM_FE_TONEAREST): Likewise.
6316         (RM_FE_TOWARDZERO): Likewise.
6317         (RM_FE_UPWARD): Likewise.
6318         (COMMON_TEST_SETUP): Likewise.
6319         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6320         (COMMON_TEST_CLEANUP): Likewise.
6321         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6322         (RUN_TEST_f_f): Likewise.
6323         (RUN_TEST_LOOP_f_f): Likewise.
6324         (RUN_TEST_fp_f): Likewise.
6325         (RUN_TEST_LOOP_fp_f): Likewise.
6326         (RUN_TEST_2_f): Likewise.
6327         (RUN_TEST_LOOP_2_f): Likewise.
6328         (RUN_TEST_ff_f): Likewise.
6329         (RUN_TEST_LOOP_ff_f): Likewise.
6330         (RUN_TEST_LOOP_fj_f): Likewise.
6331         (RUN_TEST_fi_f): Likewise.
6332         (RUN_TEST_LOOP_fi_f): Likewise.
6333         (RUN_TEST_fl_f): Likewise.
6334         (RUN_TEST_LOOP_fl_f): Likewise.
6335         (RUN_TEST_if_f): Likewise.
6336         (RUN_TEST_LOOP_if_f): Likewise.
6337         (RUN_TEST_fff_f): Likewise.
6338         (RUN_TEST_LOOP_fff_f): Likewise.
6339         (RUN_TEST_fiu_M): Likewise.
6340         (RUN_TEST_LOOP_fiu_M): Likewise.
6341         (RUN_TEST_fiu_U): Likewise.
6342         (RUN_TEST_LOOP_fiu_U): Likewise.
6343         (RUN_TEST_c_f): Likewise.
6344         (RUN_TEST_LOOP_c_f): Likewise.
6345         (RUN_TEST_f_f1): Likewise.
6346         (RUN_TEST_LOOP_f_f1): Likewise.
6347         (RUN_TEST_fF_f1): Likewise.
6348         (RUN_TEST_LOOP_fF_f1): Likewise.
6349         (RUN_TEST_fI_f1): Likewise.
6350         (RUN_TEST_LOOP_fI_f1): Likewise.
6351         (RUN_TEST_ffI_f1_mod8): Likewise.
6352         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
6353         (RUN_TEST_Ff_b1): Likewise.
6354         (RUN_TEST_LOOP_Ff_b1): Likewise.
6355         (RUN_TEST_Ffp_b1): Likewise.
6356         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6357         (RUN_TEST_c_c): Likewise.
6358         (RUN_TEST_LOOP_c_c): Likewise.
6359         (RUN_TEST_cc_c): Likewise.
6360         (RUN_TEST_LOOP_cc_c): Likewise.
6361         (RUN_TEST_f_i): Likewise.
6362         (RUN_TEST_LOOP_f_i): Likewise.
6363         (RUN_TEST_f_i_tg): Likewise.
6364         (RUN_TEST_LOOP_f_i_tg): Likewise.
6365         (RUN_TEST_ff_b): Likewise.
6366         (RUN_TEST_LOOP_ff_b): Likewise.
6367         (RUN_TEST_ff_i_tg): Likewise.
6368         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6369         (RUN_TEST_f_b): Likewise.
6370         (RUN_TEST_LOOP_f_b): Likewise.
6371         (RUN_TEST_f_b_tg): Likewise.
6372         (RUN_TEST_LOOP_f_b_tg): Likewise.
6373         (RUN_TEST_f_l): Likewise.
6374         (RUN_TEST_LOOP_f_l): Likewise.
6375         (RUN_TEST_f_L): Likewise.
6376         (RUN_TEST_LOOP_f_L): Likewise.
6377         (RUN_TEST_fFF_11): Likewise.
6378         (RUN_TEST_LOOP_fFF_11): Likewise.
6379         (VEC_SUFF): Likewise.
6380         (STR_CONCAT): Likewise.
6381         (STR_CON3): Likewise.
6382         (HAVE_VECTOR): Likewise.
6383         (START): Likewise.
6384         (END): Likewise.
6385         (END_COMPLEX): Likewise.
6386         (ALL_RM_TEST): Likewise.
6387         (matherr): Likewise.
6388         (initialize): Likewise.
6389         (options): Likewise.
6390         (doc): Likewise.
6391         (parse_opt): Likewise.
6392         (argp): Likewise.
6393         (check_ulp): Likewise.
6394         (main): Likewise.
6395         (do_test): New function.  Call tests of individual functions
6396         previously called from main.
6398         * math/libm-test.inc: Remove comment listing functions tested and
6399         not tested.
6401 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6403         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
6404         (allocate_stack): Remove COLORING_INCREMENT usage.
6405         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
6406         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
6408 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6410         * manual/libm-err-tab.pl (@all_functions): Change to
6411         %all_functions.  Initialize as empty.
6412         (parse_ulps): Add to %all_functions based on functions found in
6413         ulps files.  Ignore results for non-default rounding modes and
6414         vector functions.
6415         (print_platforms): Use %all_platforms.
6416         * manual/math.texi (Errors in Math Functions): Document omissions
6417         from the table.
6419         * math/Makefile (before-compile): Remove.
6421 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
6423         [BZ #21075]
6424         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
6425         unused assignment.
6426         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6428 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6430         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
6431         Add __glibc_unlikely hint.
6433 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6435         [BZ #16640]
6436         * sysdeps/i386/i686/strtok.S: Remove file.
6437         * sysdeps/i386/i686/strtok_r.S: Likewise.
6438         * sysdeps/i386/strtok.S: Likewise.
6439         * sysdeps/i386/strtok_r.S: Likewise.
6440         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
6441         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
6442         * sysdeps/x86_64/strtok.S: Likewise.
6443         * sysdeps/x86_64/strtok_r.S: Likewise.
6445         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
6446         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6447         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6448         (__ASSUME_FADVISE64_AS_64_64): Define.
6449         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
6450         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
6451         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
6452         __ALIGNMENT_ARG usage.
6453         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
6454         __NR_fadvise64_64 if it is not defined.
6456 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6458         * version.h (RELEASE): Set to "development"
6459         (VERSION): Set to 2.25.90.
6460         * NEWS: Add 2.26 section.
6462         * version.h (RELEASE): Set to "stable"
6463         (VERSION): Set to 2.25.
6464         * include/features.h (__GLIBC_MINOR__): Set to 25.
6466         * manual/contrib.texi: Add more contributors from this release
6467         and past releases.
6469         * NEWS (2.25): Add list of bugs fixed.
6471         * NEWS: Add missing news items.
6473 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6475         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
6476         parent if child exited in that manner.  Print WEXITSTATUS
6477         instead of the raw status.
6478         (do_test_prep): Rename to do_test.
6479         (do_test): Return the result of run_executable_sgid.
6480         (TEST_FUNCTION_ARGV): Adjust.
6482 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
6483             Florian Weimer  <fweimer@redhat.com>
6484             Carlos O'Donell  <carlos@redhat.com>
6486         [BZ #20915]
6487         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
6488         Do not initialize DTV.
6489         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6491 2017-02-03  David S. Miller  <davem@davemloft.net>
6493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
6494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
6496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
6498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
6500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6501         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6502         (libm-sysdep_routines): Update.
6503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
6504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
6505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
6507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6508         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
6509         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
6510         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
6511         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
6512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
6513         Likewise.
6514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
6516         Likewise.
6517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
6519         Likewise.
6520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
6522         Likewise.
6523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6525         (libm-sysdep_routines): Update.
6527 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
6529         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6530         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
6531         against unrelocated shared library.
6532         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6534 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6536         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
6537         * elf/tst-env-setuid-tunables.c
6538         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
6539         GLIBC_TUNABLES is removed in a setgid process.
6541         [BZ #21073]
6542         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
6543         * elf/dl-tunables.c (tunables_strdup): Remove.
6544         (get_next_env): Also return the previous envp.
6545         (parse_tunables): Erase tunables of category
6546         TUNABLES_SECLEVEL_SXID_ERASE.
6547         (maybe_enable_malloc_check): Make MALLOC_CHECK_
6548         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
6549         (__tunables_init)[TUNABLES_FRONTEND ==
6550         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
6551         after parsing.
6552         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
6553         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
6554         * elf/dl-tunables.h (struct _tunable): Change member is_secure
6555         to security_level.
6556         * elf/dl-tunables.list: Add security_level annotations for all
6557         tunables.
6558         * scripts/gen-tunables.awk: Recognize and generate enum values
6559         for security_level.
6560         * elf/tst-env-setuid.c: New test case.
6561         * elf/tst-env-setuid-tunables: new test case.
6562         * elf/Makefile (tests-static): Add them.
6564 2017-02-01  Richard Henderson  <rth@twiddle.net>
6566         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6567         adjusting the byte count.
6569 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6571         * conform/Makefile (linknamespace-libs): Define.
6573         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6574         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6575         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6576         operands.
6578 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6580         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6582 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6584         [BZ #21081]
6585         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6586         (L(stosb)): Add VZEROUPPER before ret.
6588 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6589             Alexey Makhalov <amakhalov@vmware.com>
6590             Florian Weimer <fweimer@redhat.com>
6592         [BZ #20116]
6593         * nptl/pthread_create.c: Document concurrency notes.
6594         Enhance thread creation notes.
6595         (create_thread): Use bool *stopped_start.
6596         (START_THREAD_DEFN): Comment ownership of PD.
6597         (__pthread_create_2_1): Add local bool stopped_start and use
6598         that instead of pd->stopped_start where appropriate.
6599         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6600         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6601         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6602         * nptl/tst-create-detached.c: New file.
6603         * nptl/Makefile (tests): Add tst-create-detached.
6604         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6605         Reference the enhanced thread creation notes.
6606         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6607         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6608         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6609         (__pthread_current_priority): Likewise.
6610         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6611         xpthread_attr_init, xpthread_attr_setdetachstate, and
6612         xpthread_attr_setstacksize.
6613         * support/xpthread_attr_destroy.c: New file.
6614         * support/xpthread_attr_init.c: New file.
6615         * support/xpthread_attr_setdetachstate.c: New file.
6616         * support/xpthread_attr_setstacksize.c: New file.
6617         * support/xthread.h: Define prototypes for xpthread_attr_destroy
6618         xpthread_attr_init, xpthread_attr_setdetachstate, and
6619         xpthread_attr_setstacksize.
6621 2017-01-27  Florian Weimer  <fweimer@redhat.com>
6623         * nptl/Makefile (tests): Add tst-robust-fork.
6624         * nptl/tst-robust-fork.c: New file.
6625         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
6626         xpthread_mutex_consistent, xpthread_mutex_destroy,
6627         xpthread_mutex_init, xpthread_mutexattr_destroy,
6628         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
6629         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
6630         xpthread_mutexattr_settype.
6631         * support/xmmap.c: New file.
6632         * support/xmunmap.c: Likewise.
6633         * support/xpthread_mutex_consistent.c: Likewise.
6634         * support/xpthread_mutex_destroy.c: Likewise.
6635         * support/xpthread_mutex_init.c: Likewise.
6636         * support/xpthread_mutexattr_destroy.c: Likewise.
6637         * support/xpthread_mutexattr_init.c: Likewise.
6638         * support/xpthread_mutexattr_setprotocol.c: Likewise.
6639         * support/xpthread_mutexattr_setpshared.c: Likewise.
6640         * support/xpthread_mutexattr_setrobust.c: Likewise.
6641         * support/xpthread_mutexattr_settype.c: Likewise.
6642         * support/xthread.h (xpthread_mutexattr_destroy)
6643         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
6644         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
6645         (xpthread_mutexattr_settype, xpthread_mutex_init)
6646         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
6647         * support/xunistd.h (xmmap, xmunmap): Likewise.
6649 2017-01-25  Florian Weimer  <fweimer@redhat.com>
6651         * string/Makefile (xtests): Add comment.
6652         (LOCALES): Add en_GB.UTF-8.
6653         (tst-strcoll-overflow.out): Depend on generated locales.
6654         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
6655         (SIZE, TIMEOUT): Update comments.
6656         (do_test): Define as static.  Fail test if setlocale fails.
6657         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
6658         messages.
6659         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
6660         TIMEOUT at 300 seconds should be enough to run this test
6661         successfully.
6663 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
6665         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6666         /* FALLTHRU */ comments.
6668 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
6670         [BZ #21053]
6671         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
6672         constants instead of the old R* ones.
6673         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6674         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
6675         (NGREG): ... to this, to fit in with other architectures.
6676         (gpregset_t): Use new NGREG macro.
6677         [__USE_GNU]: Remove condition; all architectures other than tile
6678         are unconditional.
6679         (R*): Rename to REG_R*.
6681 2017-01-20  DJ Delorie  <dj@redhat.com>
6683         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
6684         (tunable_set_val_if_valid_range_signed) ... this, and ...
6685         (tunable_set_val_if_valid_range_unsigned) ... this.
6686         (tunable_initialize): Call the correct one of the above based on type.
6688 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
6690         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
6691         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6692         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6693         * sysdeps/microblaze/libm-test-ulps: Likewise.
6694         * sysdeps/sh/libm-test-ulps: Likewise.
6696         * math/README.libm-test: Update list of characters for input and
6697         output types.
6699 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6701         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6702         (__lll_unlock_elision): Fix adapt_count decrement.
6704 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
6706         * README.pretty-printers (Known issues): Warn about printers not
6707         always covering everything.
6708         * nptl/nptl-printers.py (MutexPrinter): Change output.
6709         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
6711 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6713         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
6714         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6715         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
6716         (__lll_lock_elision): Do not test futex before starting a
6717         transaction.  Use __glibc_likely instead of __builtin_expect.
6718         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
6719         (__lll_trylock_elision): Do not test futex before starting a
6720         transaction.  Use __glibc_likely instead of __builtin_expect.
6722 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6724         * po/Makefile (update-translations): New target.
6726 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6728         [BZ #21061]
6729         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
6731 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6733         * elf/dl-tunables (get_next_env): Always advance envp.
6734         * stdlib/tst-empty-env.c: New test case.
6735         * stdlib/Makefile (tests): Use it.
6737 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6739         [BZ #21047]
6740         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
6741         name for instruction.
6742         [!__SOFTFP__] (_FPU_SETCW): Likewise.
6744 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6746         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
6747         for make install.
6749 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6751         * po/bg.po: Merge from Translation Project.
6752         * po/fr.po: Likewise.
6753         * po/ko.po: Likewise.
6754         * po/nl.po: Likewise.
6755         * po/sv.po: Likewise.
6757 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6759         * manual/install.texi (Tools for Compilation): Update GCC version
6760         known to work to build glibc.
6761         * INSTALL: Regenerated.
6763 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6765         [BZ #21006]
6766         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
6768 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
6770         [BZ #21045]
6771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6772         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6773         to __sigprocmask.
6775 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
6777         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
6778         wrap-around.
6779         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
6781         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
6783 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6785         * NEWS: Fix typo.
6787 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6789         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
6790         barriers and comments.
6791         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
6792         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6793         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6795 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6797         [BZ #19402]
6798         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
6799         mutexes.
6801 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6803         [BZ #20985]
6804         * nptl/Makefile: Adapt.
6805         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6806         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6807         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6808         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6809         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
6810         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
6811         lll_robust* functions and adapt.
6812         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6813         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
6814         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6815         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6816         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
6817         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6818         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
6819         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6820         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
6821         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6822         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6823         * nptl/lowlevelrobustlock.c: Remove file.
6824         * nptl/lowlevelrobustlock.sym: Likewise.
6825         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
6826         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
6828 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6830         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6832 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6834         * po/cs.po: Merge translations from the Translation Project.
6835         * po/de.po: Likewise.
6836         * po/pl.po: Likewise.
6837         * po/ru.po: Likewise.
6838         * po/tr.po: Likewise.
6839         * po/uk.po: Likewise.
6840         * po/vi.po: Likewise.
6841         * po/zh_CN.po: Likewise.
6843 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
6845         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
6847         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
6848         object.
6850 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6852         [BZ #16458]
6853         * bits/uintn-identity.h: New file.
6854         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
6855         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
6856         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
6857         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
6858         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
6859         * string/endian.h: Include <bits/uintn-identity.h>.
6860         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
6861         __uint16_identity.
6862         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
6863         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
6864         __uint32_identity.
6865         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
6866         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
6867         __uint64_identity.
6868         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
6869         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
6870         __uint16_identity.
6871         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
6872         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
6873         __uint32_identity.
6874         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
6875         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
6876         __uint64_identity.
6877         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
6878         * string/Makefile (headers): Add bits/uintn-identity.h.
6879         (tests): Add test-endian-types.
6880         * string/test-endian-types.c: New file.
6881         * inet/Makefile (tests): Add test-hnto-types.
6882         * inet/test-hnto-types.c: New file.
6884 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6886         * po/be.po: Update from Translation Project.
6887         * po/bg.po: Likewise.
6888         * po/ca.po: Likewise.
6889         * po/cs.po: Likewise.
6890         * po/da.po: Likewise.
6891         * po/de.po: Likewise.
6892         * po/el.po: Likewise.
6893         * po/eo.po: Likewise.
6894         * po/es.po: Likewise.
6895         * po/fi.po: Likewise.
6896         * po/fr.po: Likewise.
6897         * po/gl.po: Likewise.
6898         * po/hr.po: Likewise.
6899         * po/hu.po: Likewise.
6900         * po/ia.po: Likewise.
6901         * po/id.po: Likewise.
6902         * po/it.po: Likewise.
6903         * po/ja.po: Likewise.
6904         * po/ko.po: Likewise.
6905         * po/lt.po: Likewise.
6906         * po/nb.po: Likewise.
6907         * po/nl.po: Likewise.
6908         * po/pl.po: Likewise.
6909         * po/pt_BR.po: Likewise.
6910         * po/ru.po: Likewise.
6911         * po/rw.po: Likewise.
6912         * po/sk.po: Likewise.
6913         * po/sl.po: Likewise.
6914         * po/sv.po: Likewise.
6915         * po/tr.po: Likewise.
6916         * po/uk.po: Likewise.
6917         * po/vi.po: Likewise.
6918         * po/zh_CN.po: Likewise.
6919         * po/zh_TW.po: Likewise.
6921 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6923         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
6924         -Wformat-truncation instead of -Wformat-length.
6925         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
6926         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
6927         GCC 7.
6928         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
6929         (do_test): Ignore -Wformat-truncation for GCC 7.
6931         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
6932         buffer used to print long int value.
6934         * elf/sotruss-lib.c (init): Increase space allocated for pid by
6935         one byte.  Print it with %ld, cast to long int.
6937 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6939         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
6940         (re.fullmatch, subprocess.run): Likewise.
6942 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6944         * po/libc.pot: Regenerate.
6946 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6948         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
6949         (min_strlen): Likewise.
6950         (disable_tunable): Likewise.
6951         (maybe_disable_malloc_check): Rename to
6952         maybe_enable_malloc_check.
6953         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
6954         if /etc/suid-debug file exists.
6955         (__tunables_init): Update caller.
6956         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
6957         secure.
6959 2016-01-10  Torvald Riegel  <triegel@redhat.com>
6961         * nptl/DESIGN-rwlock.txt: Remove.
6962         * nptl/lowlevelrwlock.sym: Remove.
6963         * nptl/Makefile: Add new tests.
6964         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
6965         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
6966         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
6967         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
6968         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
6969         PTHREAD_RWLOCK_FUTEX_USED): New.
6970         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
6971         implementation.
6972         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
6973         (__pthread_rwlock_rdlock): Adapt.
6974         * nptl/pthread_rwlock_timedrdlock.c
6975         (pthread_rwlock_timedrdlock): Adapt.
6976         * nptl/pthread_rwlock_timedwrlock.c
6977         (pthread_rwlock_timedwrlock): Adapt.
6978         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
6979         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
6980         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
6981         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
6982         (__pthread_rwlock_wrlock): Adapt.
6983         * nptl/tst-rwlock10.c: Adapt.
6984         * nptl/tst-rwlock11.c: Adapt.
6985         * nptl/tst-rwlock17.c: New file.
6986         * nptl/tst-rwlock18.c: New file.
6987         * nptl/tst-rwlock19.c: New file.
6988         * nptl/tst-rwlock2b.c: New file.
6989         * nptl/tst-rwlock8.c: Adapt.
6990         * nptl/tst-rwlock9.c: Adapt.
6991         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6992         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6993         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6994         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6995         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6996         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6997         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6998         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6999         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7000         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7001         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7002         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7003         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7004         (pthread_rwlock_t): Adapt.
7005         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7006         (pthread_rwlock_t): Adapt.
7007         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7008         * nptl/nptl-printers.py (): Adapt.
7009         * nptl/nptl_lock_constants.pysym: Adapt.
7010         * nptl/test-rwlock-printers.py: Adapt.
7011         * nptl/test-rwlockattr-printers.c: Adapt.
7012         * nptl/test-rwlockattr-printers.py: Adapt.
7014 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7016         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7017         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7018         (fma_test_data): Likewise.
7019         (hypot_test_data): Likewise.
7020         (log1p_test_data): Likewise.
7021         (modf_test_data): Likewise.
7022         (pow_test_data): Likewise.
7023         (remainder_test_data): Likewise.
7024         (remquo_test_data): Likewise.
7025         (scalb_test_data): Likewise.
7026         (scalbn_test_data): Likewise.
7027         (scalbln_test_data): Likewise.
7028         * math/gen-libm-test.pl (parse_args): Transform
7029         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7030         on the rounding mode.
7032 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7034         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7035         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7036         and those that can underflow to zero.
7037         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7038         add others.
7039         * math/auto-libm-test-out: Regenerated.
7041         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7042         supported.
7043         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7044         modes support if not supported.
7046         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7047         Add libc.so PLT entry.
7048         (__tls_get_addr): Make ld.so PLT entry optional.
7050 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7052         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7053         * string/bits/string3.h: ... here.
7055 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7057         [BZ #21028]
7058         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7059         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7060         if EXCEPTION_TESTS returns false.
7062 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7064         [BZ #20558]
7065         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7066         strings_fortified.h.
7067         [__USE_MISC] (bzero): Likewise.
7068         [__USE_MISC] (explicit_bzero): Likewise.
7069         * string/strings.h: Include strings_fortified.h.
7070         * string/Makefile (headers): Add strings_fortified.h.
7071         * string/bits/strings_fortified.h: New file.
7072         * include/bits/strings_fortified.h: Likewise.
7074 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7076         * elf/tst-tls13.c (TIMEOUT): Remove.
7077         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7078         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7079         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7080         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7081         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7083         [BZ #21026]
7084         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7085         (readahead): New syscall entry.
7087 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7089         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7090         around tests of strncat with large sizes.
7092         * malloc/tst-malloc.c: Include <libc-internal.h>.
7093         (do_test): Disable -Walloc-size-larger-than= around tests of
7094         malloc with negative sizes.
7095         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7096         (do_test): Disable -Walloc-size-larger-than= around tests of
7097         malloc and realloc with negative sizes.
7098         * malloc/tst-realloc.c: Include <libc-internal.h>.
7099         (do_test): Disable -Walloc-size-larger-than= around tests of
7100         realloc with negative sizes.
7102         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7103         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7104         allowed to 16 ulps.
7105         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7106         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7107         * math/auto-libm-test-out: Regenerated.
7109 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7111         * math/Makefile (libm-calls): Move wrappers...
7112         (libm-compat-call-auto): Here.
7113         (libm-routines): Add items in libm-compat-calls-auto.
7114         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7115         the filenames of the wrappers that have been renamed.
7116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7119         * math/w_acos.c: Add _compat suffix to filename.
7120         * math/w_acosf.c: Likewise.
7121         * math/w_acosh.c: Likewise.
7122         * math/w_acoshf.c: Likewise.
7123         * math/w_acoshl.c: Likewise.
7124         * math/w_acosl.c: Likewise.
7125         * math/w_asin.c: Likewise.
7126         * math/w_asinf.c: Likewise.
7127         * math/w_asinl.c: Likewise.
7128         * math/w_atan2.c: Likewise.
7129         * math/w_atan2f.c: Likewise.
7130         * math/w_atan2l.c: Likewise.
7131         * math/w_atanh.c: Likewise.
7132         * math/w_atanhf.c: Likewise.
7133         * math/w_atanhl.c: Likewise.
7134         * math/w_cosh.c: Likewise.
7135         * math/w_coshf.c: Likewise.
7136         * math/w_coshl.c: Likewise.
7137         * math/w_exp10.c: Likewise.
7138         * math/w_exp10f.c: Likewise.
7139         * math/w_exp10l.c: Likewise.
7140         * math/w_exp2.c: Likewise.
7141         * math/w_exp2f.c: Likewise.
7142         * math/w_exp2l.c: Likewise.
7143         * math/w_fmod.c: Likewise.
7144         * math/w_fmodf.c: Likewise.
7145         * math/w_fmodl.c: Likewise.
7146         * math/w_hypot.c: Likewise.
7147         * math/w_hypotf.c: Likewise.
7148         * math/w_hypotl.c: Likewise.
7149         * math/w_j0.c: Likewise.
7150         * math/w_j0f.c: Likewise.
7151         * math/w_j0l.c: Likewise.
7152         * math/w_j1.c: Likewise.
7153         * math/w_j1f.c: Likewise.
7154         * math/w_j1l.c: Likewise.
7155         * math/w_jn.c: Likewise.
7156         * math/w_jnf.c: Likewise.
7157         * math/w_jnl.c: Likewise.
7158         * math/w_log10.c: Likewise.
7159         * math/w_log10f.c: Likewise.
7160         * math/w_log10l.c: Likewise.
7161         * math/w_log2.c: Likewise.
7162         * math/w_log2f.c: Likewise.
7163         * math/w_log2l.c: Likewise.
7164         * math/w_log.c: Likewise.
7165         * math/w_logf.c: Likewise.
7166         * math/w_logl.c: Likewise.
7167         * math/w_pow.c: Likewise.
7168         * math/w_powf.c: Likewise.
7169         * math/w_powl.c: Likewise.
7170         * math/w_remainder.c: Likewise.
7171         * math/w_remainderf.c: Likewise.
7172         * math/w_remainderl.c: Likewise.
7173         * math/w_scalb.c: Likewise.
7174         * math/w_scalbf.c: Likewise.
7175         * math/w_scalbl.c: Likewise.
7176         * math/w_sinh.c: Likewise.
7177         * math/w_sinhf.c: Likewise.
7178         * math/w_sinhl.c: Likewise.
7179         * math/w_sqrt.c: Likewise.
7180         * math/w_sqrtf.c: Likewise.
7181         * math/w_sqrtl.c: Likewise.
7182         * math/w_tgamma.c: Likewise.
7183         * math/w_tgammaf.c: Likewise.
7184         * math/w_tgammal.c: Likewise.
7186         * math/w_acos_compat.c: New file copied from above and
7187         adjusted for new #includes path
7188         * math/w_acosf_compat.c: Likewise.
7189         * math/w_acosh_compat.c: Likewise.
7190         * math/w_acoshf_compat.c: Likewise.
7191         * math/w_acoshl_compat.c: Likewise.
7192         * math/w_acosl_compat.c: Likewise.
7193         * math/w_asin_compat.c: Likewise.
7194         * math/w_asinf_compat.c: Likewise.
7195         * math/w_asinl_compat.c: Likewise.
7196         * math/w_atan2_compat.c: Likewise.
7197         * math/w_atan2f_compat.c: Likewise.
7198         * math/w_atan2l_compat.c: Likewise.
7199         * math/w_atanh_compat.c: Likewise.
7200         * math/w_atanhf_compat.c: Likewise.
7201         * math/w_atanhl_compat.c: Likewise.
7202         * math/w_cosh_compat.c: Likewise.
7203         * math/w_coshf_compat.c: Likewise.
7204         * math/w_coshl_compat.c: Likewise.
7205         * math/w_exp10_compat.c: Likewise.
7206         * math/w_exp10f_compat.c: Likewise.
7207         * math/w_exp10l_compat.c: Likewise.
7208         * math/w_exp2_compat.c: Likewise.
7209         * math/w_exp2f_compat.c: Likewise.
7210         * math/w_exp2l_compat.c: Likewise.
7211         * math/w_fmod_compat.c: Likewise.
7212         * math/w_fmodf_compat.c: Likewise.
7213         * math/w_fmodl_compat.c: Likewise.
7214         * math/w_hypot_compat.c: Likewise.
7215         * math/w_hypotf_compat.c: Likewise.
7216         * math/w_hypotl_compat.c: Likewise.
7217         * math/w_j0_compat.c: Likewise.
7218         * math/w_j0f_compat.c: Likewise.
7219         * math/w_j0l_compat.c: Likewise.
7220         * math/w_j1_compat.c: Likewise.
7221         * math/w_j1f_compat.c: Likewise.
7222         * math/w_j1l_compat.c: Likewise.
7223         * math/w_jn_compat.c: Likewise.
7224         * math/w_jnf_compat.c: Likewise.
7225         * math/w_jnl_compat.c: Likewise.
7226         * math/w_log10_compat.c: Likewise.
7227         * math/w_log10f_compat.c: Likewise.
7228         * math/w_log10l_compat.c: Likewise.
7229         * math/w_log2_compat.c: Likewise.
7230         * math/w_log2f_compat.c: Likewise.
7231         * math/w_log2l_compat.c: Likewise.
7232         * math/w_log_compat.c: Likewise.
7233         * math/w_logf_compat.c: Likewise.
7234         * math/w_logl_compat.c: Likewise.
7235         * math/w_pow_compat.c: Likewise.
7236         * math/w_powf_compat.c: Likewise.
7237         * math/w_powl_compat.c: Likewise.
7238         * math/w_remainder_compat.c: Likewise.
7239         * math/w_remainderf_compat.c: Likewise.
7240         * math/w_remainderl_compat.c: Likewise.
7241         * math/w_scalb_compat.c: Likewise.
7242         * math/w_scalbf_compat.c: Likewise.
7243         * math/w_scalbl_compat.c: Likewise.
7244         * math/w_sinh_compat.c: Likewise.
7245         * math/w_sinhf_compat.c: Likewise.
7246         * math/w_sinhl_compat.c: Likewise.
7247         * math/w_sqrt_compat.c: Likewise.
7248         * math/w_sqrtf_compat.c: Likewise.
7249         * math/w_sqrtl_compat.c: Likewise.
7250         * math/w_tgamma_compat.c: Likewise.
7251         * math/w_tgammaf_compat.c: Likewise.
7252         * math/w_tgammal_compat.c: Likewise.
7254         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
7255         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7256         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7257         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7258         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7259         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7260         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7261         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7262         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7263         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
7264         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
7265         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
7266         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7267         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7268         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7269         * sysdeps/ia64/fpu/w_powl.c: Likewise.
7270         * sysdeps/ia64/fpu/w_powf.c: Likewise.
7271         * sysdeps/ia64/fpu/w_pow.c: Likewise.
7272         * sysdeps/ia64/fpu/w_logl.c: Likewise.
7273         * sysdeps/ia64/fpu/w_logf.c: Likewise.
7274         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7275         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7276         * sysdeps/ia64/fpu/w_log2.c: Likewise.
7277         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7278         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7279         * sysdeps/ia64/fpu/w_log10.c: Likewise.
7280         * sysdeps/ia64/fpu/w_log.c: Likewise.
7281         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7282         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7283         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7284         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7285         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7286         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7287         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7288         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7289         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7290         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7291         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7292         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7293         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7294         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7295         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7296         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7297         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7298         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7299         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7300         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7301         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7302         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7303         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7304         * sysdeps/ia64/fpu/w_asin.c: Likewise.
7305         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7306         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7307         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7308         * sysdeps/ia64/fpu/w_acos.c: Likewise.
7309         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7310         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7311         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7312         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
7313         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
7314         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
7315         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
7316         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
7317         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
7318         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
7319         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
7320         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
7321         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
7322         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
7323         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
7324         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
7325         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
7326         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
7327         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
7328         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
7329         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
7330         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
7331         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
7332         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
7333         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
7334         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
7335         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
7336         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
7337         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
7338         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
7339         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
7340         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
7341         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
7342         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
7343         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
7344         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
7345         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
7346         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
7347         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
7348         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
7349         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
7350         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
7351         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
7352         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
7353         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
7354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
7355         Likewise.
7356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
7357         Likewise.
7358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
7359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
7360         Likewise.
7361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
7362         Likewise.
7363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
7364         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7365         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7366         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7367         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7368         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7369         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
7371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
7373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7374         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7375         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7376         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7377         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7379         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
7380         and adjusted for new #includes path
7381         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
7382         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
7383         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
7384         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
7385         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
7386         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
7387         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
7388         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
7389         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
7390         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
7391         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
7392         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
7393         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
7394         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
7395         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
7396         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
7397         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
7398         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
7399         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
7400         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
7401         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
7402         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
7403         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
7404         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
7405         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
7406         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
7407         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
7408         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
7409         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
7410         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
7411         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
7412         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
7413         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
7414         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
7415         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
7416         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
7417         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
7418         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
7419         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
7420         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
7421         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
7422         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
7423         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
7424         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
7425         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
7426         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
7427         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
7428         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
7429         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
7430         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
7431         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
7432         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
7433         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
7434         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
7435         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
7436         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
7437         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
7438         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
7439         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
7440         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7441         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7442         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
7443         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7444         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
7445         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7446         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
7447         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7448         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
7449         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7450         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
7451         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
7452         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
7453         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7454         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
7455         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7456         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
7457         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7458         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
7459         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7460         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
7461         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7462         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
7463         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7464         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
7465         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7466         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
7467         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7468         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
7469         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7470         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
7471         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7472         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
7473         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
7474         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
7475         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7476         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
7477         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7478         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
7479         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7481         Likewise.
7482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7483         Likewise.
7484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7485         Likewise.
7486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7487         Likewise.
7488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7489         Likewise.
7490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7491         Likewise.
7492         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7493         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7494         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7495         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7496         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
7497         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7499         Likewise.
7500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
7501         Likewise.
7502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7503         Likewise.
7504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
7505         Likewise.
7506         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
7507         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7508         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7509         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7511 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7513         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
7514         __jmp_buf_internal_tag.
7516         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
7517         preserve NaN payload if [__mips_nan2008].
7518         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
7520         [BZ #21022]
7521         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
7523 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7525         * sysdeps/i386/fpu/libm-test-ulps: Update.
7527 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7529         * sysdeps/ia64/strcat.c: Remove file.
7530         * sysdeps/powerpc/strcat.c: Likewise.
7531         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
7532         C implementation.
7533         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
7534         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
7536 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7537             Steven Munroe  <sjmunroe@us.ibm.com>
7538             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7540         [BZ #20822]
7541         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7542         (__lll_lock_elision): Access adapt_count via C11 atomics.
7543         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7544         (__lll_trylock_elision): Likewise.
7545         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7546         (__lll_unlock_elision):  Update adapt_count variable inside the
7547         critical section using C11 atomics.
7549 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7551         * math/test-fenvinline.c (do_test): Disable tests of raised
7552         exceptions if !EXCEPTION_TESTS (FLOAT).
7554 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7556         [BZ #19390]
7557         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
7558         maximum string size.
7559         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
7560         in pointer addition.
7561         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7562         Likewise.
7564 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7566         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7567         passed to tst-ldconfig-X.sh.
7569 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7571         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7573 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7575         [BZ #21019]
7576         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7577         New syscall entry.
7578         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7579         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7580         lseek.
7582         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7583         power4 glibc for powerpc-linux-gnu.
7585 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7587         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7588         semctl.
7590 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7592         * math/test-nearbyint-except.c: Include <stdbool.h>.
7593         (any_supported): New variable.
7594         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7595         set any_supported.
7596         (do_test): Return 77 if no floating-point type supported
7597         exceptions.
7599         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7600         condition on [__mips_hard_float].
7602 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7604         [BZ #21014]
7605         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7606         in pointer addition.
7607         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7609 2017-01-02  Torvald Riegel  <triegel@redhat.com>
7611         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7612         new condvar.
7614 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7616         * scripts/build-many-glibcs.py (Context.checkout): Default
7617         binutils version to 2.28 branch.
7619 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7621         * support/support_format_netent.c (support_format_netent): Work
7622         around alpha struct netent definition difference.
7624 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7626         * support/xwrite.c (xwrite): Use %td for pointer difference.
7628 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7630         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
7631         have-tunables only.
7632         (tests-static): Add tst-malloc-usable-static-tunables for
7633         have-tunables only.
7635 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
7637         * scripts/config.guess: Update to version 2017-01-01.
7638         * scripts/config.sub: Update to version 2017-01-01.
7640         * NEWS: Update copyright dates.
7641         * catgets/gencat.c (print_version): Likewise.
7642         * csu/version.c (banner): Likewise.
7643         * debug/catchsegv.sh: Likewise.
7644         * debug/pcprofiledump.c (print_version): Likewise.
7645         * debug/xtrace.sh (do_version): Likewise.
7646         * elf/ldconfig.c (print_version): Likewise.
7647         * elf/ldd.bash.in: Likewise.
7648         * elf/pldd.c (print_version): Likewise.
7649         * elf/sotruss.sh: Likewise.
7650         * elf/sprof.c (print_version): Likewise.
7651         * iconv/iconv_prog.c (print_version): Likewise.
7652         * iconv/iconvconfig.c (print_version): Likewise.
7653         * locale/programs/locale.c (print_version): Likewise.
7654         * locale/programs/localedef.c (print_version): Likewise.
7655         * login/programs/pt_chown.c (print_version): Likewise.
7656         * malloc/memusage.sh (do_version): Likewise.
7657         * malloc/memusagestat.c (print_version): Likewise.
7658         * malloc/mtrace.pl: Likewise.
7659         * manual/libc.texinfo: Likewise.
7660         * nptl/version.c (banner): Likewise.
7661         * nscd/nscd.c (print_version): Likewise.
7662         * nss/getent.c (print_version): Likewise.
7663         * nss/makedb.c (print_version): Likewise.
7664         * posix/getconf.c (main): Likewise.
7665         * scripts/test-installation.pl: Likewise.
7666         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7668         * All files with FSF copyright notices: Update copyright dates
7669         using scripts/update-copyrights.
7670         * intl/plural.c: Regenerated.
7671         * locale/programs/charmap-kw.h: Likewise.
7672         * locale/programs/locfile-kw.h: Likewise.
7674 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7676         [BZ #20593]
7677         Update DNS RR type definitions.
7678         * scripts/gen-rrtypes.py: New file.
7679         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
7680         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
7681         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
7682         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
7683         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
7684         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
7685         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
7686         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
7687         ns_t_ta, ns_t_dlv.
7688         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
7689         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
7690         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
7691         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
7692         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
7693         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
7694         Define.
7695         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
7696         entry for ns_t_zxfr.
7698 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7700         [BZ #18784]
7701         CVE-2015-5180
7702         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
7703         T_UNSPEC.  Adjust value.
7704         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
7705         * resolv/res_query.c (__libc_res_nquery): Likewise.
7706         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
7707         QTYPEs.
7708         * resolv/tst-resolv-qtypes.c: New file.
7709         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
7710         (tst-resolv-qtypes): Link against libresolv and libpthread.
7712 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7714         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
7716 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7718         * manual/tunables.texi: New chapter.
7719         * manual/Makefile (chapters): Add it.
7720         * manual/probes.texi (@node): Point to the Tunables chapter.
7722         * Makeconfig (have-tunables): Check for non-negative instead
7723         of positive.
7724         * configure.ac: Add 'valstring' as a valid value for
7725         --enable-tunables.
7726         * configure: Regenerate.
7727         * elf/Makefile (have-tunables): Check for non-negative instead
7728         of positive.
7729         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
7730         dl-tunables.c.
7731         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
7732         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7733         (tunables_strdup): Likewise.
7734         (disable_tunables): Likewise.
7735         (parse_tunables): Likewise.
7736         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
7737         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7738         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
7739         (TUNABLES_FRONTEND_yes): New macro, define as
7740         TUNABLES_FRONTEND_valstring by default.
7741         * manual/install.texi: Document new acceptable values for
7742         --enable-tunables.
7743         * INSTALL: Regenerate.
7745         * config.make.in (have-loop-to-function): Define.
7746         * elf/Makefile (CFLAGS-dl-tunables.c): Add
7747         -fno-tree-loop-distribute-patterns.
7748         * elf/dl-tunables.c: Include libc-internals.h.
7749         (GLIBC_TUNABLES): New macro.
7750         (tunables_strdup): New function.
7751         (parse_tunables): New function.
7752         (min_strlen): New function.
7753         (__tunables_init): Use the new functions and macro.
7754         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
7755         * malloc/tst-malloc-usable-tunables.c: New test case.
7756         * malloc/tst-malloc-usable-static-tunables.c: New test case.
7757         * malloc/Makefile (tests, tests-static): Add tests.
7759         * manual/install.texi: Add --enable-tunables option.
7760         * INSTALL: Regenerate.
7761         * README.tunables: New file.
7762         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
7763         (before-compile): Generate dl-tunable-list.h early.
7764         * config.h.in: Add HAVE_TUNABLES.
7765         * config.make.in: Add have-tunables.
7766         * configure.ac: Add --enable-tunables option.
7767         * configure: Regenerate.
7768         * csu/init-first.c (__libc_init_first): Move
7769         __libc_init_secure earlier...
7770         * csu/init-first.c (LIBC_START_MAIN):... to here.
7771         Include dl-tunables.h, libc-internal.h.
7772         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
7773         binaries.
7774         * elf/Makefile (dl-routines): Add dl-tunables.
7775         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
7776         namespace.
7777         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
7778         only when !HAVE_TUNABLES.
7779         * elf/rtld.c (process_envvars): Likewise.
7780         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
7781         (_dl_sysdep_start): Call __tunables_init.
7782         * elf/dl-tunable-types.h: New file.
7783         * elf/dl-tunables.c: New file.
7784         * elf/dl-tunables.h: New file.
7785         * elf/dl-tunables.list: New file.
7786         * malloc/tst-malloc-usable-static.c: New test case.
7787         * malloc/Makefile (tests-static): Add it.
7788         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
7789         Define TUNABLE_NAMESPACE.
7790         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
7791         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
7792         callback functions.
7793         (ptmalloc_init): Set tunable values.
7794         * scripts/gen-tunables.awk: New file.
7795         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
7796         (_dl_sysdep_start): Call __tunables_init.
7798 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7800         * resolv/resolv.h (RES_BLAST): Deprecate.
7801         * resolv/res_debug.c (p_option): Remove RES_BLAST.
7802         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
7803         to RES_BLAST.
7805 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7807         [BZ #19582]
7808         Deprecate RES_USE_INET6.
7809         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
7810         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
7811         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
7812         RES_USE_INET6.
7813         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
7814         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
7815         (_nss_nisplus_gethostbyaddr_r): Likewise.
7816         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
7817         of res_use_inet6.
7818         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
7819         instead of RES_USE_INET6.
7820         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
7821         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
7822         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
7823         Likewise.
7824         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
7825         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
7826         Likewise.
7827         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
7828         (_nss_dns_gethostbyname_r): Likewise.
7829         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
7830         alternate RES_USE_INET6 handling.
7831         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
7832         instead of RES_USE_INET6.
7833         * resolv/res_init.c (res_setoptions): Likewise.
7834         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
7835         * resolv/resolv-internal.h: New file.
7836         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
7837         make the deprecation warning non-fatal.
7838         * resolv/README (Using the resolver in multi-threaded code): Drop
7839         reference to RES_USE_INET6.
7840         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
7841         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
7843 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7845         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
7846         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
7847         tst-resolv-search.
7848         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
7849         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
7850         with libresolv and libpthread.
7851         * resolv/tst-bug18665.c: New file.
7852         * resolv/tst-bug18665-tcp: Likewise.
7853         * resolv/tst-res_use_inet6: Likewise.
7854         * resolv/tst-resolv-basic: Likewise.
7855         * resolv/tst-resolv-network: Likewise.
7856         * resolv/tst-resolv-search: Likewise.
7857         * support/Makefile (libsupport-routines): Add check_addrinfo,
7858         check_dns_packet, check_hostent, check_netent, resolv_test,
7859         support_format_address_family, support_format_addrinfo,
7860         support_format_dns_packet, support_format_herrno,
7861         support_format_hostent, support_format_netent, support_run_diff,
7862         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
7863         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
7864         xstrdup, xwrite.
7865         * support/check_addrinfo.c: New file.
7866         * support/check_dns_packet.c: Likewise.
7867         * support/check_hostent.c: Likewise.
7868         * support/check_netent.c: Likewise.
7869         * support/check_nss.h: Likewise.
7870         * support/format_nss.h: Likewise.
7871         * support/resolv_test.c: Likewise.
7872         * support/resolv_test.h: Likewise.
7873         * support/run_diff.h: Likewise.
7874         * support/support_format_address_family.c: Likewise.
7875         * support/support_format_addrinfo.c: Likewise.
7876         * support/support_format_dns_packet.c: Likewise.
7877         * support/support_format_herrno.c: Likewise.
7878         * support/support_format_hostent.c: Likewise.
7879         * support/support_format_netent.c: Likewise.
7880         * support/support_run_diff.c: Likewise.
7881         * support/xaccept.c: Likewise.
7882         * support/xbind.c: Likewise.
7883         * support/xconnect.c: Likewise.
7884         * support/xfclose.c: Likewise.
7885         * support/xfopen.c: Likewise.
7886         * support/xgetsockname.c: Likewise.
7887         * support/xlisten.c: Likewise.
7888         * support/xmemstream.c: Likewise.
7889         * support/xmemstream.h: Likewise.
7890         * support/xpoll.c: Likewise.
7891         * support/xpthread_once.c: Likewise.
7892         * support/xrecvfrom.c: Likewise.
7893         * support/xsendto.c: Likewise.
7894         * support/xsetsockopt.c: Likewise.
7895         * support/xstdio.h: Likewise.
7896         * support/xstrdup.c: Likewise.
7897         * support/support.h (xstrdup): Declare.
7898         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
7899         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
7900         * support/xthread.h (xpthread_once): Likwise.
7901         * support/xunistd.h (xwrite): Declare.
7903 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7905         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
7906         (test_verbose): Declare.
7907         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
7908         * support/support_test_main.c (default_options): Likewise.
7909         (usage, support_test_main): Handle 'v'.
7910         (test_verbose): Define.
7911         * support/tst-support_record_failure.c (do_test): Use
7912         test_verbose.
7913         * support/tst-support_record_failure-2.sh (different_status): Add
7914         --verbose test.
7916 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7918         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
7919         test failures are recorded.
7920         * support/check.c (support_print_failure_impl): Call
7921         support_record_failure.
7922         (support_exit_failure_impl): Call support_record_failure if status
7923         indicates failure.
7924         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
7925         * support/xasprintf.c (xasprintf): Likewise.
7926         * support/xfork.c (xfork): Likewise.
7927         * support/xpthread_check_return.c (xpthread_check_return):
7928         Likewise.
7929         * support/xsocket.c (xsocket): Likeweise.
7930         * support/xwaitpid.c (xwaitpid): Likewise.
7931         * support/support_record_failure.c (struct test_failures): Adjust
7932         to coding style.
7933         * support/support_test_verify_impl.c (support_test_verify_impl):
7934         Adjust error messages.
7935         * support/tst-support_record_failure-2.sh (different_status):
7936         Adjust error messages.
7938 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7940         * support/namespace.h: New file.
7941         * support/support_become_root.c: Likewise.
7942         * support/support_enter_network_namespace.c: Likewise.
7943         * support/tst-support-namespace.c: Likewise.
7944         * support/xsocket.c: Likewise.
7945         * support/xsocket.h: Likewise.
7946         * support/Makefile (libsupport-routines): Add support_become_root,
7947         support_enter_network_namespace, xsocket.
7948         (tests): Add tst-support-namespace.
7950 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7952         [BZ #17252]
7953         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
7954         __USE_GNU.
7956 2016-12-31  Torvald Riegel  <triegel@redhat.com>
7958         [BZ #13165]
7959         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
7960         use new algorithm.
7961         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7962         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7963         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7964         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7965         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
7966         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
7967         __condvar_cleanup_waiting, __condvar_dec_grefs,
7968         __pthread_cond_wait_common): New.
7969         (__condvar_cleanup): Remove.
7970         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
7971         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
7972         Likewise.
7973         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
7974         Likewise.
7975         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
7976         * nptl/tst-cond1.c: Add comment.
7977         * nptl/tst-cond20.c (do_test): Adapt.
7978         * nptl/tst-cond22.c (do_test): Likewise.
7979         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
7980         structure.
7981         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7982         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7983         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7984         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
7985         Likewise.
7986         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7987         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7988         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7989         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7990         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7991         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
7992         Likewise.
7993         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
7994         Likewise.
7995         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7996         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
7997         (COND_CLOCK_BITS): Adapt.
7998         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
7999         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8000         __PTHREAD_COND_SHARED_MASK): New.
8001         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8002         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8003         * nptl/nptl_lock_constants.pysym: Adapt.
8004         * nptl/test-cond-printers.py: Adapt.
8005         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8006         cond_compat_check_and_clear): Adapt.
8007         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8008         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8009         (__pthread_cond_timedwait): ... and move here.
8010         * nptl/DESIGN-condvar.txt: Remove file.
8011         * nptl/lowlevelcond.sym: Likewise.
8012         * nptl/pthread_cond_timedwait.c: Likewise.
8013         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8014         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8015         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8016         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8017         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8019         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8020         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8021         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8022         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8023         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8024         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8025         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8026         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8027         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8028         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8030 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8032         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8033         (fromfp): New declaration.
8034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8037         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8042         * math/math.h: Include <bits/types.h>.
8043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8044         constant and macro.
8045         (FP_INT_DOWNWARD): Likewise.
8046         (FP_INT_TOWARDZERO): Likewise.
8047         (FP_INT_TONEARESTFROMZERO): Likewise.
8048         (FP_INT_TONEAREST): Likewise.
8049         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8050         (fromfpf): Likewise.
8051         (fromfpl): Likewise.
8052         (ufromfp): Likewise.
8053         (ufromfpf): Likewise.
8054         (ufromfpl): Likewise.
8055         (fromfpx): Likewise.
8056         (fromfpxf): Likewise.
8057         (fromfpxl): Likewise.
8058         (ufromfpx): Likewise.
8059         (ufromfpxf): Likewise.
8060         (ufromfpxl): Likewise.
8061         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8062         s_fromfpxF and s_ufromfpxF.
8063         * math/gen-fromfp-tests.py: New file.
8064         * math/gen-fromfp-tests-inputs: Likewise.
8065         * math/libm-test.inc: Include <stdint.h>
8066         (check_intmax_t): New function.
8067         (check_uintmax_t): Likewise.
8068         (struct test_fiu_M_data): New type.
8069         (struct test_fiu_U_data): Likewise.
8070         (RUN_TEST_fiu_M): New macro.
8071         (RUN_TEST_LOOP_fiu_M): Likewise.
8072         (RUN_TEST_fiu_U): Likewise.
8073         (RUN_TEST_LOOP_fiu_U): Likewise.
8074         (fromfp_test_data): New array.
8075         (fromfp_test): New function.
8076         (fromfpx_test_data): New array.
8077         (fromfpx_test): New function.
8078         (ufromfp_test_data): New array.
8079         (ufromfp_test): New function.
8080         (ufromfpx_test_data): New array.
8081         (ufromfpx_test): New function.
8082         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8083         ufromfpx_test.
8084         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8085         characters.
8086         * math/test-tgmath-ret.c: Include <stdint.h>.
8087         (rm): New variable.
8088         (width): Likewise.
8089         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8090         called function.
8091         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8092         CHECK_RET_CONST_TYPE.
8093         (CHECK_RET_CONST_DOUBLE): Likewise.
8094         (CHECK_RET_CONST_LDOUBLE): Likewise.
8095         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8096         macros.
8097         (fromfp): New CHECK_RET_CONST call.
8098         (ufromfp): Likewise.
8099         (fromfpx): Likewise.
8100         (ufromfpx): Likewise.
8101         (do_test): Call check_return_fromfp, check_return_ufromfp,
8102         check_return_fromfpx and check_return_ufromfpx.
8103         * math/test-tgmath.c: Include <stdint.h>
8104         (NCALLS): Increase to 138.
8105         (F(compile_test)): Initialize i.  Call fromfp functions.
8106         (F(fromfp)): New function.
8107         (F(fromfpx)): Likewise.
8108         (F(ufromfp)): Likewise.
8109         (F(ufromfpx)): Likewise.
8110         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8111         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8112         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8113         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8114         ufromfpxl.
8115         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8116         ufromfp and ufromfpx.
8117         * math/fromfp.h: New file.
8118         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8119         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8120         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8121         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8122         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8123         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8124         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8125         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8126         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8127         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8128         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8129         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8130         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8131         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8132         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8133         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8134         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8135         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8136         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8137         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8138         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8139         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8140         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8141         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8142         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8143         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8144         ufromfp, fromfpx and ufromfpx.
8145         (CFLAGS-nldbl-fromfp.c): New variable.
8146         (CFLAGS-nldbl-fromfpx.c): Likewise.
8147         (CFLAGS-nldbl-ufromfp.c): Likewise.
8148         (CFLAGS-nldbl-ufromfpx.c): Likewise.
8149         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8150         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8151         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8152         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8153         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8154         * sysdeps/nacl/libm.abilist: Update.
8155         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8157         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8159         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8160         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8162         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8164         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8165         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8168         Likewise.
8169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8170         Likewise.
8171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8172         Likewise.
8173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8174         Likewise.
8175         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8176         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8177         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8178         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8179         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8181         Likewise.
8182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8183         Likewise.
8184         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8185         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8186         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8188 2016-12-30  Florian Weimer  <fweimer@redhat.com>
8190         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8191         compat-gethnamaddr.
8192         (CPPFLAGS): Remove.
8193         * resolv/gethnamaddr.c: Rename ...
8194         * resolv/compat-gethnamaddr.c: ... to this file.
8195         (_endhtent): Make static.
8196         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
8197         symbol.
8198         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
8199         compat symbol.
8200         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
8201         symbol.
8202         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8203         Turn into compat symbol.
8204         * include/resolv.h (_endhtent): Remove declaration.
8206 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
8208         * bits/types.h (__intmax_t): New typedef.
8209         (__uintmax_t): Likewise.
8210         * sysdeps/generic/stdint.h: Include <bits/types.h>.
8211         (intmax_t): Define using __intmax_t.
8212         (uintmax_t): Define using __uintmax_t.
8214         * support/Makefile (tests-special): Make definition conditional on
8215         [$(run-built-tests) = yes].
8216         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8217         on [$(run-built-tests) = yes].
8219 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8221         * Rules (tests): Add tests-printers-programs to tests to be
8222         built.
8224 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8226         * sysvipc/Makefile (tests): Add test-sysvshm.
8227         * sysvipc/test-sysvshm.c: New file.
8229         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
8230         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
8231         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
8232         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
8233         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
8234         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
8235         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
8236         Likewise.
8237         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
8238         Likewise.
8239         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
8240         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
8241         is defined.
8243         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
8244         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
8245         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
8246         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
8247         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
8248         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
8249         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
8250         Likewise.
8251         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
8252         Likewise.
8253         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
8254         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
8255         defined.
8257         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8258         oldshmctl.
8259         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
8260         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
8261         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
8262         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
8263         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
8264         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
8265         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
8266         Likewise.
8267         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
8268         Likewise.
8269         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
8270         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
8271         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
8272         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
8273         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
8274         implementation.
8275         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
8276         if it is defined.
8278         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
8279         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
8280         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
8281         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
8282         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
8283         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
8284         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
8285         Likewise.
8286         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
8287         Likewise.
8288         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
8289         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
8290         Define to __NR_osf_shmat.
8291         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
8292         defined.
8294         * sysvipc/Makefile (tests): Add test-sysvsem.
8295         * sysvipc/test-sysvsem.c: New file.
8297         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
8298         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
8299         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
8300         Likewise.
8301         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
8302         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
8303         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
8304         Likewise.
8305         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
8306         Likewise.
8307         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
8308         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
8309         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
8310         add a comment about s390 syscall difference from default one.
8311         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
8312         syscall if it is defined.
8314         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
8315         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
8316         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
8317         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
8318         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
8319         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
8320         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
8321         Likewise.
8322         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
8323         Likewise.
8324         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
8325         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
8326         defined.
8328         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
8329         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
8330         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
8331         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
8332         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
8333         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
8334         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
8335         Likewise.
8336         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
8337         Likewise.
8338         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
8339         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
8340         if it is defined.
8342         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8343         oldsemctl.
8344         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
8345         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
8346         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
8347         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
8348         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
8349         implementation.
8350         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
8351         syscall if it is defined.
8352         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
8353         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
8354         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
8355         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
8356         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
8357         Likewise.
8358         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
8360         * sysvipc/Makefile (tests): Add test-sysvmsg.
8361         * sysvipc/test-sysvmsg.c: New file.
8362         * support/check.h (FAIL_UNSUPPORTED): New define.
8364         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
8365         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
8366         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
8367         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
8368         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
8369         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
8370         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
8371         Likewise.
8372         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
8373         Likewise.
8374         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
8375         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
8376         define.
8378         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
8379         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
8380         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
8381         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
8382         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
8383         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
8384         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
8385         Likewise.
8386         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
8387         Likewise.
8388         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
8389         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
8390         if defined.
8392         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
8393         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
8394         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8395         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8396         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8397         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
8398         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8399         Likewise.
8400         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
8401         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
8402         Likewise.
8403         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
8404         if defined.
8405         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
8407         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8408         oldmsgctl.
8409         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
8410         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
8411         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
8412         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
8413         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8414         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8415         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8416         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8417         Likewise.
8418         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
8419         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
8420         implementation.
8421         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
8422         if defined.
8424         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
8425         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
8426         definition and define its own.
8427         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
8428         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
8429         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
8430         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
8431         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
8432         definitions to common header.
8433         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
8434         operation from ipc_ops.h.
8436         * sysdeps/unix/sysv/linux/kernel-features.h
8437         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
8438         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8439         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
8440         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8441         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8442         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8443         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8444         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8445         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8446         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8447         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8448         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8449         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8450         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8451         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8453 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8455         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
8456         overflow in pointer addition.
8458 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8460         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8461         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
8462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8463         (strchr): Add __strchr_power8 to list of strchr functions.
8464         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
8465         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
8466         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
8467         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
8468         (strchr): Add __strchr_power8 to ifunc list.
8469         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
8470         (__strchrnul): Add __strchrnul_power8 to ifunc list.
8471         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
8472         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
8474 2016-12-28  Florian Weimer  <fweimer@redhat.com>
8476         * support/Makefile (libsupport-routines): Add
8477         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
8478         (tests): Add tst-support_record_failure.
8479         (tests-special): tst-support_record_failure-2.
8480         (tst-support_record_failure-2.out): Depend on
8481         tst-support_record_failure-2.sh and tst-support_record_failure.
8482         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
8483         (support_test_verify_impl, support_record_failure)
8484         (support_report_failure, support_report_failure_reset): Declare.
8485         * support/support_test_main.c (adjust_exit_status): New function.
8486         (support_test_main): Call it to incorporate record test failures.
8487         * support/support_test_verify_impl.c: New file.
8488         * support/support_record_failure.c: Likewise.
8489         * support/tst-support_record_failure.c: Likewise.
8490         * support/tst-support_record_failure-2.sh: Likewise.
8491         * support/xunistd.h: Likewise.
8492         * support/xfork.c: Likewise.
8493         * support/xwaitpid.c: Likewise.
8495 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
8497         * scripts/check-c++-types.sh: Add comments.
8499 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
8501         [BZ #19514]
8502         * resolv/res_send.c: Fix typo in comment.
8503         * sysdeps/i386/i386-mcount.S: Likewise.
8504         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8505         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8506         * sysdeps/sparc/sparc-mcount.S: Likewise.
8508 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8510         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
8511         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
8512         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
8513         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
8514         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
8515         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
8516         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
8517         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
8519 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8521         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
8523 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8525         [BZ #17252]
8526         * posix/unistd.h (getentropy): Declare.
8528 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8530         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
8531         Remove.
8532         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
8533         (cmd): Remove spoof, nospoof, spoofalert.
8534         (parse_line): Ignore spoof-related lines.
8535         (do_init): Do not process RESOLV_SPOOF_CHECK.
8537 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8539         [BZ #20964]
8540         sunrpc: Always obtain AF_INET addresses from NSS.
8541         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
8542         * sunrpc/rpc_gethostbyname.c: New file.
8543         * sunrpc/Makefile (routines): Add it.
8544         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
8545         * sunrpc/clnt_simp.c (callrpc): Likewise.
8546         * sunrpc/getrpcport.c (getrpcport): Likewise.
8548 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8550         * sunrpc/rpcinfo.c: Remove.
8551         * sunrpc/Makefile: Remove comments referring to rpcinfo.
8553 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8555         [BZ #19387]
8556         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
8557         addition.
8558         * string/test-memchr.c (do_test): Remove alignment limitation.
8559         (test_main): Add test that trigger BZ #19387.
8561 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8563         [BZ #7065]
8564         Enable stack protectore if requested by ./configure.
8565         * Makeconfig (+stack-protector): New variable.
8566         (+cflags): Use it.
8568 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8570         [BZ #7065]
8571         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8572         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8573         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8574         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8575         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8577 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8579         [BZ #7065]
8580         * login/Makefile (pt_chown-cflags): Remove.
8581         * nscd/Makefile (CFLAGS-nscd): Likewise.
8582         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8584 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8586         [BZ #7065]
8587         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8588         non-libc-linking testcase.
8590 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8591             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8592             Florian Weimer  <fweimer@redhat.com>
8594         [BZ #7065]
8595         PLT avoidance for __stack_chk_fail*.
8596         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8597         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8598         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8599         __stack_chk_fail_local alias.
8600         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8601         (__stack_chk_fail): Turn into hidden reference to
8602         __stack_chk_fail_local.
8604 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8606         [BZ #7065]
8607         * configure.ac: Add check for unsupported stack-protection level.
8608         (libc_cv_predef_stack_protector): Remove.
8609         (no_ssp): New variable.
8610         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8611         (stack_protector): Set to -fno-stack-protector similarly.
8612         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8613         (libc_cv_asm_set_directive): Likewise.
8614         (libc_cv_protected_data): Likewise.
8615         (libc_cv_z_combreloc): Likewise.
8616         (libc_cv_hashstyle): Likewise.
8617         (libc_cv_has_glob_dat): Likewise.
8618         (libc_cv_output_format): Likewise.
8619         (libc_cv_output_format): Likewise.
8620         (libc_cv_ehdr_start): Likewise.
8621         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
8622         (LIBC_LINKER_FEATURE): Likewise.
8623         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
8625 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8627         [BZ #7065]
8628         * elf/Makefile (dummy-stack-chk-fail): New.
8629         (librtld.map): Use it.
8631 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8633         [BZ #7065]
8634         Compile the dynamic linker without stack protection.
8635         * elf/Makefile (elide-stack-protector): New.
8636         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
8637         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
8638         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
8639         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
8641 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8643         [BZ #7065]
8644         * config.make.in (have-ssp, no-stack-protector): New.
8645         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
8646         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
8647         (CFLAGS-sbrk.op): Likewise.
8648         (CFLAGS-brk.o): Likewise.
8649         (CFLAGS-brk.op): Likewise.
8650         * string/Makefile (CFLAGS-memcpy.c): Likewise.
8651         (CFLAGS-wordcopy.c): Likewise.
8653 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8655         [BZ #7065]
8656         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
8657         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
8658         * include/libc-symbols.h (inhibit_stack_protector): New macro.
8659         (__ifunc_resolver): Use it.
8660         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
8661         inhibit_stack_protector.
8662         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
8663         * elf/ifuncmain7.c (foo_ifunc): Likewise.
8664         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
8665         (foo_protected_ifunc): Likewise.
8666         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
8667         (foo_protected_ifunc): Likewise.
8668         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8669         * sysdeps/nacl/nacl_interface_query.c
8670         (nacl_interface_query_ifunc): Likewise.
8671         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8672         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
8673         Likewise.
8674         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
8675         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
8676         the generated vDSO syscall resolver.
8678 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8679             Florian Weimer  <fweimer@redhat.com>
8681         [BZ #7065]
8682         Initialize the stack guard earlier when linking statically.
8683         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
8684         (__pthread_initialize_minimal): Declare.
8685         * csu/libc-start.c (__pthread_initialize_minimal): Remove
8686         declaration.
8687         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
8688         stack canary and apply_irel initialization up.  Call
8689         __pthread_initialize_minimal only if linked in.
8690         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
8691         constant values.
8692         (__pthread_initialize_minimal): Remove.
8693         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
8694         (__pthread_initialize_minimal_internal): Do not call
8695         __libc_setup_tls.
8697 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8699         [BZ #7065]
8700         * configure.ac (libc_cv_ssp): Move up.
8701         (libc_cv_ssp_strong): Likewise.
8702         (libc_cv_ssp_all): New.
8703         (stack_protector): Augment, adding -fstack-protector-all.
8704         (no_stack_protector): New.
8705         (STACK_PROTECTOR_LEVEL): New.
8706         (AC_ARG_ENABLE(stack-protector)): New configure flag.
8707         * manual/install.texi (--enable-stack-protector): Document it.
8708         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
8710 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
8712         * README.pretty-printers: Must specify CPPFLAGS-* also.
8713         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
8714         (CPPFLAGS-test-mutex-printers.c): Define.
8715         (CPPFLAGS-test-condattr-printers.c): Define.
8716         (CPPFLAGS-test-cond-printers.c): Define.
8717         (CPPFLAGS-test-rwlockattr-printers.c): Define.
8718         (CPPFLAGS-test-rwlock-printers.c): Define.
8720         * nss/Makefile [ifeq (yes,$(have-thread-library))]
8721         (tests): Add tst-cancel-getpwuid_r.
8722         * nss/tst-cancel-getpwuid_r.c: New file.
8724         [BZ #11941]
8725         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
8726         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
8727         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
8728         tst-nodelete-dlclose.
8729         (modules-names): Add tst-nodelete-dlclose-dso and
8730         tst-nodelete-dlclose-plugin.
8731         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
8732         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
8733         ($(objpfx)tst-nodelete-dlclose): Define.
8734         ($(objpfx)tst-nodelete-dlclose.out): Define.
8736 2016-12-23  Florian Weimer  <fweimer@redhat.com>
8738         * scripts/test_printers_common.py: Log GDB output in case of
8739         Python detection failure.
8741 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8743         * configure.ac: Check for python3 or python.
8744         * configure: Regenerated.
8745         * config.make.in (PYTHON): New variable.
8746         * benchtests/Makefile: Don't define PYTHON.
8747         (bench): Define target only if PYTHON was defined.
8748         * Rules: Don't define PYTHON.
8749         Define pretty printer targets only if PYTHON was defined.
8750         (tests-printers): Add to tests-unsupported if PYTHON is not
8751         found.
8752         (python-flags, python-invoke): Remove.
8753         (tests-printers-out): Use PYTHON instead of python-invoke.
8755 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8757         [BZ #20978]
8758         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8759         Compare name == NULL, not name != NULL.
8761         * manual/texinfo.tex: Update to version 2016-09-18.18 with
8762         trailing whitespace removed.
8763         * scripts/config.guess: Update to version 2016-10-02.
8764         * scripts/config.sub: Update to version 2016-11-19.
8765         * scripts/install-sh: Update to version 2016-01-11.22.
8766         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
8767         * scripts/move-if-change: Update to version 2016-01-11 22:04.
8769 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
8771         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
8772         (do_one_test) Restore original string so iteration works.
8773         * string/string-inlines.c (do_test): Create better input strings.
8774         (test_main) Reduce number of testruns.
8775         * string/string-inlines.c (__old_strsep_1c): New function.
8776         (__old_strsep_2c): Likewise.
8777         (__old_strsep_3c): Likewise.
8778         * string/strsep.c (__strsep): Remove case of small delim string.
8779         Call strcspn directly rather than strpbrk.
8780         * string/bits/string2.h (__strsep): Remove define.
8781         (__strsep_1c): Remove.
8782         (__strsep_2c): Remove.
8783         (__strsep_3c): Remove.
8784         (strsep): Remove.
8785         * sysdeps/unix/sysv/linux/internal_statvfs.c
8786         (__statvfs_getflags): Rename to __strsep.
8788 2016-12-21  Florian Weimer  <fweimer@redhat.com>
8790         * csu/libc-tls.c (_dl_tls_setup): Remove.
8791         * elf/dl-tls.c (_dl_tls_setup): Likewise.
8792         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
8793         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
8795 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8797         [BZ #7065]
8798         * sysdeps/x86_64/Makefile [$(subdir) = elf]
8799         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
8801 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8802             Florian Weimer  <fweimer@redhat.com>
8804         [BZ #7065]
8805         * csu/Makefile (tests): Empty assignment and document it.
8806         (tests-static): Remove.
8807         * csu/tst-empty.c: Move to...
8808         * misc/tst-empty.c: ... here.  Switch to new test driver.
8809         * csu/tst-atomic.c: Move to...
8810         * misc/tst-atomic.c: ... here.  Switch to new test driver.
8811         * csu/tst-atomic-long.c: Move to...
8812         * misc/tst-atomic-long.c: ... here.
8813         * misc/Makefile (tests): Add tst-empty, tst-atomic,
8814         tst-atomic-long.
8815         (tests-static): Add tst-empty.
8817 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
8819         * manual/nss.texi: Change incorrect @vtable to @table.
8820         * manual/arith.texi: Convert @tables of variables to @vtables
8821         and remove unnecessary indexing.
8822         * manual/filesys.texi: Likewise.
8823         * manual/llio.texi: Likewise.
8824         * manual/memory.texi: Likewise.
8825         * manual/process.texi: Likewise.
8826         * manual/resource.texi: Likewise.
8827         * manual/search.texi: Likewise.
8828         * manual/signal.texi: Likewise.
8829         * manual/socket.texi: Likewise.
8830         * manual/stdio.texi: Likewise.
8831         * manual/sysinfo.texi: Likewise.
8832         * manual/syslog.texi: Likewise.
8833         * manual/terminal.texi: Likewise.
8834         * manual/time.texi: Likewise.
8835         * manual/users.texi: Likewise.
8837 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8839         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8840         (roundeven): New declaration.
8841         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
8842         macro.
8843         * math/Versions (roundeven): New libm symbol at version
8844         GLIBC_2.25.
8845         (roundevenf): Likewise.
8846         (roundevenl): Likewise.
8847         * math/Makefile (libm-calls): Add s_roundevenF.
8848         * math/libm-test.inc (roundeven_test_data): New array.
8849         (roundeven_test): New function.
8850         (main): Call roundeven_test.
8851         * math/test-tgmath.c (NCALLS): Increase to 134.
8852         (F(compile_test)): Call roundeven.
8853         (F(roundeven)): New function.
8854         * manual/arith.texi (Rounding Functions): Document roundeven,
8855         roundevenf and roundevenl.
8856         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
8857         * include/math.h (roundeven): Use libm_hidden_proto.
8858         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
8859         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
8860         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
8861         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
8862         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
8863         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
8864         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8865         roundeven.
8866         (CFLAGS-nldbl-roundeven.c): New variable.
8867         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
8868         * sysdeps/nacl/libm.abilist: Update.
8869         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8870         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8871         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8872         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8873         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8874         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8875         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8876         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8877         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8878         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8879         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8880         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8882         Likewise.
8883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8884         Likewise.
8885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8886         Likewise.
8887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8888         Likewise.
8889         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8890         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8891         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8892         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8893         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8895         Likewise.
8896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8897         Likewise.
8898         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8899         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8900         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8902 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8904         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
8905         preprocessor indentation inside #if.
8907 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8909         * math/libm-test.inc (fmt_ftostr): New function.
8910         (print_float, check_float_internal): Replace some uses of
8911         FTOSTR with uses of fmt_ftostr.
8912         (print_max_error, print_complex_max_error, print_function_ulps)
8913         (print_complex_function_ulps): Remove uses of the macros
8914         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
8915         * math/test-double.h (FTOSTR): Define to strfromd.
8916         (PRINTF_EXPR): Delete.
8917         (PRINTF_XEXPR): Likewise.
8918         (PRINTF_NEXPR): Likewise.
8919         * math/test-float.h (FTOSTR): Define to strfromf.
8920         (PRINTF_EXPR): Delete.
8921         (PRINTF_XEXPR): Likewise.
8922         (PRINTF_NEXPR): Likewise.
8923         * math/test-ldouble.h (FTOSTR): Define to strfroml.
8924         (PRINTF_EXPR): Delete.
8925         (PRINTF_XEXPR): Likewise.
8926         (PRINTF_NEXPR): Likewise.
8928 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8930         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8931         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
8932         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8933         (__lll_lock_elision): Decrement adapt_count while unlocking
8934         instead of before locking.
8935         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8936         (__lll_trylock_elision): Likewise.
8937         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
8938         (__lll_unlock_elision): Likewise.
8940 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8942         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
8943         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
8944         Use __libc_tbegin_retry macro.
8946 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8948         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
8949         Add -msoft-float.
8950         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
8951         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8952         Use __libc_t* transaction macros instead of __builtin_t*.
8953         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8954         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8956 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8958         * sysdeps/unix/sysv/linux/s390/elision-lock.c
8959         (__lll_lock_elision): Use atomics to load / store adapt_count.
8960         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8961         (__lll_trylock_elision): Likewise.
8963 2016-12-20  Florian Weimer  <fweimer@redhat.com>
8965         Do not require memset elimination in explicit_bzero test.
8966         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
8967         (enum test_expectation): Add NO_EXPECTATIONS.
8968         (subtests): NO_EXPECTATIONS for ordinary clear.
8969         (check_test_buffer): Handle NO_EXPECTATIONS.
8970         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
8972 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8974         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8975         (fmaxmag): New declaration.
8976         (fminmag): Likewise.
8977         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
8978         macro.
8979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
8980         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
8981         (fmaxmagf): Likewise.
8982         (fmaxmagl): Likewise.
8983         (fminmag): Likewise.
8984         (fminmagf): Likewise.
8985         (fminmagl): Likewise.
8986         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
8987         * math/s_fmaxmag_template.c: New file.
8988         * math/s_fminmag_template.c: Likewise.
8989         * math/libm-test.inc (fmaxmag_test_data): New array.
8990         (fmaxmag_test): New function.
8991         (fminmag_test_data): New array.
8992         (fminmag_test): New function.
8993         (main): Call fmaxmag_test and fminmag_test.
8994         * math/test-tgmath.c (NCALLS): Increase to 132.
8995         (F(compile_test)): Call fmaxmag and fminmag.
8996         (F(fminmag)): New function.
8997         (F(fmaxmag)): Likewise.
8998         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
8999         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9000         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9001         fminmag.
9002         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9003         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9004         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9005         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9006         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9007         and fminmag.
9008         (CFLAGS-nldbl-fmaxmag.c): New variable.
9009         (CFLAGS-nldbl-fminmag.c): Likewise.
9010         * sysdeps/nacl/libm.abilist: Update.
9011         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9012         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9013         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9014         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9015         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9016         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9017         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9018         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9019         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9020         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9021         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9022         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9024         Likewise.
9025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9026         Likewise.
9027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9028         Likewise.
9029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9030         Likewise.
9031         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9032         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9033         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9034         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9035         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9037         Likewise.
9038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9039         Likewise.
9040         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9041         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9042         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9044 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9046         [BZ #20973]
9047         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9048         wake-up in robust mutexes.
9049         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9051 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9053         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9054         (CFLAGS-bench-fmaxf.c): New rule.
9055         (CFLAGS-bench-fminf.c): Likewise.
9056         * benchtests/fmaxf-inputs: New file.
9057         * benchtests/fminf-inputs: Likewise.
9059         * benchtests/Makefile (bench-math): Add fmin and fmax.
9060         (CFLAGS-bench-fmax.c): New rule.
9061         (CFLAGS-bench-fmin.c): Likewise.
9062         * benchtests/fmax-inputs: New file.
9063         * benchtests/fmin-inputs: Likewise.
9065         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9066         parenthesis.
9067         (CMDLINE_PROCESS): Define using function instead of macro.
9068         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9069         of test-skeleton.
9070         * benchtests/bench-memchr.c: Likewise.
9071         * benchtests/bench-memcmp.c: Likewise.
9072         * benchtests/bench-memcpy-large.c: Likewise.
9073         * benchtests/bench-memcpy.c: Likewise.
9074         * benchtests/bench-memmem.c: Likewise.
9075         * benchtests/bench-memmove-large.c: Likewise.
9076         * benchtests/bench-memmove.c: Likewise.
9077         * benchtests/bench-memset-large.c: Likewise.
9078         * benchtests/bench-memset.c: Likewise.
9079         * benchtests/bench-rawmemchr.c: Likewise.
9080         * benchtests/bench-strcasecmp.c: Likewise.
9081         * benchtests/bench-strcasestr.c: Likewise.
9082         * benchtests/bench-strcat.c: Likewise.
9083         * benchtests/bench-strchr.c: Likewise.
9084         * benchtests/bench-strcmp.c: Likewise.
9085         * benchtests/bench-strcpy.c: Likewise.
9086         * benchtests/bench-strcpy_chk.c: Likewise.
9087         * benchtests/bench-strlen.c: Likewise.
9088         * benchtests/bench-strncasecmp.c: Likewise.
9089         * benchtests/bench-strncmp.c: Likewise.
9090         * benchtests/bench-strncpy.c: Likewise.
9091         * benchtests/bench-strnlen.c: Likewise.
9092         * benchtests/bench-strpbrk.c: Likewise.
9093         * benchtests/bench-strrchr.c: Likewise.
9094         * benchtests/bench-strsep.c: Likewise.
9095         * benchtests/bench-strspn.c: Likewise.
9096         * benchtests/bench-strstr.c: Likewise.
9097         * benchtests/bench-strtok.c: Likewise.
9099 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9101         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9102         stepping identification.
9103         (init_cpu_features): Add handle of Haswell.
9105 2016-11-25  Jim Meyering  <meyering@fb.com>
9107         [BZ #20386]
9108         Let gcc detect assert(a = 1) errors.
9109         * assert/assert.h (assert): Rewrite, retaining the old definintion
9110         when required, but otherwise putting the expression as-is in an "if"
9111         expression (hence, with no added parentheses) within a statement
9112         expression.
9114 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9116         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9117         DSO.
9119 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9121         * Rules (python-flags, python-invoke): New.
9122         ($(test-printers-out)): Use $(python-flags).
9124 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9126         * manual/arith.texi (Math Error Reporting): Document that sNaN
9127         arguments are not considered domain errors.
9129 2016-12-16  Zack Weinberg <zackw@panix.com>
9130             Florian Weimer <fweimer@redhat.com>
9131             Nick Mathewson <nickm@torproject.org>
9133         * string/explicit_bzero.c: New routine.
9134         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9135         * string/Makefile (routines, strop-tests, tests): Add them.
9136         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9137         * string/string.h [__USE_MISC]: Declare explicit_bzero.
9139         * debug/explicit_bzero_chk.c: New routine.
9140         * debug/Makefile (routines): Add it.
9141         * debug/tst-chk1.c: Test fortification of explicit_bzero.
9142         * string/bits/string3.h: Fortify explicit_bzero.
9144         * manual/string.texi: Document explicit_bzero.
9145         * NEWS: Mention addition of explicit_bzero.
9147         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9148         data before returning, using explicit_bzero.
9149         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9150         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9151         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9153         * include/string.h: Redirect internal uses of explicit_bzero
9154         to __explicit_bzero_chk[_internal].
9155         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9156         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9157         * sysdeps/arm/nacl/libc.abilist
9158         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9159         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9160         * sysdeps/unix/sysv/linux/arm/libc.abilist
9161         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9162         * sysdeps/unix/sysv/linux/i386/libc.abilist
9163         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9164         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9165         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9166         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9167         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9168         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9169         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9170         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9171         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9176         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9177         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9178         * sysdeps/unix/sysv/linux/sh/libc.abilist
9179         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9180         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9183         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9184         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9185         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9186         Add entries for explicit_bzero and __explicit_bzero_chk.
9188 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9190         * math/fenv.h
9191         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9192         (FE_SNANS_ALWAYS_SIGNAL): New macro.
9193         * math/test-fe-snans-always-signal.c: New file.
9194         * math/Makefile (tests): Add test-fe-snans-always-signal.
9195         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9196         * manual/arith.texi (Infinity and NaN): Document
9197         FE_SNANS_ALWAYS_SIGNAL.
9199 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9201         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9202         bracket.
9204 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9206         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9207         before calling execv.
9209 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9211         [BZ #20971]
9212         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9213         overflow in pointer addition.
9214         * string/test-memchr.c (do_test): Add an argument to pass as
9215         the size on memchr.
9216         (test_main): Add check for SIZE_MAX.
9218 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9220         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9221         (libm-calls): Add w_scalblnF.
9222         * math/w_scalbln.c: Remove.
9223         * math/w_scalblnf.c: Likewise.
9224         * math/w_scalblnl.c: Likewise.
9225         * math/w_scalbln_template.c: New file with type-generic
9226         implementation based on math/w_scalbln.c.
9227         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9228         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
9230 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9232         [BZ #20947]
9233         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
9234         either is a signaling NaN.
9235         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
9236         follow fmaxl more closely.
9237         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9238         when either is a signaling NaN.
9239         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
9240         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
9241         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
9242         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
9243         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
9244         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
9245         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
9246         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
9247         (fmin_test_data): Likewise.
9249 2016-12-15  Andreas Schwab  <schwab@suse.de>
9251         * support/support_test_main.c (support_test_main): Don't shadow
9252         file-local variable test_pid.
9254 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9256         [BZ #20947]
9257         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
9258         either is a signaling NaN.
9259         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
9261 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9263         [BZ #20947]
9264         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
9265         when either is a signaling NaN.
9266         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
9268         * bits/long-double.h: New file.
9269         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
9270         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
9271         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
9272         * sysdeps/mips/bits/long-double.h: Likewise.
9273         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
9274         * math/Makefile (headers): Add bits/long-double.h.
9275         * misc/sys/cdefs.h: Include <bits/long-double.h>.
9276         * stdlib/strtold.c: Include <bits/long-double.h> instead of
9277         <bits/wordsize.h>.
9278         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
9279         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
9280         * math/math.h: Do not include <bits/mathdef.h>.
9281         * sysdeps/aarch64/bits/mathdef.h: Remove file.
9282         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
9283         inclusion.
9284         * sysdeps/ia64/bits/mathdef.h: Remove file.
9285         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
9286         * sysdeps/mips/bits/mathdef.h: Likewise.
9287         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9288         * sysdeps/s390/bits/mathdef.h: Likewise.
9289         * sysdeps/sparc/bits/mathdef.h: Likewise.
9290         * sysdeps/x86/bits/mathdef.h: Likewise.
9291         * sysdeps/s390/s390-32/bits/wordsize.h
9292         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
9293         conditional code.
9294         * sysdeps/s390/s390-64/bits/wordsize.h
9295         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9296         Likewise.
9297         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
9298         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9299         Likewise.
9300         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
9301         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9302         Likewise.
9303         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9304         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9305         Likewise.
9307         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
9308         <linux/falloc.h>.
9309         (FALLOC_FL_KEEP_SIZE): Remove.
9310         (FALLOC_FL_PUNCH_HOLE): Likewise.
9311         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
9312         (FALLOC_FL_ZERO_RANGE): Likewise.
9314 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9316         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
9318 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9320         * sysdeps/unix/sysv/linux/renameat.c: New file.
9321         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
9323         * sysdeps/unix/sysv/linux/rename.c: New file.
9324         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
9326 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9328         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
9329         * string/strtok.c (strtok): Change to tailcall __strtok_r.
9330         * string/strtok_r.c (__strtok_r): Optimize for performance.
9331         * string/string-inlines.c (__old_strtok_r_1c): New function.
9332         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
9334 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9336         * math/Makefile (gen-libm-calls): Add w_log1pF.
9337         (libm-calls): Remove w_log1pF.
9338         * math/w_log1p.c: Remove.
9339         * math/w_log1pf.c: Likewise.
9340         * math/w_log1pl.c: Likewise.
9341         * math/w_log1p_template.c: New file with type-generic
9342         implementation based on math/w_log1p.c.
9343         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
9344         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
9346 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9348         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
9350 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9352         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9353         kernel version to 4.9.
9355 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
9357         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
9358         ($(inst_libdir)/libm.a): Fix rule to create the target only.
9360 2016-12-13  Andreas Schwab  <schwab@suse.de>
9362         * sysdeps/powerpc/dl-procinfo.c: Don't define
9363         _dl_powerpc_platforms.
9364         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
9365         constants instead of referencing _dl_powerpc_platforms.
9366         (_dl_platform_string): Remove.
9368 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9370         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
9372 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9374         * Rules (binaries-shared-tests, binaries-pie-tests)
9375         (binaries-static-tests): Link with $(link-extra-libs-tests).
9376         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
9377         Remove $(link-extra-libs-tests).
9379 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9381         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9382         (sysdep_routines): Add strncmp_power9.
9383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9384         (strncmp): Add __strncmp_power9 to list of strncmp functions.
9385         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
9386         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9387         (strncmp): Add __strncmp_power9 to ifunc list.
9388         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
9390 2016-12-12  Florian Weimer  <fweimer@redhat.com>
9392         [BZ #17252]
9393         Add getentropy, getrandom.
9394         * stdlib/sys/random.h: New file.
9395         (headers): Add it.
9396         * stdlib/Makefile (routines): Add getentropy, getrandom.
9397         (tests): Add tst-getrandom.
9398         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
9399         * stdlib/getentropy.c: New file.
9400         * stdlib/getrandom.c: Likewise.
9401         * stdlib/tst-getrandom.c: Likewise.
9402         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
9403         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
9404         * manual/crypt.texi (Unpredictable Bytes): New section.
9405         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
9406         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
9407         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9408         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9409         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9410         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9411         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9412         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9413         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9414         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9415         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9419         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9420         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9422         Likewise.
9423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9424         Likewise.
9425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9427         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9428         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9429         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9430         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9431         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9434         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9435         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9436         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9438 2016-12-10  Florian Weimer  <fweimer@redhat.com>
9440         [BZ #20956]
9441         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
9442         as additional compiler barriers.
9443         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
9444         (fn2, do_test): Declare with external linkage.
9445         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
9446         (do_test): Declare with external linkage.
9447         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
9448         (do_test): Declare with external linkage.
9449         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
9450         (do_test): Declare with external linkage.
9452 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
9454         * support/support_test_main.c (support_test_main): Use correct
9455         timeout.
9457 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
9458             Florian Weimer  <fweimer@redhat.com>
9460         [BZ #16421]
9461         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
9462         and __u6_addr32 members.
9463         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
9464         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
9465         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
9466         Use __u6_addr32.
9467         * inet/tst-checks.c: Use <support/test-driver.c>
9468         * inet/tst-checks-posix.c: New file.
9469         * inet/Makefile (tests): Add it.
9470         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
9472 2016-12-09  Florian Weimer  <fweimer@redhat.com>
9474         New subdirectory support for build and test infrastructure.
9475         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
9476         setting install-lib.
9477         * Makeconfig (link-extra-libs-tests): Define.
9478         (+link-pie-tests, +link-static-tests, +link-tests): Use
9479         link-extra-libs-tests.
9480         (rpath-dirs, all-subdirs): Add support.
9481         (built-modules): Add libsupport.
9482         (libsupport): Define.
9483         * support: New directory.
9484         * support/Makefile: New file.
9485         * support/check.c: Likewise.
9486         * support/check.h: Likewise.
9487         * support/delayed_exit.c: Likewise.
9488         * support/ignore_stderr.c: Likewise.
9489         * support/oom_error.c: Likewise.
9490         * support/set_fortify_handler.c: Likewise.
9491         * support/support.h: Likewise.
9492         * support/temp_file-internal.h: Likewise.
9493         * support/temp_file.c: Likewise.
9494         * support/test-driver.c: Likewise.
9495         * support/test-driver.h: Likewise.
9496         * support/test_main.c: Likewise.
9497         * support/write_message.c: Likewise.
9498         * support/xasprintf.c: Likewise.
9499         * support/xcalloc.c: Likewise.
9500         * support/xmalloc.c: Likewise.
9501         * support/xpthread_barrier_destroy.c: Likewise.
9502         * support/xpthread_barrier_init.c: Likewise.
9503         * support/xpthread_barrier_wait.c: Likewise.
9504         * support/xpthread_cancel.c: Likewise.
9505         * support/xpthread_check_return.c: Likewise.
9506         * support/xpthread_cond_wait.c: Likewise.
9507         * support/xpthread_create.c: Likewise.
9508         * support/xpthread_detach.c: Likewise.
9509         * support/xpthread_join.c: Likewise.
9510         * support/xpthread_mutex_lock.c: Likewise.
9511         * support/xpthread_mutex_unlock.c: Likewise.
9512         * support/xpthread_sigmask.c: Likewise.
9513         * support/xpthread_spin_lock.c: Likewise.
9514         * support/xpthread_spin_unlock.c: Likewise.
9515         * support/xrealloc.c: Likewise.
9516         * support/xsignal.h: Likewise.
9517         * support/xthread.h: Likewise.
9518         * support_tempfile.h: Likewise.
9519         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
9520         (TEST_DATA_LIMIT): Remove unused macro.
9521         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
9522         <support/check.h>.
9523         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
9524         (ignore_stderr, set_fortify_handler): Remove.  Now in
9525         <support/support.h>.
9526         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
9527         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
9528         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
9529         (xpthread_join): Remove.  Now in <support/xthread.h>.
9530         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
9531         Introduce legacy wrappers.
9532         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
9533         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
9534         (write_message): Remove.
9535         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
9536         test-skeleton.c.
9537         * io/test-open-tmpfile: Likewise.
9538         * io/tst-posix_fallocate-common.c: Likewise.
9539         * libio/tst-fseek.c: Likewise.
9540         * malloc/tst-malloc-backtrace.c: Likewise.
9541         * malloc/tst-malloc-fork-deadlock.c: Likewise.
9542         * malloc/tst-malloc-thread-exit.c: Likewise.
9543         * nptl/tst-cancel7.c: Likewise.
9544         * nptl/tst-cleanup0.c: Likewise.
9545         * posix/tst-posix_fadvise-common.c: Likewise.
9546         * rt/tst-shm.c: Likewise.
9547         * time/bug-getdate1.c: Likewise.
9548         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9549         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
9550         * elf/Makefile (tst-piemod1.so): Link against libsupport.
9552 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
9554         * Rules [$(run-built-tests) != no] (tests-expected): Add
9555         $(tests-printers).
9556         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
9558 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9560         [BZ #20539]
9561         * math/Makefile (install-lib-ldscripts): Add libm.a.
9562         (install_subdir): Remove.
9563         (install-others): Add.
9564         ($(inst_libdir)/libm.a): Add rule for installation as
9565         linker script.
9566         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9568 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9570         * INSTALL: Regenerated.
9571         * Makeconfig: Add comments and whitespace to make the control flow
9572         clearer.
9573         (+link-printers-tests, +link-pie-printers-tests,
9574         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9575         built-rtld-LDFLAGS, link-libc-rpath,
9576         link-libc-tests-after-rpath-link,
9577         link-libc-printers-tests): New.
9578         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9579         link-libc-tests): Use the new variables as required.
9580         * Makerules ($(py-const)): New rule.
9581         generated: Add $(py-const).
9582         * README.pretty-printers: New file.
9583         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9584         (others): Depend on $(py-const).
9585         (tests): Depend on $(tests-printers-programs) or
9586         $(tests-printers-out),
9587         as required.  Pass $(tests-printers) to merge-test-results.sh.
9588         * manual/install.texi: Add requirements for testing the pretty
9589         printers.
9590         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9591         tests-printers, CFLAGS-test-mutexattr-printers.c
9592         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9593         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9594         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9595         * nptl/nptl-printers.py: New file.
9596         * nptl/nptl_lock_constants.pysym: Likewise.
9597         * nptl/test-cond-printers.c: Likewise.
9598         * nptl/test-cond-printers.py: Likewise.
9599         * nptl/test-condattr-printers.c: Likewise.
9600         * nptl/test-condattr-printers.py: Likewise.
9601         * nptl/test-mutex-printers.c: Likewise.
9602         * nptl/test-mutex-printers.py: Likewise.
9603         * nptl/test-mutexattr-printers.c: Likewise.
9604         * nptl/test-mutexattr-printers.py: Likewise.
9605         * nptl/test-rwlock-printers.c: Likewise.
9606         * nptl/test-rwlock-printers.py: Likewise.
9607         * nptl/test-rwlockattr-printers.c: Likewise.
9608         * nptl/test-rwlockattr-printers.py: Likewise.
9609         * scripts/gen-py-const.awk: Likewise.
9610         * scripts/test_printers_common.py: Likewise.
9611         * scripts/test_printers_exceptions.py: Likewise.
9613 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9615         * scripts/build-many-glibcs.py (Context.__init__): Take strip
9616         argument.
9617         (Glibc.build_glibc): Strip installed shared libraries if
9618         requested.
9619         (get_parser): Add --strip option.
9620         (main): Update Context call.
9622 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9623             Dominik Vogt  <vogt@linux.vnet.ibm.com>
9625         [BZ #20847]
9626         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9627         array bounds for else branch.
9628         (__execvpe): Style fixes.
9629         * posix/tst-vfork3.c (run_script): New function.
9630         (create_script): Likewise.
9631         (do_test): Use run_script internal function.
9632         (do_prepare): Use create_script internal function.
9634 2016-12-07  Andreas Schwab  <schwab@suse.de>
9636         * sysdeps/unix/sysv/linux/x86/elision-conf.h
9637         (__elision_available): Don't declare.
9638         * sysdeps/unix/sysv/linux/x86/elision-conf.c
9639         (__elision_available): Don't define.
9640         (elision_init): Don't set __elision_available.
9642 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9644         [BZ #20940]
9645         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
9646         return Inf for arguments Inf and sNaN.
9647         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
9648         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9649         Likewise.
9650         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9651         Likewise.
9652         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9653         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
9654         for arguments Inf and sNaN.  When returning a NaN, compute it by
9655         arithmetic on the arguments.
9656         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
9657         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
9658         arguments.
9660 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
9662         [BZ #20916]
9663         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
9664         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
9665         to compute result.
9666         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9667         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
9669 2016-12-05  Torvald Riegel  <triegel@redhat.com>
9671         * include/atomic.h (__atomic_check_size_ls): New.
9672         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
9673         atomic_store_release): Use it.
9674         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
9675         (elision_adapt, ELIDE_LOCK): Use atomics.
9676         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
9677         atomics and improve code comments.
9678         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
9679         (__lll_trylock_elision): Likewise.
9681 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9683         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
9684         programs.
9686 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9688         [BZ #20916]
9689         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
9690         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
9691         arguments to compute result.
9692         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
9693         1 for arguments (sNaN, 0) or (1, sNaN).
9694         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9695         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9697         [BZ #20919]
9698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
9699         NaN first argument when raised to power 0.
9700         * math/w_pow.c (__pow): Do not check for NaN or zero results from
9701         raising to power zero.
9702         * math/w_powf.c (__powf): Likewise.
9703         * math/w_powl.c (__powl): Likewise.
9704         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
9705         pow (0, 0) or pow (NaN, 0).
9707 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
9709         [BZ #20918]
9710         * configure.ac: Test for static NSS cryptographic libraries and set
9711         libc_cv_static_nss_crypt.
9712         * configure: Regenerate.
9713         * config.make.in (static-nss-crypt): Define.
9714         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
9715         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
9716         (CFLAGS-tst-linkall-static.c): Define.
9717         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
9718         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
9719         ($(objpfx)tst-linkall-static): Define.
9720         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
9721         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
9723 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9725         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
9726         (one-hundred, tst-tls-many-dynamic-modules): Define.
9727         (modules-names): Add $(tst-tls-many-dynamic-modules).
9728         (tst-tls-manydynamic%mod.os): Build with special preprocessor
9729         macros.
9730         (tst-tls-manydynamic): Link against libdl, libpthread.
9731         (tst-tls-manydynamic.out): The test needs the test modules at run
9732         time.
9733         * elf/tst-tls-manydynamic.c: New file.
9734         * elf/tst-tls-manydynamic.h: Likewise.
9735         * elf/tst-tls-manydynamicmod.c: Likewise.
9737 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9739         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
9740         (TLS_DTV_UNALLOCATED): Add.
9741         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
9742         offsets.
9744 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9746         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9748 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9750         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
9751         Add -fno-optimize-sibling-calls.
9753 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9755         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
9756         New declaration.
9757         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
9758         macro.
9759         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
9760         New macro.
9761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
9762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
9763         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
9764         (llogbf): Likewise.
9765         (llogbl): Likewise.
9766         * math/Makefile (gen-libm-calls): Add w_llogbF.
9767         (tests): Add test-fp-llogb-constants.
9768         * math/w_llogb_template.c: New file.  Based on
9769         math/w_ilogb_template.c.
9770         * math/libm-test.inc (llogb_test_data): New array.
9771         (llogb_test): New function.
9772         (main): Call llogb_test.
9773         * math/test-fp-llogb-constants.c: New file.  Based on
9774         math/test-fp-ilogb-constants.c.
9775         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
9776         (do_test): Call check_return_llogb.
9777         * math/test-tgmath.c (NCALLS): Increase to 126.
9778         (F(compile_test)): Call llogb.
9779         (F(llogb)): New function.
9780         * manual/math.texi (Exponents and Logarithms): Document llogb,
9781         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
9782         * manual/libm-err-tab.pl (@all_functions): Add llogb.
9783         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
9784         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
9785         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
9786         (CFLAGS-nldbl-llogb.c): New variable.
9787         * sysdeps/nacl/libm.abilist: Update.
9788         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9789         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9790         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9791         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9792         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9794         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9795         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9796         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9797         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9798         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9799         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9801         Likewise.
9802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9803         Likewise.
9804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9805         Likewise.
9806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9807         Likewise.
9808         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9809         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9810         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9811         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9812         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9814         Likewise.
9815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9816         Likewise.
9817         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9818         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9819         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9821 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9823         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
9824         _Float128 instead of long double.
9825         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
9827         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
9828         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
9829         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
9830         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9831         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
9832         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
9833         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
9834         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
9835         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
9836         Likewise.
9838 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9840         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
9841         Remove redirection to __strrchr_ppc.
9843 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9845         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9846         (sysdep_routines): Add strcmp_power9.
9847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9848         (strcmp): Add __strcmp_power9 to list of strcmp functions.
9849         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
9850         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9851         (strcmp): Add __strcmp_power9 to ifunc list.
9852         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
9854 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9856         * bits/fp-logb.h: New file.
9857         * sysdeps/ia64/bits/fp-logb.h: Likewise.
9858         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
9859         * sysdeps/x86/bits/fp-logb.h: Likewise.
9860         * math/Makefile (headers): Add bits/fp-logb.h.
9861         * math/math.h: Include <bits/fp-logb.h>.
9862         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
9863         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
9864         * bits/mathdef.h (FP_ILOGB0): Remove.
9865         (FP_ILOGBNAN): Likewise.
9866         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
9867         (FP_ILOGBNAN): Likewise.
9868         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
9869         (FP_ILOGBNAN): Likewise.
9870         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
9871         (FP_ILOGBNAN): Likewise.
9872         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
9873         (FP_ILOGBNAN): Likewise.
9874         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
9875         (FP_ILOGBNAN): Likewise.
9876         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
9877         (FP_ILOGBNAN): Likewise.
9878         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
9879         (FP_ILOGBNAN): Likewise.
9880         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
9881         (FP_ILOGBNAN): Likewise.
9882         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
9883         (FP_ILOGBNAN): Likewise.
9885         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
9886         time module.
9887         (Context.__init__): Initialize self.logsdir_old.
9888         (Context.run_builds): Handle bot action.
9889         (Context.bot_cycle): Copy logs directory before running builds.
9890         (Context.bot_run_self): Take argument for whether to check
9891         subprocess result.  Flush stdout before running subprocess.
9892         (Context.bot): New function.
9893         (get_parser): Allow bot action.
9895 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
9897         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
9898         Import email.mime.text, email.utils and smtplib modules.
9899         (Context.__init__): Initialize self.bot_config_json.
9900         (Context.run_builds): Handle bot-cycle action.
9901         (Context.load_bot_config_json): New function.
9902         (Context.part_build_old): Likewise.
9903         (Context.bot_cycle): Likewise.
9904         (Context.bot_build_mail): Likewise.
9905         (Context.bot_run_self): Likewise.
9906         (get_parser): Allow bot-cycle action.
9908 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9910         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
9911         Remove redirection to __stpcpy_ppc.
9913 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9915         Remove __libc_memalign from ld.so because it is unused.
9916         * elf/dl-minimal.c: Update comment on the malloc implementation.
9917         (malloc): Renamed from __libc_memalign, replacing the original
9918         malloc implementation.  Replace the align parameter with
9919         MALLOC_ALIGNMENT.
9920         * elf/Versions (ld): Update comment and remove __libc_memalign.
9921         * sysdeps/nacl/ld.abilist: Likewise.
9922         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9923         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9924         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9925         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9926         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9927         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9928         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9929         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9930         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9931         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9932         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9933         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9934         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9938         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9939         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9940         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9941         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9942         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
9944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
9945         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
9946         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9947         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9948         * sysdeps/generic/localplt.data (ld.so): Likewise.
9949         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9950         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9951         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9952         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9953         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9954         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9955         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9956         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
9957         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9959         (ld.so): Likewise.
9960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9961         (ld.so): Likewise.
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9963         Likewise.
9964         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9965         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9966         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
9967         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
9968         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9970 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9972         [BZ #16628]
9973         Implement _dl_catch_error, _dl_signal_error in libc.so.
9974         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
9975         (catch_hook): Define as thread-local or regular variable,
9976         depending on DL_ERROR_BOOTSTRAP.
9977         (CATCH_HOOK): Remove.
9978         (dl_signal_error, _dl_catch_error): Use
9979         catch_hook.  Add hidden definition for libc.
9980         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
9981         for DL_ERROR_BOOTSTRAP only.
9982         * elf/dl-error.c: New file.
9983         * elf/dl-error-minimal.c: Likewise.
9984         * elf/tst-latepthread.c: Likewise.
9985         * elf/tst-latepthreadmod.c: Likewise.
9986         * elf/Makefile (routines): Add dl-error.
9987         (dl-routines): Remove dl-error.
9988         (rtld-routines): Add dl-error-minimal.
9989         [build-shared] (tests): Add tst-latepthread.
9990         (module-names): Add tst-latepthreadmod.
9991         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
9992         symbol.
9993         (tst-latepthreadmod.so): Link against libpthread.
9994         (tst-latepthread): Link against libdbl.
9995         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
9996         _dl_catch_error.
9997         [ld] (GLIBC_PRIVATE): Likewise.
9998         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
9999         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10000         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10001         directly.
10002         * elf/dl-tsd.c: Remove file.
10003         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10004         _dl_catch_error, _dl_signal_error.
10005         (_dl_initial_error_catch_tsd): Remove definition.
10006         (do_preload): Remove initialization of dl_error_catch_tsd.
10007         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10008         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10009         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10010         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10011         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10012         set dl_error_catch_tsd.
10013         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10014         _dl_error_catch_tsd member.
10015         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10016         members.
10017         (_dl_initial_error_catch_tsd): Remove declaration.
10018         (_dl_dprintf): Provide definition for use outside of ld.so.
10019         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10020         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10021         prototype for libc.
10022         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10023         _dl_catch_error.
10024         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10025         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10026         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10027         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10028         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10029         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10030         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10031         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10032         Likewise.
10033         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10035         (ld.so): Likewise.
10036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10037         (ld.so): Likewise.
10038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10039         Likewise.
10040         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10041         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10042         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10043         Likewise.
10044         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10045         Likewise.
10046         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10048 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10050         [BZ #4099]
10051         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10052         _IO_BUFSIZ (8192).
10054 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10056         * PROJECTS: Remove file.
10058 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10060         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10062 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10063             Steve Ellcey  <sellcey@caviumnetworks.com>
10065         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10066         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10067         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10068         fxstatat.
10069         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10070         lxstat.
10071         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10072         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10073         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10074         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10075         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10076         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10077         __xstat.
10079 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10081         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10082         Define.
10083         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10084         definition.
10086 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10088         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10089         version and turn into strong alias.  Remove compat symbol.
10091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10092         (__longjmp): Remove.
10094 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10096         * bits/fp-fast.h: New file.
10097         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10098         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10099         * math/Makefile (headers): Add bits/fp-fast.h.
10100         * math/math.h: Include <bits/fp-fast.h>.
10101         * bits/mathdef.h (FP_FAST_FMA): Remove.
10102         (FP_FAST_FMAF): Likewise.
10103         (FP_FAST_FMAL): Likewise.
10104         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10105         (FP_FAST_FMAF): Likewise.
10106         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10107         (FP_FAST_FMAF): Likewise.
10108         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10109         (FP_FAST_FMAF): Likewise.
10110         (FP_FAST_FMAL): Likewise.
10111         * sysdeps/arm/bits/mathdef.h: Remove file.
10112         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10113         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10114         * sysdeps/tile/bits/mathdef.h: Likewise.
10116 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10118         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10119         * math/w_ilogb.c: Remove.
10120         * math/w_ilogbf.c: Likewise.
10121         * math/w_ilogbl.c: Likewise.
10122         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10123         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10124         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10125         (libm-calls): Remove w_ilogbF.
10126         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10127         (LDOUBLE_ilogbl_libm_version): New macro.
10129         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10131         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10132         [!__STRICT_ANSI__ && !__cplusplus].
10134 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10136         [BZ #20750]
10137         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10138         of PIC.
10140 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10141             Yury Norov  <ynorov@caviumnetworks.com>
10142             Steve Ellcey  <sellcey@caviumnetworks.com>
10144         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10145         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10146         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10147         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10148         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10149         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10150         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10151         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10152         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10153         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10154         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10155         to get correct reg name for ILP32.
10156         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10157         (RELA_SIZE): New Macro.
10158         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10159         to support ILP32.
10160         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10161         cast for ILP32 mode.
10162         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10163         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10164         * sysdeps/aarch64/memset.S (__memset): Ditto.
10165         * sysdeps/aarch64/strchr.S (strchr): Ditto.
10166         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10167         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10168         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10169         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10170         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10171         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10172         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10173         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10174         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10175         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10176         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10177         change PTR_MANGLE call to use register numbers instead of names.
10178         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10179         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10180         ILP32 mode, change PTR_MANGLE calls to use register numbers.
10181         * sysdeps/aarch64/start.S (_start): Ditto.
10182         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10183         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10184         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10185         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10186         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10187         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10188         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10189         Make defined values dependent on __ILP32__.
10190         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10191         (sem_t): Change __align type.
10192         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10193         PTR_SIZE): New Macros.
10194         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10195         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10196         Set when in ILP32 mode.
10197         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10198         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10199         Set elf flags for ILP32.
10200         (add_system_dir): Set ILP32 library directories.
10201         * sysdeps/unix/sysv/linux/aarch64/init-first.c
10202         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10203         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10204         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10205         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10206         New Macros.
10207         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10209 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
10211         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10212         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10213         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10215 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10217         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10218         <asm/cachectl.h>.
10220 2016-11-27  Zack Weinberg  <zackw@panix.com>
10222         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10223         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10225 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10227         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10228         error_t to fix usage in C++ programs.
10230 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
10232         * scripts/build-many-glibcs.py: Import datetime module.
10233         (Context.__init__): Load JSON build state.  Initialize list of
10234         status logs.
10235         (Context.run_builds): Update saved build state.
10236         (Context.add_makefile_cmdlist): Update list of status logs.
10237         (Context.load_build_state_json): New function.
10238         (Context.store_build_state_json): Likewise.
10239         (Context.clear_last_build_state): Likewise.
10240         (Context.update_build_state): Likewise.
10241         (CommandList.status_logs): Likewise.
10243 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
10245         * scripts/build-many-glibcs.py (Context.__init__): Save text of
10246         script being executed.
10247         (Context.get_script_text): New function.
10248         (Context.exec_self): Likewise.
10249         (Context.checkout): Re-exec script if changed by checkout process.
10251 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10253         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10254         (setpayloadsig): New declaration.
10255         * math/Versions (setpayloadsig): New libm symbol at version
10256         GLIBC_2.25.
10257         (setpayloadsigf): Likewise.
10258         (setpayloadsigl): Likewise.
10259         * math/Makefile (libm-calls): Add s_setpayloadsigF.
10260         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
10261         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
10262         (setpayloadsig_test_data): New array.
10263         (setpayloadsig_test): New function.
10264         (main): Call setpayloadsig_test.
10265         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
10266         setpayloadsigf and setpayloadsigl.
10267         * manual/libm-err-tab.pl: Update comment on interfaces without
10268         ulps tabulated.
10269         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
10270         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
10271         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
10272         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
10273         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
10274         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
10275         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10276         setpayloadsig.
10277         (CFLAGS-nldbl-setpayloadsig.c): New variable.
10278         * sysdeps/nacl/libm.abilist: Update.
10279         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10280         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10281         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10282         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10283         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10284         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10285         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10286         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10287         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10288         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10289         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10290         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10292         Likewise.
10293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10294         Likewise.
10295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10296         Likewise.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10298         Likewise.
10299         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10300         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10301         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10302         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10305         Likewise.
10306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10307         Likewise.
10308         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10309         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10310         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10312         * scripts/build-many-glibcs.py: Import json module.
10313         (Context.__init__): Take replace_sources argument.  Load
10314         versions.json.
10315         (Context.load_versions_json): New function.
10316         (Context.store_json): Likewise.
10317         (Context.store_versions_json): Likewise.
10318         (Context.set_component_version): Likewise.
10319         (Context.checkout): Update versions.json.  Check for and handle
10320         changes of version.  Prefer previously explicitly specified
10321         version to default version.
10322         (Context.checkout_vcs): Return a revision identifier.
10323         (Context.git_checkout): Likewise.
10324         (Context.gcc_checkout): Likewise.
10325         (get_parser): Add --replace-sources option.
10326         (main): Pass replace_sources argument to Context call.
10328 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10330         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
10331         * nptl/allocatestack.c (allocate_stack): Likewise.
10332         (__reclaim_stacks): Likewise.
10333         (setxid_signal_thread): Obtain pid through syscall.
10334         * nptl/nptl-init.c (sigcancel_handler): Likewise.
10335         (sighandle_setxid): Likewise.
10336         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
10337         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10338         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10339         Likewise.
10340         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10341         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
10342         comment.
10343         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
10344         * nptl/descr.h (struct pthread): Change comment about pid value.
10345         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
10346         pid assert.
10347         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
10348         Do not set pid value.
10349         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
10350         pid cache check.
10351         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
10352         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
10353         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
10354         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
10355         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
10356         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10357         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
10358         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
10359         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
10360         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
10361         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
10362         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10363         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
10364         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10365         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
10366         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
10367         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10368         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
10369         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
10370         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
10371         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
10372         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10373         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
10374         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
10375         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
10376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10378         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10379         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10380         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10381         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
10382         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
10383         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
10384         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10385         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
10386         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10387         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
10388         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10389         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
10390         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
10391         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10392         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
10393         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
10394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10396         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10397         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10398         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10399         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10400         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10401         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
10402         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10403         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
10404         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
10405         struct access.
10406         (clone_test): Remove function.
10407         (do_test): Rewrite to take in consideration pid is not cached anymore.
10409 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10411         * bits/flt-eval-method.h: New file.
10412         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
10413         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
10414         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
10415         * math/Makefile (headers): Add bits/flt-eval-method.h.
10416         * math/math.h: Include <bits/flt-eval-method.h>.
10417         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
10418         [__USE_ISOC99] (double_t): Likewise.
10419         * bits/mathdef.h (float_t): Remove.
10420         (double_t): Likewise.
10421         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
10422         (double_t): Likewise.
10423         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
10424         (double_t): Likewise.
10425         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
10426         (double_t): Likewise.
10427         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
10428         (double_t): Likewise.
10429         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
10430         (double_t): Likewise.
10431         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
10432         (double_t): Likewise.
10433         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
10434         (double_t): Likewise.
10435         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
10436         (double_t): Likewise.
10437         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
10438         (double_t): Likewise.
10439         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
10440         (double_t): Likewise.
10441         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
10442         (double_t): Likewise.
10443         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
10444         (double_t): Likewise.
10445         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
10446         (double_t): Likewise.
10448 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
10450         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
10451         instead of PIC.
10453 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10455         [BZ #20859]
10456         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
10457         (-0x7fffffff) instead of 0x80000001.
10458         * math/test-fp-ilogb-constants.c: New file.
10459         * math/Makefile (tests): Add test-fp-ilogb-constants.
10461 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
10463         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
10464         (_init): Use it in place of hardcoded R_MIPS_JALR.
10465         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
10466         (_init): Use it in place of hardcoded R_MIPS_JALR.
10467         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
10468         (_init): Use it in place of hardcoded R_MIPS_JALR.
10470 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10472         [BZ #20787]
10473         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
10474         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
10475         (double_t): Do not define to double if [__x86_64__] when
10476         __FLT_EVAL_METHOD__ is nonzero.
10477         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
10478         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
10479         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10480         test-flt-eval-method-387 and test-flt-eval-method-sse.
10481         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
10482         variable.
10483         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
10485 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
10487         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
10488         use of -fno-isolate-erroneous-paths options for tilepro.
10490 2016-11-23  Florian Weimer  <fweimer@redhat.com>
10492         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
10493         structure initialization is no longer needed.
10495 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10497         [BZ #20855]
10498         * bits/mathdef.h (float_t): Define to float.
10499         * math/test-flt-eval-method.c: New file.
10500         * math/Makefile (tests): Add test-flt-eval-method.
10501         (CFLAGS-test-flt-eval-method.c): New variable.
10503 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
10505         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
10506         and __fstatfs.  Make them aliases of __fstatfs64 if
10507         STATFS_IS_STATFS64 is set to non-zero.
10508         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
10509         and __statfs64.
10510         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
10511         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
10512         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
10513         for __statfs and statfs.
10514         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
10515         to 0.
10516         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
10517         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
10518         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
10519         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10520         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10521         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
10524         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
10525         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10526         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
10527         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
10529 2016-11-22  Andreas Schwab  <schwab@suse.de>
10531         * misc/mkstemp.c: Include <fcntl.h>.
10532         * misc/mkstemps.c: Likewise.
10533         * misc/mkostemp.c: Likewise.
10534         * misc/mkostemps.c: Likewise.
10536 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
10538         [BZ #20847]
10539         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10540         array bounds.
10541         (__execvpe): Likewise.
10543 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
10545         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
10546         -fno-isolate-erroneous-paths options for tilepro.
10548 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
10550         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
10551         to 0 when in 32 bit mode.
10552         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
10553         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10554         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10555         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10557         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10558         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
10559         XSTAT_IS_XSTAT64 test.
10560         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10561         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10562         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10563         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10564         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10565         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10566         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10567         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10568         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10569         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10570         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10572 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10574         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10575         (setpayload): New declaration.
10576         * math/Versions (setpayload): New libm symbol at version
10577         GLIBC_2.25.
10578         (setpayloadf): Likewise.
10579         (setpayloadl): Likewise.
10580         * math/Makefile (libm-calls): Add s_setpayloadF.
10581         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10582         test_Ff_b1_data.
10583         (RUN_TEST_Ff_b1): New macro.
10584         (RUN_TEST_LOOP_Ff_b1): Likewise.
10585         (canonicalize_test_data): Update type.
10586         (setpayload_test_data): New array.
10587         (setpayload_test): New function.
10588         (main): Call setpayload_test.
10589         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10590         setpayloadf and setpayloadl.
10591         * manual/libm-err-tab.pl: Update comment on interfaces without
10592         ulps tabulated.
10593         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10594         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10595         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10596         Likewise.
10597         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10598         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10599         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10600         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10601         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10602         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10603         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10604         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10605         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10606         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10607         setpayload.
10608         (CFLAGS-nldbl-setpayload.c): New variable.
10609         * sysdeps/nacl/libm.abilist: Update.
10610         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10611         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10612         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10613         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10614         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10615         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10616         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10617         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10618         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10619         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10620         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10621         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10623         Likewise.
10624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10625         Likewise.
10626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10627         Likewise.
10628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10629         Likewise.
10630         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10631         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10632         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10633         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10634         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10636         Likewise.
10637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10638         Likewise.
10639         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10640         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10641         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10643 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10645         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
10646         * include/unistd.h: Extend comment about __access_noerrno return
10647         semantics.
10648         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
10649         (access_common): Correct typo for EACCES.
10651 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
10653         * sysdeps/tile/math-tests.h: New file.
10655         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
10656         (__old_set_dataplane): Rename from set_dataplane and make a
10657         compatibility symbol.
10658         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
10659         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
10660         sys/dataplane.h.
10662 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
10664         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
10665         script quote words in command output to log suitably for input to
10666         the shell.
10668 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
10669             Maciej W. Rozycki  <macro@imgtec.com>
10671         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
10672         `.Lno_weak_fn' label.
10673         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
10674         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
10676 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10677             Yury Norov  <ynorov@caviumnetworks.com>
10679         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
10680         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
10681         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10682         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
10683         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10684         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
10685         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10687         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10688         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
10689         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10690         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
10691         (sysdep_routines): Remove oldgetrlimit64.
10692         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
10693         (sysdep_routines): Likewise.
10694         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
10695         (sysdep_routines): Likewise.
10696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10697         [$(subdir) = resource] (sysdep_routines): Likewise.
10698         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
10699         [$(subdir) = resource] (sysdep_routines): Likewise.
10700         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
10701         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
10702         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
10703         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
10704         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
10705         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10706         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10707         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
10708         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
10709         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
10710         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
10711         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
10712         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
10713         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
10714         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
10715         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
10716         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
10717         setrlimit and getrlimit.
10718         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
10719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10720         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
10721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
10723         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10724         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
10725         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10727         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
10728         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
10729         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
10730         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
10731         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
10732         (__old_getrlimit64): Add compatibility symbol.
10733         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
10735 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
10737         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
10738         newly built gmp, mpfr and mpc.
10740         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
10742 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10744         * conform/Makefile (linknamespace-libs): Rename to
10745         linknamespace-libs-thr.
10746         (linknamespace-libs-posix): New variable.
10747         (linknamespace-libs-xsi): Likewise.
10748         (linknamespace-libs-XPG3): Include libcrypt.a.
10749         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
10750         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
10751         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
10752         (linknamespace-libs-XOPEN2K): Likewise.
10753         (linknamespace-libs-XOPEN2K8): Likewise.
10754         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
10756         [BZ #20829]
10757         * stdio-common/Versions (__snprintf): Add to version
10758         GLIBC_PRIVATE.
10759         * include/stdio.h (__snprintf): Use libc_hidden_proto.
10760         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
10761         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
10762         of snprintf.
10763         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10765 2016-11-16  Zack Weinberg  <zackw@panix.com>
10767         * string/string.h: Remove obsolete comment stating that
10768         strcoll_l and strxfrm_l have not yet been standardized.
10770 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10772         * hurd/hurd.h (__hurd_fail_noerrno): New function.
10773         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
10774         __access_noerrno.
10775         * io/access.c (__access_noerrno): New function.
10776         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
10777         (hurd_fail_seterrno): Likewise.
10778         (access_common): Likewise.
10779         (__access_noerrno): Likewise.
10780         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
10781         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
10782         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
10783         macro.
10785 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10787         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
10788         Only declare fpregs if [__SH_FPU_ANY__].
10790 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
10792         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
10793         Make code unconditional.
10794         [!(__SH4__ || __SH4A__)]: Remove conditional code.
10796 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
10798         * manual/sysinfo.texi (S_APPEND): Delete.
10799         (S_IMMUTABLE): Likewise.
10801 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
10802             Magnus Granberg  <zorry@gentoo.org>
10803             Mike Frysinger  <vapier@gentoo.org>
10805         [BZ #20662]
10806         * configure.ac (libc_cv_predef_stack_protector): Also check for
10807         __stack_chk_fail_local symbols.
10808         * configure: Regenerated.
10810 2016-11-15  Florian Weimer  <fweimer@redhat.com>
10812         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10813         (libc_hidden_def): Remove redefinition.
10814         (__sigsetjmp): Add hidden definition.
10815         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10816         (libc_hidden_def): Remove redefinition.
10817         (__sigsetjmp): Add hidden definition.
10819 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
10821         * scripts/build-many-glibcs.py (os.path): Do not import.
10822         (Context): Inherit explicitly from object.  Remove blank line
10823         between class and docstring.
10824         (Config): Likewise.
10825         (Glibc): Likewise.
10826         (Command): Likewise.
10827         (CommandList): Likewise.
10828         (Context.write_files): Store chmod mode in a variable.
10830         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
10831         LIBC_SLIBDIR_RTLDDIR for tilegx32.
10832         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
10834 2016-11-14  Zack Weinberg  <zackw@panix.com>
10836         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
10837         creating or re-creating it.
10839         * string/bits/string2.h: Fix typo in comment.
10841 2016-11-14  Zack Weinberg  <zackw@panix.com>
10843         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
10844         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
10845         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
10846         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
10847         of redirected function names.
10849         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
10850         as well.  Document that MESSAGE must be a single string literal.
10852 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
10854         * scripts/build-many-glibcs.py: New file.
10856         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
10857         (do_test): Disable -Wmaybe-uninitialized around uses of
10858         except_mask.
10860         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
10862 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
10864         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
10865         (atomic_store_release): Provide tilepro-specific implementations.
10867 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
10869         * math/math.h (__MATH_TG): New macro.
10870         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
10871         [__USE_ISOC99] (signbit): Likewise.
10872         [__USE_ISOC99] (isfinite): Likewise.
10873         [__USE_ISOC99] (isnan): Likewise.
10874         [__USE_ISOC99] (isinf): Likewise.
10875         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
10876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
10877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
10878         __MATH_TG and __MATH_EVAL_FMT2.
10879         * sysdeps/generic/math_private.h (fabs_tg): Define using
10880         __MATH_TG.
10881         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10882         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
10883         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
10884         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
10885         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
10886         macro.
10887         (__iscanonical): Likewise.
10888         (iscanonical): Define using __MATH_TG.
10890 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10892         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
10893         guards.
10895         * sysdeps/unix/sysv/linux/access.c: New file.
10896         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
10898 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
10900         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
10901         and __WORDSIZE32_PTRDIFF_LONG.
10903 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10905         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10907 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10909         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
10910         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
10911         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
10912         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
10913         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
10915         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
10916         * sysdeps/unix/sysv/linux/truncate.c: New file.
10917         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
10918         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10919         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
10920         Remove.
10921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
10922         Likewise.
10924         * posix/tst-truncate-common.c: New file.
10925         * posix/tst-truncate.c: Use tst-truncate-common.c.
10926         * posix/tst-truncate64.c: Likewise and add LFS tests.
10927         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
10928         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
10929         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
10930         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
10931         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
10932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
10933         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
10934         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
10935         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
10936         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10937         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
10938         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
10939         Remove.
10940         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
10941         Likewise.
10943 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
10945         [BZ #20790]
10946         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
10947         to MAXLINESIZE.
10948         * sunrpc/bug20790.x: New file.
10949         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
10950         variable.
10951         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
10952         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
10954         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
10956         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
10958         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
10959         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
10960         calloc, realloc, free, memalign and __libc_memalign rather than
10961         making them optional.
10963         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
10964         for libc.so.
10966 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10968         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
10969         ptw-lseek64.
10970         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
10971         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
10972         Likewise.
10973         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
10974         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
10975         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
10976         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
10977         * sysdeps/unix/sysv/linux/lseek.c: New file.
10978         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
10979         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
10980         __libc_lseek64 from auto-generation.
10981         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10982         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
10984 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10986         * nptl/tst-basic1.c (tf, do_test): Use write_message.
10987         * nptl/tst-cleanup1.c (do_test): Likewise.
10988         * nptl/tst-cleanup3.c (do_test): Likewise.
10989         * nptl/tst-key1.c (do_test): Likewise.
10990         * nptl/tst-key2.c (tf, do_test): Likewise.
10991         * nptl/tst-key3.c (tf, do_test): Likewise.
10992         * nptl/tst-stdio1.c (do_test): Likewise.
10993         * nptl/tst-stdio2.c (do_test): Likewise.
10995         * nptl/tst-kill3.c (handler): Use write_message in place of write.
10996         * nptl/tst-kill6.c (handler): Likewise.
10997         * nptl/tst-tls2.c (CB): Likewise.
10998         * nptl/tst-tls3.c (CB): Likewise.
11000 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11002         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11004 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11005             Steve Ellcey  <sellcey@caviumnetworks.com>
11007         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11008           __ASSUME_ST_INO_64_BIT as 0
11009         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11010         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11011           over the code where __ASSUME_ST_INO_64_BIT is used.
11012         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11013         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11014         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11016 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11018         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11019         Document ABI exposure of the __kind offset.
11020         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11021         Mention reason for the __kind offset exposure in the ABI.
11022         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11023         Likewise.
11024         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11025         Likewise.
11026         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11027         Likewise.
11028         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11029         (struct __pthread_mutex_s): Likewise.
11030         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11031         Likewise.
11032         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11033         Likewise.
11034         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11035         Likewise.
11036         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11037         Likewise.
11038         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11039         Likewise.
11040         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11041         Likewise.
11042         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11043         (struct __pthread_mutex_s): Likewise.
11044         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11045         (struct __pthread_mutex_s): Likewise.
11046         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11047         Likewise.
11049 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11051         * test-skeleton.c: Document do_test usage.
11053 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11055         * iconv/gconv.h (__gconv_info): Define __data element using a
11056         zero-length array.
11058 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11060         * math/test-tgmath2.c: Split up test function.
11062 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11064         * Rules (tests-expected): New variable, depending on
11065         $(run-built-tests).
11066         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11067         $(tests).
11069         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11070         $(tests-unsupported).
11072 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11074         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11075         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11077 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11079         [BZ #20768]
11080         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11081         __fegetenv instead of fegetenv.
11083         [BZ #14139]
11084         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11085         (find_files): Obtain platform name from libm-test-ulps-name and
11086         store in %pplatforms.
11087         (canonicalize_platform): Remove.
11088         (print_platforms): Use $pplatforms directly.
11089         (by_platforms): Do not allow for platforms missing from
11090         %pplatforms.
11091         * sysdeps/aarch64/libm-test-ulps-name: New file.
11092         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11093         * sysdeps/arm/libm-test-ulps-name: Likewise.
11094         * sysdeps/generic/libm-test-ulps-name: Likewise.
11095         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11096         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11097         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11098         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11099         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11100         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11101         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11102         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11103         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11104         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11105         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11106         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11107         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11108         * sysdeps/sh/libm-test-ulps-name: Likewise.
11109         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11110         * sysdeps/tile/libm-test-ulps-name: Likewise.
11111         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11113         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11115         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11116         (test-xfail-check-execstack): New variable.
11118         * sysdeps/mips/localplt.data: New file.
11120 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11121             Steve Ellcey  <sellcey@caviumnetworks.com>
11123         * bits/wordsize.h: Add documentation.
11124         * sysdeps/aarch64/bits/wordsize.h : New file
11125         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11126         definitions.
11127         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11128         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11129         with #if instead of #ifdef.
11130         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11131         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11132         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11133         Add or change defines.
11134         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11135         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11136         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11137         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11138         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11139         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11140         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11141         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11142         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11143         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11144         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11145         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11146         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11147         * sysdeps/x86/bits/wordsize.h: Likewise.
11149 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
11150             Kevin Petit  <kevin.petit@arm.com>
11152         * sysdeps/aarch64/memchr.S (__memchr): New file.
11154 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11156         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11158 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
11160         [BZ #19398]
11161         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11162         $(linknamespace-symlists-tests).
11164 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
11166         * time/tst-strptime2.c: Ignore -Wformat-length warning.
11168 2016-11-02  Florian Weimer  <fweimer@redhat.com>
11169             Carlos O'Donell  <carlos@redhat.com>
11171         [Bug #20729]
11172         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11173         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
11174         for -Os related change.
11176 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
11178         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11180 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
11182         [BZ #19673]
11183         * manual/math.texi (Exponents and Logarithms): Correct description
11184         of clog10.
11186 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
11188         [Bz #20729]
11189         * locale/weight.h: Include libc-internal.h.
11190         * locale/weightwc.h: Likewise.
11191         * nptl/nptl_dbP.h: Likewise.
11193 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
11195         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11196         when it is MACH_PORT_NULL.
11198 2016-10-31  Andreas Schwab  <schwab@suse.de>
11200         [BZ #20707]
11201         * posix/glob.c (glob): Initialize pglob before checking for
11202         GLOB_BRACE.  Don't call glob recursively if pattern contains no
11203         valid brace expression despite GLOB_BRACE.
11204         * posix/globtest.sh: Test it.
11206 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11208         [BZ #20729]
11209         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11210         Define.
11211         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11212         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11213         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11214         for seq2.back_us and seq1.back_us only for -Os compiles.
11215         * locale/weightwc.h (findix): Likewise.
11216         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11217         DB_GET_FIELD_ADDRESS only for -Os compiles.
11218         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11219         for slen only for -Os compiles.
11220         * string/strcoll_l.c (get_next_seq): Ignore
11221         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11222         for -Os compiles.
11224         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11225         * include/crypt.h: New file.
11227 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11229         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
11230         from test-skeleton.c.
11231         (statclass): Replace calls to write with calls to write_message.
11233 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11235         * math/math.h
11236         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
11237         New macro.
11238         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
11239         Likewise.
11240         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
11241         Likewise.
11242         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
11243         SNANL.
11244         * math/test-double.h (snan_value_MACRO): New macro.
11245         * math/test-float.h (snan_value_MACRO): Likewise.
11246         * math/test-ldouble.h (snan_value_MACRO): Likewise.
11247         * math/libm-test.inc (issignaling_test_data): Add tests of
11248         snan_value_MACRO.
11250 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11252         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
11253         behavior when eliding a lock not held by the current thread.
11254         * sysdeps/powerpc/nptl/elide.h: Likewise.
11256 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11258         [BZ #20728]
11259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
11260         branch to _exit() by a function call.
11262 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11264         * malloc/malloc.c: Update chunk layout comments.
11265         (chunk_main_arena): Update comment.
11267 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11269         * crypt/sha256.c, crypt/sha256-block.c,
11270         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
11271         sha256_process_block to __sha256_process_block.
11272         * crypt/sha512.c, crypt/sha512-block.c,
11273         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
11274         sha512_process_block to __sha512_process_block.
11276 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11278         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
11280         * math/test-nan-overflow.c: Include stdlib.h for malloc.
11282 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
11284         [BZ #20019]
11285         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
11286         definition in unrelocated shared library.
11287         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11289 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11291         [BZ #20729]
11292         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
11293         * sysdeps/unix/sysv/linux/i386/Makefile
11294         (uses-6-syscall-arguments): Define.
11295         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
11296         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
11297         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
11298         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
11299         Likewise.
11300         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
11301         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
11302         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
11303         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
11304         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
11305         (CFLAGS-fallocate64.os): Likewise.
11306         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
11307         (CFLAGS-pthread_rwlock_timedrdlock.os)
11308         (CFLAGS-pthread_rwlock_timedwrlock.o)
11309         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
11310         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
11311         (CFLAGS-sem_timedwait.os): Likewise.
11313 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11315         * elf/tst-linkall-static.c: New file.
11316         * elf/Makefile (tests-static): Add tst-linkall-static.
11317         (tst-linkall-static): Link against static libraries.
11319 2016-10-27  Florian Weimer  <fweimer@redhat.com>
11321         * malloc/malloc.c (sysmalloc): Initialize previous size field of
11322         mmaped chunks.
11324 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11326         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
11327         members to mchunk_prev_size, mchunk_size.
11328         (chunk_main_arena): Reverse sense and rename from
11329         chunk_non_main_arena.
11330         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
11331         mchunk_size instead of size.
11332         (set_non_main_arena): Define.
11333         (chunksize): Use chunksize_nomask instead of direct member access.
11334         (chunksize_nomask): Define.
11335         (next_chunk): Use chunksize instead of direct member access.
11336         (prev_size, set_prev_size): Define.
11337         (prev_chunk): Use prev_size instead of direct member access.
11338         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
11339         (inuse_bit_at_offset, set_inuse_bit_at_offset)
11340         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
11341         (mchunk_prev_size, mchunk_size): Poison tokens.
11342         (unlink): Use chunksize_nomask, prev_size accessors.
11343         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
11344         (do_check_free_chunk): Use prev_size accessor.
11345         (sysmalloc): Use set_prev_size, set_head accessors.
11346         (munmap_chunk, mremap_chunk): Use prev_size accessor.
11347         (__libc_free): Use chunksize_nomask accessor.
11348         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
11349         chunk_main_arena accessors.
11350         (_int_free): Use chunksize_nomask, prev_size accessors.
11351         (malloc_consolidate): Use chunksize, prev_size accessors.
11352         (_int_realloc): Use chunksize_nomask accessor.
11353         (_int_memalign): Use set_prev_size accessor.
11354         (__malloc_info): Use chunksize_nomask accessor.
11355         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
11356         accessors.
11357         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
11358         (heap_trim): Use chunksize_nomask, prev_size accessors.
11360 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11362         [BZ #19380]
11363         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
11364         for inexact results.
11365         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
11366         of inexact result where mpfr_subnormalize is the only inexact
11367         step.
11368         * stdlib/tst-strtod-round-data.h: Regenerated.
11369         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
11370         Define to 0.
11371         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
11373 2016-10-27  David S. Miller  <davem@davemloft.net>
11375         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
11377 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11379         * malloc/malloc.c (do_set_mallopt_check): New function.
11380         (do_set_mmap_threshold): Likewise.
11381         (do_set_mmaps_max): Likewise.
11382         (do_set_top_pad): Likewise.
11383         (do_set_perturb_byte): Likewise.
11384         (do_set_trim_threshold): Likewise.
11385         (do_set_arena_max): Likewise.
11386         (do_set_arena_test): Likewise.
11387         (__libc_mallopt): Use them.
11389 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
11391         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11392         (canonicalize): New declaration.
11393         * math/Versions (canonicalize): New libm symbol at version
11394         GLIBC_2.25.
11395         (canonicalizef): Likewise.
11396         (canonicalizel): Likewise.
11397         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
11398         * math/s_canonicalize_template.c: New file.
11399         * math/libm-test.inc: Update comment on functions tested and
11400         testing of NaN payloads.
11401         (TEST_NAN_PAYLOAD): New macro.
11402         (NO_TEST_INLINE): Update value.
11403         (XFAIL_TEST): Likewise.
11404         (ERRNO_UNCHANGED): Likewise.
11405         (ERRNO_EDOM): Likewise.
11406         (ERRNO_ERANGE): Likewise.
11407         (IGNORE_RESULT): Likewise.
11408         (NON_FINITE): Likewise.
11409         (TEST_SNAN): Likewise.
11410         (NO_TEST_MATHVEC): Likewise.
11411         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
11412         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
11413         (struct test_Ffp_b1_data): New type.
11414         (RUN_TEST_Ffp_b1): New macro.
11415         (RUN_TEST_LOOP_Ffp_b1): Likewise.
11416         (canonicalize_test_data): New array.
11417         (canonicalize_test): New function.
11418         (main): Call canonicalize_test.
11419         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
11420         canonicalizef and canonicalizel.
11421         * manual/libm-err-tab.pl: Update comment on interfaces without
11422         ulps tabulated.
11423         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
11424         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
11425         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11426         canonicalize.
11427         (CFLAGS-nldbl-canonicalize.c): New variable.
11428         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
11429         to ...
11430         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
11431         ... here.
11432         (do_test): Also test canonicalizel.
11433         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
11434         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
11435         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
11436         file.
11437         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
11438         Use libm_hidden_def.
11439         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
11440         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
11441         (do_test): Also test canonicalizel.
11442         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
11443         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
11444         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
11445         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
11446         libm_hidden_def.
11447         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
11448         macro.
11449         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
11450         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
11451         * sysdeps/nacl/libm.abilist: Update.
11452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11454         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11455         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11456         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11457         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11459         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11460         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11462         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11463         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11465         Likewise.
11466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11467         Likewise.
11468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11469         Likewise.
11470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11471         Likewise.
11472         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11473         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11474         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11475         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11476         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11478         Likewise.
11479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11480         Likewise.
11481         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11482         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11483         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11485         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
11486         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11487         getpayload.
11488         (CFLAGS-nldbl-getpayload.c): New variable.
11490 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11492         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
11493         integer from the format string.
11495 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11497         [BZ #19473]
11498         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
11499         declarations.
11500         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
11501         weak aliases.
11502         * malloc/hooks.c (__malloc_get_state): Remove definition.
11503         (malloc_get_state): New stub implementation as
11504         compatibility symbol.
11505         (malloc_set_state): Rename from __malloc_set_state.  Turn into
11506         compat symbol.
11507         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
11508         malloc_set_state.
11509         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
11511 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11513         * iconvdata/iso646.c (enum variant): Drop illegal_var.
11514         (names): Turn into concatenation of strings.
11515         (gconv_init): Adapt iteration over names.
11517 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11519         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
11520         make const.
11521         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
11522         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
11523         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
11524         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
11525         character in sbconv.
11526         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
11527         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
11528         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
11530 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11532         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
11534         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
11535         (M_TRIM_THRESHOLD): Likewise.
11537         * manual/memory.texi (M_ARENA_TEST): Add documentation.
11538         (M_ARENA_MAX): Likewise.
11539         * malloc/malloc.c: Remove obsolete comment.
11541         * manual/memory.texi: Add environment variable alternatives to
11542         setting mallopt parameters.
11544 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
11546         * include/atomic.h
11547         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
11548         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
11550 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11552         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
11553         * stdlib/tst-strfrom.h: New file.
11554         * stdlib/tst-strfrom.c: New file.
11555         * stdlib/tst-strfrom-locale.c: New file.
11557         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
11558         * stdlib/bug-strtod2.c: Likewise.
11559         * stdlib/tst-strtod-round-skeleton.c: Likewise.
11560         * stdlib/tst-strtod6.c: Likewise.
11561         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11563 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11565         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11566         * manual/arith.texi: Document strfromd, strfromf, strfroml.
11567         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11568         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11569         * stdlib/stdlib.h (strfromd): New declaration.
11570         (strfromf): Likewise.
11571         (strfroml): Likewise.
11572         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11573         strfrom.
11574         * stdlib/strfromd.c: New file.
11575         * stdlib/strfromf.c: Likewise.
11576         * stdlib/strfroml.c: Likewise.
11577         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11578         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11579         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11580         * sysdeps/arm/nacl/libc.abilist: Update.
11581         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11582         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11583         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11584         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11585         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11586         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11587         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11588         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11589         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11590         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11591         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11592         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11593         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11594         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11599         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11600         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11602         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11603         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11606         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11607         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11608         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11610 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
11612         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11613         instead of cmpli.
11614         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11615         instead of cmpli.
11617 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
11619         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
11620         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11621         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
11622         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11623         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11624         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11626 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11628         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
11629         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11630         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
11631         SYSCALL_LL64_PRW.
11632         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11633         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
11634         __ASSUME_PRW_DUMMY_ARG.
11635         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
11636         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11637         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11638         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11639         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
11640         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
11642 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
11644         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
11646 2016-10-22  Florian Weimer  <fweimer@redhat.com>
11648         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
11649         "C++", to override a potential extern "C" directive around the
11650         header file inclusion.
11652 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
11654         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
11656 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11658         * sysdeps/powerpc/fpu/fenv_private.h:
11659         (_FPU_MASK_ALL): Rename to...
11660         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
11661         XE FPSCR bits.
11663         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
11665         (_FPU_MASK_ROUNDING): Rename to...
11666         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
11667         NI bits.
11669         (_FPU_MASK_EXCEPT_ROUND): Rename to...
11670         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
11671         bits and rounding bits.
11673         (__libc_feholdbits_ppc): New inline function to mask, set,
11674         and pontentially clear FSPCR bits, and change MSR[FE] bits.
11675         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
11676         (libc_feholdexcept_setround_ppc): Likewise.
11678         (__libc_femergeenv_ppc): New function to dynamically mask both
11679         old and new FP environments and merge.
11680         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
11681         (libc_feresetround_ppc): Likewise.
11682         (libc_feupdateenv_test_ppc): Likewise.
11683         (libc_feupdateenv_ppc): Likewise.
11685         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
11686         of ISA RN bits, and update macro names.
11687         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
11688         effectively the same as the previously mentioned function.
11690         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
11691         usage with fe_resetround_ppc.
11693         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
11694         to be used.
11695         (libc_feholdexcept_setround_ctxf): Likewise.
11696         (libc_feholdexcept_setround_ctxl): Likewise.
11698 2016-10-21  Florian Weimer  <fweimer@redhat.com>
11700         [BZ #20715]
11701         * math/math.h [__cplusplus] (iszero): Define as function template.
11702         * math/Makefile [CXX] (tests): Add test-math-iszero.
11703         (CFLAGS-test-math-iszero.cc): Set.
11704         * math/test-math-iszero.cc: New file.
11706 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
11708         [BZ #20660]
11709         * sysdeps/arm/e_sqrt.c: New file.
11710         * sysdeps/arm/e_sqrtf.c: Likewise.
11712 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
11714         [BZ #20718]
11715         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11716         not use floating-point comparisons to test sign.
11717         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
11718         Likewise.
11720         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11721         (getpayload): New declaration.
11722         * math/Versions (getpayload): New libm symbol at version
11723         GLIBC_2.25.
11724         (getpayloadf): Likewise.
11725         (getpayloadl): Likewise.
11726         * math/Makefile (libm-calls): Add s_getpayloadF.
11727         * math/libm-test.inc: Include <nan-high-order-bit.h>.
11728         (struct test_f_f_data): Add comment.
11729         (RUN_TEST_fp_f): New macro.
11730         (RUN_TEST_LOOP_fp_f): Likewise.
11731         (getpayload_test_data): New array.
11732         (getpayload_test): New function.
11733         (main): Call getpayload_test.
11734         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
11735         descriptor.
11736         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
11737         getpayloadf and getpayloadl.
11738         * manual/libm-err-tab.pl: Update comment on interfaces without
11739         ulps tabulated.
11740         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
11741         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
11742         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
11743         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
11744         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
11745         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
11746         * sysdeps/nacl/libm.abilist: Update.
11747         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11748         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11749         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11750         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11751         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11752         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11753         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11754         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11755         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11756         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11757         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11758         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11760         Likewise.
11761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11762         Likewise.
11763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11764         Likewise.
11765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11766         Likewise.
11767         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11768         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11769         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11770         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11771         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11773         Likewise.
11774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11775         Likewise.
11776         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11777         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11778         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11780 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11782         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
11783         tst-fallocate{64}.
11784         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
11785         on syscall return.
11787 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
11789         [BZ #20689]
11790         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
11791         usable.
11793 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
11795         * sysdeps/generic/nan-high-order-bit.h: New file.
11796         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
11797         * sysdeps/mips/nan-high-order-bit.h: Likewise.
11798         * sysdeps/hppa/math_private.h: Remove file.
11799         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
11800         not define here.
11801         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
11802         <nan-high-order-bit.h>.
11803         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11804         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
11805         <nan-high-order-bit.h>.
11806         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11807         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
11808         <nan-high-order-bit.h>.
11809         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11810         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
11811         <nan-high-order-bit.h>.
11812         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11813         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11814         <nan-high-order-bit.h>.
11815         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11816         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11817         <nan-high-order-bit.h>.
11818         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11819         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
11820         <nan-high-order-bit.h>.
11821         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11822         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
11823         <nan-high-order-bit.h>.
11824         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11825         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
11826         <nan-high-order-bit.h>.
11827         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11828         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
11829         <nan-high-order-bit.h>.
11830         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11831         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11832         <nan-high-order-bit.h>.
11833         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11834         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11835         <nan-high-order-bit.h>.
11836         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11837         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
11838         <nan-high-order-bit.h>.
11839         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11840         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
11841         <nan-high-order-bit.h>.
11842         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11843         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
11844         <nan-high-order-bit.h>.
11845         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11846         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
11847         <nan-high-order-bit.h>.
11848         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11849         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11850         <nan-high-order-bit.h>.
11851         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11852         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11853         <nan-high-order-bit.h>.
11854         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11856 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11858         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
11860 2016-09-22  John David Anglin  <dave.anglin@bell.net>
11862         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
11863         abort-instr.h.
11864         (EFAULT): Remove conditional define.
11865         (ENOSYS): Likewise.
11866         (atomic_compare_and_exchange_val_acq): Use instruction nullification
11867         instead of conditional branch instructions.
11869 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
11871         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11872         (totalordermag): New declaration.
11873         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
11874         New macro.
11875         * math/Versions (totalordermag): New libm symbol at version
11876         GLIBC_2.25.
11877         (totalordermagf): Likewise.
11878         (totalordermagl): Likewise.
11879         * math/Makefile (libm-calls): Add s_totalordermagF.
11880         * math/libm-test.inc (totalordermag_test_data): New array.
11881         (totalordermag_test): New function.
11882         (main): Call totalordermag_test.
11883         * math/test-tgmath.c (NCALLS): Increase to 125.
11884         (F(compile_test)): Call totalordermag.
11885         (F(totalordermag)): New function.
11886         * manual/arith.texi (FP Comparison Functions): Document
11887         totalordermag, totalordermagf and totalordermagl.
11888         * manual/libm-err-tab.pl: Update comment on interfaces without
11889         ulps tabulated.
11890         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
11891         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
11892         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
11893         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
11894         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
11895         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
11896         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
11897         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11898         totalordermag.
11899         (CFLAGS-nldbl-totalordermag.c): New variable.
11900         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
11901         (do_test): Also test totalordermagl.
11902         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
11903         Likewise.
11904         * sysdeps/nacl/libm.abilist: Update.
11905         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11906         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11907         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11908         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11909         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11910         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11911         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11912         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11913         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11914         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11915         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11916         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11918         Likewise.
11919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11920         Likewise.
11921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11922         Likewise.
11923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11924         Likewise.
11925         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11926         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11927         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11928         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11929         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11931         Likewise.
11932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11933         Likewise.
11934         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11935         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11936         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11938 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
11940         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
11941         boolean.
11943 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
11945         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
11946         raising FE_INVALID with feraisexcept in case where part of
11947         argument is infinite, subtract that part of argument from itself.
11948         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
11949         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
11950         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11952 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11954         * math/libm-test.inc (totalorder_test_data): Add more tests.
11956 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11958         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
11959         Undefine weak_alias and add a comment why mips64 require
11960         versioning.
11962 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11964         [BZ #20647]
11965         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
11966         maximum CPUID level is less than 2.
11968 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11970         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11971         (totalorder): New declaration.
11972         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
11973         New macro.
11974         * math/Versions (totalorder): New libm symbol at version
11975         GLIBC_2.25.
11976         (totalorderf): Likewise.
11977         (totalorderl): Likewise.
11978         * math/Makefile (libm-calls): Add s_totalorderF.
11979         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
11980         string.
11981         * math/libm-test.inc (PAYLOAD_DIG): New macro.
11982         (qnan_value_pl): Likewise.
11983         (snan_value_pl): Likewise.
11984         (qnan_value): Define using qnan_value_pl.
11985         (snan_value): Define using snan_value_pl.
11986         (struct test_ff_i_data): Add comment about which tests use this
11987         structure.
11988         (RUN_TEST_ff_b): New macro.
11989         (RUN_TEST_LOOP_ff_b): Likewise.
11990         (totalorder_test_data): New array.
11991         (totalorder_test): New function.
11992         (main): Call totalorder_test.
11993         * math/test-tgmath.c (NCALLS): Increase to 122.
11994         (F(compile_test)): Call totalorder.
11995         (F(totalorder)): New function.
11996         * manual/arith.texi (FP Comparison Functions): Document
11997         totalorder, totalorderf and totalorderl.
11998         * manual/libm-err-tab.pl: Update comment on interfaces without
11999         ulps tabulated.
12000         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12001         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12002         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12003         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12004         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12005         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12006         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12007         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12008         totalorder.
12009         (CFLAGS-nldbl-totalorder.c): New variable.
12010         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12011         file.
12012         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12013         Add test-totalorderl-ldbl-128ibm.
12014         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12015         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12016         test-totalorderl-ldbl-96.
12017         * sysdeps/nacl/libm.abilist: Update.
12018         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12019         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12020         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12021         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12022         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12023         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12024         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12025         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12026         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12027         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12028         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12029         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12031         Likewise.
12032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12033         Likewise.
12034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12035         Likewise.
12036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12037         Likewise.
12038         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12039         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12040         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12041         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12042         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12044         Likewise.
12045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12046         Likewise.
12047         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12048         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12049         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12051 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12053         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12054         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12055         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12056         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12057         remove ENOSYS implementation.
12058         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12059         Consolidate all Linux implementations.
12061 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12063         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12064         * resolv/herror.c (herror): Cast away const-ness.
12065         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12066         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12068 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12070         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12071         instead of M_NAN + M_NAN.
12072         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12074 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12076         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12077         unused variable 'p'.
12079 2016-10-09  Alan Modra  <amodra@gmail.com>
12080             Andreas Schwab  <schwab@linux-m68k.org>
12082         [BZ #20554]
12083         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12084         [PIC && !SHARED]: Set up PIC register for PLT call.
12086 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12088         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12089         conditional on value of [__FLT_EVAL_METHOD__].
12090         * math/test-iseqsig-excess-precision.c: New file.
12091         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12093 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12095         * math/s_iseqsig_template.c: Include math-private.h.
12097         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12098         * posix/tst-posix_fadvise.c: New file.
12099         * posix/tst-posix_fadvise64.c: Likewise.
12100         * posix/tst-posix_fadvise-common.c: Likewise.
12101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12102         (__ASSUME_FADVISE64_64_6ARG): Define.
12103         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12104         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12105         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12106         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12107         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12108         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12109         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12110         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12111         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12112         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12113         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12114         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12117         Likewise.
12118         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12119         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12120         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12121         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12122         Alias to __posix_fadvise64_l32.
12123         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12124         Add compat definition to posix_fadvise64.
12125         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12126         Add versioned definition to posix_fadvise64.
12127         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12128         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12129         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12130         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12131         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12133         * io/Makefile (tests): Add tst-posix_fallocate and
12134         tst-posix_fallocate64.
12135         * io/tst-posix_fallocate-common.c: New file.
12136         * io/tst-posix_fallocate.c: Likewise.
12137         * io/tst-posix_fallocate64.c: Likewise.
12138         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12139         file.
12140         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12141         Likewise.
12142         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12143         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12144         Likewise.
12145         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12146         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12147         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12148         SYSCALL_LL to pass both offset and len arguments.
12149         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12150         Likewise.
12151         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12152         __libc_pwrite64 alias used by posix_fallocate64.
12154         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12155         tst-fallocate64.
12156         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12157         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12158         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12159         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12160         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12161         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12162         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12163         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12164         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12165         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12166         macro on offset argument.
12167         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12168         SYSCALL_LL64 on offset argument.
12170         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12171         tst-fallocate64.
12172         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12173         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12174         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12175         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12176         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12177         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12178         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12179         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12180         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12181         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12182         macro on offset argument.
12183         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12184         SYSCALL_LL64 on offset argument.
12185         * test-skeleton.c (FAIL_RET): Add macro.
12186         (FAIL_EXIT): Likewise.
12187         (FAIL_EXIT1): Likewise.
12188         (_FAIL): Likewise.
12190 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12192         [BZ #20629]
12193         resolv: Remove RES_USEBSTRING and its implementation.
12194         * resolv/resolv.h (RES_USEBSTRING): Remove.
12195         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12196         (digitvalue, encode_bitstring, decode_bitstring): Remove.
12197         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12198         (labellen): Remove extended label types support.
12199         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12200         * resolv/res_init.c (res_setoptions): Likewise.
12201         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12203 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12205         resolv: Remove RES_NOIP6DOTINT and its implementation.
12206         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12207         (RES_NOIP6DOTINT): Remove.
12208         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12209         handling.
12210         * resolv/res_debug.c (p_option): Likewise.
12211         * resolv/res_init.c (res_setoptions): Likewise.
12212         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12214 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12216         resolv: Deprecate unimplemented flags.
12217         * misc/sys/cdefs.h (__glibc_macro_warning1)
12218         (__glibc_macro_warning): Define.
12219         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12220         (RES_KEEPTSIG): Mark as deprecated.
12221         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12222         RES_NOCHECKNAME, RES_KEEPTSIG.
12223         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12225 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12227         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12228         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12229         Use strong_alias to create symbols for glibc verison 2.19.
12231 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12233         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
12235 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12237         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
12239 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12241         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
12243 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12246         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
12247         in header for using it as type for ifunc function because __GI_* symbols
12248         for ppc32 do not target the ifunc symbols.
12249         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12251 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12253         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
12254         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
12255         libc_ifunc_hidden_def.
12256         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
12257         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
12258         Redirect ifunced function in header for using it as type of ifunc'ed
12259         function. Redefine libc_hidden_def to use fallback non ifunc'ed
12260         function for __GI_* symbol.
12261         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12262         * include/libc-symbols.h
12263         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
12265 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12267         [BZ #20478]
12268         * sysdeps/s390/multiarch/ifunc-resolve.h
12269         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
12270         to create ifunc symbols.
12271         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
12272         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
12273         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
12274         for using it as type for ifunc function.
12275         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12276         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12277         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12278         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12279         * sysdeps/s390/multiarch/strcat.c: Likewise.
12280         * sysdeps/s390/multiarch/strchr.c: Likewise.
12281         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12282         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12283         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12284         * sysdeps/s390/multiarch/strlen.c: Likewise.
12285         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12286         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12287         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12288         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12289         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12290         * sysdeps/s390/multiarch/strspn.c: Likewise.
12291         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12292         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12293         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12294         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12295         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12296         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12297         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12298         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
12299         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
12300         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12301         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
12302         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
12304 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12306         * include/libc-symbols.h (__ifunc_resolver):
12307         New macro is used by __ifunc* macros.
12308         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
12309         depending on HAVE_GCC_IFUNC.
12310         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
12311         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
12312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12313         Redirect ifunced function in header for using as type for ifunc function.
12314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
12315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
12316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
12317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
12318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12320         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12321         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12322         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12323         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12324         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12325         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12326         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12327         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
12330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
12332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12333         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12334         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12335         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12336         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12337         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12338         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12339         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12340         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12341         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12342         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12343         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12344         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12345         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
12346         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
12348         Add libc_hidden_def() and use libc_ifunc_hidden() macro
12349         instead of libc_ifunc() macro.
12350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
12351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12353 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12355         * config.h.in (HAVE_GCC_IFUNC): New undef.
12356         * configure.ac: Add check if gcc supports attribute ifunc feature.
12357         * configure: Regenerated.
12358         * manual/install.texi: Add recommendation for gcc with
12359         indirect-function support.
12360         * INSTALL: Regenerated.
12362 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
12364         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
12365         macro.
12366         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12367         (__iseqsig): New declaration.
12368         * math/s_iseqsig_template.c: New file.
12369         * math/Versions (__iseqsigf): New libm symbol at version
12370         GLIBC_2.25.
12371         (__iseqsig): Likewise.
12372         (__iseqsigl): Likewise.
12373         * math/libm-test.inc (iseqsig_test_data): New array.
12374         (iseqsig_test): New function.
12375         (main): Call iseqsig_test.
12376         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
12377         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
12378         * manual/libm-err-tab.pl: Update comment on interfaces without
12379         ulps tabulated.
12380         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
12381         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
12382         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
12383         * sysdeps/nacl/libm.abilist: Update.
12384         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12385         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12386         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12387         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12388         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12389         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12390         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12391         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12392         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12393         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12394         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12395         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12397         Likewise.
12398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12399         Likewise.
12400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12401         Likewise.
12402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12403         Likewise.
12404         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12405         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12406         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12407         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12408         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12410         Likewise.
12411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12412         Likewise.
12413         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12414         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12415         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12417 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12419         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
12420         do_sincos_2, sloww, sloww1): Update comments.
12422         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
12423         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
12425         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
12426         K boolean and rename it.
12427         (__sin): Adjust.
12428         (__cos): Adjust.
12430 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12431             Siddhesh Poyarekar  <siddhesh@sourceware.org>
12433         * manual/nss.texi: Fix typos in the manual.
12435 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12437         * manual/contrib.texi: Fix typos in the manual.
12439         * manual/maint.texi: Fix typos in the manual.
12441         * manual/install.texi: Fix typos in the manual.
12442         * INSTALL: Regenerated.
12444         * manual/lang.texi: Fix typos in the manual.
12446         * manual/probes.texi: Fix typos in the manual.
12448         * manual/threads.texi: Fix typos in the manual.
12450         * manual/debug.texi: Fix typos in the manual.
12452         * manual/crypt.texi: Fix typos in the manual.
12454         * manual/conf.texi: Fix typos in the manual.
12456         * manual/sysinfo.texi: Fix typos in the manual.
12458         * manual/users.texi: Fix typos in the manual.
12460         * manual/job.texi: Fix typos in the manual.
12462         * manual/process.texi: Fix typos in the manual.
12464         * manual/argp.texi: Fix typos in the manual.
12465         * manual/getopt.texi: Likewise.
12466         * manual/startup.texi: Likewise.
12468         * manual/signal.texi: Fix typos in the manual.
12470         * manual/setjmp.texi: Fix typos in the manual.
12472         * manual/resource.texi: Fix typos in the manual.
12474         * manual/time.texi: Fix typos in the manual.
12476         * manual/arith.texi: Fix typos in the manual.
12478         * manual/math.texi: Fix typos in the manual.
12480         * manual/syslog.texi: Fix typos in the manual.
12482         * manual/terminal.texi: Fix typos in the manual.
12484         * manual/socket.texi: Fix typos in the manual.
12486         * manual/filesys.texi: Fix typos in the manual.
12488         * manual/llio.texi: Fix typos in the manual.
12490         * manual/stdio.text: Fix typos in the manual.
12492 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12494         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
12495         instead of K1.
12497         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
12498         SHIFT_QUADRANT and make it bool.
12499         (do_sincos_2): Likewise.
12500         (sloww): Likewise.
12501         (sloww1): Likewise.
12502         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
12503         (__cos): Likewise.
12505 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12507         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12509 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
12511         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
12512         Define to __WORDSIZE, not conditional on [LONG_MAX ==
12513         0x7fffffffL].
12514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12516 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12518         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
12519         inline by __inline__.
12520         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
12521         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
12522         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
12523         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
12524         sigset_t from signal.h.
12525         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
12526         which is already required.
12528 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
12530         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12532 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
12534         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
12535         (struct tcp_repair_window): New type.
12537 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12539         * libio/tst-memstream3.c: Include string.h.
12541 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12543         [BZ #18241]
12544         [BZ #20181]
12545         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
12546         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
12547         write position is at the end the buffer.
12548         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
12549         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
12550         (_IO_str_seekoff): Set correct offset from negative displacement and
12551         set EINVAL for invalid ones.
12552         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
12553         buffer length.
12554         (_IO_wstr_switch_to_get_mode): New function.
12555         (_IO_wstr_seekoff): Set correct offset from negative displacement and
12556         set EINVAL for invalid ones.
12557         * libio/tst-memstream3.c: New file.
12558         * libio/tst-wmemstream3.c: Likewise.
12559         * manual/examples/memstrm.c: Remove warning when priting size_t.
12561 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12563         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12564         macro to use __builtin_fma.
12565         * sysdeps/x86_64/fpu/dla.h: Remove file.
12567         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12568         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12569         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12571 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12573         [BZ #20292]
12574         * elf/Makefile (routines): Add dl-addr-obj.
12575         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12576         tst-_dl_addr_inside_object.
12577         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12578         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12579         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12580         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12581         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12582         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12583         * elf/dl-open.c: Likewise.
12584         * elf/dl-addr-obj.c: New file.
12585         * elf/tst-_dl_addr_inside_object.c: New file.
12587 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12589         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12590         <bits/iscanonical.h>.
12591         * bits/iscanonical.h: New file.
12592         * math/s_iscanonicall.c: Likewise.
12593         * math/Versions (__iscanonicall): New libm symbol at version
12594         GLIBC_2.25.
12595         * math/libm-test.inc (iscanonical_test_data): New array.
12596         (iscanonical_test): New function.
12597         (main): Call iscanonical_test.
12598         * math/Makefile (headers): Add bits/iscanonical.h.
12599         (type-ldouble-routines): Add s_iscanonicall.
12600         * manual/arith.texi (Floating Point Classes): Document
12601         iscanonical.
12602         * manual/libm-err-tab.pl: Update comment on interfaces without
12603         ulps tabulated.
12604         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12605         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12606         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12607         Likewise.
12608         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12609         test-iscanonical-ldbl-128ibm.
12610         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12611         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12612         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12613         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12614         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12615         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12616         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12618         Likewise.
12619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12620         Likewise.
12621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12622         Likewise.
12623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12624         Likewise.
12625         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12626         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12628 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12630         * string/bits/string3.h: Remove C++ style comments.
12632 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12634         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
12635         instead of ternary condition.
12636         (do_sincos_2): Likewise.
12637         (__sin): Likewise.
12638         (__cos): Likewise.
12639         (slow): Likewise.
12640         (sloww): Likewise.
12641         (sloww1): Likewise.
12642         (bsloww): Likewise.
12643         (bsloww1): Likewise.
12645         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
12646         instead of ternary condition.
12647         (do_sin_slow): Likewise.
12648         (do_sincos_1): Likewise.
12649         (do_sincos_2): Likewise.
12650         (__cos): Likewise.
12651         (sloww): Likewise.
12652         (sloww1): Likewise.
12653         (sloww2): Likewise.
12654         (bsloww): Likewise.
12655         (bsloww1): Likewise.
12656         (bsloww2): Likewise.
12658         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
12659         check from here...
12660         (slow2): ... and here...
12661         (__sin): ... to here.
12663 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
12665         * math/math.h
12666         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12667         Cast argument to its own type.
12668         * math/test-iszero-excess-precision.c: New file.
12669         * math/Makefile (tests): Add test-iszero-excess-precision.
12670         (CFLAGS-test-iszero-excess-precision.c): New variable.
12672 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
12674         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
12675         field, add err field.
12676         (__spawni_child): Report error through err member instead of pipe.
12677         (__spawnix): Likewise.
12679 2016-09-28  Zack Weinberg  <zackw@panix.com>
12681         * scripts/check-installed-headers.sh: Generalize treatment of
12682         sys/elf.h to all target architectures.
12684         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
12685         deleted typedef ucontext_t.
12687 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12689         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
12690         (__INTERNAL_SYSCALL1): Likewise.
12691         (__INTERNAL_SYSCALL2): Likewise.
12692         (__INTERNAL_SYSCALL3): Likewise.
12693         (__INTERNAL_SYSCALL4): Likewise.
12694         (__INTERNAL_SYSCALL5): Likewise.
12695         (__INTERNAL_SYSCALL6): Likewise.
12696         (__INTERNAL_SYSCALL7): Likewise.
12697         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
12698         (__INTERNAL_SYSCALL_NARGS): Likewise.
12699         (__INTERNAL_SYSCALL_DISP): Likewise.
12700         (INTERNAL_SYSCALL_CALL): Likewise.
12701         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
12702         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
12703         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
12704         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
12705         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
12706         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
12707         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
12708         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
12709         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
12710         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
12711         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
12712         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
12713         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
12715 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
12717         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
12718         macro.
12719         * math/libm-test.inc (iszero_test_data): New array.
12720         (iszero_test): New function.
12721         (main): Call iszero_test.
12722         * manual/arith.texi (Floating Point Classes): Document iszero.
12723         * manual/libm-err-tab.pl: Update comment on interfaces without
12724         ulps tabulated.
12726 2016-09-23  Zack Weinberg  <zackw@panix.com>
12728         * scripts/check-installed-headers.sh: New script.
12729         * Rules: In each directory that defines header files to be installed,
12730         run check-installed-headers.sh on them as a special test.
12731         * Makefile: Likewise for the headers installed at top level.
12733         * include/aliases.h, include/alloca.h, include/argz.h
12734         * include/arpa/nameser.h, include/arpa/nameser_compat.h
12735         * include/elf.h, include/envz.h, include/err.h
12736         * include/execinfo.h, include/fpu_control.h, include/getopt.h
12737         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
12738         * include/link.h, include/malloc.h, include/mcheck.h
12739         * include/mntent.h, include/netinet/ether.h
12740         * include/nss.h, include/obstack.h, include/printf.h
12741         * include/pty.h, include/resolv.h, include/rpc/auth.h
12742         * include/rpc/auth_des.h, include/rpc/auth_unix.h
12743         * include/rpc/clnt.h, include/rpc/des_crypt.h
12744         * include/rpc/key_prot.h, include/rpc/netdb.h
12745         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
12746         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
12747         * include/rpc/rpc_msg.h, include/rpc/svc.h
12748         * include/rpc/svc_auth.h, include/rpc/xdr.h
12749         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
12750         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
12751         * include/rpcsvc/ypupd.h, include/shadow.h
12752         * include/stdio_ext.h, include/sys/epoll.h
12753         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
12754         * include/sys/prctl.h, include/sys/profil.h
12755         * include/sys/statfs.h, include/sys/sysctl.h
12756         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
12757         * sysdeps/arm/nacl/include/bits/setjmp.h
12758         * sysdeps/mips/include/sys/asm.h
12759         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
12760         * sysdeps/unix/sysv/linux/include/sys/timex.h
12761         * sysdeps/x86/fpu/include/bits/fenv.h:
12762         Add #ifndef _ISOMAC guard around internal declarations.
12763         Add multiple-inclusion guard if not already present.
12765 2016-09-23  Zack Weinberg  <zackw@panix.com>
12767         * sysdeps/generic/sys/ucontext.h
12768         * sysdeps/arm/sys/ucontext.h
12769         * sysdeps/i386/sys/ucontext.h
12770         * sysdeps/m68k/sys/ucontext.h
12771         * sysdeps/mips/sys/ucontext.h
12772         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
12773         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
12774         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
12775         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
12776         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
12777         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
12778         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
12779         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
12780         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
12781         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
12782         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
12783         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
12784         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
12785         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
12786         Include both bits/sigcontext.h and bits/sigstack.h.
12787         Fix grammar error in comment, if present.
12789         * bits/sigstack.h
12790         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
12791         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
12792         * sysdeps/unix/sysv/linux/bits/sigstack.h
12793         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
12794         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
12795         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
12796         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
12797         * bits/sigcontext.h
12798         * sysdeps/mach/hurd/i386/bits/sigcontext.h
12799         * sysdeps/unix/sysv/linux/bits/sigcontext.h
12800         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
12801         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
12802         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
12803         as well as signal.h, if this was not already allowed.  Request
12804         definition of size_t if necessary.  Minimize semantically-null
12805         differences across files.
12807 2016-09-23  Zack Weinberg  <zackw@panix.com>
12809         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
12810         Remove all logic conditional on __need macros.  Move all the
12811         conditionally defined types to their own headers...
12812         * time/bits/types/clock_t.h: Define clock_t here.
12813         * time/bits/types/clockid_t.h: Define clockid_t here.
12814         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
12815         * time/bits/types/struct_timespec.h: Define struct timespec here.
12816         * time/bits/types/struct_timeval.h: Define struct timeval here.
12817         * time/bits/types/struct_tm.h: Define struct tm here.
12818         * time/bits/types/time_t.h: Define time_t here.
12819         * time/bits/types/timer_t.h: Define timer_t here.
12820         * time/Makefile: Install the new headers.
12822         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
12823         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
12824         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
12825         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
12826         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
12827         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
12828         * sysdeps/unix/sysv/linux/bits/resource.h
12829         * sysdeps/unix/sysv/linux/bits/timex.h
12830         * sysdeps/unix/sysv/linux/mips/bits/resource.h
12831         * sysdeps/unix/sysv/linux/net/ppp_defs.h
12832         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
12833         * sysdeps/unix/sysv/linux/sys/acct.h
12834         * sysdeps/unix/sysv/linux/sys/timerfd.h
12835         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
12836         * time/sys/time.h, time/sys/timeb.h
12837         Use the new bits/types headers.
12839         * include/time.h: Remove __need logic.
12840         * include/bits/time.h
12841         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
12842         * include/bits/types/time_t.h, include/bits/types/timer_t.h
12843         * include/bits/types/struct_itimerspec.h
12844         * include/bits/types/struct_timespec.h
12845         * include/bits/types/struct_timeval.h
12846         * include/bits/types/struct_tm.h:
12847         New wrapper headers.
12849 2016-09-23  Zack Weinberg  <zackw@panix.com>
12851         * sysdeps/mach/hurd/net/if_ppp.h
12852         * sysdeps/unix/sysv/linux/net/if_ppp.h:
12853         Only define struct ifpppstatsreq and struct ifpppcstatsreq
12854         if __USE_MISC is defined, to ensure struct ifreq is declared.
12856         * inet/netinet/ether.h: Condition all function prototypes
12857         on __USE_MISC, to ensure struct ether_addr is declared.
12859         * socket/bits/types/struct_osockaddr.h: New header.
12860         * include/bits/types/struct_osockaddr.h: New wrapper.
12861         * socket/Makefile: Install the new header.
12862         * socket/sys/socket.h, inet/protocols/talkd.h:
12863         Refer to bits/types/struct_osockaddr.h for the definition of
12864         struct osockaddr.
12866 2016-09-23  Zack Weinberg  <zackw@panix.com>
12868         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
12869         * inet/protocols/routed.h, inet/protocols/talkd.h
12870         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
12871         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
12872         * sysdeps/generic/netinet/if_ether.h
12873         * sysdeps/generic/netinet/in_systm.h
12874         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
12875         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12876         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
12877         * sysdeps/mach/hurd/net/if_arp.h
12878         * sysdeps/mach/hurd/net/if_ppp.h
12879         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
12880         * sysdeps/unix/sysv/linux/bits/in.h
12881         * sysdeps/unix/sysv/linux/net/ethernet.h
12882         * sysdeps/unix/sysv/linux/net/if_arp.h
12883         * sysdeps/unix/sysv/linux/net/if_ppp.h
12884         * sysdeps/unix/sysv/linux/net/if_shaper.h
12885         * sysdeps/unix/sysv/linux/net/route.h
12886         * sysdeps/unix/sysv/linux/netinet/if_ether.h
12887         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12888         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12889         * sysdeps/unix/sysv/linux/netipx/ipx.h
12890         * sysdeps/unix/sysv/linux/sys/acct.h
12891         * include/arpa/nameser.h, include/resolv.h:
12892         Change all uses of u_char to unsigned char,
12893         u_short and ushort to unsigned short, u_int and uint to unsigned int,
12894         u_long and ulong to unsigned long, u_int8_t to uint8_t,
12895         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
12896         and u_int64_t and u_quad_t to uint64_t.
12898         * mach/sys/reboot.h: Remove two casts of integer literals
12899         to the types they already have.
12901         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
12902         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
12903         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
12904         from referring to 'unsigned char' to 'uint8_t' for consistency with
12905         the macro definition below.
12907         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
12908         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
12909         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
12910         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
12911         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
12912         * sysdeps/unix/sysv/linux/sys/acct.h
12913         * include/arpa/nameser.h, include/resolv.h:
12914         Fix indentation disrupted by mechanical edits.
12916         * inet/protocols/talkd.h, resolv/arpa/nameser.h
12917         * sysdeps/generic/netinet/in_systm.h
12918         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12919         * sysdeps/gnu/netinet/udp.h
12920         * sysdeps/unix/sysv/linux/net/ethernet.h
12921         * sysdeps/unix/sysv/linux/net/if_arp.h
12922         * sysdeps/unix/sysv/linux/net/if_ppp.h
12923         * sysdeps/unix/sysv/linux/net/if_shaper.h
12924         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12925         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12926         * sysdeps/unix/sysv/linux/netipx/ipx.h
12927         * sysdeps/unix/sysv/linux/sys/acct.h
12928         Include stdint.h for uintNN_t definitions.
12929         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
12931 2016-09-23  Zack Weinberg  <zackw@panix.com>
12933         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
12934         * sysdeps/unix/sysv/linux/netrose/rose.h:
12935         Include sys/socket.h and netax25/ax25.h.
12937         * inet/netinet/icmp6.h, inet/netinet/ip6.h
12938         * resolv/arpa/nameser_compat.h:
12939         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
12941         * sysdeps/unix/sysv/linux/sys/quota.h:
12942         Use __caddr_t instead of caddr_t.
12943         * sysdeps/unix/sysv/linux/sys/timerfd.h:
12944         Use __clockid_t instead of clockid_t.
12946         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
12948         * argp/argp.h: Check whether _LIBC is defined before expanding it.
12949         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
12950         expanding it.
12952         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
12953         Define __glibc_c99_flexarr_available to 1 when the compiler
12954         supports C99-compatible flexible array members, 0 otherwise.
12955         * sysdeps/unix/sysv/linux/bits/socket.h
12956         * sysdeps/mach/hurd/bits/socket.h
12957         * bits/socket.h: Use __glibc_c99_flexarr_available in
12958         definitions of struct cmsghdr and CMSG_DATA.
12960 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12962         * manual/nss.texi (NSS Modules Interface): Adjust function return
12963         type to enum nss_status.  Document errnop argument.  Clarify
12964         h_errnop semantics.  Fix cross-reference formatting.
12965         (NSS Module Function Internals): Mention that *errnop needs to be
12966         set on failure, but not to zero.
12968 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12970         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
12971         (get_random_name): New functions.
12972         (check_wrapper_flags_mode): Use linkat to give the new file a name
12973         determined by get_random_name.
12974         (do_test): Add calls to test open64 and openat64.
12976 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12978         * test-skeleton.c: Remove #include <stdarg.h>.
12980 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
12982         [BZ #19826]
12983         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
12984         initialization of static TLS entries.
12985         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
12986         * nptl/allocatestack.c (init_one_static_tls): Likewise.
12988 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12990         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
12991         _hurd_malloc_fork_prepare.
12992         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
12993         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
12994         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
12995         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
12996         (_hurd_fork_child_hook): Drop malloc_fork_child.
12997         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
12998         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
12999         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13000         after locking locks (notably hurd_dtable_lock). Call
13001         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13002         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13003         __malloc_fork_unlock_child.
13004         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13006 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13008         * soft-fp/extendhftf2.c: New.
13009         * soft-fp/fixhfti.c: Likewise.
13010         * soft-fp/fixunshfti.c: Likewise.
13011         * soft-fp/floattihf.c: Likewise.
13012         * soft-fp/floatuntihf.c: Likewise.
13013         * soft-fp/half.h: Likewise.
13014         * soft-fp/trunctfhf2.c: Likewise.
13016 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13018         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13019         macro.
13020         * math/libm-test.inc (issubnormal_test_data): New array.
13021         (issubnormal_test): New function.
13022         * manual/arith.texi (Floating Point Classes): Document
13023         issubnormal.
13024         * manual/libm-err-tab.pl: Update comment on interfaces without
13025         ulps tabulated.
13027         * sysdeps/generic/stdint.h: Define
13028         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13029         <bits/libc-header-start.h> instead of including <features.h>.
13030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13050         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13053         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13056         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13059         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13061         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13062         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13063         * manual/arith.texi (Integers): Document these macros for types
13064         specified by width properties.
13065         * manual/lang.texi (Width of Type): Document these macros for
13066         other standard typedefs.
13067         * stdlib/tst-width-stdint.c: New file.
13068         * stdlib/Makefile (tests): Add tst-width-stdint.
13070 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13072         [BZ #20016]
13073         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13074         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13075         Move ...
13076         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13077         ... here, as compatibility symbols in a new file.
13078         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13079         * resolv/res_init.c (__res_vinit): Adjust member names.
13080         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13081         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13082         (res_send_rhook): Remove.
13083         (struct __res_state): Rename qhook, rhook members.
13085 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13087         malloc: Use __libc_lock wrappers.
13088         * malloc/arena.c (list_lock, free_list_lock): Define using
13089         __libc_lock_define_initialized.
13090         (arena_lock): Adjust formatting.
13091         * malloc/malloc.c (struct malloc_state): Define mutex using
13092         __libc_lock_define.
13093         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13094         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13095         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13096         (mutex_unlock, mutex_trylock): Remove.
13097         (__pthread_initialize): Remove unused macro.
13098         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13099         (mutex_unlock, mutex_trylock): Remove.
13101 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13103         [BZ #20592]
13104         Remove RR type classification macros.
13105         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13106         (ns_t_udp_p, ns_t_xfr_p): Remove.
13108 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13110         Remove misleading version information.
13111         * resolv/arpa/nameser.h (__NAMESER): Remove.
13112         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13114 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13116         Remove the always-defined BIND_4_COMPAT macro.
13117         * resolv/arpa/nameser.h: Unconditionally include
13118         <arpa/nameser_compat.h>.
13119         (BIND_4_COMPAT): Remove.
13120         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13122 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13124         [BZ #20591]
13125         Remove obsolete DNSSEC support.
13126         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13127         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13128         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13129         (ns_verify_tcp, ns_verify_tcp_init): Remove.
13130         (ns_cert_types): Add comment.
13131         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13132         separately.
13133         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13134         (dst_s_dns_key_id): Remove.
13135         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13136         variables.
13138 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13140         [BZ #20524]
13141         * manual/string.texi (String/Array Comparison): Clarify the
13142         strverscmp behavior.
13144 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13146         * test-skeleton.c (xasprintf): Add function.
13147         * io/tst-open-tmpfile.c: New test.
13148         * io/Makefile (tests): Add it.
13150 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13152         Avoid running $(CXX) during build to obtain header file paths.
13153         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13154         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13155         * Makerules (cstdlib, cmath): Remove variables.  Use
13156         $(c++-cstdlib-header), $(c++-cmath-header) instead.
13157         * configure: Regenerate.
13159 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13161         * Makeconfig (all-object-suffixes): Include .op only if
13162         $(build-profile).
13164 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13166         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13167         conditionals.  Do not define PATH_MAX.
13169 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13171         * posix/Makefile (tests): Add tst-spawn3.
13172         * posix/tst-spawn3.c: New file.
13173         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13174         if it is already opened for open action.
13176         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13177         all signals when executing the clone vfork child.
13178         (SIGALL_SET): Remove macro.
13180         * nptl/Makefile (tests): Add tst-exec5.
13181         * nptl/tst-exec5.c: New file.
13182         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13183         asynchronous cancellation.
13185 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13187         * hurd/exc2signal.c: #include <hurd/signal.h>
13188         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13189         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
13190         accordingly.
13191         * mach/mach_error.c (mach_error): Fix old-style function definition.
13192         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13194 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13196         * math/Makefile (libm-calls): Remove s_nanF.
13197         (gen-libm-calls): Add s_nanF.
13199         * math/s_nan.c: Refactor into ...
13200         * math/s_nan_template.c: New file.
13202         * math/s_nanf.c: Removed.
13203         * math/s_nanl.c: Removed.
13204         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13205         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13207         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13208         (LDOUBLE_nanl_libm_version): New macro.
13210         * sysdeps/generic/math-type-macros-double.h:
13211         (M_STRTO_NAN): New macro.
13212         * sysdeps/generic/math-type-macros-float.h: Likewise.
13213         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13215         * sysdeps/generic/math-type-macros.h: Document
13216         M_STRTO_NAN.
13218 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13220         * math/s_nanf.c: Remove __nanf undef.
13221         * math/s_nan.c: Remove __nan undef.
13222         * math/s_nanl.c: Remove __nanl undef.
13224         * sysdeps/generic/math_private.h (__nan): Remove macro
13225         override.
13226         (__nanf): Likewise.
13227         (__nanl): Likewise.
13229 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13231         * math/Makefile (gen-all-calls): New variable.
13232         (generated): Replace gen-libm-calls with gen-all-calls.
13233         (gen-libm-templates.stmp): Likewise.  Also, ensure
13234         the output directory exists or is created and add
13235         dependency on the Makefile.
13236         (calls): Move s_ldexpF into gen-calls.
13237         (gen-calls): New variable.
13239         * math/s_ldexpf.c: Removed.
13240         * math/s_ldexpl.c: Removed.
13241         * math/s_ldexp.c: Refactored into ...
13242         * math/s_ldexp_template.c: New file.
13244         * sysdeps/generic/math-type-macros-double.h: Remove
13245         redundant fall-through definition of declare_mgen_alias.
13246         (declare_mgen_alias_2): New macro.
13248         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
13249         New macro for function aliased to two exported symbols.
13251         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
13252         new template file.
13253         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13255 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13257         * Makeconfig (all-object-suffixes): Remove .og.
13258         * Makerules (elide-routines.og): Remove.
13259         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
13260         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
13261         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
13263 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13265         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
13266         .os objects.
13268 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13270         [BZ #20615]
13271         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
13272         fpu directory by non-fpu.
13273         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
13274         on non-fpu directory from a fpu directory.
13276 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
13278         * include/limits.h: Define
13279         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13280         <bits/libc-header-start.h> instead of including <features.h>.
13281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
13282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
13283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
13284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
13285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
13286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
13287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
13288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
13289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
13291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
13292         * manual/lang.texi (Width of Type): Document these macros.
13293         * stdlib/tst-width.c: New file.
13294         * stdlib/Makefile (tests): Add tst-width.
13296 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13298         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
13299         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
13301 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13303         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
13304         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13305         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13307 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13309         [BZ #18243]
13310         * rt/Makefile (test): Add tst-shm-cancel.
13311         * rt/tst-shm-cancel.c: New file.
13312         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
13314         [BZ #18243]
13315         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
13316         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
13317         definition.
13318         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
13319         uncontended case.
13320         * nptl/sem_wait.c (__new_sem_wait): Likewise.
13321         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
13322         (tf): Fix check for uncontended case.
13323         (do_test): Likewise.
13324         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
13325         (tf): Fix check for uncontended case.
13326         (do_test): Likewise.
13327         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
13328         (tf): Fix check for uncontended case.
13329         (do_test): Likewise.
13330         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
13331         (tf): Fix check for uncontended case.
13332         (do_test): Likewise.
13334         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
13335         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
13337         [BZ #15765]
13338         * nptl/Makefile (tests): Add tst-sem16.
13339         * nptl/tst-sem16.c: New file.
13340         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
13342         * nptl/sem_open.c (sem_open): Init pad value to 0.
13343         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13344         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13346 2016-09-15  Florian Weimer  <fweimer@redhat.com>
13348         [BZ #20611]
13349         * inet/Makefile (routines): Add inet6_scopeid_pton.
13350         (tests): Add tst-inet6_scopeid_pton.
13351         * inet/inet6_scopeid_pton.c: New file.
13352         * inet/net-internal.h: Likewise.
13353         * inet/tst-inet6_scopeid_pton.c: New test.
13354         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
13355         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
13356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13358 2016-09-14  Florian Weimer  <fweimer@redhat.com>
13360         Remove support for compiling wrappers with PTW.
13361         * sysdeps/nptl/Makeconfig: Drop ptw- support.
13362         * nptl/Makefile (pthread-compat-wrappers): Define.
13363         (libpthread-routines): Use pthread-compat-wrappers.
13364         * sysdeps/unix/sysv/linux/alpha/Makefile
13365         (libpthread-routines, libpthread-shared-only-routines): Remove
13366         ptw- prefix.
13367         * sysdeps/s390/nptl/Makefile
13368         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13369         * sysdeps/ia64/nptl/Makefile
13370         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13371         * sysdeps/nacl/Makefile (libpthread-routines): Use
13372         pthread-compat-wrappers to filter the routines list instead of the
13373         ptw- prefix.
13375 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13377         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
13378         with L() and remove explicit suffix, convert real literals
13379         which can be equivalentally substituted with integers, and
13380         transform -L(x) to L(-x).
13382         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13383         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13384         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13385         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13386         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13387         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13388         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13389         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13390         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13391         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13392         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13393         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13394         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13395         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13396         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13397         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13398         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13399         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13400         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13401         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13402         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13403         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13404         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13405         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13406         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13407         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13408         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13409         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13410         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13411         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13412         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13413         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13414         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13415         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13416         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13417         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13418         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13419         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13420         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13421         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13422         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13423         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13424         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13425         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13426         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13427         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13428         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13429         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13430         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13431         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13433 2016-09-13  Florian Weimer  <fweimer@redhat.com>
13435         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
13437 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13439         * malloc/Makefile (tests): Remove individual static test names
13440         and just add all of tests-static.
13442         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
13444 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
13446         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
13447         file.
13449         * sysdeps/sparc/fpu/fegetmode.c: New file.
13450         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
13452         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
13453         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
13455         * sysdeps/s390/fpu/fegetmode.c: New file.
13456         * sysdeps/s390/fpu/fesetmode.c: Likewise.
13458         * sysdeps/powerpc/fpu/fegetmode.c: New file.
13459         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
13460         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
13461         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
13462         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
13463         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
13465         * sysdeps/mips/fpu/fegetmode.c: New file.
13466         * sysdeps/mips/fpu/fesetmode.c: Likewise.
13468         * sysdeps/m68k/fpu/fegetmode.c: New file.
13469         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
13471         * sysdeps/ia64/fpu/fegetmode.c: New file.
13472         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
13474         * sysdeps/hppa/fpu/fegetmode.c: New file.
13475         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
13477         * sysdeps/arm/fegetmode.c: New file.
13478         * sysdeps/arm/fesetmode.c: Likewise.
13480         * sysdeps/alpha/fpu/fegetmode.c: New file.
13481         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
13483         * sysdeps/aarch64/fpu/fegetmode.c: New file.
13484         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
13486         * math/fegetmode.c: New file.
13487         * math/fesetmode.c: Likewise.
13488         * sysdeps/i386/fpu/fegetmode.c: Likewise.
13489         * sysdeps/i386/fpu/fesetmode.c: Likewise.
13490         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
13491         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
13492         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
13493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
13494         declaration.
13495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
13496         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
13497         typedef.
13498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13499         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13500         (femode_t): New typedef.
13501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13502         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13503         (femode_t): New typedef.
13504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13505         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13506         (femode_t): New typedef.
13507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13508         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13509         (femode_t): New typedef.
13510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13511         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13512         (femode_t): New typedef.
13513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13514         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13515         (femode_t): New typedef.
13516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13517         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13518         (femode_t): New typedef.
13519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13520         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13521         (femode_t): New typedef.
13522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13523         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13524         (femode_t): New typedef.
13525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13526         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13527         (femode_t): New typedef.
13528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
13529         declaration.
13530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13531         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13532         (femode_t): New typedef.
13533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13534         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13535         (femode_t): New typedef.
13536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13537         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13538         (femode_t): New typedef.
13539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13540         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13541         (femode_t): New typedef.
13542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13543         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13544         (femode_t): New typedef.
13545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13546         * manual/arith.texi (FE_DFL_MODE): Document macro.
13547         (fegetmode): Document function.
13548         (fesetmode): Likewise.
13549         * math/Versions (fegetmode): New libm symbol at version
13550         GLIBC_2.25.
13551         (fesetmode): Likewise.
13552         * math/Makefile (libm-support): Add fegetmode and fesetmode.
13553         (tests): Add test-femode and test-femode-traps.
13554         * math/test-femode-traps.c: New file.
13555         * math/test-femode.c: Likewise.
13556         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
13557         alias for __fe_dfl_env.
13558         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
13559         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
13560         (__fe_dfl_mode): Likewise.
13561         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13562         version GLIBC_2.25.
13563         * sysdeps/nacl/libm.abilist: Update.
13564         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13565         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13566         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13567         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13568         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13569         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13570         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13571         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13572         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13573         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13574         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13575         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13577         Likewise.
13578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13579         Likewise.
13580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13581         Likewise.
13582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13583         Likewise.
13584         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13585         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13586         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13587         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13588         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13590         Likewise.
13591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13592         Likewise.
13593         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13594         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13595         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13597 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13599         [BZ #20495]
13600         [BZ #20508]
13601         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13602         processors, set Use_dl_runtime_resolve_slow and set
13603         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13604         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13605         New.
13606         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13607         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13608         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13609         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13610         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13611         if Use_dl_runtime_resolve_opt is set.  Use
13612         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13613         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13614         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
13615         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13616         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13617         New.
13618         (_dl_runtime_resolve_opt): Likewise.
13619         (_dl_runtime_profile): Define only if _dl_runtime_profile is
13620         defined.
13622 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13624         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
13625         __libc_memalign with "+ RELA R_390_GLOB_DAT".
13627 2016-09-06  Florian Weimer  <fweimer@redhat.com>
13629         Convert malloc to __libc_lock.  Automated part, using this Perl
13630         s/// command:
13631           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
13632             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
13633         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
13634         conversion.
13636 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
13638         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
13639         (linknamespace-symlists-tests): Likewise.
13640         (linknamespace-header-tests): Likewise.
13642 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
13644         [BZ #19810]
13645         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
13646         * elf/tst-noload.c: New test case.
13647         * elf/Makefile (tests): Add tst-noload.
13649 2016-09-02  Roland McGrath  <roland@hack.frob.com>
13651         * sysdeps/nacl/dup.c: Add libc_hidden_def.
13653         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
13654         not any more.
13656         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
13658 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13660         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
13661         (do_cos_slow): Likewise.
13662         (do_sin): Likewise.
13663         (do_sin_slow): Likewise.
13664         (slow): Likewise.
13665         (slow1): Likewise.
13666         (slow2): Likewise.
13667         (sloww): Likewise.
13668         (sloww1): Likewise.
13669         (sloww2): Likewise.
13670         (bsloww): Likewise.
13671         (bsloww1): Likewise.
13672         (bsloww2): Likewise.
13673         (cslow2): Likewise.
13675         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
13677         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
13678         arguments.  Consolidate input partitioning from callers here.
13679         (do_cos_slow): Likewise.
13680         (do_sin): Likewise.
13681         (do_sin_slow): Likewise.
13682         (do_sincos_1): Remove the no longer necessary input partitioning.
13683         (do_sincos_2): Likewise.
13684         (__sin): Likewise.
13685         (__cos): Likewise.
13686         (slow1): Likewise.
13687         (slow2): Likewise.
13688         (sloww1): Likewise.
13689         (sloww2): Likewise.
13690         (bsloww1): Likewise.
13691         (bsloww2): Likewise.
13692         (cslow2): Likewise.
13694 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13696         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
13697         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
13698         outside of allocated array.
13700 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13702         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
13703         instead of MB_CUR_MAX to avoid variable-length array.
13705 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13707         * math/Makefile (libm-calls): Remove k_rem_pio2F.
13708         (type-double-routines): Add k_rem_pio2.
13709         (type-float-routines): Add k_rem_pio2f.
13711         * sysdeps/generic/math_private.h:
13712         (__kernel_rem_pio2l): Removed.
13714         * math/k_rem_pio2l.c: Removed.
13715         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
13716         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
13717         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
13718         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
13720 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13722         * math/Makefile (gen-libm-calls): Add s_fmin
13723         (libm-calls): Remove above.
13725         * math/s_fmin.c: Refactor into ...
13726         * math/s_fmin_template.c: New file.
13728         * math/s_fminf.c: Removed.
13729         * math/s_fminl.c: Removed.
13730         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13731         (LDOUBLE_fmin_libm_version): New macro.
13733         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
13734         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
13736 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13738         * math/Makefile: (gen-libm-calls): Add s_fmax.
13739         (libm-calls): Remove above.
13741         * math/s_fmax.c: Refactor into ...
13742         * math/s_fmax_template.c: New file.
13743         * math/s_fmaxf.c: Removed.
13744         * math/s_fmaxl.c: Removed.
13746         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13747         (LDOUBLE_fmaxl_libm_version): New macro.
13749         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
13750         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
13752         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
13753         s_fmin.c to pick the aarch64 version of the file.
13754         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
13755         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
13757 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13759         * math/Makefile: (gen-libm-calls): Add s_nextdown.
13760         (libm-calls): Remove above.
13762         * math/s_nextdown.c: Refactor into ...
13763         * math/s_nextdown_template.c: New file.
13764         * math/s_nextdownf.c: Removed.
13765         * math/s_nextdownl.c: Removed.
13767         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13769 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13771         * math/Makefile (gen-libm-calls): Add s_fdim.
13772         (libm-calls): Move to above.
13774         * math/s_fdim.c: Renamed and refactored into to ...
13775         * math/s_fdim_template.c: New file.
13776         * math/s_fdiml.c: Removed.
13777         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
13778         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
13780         * sysdeps/generic/math-type-macros-double.h:
13781         (declare_mgen_alias): Don't declare if already declared.
13782         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
13783         Likewise.
13785         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13786         (declare_mgen_alias): Don't declare if already declared.
13787         (M_LIBM_NEED_COMPAT): Likewise.
13788         (declare_mgen_libm_compat): Likewise.
13789         (LDOUBLE_fdiml_libm_version): New macro.
13791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13792         Include math/s_fdim.c now that ldbl-opt version is not needed.
13793         (declare_mgen_alias): New macro to disable aliasing.
13795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
13796         (declare_mgen_alias): Likewise.
13797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
13798         (declare_mgen_alias): Likewise.
13799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
13800         (declare_mgen_alias): Likewise.
13801         (M_LIBM_NEED_COMPAT): Likewise.
13803 2016-09-01  Florian Weimer  <fweimer@redhat.com>
13805         [BZ #20525]
13806         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
13807         Include <linux/quota.h>.
13808         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
13809         and btodb.
13810         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
13811         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
13812         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
13813         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
13814         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
13815         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
13816         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
13817         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
13818         types.
13819         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
13820         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
13822 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13824         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
13825         (gammal_positive): Fix spacing.
13826         (__ieee754_gammal_r): Likewise.
13828 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13830         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
13831         (_Float128): Define as long double, always.
13832         (L): Apply long double type suffix, always.
13834         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
13835         _Float128, excepting comments.
13837         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13838         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13839         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13840         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13841         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13842         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13843         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13845         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13846         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
13847         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13848         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13849         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13850         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13851         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13852         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13853         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13854         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13855         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13856         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13857         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13858         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13859         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13860         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13861         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13862         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13863         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13864         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13865         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13866         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13867         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13868         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13869         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13870         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13871         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13872         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13873         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13874         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13875         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13876         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13877         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13878         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13879         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13880         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13881         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13882         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13883         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13884         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13885         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13886         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13887         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13888         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13889         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13890         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13891         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13892         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13893         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13894         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13895         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13896         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13897         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13898         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13899         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13900         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13901         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13902         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13903         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13904         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13906         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
13907         _Float128, and include math_private.h.
13908         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13910         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
13911         long double semantics.
13912         (_Float128): Likewise.
13913         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
13914         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13915         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13916         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13918 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13920         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
13921         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
13922         * sysdeps/s390/configure: Regenerated.
13923         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
13924         instruction for raising over-/underflow if z196 zarch is supported
13925         by default.
13926         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
13928 2016-08-30  Svante Signell  <svante.signell@gmail.com>
13930         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
13931         it point to a dumb buffer for RPC to fill it.
13933 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13935         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
13936         instead of if/else.
13937         (do_sin_slow): Likewise.
13938         (do_sincos_1): Use fabs instead of if/else.
13939         (do_sincos_2): Likewise.
13940         (__sin): Likewise.
13941         (__cos): Likewise.
13942         (slow2): Likewise.
13943         (sloww): Likewise.
13944         (sloww1): Likewise.  Drop argument M.
13945         (sloww2): Use fabs instead of if/else.
13946         (bsloww): Likewise.
13947         (bsloww1): Likewise.
13948         (bsloww2): Likewise.
13950         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
13951         fall through comment.
13952         (do_sincos_1): Likewise.
13954         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
13955         Consolidate switch cases 0 and 2.
13957 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13959         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
13960         (libm-calls): Remove the above.
13962         * math/s_cexp_template.c: Update using type-generic macros.
13963         * math/s_clog10_template.c: Likewise.
13964         * math/s_cpow_template.c: Likewise.
13965         * math/s_clog_template.c: Likewise.
13966         * math/s_cproj_template.c: Likewise.
13967         * math/s_csqrt_template.c: Likewise.
13969         * math/s_cexp.c: Removed.
13970         * math/s_cexpf.c: Removed.
13971         * math/s_cexpl.c: Removed.
13972         * math/s_clog10.c: Removed.
13973         * math/s_clog10f.c: Removed.
13974         * math/s_clog10l.c: Removed.
13975         * math/s_cpow.c: Removed.
13976         * math/s_cpowf.c: Removed.
13977         * math/s_cpowl.c: Removed.
13978         * math/s_clog.c: Removed.
13979         * math/s_clogf.c: Removed.
13980         * math/s_clogl.c: Removed.
13981         * math/s_cproj.c: Removed.
13982         * math/s_cprojf.c: Removed.
13983         * math/s_cprojl.c: Removed.
13984         * math/s_csqrt.c: Removed.
13985         * math/s_csqrtf.c: Removed.
13986         * math/s_csqrtl.c: Removed.
13988         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
13989         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
13990         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
13991         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
13992         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
13993         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
13995         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
13996         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
13997         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
13998         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
13999         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14000         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14001         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14002         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14003         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14004         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14005         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14007         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14008         version.
14010         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14011         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14012         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14013         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14015 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14017         * s_cexp_template.c: Copy of s_cexp.c.
14018         * s_clog_template.c: Copy of s_clog.c.
14019         * s_clog10_template.c: Copy of s_clog10.c.
14020         * s_cpow_template.c: Copy of s_cpow.c.
14021         * s_cproj_template.c: Copy of s_cproj.c.
14022         * s_csqrt_template.c: Copy of s_csqrt.c.
14024 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14026         [BZ #20517]
14027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14028         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14029         exported.
14031 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14033         * math/fetestexceptflag.c: New file.
14034         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14035         Stefan Liebler.
14036         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14037         (fetestexceptflag): New function declaration.
14038         * manual/arith.texi (fetestexceptflag): Document function.
14039         * math/Versions (fetestexceptflag): New libm symbol at version
14040         GLIBC_2.25.
14041         * math/Makefile (libm-support): Add fetestexceptflag.
14042         (tests): Add test-fetestexceptflag.
14043         * math/test-fetestexceptflag.c: New file.
14044         * sysdeps/nacl/libm.abilist: Update.
14045         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14046         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14047         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14048         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14049         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14050         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14051         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14052         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14053         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14054         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14055         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14056         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14058         Likewise.
14059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14060         Likewise.
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14062         Likewise.
14063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14064         Likewise.
14065         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14066         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14067         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14068         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14069         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14071         Likewise.
14072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14073         Likewise.
14074         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14075         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14076         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14078 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14080         [BZ #20432]
14081         Avoid strong references to malloc-internal symbols when linking
14082         statically, to support statically interposed mallocs.
14083         * include/libc-symbols.h (call_function_static_weak): New macro.
14084         * malloc/Makefile (tests): Add tst-interpose-nothread,
14085         tst-interpose-thread, tst-interpose-static-nothread,
14086         tst-interpose-static-thread.
14087         (tests-static): Add tst-interpose-static-nothread,
14088         tst-interpose-static-thread.
14089         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14090         tst-interpose-aux-thread.o.
14091         (test-extras): Add tst-interpose-aux-nothread,
14092         tst-interpose-aux-thread.
14093         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14094         tst-interpose-aux-nothread.o.
14095         (tst-interpose-thread, tst-interpose-static-thread): Link with
14096         tst-interpose-aux-thread.o and libthread.
14097         * malloc/tst-interpose-aux-nothread.c: New file.
14098         * malloc/tst-interpose-aux-thread.c: Likewise.
14099         * malloc/tst-interpose-aux.c: Likewise.
14100         * malloc/tst-interpose-aux.h: Likewise.
14101         * malloc/tst-interpose-nothread.c: Likewise.
14102         * malloc/tst-interpose-skeleton.c: Likewise.
14103         * malloc/tst-interpose-static-nothread.c: Likewise.
14104         * malloc/tst-interpose-static-thread.c: Likewise.
14105         * malloc/tst-interpose-thread.c: Likewise.
14106         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14107         * sysdeps/mach/hurd/fork.c (__fork): Only call
14108         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14109         __malloc_fork_unlock_child if defined.
14110         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14112 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14114         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14115         timespec C99 designated initialization.
14117 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14119         [BZ #19946]
14120         Avoid expected SIGALRM signals.
14121         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14122         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14123         (xpthread_create, xpthread_detach, xpthread_join)
14124         (delayed_exit_thread, delayed_exit): New functions.
14125         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14126         (tf): Use xpthread_cond_wait.
14127         (do_test): Likewise.  Replace alarm with delayed_exit.
14128         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14129         (do_test): Call delayed_exit.  Report failure.
14130         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14131         (do_test): Call delayed_exit.
14132         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14133         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
14134         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14135         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
14136         error.
14137         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14138         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
14139         error.
14140         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14141         (do_test): Call delayed_exit.
14142         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14143         (do_test): Call delayed_exit.
14144         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14145         (do_test): Call delayed_exit instead of alarm.  Use
14146         xpthread_mutex_lock.
14147         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14148         (do_test): Call delayed_exit instead of alarm.  Use
14149         xpthread_mutex_lock.
14150         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14151         (do_test): Call delayed_exit instead of alarm.
14152         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14153         (do_test): Call delayed_exit instead of alarm.  Use
14154         xpthread_spin_lock.
14155         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14156         (do_test): Call delayed_exit instead of alarm.  Use
14157         xpthread_join.
14159 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14161         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14162         adjust CFA when allocating register save area on re-aligned
14163         stack.
14165 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14167         * string/tst-cmp.c: New test.
14168         * string/Makefile (tests): Add it.
14170 2016-08-25  Mark Wielaard  <mark@klomp.org>
14172         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14173         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
14174         (check_tree_recurse): Use newly defined accessors.
14175         (check_tree): Likewise.
14176         (maybe_split_for_insert): Likewise.
14177         (__tfind): Likewise.
14178         (__tdelete): Likewise.
14179         (trecurse): Likewise.
14180         (tdestroy_recurse): Likewise.
14181         (__tsearch): Likewise. And add asserts for malloc alignment.
14182         (__twalk): Cast root to node in case CHECK_TREE is defined.
14184 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14186         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14188 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14190         * math/Makefile (libm-gen-calls): Add
14191         catan, catanh, ctan, ctanh.
14192         (libm-calls): Remove the above.
14194         * math/s_catan_template.c: Update using type-generic macros.
14195         * math/s_catanh_template.c: Likewise.
14196         * math/s_ctan_template.c: Likewise.
14197         * math/s_ctanh_template.c: Likewise.
14199         * math/s_catanf.c: Removed.
14200         * math/s_catan.c: Removed.
14201         * math/s_catanl.c: Removed.
14202         * math/s_catanhf.c: Removed.
14203         * math/s_catanh.c: Removed.
14204         * math/s_catanhl.c: Removed.
14205         * math/s_ctanf.c: Removed.
14206         * math/s_ctan.c: Removed.
14207         * math/s_ctanl.c: Removed.
14208         * math/s_ctanhf.c: Removed.
14209         * math/s_ctanh.c: Removed.
14210         * math/s_ctanhl.c: Removed.
14212         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14213         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14214         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14215         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14216         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14217         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14219         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14220         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14221         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14222         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14224 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14226         * s_catan_template.c: Copy of s_catan.c.
14227         * s_catanh_template.c: Copy of s_catanh.c.
14228         * s_ctan_template.c: Copy of s_ctan.c.
14229         * s_ctanh_template.c: Copy of s_ctanh.c.
14231 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14233         * math/Makefile (gen-libm-calls): Move
14234         casin, casinh, csin, csinh here.
14235         (libm-calls): Remove the above.
14237         * math/s_casin_template.c: Update using type-generic macros.
14238         * math/s_casinh_template.c: Likewise.
14239         * math/s_csin_template.c: Likewise.
14240         * math/s_csinh_template.c: Likewise.
14241         * math/k_casinh_template.c: Likewise.
14243         * math/s_casinf.c: Removed.
14244         * math/s_casin.c: Removed.
14245         * math/s_casinl.c: Removed.
14246         * math/s_casinh.c: Removed.
14247         * math/s_casinhf.c: Removed.
14248         * math/s_casinhl.c: Removed.
14249         * math/s_csin.c: Removed.
14250         * math/s_csinf.c: Removed.
14251         * math/s_csinl.c: Removed.
14252         * math/s_csinh.c: Removed.
14253         * math/s_csinhf.c: Removed.
14254         * math/s_csinhl.c: Removed.
14255         * math/k_casinh.c: Removed.
14256         * math/k_casinhf.c: Removed.
14257         * math/k_casinhl.c: Removed.
14259         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
14260         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14261         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14262         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14264         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
14265         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
14266         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
14267         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
14268         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
14269         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
14270         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
14271         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
14273         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
14274         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
14275         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
14276         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
14278         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
14279         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
14280         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
14281         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
14283 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14285         * s_casin_template.c: Copy of s_casin.c.
14286         * s_casinh_template.c: Copy of s_casinh.c.
14287         * s_csin_template.c: Copy of s_csin.c.
14288         * s_csinh_template.c: Copy of s_csinh.c.
14289         * k_casinh_template.c: Copy of k_casinh.c.
14291 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14293         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
14295 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14297         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
14298         (mul_split) Remove, rename as mul_splitl, remove
14299         redundant float.h include, and include via mul_splitl.h
14301         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14302         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14303         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14304         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14305         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14307         * math/mul_splitl.h: New file.
14309         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
14310         Move into mul_split.h, and remove redundant float.h include.
14312         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14313         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
14314         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14315         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
14317         * math/mul_split.h: New file.
14319 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14321         * math/Makefile (libm-gen-calls): Move
14322         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
14323         (libm-calls): Remove above.
14325         * math/s_cacos_template.c: Update using type-generic macros.
14326         * math/s_cacosh_template.c: Likewise.
14327         * math/s_ccos_template.c: Likewise.
14328         * math/s_ccosh_template.c: Likewise.
14330         * math/s_cacosf.c: Removed.
14331         * math/s_cacos.c: Removed.
14332         * math/s_cacosl.c: Removed.
14333         * math/s_cacoshf.c: Removed.
14334         * math/s_cacosh.c: Removed.
14335         * math/s_cacoshl.c: Removed.
14336         * math/s_ccosf.c: Removed.
14337         * math/s_ccos.c: Removed.
14338         * math/s_ccosl.c: Removed.
14339         * math/s_ccoshf.c: Removed.
14340         * math/s_ccosh.c: Removed.
14341         * math/s_ccoshl.c: Removed.
14343         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
14344         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
14345         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
14346         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
14347         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
14348         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
14350         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
14351         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
14352         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
14353         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
14355         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
14356         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
14357         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
14358         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
14360 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14362         * s_cacos_template.c: Copy of s_cacos.c.
14363         * s_cacosh_template.c: Copy of s_cacosh.c.
14364         * s_ccos_template.c: Copy of s_ccos.c.
14365         * s_ccosh_template.c: Copy of s_ccosh.c.
14367 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14369         * stdlib/tst-strtod-round-skeleton.c:
14370         Refactored from tst-strtod-round.c.
14372         (L_): New macro to apply literal modifier.
14373         (FNPFX): New macro to select str or wcs prefix.
14374         (CHAR): New macro to choose wchar_t or char.
14375         (STRM): New macro to choose printf for tested character type.
14377         (STRTO): New macro to choose appropriate string -> real function.
14378         (FNPFXS): Stringitized version of FNPFX.
14379         (STR): Support for above macro.
14380         (STRX): Likewise.
14382         (TEST): Update with above macros.
14383         (test): Likewise.
14384         (GEN_ONE_TEST): Likewise.
14385         (test_in_one_mode): Likewise.
14387         * stdlib/tst-strtod-round.c: New file.
14388         * wcsmbs/tst-wcstod-round.c: New file.
14390         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
14391         (tst-wcstod-round): Add libm depencency for fesetround.
14393 2016-08-19  Zack Weinberg  <zackw@panix.com>
14395         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
14397 2016-08-18  Torvald Riegel  <triegel@redhat.com>
14399         [BZ #20477]
14400         * resolv/res_hconf.c (do_init): Use atomic access.
14401         * resolv/res_hconf.h: Add comments.
14402         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
14403         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
14404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14406 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14408         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14409         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
14410         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14411         Likewise.
14413 2016-08-18  Florian Weimer  <fweimer@redhat.com>
14415         [BZ #16907]
14416         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
14417         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
14418         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
14419         (__attribute__): Remove definition.
14421 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14423         * sysdeps/ieee754/ldbl-128/e_asinl.c:
14424         Remove unused sqrtl declaration.
14426 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14428         * math/Makefile: (gen-libm-templates.stmp): New rule.
14429         (libm-calls): Move carg conj cimag and cabs into ...
14430         (gen-libm-calls): New variable.
14431         (generated): Inform Make objects from gen-libm-calls
14432         may be generated.
14434         * sysdeps/generic/math-type-macros.h: New file.
14435         * sysdeps/generic/math-type-macros-float.h: Likewise.
14436         * sysdeps/generic/math-type-macros-double.h: Likewise.
14437         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14438         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
14439         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
14441         * math/cabs.c: Refactor into
14442         * math/cabs_template.c: new file.
14443         * math/cabsf.c: Removed.
14444         * math/cabsl.c: Removed.
14445         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
14446         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
14448         * math/carg.c: Refactor into
14449         * math/carg_template.c: new file.
14450         * math/cargf.c: Removed.
14451         * math/cargl.c: Removed.
14452         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
14453         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
14455         * math/conj.c: Refactor into
14456         * math/conj_template.c: new file.
14457         * math/conjf.c: Removed.
14458         * math/conjl.c: Removed.
14459         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
14460         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
14462         * math/cimag.c: Refactor into
14463         * math/cimag_template.c: new file.
14464         * math/cimagf.c: Removed.
14465         * math/cimagl.c: Removed.
14466         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14467         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14469         * math/cimag.c: Refactor into
14470         * math/cimag_template.c: new file.
14471         * math/cimagf.c: Removed.
14472         * math/cimagl.c: Removed.
14473         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14474         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14476 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14478         Reduce time to expected nptl/tst-once5 failure.
14479         * nptl/tst-once5.cc (TIMEOUT): Define.
14481 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14483         [BZ #20452]
14484         Avoid additional copies of objects in libc.a in static libraries.
14485         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
14486         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
14487         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
14488         rt-sysdep.
14489         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
14490         Add nptl-sysdep.
14491         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
14492         Add ptw-sysdep.
14493         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
14494         rt-sysdep.
14495         * sysdeps/unix/sysv/linux/alpha/Makefile
14496         (libpthread-shared-only-routines): Add ptw-sysdep,
14497         ptw-sigprocmask, ptw-rt_sigaction.
14498         * sysdeps/unix/sysv/linux/ia64/Makefile
14499         (librt-shared-only-routines): Add rt-sysdep.
14500         * sysdeps/unix/sysv/linux/i386/Makefile
14501         (libpthread-shared-only-routines): Add libc-do-syscall.
14502         * sysdeps/unix/sysv/linux/microblaze/Makefile
14503         (libpthread-shared-only-routines): Add sysdep.
14504         * sysdeps/unix/sysv/linux/powerpc/Makefile
14505         (librt-shared-only-routines): Add rt-sysdep.
14506         (libpthread-shared-only-routines): Add sysdep.
14507         * sysdeps/unix/sysv/linux/s390/Makefile
14508         (librt-shared-only-routines): Add rt-sysdep.
14509         * sysdeps/unix/sysv/linux/sparc/Makefile
14510         (librt-shared-only-routines): Add rt-sysdep.
14511         (libpthread-shared-only-routines): Add sysdep.
14512         * sysdeps/unix/sysv/linux/tile/Makefile
14513         (libpthread-shared-only-routines): Likewise.
14515 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
14517         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
14518         Mask implicit bit out of unpacked value.
14519         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
14520         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
14521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
14523         * sysdeps/sparc/fpu/fesetexcept.c: New file.
14525         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
14527         * sysdeps/s390/fpu/fesetexcept.c: New file.
14529         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
14530         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
14531         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
14533         * sysdeps/mips/fpu/fesetexcept.c: New file.
14535         * sysdeps/m68k/fpu/fesetexcept.c: New file.
14537         * sysdeps/ia64/fpu/fesetexcept.c: New file.
14539         * sysdeps/hppa/fpu/fesetexcept.c: New file.
14541         * sysdeps/arm/fesetexcept.c: New file.
14543         * sysdeps/alpha/fpu/fesetexcept.c: New file.
14545         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
14547         * math/fesetexcept.c: New file.
14548         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
14549         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
14550         * math/fenv.h: Define
14551         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14552         <bits/libc-header-start.h> instead of including <features.h>.
14553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
14554         declaration.
14555         * manual/arith.texi (fesetexcept): Document function.
14556         * math/Versions (fesetexcept): New libm symbol at version
14557         GLIBC_2.25.
14558         * math/Makefile (libm-support): Add fesetexcept.
14559         (tests): Add test-fesetexcept and test-fesetexcept-traps.
14560         * math/test-fesetexcept.c: New file.
14561         * math/test-fesetexcept-traps.c: Likewise.
14562         * sysdeps/nacl/libm.abilist: Update.
14563         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14564         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14565         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14566         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14567         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14568         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14569         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14570         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14571         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14572         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14573         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14574         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14576         Likewise.
14577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14578         Likewise.
14579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14580         Likewise.
14581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14582         Likewise.
14583         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14586         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14587         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14589         Likewise.
14590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14591         Likewise.
14592         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14593         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14594         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14596 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14598         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14599         New.
14600         (do_test): Apply default_stack_size_in_mb if not set.
14601         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14603 2016-08-15  Andreas Schwab  <schwab@suse.de>
14605         [BZ #20435]
14606         CVE-2016-6323
14607         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14608         as .cantunwind.
14610 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
14612         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14613         comment from fraiseexcpt.c.
14615         * math/test-fexcept.c (feraiseexcept_exact): New function.
14616         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14617         (test_except): Likewise.
14619 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
14621         [BZ #20455]
14622         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
14623         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
14624         to be restored.
14626         * math/test-fexcept-traps.c: New file.
14627         * math/test-fexcept.c: Likewise.
14628         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
14629         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
14630         macro.
14631         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14632         (EXCEPTION_SET_FORCES_TRAP): Likewise.
14634 2016-08-09  Torvald Riegel  <triegel@redhat.com>
14636         * include/atomic.h (atomic_fetch_and_relaxed,
14637         atomic_fetch_and_release, atomic_fetch_or_release,
14638         atomic_fetch_xor_release): New.
14640 2016-08-06  Christian Seiler  <christian@iwakd.de>
14642         [BZ #20444]
14643         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
14644         MACH_PORT_NULL.
14646 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14648         * math/s_fdim.c: Avoid alias renamed.
14649         * math/s_fdimf.c: Likewise.
14650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14651         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14652         Add s_fdimf-vis3, s_fdim-vis3.
14653         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14654         (CFLAGS-s_fdim-vis3.c): Likewise.
14655         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
14656         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
14658 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14661         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14662         Remove s_fdimf-vis3, s_fdim-vis3.
14663         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
14664         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
14665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
14666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
14667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
14668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
14669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
14670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
14671         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
14672         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
14674 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14676         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
14677         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
14678         -Wa,-Av9a -mvis.
14680 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14682         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
14683         LIT() to individual constants in simple expressions
14684         after splitting on spaces.
14685         (_apply_lit): Rename replaced version, and use it to
14686         apply to what appears to be a token.
14688         * math/libm-test.inc: Fix many, many issues with
14689         spacing.
14691 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
14693         * math/math.h: Move comment about <bits/mathdef.h> definitions
14694         above inclusion of <bits/mathdef.h>.  Do not mention
14695         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
14697 2016-08-05  Torvald Riegel  <triegel@redhat.com>
14699         * include/atomic.h (atomic_exchange_relaxed): New.
14701 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
14703         * math/e_scalb.c: Do not include <fenv.h>.
14704         (invalid_fn): Do calculation resulting in NaN instead of raising
14705         FE_INVALID and returning a NaN explicitly.
14706         * math/e_scalbf.c: Do not include <fenv.h>.
14707         (invalid_fn): Do calculation resulting in NaN instead of raising
14708         FE_INVALID and returning a NaN explicitly.
14709         * math/e_scalbl.c: Do not include <fenv.h>.
14710         (invalid_fn): Do calculation resulting in NaN instead of raising
14711         FE_INVALID and returning a NaN explicitly.
14713 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
14715         * po/de.po: Updated from Translation Project.
14716         * po/fi.po: Likewise.
14717         * po/sv.po: Likewise.
14719 2016-08-04  Florian Weimer  <fweimer@redhat.com>
14721         [BZ #20452]
14722         Use sysdep.o from libc.a in static libraries.
14723         * sysdeps/unix/sysv/linux/i386/Makefile
14724         (libpthread-shared-only-routines): Add sysdep.
14725         (librt-shared-only-routines): Likewise.
14727 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14729         * math/tgmath.h (nextdown): Define if
14730         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
14731         (nextup): Likewise.
14733         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
14734         macro.
14735         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14736         Document.
14737         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14738         Document macro.
14739         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
14740         (exp10f): Likewise.
14741         (exp10l): Likewise.
14742         * math/bits/mathcalls.h (exp10): Declare if
14743         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14745         * manual/arith.texi (nextup): Fix typo in last change.
14747 2016-08-03  Zack Weinberg  <zackw@panix.com>
14749         [BZ #19239]
14750         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
14751         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
14752         define major, minor, and makedev to issue deprecation warnings on use.
14753         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
14754         previously-activated deprecation warnings for these macros and prevent
14755         subsequent inclusions of this header from having any effect.
14756         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
14757         including <sys/sysmacros.h>, and undefine it again afterward.
14759 2016-08-03  Zack Weinberg  <zackw@panix.com>
14761         * sysdeps/generic/sys/sysmacros.h: Delete file.
14762         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
14763         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
14764         * bits/sysmacros.h: ... here; this encoding is now the generic
14765         encoding.  Now defines only the following macros:
14766         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
14767         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
14768         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
14770         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
14771         bits/sysmacros.h and the above new macros to generate the
14772         public implementations of major, minor, and makedev.
14773         * misc/tst-makedev.c: New test.
14774         * include/sys/sysmacros.h: New wrapper.
14776         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
14777         (routines): Add makedev.
14778         (tests): Add tst-makedev.
14779         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
14780         gnu_dev_makedev.
14781         * posix/Makefile (headers): Remove sys/sysmacros.h.
14782         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
14784         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
14785         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
14786         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
14787         * sysdeps/unix/sysv/linux/alpha/libc.abilist
14788         * sysdeps/unix/sysv/linux/arm/libc.abilist
14789         * sysdeps/unix/sysv/linux/hppa/libc.abilist
14790         * sysdeps/unix/sysv/linux/i386/libc.abilist
14791         * sysdeps/unix/sysv/linux/ia64/libc.abilist
14792         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14793         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
14794         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
14795         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14796         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14797         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14798         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14799         * sysdeps/unix/sysv/linux/nios2/libc.abilist
14800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14804         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
14805         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14806         * sysdeps/unix/sysv/linux/sh/libc.abilist
14807         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14808         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14811         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
14812         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
14813         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
14814         Add GLIBC_2.25.
14816         * include/features.h (__glibc_clang_prereq): New macro.
14817         * misc/sys/cdefs.h (__glibc_clang_has_extension)
14818         (__attribute_deprecated_msg__): New macros.
14820 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14822         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
14823         macro.
14824         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
14825         * manual/arith.texi (issignaling): Document as ISO from TS
14826         18661-1:2014.
14827         (nextup): Likewise.
14828         (nextupf): Likewise.
14829         (nextupl): Likewise.
14830         (nextdown): Likewise.
14831         (nextdownf): Likewise.
14832         (nextdownl): Likewise.
14833         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
14834         macro.
14835         * math/math.h: Define
14836         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14837         <bits/libc-header-start.h> instead of including <features.h>.
14838         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
14839         [__USE_GNU].
14840         * math/bits/mathcalls.h (nextdown): Declare if
14841         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
14842         (nextup): Likewise.
14843         (__issignaling): Likewise.
14845 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14847         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
14848         check, and remove __glibc_likely hint
14849         from FP_INFINITE check.
14850         * s_csinhf.c (__csinhf): Likewise.
14852         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
14853         hint from FP_INFINITE check.
14854         * s_csinhl.c (__csinhl): Likewise.
14856 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14858         * math/Makefile (libm-calls): Insert F placeholder into
14859         object names.  Move w_lgamma_compat* routines into
14860         (libm-compat-calls): New variable.
14861         (libm-compat-calls-ldouble-yes): New variable.
14862         (calls): Insert F placeholder.
14863         (generated): Redefine using new type-foreach macro call.
14864         (routines): Likewise.
14866         (types): New variable to hold a list of symbolic names
14867         for each type supported by the target machine.
14868         (libm-routines): Redefine using new types variable.
14869         (type-foreach): macro to replace fooF with the
14870         appropriately suffixed foo for each types.
14872         (type-ldouble-suffix): New variable.
14873         (type-ldouble-routines): Likewise.
14874         (type-ldouble-yes): Likewise.
14875         (type-double-suffix): Likewise.
14876         (type-double-routines): Likewise.
14877         (type-float-suffix): Likewise.
14878         (type-float-routines): Likewise.
14880         (dbl-only-routines): Remove.
14881         (long-c-yes): Likewise.
14882         (long-m-routines): Likewise.
14883         (long-m-support): Likewise.
14884         (long-m-yes): Likewise.
14885         (test-longdouble-yes): Likewise.
14887         (test-float.o): Simplify by increasing the scope of the
14888         recipe which adds libm-test.stmp to the vector types.
14889         (test-ifloat.o): Likewise.
14890         (test-float-finite.o): Likewise.
14891         (test-double.o): Likewise
14892         (test-idouble.o): Likewise.
14893         (test-double-finite.o): Likewise.
14894         (test-ldouble.o): Likewise
14895         (test-ildoubl.o): Likewise.
14896         (test-ldouble-finite.o): Likewise.
14898         (libm-tests): Redefine type tests using foreach and the
14899         list of types in types.
14901         (CPPFLAGS-test-ildoubl.c): Rename to
14902         (CPPFLAGS-test-ildouble.c): New variable
14904         * math/test-ildoubl.c: Rename to
14905         * math/test-ildouble.c: New file.
14907 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14909         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
14910         Use fabsl instead of fabs.
14911         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
14912         Likewise.
14913         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
14914         Add long double suffix to constant to ensure proper
14915         promotion to long double.
14917 2016-08-03  Tom Tromey  <tom@tromey.com>
14919         [BZ #20311]
14920         * nptl_db/Makefile (headers): Add proc_service.h.
14921         * nptl_db/proc_service.h: Add include guard.  Use
14922         __BEGIN/__END_DECLS.
14923         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
14924         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
14925         arguments.
14928 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14930         [BZ #17730]
14931         Avoid using memalign for TCB allocations.
14932         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
14933         (_dl_allocate_tls_storage): Use malloc and manual alignment.
14934         Avoid alignment gap in the TLS_DTV_AT_TP case.
14935         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
14936         determine the pointer to free.
14937         * nptl/tst-tls3-malloc.c: New test.
14938         * nptl/Makefile (tests): Add it.
14939         (tst-tls3-malloc): Link with libdl, libpthread.
14940         (LDFLAGS-tst-tls3-malloc): Set.
14941         (tst-tls3-malloc.out): Depend on DSO used in test.
14943 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14945         [BZ #17730]
14946         Avoid using memalign for TLS allocations.
14947         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
14948         is_static member with to_free member.
14949         (union dtv): Use struct dtv_pointer.
14950         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
14951         dtv_pointer instead of is_static.
14952         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
14953         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
14954         instead of val.
14955         (allocate_dtv_entry): New function.
14956         (allocate_and_init): Return struct dtv_pointer.  Call
14957         allocate_dtv_entry instead of __libc_memalign.
14958         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
14959         instead of val.
14960         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
14961         instead of is_static.  Adjust call to allocate_and_init.
14962         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
14963         struct dtv_pointer instead of val.
14965 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14967         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
14968         (MALLOC_ALIGN_MASK): Move ...
14969         * malloc/malloc-internal.h: ... to here.
14970         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
14972 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14974         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
14975         (UDP_ENCAP_GTP1U): Likewise.
14977         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
14978         (PF_MAX): Update value.
14979         (AF_QIPCRTR): New macro.
14981 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14983         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
14984         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14985         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
14987         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14988         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14989         s_truncf-vis3, s_trunc-vis3.
14990         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14991         (CFLAGS-s_ceil-vis3.c): Likewise.
14992         (CFLAGS-s_floorf-vis3.c): Likewise.
14993         (CFLAGS-s_floor-vis3.c): Likewise.
14994         (CFLAGS-s_truncf-vis3.c): Likewise.
14995         (CFLAGS-s_trunc-vis3.c): Likewise.
14996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
14997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
14998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
14999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15004         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15005         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15006         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15007         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15009 2016-08-02  David S. Miller  <davem@davemloft.net>
15011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15012         (__nearbyint_vis3): Don't check for sNaN before float register is
15013         loaded with the incoming argument.
15014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15015         (__nearbyintf_vis3): Likewise.
15016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15017         Likewise.
15018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15019         Likewise.
15021         * string/test-strncmp.c (do_test_limit): Make sure the test data
15022         stream is aligned as required for the type "CHAR".
15023         (do_test): Likewise.
15025 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15027         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15028         by beq instructions jumping to the end of the function.
15029         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15030         clobber list. Use "i" constraint instead of "X".
15031         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15032         of "X".
15034 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15036         * bits/libc-header-start.h: New file.
15037         * Makefile (headers): Add bits/libc-header-start.h.
15038         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15039         (__GLIBC_USE): New macro.
15040         * libio/stdio.h: Define
15041         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15042         <bits/libc-header-start.h> instead of including <features.h>.
15043         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15044         (open_memstream): Likewise.
15045         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15046         (__asprintf): Likewise.
15047         (asprintf): Likewise.
15048         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15049         (getdelim): Likewise.
15050         (getline): Likewise.
15051         * string/string.h: Define
15052         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15053         <bits/libc-header-start.h> instead of including <features.h>.
15054         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15055         (strndup): Likewise.
15056         * wcsmbs/wchar.h: Define
15057         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15058         <bits/libc-header-start.h> instead of including <features.h>.
15059         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15060         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15062 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15064         Support linking against compatibility symbols, for use in tests.
15065         * include/libc-symbols.h (symbol_version_reference): New macro.
15066         (symbol_version): Use it.
15067         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15068         (compat_symbol): Use compat_symbol_reference.
15069         (compat_symbol_1, compat_symbol_2): Remove.
15070         (compat_symbol_reference, compat_symbol_reference_1)
15071         (compat_symbol_reference_2): New macro.  Use
15072         symbol_version_reference.
15074 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15076         [BZ #19469]
15077         * malloc/Makefile (CPPFLAGS): Compile tests with
15078         -DTEST_NO_MALLOPT.
15079         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15081 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15083         [BZ #20033]
15084         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15085         finite version.
15086         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15087         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15088         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15089         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15090         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15091         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15092         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15093         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15094         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15095         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15096         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15097         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15098         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15099         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15100         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15101         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15102         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15103         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15104         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15105         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15106         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15107         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15108         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15109         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15110         in zero power.
15112 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15114         [BZ #20370]
15115         * malloc/arena.c (get_free_list): Update comment.  Assert that
15116         arenas on the free list have no attached threads.
15117         (remove_from_free_list): New function.
15118         (reused_arena): Call it.
15120 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15122         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15123         when it is a NaN.
15124         [_IEEE_FP_INEXACT] Remove.
15125         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15126         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15127         when it is a NaN.
15128         [_IEEE_FP_INEXACT] Remove.
15129         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15130         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15131         when it is a NaN.
15132         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15133         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15134         when its absolute value is greater than 0x1.0p52.
15135         [_IEEE_FP_INEXACT] Remove.
15136         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15137         when its absolute value is greater than 0x1.0p23.
15138         [_IEEE_FP_INEXACT] Remove.
15140 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
15142         * version.h (RELEASE): Set to "development"
15143         (VERSION): Set to 2.24.90.
15144         * NEWS: Add 2.25 section.
15146         * version.h (RELEASE): Set to "stable"
15147         (VERSION): Set to 2.24.
15148         * include/features.h (__GLIBC_MINOR__): Set to 24.
15150         * NEWS: Add 2.24 fixed bugs.
15151         * po/libc.pot: Regenerate.
15153 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
15155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15156         [$(subdir) = math] (libm-sysdep_routines): Remove.
15157         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15158         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15159         s_truncf-vis3, s_trunc-vis3.
15160         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15162         file.
15163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15196         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15197         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15198         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15199         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15200         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15201         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15202         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15203         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15204         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15205         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15207 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
15209         [BZ #20384]
15210         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15211         test-double-libmvec-sincos-avx-main.o,
15212         test-double-libmvec-sincos-avx2-main.o,
15213         test-double-libmvec-sincos-main.o,
15214         test-float-libmvec-sincosf-avx-main.o,
15215         test-float-libmvec-sincosf-avx2-main.o and
15216         test-float-libmvec-sincosf-main.o.
15217         test-float-libmvec-sincosf-avx512-main.o.
15218         ($(objpfx)test-double-libmvec-sincos): Also link with
15219         $(objpfx)test-double-libmvec-sincos-main.o.
15220         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15221         $(objpfx)test-double-libmvec-sincos-avx-main.o.
15222         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15223         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15224         ($(objpfx)test-float-libmvec-sincosf): Also link with
15225         $(objpfx)test-float-libmvec-sincosf-main.o.
15226         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15227         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15228         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15229         test-double-libmvec-sincos-avx512-main.o and
15230         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
15231         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
15232         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
15233         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
15234         (CFLAGS-test-double-libmvec-sincos.c): Removed.
15235         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
15236         (CFLAGS-test-double-libmvec-sincos-main.c): New.
15237         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
15238         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
15239         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
15240         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
15241         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
15242         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
15243         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
15244         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
15245         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
15246         -DREQUIRE_AVX2.
15247         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
15248         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
15249         -DREQUIRE_AVX512F.
15250         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
15251         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
15252         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15253         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
15254         file.
15255         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
15256         Likewise.
15257         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
15258         Likewise.
15259         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
15260         Likewise.
15261         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
15262         Likewise.
15263         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
15264         Likewise.
15265         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
15266         Likewise.
15267         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
15268         Likewise.
15270 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
15272         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
15274 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
15276         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
15277         and typo in a comment about AT_HWCAP entry.
15279 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15281         * sysdeps/aarch64/libm-test-ulps: Updated.
15283 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15285         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
15286         of r13 as it is not restored in mvcle case.
15288 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
15290         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
15291         Rename "ret" to "__ret".
15292         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
15293         inline_syscall5, inline_syscall6): Likewise.
15295 2016-07-19   Will Newton  <will.newton@gmail.com>
15297         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
15298         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
15299         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
15300         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
15301         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
15303 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
15305         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
15306         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
15307         -mfpmath=387 with $(rtld-CFLAGS).
15308         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
15309         $(rtld-CFLAGS).
15311 2016-07-18   Ross Burton  <ross.burton@intel.com>
15312              Khem Raj  <raj.khem@gmail.com>
15314         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
15315         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
15316         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
15317         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
15318         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
15319         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
15320         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
15321         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
15322         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
15323         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
15324         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
15325         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
15326         R_METAG_TLS_DTPOFF): New.
15328 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15329             Matt Clay  <mclay@lycos.com>
15331         [BZ #20357]
15332         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
15333         to call __mpsin/__mpcos and to negate values.
15334         * math/auto-libm-test-in: Add test.
15335         * math/auto-libm-test-out: Regenerate.
15337 2016-07-18  Zack Weinberg  <zackw@panix.com>
15339         * grp/Makefile: Don't install the internal header grp-merge.h.
15341 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15343         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15345 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15347         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
15349 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15351         [BZ #15368]
15352         * sysdeps/unix/sysv/linux/nptl-signals.h
15353         (__nptl_clear_internal_signals): New function.
15354         (__libc_signal_block_all): Likewise.
15355         (__libc_signal_block_app): Likewise.
15356         (__libc_signal_restore_set): Likewise.
15357         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
15358         implementation.
15359         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
15360         the cached pid/tid value in pthread structure.
15362 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
15364         [BZ #20347]
15365         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15367 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15369         [BZ #20348]
15370         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
15371         preadv64, pwrite64 and pwritev64.
15373 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15375         [BZ #20350]
15376         * posix/tst-preadwrite.c: Renamed to ...
15377         * posix/tst-preadwrite-common.c: This.
15378         (PREAD): Removed.
15379         (PWRITE): Likewise.
15380         (STRINGIFY): Likewise.
15381         (STRINGIFY2): Likewise.
15382         (do_prepare): Make it static and remove function arguments.
15383         (do_test): Likewise.
15384         (PREPARE): Updated.
15385         (TEST_FUNCTION): New.
15386         (name): Make it static.
15387         (fd): Likewise.
15388         (do_prepare): Use create_temp_file.
15389         (do_test): Renamed to ...
15390         (do_test_with_offset): This.  Make it static and accept offset.
15391         Properly check return value of PWRITE and PREAD.  Return bytes
15392         read.  Don't close fd nor unlink name.
15393         * posix/tst-preadwrite.c: Rewrite.
15394         * posix/tst-preadwrite64.c: Likewise.
15396 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15398         [BZ #20309]
15399         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
15400         -mtls-dialect=gnu2 works.
15401         * configure: Regenerated.
15402         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
15403         (tests): Add tst-gnu2-tls1.
15404         (modules-names): Add tst-gnu2-tls1mod.
15405         ($(objpfx)tst-gnu2-tls1): New.
15406         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
15407         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
15408         * elf/tst-gnu2-tls1.c: New file.
15409         * elf/tst-gnu2-tls1mod.c: Likewise.
15410         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
15411         bytes for push in the PLT entry to align the stack.
15413 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15415         [BZ #20349]
15416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
15418 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15420         [BZ #18707]
15421         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
15422         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
15424 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15426         * sysdeps/unix/sysv/linux/sysdep.h
15427         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
15428         guards.
15429         * misc/tst-preadvwritev-common.c: New file.
15430         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
15431         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
15432         a check for files larger than 2GB.
15434         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15435         (__ASSUME_OFF_DIFF_OFF64): Remove define.
15436         * sysdeps/unix/sysv/linux/pread.c
15437         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
15438         __OFF_T_MATCHES_OFF64_T.
15439         * sysdeps/unix/sysv/linux/pread64.c
15440         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
15441         * sysdeps/unix/sysv/linux/preadv.c
15442         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
15443         * sysdeps/unix/sysv/linux/preadv64.c
15444         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
15445         * sysdeps/unix/sysv/linux/pwrite.c
15446         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
15447         * sysdeps/unix/sysv/linux/pwrite64.c
15448         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
15449         * sysdeps/unix/sysv/linux/pwritev.c
15450         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
15451         * sysdeps/unix/sysv/linux/pwritev64.c
15452         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
15454 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
15456         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15457         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
15459 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15461         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
15463 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15465         [BZ #20240]
15466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15467         (CFLAGS-s_modf-ppc32.c): New variable.
15468         (CFLAGS-s_modff-ppc32.c): Likewise.
15469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15470         (CFLAGS-s_modf-ppc64.c): Likewise.
15471         (CFLAGS-s_modff-ppc64.c): Likewise.
15473 2016-07-07  Andreas Schwab  <schwab@suse.de>
15475         [BZ #20263]
15476         * nptl/tst-robust10.c: New test.
15477         * nptl/Makefile (tests): Add tst-robust10.
15479 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
15481         [BZ #20263]
15482         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
15484 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15486         * sysdeps/s390/linkmap.h (struct link_map_machine):
15487         Remove member gotplt and add member jmprel.
15488         * sysdeps/s390/s390-32/dl-machine.h
15489         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
15490         instead of gotplt with &got[3].
15491         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
15492         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15494 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
15496         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
15498 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15500         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
15501         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
15502         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15503         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
15504         * libio/vtables.c (_IO_vtable_check)
15505         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15506         * libio/libioP.h (IO_set_accept_foreign_vtables)
15507         [!PTR_MANGLE]: Do not call PTR_MANGLE.
15509 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
15511         [BZ #20314]
15512         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
15513         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
15514         $(common-objpfx)cmath.
15515         ($(common-objpfx)cstdlib): New target.
15516         ($(common-objpfx)cmath): Likewise.
15518 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
15520         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
15522 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15524         [BZ #20327]
15525         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
15526         are not part of the string.
15528 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15530         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
15531         * nptl/tst-cancel4-common.h (fifoname): New variable.
15532         (fifofd): Likewise.
15533         (cl_fifo): New function.
15534         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
15535         SIGINT.
15536         (tf_open): Add early cancel test.
15538 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15540         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15542 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
15544         * sysdeps/generic/ldsodefs.h
15545         (dl_symbol_visibility_binds_local_p): New inline function.
15546         * elf/dl-addr.c (determine_info): Treat hidden and internal
15547         symbols as local.
15548         * elf/dl-lookup.c (do_lookup_x): Likewise.
15549         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
15551 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
15553         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
15554         invalid exception for a sNaN input.
15555         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15556         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15557         (__nearbyint_vis3): Likewise
15558         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15559         (__nearbyintf_vis3): Likewise
15560         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15561         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15562         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15563         Likewise.
15564         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15565         Likewise.
15567 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
15569         [BZ #20139]
15570         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15571         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15572         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15573         2.24 or above.
15574         (HAVE_AVX512_ASM_SUPPORT): Removed.
15575         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15576         * sysdeps/x86_64/configure: Regenerated.
15577         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15578         check unconditional.
15579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15580         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15581         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15582         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15583         Likewise.
15584         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15585         Likewise.
15586         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15587         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15588         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15589         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15590         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15591         Likewise.
15592         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15593         Likewise.
15594         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15595         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15596         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15597         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15598         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15599         Likewise.
15600         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15601         Likewise.
15602         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15603         Likewise.
15604         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15605         Likewise.
15606         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15607         Likewise.
15608         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15609         Likewise.
15610         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15611         Likewise.
15612         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15613         Likewise.
15614         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15615         Likewise.
15616         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15617         Likewise.
15618         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15619         Likewise.
15621 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
15623         [BZ #20024]
15624         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
15625         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
15626         of this implementation of vector function.
15627         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15628         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15630         Likewise.
15631         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15632         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15633         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
15634         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
15635         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
15636         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
15637         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15638         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
15639         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
15640         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
15641         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
15642         for testing vector sincos with fixed ABI.
15643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15644         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15645         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15646         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15647         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15649         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15650         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
15651         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
15652         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
15653         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
15654         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
15655         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
15656         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
15657         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15658         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15660 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15662         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
15664 2016-06-30  Anton Blanchard  <anton@samba.org>
15666         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15667         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
15668         s_sinf-ppc64.
15669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
15670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
15671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
15672         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15674 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15678         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
15679         e_expf-ppc64.
15680         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
15681         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
15682         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
15683         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
15685 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
15687         [BZ #20277]
15688         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
15689         when SHARED is defined.
15691 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
15693         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
15694         (index_arch_Prefer_ERMS): Likewise.
15695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
15696         __memcpy_erms for Prefer_ERMS.
15697         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15698         (__memmove_erms): Enabled for libc.a.
15699         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
15700         __memmove_erms or Prefer_ERMS.
15701         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
15702         __mempcpy_erms for Prefer_ERMS.
15703         * sysdeps/x86_64/multiarch/memset.S (memset): Return
15704         __memset_erms for Prefer_ERMS.
15706 2016-06-30  Andreas Schwab  <schwab@suse.de>
15708         [BZ #20262]
15709         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
15710         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
15711         of memory.
15713 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
15715         [BZ #18645]
15716         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
15717         (test-extras): Add tst-cleanupx4aux.
15718         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
15719         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
15720         tst-cleanupx4aux.o.
15721         * nptl/tst-cleanupx4aux.c: New file.
15723 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15725         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15727 2016-06-29  Andreas Schwab  <schwab@suse.de>
15729         [BZ #20260]
15730         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
15731         address before the beginning of the string as an integer to avoid
15732         array-bounds warning.
15734 2016-06-28  Richard Henderson  <rth@redhat.com>
15736         * elf/elf.h (EM_BPF): New.
15737         (EM_NUM): Update.
15738         (R_BPF_NONE, R_BPF_MAP_FD): New.
15740         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
15741         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
15742         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
15743         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
15744         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
15745         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
15746         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
15747         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
15748         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
15749         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
15750         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
15751         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
15752         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
15753         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
15754         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
15755         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
15756         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
15757         (EM_NUM): Update.
15759 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
15761         [BZ #18960]
15762         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
15763         Set _nl_current_LC_CATEGORY_used to two instead of one.
15765 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
15767         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
15768         (do_test): ... this.
15769         (TEST_FUNCTION): New macro.
15770          Include test-skeleton.c.
15771         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
15772         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
15774 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
15776         [BZ #15479]
15777         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
15778         floating-point environment rather than just control word.
15779         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15780         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
15781         floating-point environment, with "invalid" exceptions merged in,
15782         rather than just control word.
15783         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
15784         * math/libm-test.inc (trunc_test_data): Do not allow spurious
15785         "inexact" exceptions.
15787         [BZ #15479]
15788         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
15789         floating-point environment rather than just control word.
15790         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15791         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
15792         floating-point environment, with "invalid" exceptions merged in,
15793         rather than just control word.
15794         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
15795         * math/libm-test.inc (floor_test_data): Do not allow spurious
15796         "inexact" exceptions.
15798         [BZ #15479]
15799         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
15800         floating-point environment rather than just control word.
15801         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15802         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
15803         floating-point environment, with "invalid" exceptions merged in,
15804         rather than just control word.
15805         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
15806         * math/libm-test.inc (ceil_test_data): Do not allow spurious
15807         "inexact" exceptions.
15809 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
15811         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
15812         __libc_vfork.
15813         (__vfork) [IS_IN (libc)]: Remove alias.
15814         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
15815         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15816         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15818 2016-06-24  Torvald Riegel  <triegel@redhat.com>
15820         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
15821         of atomic_compare_and_exchange_bool_rel.
15822         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15823         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
15824         catomic_compare_and_exchange_bool_rel): Remove.
15825         * sysdeps/aarch64/atomic-machine.h
15826         (atomic_compare_and_exchange_bool_rel): Likewise.
15827         * sysdeps/alpha/atomic-machine.h
15828         (atomic_compare_and_exchange_bool_rel): Likewise.
15829         * sysdeps/arm/atomic-machine.h
15830         (atomic_compare_and_exchange_bool_rel): Likewise.
15831         * sysdeps/mips/atomic-machine.h
15832         (atomic_compare_and_exchange_bool_rel): Likewise.
15833         * sysdeps/microblaze/atomic-machine.h
15834         ( __arch_compare_and_exchange_bool_8_rel,
15835         __arch_compare_and_exchange_bool_16_rel): Likewise.
15836         * sysdeps/powerpc/atomic-machine.h
15837         ( __arch_compare_and_exchange_bool_8_rel,
15838         __arch_compare_and_exchange_bool_16_rel): Likewise.
15839         * sysdeps/powerpc/powerpc32/atomic-machine.h
15840         ( __arch_compare_and_exchange_bool_32_rel,
15841         __arch_compare_and_exchange_bool_64_rel): Likewise.
15842         * sysdeps/powerpc/powerpc64/atomic-machine.h
15843         ( __arch_compare_and_exchange_bool_32_rel,
15844         __arch_compare_and_exchange_bool_64_rel): Likewise.
15845         * sysdeps/tile/atomic-machine.h
15846         (atomic_compare_and_exchange_bool_rel): Likewise.
15848 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
15850         [BZ #20296]
15851         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
15852         when either argument is a NaN.
15853         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15854         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
15856         * math/libm-test.inc (snan_value_ld): New macro.
15857         (isgreater_test_data): Add sNaN tests.
15858         (isgreaterequal_test_data): Likewise.
15859         (isless_test_data): Likewise.
15860         (islessequal_test_data): Likewise.
15861         (islessgreater_test_data): Likewise.
15862         (isunordered_test_data): Likewise.
15863         (nextafter_test_data): Likewise.
15864         (nexttoward_test_data): Likewise.
15865         (remainder_test_data): Likewise.
15866         (remquo_test_data): Likewise.
15867         (significand_test_data): Likewise.
15868         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
15870 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15872         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
15873         environment macros are defined.
15874         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
15876 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15878         [BZ #20191]
15879         Implement vtable verification in libio.
15880         * Makerules (shlib.lds): Place __libc_IO_vtables section.
15881         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
15882         * debug/vdprintf_chk.c (__vdprintf_chk): Call
15883         _IO_new_file_init_internal instead of _IO_file_init.
15884         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
15885         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
15886         * libio/Makefile (routines): Add vtables.
15887         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
15888         (_IO_init): Remove, not for internal use.
15889         (_IO_init_internal): Declare, internal replacement for _IO_init.
15890         (_IO_file_init): Remove, not for internal use.
15891         (_IO_new_file_init): Remove, not for internal use.
15892         (_IO_new_file_init_internal): Declare, internal replacement for
15893         _IO_new_file_init.
15894         (_IO_old_file_init): Remove, not for internal use.
15895         (_IO_old_file_init_internal): Declare, internal replacement for
15896         _IO_old_file_init.
15897         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
15898         internal use.
15899         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
15900         Declare.
15901         (libio_vtable): New macro.
15902         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
15903         functions.
15904         * libio/fileops.c (_IO_new_file_init_internal): Rename from
15905         _IO_new_file_init.
15906         (_IO_new_file_init): New externally visible wrapper which disables
15907         vtable verification.
15908         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
15909         Define as vtables.
15910         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
15911         (_IO_init): New externally visible wrapper which disables
15912         vtable verification.
15913         * libio/iofdopen.c (_IO_new_fdopen): Call
15914         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
15915         comment.
15916         * libio/iofopen.c (__fopen_internal): Call
15917         _IO_new_file_init_internal instead of _IO_file_init.
15918         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
15919         Define as vtables.
15920         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
15921         _IO_new_file_init_internal instead of _IO_file_init.
15922         * libio/iopopen.c (_IO_new_popen): Likewise.
15923         (_IO_proc_jumps): Define as vtable.
15924         * libio/iovdprintf.c (_IO_vdprintf): Call
15925         _IO_new_file_init_internal instead of _IO_file_init.
15926         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
15927         (__open_memstream): Call _IO_init_internal instead of _IO_init.
15928         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
15929         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
15930         _IO_old_file_init.
15931         (_IO_old_file_init): New externally visible wrapper which disables
15932         vtable verification.
15933         (_IO_old_file_jumps): Define as vtable.
15934         * libio/oldiofdopen.c (_IO_old_fdopen): Call
15935         _IO_old_file_init_internal instead of _IO_old_file_init.
15936         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15937         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15938         (_IO_old_proc_jumps): Define as vtable.
15939         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
15940         Define as vtables.
15941         * libio/vtables.c: New file.
15942         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
15943         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
15944         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
15945         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
15946         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
15947         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
15948         instead of _IO_init.
15950 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15952         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
15954 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15956         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
15957         potentially unused.
15959 2016-06-22  Florian Weimer  <fweimer@redhat.com>
15961         * test-skeleton.c (write_message): New function.
15962         * malloc/tst-mallocfork2.c (write_message): Remove.
15963         * debug/tst-longjmp_chk2.c (write_indented): New function.
15964         (write_message): Remove.
15965         (stackoverflow_handler): Call write_indented.
15967 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
15969         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
15970         "inexact" exceptions after fnstenv.
15971         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15972         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15973         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15975 2015-06-22  Zack Weinberg  <zackw@panix.com>
15977         * sysdeps/generic/bits/hwcap.h: Moved to ...
15978         * bits/hwcap.h: Here.
15980 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
15982         * sysdeps/aarch64/memcpy.S (memcpy):
15983         Further tuning for performance.
15985 2016-06-21  Florian Weimer  <fweimer@redhat.com>
15987         [BZ #20284]
15988         * malloc/arena.c (reused_arena): Do not return NULL if we start
15989         out with a non-corrupted arena.
15991 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15993         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
15994         * misc/tst-preadvwritev.c: New file.
15995         * misc/tst-preadvwritev64.c: Likewise.
15996         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
15997         usage.
15998         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
15999         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16000         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16001         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16003 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16005         [BZ #19654]
16006         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16007         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16008         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16009         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16010         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16011         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16012         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16013         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16014         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16015         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16016         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16017         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16018         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16019         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16020         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16021         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16022         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16023         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16024         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16025         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16026         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16027         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16028         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16029         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16030         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16031         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16033 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16035         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16036         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16038 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16040         * sysdeps/aarch64/memcpy.S (memcpy):
16041         Rewrite of optimized memcpy and memmove.
16042         * sysdeps/aarch64/memmove.S (memmove): Remove
16043         memmove code (merged into memcpy.S).
16045 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16047         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16048         * sysdeps/generic/dl-dtv.h: New file.
16049         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16050         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16051         (dtv_t): Remove.
16052         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16053         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16054         (dtv_t): Remove.
16055         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16056         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16057         (dtv_t): Remove.
16058         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16059         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16060         (dtv_t): Remove.
16061         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16062         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16063         (dtv_t): Remove.
16064         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16065         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16066         (dtv_t): Remove.
16067         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16068         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16069         (dtv_t): Remove.
16070         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16071         (dtv_t): Remove.
16072         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16073         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16074         (dtv_t): Remove.
16075         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16076         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16077         (dtv_t): Remove.
16078         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16079         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16080         (dtv_t): Remove.
16081         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16082         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16083         (dtv_t): Remove.
16084         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16085         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16086         (dtv_t): Remove.
16087         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16088         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16089         (dtv_t): Remove.
16090         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16091         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16092         (dtv_t): Remove.
16093         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16094         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16095         (dtv_t): Remove.
16097 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16099         Revert symbol poisoning of  __malloc_initialize_hook.
16100         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16101         poisoning.
16102         * malloc/Makefile: Remove un-poisoning.
16103         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16104         instead of old__malloc_initialize_hook.
16105         * malloc/malloc-hooks.h: Likewise.
16106         * malloc/malloc.c: Likewise.
16107         * malloc/mcheck-init.c: Likewise.
16109 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16111         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16113 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16115         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16116         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16117         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16118         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16120 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16122         * NEWS: Mention addition of nextup and nextdown.
16123         * manual/arith.texi: Document nextup and nextdown.
16124         * manual/libm-err-tab.pl: Add nextup and nextdown.
16125         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16126         * math/Versions (libm): Add GLIBC_2.24.
16127         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16128         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16129         Add new test.
16130         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16131         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16132         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16133         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16134         (nextup_test_data): Likewise.
16135         (nextdown_test_data): Likewise.
16136         * math/s_nextdown.c: New file.
16137         * math/s_nextdownf.c: Likewise.
16138         * math/s_nextdownl.c: Likewise.
16139         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16140         F(nextup): New function.
16141         F(nextdown): Likewise.
16142         * math/tgmath.h: Add nextup and nextdown.
16143         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16144         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16145         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16146         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16147         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16148         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16149         Add nextup and nextdown.
16150         (CFLAGS-nldbl-nextup.c): New variable.
16151         (CFLAGS-nldbl-nextdown.c): Likewise.
16152         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16153         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16154         * sysdeps/nacl/libm.abilist: Update.
16155         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16157         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16159         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16160         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16162         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16164         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16165         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16169         Likewise.
16170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16172         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16173         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16174         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16175         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16176         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16179         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16180         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16182         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16184 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16186         * manual/pattern.texi: Fix typos & grammar errors.
16188 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16190         * manual/search.texi: Fix typos & grammar errors.
16192 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16194         * manual/message.texi: Fix typos & grammar errors.
16196 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
16198         * manual/contrib.texi: Fix spelling typos.
16199         * manual/crypt.texi: Likewise.
16200         * manual/filesys.texi: Likewise.
16201         * manual/locale.texi: Likewise.
16202         * manual/message.texi: Likewise.
16203         * manual/nss.texi: Likewise.
16204         * manual/string.texi: Likewise.
16206 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16208         * manual/locale.texi: Fix typos & grammar errors.
16210 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16212         * manual/charset.texi: Fix typos & grammar errors.
16214 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16216         * manual/string.texi: Fix typos.
16218 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16220         * manual/ctype.texi: Fix typos.
16222 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16224         * manual/memory.texi: Fix various typos & grammar errors.
16226 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
16228         [BZ #20255]
16229         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
16230         * math/libm-test.inc (fdim_test_data): Add another test.
16232         [BZ #6796]
16233         [BZ #20255]
16234         [BZ #20256]
16235         * math/s_fdim.c: Include <math_private.h>.
16236         (__fdim): Use math_narrow_eval on result.
16237         * math/s_fdimf.c: Include <math_private.h>.
16238         (__fdimf): Use math_narrow_eval on result.
16239         * sysdeps/i386/fpu/s_fdim.S: Remove file.
16240         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16241         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
16242         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
16243         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
16244         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
16245         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
16246         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
16247         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
16248         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
16249         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
16250         * math/libm-test.inc (fdim_test_data): Expect errno setting on
16251         overflow.  Add sNaN tests.
16253         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
16254         fpclassify.
16255         * math/s_fdimf.c (__fdimf): Likewise.
16256         * math/s_fdiml.c (__fdiml): Likewise.
16258 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16260         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16261         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
16262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16263         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16264         ifunc'ed strcasecmp/strncasecmp.
16265         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
16266         [EALIGN]: Removed.
16267         [END]: Likewise.
16268         [__strcasecmp]: Define instead of the above to control symbol name.
16269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
16270         for __strcasecmp_power8.
16271         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
16272         for __strncasecmp_power8.
16273         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
16274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
16275         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16276         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
16277         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
16278         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
16280 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
16282         [BZ #20252]
16283         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
16284         arguments when second argument is a NaN.
16285         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
16286         qNaN tests.
16288         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
16289         (conj_test_data): Likewise.
16290         (copysign_test_data): Likewise.
16291         (creal_test_data): Likewise.
16292         (fma_test_data): Likewise.
16293         (fmod_test_data): Likewise.
16295         [BZ #20250]
16296         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
16297         itself.
16298         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
16299         zero input to itself.
16300         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
16301         Likewise.
16302         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
16303         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16304         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16305         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16306         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
16308 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16310         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
16311         * nptl/tst-cancel4-common.c: New file.
16312         * nptl/tst-cancel4-common.h: Likewise.
16313         * nptl/tst-cancel4.c: Move common definitions to
16314         tst-cancel4-common.{c,h} file.
16315         * nptl/tst-cancel4_1.c: New test.
16316         * nptl/tst-cancel4_2.c: New test.
16318 2016-06-13  Florian Weimer  <fweimer@redhat.com>
16320         [BZ #20248]
16321         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
16322         (write_message): New function.
16323         (stackoverflow_handler): Call it instead of printf, to avoid
16324         excessive stack usage by printf.
16325         (do_test): Restore SIGSEGV, SIGBUS default handlers.
16327 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16329         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
16330         (prio_inherit_missing): Remove define.
16331         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16332         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
16334         Likewise.
16335         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16336         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16337         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16338         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16339         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16340         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16342 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16344         [BZ #19670]
16345         [BZ #19672]
16347         * io/test-lfs.c (do_prepare): Use xmalloc.
16348         * io/tst-fcntl.c (do_prepare): Likewise.
16349         * libio/tst-fopenloc.c (do_bz17916): Likewise.
16350         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
16351         * login/tst-utmp.c (do_prepare): Likewise.
16352         * posix/tst-exec.c (do_prepare): Likewise.
16353         * posix/tst-pathconf.c (prepare): Likewise.
16354         * posix/tst-spawn.c (do_prepare): Likewise.
16355         * posix/tst-truncate.c (do_prepare): Likewise.
16356         * rt/tst-aio.c (do_prepare): Likewise.
16357         * rt/tst-aio64.c (do_prepare): Likewise.
16359 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16361         [BZ #20237]
16362         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
16363         (get*ent): Set entidx to NULL during initialization.  If entidx is
16364         NULL, start iteration from the beginning.
16366 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16368         * malloc/malloc.c (musable): Return correct size for dumped fake
16369         mmapped chunk.
16371 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16373         [BZ #20222]
16374         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
16375         (_IO_cookie_write): Likewise.
16376         (_IO_cookie_seek): Likewise.
16377         (_IO_cookie_close): Likewise.
16378         (_IO_old_cookie_seek): Likewise.
16379         (set_callbacks): New function.
16380         (_IO_cookie_init): Call set_callbacks to copy callbacks.
16382 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
16384         * locale/programs/localedef.c (oldstyle_tables): Remove.
16385         * locale/programs/localedef.h (oldstyle_tables): Likewise.
16387 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
16389         [BZ #20240]
16390         * math/Makefile (CFLAGS-s_modf.c): New variable.
16391         (CFLAGS-s_modff.c): Likewise.
16392         (CFLAGS-s_modfl.c): Likewise.
16393         * math/libm-test.inc (modf_test_data): Add sNaN tests.
16395 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
16397         [BZ #20215]
16398         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
16399         [!__GNUC_PREREQ (3,2)]: Likewise.
16401 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
16403         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
16404         (msghdr.msg_controllen): Likewise.
16405         (cmsghdr.cmsg_len): Likewise.
16406         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
16407         ptw-oldsendmsg.
16408         (CFLAGS-oldrecvmsg.c): Remove rule.
16409         (CFLAGS-oldsendmsg.c): Likewise.
16410         (CFLAGS-recvmsg.c): Add rule.
16411         (CFLAGS-sendmsg.c): Likewise.
16412         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
16413         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
16414         (CFLAGS-recvmsg.c): Remove rule.
16415         (CFLAGS-sendmsg.c): Likewise.
16416         (CFLAGS-oldrecvmsg.c): Likewise.
16417         (CFLAGS-oldsendmsg.c): Likewise.
16418         (CFLAGS-recvmmsg.c): Likewise.
16419         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
16420         to kernel defined interfaces.
16421         (msghdr.msg_controllen): Likewise.
16422         (cmsghdr.cmsg_len): Likewise.
16423         (msghdr.__glibc_reserved1): Remove member.
16424         (msghdr.__glibc_reserved2): Likewise.
16425         (cmsghdr.__glibc_reserved1): Likewise.
16426         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
16427         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
16428         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16429         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16430         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
16431         version.
16432         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16433         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
16434         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16435         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
16436         Remove recvmsg and sendmsg.
16437         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
16438         Likewise.
16439         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16440         Likewise.
16441         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16442         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16443         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16444         Likewise.
16445         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16446         Likewise.
16447         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
16448         [libc] (GLIBC_2.24): Likewise.
16449         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16450         Likewise.
16451         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16452         Likewise.
16453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16454         [libc] (GLIBC_2.24): Likewise.
16455         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16456         Likewise.
16457         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16458         Likewise.
16459         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16460         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16461         Likewise.
16462         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16463         Likewise.
16464         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16465         Likewise.
16466         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
16467         Likewise.
16468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
16469         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
16470         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
16471         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
16472         version for {recv,send,recm,sendm}msg.
16473         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16474         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16475         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16476         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16477         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16478         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16479         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16480         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16481         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16482         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16483         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16484         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16486         Likewise.
16487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16488         Likewise.
16489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16491         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16492         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16493         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16494         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16495         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16496         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16499         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16500         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16501         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16503 2016-06-10  Florian Weimer  <fweimer@redhat.com>
16505         [BZ #19564]
16506         Remove __malloc_initialize_hook from the API.
16507         * malloc/malloc.h (__malloc_initialize_hook): Remove.
16508         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
16509         #pragma GCC poison.
16510         * malloc/malloc-hooks.h: New file.
16511         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
16512         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
16513         (old__malloc_initialize_hook): Rename from
16514         __malloc_initialize_hook to evade poisoning.  Turn into compat
16515         symbol.
16516         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
16517         __malloc_initialize_hook.
16518         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
16519         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
16520         * manual/memory.texi (Hooks for Malloc): Remove
16521         __malloc_initialize_hook.  Adjust hook example.
16523 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
16525         [BZ #20235]
16526         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
16527         itself.
16528         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16529         * math/libm-test.inc (log2_test_data): Add sNaN tests.
16531         [BZ #20234]
16532         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
16533         infinity or NaN input to itself.
16535         [BZ #20233]
16536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
16537         to itself.
16539         [BZ #20232]
16540         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
16541         itself.
16543 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16545         * sysdeps/x86_64/start.S (_start): Always indirect branch to
16546         __libc_start_main via GOT.
16548 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16550         * sysdeps/x86_64/memcopy.h: New file.
16551         * sysdeps/x86_64/wordcopy.c: Likewise.
16553 2016-06-09  Florian Weimer  <fweimer@redhat.com>
16555         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
16556         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
16557         <cstdlib>.
16558         (optimization_barrier): New.
16559         (do_test): Use it.  Call quick_exit in the global namespace.
16560         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16561         instead of <cstdlib>, <thread>.
16562         (optimization_barrier): New.
16563         (non_main_thread): Adjust declaration.  Call optimization_barrier.
16564         Call quick_exit in the global namespace.
16565         (do_test): Call optimization_barrier.  Use pthread_create,
16566         pthread_join instead of std::thread.
16568 2016-06-09  Andreas Schwab  <schwab@suse.de>
16570         [BZ #19755]
16571         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16572         new entries in auto-propagate mode.
16573         * nscd/grpcache.c (cache_addgr): Likewise.
16575 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16577         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16578         New functions.
16579         (add_temp_file): Use them.
16581 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16583         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16585 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16587         [BZ #20229]
16588         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16589         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16590         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16592         [BZ #20228]
16593         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16594         itself.
16595         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16596         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16598         [BZ #20227]
16599         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16600         itself.
16601         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16602         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16603         * math/libm-test.inc (log_test_data): Add sNaN tests.
16605         [BZ #20226]
16606         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16607         itself.
16608         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16609         * math/libm-test.inc (exp_test_data): Add sNaN tests.
16610         (exp10_test_data): Likewise.
16611         (expm1_test_data): Likewise.
16613         [BZ #20225]
16614         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16615         itself.
16616         * math/s_ldexpf.c (__ldexpf): Likewise.
16617         * math/s_ldexpl.c (__ldexpl): Likewise.
16618         * math/w_scalbln.c (__w_scalbln): Likewise.
16619         * math/w_scalblnf.c (__w_scalblnf): Likewise.
16620         * math/w_scalblnl.c (__w_scalblnl): Likewise.
16621         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
16622         (scalbln_test_data): Likewise.
16624         [BZ #20224]
16625         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
16626         argument to itself.
16627         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
16629 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16631         [BZ #19776]
16632         * sysdeps/x86_64/memcpy.S: Make it dummy.
16633         * sysdeps/x86_64/mempcpy.S: Likewise.
16634         * sysdeps/x86_64/memmove.S: New file.
16635         * sysdeps/x86_64/memmove_chk.S: Likewise.
16636         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16637         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16638         * sysdeps/x86_64/memmove.c: Removed.
16639         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16640         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16641         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
16642         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16643         Likewise.
16644         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16645         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16647         memcpy-sse2-unaligned, memmove-avx-unaligned,
16648         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
16649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16650         (__libc_ifunc_impl_list): Replace
16651         __memmove_chk_avx512_unaligned_2 with
16652         __memmove_chk_avx512_unaligned.  Remove
16653         __memmove_chk_avx_unaligned_2.  Replace
16654         __memmove_chk_sse2_unaligned_2 with
16655         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
16656         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
16657         with __memmove_avx512_unaligned.  Replace
16658         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
16659         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
16660         with __memcpy_chk_avx512_unaligned.  Remove
16661         __memcpy_chk_avx_unaligned_2.  Replace
16662         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
16663         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
16664         Replace __memcpy_avx512_unaligned_2 with
16665         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
16666         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
16667         with __mempcpy_chk_avx512_unaligned.  Remove
16668         __mempcpy_chk_avx_unaligned_2.  Replace
16669         __mempcpy_chk_sse2_unaligned_2 with
16670         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
16671         Replace __mempcpy_avx512_unaligned_2 with
16672         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
16673         Replace __mempcpy_sse2_unaligned_2 with
16674         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
16675         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
16676         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
16677         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
16678         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
16679         (ENTRY): Removed.
16680         (END): Likewise.
16681         (ENTRY_CHK): Likewise.
16682         (libc_hidden_builtin_def): Likewise.
16683         Don't include ../memcpy.S.
16684         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
16685         __memcpy_chk_avx512_unaligned_erms and
16686         __memcpy_chk_avx512_unaligned.  Use
16687         __memcpy_chk_avx_unaligned_erms and
16688         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16689         Default to __memcpy_chk_sse2_unaligned.
16690         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16691         Change function suffix from unaligned_2 to unaligned.
16692         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
16693         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
16694         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
16695         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
16696         (ENTRY): Removed.
16697         (END): Likewise.
16698         (ENTRY_CHK): Likewise.
16699         (libc_hidden_builtin_def): Likewise.
16700         Don't include ../mempcpy.S.
16701         (mempcpy): New.  Add a weak alias.
16702         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
16703         __mempcpy_chk_avx512_unaligned_erms and
16704         __mempcpy_chk_avx512_unaligned.  Use
16705         __mempcpy_chk_avx_unaligned_erms and
16706         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16707         Default to __mempcpy_chk_sse2_unaligned.
16709 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16711         [BZ #19881]
16712         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
16713         into ...
16714         * sysdeps/x86_64/memset.S: This.
16715         (__bzero): Removed.
16716         (__memset_tail): Likewise.
16717         (__memset_chk): Likewise.
16718         (memset): Likewise.
16719         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
16720         defined.
16721         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
16722         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
16723         (__memset_zero_constant_len_parameter): Check SHARED instead of
16724         PIC.
16725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16726         memset-avx2 and memset-sse2-unaligned-erms.
16727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16728         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
16729         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
16730         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16731         (__bzero): Enabled.
16732         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
16733         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
16734         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
16735         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
16736         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16737         (memset): Removed.
16738         (__memset_chk): Likewise.
16739         (MEMSET_SYMBOL): New.
16740         (libc_hidden_builtin_def): Replace __memset_sse2 with
16741         __memset_sse2_unaligned.
16742         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
16743         __memset_chk_sse2 and __memset_chk_avx2 with
16744         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
16745         Use __memset_chk_sse2_unaligned_erms or
16746         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
16747         __memset_chk_avx512_unaligned_erms and
16748         __memset_chk_avx512_unaligned.
16750 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16752         * math/gen-auto-libm-test.c (fp_format_desc): remove
16753         suffix member.
16754         (output_generic_value): Remove usage of suffix member,
16755         and the resulting unuse of the fp_format argument.
16756         (output_for_one_input_case): Remove unused fp_format
16757         parameter.
16759         * math/auto-libm-test-out: Regenerate.
16761         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
16762         usage with TEST_COND_ibm128.
16763         (TEST_COND_flt_32): Remove.
16764         (TEST_COND_dbl_64): Remove.
16765         (TEST_COND_ldbl_96_intel): Remove.
16766         (TEST_COND_ldbl_96_m68k): Remove.
16767         (TEST_COND_ldbl_128): Remove.
16769 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16771         * auto-libm-test-in:
16772         Replace flt-32 usage with binary32.
16773         Replace dbl-64 usage with binary64.
16774         Replace ldbl-intel-96 usage with intel96.
16775         Replace ldbl-m68k-96 usage with m68k96.
16776         Replace ldbl-128ibm usage with ibm128.
16777         Replace ldbl-128 usage with binary128.
16779         * auto-libm-test-out: Regenerate.
16781 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16783         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
16784         (parse_ulps): Dynamically generate type name matching
16785         string from all_floats.
16786         (get_ulps): Generate the ulps as an array instead.
16787         (output_ulps): Dynamically compose the type based
16788         on the number of supported formats, and print
16789         the indices as type specific helper macros.
16791         * math/libm-test.inc: Remove comment about CHOOSE.
16792         (ulp_data): Generate the type in libm-test-ulps.h.
16793         (ULP_IDX): New macro.
16794         (find_ulps): Update usage of max_ulp.
16796         * math/test-double-vlen2.h (CHOOSE): Remove.
16797         * math/test-double-vlen4.h (CHOOSE): Likewise.
16798         * math/test-double-vlen8.h (CHOOSE): Likewise.
16799         * math/test-float.c (CHOOSE): Likewise.
16800         * math/test-float-finite.c (CHOOSE): Likewise.
16801         * math/test-double.c (CHOOSE): Likewise.
16802         * math/test-double-finite.c (CHOOSE): Likewise.
16803         * math/test-idouble.c (CHOOSE): Likewise.
16804         * math/test-ifloat.c (CHOOSE): Likewise.
16805         * math/test-ildoubl.c (CHOOSE): Likewise.
16806         * math/test-ldouble-finite.c (CHOOSE): Likewise.
16807         * math/test-ldouble.c (CHOOSE): Likewise.
16809         * math/test-float.h (TEST_FLOAT): Remove.
16810         * math/test-double.h (TEST_DOUBLE): Likewise.
16811         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
16813 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16815         * math/gen-libm-test.pl: (apply_lit): New subroutine.
16816         (parse_args): Strip C suffix from floating point literals
16817         typed with 'f' and wrap them with LIT().
16819         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
16820         (test_ff_f_data_nexttoward): Rename to
16821         (test_fj_f_data): New struct.
16822         (nexttoward_test_data): Relabel tests as
16823         TEST_fj_f instead of TEST_ff_f.
16825 2016-06-08  Florian Weimer  <fweimer@redhat.com>
16827         Emacs bug 23726.
16828         * malloc/malloc.c (dumped_main_arena_start): Update comment.
16829         (__libc_realloc): Correct size computation for dumped fake mmapped
16830         chunks.
16832 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
16834         [BZ #20219]
16835         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
16836         to itself.
16837         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
16839         [BZ #20218]
16840         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
16841         to itself.
16842         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
16844 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
16846         [BZ #20195]
16847         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
16848         check to ...
16849         (init_cpu_features): Here.
16851 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
16853         [BZ #20214]
16854         * sysdeps/unix/sysv/linux/bits/in.h
16855         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16856          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
16857         Define to 1.
16858         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16859          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
16860         Define to 0.
16861         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
16862         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
16864 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
16866         [BZ #20198]
16867         * stdlib/Makefile (tests): Add tst-quick_exit, and
16868         tst-thread-quick_exit.
16869         [ifeq ($(have-cxx-thread_local),yes)]
16870         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
16871         (CFLAGS-tst-thread-quick_exit.o): Likewise.
16872         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
16873         (LDLIBS-tst-thread-quick_exit): Likewise.
16874         [ifneq ($(have-cxx-thread_local),yes)]
16875         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
16876         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
16877         If run_dtors is true call __call_tls_dtors.
16878         (exit): Call __run_exit_handlers with run_dtors set to true.
16879         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
16880         definition.
16881         * stdlib/quick_exit.c (quick_exit): Remove function.
16882         (__new_quick_exit): New function.
16883         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
16884         function.
16885         * stdlib/tst-quick_exit.cc: New file.
16886         * stdlib/tst-thread-quick_exit.cc: New file.
16887         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
16888         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
16889         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
16890         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
16891         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
16892         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
16893         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
16894         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
16895         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
16896         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
16897         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
16898         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
16899         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
16900         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
16901         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
16902         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
16904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
16905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
16906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
16907         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
16908         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
16909         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
16910         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
16911         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
16912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
16913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
16914         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
16915         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
16916         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
16918 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16920         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
16921         a typo in comments.
16923 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16925         [BZ #20213]
16926         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
16927         argument to itself.
16928         * math/libm-test.inc (asin_test_data): Add sNaN tests.
16930 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16932         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
16933         required flags.
16934         (CFLAGS-pwritev64.c): Likewise.
16935         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
16936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16937         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
16938         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16939         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
16940         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
16941         syscall from auto-generation.
16942         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
16943         [WORDSIZE == 64] (pwritev64): Remove macro.
16944         [!PWRITEV] (PWRITEV): Likewise.
16945         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16946         [!PWRITEV] (PWRITE): Likewise.
16947         [!PWRITEV] (OFF_T): Likewise.
16948         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16949         (LO_HI_LONG): Remove macro.
16950         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
16951         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
16952         (PWRITEV): Remove macro.
16953         (PWRITEV_REPLACEMENTE): Likewise.
16954         (PWRITE): Likewise.
16955         (OFF_T): Likewise.
16956         (pwritev64): New function.
16957         * nptl/tst-cancel4.c (tf_writev): Add test.
16959         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
16960         required flags.
16961         (CFLAGS-preadv64.c): Likewise.
16962         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
16963         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16964         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
16965         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
16966         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
16967         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
16968         syscall from auto-generation.
16969         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
16970         [WORDSIZE == 64] (preadv64): Remove macro.
16971         [!PREADV] (PREADV): Likewise.
16972         [!PREADV] (PREADV_REPLACEMENT): Likewise.
16973         [!PREADV] (PREAD): Likewise.
16974         [!PREADV] (OFF_T): Likewise.
16975         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
16976         (LO_HI_LONG): Remove macro.
16977         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
16978         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
16979         (PREADV): Remove macro.
16980         (PREADV_REPLACEMENTE): Likewise.
16981         (PREAD): Likewise.
16982         (OFF_T): Likewise.
16983         (preadv64): New function.
16984         * nptl/tst-cancel4.c (tf_preadv): Add test.
16986 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16988         [BZ #20212]
16989         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
16990         argument to itself.
16991         * math/libm-test.inc (acos_test_data): Add sNaN tests.
16993 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16995         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
16996         New symbol defined as libc_hidden_def.
16997         (strcasestr): Became a weak alias to __strcasestr.
16998         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
16999         according to multi-arch support.  Move __stpncpy hidden
17000         definition from here to...
17001         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17002         symbol stpncpy.
17003         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17004         libc_hidden_builtin_def.
17005         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17006         memset symbol to use when multi-arch support is available.
17008 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17010         * dlfcn/tst-rec-dlopen.c: Include string.h.
17012 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17014         * manual/install.texi: Remove mention of --without-tls
17015         * INSTALL: Regenerate.
17017 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17019         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17020         Remove.
17021         (call_function, interposed_malloc_called): New variables.
17022         (malloc): New function.
17023         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17024         and clear call_function as needed.
17026 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17028         * include/wchar.h (__wmemset): Use __typeof.
17030 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17032         * include/wchar.h (__wmemset): Declare function without typeof.
17034 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17036         [BZ #20205]
17037         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17038         exponent when incrementing negative subnormal with low mantissa
17039         word zero.
17040         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17041         Add another test.
17043 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17045         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17046         __wmemset instead of wmemset.
17048 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17050         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17051         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17052         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17053         __USE_KERNEL_IPV6_DEFS to 0.
17054         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17055         Update comment.
17057 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17059         [BZ #19861]
17060         Do not use IFUNC resolver with potentially unrelocated symbol.
17061         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17062         (DEFINE_FORK): Remove macro and inline definition.
17063         (fork_alias): Renamed from fork_ifunc.
17064         (__fork_alias): Renamed from __fork_ifunc.
17066 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17068         [BZ 19653]
17069         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17070         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17072 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17074         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17075         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17076         i386-linux-gnu).
17077         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17078         Set to no.
17079         * sysdeps/mach/hurd/configure: Refresh.
17081 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17083         [BZ #20178]
17084         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17085         on failure instead of exit.
17087 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17089         [BZ #3629]
17090         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17091         of POSIX.1-2008.
17093 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17095         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17096           Use PLT entry for calling _hurd_self_sigstate.
17098 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17100         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17101         available logical processors with SMT level type sharing L2
17102         cache for Intel processors.
17104 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17106         [BZ #20160]
17107         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17108         argument to itself before returning the result.
17109         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17110         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17111         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17112         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17113         Likewise.
17114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17115         Likewise.
17116         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17117         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17118         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17119         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17120         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17121         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17123         [BZ #20160]
17124         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17125         argument to itself before returning the result.
17126         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17127         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17128         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17129         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17130         Likewise.
17131         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17132         Likewise.
17133         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17134         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17135         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17136         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17137         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17138         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17140 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17142         * libm-test.inc: Replace usage of M_El with
17143         (lit_e): New macro.
17145 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17147         * libm-test.inc: Replace usage of M_PI_4l with
17148         (lit_pi_4_d): New macro.
17150 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17152         * libm-test.inc: Replace usage of M_PIl with
17153         (lit_pi): New macro.
17155 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17157         * libm-test.inc: Replace usage of M_PI2l with
17158         (lit_pi_2_d): New macro.
17160         * math/test-double.h (LITM): New macro.
17161         * math/test-float.h (LITM): Likewise.
17162         * math/test-ldouble.h (LITM): Likewise.
17164 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17166         * libm-test.inc (M_PI_34l): Rename to
17167         (lit_pi_3_m_4_d): New Macro.
17168         (M_PI_34_LOG10El): Rename to
17169         (lit_pi_3_m_4_ln10_m_d): New Macro.
17170         (M_PI2_LOG10El): Rename to
17171         (lit_pi_2_ln10_m_d):  New Macro.
17172         (M_PI4_LOG10El): Rename to
17173         (lit_pi_4_ln10_m_d):  New Macro.
17174         (M_PI_LOG10El): Rename to
17175         (lit_pi_ln10_d):  New Macro.
17177 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17179         [BZ #20157]
17180         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17181         determine whether to negate low half if [_ARCH_PPCGR], and integer
17182         comparison otherwise.
17183         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17184         determine whether to negate low half.
17186         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17187         (NO_TEST_INLINE_DOUBLE): Likewise.
17188         (TEST_COND_x86_64): Likewise.
17189         (TEST_COND_x86): Likewise.
17190         (M_PI_6l): Likewise.
17192 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17194         * math/libm-test.inc:
17195         (TEST_FLOAT): Change usage to TEST_COND_binary32.
17196         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17197         (TEST_LDOUBLE): Update usage to evaluate as true if
17198         the guarded tests match the property being tested.
17199         (LDBL_MAX_EXP): Change to MAX_EXP.
17200         (LDBL_MIN_EXP): Change to MIN_EXP.
17201         (LDBL_MANT_DIG): Change to MANT_DIG, except for
17202         nexttoward tests.
17204 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17206         * math/libm-test.inc:
17207         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17208         (TYPE_MIN): Likewise.
17209         (TYPE_TRUE_MIN): Likewise.
17210         (TYPE_MAX): Likewise.
17211         (MIN_EXP): Likewise.
17212         (MAX_EXP): Likewise.
17213         (MANT_DIG): Likewise.
17215         (FSTR_MAX): New macro.
17216         (__CONCATX): Likewise.
17217         (QTYPE_STR): Likewise.
17218         (TEST_COND_binary32): Likewise.
17219         (TEST_COND_binary64): Likewise.
17220         (TEST_COND_binary128): Likewise.
17221         (TEST_COND_ibm128): Likewise.
17222         (TEST_COND_intel96): Likewise.
17223         (TEST_COND_m68k96): Likewise.
17225         (TEST_COND_flt_32): Redefine as equivalent format test macro.
17226         (TEST_COND_dbl_64): Likewise.
17227         (TEST_COND_ldbl_96_intel): Likewise.
17228         (TEST_COND_ldbl_96_m68k): Likewise.
17229         (TEST_COND_ldbl_128): Likewise.
17230         (TEST_COND_ldbl_128ibm): Likewise.
17232         (plus_zero): Redefine using LIT macro.
17233         (minus_zero): Likewise.
17234         (plus_infty): Redefine as (INF).
17235         (minux_infty): Redefine as (-INF).
17236         (max_value): Redefine as TYPE_MAX.
17237         (min_value): Redefine as TYPE_MIN.
17238         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
17240         (print_float): Refactor to use snprintf to convert FLOAT values
17241         to string. This brings it closer to dropin replacement of strtof
17242         for the TS 18661 defined types.
17243         (update_stats): Likewise.
17244         (print_complex_function_ulps): Likewise.
17245         (print_max_error): Likewise.
17246         (print_complex_max_error): Likewise.
17247         (check_float_internal): Likewise.
17249         * math/test-float.h (PREFIX): New macro.
17250         (LIT): Likewise.
17251         (TYPE_STR): Likewise.
17252         (FTOSTR): Likewise.
17254         * math/test-double.h (PREFIX): New macro.
17255         (LIT): Likewise.
17256         (TYPE_STR): Likewise.
17257         (FTOSTR): Likewise.
17259         * math/test-ldouble.h (PREFIX): New macro.
17260         (LIT): Likewise.
17261         (TYPE_STR): Likewise.
17262         (FTOSTR): Likewise.
17264 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17266         [BZ #20156]
17267         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
17268         to itself when zero or not finite.
17269         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
17270         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17271         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
17272         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
17274 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
17276         [BZ #20153]
17277         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
17278         x * x + x for infinities and NaNs.
17280         [BZ #20151]
17281         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
17282         argument to itself before returning result.
17283         (__ieee754_y0l): Likewise.
17284         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17285         (__ieee754_y1l).
17287         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
17288         (atan_test_data): Likewise.
17289         (ceil_test_data): Likewise.
17290         (cos_test_data): Likewise.
17291         (cosh_test_data): Likewise.
17292         (erf_test_data): Likewise.
17293         (exp2_test_data): Likewise.
17294         (fabs_test_data): Likewise.
17295         (floor_test_data): Likewise.
17296         (ilogb_test_data): Likewise.
17297         (j0_test_data): Likewise.
17298         (j1_test_data): Likewise.
17299         (jn_test_data): Likewise.
17300         (lgamma_test_data): Likewise.
17301         (lrint_test_data): Likewise.
17302         (llrint_test_data): Likewise.
17303         (logb_test_data): Likewise.
17304         (lround_test_data): Likewise.
17305         (llround_test_data): Likewise.
17306         (nearbyint_test_data): Likewise.
17307         (rint_test_data): Likewise.
17308         (round_test_data): Likewise.
17309         (sin_test_data): Likewise.
17310         (sincos_test_data): Likewise.
17311         (sinh_test_data): Likewise.
17312         (sqrt_test_data): Likewise.
17313         (tan_test_data): Likewise.
17314         (tanh_test_data): Likewise.
17315         (tgamma_test_data): Likewise.
17316         (trunc_test_data): Likewise.
17317         (y0_test_data): Likewise.
17318         (y1_test_data): Likewise.
17319         (yn_test_data): Likewise.
17321         * math/libm-test.inc: Update comment about NaN testing.
17322         (TEST_SNAN): New macro.
17323         (snan_value): Likewise.
17324         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
17325         (fpclassify_test_data): Add sNaN tests.
17326         (isfinite_test_data): Likewise.
17327         (isinf_test_data): Likewise.
17328         (isnan_test_data): Likewise.
17329         (isnormal_test_data): Likewise.
17330         (issignaling_test_data): Likewise.
17331         (signbit_test_data): Likewise.
17332         * math/gen-libm-test.pl (%beautify): Add snan_value.
17333         (show_exceptions): Add argument $test_snan.
17334         (parse_args): Handle snan_value as non-finite.  Update call to
17335         show_exceptions.
17336         * math/Makefile (libm-test-no-inline-cflags): Add
17337         -fsignaling-nans.
17339 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17341         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
17342         (CFLAGS-oldsendmsg.c): Add rule.
17343         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17344         Correct recvmsg symbol name.
17345         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
17346         Likewise.
17348 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17350         * sysdeps/unix/sysv/linux/Makefile
17351         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
17352         oldsendmmsg.
17353         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
17354         sendmmsg.
17355         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17356         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17357         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17358         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17360         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17361         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17363         Likewise.
17364         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17365         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
17366         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17367         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
17368         iovlen and controllen fields to adjust to POSIX specification.
17369         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17371         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
17372         and change to correct expected type.
17373         (msghdr.msg_controllen): Likewise.
17374         (cmsghdr.cmsg_len): Likewise.
17375         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
17376         expected POSIX assumption about the size.
17377         (msghdr.msg_controllen): Likewise.
17378         (msghdr.__glibc_reserved1): Likewise.
17379         (msghdr.__glibc_reserved2): Likewise.
17380         (cmsghdr.cmsg_len): Likewise.
17381         (cmsghdr.__glibc_reserved1): Likewise.
17382         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
17383         Add ptw-oldrecvmsg and ptw-oldsendmsg.
17384         (CFLAGS-sendmsg.c): Remove rule.
17385         (CFLAGS-recvmsg.c): Likewise.
17386         (CFLAGS-oldsendmsg.c): Add rule.
17387         (CFLAGS-oldrecvmsg.c): Likewise.
17388         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
17389         recvmsg and sendmsg.
17390         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
17391         Likewise.
17392         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
17393         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
17394         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17395         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
17396         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17397         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17398         Likewise.
17399         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17400         Likewise.
17401         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
17402         Likewise.
17403         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
17404         Likewise.
17405         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17406         Likewise.
17407         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17408         Likewise.
17409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
17410         (GLIBC_2.24): Likewise.
17411         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17412         Likewise.
17413         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17414         Likewise.
17415         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17416         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17417         Likewise.
17418         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17419         Likewise.
17420         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17421         Likewise.
17422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
17423         (GLIBC_2.24): Likewise.
17424         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
17425         Likewise.
17426         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
17427         Likewise.
17428         * sysdeps/unix/sysv/linux/Makefile
17429         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
17430         (CFLAGS-sendmsg.c): Add rule.
17431         (CFLAGS-recvmsg.c): Likewise.
17432         (CFLAGS-oldsendmsg.c): Likewise.
17433         (CFLAGS-oldrecvmsg.c): Likewise.
17434         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
17435         initialization.
17436         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17437         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17438         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
17439         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17440         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
17441         iovlen and controllen fields to adjust to POSIX specification.
17442         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
17443         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
17444         added recvmsg and sendmsg.
17445         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17446         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17447         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17448         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17449         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17450         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17451         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17452         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17453         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17454         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17455         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17456         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17458         Likewise.
17459         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
17460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17461         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17462         Likewise.
17463         Likewise.
17464         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17465         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17466         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17467         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17468         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17469         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17471         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17473         Likewise.
17474         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17475         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17477         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
17478         from auto-generation.
17479         (sendmsg): Likewise.
17480         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
17481         (sendmsg): Likewise.
17482         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
17483         (sendmsg): Likewise.
17484         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
17485         (sendmsg): Likewise.
17486         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
17487         (sendmsg): Likewise.
17488         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
17489         (sendmsg): Likewise.
17490         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
17491         Likewise.
17492         (sendmsg): Likewise.
17493         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
17494         (sendmsg): Likewise.
17495         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17497         Remove.
17498         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17499         Likewise.
17500         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17501         Undefine.
17502         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17503         Likewise.
17504         * sysdeps/unix/sysv/linux/kernel-features.h
17505         (__ASSUME_SENDMSG_SYSCALL): Define.
17506         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17507         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17508         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17509         Remove.
17510         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17511         Likewise.
17512         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17513         Undefine.
17514         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17515         Likewise.
17516         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17518         Remove.
17519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17520         Likewise.
17521         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17522         Undefine.
17523         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17524         Likewise.
17525         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17526         (__ASSUME_SENDMSG_SYSCALL): Undefine.
17527         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17528         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17529         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17530         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17531         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17532         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17533         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17535 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17537         * stdlib/gen-tst-strtod-round.c: Add backslash to
17538         compile command in comment.
17539         (printfp): Remove the literal suffix, and define an infinite
17540         value as INF to avoid expansion clash with INFINITY.
17541         (round_str): Remove the literal suffix.
17542         (round_for_all): Likewise, remove the now duplicate ldbl-64
17543         entry, and remove some magic constants.
17545         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
17546         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
17547         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
17548         (_CONCAT): New macro.
17549         (CONCAT): Likewise.
17550         (CHOOSE_ld): Likewise.
17551         (CHOOSE_f): Likewise.
17552         (CHOOSE_d): Likewise.
17553         (FTYPE_MEMBER): Likewise.
17554         (BOOL_MEMBER): Likewise.
17555         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
17556         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
17557         (_XNTRY): Likewise.
17558         (XNTRY): Likewise.
17559         (_ENTRY): Likewise.
17560         (ENTRY): Likewise.
17561         (test_exactness): Generate members via macro.
17562         (test_results): Likewise.
17563         (test): Update members.
17564         (TEST): Redefine using new macros.
17565         (INF): New macro.
17566         (fetestmodes): New structure.
17567         (do_test): Refactor to be type generic.
17568         (test_in_one_mode): Refactor duplicate code into
17569         (GEN_ONE_TEST): New macro.
17571         * stdlib/tst-strtod-round-data.h: Regenerate.
17573         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17574         Extend to pass additional arbitrary parameters to
17575         generators.
17577 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17579         [BZ #15479]
17580         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17581         floating-point state after first floating-point operation on
17582         input.  Restore full floating-point state instead of just rounding
17583         mode.
17584         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17585         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17586         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17587         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17588         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17590         [BZ #15479]
17591         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17592         floating-point state after first floating-point operation on
17593         input.  Restore full floating-point state instead of just rounding
17594         mode.
17595         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17596         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17597         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17598         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17599         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17601 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17603         [BZ #19727]
17604         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17605         valid high surrogate.
17606         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17607         of an utf16 surrogate.
17608         * iconv/gconv_simple.c (BODY): Likewise.
17609         * iconvdata/bug-iconv12.c: New file.
17610         * iconvdata/Makefile (tests): Add bug-iconv12.
17612 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17614         [BZ #19726]
17615         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17616         outptrp in case of an illegal input.
17617         * iconv/tst-iconv6.c: New file.
17618         * iconv/Makefile (tests): Add tst-iconv6.
17620 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17622         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
17623         an error in case of a value in range of an utf16 low surrogate.
17625 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17627         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17628         an error in case of a value in range of an utf16 low surrogate.
17630 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17632         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
17633         Move to ...
17634         * sysdeps/s390/Makefile: ... here.
17635         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
17636         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
17637         (BRANCH_ON_COUNT): New define.
17638         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
17639         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
17640         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
17641         run on s390-32, too.
17642         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
17643         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
17644         run on s390-32, too.
17645         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17646         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
17647         run on s390-32, too.
17649 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17651         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
17652         etf3eh or new vector loop-variant.
17654 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17656         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
17657         etf3eh or new vector loop-variant.
17659 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17661         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
17662         or new vector loop-variant.
17664 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17666         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
17667         Rename to TR_LOOP and usage of tr instead of troo instruction.
17669 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17671         * sysdeps/s390/multiarch/gconv_simple.c: New File.
17672         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
17674 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17676         * sysdeps/s390/multiarch/8bit-generic.c: New File.
17677         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
17678         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
17679         New override define.
17680         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
17682 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17684         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17685         * sysdeps/s390/configure.ac: Add test for S390 vector register
17686         support in gcc.
17687         * sysdeps/s390/configure: Regenerated.
17689 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17691         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
17692         Install file from $(objpfx)gconv-modules.
17693         ($(objpfx)gconv-modules): Concatenate architecture specific file
17694         in variable sysdeps-gconv-modules and gconv-modules in src dir.
17695         * sysdeps/s390/gconv-modules: New file.
17696         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
17697         Deleted.
17698         ($(objpfx)gconv-modules-s390): Deleted.
17699         (sysdeps-gconv-modules): New variable.
17701 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17703         [BZ #15479]
17704         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
17705         of immediate operand to rounding instruction.
17706         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
17707         Likewise.
17708         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
17709         Likewise.
17710         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
17711         Likewise.
17713 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17715         * math/libm-test.inc (MIN_EXP): Directly define as
17716         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
17718 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17720         * math/libm-test.inc (MANT_DIG): Directly define as
17721         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
17723 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17725         * stdlib/gen-tst-strtod-round.c (main):
17726           Change usage to more closely match the generated
17727           output.  Add usage and compilation instructions.
17728           (string_to_fp): Add and use FILE* parameter as
17729           output target.
17730           (print_fp): Likewise.
17731           (round_str): Likewise.
17732           (round_for_all): Likewise.
17733         * stdlib/tst-strtod-round.c (tests): Move into
17734         * stdlib/tst-strtod-round-data.h: New file.
17736 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17738         [BZ #15479]
17739         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
17740         (__round): Do not force "inexact" exception.
17741         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
17742         variable.
17743         (__round): Do not force "inexact" exception.
17744         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
17745         (__roundf): Do not force "inexact" exception.
17746         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
17747         (__roundl): Do not force "inexact" exception.
17748         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
17749         (__roundl): Do not force "inexact" exception.
17750         * math/libm-test.inc (round_test_data): Do not allow spurious
17751         "inexact" exceptions.
17753         [BZ #15479]
17754         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
17755         exception in comment.
17756         (huge): Remove variable.
17757         (__floor): Do not force "inexact" exception.
17758         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
17759         "inexact" exception in comment.
17760         (huge): Remove variable.
17761         (__floor): Do not force "inexact" exception.
17762         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
17763         exception in comment.
17764         (huge): Remove variable.
17765         (__floorf): Do not force "inexact" exception.
17766         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
17767         exception in comment.
17768         (huge): Remove variable.
17769         (__floorl): Do not force "inexact" exception.
17771         [BZ #15479]
17772         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
17773         exception in comment.
17774         (huge): Remove variable.
17775         (__ceil): Do not force "inexact" exception.
17776         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
17777         "inexact" exception in comment.
17778         (huge): Remove variable.
17779         (__ceil): Do not force "inexact" exception.
17780         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
17781         (__ceilf): Do not force "inexact" exception.
17782         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
17783         exception in comment.
17784         (huge): Remove variable.
17785         (__ceill): Do not force "inexact" exception.
17787 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17789         * config.h.in (BIND_NOW): New.
17790         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
17791         * configure: Regenerated.
17792         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
17793         indirect branch via the GOT slot.
17795 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17797         [BZ #19765]
17798         * sysdeps/s390/mempcpy.S: New File.
17799         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
17800         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
17801         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17802         Add mempcpy variants.
17803         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
17804         (memcpy): Adjust to be usable from mempcpy entry point.
17805         (__memcpy_mvcle): Likewise.
17806         * sysdeps/s390/s390-64/memcpy.S: Likewise.
17807         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
17808         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
17809         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
17810         (__memcpy_z10): Likewise.
17811         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17813 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17815         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
17816         Remove __GI_ symbol.
17817         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
17818         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
17819         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
17820         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17821         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
17822         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
17824 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17826         * sysdeps/s390/s390-64/memcpy.S (memcpy):
17827         Use cghi instead of chi to compare 64bit value.
17829 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17831         * sysdeps/s390/s390-32/memcpy.S (memcpy):
17832         Jump to 1MB check before executing mvc-loop.
17834 2016-05-24  Florian Weimer  <fweimer@redhat.com>
17836         [BZ #6527]
17837         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
17838         unconditionally.
17839         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
17841 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17843         * stdlib/tst-strtod6.c (do_test): Use new type generic
17844         invocation of the test function.
17845         (test): Refactor into ...
17846         (TEST_STRTOD): New macro base function.
17848 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17850         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
17851         (TEST_STRTOD): New macro.
17852         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
17854 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17856         * stdlib/tst-strtod6.c (do_test): Use new type generic
17857         invocation of the test function.
17858         (test): Refactor into ...
17859         (TEST_STRTOD): New macro base function.
17861 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17863         CVE-2016-4429
17864         [BZ #20112]
17865         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
17866         payload.
17868 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17870         [BZ #20111]
17871         * bits/sockaddr.h (_SS_SIZE): Define.
17872         * bits/socket.h (_SS_SIZE): Remove.
17873         (_SS_PADSIZE): Adjust to account for all padding.
17874         (struct sockaddr_storage): Update comment.  Avoid implicit
17875         padding.
17876         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
17877         (_SS_PADSIZE): Adjust to account for all padding.
17878         (struct sockaddr_storage): Update comment.  Avoid implicit
17879         padding.
17880         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
17881         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
17882         (_SS_PADSIZE): Adjust to account for all padding.
17883         (struct sockaddr_storage): Update comment.  Avoid implicit
17884         padding.
17885         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
17886         __SS_SIZE is 126 in this version.
17887         * inet/tst-sockaddr.c: New file.
17888         * inet/Makefile (tests): Add tst-sockaddr.c
17889         (tst-sockaddr.c): Compile with non-strict aliasing.
17891 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
17893         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
17894         [XPG3 || XPG4].
17895         (NL_ARGMAX): Also expect for [XPG3].
17896         (NL_LANGMAX): Likewise.
17897         (NL_MSGMAX): Likewise.
17898         (NL_NMAX): Likewise.
17899         (NL_SETMAX): Likewise.
17900         (NL_TEXTMAX): Likewise.
17901         (NZERO): Likewise.
17902         (TMP_MAX): Likewise.
17903         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
17904         variable.
17906         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
17907         (PF_MAX): Update value.
17908         (AF_KCM): New macro.
17909         (SOL_NETBEUI): Likewise.
17910         (SOL_LLC): Likewise.
17911         (SOL_DCCP): Likewise.
17912         (SOL_NETLINK): Likewise.
17913         (SOL_TIPC): Likewise.
17914         (SOL_RXRPC): Likewise.
17915         (SOL_PPPOL2TP): Likewise.
17916         (SOL_BLUETOOTH): Likewise.
17917         (SOL_PNPIPE): Likewise.
17918         (SOL_RDS): Likewise.
17919         (SOL_IUCV): Likewise.
17920         (SOL_CAIF): Likewise.
17921         (SOL_ALG): Likewise.
17922         (SOL_NFC): Likewise.
17923         (SOL_KCM): Likewise.
17924         (MSG_BATCH): New enum value and macro.
17926 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
17928         [BZ #18185]
17929         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
17930         sharing L2 cache to 2 for Knights Landing.
17932 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
17934         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
17935         (FTW_DP): Do not expect for [XPG3 || XPG4].
17936         (FTW_SL): Do not expect for [XPG3].
17937         (FTW_SLN): Likewise.
17938         (FTW_PHYS): Likewise.
17939         (FTW_MOUNT): Likewise.
17940         (FTW_DEPTH): Likewise.
17941         (FTW_CHDIR): Likewise.
17942         (nftw): Likewise.
17943         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
17944         variable.
17946 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17948         * manual/errno.texi: Fix various typos & grammar errors.
17950 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17952         * manual/intro.texi: Fix duplicated typo.
17954 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17956         [BZ #13304]
17957         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
17958         <float.h>, <math_private.h> and <stdlib.h>.
17959         (add_split): New function.
17960         (mul_split): Likewise.
17961         (ext_val): New typedef.
17962         (store_ext_val): New function.
17963         (mul_ext_val): New function.
17964         (compare): New function.
17965         (add_split_ext): New function.
17966         (__fmal): After checking for Inf, NaN and zero, compute result as
17967         an exact sum of scaled double values in round-to-nearest before
17968         adding those up and adjusting for other rounding modes.
17969         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
17970         tests of fma.
17971         * math/auto-libm-test-out: Regenerated.
17973 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17975         [BZ #20119]
17976         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
17977         processor level type mask for CPUID with EAX == 11.
17979 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17981         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
17982         logical threads if the HTT bit is 0.
17983         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
17984         (index_cpu_HTT): Likewise.
17985         (reg_HTT): Likewise.
17987 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17989         [BZ #20115]
17990         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
17991         Remove alignments on jump targets.
17993 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17995         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
17996         (getpwent): Likewise.
17997         (setpwent): Likewise.
17998         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
17999         variable.
18001         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18002         (remque): Likewise.
18003         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18004         variable.
18006 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18008         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18009         not being tested.
18011 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18013         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18014         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18015         call.
18016         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18017         (__condvar_cleanup1): Likewise.
18019 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18021         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18022         New
18023         (__pthread_unwind): Renamed to ...
18024         (PTHREAD_UNWIND): This.
18025         (__pthread_enable_asynccancel): Replace
18026         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18028 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18030         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18031         (CLONE_NEWCGROUP): New macro.
18033         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18034         (Q_GETNEXTQUOTA): New macro.
18036 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18038         [BZ #19907]
18039         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18040         buffer updated by the previous run.
18041         * string/test-memcpy.c (do_one_test): Likewise.
18042         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18043         * string/test-memmove.c (do_one_test): Likewise.
18045 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18047         [BZ #20094]
18048         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18049         not [__USE_XOPEN].
18050         (unlockpt): Likewise.
18051         (ptsname): Likewise.
18052         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18053         variable.
18055         [BZ #20076]
18056         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18057         instead of [__USE_UNIX98].
18058         (S_ISSOCK): Likewise.
18059         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18060         variable.
18062         [BZ #20074]
18063         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18064         [__USE_POSIX].
18065         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18066         variable.
18068         [BZ #20051]
18069         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18070         (ttyslot): Do not declare.
18071         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18072         (ttyslot): New prototype.
18073         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18074         variable.
18075         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18077 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18079         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18081 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18083         Fix race condition in tst-mallocfork2, use fewer resources.
18084         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18085         to current process group.
18086         (signal_sender): Yield in the non-sleeping case.
18088 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18090         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18091         (ecvt): Likewise.
18092         (fcvt): Likewise.
18093         (gcvt): Likewise.
18094         (getsubopt): Likewise.
18095         (grantpt): Likewise.
18096         (initstate): Likewise.
18097         (l64a): Likewise.
18098         (mktemp): Likewise.
18099         (mkstemp): Likewise.
18100         (ptsname): Likewise.
18101         (random): Likewise.
18102         (realpath): Likewise.
18103         (setstate): Likewise.
18104         (srandom): Likewise.
18105         (ttyslot): Likewise.
18106         (unlockpt): Likewise.
18107         (valloc): Likewise.
18109         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18110         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18111         variable.
18113 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18115         [BZ #20072]
18116         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18117         init_cpu_features only if SHARED is defined.
18118         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18120 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18122         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18123         non-inclusive caches on Intel processors.
18125 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18127         * malloc/malloc.c (dumped_main_arena_start)
18128         (dumped_main_arena_end): New variables.
18129         (DUMPED_MAIN_ARENA_CHUNK): New macro.
18130         (do_check_chunk): Skip dumped fake mmapped chunks.
18131         (munmap_chunk): Likewise.
18132         (__libc_free): Do not adjust statistics for fake mmapped chunks.
18133         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
18134         mmapped chunks.
18135         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18136         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18137         and dumped_main_arena_end to cover the dumped heap.
18139 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
18141         * conform/data/time.h-data (getdate_err): Do not expect for
18142         [XPG3].
18143         (getdate): Likewise.
18144         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18145         variable.
18147         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18148         (F_ULOCK): Likewise.
18149         (F_TEST): Likewise.
18150         (F_TLOCK): Likewise.
18151         (useconds_t): Likewise.
18152         (intptr_t): Do not expect for [XPG3] or [XPG4].
18153         (brk): Do not expect for [XPG3]
18154         (fchown): Likewise.
18155         (fchdir): Likewise.
18156         (ftruncate): Likewise.
18157         (getdtablesize): Likewise.
18158         (gethostid): Likewise.
18159         (getpagesize): Likewise.
18160         (getpgid): Likewise.
18161         (getsid): Likewise.
18162         (getwd): Likewise.
18163         (lchown): Likewise.
18164         (lockf): Likewise.
18165         (readlink): Likewise.
18166         (sbrk): Likewise.
18167         (setpgrp): Likewise.
18168         (setregid): Likewise.
18169         (setreuid): Likewise.
18170         (symlink): Likewise.
18171         (sync): Likewise.
18172         (truncate): Likewise.
18173         (ualarm): Likewise.
18174         (usleep): Likewise.
18175         (vfork): Likewise.
18176         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18177         variable.
18179         [BZ #20054]
18180         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18181         not [__USE_UNIX98].
18182         * conform/data/unistd.h-data (gethostname): Do not expect for
18183         [XPG3].
18185         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18186         [!POSIX] (S_IFBLK): Likewise.
18187         [!POSIX] (S_IFCHR): Likewise.
18188         [!POSIX] (S_IFIFO): Likewise.
18189         [!POSIX] (S_IFREG): Likewise.
18190         [!POSIX] (S_IFDIR): Likewise.
18191         [!POSIX] (S_IFLNK): Likewise.
18192         [!POSIX] (S_IFSOCK): Likewise.
18193         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18194         variable.
18195         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18197 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
18199         * sysdeps/aarch64/memset.S (__memset):
18200         Rewrite of optimized memset.
18202 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18204         [BZ #19703]
18205         Partially async-signal-safe fork for single-threaded processes.
18206         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18207         variable.  Do not acquire and reset/release malloc and libio locks
18208         in single-threaded processes.
18209         * malloc/tst-mallocfork2.c: New file.
18210         * malloc/Makefile (tests): Add it.
18212 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18214         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18215         argument.  Use scratch buffer instead of extend_alloca.
18216         (gethosts): Use scratch buffer instead of extend_alloca.
18217         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
18218         extend_alloca.
18219         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18221 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
18223         [BZ #20055]
18224         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18225         instead of [__USE_UNIX98].
18226         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18227         [__USE_UNIX98].
18228         * conform/data/termios.h-data (tcgetsid): Do not expect for
18229         [XPG3].
18230         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
18231         variable.
18232         (test-xfail-XPG4/termios.h/conform): Likewise.
18234 2016-05-11  Florian Weimer  <fweimer@redhat.com>
18236         Do not use mcheck in localedef.
18237         * locale/programs/localedef.c (turn_on_mcheck)
18238         (__malloc_initialize_hook): Remove.
18240 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18242         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
18243         * sysdeps/s390/s390-64/Makefile: Likewise.
18245 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18247         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
18248         Remove ifunc-defines.sym.
18249         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
18250         Likewise.
18251         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
18252         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18253         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
18254         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
18255         rtld-global-offsets.sym.
18256         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
18257         * sysdeps/x86/cpu-features-offsets.sym: This.
18258         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
18259         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
18261 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
18263         [BZ #20073]
18264         * io/sys/stat.h (fchmod): Declare for
18265         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
18266         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
18267         variable.
18269         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
18270         [XPG3] (S_IFSOCK): Likewise.
18271         [XPG3] (S_ISVTX): Likewise.
18272         [XPG3] (S_ISLNK): Likewise.
18273         [XPG3] (S_ISSOCK): Likewise.
18274         [XPG3] (fchmod): Likewise.
18275         [XPG3] (lstat): Likewise.
18276         [XPG3] (mknod): Likewise.
18278         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
18279         [XPG3].  Expect type long and XFAIL for [XPG4].
18280         (st_blocks): Likewise.
18282         [BZ #20044]
18283         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18284         (pthread_atfork): New prototype.
18285         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
18286         variable.
18288         [BZ #20043]
18289         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
18290         prototype.
18292 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18294         [BZ #20017]
18295         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
18296         gmtime.
18298 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18300         [BZ #19994]
18301         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
18302         flag in _res.options.
18304 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
18306         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
18307         [XPG3 || XPG4].
18308         (blksize_t): Likewise.
18309         (clockid_t): Likewise.
18310         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
18311         variable.
18312         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18314 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18316         * sysdeps/unix/sysv/linux/s390/init-first.c:
18317         Add VDSO_SYMBOL(getcpu).
18318         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
18319         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
18320         Add VDSO_SYMBOL(getcpu).
18321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
18322         New define HAVE_GETCPU_VSYSCALL.
18323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18325 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18327         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
18328         instead of <sysdeps/x86_64/cacheinfo.c>.
18329         * sysdeps/x86_64/cacheinfo.c: Moved to ...
18330         * sysdeps/x86/cacheinfo.c: Here.
18332 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18334         * malloc/malloc-internal.h: Adjust header file guard.
18336 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18338         [BZ #19787]
18339         * inet/getnameinfo.c (check_sprintf_result): New function.
18340         (CHECKED_SNPRINTF): New macro.
18341         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
18342         to the host buffer.
18343         (gni_host_local): Use checked_copy to copy the host name.
18344         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
18345         (gni_serv_local): Use checked_copy to copy the service name.
18346         (getnameinfo): Remove unnecessary truncation of result buffers.
18348 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18350         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
18351         in case of inet_ntop failure.
18353 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18355         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
18356         avoid long lines.
18357         (gni_host_inet_numeric): Likewise.  Reduce scope of local
18358         variables.
18359         (gni_host_inet, gni_host_local): Add comment.
18360         (gni_host): Add comment.  Use temporary to avoid long lines.
18362 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18364         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
18365         registers specifiers where general purpose registers specifiers should
18366         have been used.
18368 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18370         [BZ #19779]
18371         CVE-2016-1234
18372         Avoid copying names of directory entries.
18373         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
18374         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
18375         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
18376         (struct readdir_result): New type.
18377         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
18378         (GL_READDIR): New macros.
18379         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
18380         (convert_dirent, convert_dirent64): New functions.
18381         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
18382         convert_dirent64.  Adjust references to the readdir result.
18383         * sysdeps/unix/sysv/linux/i386/glob64.c:
18384         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
18385         * posix/bug-glob2.c (LONG_NAME): Define.
18386         (filesystem): Add LONG_NAME.
18387         (my_DIR): Increase the size of room_for_dirent.
18389 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
18391         [BZ #20041]
18392         * misc/sys/select.h (__need_timespec): Only define if
18393         [__USE_XOPEN2K].
18394         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
18395         variable.
18396         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18397         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18398         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18400 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18401             Segher Boessenkool  <segher@gcc.gnu.org>
18403         [BZ #20004]
18404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
18405         (__novec_swapcontext): Add missing load.
18407 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
18409         [BZ #20023]
18410         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
18411         <time.h>.
18412         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
18413         variable.
18414         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18416 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
18419         flags CLONE_VM compare.
18421 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18423         [BZ #20031]
18424         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
18425         completely empty.
18427 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18429         [BZ #19573]
18430         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
18431         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
18432         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
18433         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
18434         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
18435         (hesiod_free_list): Mark as hidden.
18436         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
18437         res_set, res_get.
18438         * hesiod/hesiod.c: Remove unnecessary forward declarations.
18439         (init, __hesiod_res_get, __hesiod_res_set): Remove.
18440         (hesiod_init): Remove obsolete res_ninit call.
18441         (hesiod_end): Do not free resolver state.  Do not invoke callback.
18442         (hesiod_bind): Do not call init.
18443         (get_txt_records): Use res_mkquery, res_send instead of
18444         res_nmkquery, res_nsend.
18445         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
18446         instead of _nss_hesiod_init.
18447         (_nss_hesiod_initgroups_dyn): Likewise.
18448         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
18449         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
18450         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
18452 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18454         * hesiod/hesiod_p.h (DEF_RHS): Remove.
18455         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
18457 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18459         * hesiod/hesiod.h: Remove RCS keyword.
18460         * hesiod/hesiod_p.h: Likewise.
18462         * hesiod/hesiod.c: Likewise.
18464 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
18466         [BZ #12450]
18467         * locale/iso-639.def: Add Samogitian/sgs.
18469 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18471         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
18473         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
18475 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
18476             Carlos O'Donell  <carlos@redhat.com>
18478         [BZ #19072]
18479         * grp/Makefile (headers): Add grp-merge.h
18480         (routines): Add grp-merge.
18481         * grp/getgrgid_r.c: Include grp-merge.h.
18482         (DEEPCOPY_FN): Define.
18483         (MERGE_FN): Define.
18484         * grp/getgrname_r.c: Include grp-merge.h.
18485         (DEEPCOPY_FN): Define.
18486         (MERGE_FN): Define.
18487         * grp/grp-merge.c: New file.
18488         * grp/grp-merge.h: New file.
18489         * include/grp-merge.h: New file.
18490         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
18491         __copy_grp@GLIBC_PRIVATE.
18492         * manual/nss.texi (Actions in the NSS configuration): Describe
18493         return, continue, and merge.
18494         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
18495         (DEEPCOPY_FN): Define.
18496         (MERGE_FN): Define.
18497         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
18498         (DEEPCOPY_FN): Define.
18499         (MERGE_FN): Define.
18500         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
18501         [!MERGE_FN]: Define __merge_einval.
18502         (CHECK_MERGE): Define.
18503         (REENTRANT_NAME): Process merge if do_merge is true.
18504         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
18505         (__nss_getent_r): Likewise.
18506         * nss/nsswitch.c (nss_parse_service_list): Likewise.
18507         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
18509 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18511         [BZ #20012]
18512         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
18513         length to calculate the buffer to read.
18514         (fmemopen_write): Set the buffer position based on bytes written.
18515         (fmemopen_seek): Return EINVAL for invalid whence modes.
18517         [BZ #19957]
18518         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
18519         tst-getpid2.
18520         (test): Add tst-clone2.
18521         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
18522         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
18523         pid/tid fields for CLONE_VM.
18524         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18525         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18526         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18527         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
18528         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18529         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18530         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18531         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18533         Likewise.
18534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18535         Likewise.
18536         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18537         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18538         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18539         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18540         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18541         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18542         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18543         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
18545 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18547         [BZ #19642]
18548         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
18549         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
18550         (gni_serv_local, gni_serv): New functions extracted from
18551         getnameinfo.
18552         (getnameinfo): Call gni_host and gni_serv to perform the
18553         processing.  Always free scratch buffer.
18555 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18557         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
18558         remaining bytes in the dest string, with zeros.
18560 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18562         [BZ #20010]
18563         CVE-2016-3706
18564         * sysdeps/posix/getaddrinfo.c
18565         (convert_hostent_to_gaih_addrtuple): New function.
18566         (gethosts): Call convert_hostent_to_gaih_addrtuple.
18567         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18568         AF_INET data.
18570 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18572         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18573         callback function gl_readdir.
18574         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18575         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18576         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18577         memcpy to copy the name.
18578         * manual/pattern.texi (Calling Glob): Document requirements for
18579         implementations of the gl_readdir callback function.
18580         * manual/examples/mkdirent.c: New example.
18581         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18582         per the manual guidance.
18583         * posix/tst-gnuglob.c (my_readdir): Likewise.
18585 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18587         [BZ #20014]
18588         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18589         not [__USE_POSIX].
18590         (getchar_unlocked): Likewise.
18591         (putc_unlocked): Likewise.
18592         (putchar_unlocked): Likewise.
18593         (flockfile): Likewise.
18594         (ftrylockfile): Likewise.
18595         (funlockfile): Likewise.
18596         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18597         variable.
18598         (test-xfail-XPG4/stdio.h/conform): Likewise.
18600         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18601         Expect constant.
18602         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18603         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18604         variable.
18605         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18606         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18608         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18609         [__USE_LARGEFILE64] (off64_t): Likewise.
18610         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18611         variable.
18613 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18615         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18617 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18619         * resolv/inet_addr.c: Reindent preprocessor conditionals.
18620         * resolv/res_init.c: Likewise.
18621         * resolv/res_mkquery.c: Likewise.
18623 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18625         * resolv/res_init.c (isascii): Do not define.  Use definition in
18626         <ctype.h>.
18627         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
18628         (LOG_AUTH): Remove.
18629         (SPRINTF): Remove, adjust caller.
18630         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
18632 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
18635         SUNSECURITY conditional.
18636         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
18638 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18640         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
18641         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
18642         Remove BSD-related preprocessor conditionals.
18643         * conf/portability.h: Remove.
18645 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18647         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
18648         * resolv/res_data.c: Likewise.
18650 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18652         * resolv/res_comp.c: Remove code conditional on __ultrix__.
18653         * resolv/res_data.c: Remove code conditional on ultrix.
18655 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18657         * resolv/res_init.c (RFC1535): Do not define.  Remove
18658         RFC1535 preprocessor conditionals.
18659         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
18660         because there configuration options which make the resolver
18661         behavior different.
18663 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18665         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
18666         RESOLVSORT preprocessor conditionals.
18667         * resolv/nss_dns/dns-host.c: Likewise.
18668         * resolv/res_init.c: Likewise.
18670 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18672         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
18673         is never defined.
18675 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18677         * inet/inet_lnaof.c: Remove SCSS keyword.
18678         * inet/inet_mkadr.c: Likewise.
18679         * inet/inet_net.c: Likewise.
18680         * inet/inet_netof.c: Likewise.
18681         * inet/rcmd.c: Likewise.
18682         * inet/rexec.c: Likewise.
18683         * inet/ruserpass.c: Likewise.
18685 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18687         * resolv/inet_addr.c: Remove _LIBC conditionals.
18688         * resolv/res_data.c: Likewise.
18689         * resolv/res_init.c: Likewise.
18690         * resolv/res_mkquery.c: Likewise.
18691         * resolv/res_libc.c: Update comment.
18692         * resolv/README: Update.
18694 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18696         * resolv/gethnamaddr.c: Remove SCSS keyword.
18697         * resolv/herror.c: Likewise.
18698         * resolv/inet_addr.c: Likewise.
18699         * resolv/inet_net_ntop.c: Likewise.
18700         * resolv/inet_net_pton.c: Likewise.
18701         * resolv/inet_neta.c: Likewise.
18702         * resolv/inet_ntop.c: Likewise.
18703         * resolv/inet_pton.c: Likewise.
18704         * resolv/ns_date.c: Remove RCS keyword.
18705         * resolv/ns_name.c: Likewise.
18706         * resolv/ns_netint.c: Likewise.
18707         * resolv/ns_parse.c: Likewise.
18708         * resolv/ns_print.c: Likewise.
18709         * resolv/ns_samedomain.c: Likewise.
18710         * resolv/ns_ttl.c: Likewise.
18711         * resolv/nsap_addr.c: Likewise.
18712         * resolv/res_comp.c: Remove SCSS and RCS keyword.
18713         * resolv/res_data.c: Remove RCS keyword.
18714         * resolv/res_debug.c: Remove SCSS and RCS keyword.
18715         * resolv/res_init.c: Likewise.
18716         * resolv/res_mkquery.c: Likewise.
18717         * resolv/res_query.c: Likewise.
18718         * resolv/res_send.c: Likewise.
18720 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18722         * conform/data/stdio.h-data (fdopen): Expect also for
18723         [XPG3 || XPG4].
18725         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
18726         (fseeko): Likewise.
18727         (ftello): Likewise.
18728         (ftrylockfile): Likewise.
18729         (funlockfile): Likewise.
18730         (getc_unlocked): Likewise.
18731         (getchar_unlocked): Likewise.
18732         (putc_unlocked): Likewise.
18733         (putchar_unlocked): Likewise.
18735 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18737         [BZ #19868]
18738         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
18739         DNS packet syntax checks (which were not needed before).  Skip
18740         over non-PTR records.
18742 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18744         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
18745         definition.  Include <stddef.h> instead.
18747 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18749         [BZ #19831]
18750         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
18751         function.
18752         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
18753         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
18755 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18757         [BZ #19862]
18758         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
18759         (getanswer_r): Do not call syslog.
18760         (gaih_getanswer_slice): Likewise.
18761         * resolv/gethnamaddr.c (AskedForGot): Remove.
18762         (getanswer): Do not call syslog.
18763         (gethostbyaddr): Likewise.
18765 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18767         * conform/data/signal.h-data (union sigval): Expect also if
18768         [XOPEN2K].
18769         (struct sigevent): Likewise.
18770         (SIGEV_NONE): Likewise.
18771         (SIGEV_SIGNAL): Likewise.
18772         (SIGEV_THREAD): Likewise.
18773         (SIGRTMIN): Likewise.
18774         (SIGRTMAX): Likewise.
18775         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
18776         variable.
18777         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18779 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18781         [BZ #19830]
18782         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
18783         (gaih_getanswer_slice): Likewise.
18784         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
18785         Also check for availability of RR metadata.
18787 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18789         [BZ #19825]
18790         * resolv/res_send.c (send_vc): Remove early *resplen2
18791         initialization.  Set *resplen2 on socket error.  Call
18792         close_and_return_error for other errors.
18794 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18796         * sysdeps/unix/sysv/linux/netiucv/iucv.h
18797         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
18798         (SCM_IUCV_TRGCLS): New define.
18800 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18802         [BZ #20005]
18803         * libio/fmemopen.c (fmemopen_write): Update internal position after
18804         write.
18805         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
18806         * stdio-common/tst-fmemopen4.c: New file..
18808 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
18810         [BZ #19996]
18811         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
18812         not [__USE_XOPEN2K].
18813         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
18814         variable.
18816         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
18817         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
18818         variable.
18820         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
18821         [__USE_XOPEN2K8].
18822         [__USE_LARGEFILE64] (off64_t): Likewise.
18823         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
18824         variable.
18826 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
18828         [BZ #19989]
18829         * libio/stdio.h (cuserid): Do not declare if
18830         [__USE_XOPEN2K && !__USE_GNU].
18831         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
18832         variable.
18834 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18836         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18837         (sysdep_routines): Add P8 and PPC64 strcspn targets.
18838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18839         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18840         ifunc'ed strcspn.
18841         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18842         [EALIGN]: Removed.
18843         [END]: Likewise
18844         [STRSPN]: Define instead of the above to control symbol name.
18845         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
18846         New file.
18847         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
18848         Likewise.
18849         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
18850         Likewise.
18851         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
18852         Likewise.
18853         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18854         [INITIAL_MASK]: New macro.
18855         [STRCSPN]: Likewise.
18856         [UPDATE_MASK]: Likewise.
18857         [USE_AS_STRCSPN]: Likewise.
18859 2016-04-25  Florian Weimer  <fweimer@redhat.com>
18861         [BZ #19931]
18862         * stdio-common/tst-vfprintf-width-prec.c: New file.
18863         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
18864         (tests-special): Add tst-vfprintf-width-prec-mem.out.
18865         (generated): Add mtrace-related files.
18866         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
18867         (tst-%-mem.out): New pattern rule, replaces
18868         tst-printf-bz18872-mem.out.
18869         * stdio-common/vfprintf.c (vfprintf): When handling a precision
18870         specifier, deallocate any previously allocated work buffer.
18872 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18874         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
18875         Add nop before __startcontext, add explaining comments.
18877 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
18879         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
18880         any more. Notably since IPV6_PKTINFO has been reintroduced with a
18881         completely different API.
18883         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
18884         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
18885         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
18886         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
18887         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
18888         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
18889         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
18890         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
18891         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
18892         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
18894 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
18896         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
18898 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
18900         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
18901         when it is the default of 0.
18903 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18905         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
18906         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18907         (sysdep_routines): Add new strcasestr targets.
18908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18909         (__libc_ifunc_impl_list): Likewise.
18910         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
18911         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
18912         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
18913         * sysdeps/powerpc/powerpc64/power8/Makefile:
18914         New file to add strcasestr-ppc64 to sysdep_routines.
18915         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
18916         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
18918 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
18920         * benchtests/Makefile (wcsmbs-benchset): Include only for
18921         native builds and runs.
18922         (LOCALES): Likewise.
18923         (bench-build): Build timing-type here instead of the bench
18924         target.  Generate locale only for native builds.
18925         * benchtests/README: Add note for cross-building.
18927         * benchtests/Makefile (bench-clean): Clean up extra-objs.
18929         * benchtests/README: Update README to include instructions on
18930         using bench-build.
18932         * Makefile.in (bench-build): New target.
18933         * Rules (PHONY): Add bench-build target.
18934         * benchtests/Makefile (bench): Depend on bench-build.
18935         (bench-build): New target.
18937 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18939         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
18940         profil_reply_port.
18941         (profile_waiter): Do not initialize profil_reply_port.
18942         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
18943         frequency instead of tick length in us.
18945 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
18947         [BZ #18712]
18948         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
18949         (__old_mempcpy_small): Likewise.
18950         (__old_strcpy_small): Likewise.
18951         (__old_stpcpy_small): Likewise.
18952         (__old_strpbrk_c2): Fix compat symbol name.
18953         (__old_strpbrk_c3): Likewise.
18954         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
18955         (__mempcpy_small): Remove.
18956         (__strcpy_small): Remove.
18957         (__stpcpy_small): Remove.
18959 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
18961         [BZ #19400]
18962         * locale/iso-639.def: Add the Talossan/tzl language.
18964 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18966         [BZ #16983]
18967         * locale/programs/ld-address.c (address_finish): Update postal_fmt
18968         comment.  Add "ln" to strchr check on postal_fmt.
18970 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18972         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
18973         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
18974         tel_dom_fmt.
18976 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18978         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18979         (sysdep_routines): Added __strlen_power8.
18980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
18981         __strlen_power8 entry.
18982         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
18983         Implementation for POWER8.
18984         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
18985         for __strlen_power8.
18986         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
18987         Implementation for POWER8.
18989 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
18991         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
18993 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
18995         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
18996         Goldmont and Airmont processors.
18998 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19000         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19001         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19002         (__STRING2_SMALL_GET32): Remove.
19003         (memset): Remove.
19004         (__memset_1): Remove.
19005         (__memset_gc): Remove.
19006         (__mempcpy): Remove.
19007         (mempcpy): Remove.
19008         (__mempcpy_args): Remove.
19009         (strchr): Remove.
19010         (strcpy): Remove.
19011         (strcpy_args): Remove.
19012         (__stpcpy_args): Remove.
19013         (__strcmp_cc): Remove.
19014         (__strcmp_gc): Remove.
19015         (strstr): Remove.
19017 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19019         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19020         * nis/nis_call.c (nis_server_cache_add): Likewise.
19022 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19024         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19026 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19028         * malloc/arena.c (__malloc_fork_lock_parent)
19029         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19030         internal_function attribute.
19032 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19034         * stdio-common/printf_fp.c (__printf_fp_l):
19035         Rename ___printf_fp_l to __printf_fp_l and
19036         remove strong alias. Use libc_hidden_def instead
19037         of ldbl_hidden_def macro.
19039 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19041         Remove malloc hooks from fork handler.  They are no longer needed
19042         because malloc runs right before fork, and no malloc calls from
19043         other fork handlers are not possible anymore.
19044         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19045         declarations.
19046         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19047         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19048         (atfork_recursive_cntr): Remove.
19049         (__malloc_fork_lock_parent): Do not override malloc hooks and
19050         thread_arena.
19051         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19052         thread_arena.
19053         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19054         thread_arena instead of save_arena.
19056 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19058         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19059         (thread_atfork, thread_atfork_static): Remove.
19060         * sysdeps/mach/hurd/malloc-machine.h:
19061         (thread_atfork, thread_atfork_static): Remove.
19063 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19065         [BZ #19431]
19066         Run the malloc fork handler as late as possible to avoid deadlocks.
19067         * malloc/malloc-internal.h: New file.
19068         * malloc/malloc.c: Include it.
19069         * malloc/arena.c (ATFORK_MEM): Remove.
19070         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19071         Update comment.
19072         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19073         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19074         Remove outdated comment.
19075         (ptmalloc_init): Do not call thread_atfork.  Remove
19076         thread_atfork_static.
19077         * malloc/tst-malloc-fork-deadlock.c: New file.
19078         * Makefile (tests): Add tst-malloc-fork-deadlock.
19079         (tst-malloc-fork-deadlock): Link against libpthread.
19080         * manual/memory.texi (Aligned Memory Blocks): Update safety
19081         annotation comments.
19082         * sysdeps/nptl/fork.c (__libc_fork): Call
19083         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19084         __malloc_fork_unlock_child.
19085         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19087 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19089         [BZ #19613]
19090         Remove union wait.
19091         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19092         (w_stopsig, w_stopval): Remove.
19093         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19094         stat_loc argument.
19095         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19096         (__WAIT_STATUS_DEFN): Remove.
19097         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19098         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19099         (wait, wait3, wait4): Use int * for the stat_loc argument.
19100         * posix/wait.c (__wait): Likewise.
19101         * posix/wait3.c (__wait3): Likewise.
19102         * posix/wait4.c (__wait4): Likewise.
19103         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19104         (__WAIT_STATUS_DEFN): Remove.
19105         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19106         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19107         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19108         argument.
19109         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19110         * sysdeps/posix/wait3.c (__wait3): Likewise.
19111         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19112         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19113         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19114         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19115         stat_loc argument.
19116         * manual/process.texi (BSD Wait Functions): Remove union wait.
19118 2016-04-13  Andreas Schwab  <schwab@suse.de>
19120         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19121         (test-extras): Add tst-tlsalign-vars.
19122         * math/Makefile: Wrap long lines.
19123         (libm-vec-test-wrappers): Define.
19124         (test-extras): Add $(libm-vec-test-wrappers).
19125         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19126         * nss/Makefile (extra-test-objs): Add nss_test1.os.
19127         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19128         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19129         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19130         (extra-test-objs): Add corresponding objects.
19132 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
19134         [BZ #19928]
19135         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19136         New.
19137         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19138         times of shared cache size.
19139         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19140         (VMOVNT): New.
19141         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19142         (VMOVNT): Likewise.
19143         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19144         (VMOVNT): Likewise.
19145         (VMOVU): Changed to movups for smaller code sizes.
19146         (VMOVA): Changed to movaps for smaller code sizes.
19147         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19148         comments.
19149         (PREFETCH): New.
19150         (PREFETCH_SIZE): Likewise.
19151         (PREFETCHED_LOAD_SIZE): Likewise.
19152         (PREFETCH_ONE_SET): Likewise.
19153         Rewrite to use forward and backward loops, which move 4 vector
19154         registers at a time, to support overlapping addresses and use
19155         non temporal store if size is above the threshold and there is
19156         no overlap between destination and source.
19158 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
19160         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19161         Include dl-vdso.
19162         * sysdeps/unix/sysv/linux/mips/Versions: Add
19163         __vdso_clock_gettime.
19164         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19165         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19166         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19167         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19168         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19169         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19170         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19171         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19172         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19174 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19176         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19177         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19178         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19180         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19181         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19184         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19185         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19186         syscalls generation.
19187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19188         [__NR_pwrite64] (__NR_write): Remove define.
19189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19190         [__NR_pwrite64] (__NR_write): Remove define.
19191         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19192         Remove define.
19193         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19194         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19195         Remove define.
19196         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19197         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19198         Linux implementation as base.
19199         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19201         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19202         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19207         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19208         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19209         syscall generation.
19210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19211         [__NR_pread64] (__NR_pread): Remove define.
19212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19213         [__NR_pread64] (__NR_pread): Likewise.
19214         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19215         define.
19216         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19217         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19218         Remove define.
19219         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19220         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19221         Linux implementation as base.
19222         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19223         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19224         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19226         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19227         definition.
19228         (__ALIGNMENT_COUNT): Likewise.
19229         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
19230         (__ALIGNMENT_COUNT): Likewise.
19231         (SYSCALL_LL): New define.
19232         (SYSCALL_LL64): Likewise.
19233         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
19234         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
19235         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
19236         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
19238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19239         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
19240         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19241         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19242         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19243         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19245 2016-04-11  Florian Weimer  <fweimer@redhat.com>
19247         [BZ #19865]
19248         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
19249         original buffer before retry.
19251 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19253         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
19254         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
19255         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
19256         GLRO(dl_auxv) list.
19257         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
19258         including <ldsodefs.h>.
19259         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
19261 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
19263         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
19264         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
19265         $(CPPFLAGS).
19267 2016-04-09  Khem Raj  <raj.khem@gmail.com>
19269         [BZ #17950]
19270         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
19271         Add -mfpmath=387.
19273 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
19275         * sysdeps/i386/configure.ac: Change == to = when calling test.
19276         * sysdeps/x86_64/configure.ac: Likewise.
19277         * sysdeps/i386/configure: Regenerated.
19278         * sysdeps/x86_64/configure: Likewise.
19280 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
19282         [BZ #16137]
19283         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
19284         * benchtests/bench-strcoll.c (input_files): Likewise.
19285         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19286         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
19287         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
19289 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
19291         [BZ #19929]
19292         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
19293         [__USE_XOPEN2K8 && !__USE_GNU].
19294         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
19295         variable.
19297         [BZ #19925]
19298         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
19299         define if [!__USE_MISC && __USE_XOPEN2K].
19300         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
19301         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
19302         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
19303         Likewise.
19304         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
19305         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
19306         variable.
19307         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19309 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19311         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19312         (sysdep_routines): Add new strspn targets.
19313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19314         (__libc_ifunc_impl_list): Add strspn.
19315         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19316         New file.
19317         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
19318         Likewise.
19319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
19320         Likewise.
19321         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19322         Likewise.
19324 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19326         * misc/hsearch_r.c: Include <limits.h>.
19328 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19330         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
19332 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19334         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19335         (MEMCPY_SYMBOL): New.
19336         (MEMPCPY_SYMBOL): Likewise.
19337         (MEMMOVE_CHK_SYMBOL): Likewise.
19338         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
19339         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
19340         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
19341         Provide alias for memcpy in libc.a and ld.so.
19343 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19345         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19346         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
19347         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
19348         Disabled fro now.
19349         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
19350         symbols.  Properly check USE_MULTIARCH on __memset symbols.
19352 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19354         * benchtests/Makefile (string-benchset): Add memcpy-large,
19355         memmove-large and memset-large.
19356         * benchtests/bench-memcpy-large.c: New file.
19357         * benchtests/bench-memmove-large.c: Likewise.
19358         * benchtests/bench-memmove-large.c: Likewise.
19359         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
19361 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19363         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
19364         32-bit displacement to avoid long nop between instructions.
19366 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19368         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
19369         a comment on VMOVU and VMOVA.
19371 2016-04-04  Florian Weimer  <fweimer@redhat.com>
19373         [BZ #19633]
19374         Use specified locale for number formatting in strfmon_l.
19375         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
19376         (__nl_lookup_word): New inline functions.
19377         * include/printf.h (__print_fp_l): Declare.
19378         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
19379         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
19380         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
19381         (___printf_fp): New function.
19382         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
19383         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
19384         * stdlib/tst-strfmon_l.c (do_test): New test.
19385         * stdlib/Makefile (tests): Add kt.
19386         (LOCALES): Build additional locales.
19387         (tst-strfmon_l.out): Require locales.
19389 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19391         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
19392         if not in libc.
19393         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19394         Likewise.
19395         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
19396         Likewise.
19397         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19398         Likewise.
19400 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19402         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19403         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
19404         with unaligned_erms.
19405         (__memmove_erms): Skip if source == destination.
19406         (__memmove_unaligned_erms): Don't check source == destination
19407         first.
19409 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19411         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
19412         bit_arch_Fast_Copy_Backward for Intel Core proessors.
19414 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19416         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
19417         * string/strspn.c (strspn): Likewise.
19419 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19421         * benchtests/bench-memset.c (do_test): Support 64-byte
19422         alignment.
19423         (test_main): Test 64-byte alignment.
19425 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19427         * benchtests/bench-memmove.c (test_main): Test 64-byte
19428         alignment.
19430 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19432         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
19434 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19436         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
19437         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
19438         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
19440         * string/strpbrk.c (strpbrk): Rewrite function.
19441         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
19442         (__strpbrk_c2): Likewise.
19443         (__strpbrk_c3): Likewise.
19444         * string/string-inlines.c
19445         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
19446         Likewise.
19447         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
19448         Likewise.
19450         * string/strspn.c (strcspn): Rewrite function.
19451         * string/bits/string2.h (strspn): Use __builtin_strcspn.
19452         (__strspn_c1): Remove inline function.
19453         (__strspn_c2): Likewise.
19454         (__strspn_c3): Likewise.
19455         * string/string-inlines.c
19456         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
19457         compatibility symbol.
19458         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
19459         Likewise.
19460         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
19461         Likewise.
19462         * string/string-inlines.c: Include generic version.
19464 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
19465             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19467         * string/Version (libc): Add GLIBC_2.24.
19468         * string/strcspn.c (strcspn): Rewrite function.
19469         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
19470         (__strcspn_c1): Remove inline function.
19471         (__strcspn_c2): Likewise.
19472         (__strcspn_c3): Likewise.
19473         * string/string-inline.c
19474         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
19475         compatibility symbol.
19476         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
19477         Likewise.
19478         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
19479         Likewise.
19480         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
19482 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19484         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19485         Use ahi instead of aghi to adjust stack pointer.
19487 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19489         [BZ #19853]
19490         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
19491         TEST to take significant digits as second parameter.
19492         [TEST]: Redefine in terms of TEST_N taking 30
19493         significant digits.
19494         (do_test): Add test case to demonstrate precision
19495         failure in the ldbl-128ibm printf.
19496         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
19497         (__mpn_extract_long_double): Carry 7 extra intermediate
19498         bits of precision to aide computing difference when
19499         signs differ.
19501 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19503         [BZ #19881]
19504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19505         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
19506         memset-avx512-unaligned-erms.
19507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19508         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
19509         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
19510         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
19511         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
19512         __memset_sse2_unaligned_erms, __memset_erms,
19513         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
19514         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19515         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
19516         file.
19517         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19518         Likewise.
19519         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
19520         Likewise.
19521         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
19522         Likewise.
19524 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19526         [BZ #19776]
19527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19528         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
19529         memmove-avx512-unaligned-erms.
19530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19531         (__libc_ifunc_impl_list): Test
19532         __memmove_chk_avx512_unaligned_2,
19533         __memmove_chk_avx512_unaligned_erms,
19534         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
19535         __memmove_chk_sse2_unaligned_2,
19536         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
19537         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
19538         __memmove_avx512_unaligned_erms, __memmove_erms,
19539         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
19540         __memcpy_chk_avx512_unaligned_2,
19541         __memcpy_chk_avx512_unaligned_erms,
19542         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
19543         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
19544         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
19545         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
19546         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
19547         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
19548         __mempcpy_chk_avx512_unaligned_erms,
19549         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
19550         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
19551         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
19552         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
19553         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
19554         __mempcpy_erms.
19555         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
19556         file.
19557         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19558         Likewise.
19559         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19560         Likewise.
19561         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19562         Likewise.
19564 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19566         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19567         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19568         (La_s390_64_regs): Likewise.
19569         (La_s390_32_retval): Append vector register lrv_v24.
19570         (La_s390_64_retval): Likeweise.
19571         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19572         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19573         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19574         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19576 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19578         [BZ #19916]
19579         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19580         to create a non-vector/vector version for _dl_runtime_resolve and
19581         _dl_runtime_profile. Move implementation to ...
19582         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19583         (_dl_runtime_resolve) Save and restore fpr/vrs.
19584         (_dl_runtime_profile) Save and restore vrs and fix some issues
19585         if _dl_call_pltexit is called.
19586         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19587         Choose the correct resolver function if running on a machine with vx.
19588         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19589         to create a non-vector/vector version for _dl_runtime_resolve and
19590         _dl_runtime_profile. Move implementation to ...
19591         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19592         (_dl_runtime_resolve) Save and restore fpr/vrs.
19593         (_dl_runtime_profile) Save and restore vrs and fix some issues
19594         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19595         Choose the correct resolver function if running on a machine with vx.
19597 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19599         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19601 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19603         [BZ #19509]
19604         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19605         skip_map != NULL.
19606         * elf/tst-dlsym-error.c: New file.
19607         * elf/Makefile (tests): Add tst-dlsym-error.
19608         (tst-dlsym-error): Link against libdl.
19610 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
19612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19613         (__ASSUME_FUTIMESAT): Remove macro.
19614         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19616 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19618         [BZ #19879]
19619         CVE-2016-3075
19620         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
19621         copy name.
19623 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19625         [BZ #19837]
19626         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
19627         error if parse_line fails.
19629 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19631         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
19632         (index_cpu_ERMS): Likewise.
19633         (reg_ERMS): Likewise.
19635 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
19637         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
19638         PER_LINUX_FDPIC): Add.
19640 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19643         memcpy-avx512-no-vzeroupper.
19644         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
19645         to ...
19646         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
19647         (MEMCPY): Don't define.
19648         (MEMCPY_CHK): Likewise.
19649         (MEMPCPY): Likewise.
19650         (MEMPCPY_CHK): Likewise.
19651         (MEMPCPY_CHK): Renamed to ...
19652         (__mempcpy_chk_avx512_no_vzeroupper): This.
19653         (MEMPCPY_CHK): Renamed to ...
19654         (__mempcpy_chk_avx512_no_vzeroupper): This.
19655         (MEMCPY_CHK): Renamed to ...
19656         (__memmove_chk_avx512_no_vzeroupper): This.
19657         (MEMCPY): Renamed to ...
19658         (__memmove_avx512_no_vzeroupper): This.
19659         (__memcpy_avx512_no_vzeroupper): New alias.
19660         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
19662 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19664         [BZ #18858]
19665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19666         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
19667         and mempcpy-avx512-no-vzeroupper.
19668         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
19669         New.
19670         (MEMPCPY): Likewise.
19671         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
19672         (MEMPCPY_CHK): New.
19673         (MEMPCPY): Likewise.
19674         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
19675         (MEMPCPY): Likewise.
19676         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
19677         (MEMPCPY): Likewise.
19678         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
19679         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
19680         Likewise.
19681         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
19682         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
19684 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19685              Amit Pawar  <Amit.Pawar@amd.com>
19687         [BZ #19583]
19688         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19689         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
19690         processors.  Set Fast_Copy_Backward for AMD Excavator
19691         processors.
19692         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
19693         New.
19694         (index_arch_Fast_Unaligned_Copy): Likewise.
19695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
19696         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
19698 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19700         [BZ #19791]
19701         * resolv/res_send.c (close_and_return_error): New function.
19702         (send_dg): Initialize *resplen2 after reopen failure.  Call
19703         close_and_return_error for error returns.  On error paths without
19704         __res_iclose, initialze *resplen2 explicitly.  Update comment for
19705         successful return.
19707 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19709         [BZ #19860]
19710         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
19711         zero if the compiler does not provide the AVX512F bit.
19713 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
19715         [BZ #19848]
19716         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
19717         from 8 to 4.
19718         (__ieee754_powl): Compare integer exponent against 4 not 8.
19719         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
19720         from 8 to 4.
19721         (__ieee754_powl): Compare integer exponent against 4 not 8.
19722         * math/auto-libm-test-in: Add more tests of pow.
19723         * math/auto-libm-test-out: Regenerated.
19724         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19727 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19729         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
19730         Make code unconditional.
19731         [!__NR_utimensat]: Remove conditional code.
19732         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
19733         Make code unconditional.
19734         [!__NR_utimensat]: Remove conditional code.
19735         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
19736         Make code unconditional.
19737         [!__NR_utimensat]: Remove conditional code.
19739 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19741         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
19742         Make code unconditional.
19744 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
19746         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
19747         call-clobbered %eax on retry path.
19748         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19750 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19752         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
19753         Don't set %rcx twice before "rep movsb".
19755 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19757         [BZ #19583]
19758         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
19759         inline.  Check family before setting family, model and
19760         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
19761         bits here.
19762         (init_cpu_features): Replace HAS_CPU_FEATURE and
19763         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
19764         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
19765         for Intel processors with usable AVX2.  Call get_common_indeces
19766         for other processors with family == NULL.
19767         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
19768         (CPU_FEATURES_ARCH_P): Likewise.
19769         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
19770         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
19772 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19774         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
19775         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
19776         $(shared-thread-library) instead of hardcoding the path to libpthread.
19778 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
19780         * sysdeps/unix/sysv/linux/kernel-features.h
19781         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
19782         * sysdeps/unix/sysv/linux/getdents.c
19783         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
19784         [!have_no_getdents64_defined]: Likewise.
19785         (__GETDENTS): Remove __have_no_getdents64 conditional.
19787 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
19789         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
19790         Remove macro.
19791         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
19792         <kernel-features.h>.
19793         (signalfd) [__NR_signalfd4]: Make code unconditional.
19794         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
19796 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19798         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
19799         style.
19801 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19803         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
19804         (__pthread_enable_asynccancel): Use JUMPTARGET to call
19805         __pthread_unwind.
19806         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19807         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
19808         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19809         (__condvar_cleanup1): Likewise.
19811 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
19813         [BZ #19822]
19814         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
19815         move it to the final $@ location.
19817 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19819         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
19820         access where posix_spawn success and pid argument is null.
19821         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
19822         success case.
19824 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
19826         * sysdeps/mach/hurd/i386/c++-types.data: New file.
19828         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
19830         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
19831         and __fcntl.
19832         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
19833         __fcntl only.
19834         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
19835         adding attribute_hidden to __open and __fcntl.
19837         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
19838         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
19839         depend on libc-modules.h,
19840         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
19842 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
19844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
19845         Remove macro.
19846         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
19847         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
19848         entry.
19850         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
19851         Remove macro.
19852         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
19853         include <kernel-features.h>.
19854         [!__ASSUME_FALLOCATE]: Remove conditional code.
19855         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
19857 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
19860         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
19861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
19862         (_ZGVdN4v_cos_avx2): Likewise.
19863         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
19864         (_ZGVdN4v_cos): Likewise.
19865         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
19866         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
19867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
19868         (_ZGVdN4v_exp_avx2): Likewise.
19869         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
19870         (_ZGVdN4v_exp): Likewise.
19871         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
19872         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
19873         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
19874         (_ZGVdN4v_log_avx2): Likewise.
19875         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
19876         (_ZGVdN4v_log): Likewise.
19877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
19878         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
19879         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
19880         (_ZGVdN4vv_pow_avx2): Likewise.
19881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
19882         (_ZGVdN4vv_pow): Likewise.
19883         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
19884         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
19885         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
19886         (_ZGVdN4v_sin_avx2): Likewise.
19887         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
19888         (_ZGVdN4v_sin): Likewise.
19889         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
19890         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
19891         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
19892         (_ZGVdN4vvv_sincos_avx2): Likewise.
19893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
19894         (_ZGVdN4vvv_sincos): Likewise.
19895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
19896         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
19897         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
19898         (_ZGVbN4v_cosf_sse4): Likewise.
19899         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
19900         (_ZGVdN8v_cosf_avx2): Likewise.
19901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
19902         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
19903         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
19904         (_ZGVbN4v_expf_sse4): Likewise.
19905         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
19906         (_ZGVdN8v_expf_avx2): Likewise.
19907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
19908         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
19909         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
19910         (_ZGVbN4v_logf_sse4): Likewise.
19911         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
19912         (_ZGVdN8v_logf_avx2): Likewise.
19913         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
19914         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
19915         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
19916         (_ZGVbN4vv_powf_sse4): Likewise.
19917         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
19918         (_ZGVdN8vv_powf_avx2): Likewise.
19919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19920         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
19921         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19922         (_ZGVbN4vvv_sincosf_sse4): Likewise.
19923         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19924         (_ZGVdN8vvv_sincosf_avx2): Likewise.
19925         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
19926         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
19927         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
19928         (_ZGVbN4v_sinf_sse4): Likewise.
19929         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
19930         (_ZGVdN8v_sinf_avx2): Likewise.
19931         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19932         Use JUMPTARGET to call callee.
19933         (WRAPPER_IMPL_SSE2_ff): Likewise.
19934         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19935         (WRAPPER_IMPL_AVX): Likewise.
19936         (WRAPPER_IMPL_AVX_ff): Likewise.
19937         (WRAPPER_IMPL_AVX_fFF): Likewise.
19938         (WRAPPER_IMPL_AVX512): Likewise.
19939         (WRAPPER_IMPL_AVX512_ff): Likewise.
19940         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19941         Likewise.
19942         (WRAPPER_IMPL_SSE2_ff): Likewise.
19943         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19944         (WRAPPER_IMPL_AVX): Likewise.
19945         (WRAPPER_IMPL_AVX_ff): Likewise.
19946         (WRAPPER_IMPL_AVX_fFF): Likewise.
19947         (WRAPPER_IMPL_AVX512): Likewise.
19948         (WRAPPER_IMPL_AVX512_ff): Likewise.
19949         (WRAPPER_IMPL_AVX512_fFF): Likewise.
19951 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19953         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
19954         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
19955         qualifier.
19956         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
19957         internal_function qualifiers.
19959 2016-03-15  Carlos O'Donell <carlos@redhat.com>
19961         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
19962         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
19963         * math/atest-exp.c (exp_mpn): Mark chk unused.
19964         * math/atest-exp2.c (exp_mpn): Likewise.
19965         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
19966         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
19968 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
19970         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
19971         Remove macro.
19972         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
19973         <kernel-features.h>.
19974         [__NR_ppoll]: Make code unconditional.
19975         [!__ASSUME_PPOLL]: Remove conditional code.
19977         * sysdeps/unix/sysv/linux/kernel-features.h
19978         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
19979         (__ASSUME_ACCEPT4): Likewise.
19980         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19981         Define.
19982         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
19983         Likewise.
19984         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19985         Likewise.
19986         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
19987         Likewise.
19988         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
19989         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
19990         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19991         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19992         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19993         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19994         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19995         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19996         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19997         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19998         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19999         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20000         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20001         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20002         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20003         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20004         Likewise.
20005         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20006         Likewise.
20007         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20008         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20009         0x040300].
20010         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20011         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20012         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20013         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20014         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20015         0x030300].
20016         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20017         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20018         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20019         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20020         0x040300].
20021         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20022         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20024         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20025         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20026         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20027         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20028         0x030300].
20029         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20030         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20031         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20032         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20033         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20034         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20035         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20036         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20037         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20038         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20039         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20040         0x040300].
20041         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20043         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20044         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20045         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20047         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20048         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20049         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20050         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20052         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20053         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20054         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20055         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20056         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20057         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20058         Likewise.
20059         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20060         Likewise.
20062 2016-03-15  Andreas Schwab  <schwab@suse.de>
20064         [BZ #19257]
20065         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20066         statp->_u._ext.nscount as loop count.
20068 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20070         * math/test-signgam-finite-c99.c: Also #undef
20071         __LIBC_INTERNAL_MATH_INLINES.
20072         * math/test-signgam-main.c: Likewise.
20074 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20076         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20077         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20078         (MADV_FREE): Likewise.
20079         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20080         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20081         EPOLLEXCLUSIVE.
20083 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20085         * timezone/README: Remove mention of checktab.awk. Mention wiki
20086         SharedSourceFiles.
20088 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20090         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20091         WUNTRACED.
20093 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20095         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20096         order to match the type of p when calling atomic_exchange_acq().
20098 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20100         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20101         cfi_offset calls.
20102         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20103         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20104         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20105         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20106         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20108 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20110         * timezone/checktab.awk: Removed.
20112 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20114         * manual/math.texi (Errors in Math Functions): Document relaxed
20115         accuracy goals for IBM long double.
20116         * math/libm-test.inc (test_exceptions): Always allow spurious
20117         "underflow" and "inexact" exceptions for IBM long double.
20119 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20121         [BZ #19762]
20122         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20123         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20124         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20125         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20126         (bit_arch_*): This for feature array.
20127         (bit_*): Renamed to ...
20128         (bit_cpu_*): This for cpu array.
20129         (index_*): Renamed to ...
20130         (index_arch_*): This for feature array.
20131         (index_*): Renamed to ...
20132         (index_cpu_*): This for cpu array.
20133         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20134         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20135         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20136         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20137         bit_##name with index_cpu_##name and bit_cpu_##name.
20138         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20139         bit_##name with index_arch_##name and bit_arch_##name.
20141 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
20143         [BZ #19792]
20144         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20145         Terminate FDE before return label.
20147 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
20149         [BZ #19790]
20150         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20151         (rintl): Define as macro.
20152         [USE_AS_NEARBYINTL] (__rintl): Likewise.
20153         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20154         of fesetround.  Ensure results are evaluated before end of scope.
20155         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20156         USE_AS_NEARBYINTL and include s_rintl.c.
20157         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20158         Disable exception traps in new environment.
20159         (libc_feholdsetround_ppc_ctx): Likewise.
20161 2016-03-08  Roland McGrath  <roland@hack.frob.com>
20163         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20164         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20165         (tst_audit10_aux) [__AVX512F__]: ... here.
20167 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
20169         * include/sys/auxv.h: New file.
20171 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20173         [BZ #19759]
20174         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20176 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20178         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20179         operand modifier.
20180         (feclearexcept): Likewise.
20182 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20184         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20185         to reflect the entire 32-bit HWCAP.
20186         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20187         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
20189 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20191         [BZ #19783]
20192         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20193         $(test-via-rtld-prefix).
20194         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20196 2016-03-08  Florian Weimer  <fweimer@redhat.com>
20198         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20199         union wait.  Report any non-zero exit status as error.
20201 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20203         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20204         configured with --enable-hardcoded-path-in-tests.
20206 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
20208         [BZ #19677]
20209         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20210         (__ieee754_remainderl): Put zero low parts in canonical form.
20211         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20212         file.  Based on
20213         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20214         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20215         with wrapper round test-fmodrem-ldbl-128ibm.c.
20216         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20217         file.
20218         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20219         Likewise.
20220         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20221         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20223 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20225         [BZ #19610]
20226         * elf/ldconfig.c (opt_link): Update comment.
20227         (options): Update help string for option -X.
20228         (search_dir): Unlink stale symbolic link only if updating symbolic
20229         links.
20230         * elf/tst-ldconfig-X.sh: New file.
20231         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
20232         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
20234 2016-03-07  Andreas Schwab  <schwab@suse.de>
20236         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
20237         needed arguments.
20239 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
20241         [BZ #15333]
20242         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
20243         to lstat64.
20245 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20247         * libio/filedoalloc.c (isatty): Remove.
20248         (local_isatty): Add comment.  Call __isatty directly.
20249         (_IO_file_doallocate): Update comment.  Assume _LIBC.
20250         * libio/wfiledoalloc.c (isatty): Remove.
20251         (_IO_wfile_doallocate): Update comment.
20253 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20255         [BZ #19269]
20256         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
20257         tst-audit4-aux.o.
20258         (tst-audit10): Depend on tst-audit10-aux.o.
20259         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
20260         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
20261         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
20262         instead of inline AVX code.
20263         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
20264         instead of inline AVX512 code.
20265         * sysdeps/x86_64/tst-audit4-aux.c: New file
20266         * sysdeps/x86_64/tst-audit10-aux.c: New file
20268         [BZ #19648]
20269         * test-skeleton.c (main): Do not set RLIMIT_DATA.
20271 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20273         [BZ #14750]
20274         [BZ #10354]
20275         [BZ #18433]
20276         * include/sched.h (__clone): Add hidden prototype.
20277         (__clone2): Likewise.
20278         * include/unistd.h (__dup): Likewise.
20279         * posix/Makefile (tests): Add tst-spawn2.
20280         * posix/tst-spawn2.c: New file.
20281         * sysdeps/posix/dup.c (__dup): Add hidden definition.
20282         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
20283         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20284         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20285         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20286         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20287         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
20288         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20289         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
20290         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20291         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20293         Likewise.
20294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20295         Likewise.
20296         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20297         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20298         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20299         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20300         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20301         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20302         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20303         * sysdeps/unix/sysv/linux/nptl-signals.h
20304         (____nptl_is_internal_signal): New function.
20305         * sysdeps/unix/sysv/linux/spawni.c: New file.
20307         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
20308         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
20309         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
20310         * posix/tst-execvp2.c (do_test): Likewise.
20311         * posix/tst-execvp3.c (do_test): Likewise.
20312         * posix/tst-execvp4.c (do_test): Likewise.
20313         * posix/tst-execvpe1.c: New file.
20314         * posix/tst-execvpe2.c: Likewise.
20315         * posix/tst-execvpe3.c: Likewise.
20316         * posix/tst-execvpe4.c: Likewise.
20317         * posix/tst-execvpe5.c: Likewise.
20318         * posix/tst-execvpe6.c: Likewise.
20320         [BZ #19534]
20321         * posix/execl.c (execl): Remove dynamic memory allocation.
20322         * posix/execle.c (execle): Likewise.
20323         * posix/execlp.c (execlp): Likewise.
20325 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20327         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
20328         Replace .text with .text.avx512.
20329         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
20330         Likewise.
20332 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
20334         * sysdeps/generic/libnsl.abilist: New file.
20335         * sysdeps/generic/libutil.abilist: New file.
20337 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20339         [BZ #19762]
20340         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
20341         HAS_ARCH_FEATURE with Fast_Rep_String.
20342         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
20343         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
20344         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
20345         Likewise.
20346         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
20347         Likewise.
20348         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
20349         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
20350         Likewise.
20351         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
20352         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
20353         Likewise.
20355 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20357         [BZ #19745]
20358         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
20359         with *%rax in call.
20361 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20363         [BZ #19745]
20364         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
20365         with *__libc_start_main@GOTPCREL(%rip) in call.
20367 2016-03-04  Roland McGrath  <roland@hack.frob.com>
20369         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
20370         inside conditional for nonempty $(CXX).
20372         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
20373         nonempty.
20375         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
20376         to test for empty $(CXX) rather than $(CXX) of "no".
20378 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20380         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
20382 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
20383             H.J. Lu  <hongjiu.lu@intel.com>
20385         [BZ #18880]
20386         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
20387         instead of Slow_BSF, and also check for Fast_Copy_Backward to
20388         enable __memcpy_ssse3_back.
20390 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20392         [BZ #19758]
20393         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20394         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
20396 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
20398         [BZ #19490]
20399         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
20400         (__fentry__): Likewise.
20402 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20404         * gmon/Makefile (noprof): Add $(sysdep_noprof).
20405         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
20407 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20409         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
20410         __mcount_internal directly.
20411         (C_LABEL(__fentry__)): Likewise.
20412         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
20413         directly.
20415 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20417         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20418         (__start_context): Call __setcontext directly.
20420 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
20422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20423         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20424         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
20425         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20427         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20428         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
20429         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20430         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20431         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
20432         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20433         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20434         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20435         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20436         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20437         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20438         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
20439         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20440         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20441         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20442         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
20443         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20444         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20445         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20446         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
20447         Remove conditional code.
20448         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20449         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
20450         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20451         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20452         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
20453         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20454         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20455         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20456         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20457         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20458         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20459         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20461 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
20463         * NEWS (2.23): Fix typo in bug 19048 text.
20465 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
20467         [BZ #14259]
20468         * Makeconfig: Rename msgcatdir to localedir.
20469         Rename inst_msgcatdir to inst_localedir.
20470         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
20471         * config.make.in: Add localedir.
20472         * elf/Makefile ($(objpfx)sotruss): Use localedir.
20473         (ldd-rewrite): Likewise.
20474         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
20475         (install-others): Use inst_localedir.
20476         (CPPFLAGS): Use localedir.
20477         * locale/Makefile (locale-CPPFLAGS): Likewise.
20478         * po/Makefile (mo-installed): Use inst_localedir.
20480         [BZ #19575]
20481         * localedata/charmaps/GB18030: Update comments regarding PAU to
20482         non-PUA mappings.
20484 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
20486         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
20487         test for header.
20488         * sysdeps/unix/sysv/linux/configure: Regenerated.
20489         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
20490         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
20491         Remove conditional code.
20492         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
20494         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20495         Define to 3.2.0.
20496         (arch_minimum_kernel): Likewise.
20497         * sysdeps/unix/sysv/linux/configure: Regenerated.
20498         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
20499         Define to 2.6.32.
20500         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
20501         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
20502         (arch_minimum_kernel): Define to 2.6.32.
20503         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
20504         * README: Document Linux 3.2 requirement.
20505         * manual/install.texi (Linux): Document Linux 3.2 headers
20506         requirement.
20507         * INSTALL: Regenerated.
20509 2016-02-24  Andreas Schwab  <schwab@suse.de>
20511         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
20512         if !NO_LONG_DOUBLE.
20514 2016-02-22  Roland McGrath  <roland@hack.frob.com>
20516         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
20517         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
20519 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
20521         [BZ #19512]
20522         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
20524 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20526         * posix/tst-dir.c: Include libc-internal.h.
20528 2016-02-20  Florian Weimer  <fweimer@redhat.com>
20530         [BZ #19056]
20531         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
20532         * manual/filesys.texi (Reading/Closing Directory): Mention
20533         deprecaion.
20534         * posix/tst-dir.c (main): Disable deprecation warning in test.
20536 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
20538         [BZ #19679]
20539         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
20540         Renamed to ...
20541         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
20542         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20543         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
20544         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20545         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20546         * sysdeps/x86_64/dl-trampoline.h
20547         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20548         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20550 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20552         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
20554 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20556         * elf/elf.h (R_386_GOT32X): New.
20557         (R_386_NUM): Update.
20558         (R_X86_64_GOTPCRELX: New.
20559         (R_X86_64_REX_GOTPCRELX): New.
20560         (R_X86_64_NUM): Update.
20562 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
20564         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20566 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
20568         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20569         assign attr->stackaddr to it, and adjust it down when
20570         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20571         [_STACK_GROWS_UP]: Delete assert.
20572         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20573         Implement stack grows up logic.
20574         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20575         stack grows up logic.
20577 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20579         * NEWS: Update with 2.24 template.
20581 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20583         [BZ #19678]
20584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20585         Ensure +0.0 is returned when taking the next value below the least
20586         positive value.
20588 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20590         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20591         available.  Do not define NO_THREADS.
20592         * malloc/malloc.c: Do not check NO_THREADS.
20593         * malloc/arena.c: Likewise.
20595 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20597         * malloc/malloc.c (__libc_mallinfo): Update comment.
20598         (struct malloc_par): Remove max_total_mem member, it was always 0.
20599         (int_mallinfo): Store 0 into usmblks (no functional change).
20600         * malloc/hooks.c (struct malloc_state): Document that
20601         max_total_mem is always 0.
20602         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20603         always 0.
20604         * manual/memory.texi (Statistics of Malloc): Likewise.
20606 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20608         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20609         * malloc/arena.c (arena_max): Remove.
20610         (heap_trim, _int_new_arena): Do not update arena_max.
20612 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20614         * resolv/res_init.c (res_ninit): Update comment.
20616 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20618         [BZ #19505]
20619         * posix/spawn_int.h: Add headers and include guard.
20620         (__spawn_valid_fd): New function.
20621         * posix/spawn_faction_addopen.c
20622         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
20623         * posix/spawn_faction_addclose.c
20624         (posix_spawn_file_actions_addclose): Likewise.
20625         * posix/spawn_faction_adddup2.c
20626         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
20627         second file descriptor.
20628         * posix/spawn_valid_fd.c: New file.
20629         * posix/tst-posix_spawn-fd.c: New file.
20630         * posix/Makefile (routines): Add spawn_valid_fd.
20631         (tests): Add tst-posix_spawn-fd.
20633 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20635         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
20636         (do_test): Limit the number of arenas, so that we can use fewer
20637         outer threads.  Limit timeout to 3 seconds, in preparation for a
20638         larger TIMEOUT value.
20640 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20642         [BZ #19674]
20643         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
20644         sign in overflowing and underflowing results when overflow or
20645         underflow is detected early.  Include sign in result before rather
20646         than after scaling.
20648         [BZ #19603]
20649         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20650         (__ieee754_remainderl): Adjust sign of integer version of low part
20651         when taking absolute value of high part.
20652         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20653         * math/libm-test.inc (remainder_test_data): Add another test.
20654         (remquo_test_data): Likewise.
20656 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
20658         [BZ #19602]
20659         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
20660         equal high parts and both low parts zero specially.
20661         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
20662         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
20663         Add test-fmodl-ldbl-128ibm.
20665         [BZ #19595]
20666         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
20667         common logic for all cases of shifting subnormal results.  Do not
20668         insert sign bit in shifted mantissa.  Always pass -1023 as biased
20669         exponent to ldbl_insert_mantissa in subnormal case.
20671         [BZ #19594]
20672         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
20673         on high and low parts then adjust result and use
20674         ldbl_canonicalize_int if needed.
20676         [BZ #19593]
20677         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
20678         on high part and __floor or __ceil on low part then use
20679         ldbl_canonicalize_int if needed.
20681         [BZ #19592]
20682         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
20683         high and low parts then use ldbl_canonicalize_int if needed.
20685         [BZ #17899]
20686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
20687         New function.
20688         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
20689         on high and low parts then use ldbl_canonicalize_int if needed.
20691 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20693         * configure: Regenerated.
20695         * po/libc.pot: Regenerated.
20697         * po/be.po: Updated translation.
20698         * po/bg.po: Likewise.
20699         * po/ca.po: Likewise.
20700         * po/cs.po: Likewise.
20701         * po/da.po: Likewise.
20702         * po/el.po: Likewise.
20703         * po/eo.po: Likewise.
20704         * po/es.po: Likewise.
20705         * po/fi.po: Likewise.
20706         * po/fr.po: Likewise.
20707         * po/gl.po: Likewise.
20708         * po/hr.po: Likewise.
20709         * po/hu.po: Likewise.
20710         * po/ia.po: Likewise.
20711         * po/id.po: Likewise.
20712         * po/it.po: Likewise.
20713         * po/ja.po: Likewise.
20714         * po/lt.po: Likewise.
20715         * po/nb.po: Likewise.
20716         * po/nl.po: Likewise.
20717         * po/pt_BR.po: Likewise.
20718         * po/rw.po: Likewise.
20719         * po/sk.po: Likewise.
20720         * po/sl.po: Likewise.
20721         * po/sv.po: Likewise.
20722         * po/tr.po: Likewise.
20723         * po/zh_CN.po: Likewise.
20724         * po/zh_TW.po: Likewise.
20726         * version.h (RELEAES): Set to "development".
20727         (VERSION): Set to 2.23.90.
20729         * version.h (RELEASE): Set to "stable".
20730         (VERSION): Set to 2.23.
20731         * include/feature.h (__GLIBC_MINOR__): Set to 23.
20733         * NEWS: Updated fixed bugs.
20735 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
20736             Wilco Dijkstra  <wdijkstr@arm.com>
20738         [BZ #19462]
20739         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
20740         (_STRING_INLINE_unaligned): This.
20741         * include/string.h: Include <string_private.h>.
20742         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
20743         _STRING_INLINE_unaligned.
20744         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
20745         (_STRING_INLINE_unaligned): New.
20746         * sysdeps/aarch64/string_private.h: New file.
20747         * sysdeps/generic/string_private.h: Likewise.
20748         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
20749         * sysdeps/s390/string_private.h: Likewise.
20750         * sysdeps/x86/string_private.h: Likewise.
20751         * sysdeps/m68k/m680x0/m68020/bits/string.h
20752         (_STRING_ARCH_unaligned): Renamed to ...
20753         (_STRING_INLINE_unaligned): This.
20754         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
20755         to ...
20756         (_STRING_INLINE_unaligned): This.
20757         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
20758         to ...
20759         (_STRING_INLINE_unaligned): This.
20760         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
20761         to ...
20762         (_STRING_INLINE_unaligned): This.
20764 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20765             H.J. Lu  <hongjiu.lu@intel.com>
20767         [BZ #19590]
20768         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
20769         relocation.
20771 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
20773         [BZ #18665]
20774         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
20775         *herrno_p.
20776         (gaih_getanswer): Document functional behviour. Return tryagain
20777         if any result is tryagain.
20778         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
20779         when freed.
20780         * resolv/res_send.c: Add copyright text.
20781         (__libc_res_nsend): Document that MAXPACKET is expected.
20782         (send_vc): Document. Remove buffer reuse.
20783         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
20784         size of the buffer. Add Dprint for truncated UDP buffer.
20786 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
20788         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
20789         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
20790         * INSTALL: Regenerate.
20792 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
20793             Jonathan Wakely  <jwakely@redhat.com>
20794             Carlos O'Donell  <carlos@redhat.com>
20796         [BZ 19439]
20797         * math/Makefile (tests): Add test-math-isinff.
20798         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
20799         * math/bits/mathcalls.h [__USE_MISC]: Use
20800         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
20801         functions not in C++11 and which don't conflict e.g. isinff,
20802         isinfl etc.
20803         * math/test-math-isinff.cc: New file.
20805 2016-02-12  Florian Weimer  <fweimer@redhat.com>
20807         * misc/bug18240.c (do_test): Set RLIMIT_AS.
20809 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20811         [BZ #19529]
20812         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
20814 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20816         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20818 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
20820         [BZ #19550]
20821         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
20822         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
20823         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
20824         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
20825         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
20826         New syscall entry.
20827         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
20828         New syscall entry.
20829         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
20830         syscall entry.
20832 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
20834         [BZ #18240]
20835         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
20836         unsigned int wraparound.
20838 2016-01-27  Florian Weimer  <fweimer@redhat.com>
20840         [BZ #18240]
20841         * misc/bug18240.c: New test.
20842         * misc/Makefile (tests): Add it.
20844 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
20845             Joseph Myers  <joseph@codesourcery.com>
20847         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
20848         load in branch delay slot when less than a word of input left.
20850 2016-01-27  Andreas Schwab  <schwab@suse.de>
20852         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
20853         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
20854         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
20855         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
20857 2016-01-26  David S. Miller  <davem@davemloft.net>
20859         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
20861 2016-01-25  David S. Miller  <davem@davemloft.net>
20863         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
20864         __sqrtl_finite.
20865         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
20866         instead using versioned_symbol.
20867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
20868         of entries.
20870         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
20871         __sqrtl_finite to GLIBC_2.23
20873 2016-01-25  Ricchard Henderson  <rth@redhat.com>
20875         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20877 2016-01-25  Andreas Schwab  <schwab@suse.de>
20879         [BZ #17514]
20880         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
20881         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
20882         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
20883         * nptl/tst-mutex-errorcheck.c: New file.
20885 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20887         [BZ #18560]
20888         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
20889         (IPCOP_semop): Likewise.
20890         (IPCOP_semget): Likewise.
20891         (IPCOP_semctl): Likewise.
20892         (IPCOP_msgsnd): Likewise.
20893         (IPCOP_msgrcv): Likewise.
20894         (IPCOP_msgget): Likewise.
20895         (IPCOP_msgctl): Likewise.
20896         (IPCOP_shmat): Likewise.
20897         (IPCOP_shmdt): Likewise.
20898         (IPCOP_shmget): Likewise.
20899         (IPCOP_shmctl): Likewise.
20901 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20903         * string/tst-endian.c: Include <libc-internal.h>.
20904         (do_test): Ignore tautological-compare warnings around
20905         "htobeXX (beXXtoh (i)) != i" and
20906         "htoleXX (leXXtoh (i)) != i" if-statements.
20908 2016-01-24  David S. Miller  <davem@davemloft.net>
20910         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
20911         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
20912         alias.
20913         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
20914         __sqrtl_finite.
20916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20918 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
20920         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
20921         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
20922         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20924 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20926         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
20927         (thread_func): Use new function to simplify barrier check.
20928         (do_test): Use new function to simplify checking barrier exit
20929         code, and actually join the child thread.
20931 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20933         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
20934         semicolon.
20935         (__libc_tend): Likewise.
20936         (__libc_tabort): Likewise.
20938 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
20940         * sysdeps/nios2/libm-test-ulps: Update.
20941         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
20942         (__gtsf2): Likewise.
20943         (__unorddf2): Likewise.
20944         (__unordsf2): Likewise.
20945         (__ledf2): Likewise.
20947 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
20949         * nis/nis_table.c (__follow_path): Disable diagnostic for
20950         uninitialized variable that is a false positive for gcc 4.7.
20951         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
20953 2016-01-20  Roland McGrath  <roland@hack.frob.com>
20955         * sysdeps/nacl/lowlevellock-futex.h
20956         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
20957         Always evaluate PRIVATE argument.
20959 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
20961         [BZ #19490]
20962         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
20963         (pthread_cond_broadcast): Use ENTRY/END
20964         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
20965         (pthread_cond_signal): Likewise.
20966         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
20967         Likewise.
20968         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
20969         Likewise.
20970         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
20971         Likewise.
20973 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
20975         * sysdeps/ieee754/dbl-64/s_finite.c
20976         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
20977         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
20978         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
20979         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
20980         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
20982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
20983         (__gtsf2): Add as optional for libc.so.
20984         (__unordsf2): Likewise.
20985         (__signbit): Remove for libc.so.
20986         (__signbitl): Likewise.
20988 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20990         * iconvdata/bug-iconv11.c (test_ibm93x):
20991         Use %zu printf format specifier for size_t argument.
20993 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
20995         * math/gen-libm-test.pl (parse_ulps): Do not reduce
20996         already-recorded ulps.
20997         * sysdeps/arm/libm-test-ulps: Regenerated.
20998         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20999         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21000         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21002 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21003             Paul Pluzhnikov  <ppluzhnikov@google.com>
21005         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21006         assembler not supporting AVX-512.
21008 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21010         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21012 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21014         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21015         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21017         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21019         * sysdeps/arm/libm-test-ulps: Regenerated.
21021 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21023         [BZ #19451]
21024         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21026 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21028         [BZ #19486]
21029         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21030         * sysdeps/generic/fix-fp-int-convert-overflow.h
21031         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21032         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21033         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21034         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21035         Likewise.
21036         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21037         Avoid conversions to long int where inexact exceptions
21038         could be raised.
21039         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21040         Likewise.
21041         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21042         Avoid conversions to long long int where inexact exceptions
21043         could be raised.
21044         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21045         Likewise.
21047 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21049         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21050         * configure: Regenerated.
21052 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21054         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21056 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21058         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21059         outside of comment.
21061 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21063         * nptl/tst-barrier1.c: Add description on first line.
21064         * nptl/tst-barrier2.c: Likewise.
21065         * nptl/tst-barrier3.c: Likewise.
21066         * nptl/tst-barrier4.c: Likewise.
21067         * nptl/tst-barrier5.c: Likewise.
21069 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21071         [BZ #18868]
21072         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21074 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21078         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21079         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21080         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21081         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21082         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21083         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21084         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21085         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21086         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21088 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21090         [BZ #13065]
21091         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21092         new implementation.
21093         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21094         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21095         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21096         (BARRIER_IN_THRESHOLD): New macro.
21097         * nptl/pthread_barrierattr_setpshared.c
21098         (pthread_barrierattr_setpshared): Clean up.
21099         * nptl/tst-barrier4.c: Correct comment.
21100         * nptl/tst-barrier5.c: New file.
21101         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21102         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21103         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21104         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21105         * nptl/lowlevelbarrier.sym: Remove.
21106         * nptl/DESIGN-barrier.txt: Remove.
21107         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21108         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21109         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21110         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21111         error.
21112         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21113         implementation.
21115 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21117         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21118         (do_child): Mask SIGRTMIN while thr is running.
21120 2016-01-15  Martin Sebor  <msebor@redhat.com>
21122         [BZ #19432]
21123         * iconvdata/Makefile: Add bug-iconv11.
21124         * iconvdata/bug-iconv11.c: New test.
21125         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21126         * iconvdata/ibm933.c: Same.
21127         * iconvdata/ibm935.c: Same.
21128         * iconvdata/ibm937.c: Same.
21129         * iconvdata/ibm939.c: Same.
21131 2016-01-15  Martin Sebor  <msebor@redhat.com>
21133         [BZ #19443]
21134         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21135         [DEBUG] (_ufc_set_bits): Declare used.
21136         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21137         [DEBUG] (print_all): Declare used.
21138         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21139         operands of the ternary ?: expression to target type.
21140         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21141         calling the undeclared abort.
21142         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21144 2016-01-15  Martin Sebor  <msebor@redhat.com>
21146         [BZ #18755]
21147         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21148         warnings.
21149         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21150         (__gai_create_helper_thread): Same.
21151         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21152         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21153         to suppress -Wmaybe-uninitialized warnings.
21155 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
21157         [BZ #19465]
21158         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21159         inside if.
21160         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21161         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21162         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21164 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
21166         [BZ #19466]
21167         * time/tst-mktime2.c (time_t_max): Removed.
21168         (time_t_min): Likewise.
21169         (TYPE_SIGNED): New.
21170         (TYPE_MINIMUM): Likewise.
21171         (TYPE_MAXIMUM): Likewise.
21172         (TIME_T_MIN): Likewise.
21173         (TIME_T_MAX): Likewise.
21174         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21175         and TIME_T_MIN.
21176         (do_test): Likewise.
21178 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
21180         [BZ #19467]
21181         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21182         index_Fast_Unaligned_Load flag for Excavator family CPUs.
21184 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
21186         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21188 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
21190         * benchtests/Makefile (PYTHON): Define.
21191         (bench-func): Use $(PYTHON) to run python scripts.
21192         ($(objpfx)bench-%.c): Likewise.
21194 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
21196         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21197         leading slash when `file_name' is "/".
21199 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
21201         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21202         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21203         Likewise.
21204         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21205         Likewise.
21206         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21207         Likewise.
21208         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21209         enum constant and macro.
21210         (PTRACE_SETSIGMASK): Likewise.
21211         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21212         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21213         (PTRACE_GETSIGMASK): Likewise.
21214         (PTRACE_SETSIGMASK): Likewise.
21215         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21216         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21217         Likewise.
21218         (PTRACE_SETSIGMASK): Likewise.
21219         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21220         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21221         (PTRACE_GETSIGMASK): Likewise.
21222         (PTRACE_SETSIGMASK): Likewise.
21223         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21225         Likewise.
21226         (PTRACE_SETSIGMASK): Likewise.
21227         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21228         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21229         Likewise.
21230         (PTRACE_SETSIGMASK): Likewise.
21231         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21232         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
21233         Likewise.
21234         (PTRACE_SETSIGMASK): Likewise.
21235         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21237 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
21238             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21240         [BZ #19439]
21241         * math/bits/mathcalls.h
21242         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
21243         prototype.
21244         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
21246 2016-01-11  Andreas Schwab  <schwab@suse.de>
21248         [BZ #19253]
21249         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
21250         cache when TZDEFRULES was used.
21251         * time/tst-tzname.c: New file.
21252         * time/Makefile (test): Add tst-tzname.
21253         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
21254         * timezone/Makefile (test-zones): Add $(posixrules-file).
21255         ($(testdata)/$(posixrules-file)): New rule.
21257 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
21259         Fix doc quoting problems with Texinfo 5
21260         Without this change, in the info file output, Texinfo 5 quotes code
21261         in text with undirected single quotes 'like this' and generates
21262         code examples that with many PDF readers cannot be cut out of PDFs
21263         and pasted into code.
21264         * manual/libc.texinfo: Configure the libc manual like the GNU
21265         Emacs manual, by using @documentencoding and setting
21266         txicodequoteundirected and txicodequotebacktick.  This way,
21267         Texinfo 5 quotes code in text with directed single quotes ‘like
21268         this’ and produces examples that can be cut out of PDFs.  This
21269         change causes Texinfo 5 to generate info files that contain UTF-8
21270         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
21271         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
21273 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21275         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
21276         __libc_tabort, __libc_tend): New wrappers that enforce compiler
21277         barriers to their respective compiler built-ins.
21278         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
21279         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
21280         * sysdeps/powerpc/sysdep.h: Likewise.
21281         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
21282         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
21283         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
21285 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
21287         * scripts/config.guess: Revert previous shebang change.
21288         * scripts/config.sub: Likewise.
21289         * scripts/mkinstalldirs: Likewise.
21291 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21293         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
21294         PPC_FEATURE2_HAS_IEEE128.
21295         * sysdeps/powerpc/dl-procinfo.c:
21296         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
21298 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
21300         [BZ #19415]
21301         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
21302         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
21303         (_dl_lookup_address): Rewrite using function resolver trampoline.
21304         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
21305         two bits in address.
21307 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21309         * longlong.h: Change !__SHMEDIA__ to
21310         (!defined (__SHMEDIA__) || !__SHMEDIA__).
21311         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
21313 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
21314             Joseph Myers  <joseph@codesourcery.com>
21315             Mark Shinwell  <shinwell@codesourcery.com>
21316             Andrew Stubbs  <ams@codesourcery.com>
21317             Rich Felker <dalias@libc.org>
21319         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
21321 2016-01-07  Richard Henderson  <rth@redhat.com>
21323         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
21325 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21327         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
21328         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
21329         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21330         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21331         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
21333 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
21334             Joseph Myers  <joseph@codesourcery.com>
21336         * timezone/private.h: Update from tzcode 2015g.
21337         * timezone/tzfile.h: Likewise.
21338         * timezone/tzselect.ksh: Likewise.
21339         * timezone/zdump.c: Likewise.
21340         * timezone/zic.c: Likewise.
21341         * timezone/ialloc.c: Remove file.
21342         * timezone/scheck.c: Likewise.
21343         * timezone/Makefile (extra-objs): Remove variable.
21344         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
21345         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
21346         -Wno-maybe-uninitialized.
21347         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
21348         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
21349         (CFLAGS-ialloc.c): Remove variable.
21350         (CFLAGS-scheck.c): Likewise.
21351         * timezone/README: Update list of files from tzcode.
21353 2016-01-07  Khem Raj  <raj.khem@gmail.com>
21355         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
21356         instead of __fxprintf when _LIBC is undefined.
21358 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
21360         * catgets/test-gencat.sh: Remove space after shebang.
21361         * conform/GlibcConform.pm: Likewise.
21362         * conform/check-header-lists.sh: Likewise.
21363         * conform/conformtest.pl: Likewise.
21364         * conform/linknamespace.pl: Likewise.
21365         * conform/list-header-symbols.pl: Likewise.
21366         * debug/catchsegv.sh: Likewise.
21367         * elf/genrtldtbl.awk: Likewise.
21368         * elf/tst-pathopt.sh: Likewise.
21369         * elf/tst-rtld-load-self.sh: Likewise.
21370         * grp/tst_fgetgrent.sh: Likewise.
21371         * iconvdata/gen-8bit-gap-1.sh: Likewise.
21372         * iconvdata/gen-8bit-gap.sh: Likewise.
21373         * iconvdata/gen-8bit.sh: Likewise.
21374         * iconvdata/run-iconv-test.sh: Likewise.
21375         * intl/tst-gettext.sh: Likewise.
21376         * intl/tst-gettext2.sh: Likewise.
21377         * intl/tst-gettext4.sh: Likewise.
21378         * intl/tst-gettext6.sh: Likewise.
21379         * intl/tst-translit.sh: Likewise.
21380         * io/ftwtest-sh: Likewise.
21381         * libio/test-freopen.sh: Likewise.
21382         * locale/gen-translit.pl: Likewise.
21383         * malloc/tst-mtrace.sh: Likewise.
21384         * manual/check-safety.sh: Likewise.
21385         * manual/libc-texinfo.sh: Likewise.
21386         * manual/tsort.awk: Likewise.
21387         * manual/xtract-typefun.awk: Likewise.
21388         * nptl/tst-cancel-wrappers.sh: Likewise.
21389         * nptl/tst-tls6.sh: Likewise.
21390         * posix/globtest.sh: Likewise.
21391         * posix/tst-getconf.sh: Likewise.
21392         * posix/wordexp-tst.sh: Likewise.
21393         * scripts/check-c++-types.sh: Likewise.
21394         * scripts/check-local-headers.sh: Likewise.
21395         * scripts/config.guess: Likewise.
21396         * scripts/config.sub: Likewise.
21397         * scripts/cpp: Likewise.
21398         * scripts/cross-test-ssh.sh: Likewise.
21399         * scripts/documented.sh: Likewise.
21400         * scripts/evaluate-test.sh: Likewise.
21401         * scripts/gen-libc-abis: Likewise.
21402         * scripts/gen-sorted.awk: Likewise.
21403         * scripts/list-fixed-bugs.py: Likewise.
21404         * scripts/merge-test-results.sh: Likewise.
21405         * scripts/mkinstalldirs: Likewise.
21406         * scripts/rellns-sh: Likewise.
21407         * scripts/test-installation.pl: Likewise.
21408         * scripts/update-copyrights: Likewise.
21409         * stdio-common/tst-printf.sh: Likewise.
21410         * stdio-common/tst-unbputc.sh: Likewise.
21411         * stdlib/tst-fmtmsg.sh: Likewise.
21412         * stdlib/tst-setcontext3.sh: Likewise.
21413         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
21414         * sysdeps/unix/make-syscalls.sh: Likewise.
21416 2016-01-06  John David Anglin  <dave.anglin@bell.net>
21418         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
21419         asm stw with atomic_exchange_rel.  Add explanatory comment.
21420         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21421         Likewise.
21423 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21425         [BZ #19122]
21426         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
21427         * sysdeps/generic/dl-unistd.h: New file.
21428         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
21430 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21432          [BZ #19122]
21433          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
21434          * sysdeps/generic/dl-mman.h: New file.
21435          * sysdeps/mach/hurd/dl-mman.h: Likewise.
21437 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
21439         * manual/texinfo.tex: Update to version 2016-01-04.21 with
21440         trailing whitespace removed.
21441         * scripts/config.guess: Update to version 2016-01-01.
21442         * scripts/config.sub: Update to version 2016-01-01.
21443         * scripts/move-if-change: Update from gnulib.
21445 2016-01-04  Anton Blanchard  <anton@samba.org>
21447         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
21448         for array indices.
21449         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
21451 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
21453         * NEWS: Update copyright dates.
21454         * catgets/gencat.c (print_version): Likewise.
21455         * csu/version.c (banner): Likewise.
21456         * debug/catchsegv.sh: Likewise.
21457         * debug/pcprofiledump.c (print_version): Likewise.
21458         * debug/xtrace.sh (do_version): Likewise.
21459         * elf/ldconfig.c (print_version): Likewise.
21460         * elf/ldd.bash.in: Likewise.
21461         * elf/pldd.c (print_version): Likewise.
21462         * elf/sotruss.sh: Likewise.
21463         * elf/sprof.c (print_version): Likewise.
21464         * iconv/iconv_prog.c (print_version): Likewise.
21465         * iconv/iconvconfig.c (print_version): Likewise.
21466         * locale/programs/locale.c (print_version): Likewise.
21467         * locale/programs/localedef.c (print_version): Likewise.
21468         * login/programs/pt_chown.c (print_version): Likewise.
21469         * malloc/memusage.sh (do_version): Likewise.
21470         * malloc/memusagestat.c (print_version): Likewise.
21471         * malloc/mtrace.pl: Likewise.
21472         * manual/libc.texinfo: Likewise.
21473         * nptl/version.c (banner): Likewise.
21474         * nscd/nscd.c (print_version): Likewise.
21475         * nss/getent.c (print_version): Likewise.
21476         * nss/makedb.c (print_version): Likewise.
21477         * posix/getconf.c (main): Likewise.
21478         * scripts/test-installation.pl: Likewise.
21479         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21481         * All files with FSF copyright notices: Update copyright dates
21482         using scripts/update-copyrights.
21483         * intl/plural.c: Regenerated.
21484         * locale/programs/charmap-kw.h: Likewise.
21485         * locale/programs/locfile-kw.h: Likewise.
21487 2016-01-02  Helge Deller  <deller@gmx.de>
21489         [BZ #19285]
21490         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
21491         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
21492         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
21493         (MADV_xxK_PAGES): Remove.
21495 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
21497         [BZ #15421]
21498         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
21499         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
21500         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
21501         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
21503 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
21505         [BZ #19408]
21506         * sysdeps/unix/sysv/linux/personality.c: New file.
21507         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
21508         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
21509         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
21510         (sysdep_routines): Add personality.
21511         (tests): Add tst-personality.
21512         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
21513         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
21514         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
21515         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
21516         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
21517         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
21518         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
21519         Likewise.
21520         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
21521         Likewise.
21522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
21523         Likewise.
21524         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
21525         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
21526         Likewise.
21528 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
21530         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
21531         (PATH_ARM_SYSTYPE): Remove.
21532         (PATH_CPUINFO): Likewise.
21533         (IO_BASE_FOOTBRIDGE): Likewise.
21534         (IO_SHIFT_FOOTBRIDGE): Likewise.
21535         (struct platform): Likewise.
21536         (init_iosys): Remove compatibility code for 2.4 kernels.
21537         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
21539 2015-12-29  Florian Weimer  <fweimer@redhat.com>
21541         * malloc/tst-malloc-thread-fail.c: New file.
21542         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
21543         (tst-malloc-thread-fail): Link against libpthread.
21545 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
21547         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
21548         (get_parser): New function.
21549         (main): New function.
21551 2015-12-29  Rob Wu  <rob@robwu.nl>
21553         [BZ #19369]
21554         * resolv/res_init.c (__res_vinit): Reset defdname before use.
21556 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
21558         [BZ #19270]
21559         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21561 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
21563         [BZ #15421]
21564         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21566 2015-12-23  Torvald Riegel  <triegel@redhat.com>
21568         [BZ #13690]
21569         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21570         after releasing it.
21571         (__lll_robust_unlock): Likewise.
21572         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21573         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21574         (lll_robust_unlock): Likewise.
21575         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21576         Prevent warnings in callers.
21578 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21580         * malloc/arena.c (list_lock): Update comment.
21582 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21584         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21585         __parse_hwcap_and_convert_at_platform to libc.a.
21587 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21589         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21590         platform and feature support for POWER9.
21591         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21592         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21593         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21594         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21595         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21596         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21597         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21598         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21600 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21602         Harmonize generic stdio-lock support with nptl
21604         This fixes build when _IO_funlockfile is a macro, fixes build where
21605         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21606         stack unwind.
21608         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21609         _IO_release_lock ): Use cleanup attribute on new
21610         _IO_acquire_lock_file variable instead of assuming that
21611         _IO_release_lock will be called.
21612         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21613         _IO_acquire_lock_needs_exceptions_enabled.
21614         (_IO_acquire_lock_clear_flags2): New macro.
21616 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21618         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21620 2015-12-21  Florian Weimer  <fweimer@redhat.com>
21622         [BZ #19182]
21623         * malloc/arena.c (list_lock): Document lock ordering requirements.
21624         (free_list_lock): New lock.
21625         (ptmalloc_lock_all): Comment on free_list_lock.
21626         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
21627         (detach_arena): Update comment.  free_list_lock is now needed.
21628         (_int_new_arena): Use free_list_lock around detach_arena call.
21629         Acquire arena lock after list_lock.  Add comment, including FIXME
21630         about incorrect synchronization.
21631         (get_free_list): Switch to free_list_lock.
21632         (reused_arena): Acquire free_list_lock around detach_arena call
21633         and attached threads counter update.  Add two FIXMEs about
21634         incorrect synchronization.
21635         (arena_thread_freeres): Switch to free_list_lock.
21636         * malloc/malloc.c (struct malloc_state): Update comments to
21637         mention free_list_lock.
21639 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21641         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
21642         Remove functions.
21643         (sloww, sloww1): Accept argument to offset quadrant.
21644         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
21645         quadrant.
21646         (__sin, __cos): Consolidate common code into new functions.
21647         (reduce_sincos_1, do_sincos_1): New functions.
21648         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
21651         code to new functions.
21652         (reduce_sincos_2, do_sincos_2): New functions.
21653         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
21656         common code for sincos.
21657         (__cos) [!IN_SINCOS]: Likewise.
21658         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
21659         New function.
21660         (__sincos): Use it.
21662 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
21664         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
21665         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
21666         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21668 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21670         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
21671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
21672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21673         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
21674         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21675         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
21676         index_Prefer_No_VZEROUPPER): New feature.
21677         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
21678         Prefer_No_VZEROUPPER for Knights Landing.
21680 015-12-18  Torvald Riegel  <triegel@redhat.com>
21682         * math/atest-exp2.c (mp_exp_m1): Remove.
21684 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21686         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
21687         syscalls.
21688         (__SYSCALL0): New macro.
21689         (__SYSCALL1): Likewise.
21690         (__SYSCALL2): Likewise.
21691         (__SYSCALL3): Likewise.
21692         (__SYSCALL4): Likewise.
21693         (__SYSCALL5): Likewise.
21694         (__SYSCALL6): Likewise.
21695         (__SYSCALL_CONCAT_X): Likewise.
21696         (__SYSCALL_CONCAT): Likewise.
21697         (__SYSCALL_DIST): Likewise.
21698         (__SYSCALL_CALL): Likewise.
21700 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
21702         [BZ #19363]
21703         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
21705 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21707         [BZ #19375]
21708         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
21709         negative subnormals.
21711 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
21713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21714         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
21715         (INTERNAL_SYSCALL_NCS): Use it.
21716         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21718 2015-12-16  Florian Weimer  <fweimer@redhat.com>
21720         [BZ #19243]
21721         * malloc/arena.c (get_free_list): Remove assert and adjust
21722         reference count handling.  Add comment about reused_arena
21723         interaction.
21724         (reused_arena): Add comments abount get_free_list interaction.
21725         * malloc/tst-malloc-thread-exit.c: New file.
21726         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
21727         (tst-malloc-thread-exit): Link against libpthread.
21729 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21731         [BZ #19367]
21732         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
21733         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
21734         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
21735         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
21736         (index_Prefer_MAP_32BIT_EXEC): Likewise.
21738 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21740         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
21741         Silvermont optimizations for Knights Landing.
21743 2015-12-15  Andreas Schwab  <schwab@suse.de>
21745         [BZ #17197]
21746         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
21747         immediately after emitting SI.
21748         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
21749         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
21750         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
21751         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
21752         * iconvdata/bug-iconv10.c: New file.
21753         * iconvdata/Makefile (tests): Add bug-iconv10.
21754         ($(objpfx)bug-iconv10.out): New rule.
21756 2015-12-15  Florian Weimer  <fweimer@redhat.com>
21758         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
21759         aliasing violation.
21761 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
21763         [BZ #18472]
21764         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
21765         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
21766         conditionals for them.
21767         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
21768         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
21769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
21770         sys/kdaemon.h.
21771         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
21772         compat-only syscall, obsoleted in glibc 2.23.
21773         (create_module): Likewise.
21774         (get_kernel_syms): Likewise.
21775         (query_module): Likewise.
21776         (uselib): Likewise.
21777         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
21779 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
21781         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
21782         <linux/version.h>.
21783         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
21784         conditional code.
21785         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
21786         and ioshift_name initialization.
21788 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21790         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21791         Fix indentation.
21793 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21795         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
21797 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21799         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
21801 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
21802             Jakub Wilk  <jwilk@debian.org>
21804         [BZ #19347]
21805         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
21806         to change the group of the device to the tty group.
21808 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
21810         Split large string section; add truncation advice
21811         * manual/examples/strncat.c: Remove.
21812         This example was misleading, as the code would have undefined
21813         behavior if "hello" was longer than SIZE.  Anyway, the manual
21814         shouldn't encourage strncpy+strncat for this sort of thing.
21815         * manual/string.texi (Copying Strings and Arrays): Split into
21816         three sections Copying Strings and Arrays, Concatenating Strings,
21817         and Truncating Strings, as this section was way too long.  All
21818         cross-referenced changed.  Add advice about string-truncation
21819         functions.  Remove misleading strncat example.
21821 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
21823         * manual/nss.texi (NSS Modules Interface): Document
21824         NSS_STATUS_NOTFOUND and SUCCESS.
21826 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21828         [BZ 18568]
21829         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21830         201505L, for Unicode 8.
21832 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
21834         * locale/C-translit.h: Regenerate.
21836 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21838         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
21839         and U+0153.
21841 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
21843         [BZ #19351]
21844         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
21845         expanding log(1+z), compare z rather than its square with epsilon
21846         to determine when to avoid evaluating the expansion.
21848         [BZ #19350]
21849         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21850         Increase overflow threshold.
21852         [BZ #19349]
21853         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
21854         when small.
21856         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21857         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21858         New macro.
21859         [__LINUX_KERNEL_VERSION >= 0x040300]
21860         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21861         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21862         Likewise.
21863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21864         Likewise.
21865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21866         Likewise.
21867         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21868         Likewise.
21869         [__LINUX_KERNEL_VERSION >= 0x040300]
21870         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21871         [__LINUX_KERNEL_VERSION >= 0x040300]
21872         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21873         [__LINUX_KERNEL_VERSION >= 0x040300]
21874         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21875         [__LINUX_KERNEL_VERSION >= 0x040300]
21876         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21877         [__LINUX_KERNEL_VERSION >= 0x040300]
21878         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21879         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21880         Likewise.
21881         [__LINUX_KERNEL_VERSION >= 0x040300]
21882         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21883         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21884         Likewise.
21885         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21886         Likewise.
21887         [__LINUX_KERNEL_VERSION >= 0x040300]
21888         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21889         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21890         Likewise.
21891         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21892         Likewise.
21893         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
21895         Likewise.
21896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
21897         Likewise.
21898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21899         Likewise.
21900         [__LINUX_KERNEL_VERSION >= 0x040300]
21901         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21902         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21903         Likewise.
21904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21905         Likewise.
21906         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21907         Likewise.
21908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21909         Likewise.
21910         [__LINUX_KERNEL_VERSION >= 0x040300]
21911         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21912         [__LINUX_KERNEL_VERSION >= 0x040300]
21913         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21914         [__LINUX_KERNEL_VERSION >= 0x040300]
21915         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21916         [__LINUX_KERNEL_VERSION >= 0x040300]
21917         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21918         [__LINUX_KERNEL_VERSION >= 0x040300]
21919         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21920         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21921         Likewise.
21922         [__LINUX_KERNEL_VERSION >= 0x040300]
21923         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21925         Likewise.
21926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21927         Likewise.
21928         [__LINUX_KERNEL_VERSION >= 0x040300]
21929         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21931         Likewise.
21932         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21933         Likewise.
21934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21935         (__ASSUME_SOCKET_SYSCALL): Likewise.
21936         (__ASSUME_BIND_SYSCALL): Likewise.
21937         (__ASSUME_CONNECT_SYSCALL): Likewise.
21938         (__ASSUME_LISTEN_SYSCALL): Likewise.
21939         (__ASSUME_ACCEPT_SYSCALL): Likewise.
21940         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21941         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21942         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21943         (__ASSUME_SEND_SYSCALL): Likewise.
21944         (__ASSUME_SENDTO_SYSCALL): Likewise.
21945         (__ASSUME_RECV_SYSCALL): Likewise.
21946         (__ASSUME_RECVFROM_SYSCALL): Likewise.
21947         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
21948         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21949         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21950         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21951         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21952         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21953         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
21954         Likewise.
21955         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
21956         Likewise.
21957         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
21958         Likewise.
21959         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
21960         Likewise.
21961         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
21962         Likewise.
21963         [__LINUX_KERNEL_VERSION >= 0x020625]
21964         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21965         [__LINUX_KERNEL_VERSION >= 0x020625]
21966         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21967         [__LINUX_KERNEL_VERSION >= 0x020625]
21968         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21969         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
21970         Likewise.
21971         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
21972         Likewise.
21973         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
21974         Likewise.
21975         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
21976         Likewise.
21977         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
21978         Likewise.
21979         [__LINUX_KERNEL_VERSION >= 0x020625]
21980         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21981         [__LINUX_KERNEL_VERSION >= 0x020625]
21982         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21983         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
21984         Likewise.
21985         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
21986         Likewise.
21988 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21990         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
21991         record the current if the current ABI and CPU support the FP64
21992         extension.
21993         (has-modd-spreg): Define to record the current if the current ABI and
21994         CPU support 32-bit floating point values in odd FPU registers.
21995         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21996         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
21997         $(has-modd-spreg) equals yes.
21998         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
21999         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22000         $(has-modd-spreg) equal yes.
22002 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22004         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22005         basename.
22007 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22009         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22010         (bench-string): ... here.
22011         (bench): Add bench-string.
22012         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22013         to *-benchset to reflect what they are.
22014         (benchset): Adjust.
22016         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22017         cos-inputs.
22019 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22021         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22022         __attribute__ ((__simd__)) for vector math function declarations.
22024 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22026         Fix typo in strncat, wcsncat manual entries
22027         * manual/string.texi (Copying and Concatenation): Fix typos in
22028         sample implementations of strncat and wcsncat, by having them use
22029         the old value of the destination length, not the new one.
22031 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22033         [BZ #16961]
22034         [BZ #16962]
22035         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22036         string on the stack for strtod.
22037         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22038         a string on the stack for strtof.
22039         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22040         constructing a string on the stack for strtold.
22041         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22042         __strtold_nan to GLIBC_PRIVATE.
22043         * math/test-nan-overflow.c: New file.
22044         * math/test-nan-payload.c: Likewise.
22045         * math/Makefile (tests): Add test-nan-overflow and
22046         test-nan-payload.
22048 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22050         Consistency about byte vs character in string.texi
22051         * manual/string.texi (String and Array Utilities):
22052         Distinguish more carefully among bytes, multibyte characters,
22053         and wide characters.  Use "byte" when talking about C 'char',
22054         to distinguish it more clearly from multibyte characters.
22055         Say "wide character" or "multibyte character" instead of
22056         "character", when a wide or multibyte character is intended.
22057         Similarly for "multibyte string" versus "string".
22058         Define these terms more carefully.
22060 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22062         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22063         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22064         Likewise.
22065         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22066         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22067         * sysdeps/sh/math_private.h: New file.
22068         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22069         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22070         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22071         long double function name.
22072         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22073         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22074         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22075         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22076         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22078         Remove __finitel, __isinfl, and __isnanl.
22079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22080         Likewise.
22081         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22083         Remove __finitel.
22084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22085         Likewise.
22086         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22088 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22090         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22091         installed libmvec_nonshared.a.
22093 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22095         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22096         (sysdep_routines): Likewise.
22097         (sysdep-rtld-routines): Likewise.
22098         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22099         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22100         * sysdeps/powerpc/Versions: Added new
22101         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22102         * sysdeps/powerpc/hwcapinfo.c: New file.
22103         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22104         and parse hwcap, hwcap2 and platform number information.
22105         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22106         to store HWCAP+HWCAP2 and platform number.
22107         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22108         for HWCAP+HWCAP2 and platform number in the TCB.
22109         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22110         the HWCAP, HWCAP2 and platform number in the TCB.
22111         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22112         (TLS_INIT_TP): Included calls to add the hwcap and
22113         at_platform values in the TCB in TP initialization.
22114         (TLS_DEFINE_INIT_TP): Likewise.
22115         (THREAD_GET_HWCAP): New macro.
22116         (THREAD_SET_HWCAP): Likewise.
22117         (THREAD_GET_AT_PLATFORM): Likewise.
22118         (THREAD_SET_AT_PLATFORM): Likewise.
22119         * sysdeps/powerpc/powerpc32/dl-machine.h:
22120         (dl_platform_init): New function that calls
22121         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22122         powerpc32.
22123         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22124         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22125         this functionality, static linking case.
22126         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
22127         linking case.
22128         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22129         __parse_hwcap_and_convert_at_platform for the static linking case.
22130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22131         Included the new __parse_hwcap_and_convert_at_platform symbol in the
22132         ABI list for GLIBC 2.23.
22133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22134         Likewise.
22135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22136         Likewise.
22138 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
22140         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22141         * configure: Regenerate.
22142         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22143         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
22145 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
22147         * iconvdata/ibm930.c: Add comment explaining encoding uses.
22148         * iconvdata/ibm933.c: Likewise.
22149         * iconvdata/ibm935.c: Likewise.
22150         * iconvdata/ibm937.c: Likewise.
22151         * iconvdata/ibm939.c: Likewise.
22153 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22155         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22156         pthread_join.
22157         * nptl/tst-cancel21.c (tf): Likewise.
22159 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22161         [BZ #19313]
22162         * bits/typesizes.h (__CPU_MASK_TYPE): New.
22163         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22164         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22165         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22166         Likewise.
22167         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22168         Likewise.
22169         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22170         Likewise.
22171         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22172         Likewise.
22173         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22174         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22175         unsigned long int with __CPU_MASK_TYPE.
22177 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22179         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22181 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
22183         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22184         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22185         t512.x.
22186         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22188 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
22190         [BZ #19214]
22191         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22192         argument to return extended model.  Update family and model
22193         with extended family and model when family == 0x0f.
22194         (init_cpu_features): Updated.
22196 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22198         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22199         signed off_t, so 32bit bigger than 2GiB values are fine actually.
22201         * sysdeps/mach/hurd/mmap64.c: New file.
22203 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
22205         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22206         rights for its main user thread in NEWTASK.
22208 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
22210         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22211         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22213 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
22215         [BZ #14259]
22216         * Makeconfig: Rename localedir to complocaledir.
22217         Rename inst_localedir to inst_complocaledir.
22218         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22219         * config.make.in: Use complocaledir and libc_cv_complocaledir.
22220         * configure.ac: Use libc_cv_complocaledir.
22221         * configure: Regenerate.
22222         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22223         -DCOMPLOCALEDIR.
22224         * locale/findlocale.c: Use COMPLOCALEDIR.
22225         * locale/loadarchive.c: Likewise.
22226         * locale/programs/locale.c: Likewise.
22227         * locale/programs/localedef.c: Likewise.
22228         * locale/programs/locarchive.c: Likewise.
22229         * localedata/Makefile: Use inst_complocaledir.
22230         * sysdeps/gnu/configure: Regenerate.
22231         * sysdeps/hppa/configure: Regenerate.
22232         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22233         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22235         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22236         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22237         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22238         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22240 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
22242         [BZ #19058]
22243         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
22244         AS_NEEDED.
22245         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
22246         workaround.
22247         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
22248         libmvec-static-only-routines): Added new file.
22249         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
22251 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22253         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
22254         of interrupted RPC instead of restoring it.
22256         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
22257         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
22258         libc_hidden_def.
22259         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
22260         into initialized data instead of common. Define rtld_hidden_data_def.
22261         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
22262         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
22263         libc_hidden_def.
22264         (if_freenameindex): Add libc_hidden_weak.
22265         (if_nameindex): Add libc_hidden_weak.
22266         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
22267         __open64.
22268         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
22269         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
22270         * sysdeps/mach/nanosleep.c: Include <time.h>
22271         (__nanosleep): Rename to __libc_nanosleep.
22272         (__nanosleep): Add weak_alias.
22273         (nanosleep): Update alias.
22275 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
22277         * stdlib/strtod_nan.c: New file.
22278         * stdlib/strtod_nan_double.h: Likewise.
22279         * stdlib/strtod_nan_float.h: Likewise.
22280         * stdlib/strtod_nan_main.c: Likewise.
22281         * stdlib/strtod_nan_narrow.h: Likewise.
22282         * stdlib/strtod_nan_wide.h: Likewise.
22283         * stdlib/strtof_nan.c: Likewise.
22284         * stdlib/strtold_nan.c: Likewise.
22285         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
22286         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
22287         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
22288         * wcsmbs/wcstod_nan.c: Likewise.
22289         * wcsmbs/wcstof_nan.c: Likewise.
22290         * wcsmbs/wcstold_nan.c: Likewise.
22291         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
22292         strtold_nan.
22293         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
22294         wcstof_nan.
22295         * include/stdlib.h (__strtof_nan): Declare and use
22296         libc_hidden_proto.
22297         (__strtod_nan): Likewise.
22298         (__strtold_nan): Likewise.
22299         (__wcstof_nan): Likewise.
22300         (__wcstod_nan): Likewise.
22301         (__wcstold_nan): Likewise.
22302         * include/wchar.h (____wcstoull_l_internal): Declare.
22303         * stdlib/strtod_l.c: Do not include <ieee754.h>.
22304         (____strtoull_l_internal): Remove declaration.
22305         (STRTOF_NAN): Define macro.
22306         (SET_MANTISSA): Remove macro.
22307         (STRTOULL): Likewise.
22308         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
22309         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
22310         (STRTOF_NAN): Define macro.
22311         (SET_MANTISSA): Remove macro.
22312         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
22313         (SET_MANTISSA): Remove macro.
22314         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
22315         macro.
22316         (SET_MANTISSA): Remove macro.
22317         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
22318         macro.
22319         (SET_MANTISSA): Remove macro.
22320         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
22321         (SET_MANTISSA): Remove macro.
22322         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
22323         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
22324         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
22326         [BZ #19266]
22327         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
22328         upper case and lower case letters inside NAN(), not using TOLOWER.
22329         * stdlib/tst-strtod-nan-locale-main.c: New file.
22330         * stdlib/tst-strtod-nan-locale.c: Likewise.
22331         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
22332         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
22333         Depend on $(gen-locales).
22334         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
22335         * wcsmbs/tst-wcstod-nan-locale.c: New file.
22336         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
22337         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
22338         Depend on $(gen-locales).
22339         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
22341 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
22343         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
22345         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
22347         __finitel, __isinfl, and __isnanl.
22348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22349         Likewise.
22350         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
22352         __finitel.
22353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22354         Likewise.
22355         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22357 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22359         * malloc/memusage.c (me): Remove redundant getenv call.
22361 2015-10-24  Florian Weimer  <fweimer@redhat.com>
22363         [BZ #19143]
22364         [BZ #19164]
22365         * nptl/check-cpuset.h: Remove.
22366         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22367         Remove CPU set size check.
22368         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22369         Likewise.
22370         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
22371         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22372         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
22373         (__pthread_setaffinity_new): Remove CPU set size check.
22374         * sysdeps/unix/sysv/linux/sched_setaffinity.c
22375         (__kernel_cpumask_size): Remove.
22376         (__sched_setaffinity_new): Remove CPU set size check.
22377         * manual/threads.texi (Default Thread Attributes): Remove stale
22378         reference to check_cpuset_attr, determine_cpumask_size in comment.
22379         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
22380         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
22381         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
22382         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
22383         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
22384         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
22385         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
22386         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
22387         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
22388         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
22389         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
22390         skeleton test file.
22391         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
22392         tst-affinity-pid.
22394 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22396         * scripts/update-abilist.sh: New file.
22397         * Makefile (+subdir_targets): Add subdir_update-all-abi.
22398         * Makerules (update-all-abi-%, update-all-abi)
22399         (subdir_update-all-abi): New targets.
22400         * elf/Makefile (update-all-abi): New target.
22402 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22404         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
22405         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
22406         (__libc_lock_define_initialized): Use it.
22407         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
22408         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
22409         * malloc/malloc.c (main_arena): Likewise.
22410         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22411         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22413 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
22415         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22416         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
22417         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22418         (PTRACE_O_MASK): Update value.
22419         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
22420         New value in enum __ptrace_setoptions.
22421         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22422         (PTRACE_O_MASK): Update value.
22423         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22424         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22425         (PTRACE_O_MASK): Update value.
22426         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
22427         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22428         (PTRACE_O_MASK): Update value.
22429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
22430         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22431         (PTRACE_O_MASK): Update value.
22432         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
22433         New value in enum __ptrace_setoptions.
22434         (PTRACE_O_MASK): Update value.
22435         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
22436         New value in enum __ptrace_setoptions.
22437         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22438         (PTRACE_O_MASK): Update value.
22440         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
22441         New macro.
22442         (PACKET_AUXDATA): Likewise.
22443         (PACKET_ORIGDEV): Likewise.
22444         (PACKET_VERSION): Likewise.
22445         (PACKET_HDRLEN): Likewise.
22446         (PACKET_RESERVE): Likewise.
22447         (PACKET_TX_RING): Likewise.
22448         (PACKET_LOSS): Likewise.
22449         (PACKET_VNET_HDR): Likewise.
22450         (PACKET_TX_TIMESTAMP): Likewise.
22451         (PACKET_TIMESTAMP): Likewise.
22452         (PACKET_FANOUT): Likewise.
22453         (PACKET_TX_HAS_OFF): Likewise.
22454         (PACKET_QDISC_BYPASS): Likewise.
22455         (PACKET_ROLLOVER_STATS): Likewise.
22456         (PACKET_FANOUT_DATA): Likewise.
22457         (PACKET_MR_UNICAST): Likewise.
22459         [BZ #19242]
22460         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
22461         (TOUPPER): Likewise.
22462         * stdlib/tst-strtol-locale-main.c: New file.
22463         * stdlib/tst-strtol-locale.c: Likewise.
22464         * stdlib/Makefile (tests): Add tst-strtol-locale.
22465         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
22466         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
22467         Depend on $(gen-locales).
22468         * wcsmbs/tst-wcstol-locale.c: New file.
22469         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
22470         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
22471         tr_TR.ISO-8859-9.
22472         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
22473         Depend on $(gen-locales).
22475 2015-11-20  Roland McGrath  <roland@hack.frob.com>
22477         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
22478         __glibc_likely instead of __builtin_expect.  After falling back to
22479         dyncode_create in a non-ET_DYN case, use the allocate_code_data
22480         system interface to register the code pages as occupied.
22482 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
22484         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22485         [!ARM_MATH_PRIVATE_H].
22486         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
22487         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22488         [!HPPA_MATH_PRIVATE_H].
22489         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
22490         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
22491         to [!I386_MATH_PRIVATE_H].
22492         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
22493         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
22494         Change guard to [!M68K_MATH_PRIVATE_H].
22495         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
22496         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
22497         guard to [!MICROBLAZE_MATH_PRIVATE_H].
22498         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
22499         macro.
22500         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22501         [!MIPS_MATH_PRIVATE_H].
22502         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
22503         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22504         [!NIO2_MATH_PRIVATE_H].
22505         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
22506         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22507         [!TILE_MATH_PRIVATE_H].
22508         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
22510         [BZ #15421]
22511         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
22512         initialize with 0 and define as weak alias of __signgam.
22513         * include/math.h [!_ISOMAC] (__signgam): Declare.
22514         * math/Makefile (libm-calls): Add w_lgamma_compat.
22515         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
22516         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
22517         test-signgam-ullong-init.
22518         (tests-static): Add test-signgam-uchar-static,
22519         test-signgam-uchar-init-static, test-signgam-uint-static,
22520         test-signgam-uint-init-static, test-signgam-ullong-static and
22521         test-signgam-ullong-init-static.
22522         (CFLAGS-test-signgam-uchar.c): New variable.
22523         (CFLAGS-test-signgam-uchar-init.c): Likewise.
22524         (CFLAGS-test-signgam-uchar-static.c): Likewise.
22525         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22526         (CFLAGS-test-signgam-uint.c): Likewise.
22527         (CFLAGS-test-signgam-uint-init.c): Likewise.
22528         (CFLAGS-test-signgam-uint-static.c): Likewise.
22529         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22530         (CFLAGS-test-signgam-ullong.c): Likewise.
22531         (CFLAGS-test-signgam-ullong-init.c): Likewise.
22532         (CFLAGS-test-signgam-ullong-static.c): Likewise.
22533         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22534         * math/Versions (libm): Add GLIBC_2.23.
22535         * math/lgamma-compat.h: New file.
22536         * math/test-signgam-main.c: Likewise.
22537         * math/test-signgam-uchar-init-static.c: Likewise.
22538         * math/test-signgam-uchar-init.c: Likewise.
22539         * math/test-signgam-uchar-static.c: Likewise.
22540         * math/test-signgam-uchar.c: Likewise.
22541         * math/test-signgam-uint-init-static.c: Likewise.
22542         * math/test-signgam-uint-init.c: Likewise.
22543         * math/test-signgam-uint-static.c: Likewise.
22544         * math/test-signgam-uint.c: Likewise.
22545         * math/test-signgam-ullong-init-static.c: Likewise.
22546         * math/test-signgam-ullong-init.c: Likewise.
22547         * math/test-signgam-ullong-static.c: Likewise.
22548         * math/test-signgam-ullong.c: Likewise.
22549         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
22550         wrapper of w_lgamma_main.c.
22551         * math/w_lgamma_compat.c: New file.
22552         * math/w_lgamma_compatf.c: Likewise.
22553         * math/w_lgamma_compatl.c: Likewise.
22554         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
22555         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22556         defining compatibility symbols.
22557         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
22558         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
22559         wrapper of w_lgammaf_main.c.
22560         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
22561         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22562         defining compatibility symbols.
22563         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
22564         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22565         wrapper of w_lgammal_main.c.
22566         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
22567         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22568         defining compatibility symbols.
22569         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22570         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22571         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22572         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22573         <lgamma-compat.h>.
22574         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22575         (__ieee754_gamma): Define as alias.
22576         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22577         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22578         <lgamma-compat.h>.
22579         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22580         (__ieee754_gammaf): Define as alias.
22581         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22582         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22583         <lgamma-compat.h>.
22584         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22585         (__ieee754_gammal): Define as alias.
22586         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22587         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22588         <math/w_lgamma_compat.c>.
22589         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22590         Define as alias of __lgamma_compat and use in defining lgammal.
22591         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22592         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22593         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22594         (USE_AS_COMPAT): New macro.
22595         (LGAMMA_OLD_VER): Undefine and redefine.
22596         (lgammal): Do not define here.
22597         (gammal): Only define here if [GAMMA_ALIAS].
22598         * conform/linknamespace.pl (@whitelist): Remove signgam.
22599         * sysdeps/nacl/libm.abilist: Update.
22600         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22601         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22602         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22603         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22604         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22605         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22606         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22607         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22608         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22609         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22610         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22611         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22613         Likewise.
22614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22615         Likewise.
22616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22617         Likewise.
22618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22619         Likewise.
22620         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22621         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22622         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22623         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22624         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22626         Likewise.
22627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22628         Likewise.
22629         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22630         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22631         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22633 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22635         [BZ #16364]
22636         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
22637         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
22639 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22641         * sysdeps/s390/fpu/bits/mathinline.h:
22642         Use __asm__ [__volatile__] instead of asm [volatile].
22643         * sysdeps/s390/abort-instr.h: Likewise.
22644         * sysdeps/s390/atomic-machine.h: Likewise.
22645         * sysdeps/s390/bits/string.h: Likewise.
22646         * sysdeps/s390/dl-tls.h: Likewise.
22647         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22648         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22649         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22650         * sysdeps/s390/fpu/fesetround.c: Likewise.
22651         * sysdeps/s390/fpu/fpu_control.h: Likewise.
22652         * sysdeps/s390/fpu/s_fma.c: Likewise.
22653         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
22654         * sysdeps/s390/memusage.h: Likewise.
22655         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
22656         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
22657         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
22658         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
22659         * sysdeps/s390/nptl/tls.h: Likewise.
22660         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
22661         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22662         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22663         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
22664         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22665         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22666         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
22667         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22668         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22669         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
22670         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
22671         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22672         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22673         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
22674         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22675         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22676         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
22677         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22678         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
22679         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22680         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
22681         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22682         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
22684 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22685             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22687         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22688         Add lwarx hint, and use macro for acquire instruction.
22689         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22690         Likewise.
22691         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
22692         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
22693         update to use new atomic macros.
22695 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22697         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22698         (__lll_trylock_elision): Fix setting of adapt_count.
22699         * sysdeps/unix/sysv/linux/powerpc/htm.h
22700         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
22701         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
22702         (_ABORT_SYSCALL): Renumber, and clarify definition.
22703         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
22705 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22707         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
22708         after system headers to prevent MIN/MAX redefinition.  Define
22709         HAVE_ALLOCA to preserve builtin alloca usage.
22711 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22713         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
22714         static and don't set or restore rounding.
22715         (__cos)[IN_SINCOS]: Likewise.
22716         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
22717         (__sincos): Set and restore rounding mode.  Remove check for infinite
22718         or NaN input.
22720         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
22722         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
22723         as used.
22725 2015-11-16  Florian Weimer  <fweimer@redhat.com>
22727         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
22729 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22731         * config.make.in (have-glob-dat-reloc): New.
22732         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
22733         target supports GLOB_DAT relocaton. AC_SUBST.
22734         * configure: Regenerated.
22735         * elf/Makefile (tests): Add tst-prelink.
22736         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22737         (tst-prelink-ENV): New.
22738         ($(objpfx)tst-prelink-conflict.out): Likewise.
22739         ($(objpfx)tst-prelink-cmp.out): Likewise.
22740         * sysdeps/x86/tst-prelink.c: Moved to ...
22741         * elf/tst-prelink.c: Here.
22742         * sysdeps/x86/tst-prelink.exp: Moved to ...
22743         * elf/tst-prelink.exp: Here.
22744         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
22745         (tst-prelink-ENV): Removed.
22746         ($(objpfx)tst-prelink-conflict.out): Likewise.
22747         ($(objpfx)tst-prelink-cmp.out): Likewise.
22748         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
22750 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
22752         [BZ #14551]
22753         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
22754         (__mpn_construct_long_double): If high part overflows to infinity,
22755         set errno and recompute overflowed result of the correct sign.
22756         * sysdeps/ieee754/ldbl-128ibm/Makefile
22757         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
22758         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
22759         $(libm).
22760         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
22762 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
22764         [BZ #15479]
22765         [BZ #19238]
22766         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
22767         floating-point state after first operation on input.  Restore full
22768         state rather than just rounding mode.
22769         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
22770         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
22771         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
22773         [BZ #19235]
22774         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
22775         add 0.5 to integer arguments.
22776         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
22777         Likewise.
22778         (.LC2): New object.
22780 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
22782         * scripts/pylintrc (reports): Set to no.
22784 2015-11-10  Roland McGrath  <roland@hack.frob.com>
22786         * elf/dl-load.c (open_verify): Take new argument FD.
22787         Skip __open call if passed FD is not -1.
22788         (_dl_map_object, open_path): Update callers.
22789         * elf/dl-sysdep-open.h: New file.
22790         * elf/dl-load.c: Include it.
22791         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
22792         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
22793         * sysdeps/nacl/dl-sysdep-open.h: New file.
22794         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
22795         from libc to rtld.
22797 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22799         [BZ #19228]
22800         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
22801         and restore full floating-point state.
22802         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22803         Likewise.
22804         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
22805         Likewise.
22806         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
22807         Likewise.
22808         * math/test-nearbyint-except-2.c: New file.
22809         * math/Makefile (tests): Add test-nearbyint-except-2.
22811 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
22813         [BZ #19178]
22814         * sysdeps/x86/Makefile (tests): Add tst-prelink.
22815         (tst-prelink-ENV): New.
22816         ($(objpfx)tst-prelink-conflict.out): Likewise.
22817         ($(objpfx)tst-prelink-cmp.out): Likewise.
22818         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22819         * sysdeps/x86/tst-prelink.c: New file.
22820         * sysdeps/x86/tst-prelink.exp: Likewise.
22822 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22824         * math/auto-libm-test-in: Add another test of pow.
22825         * math/auto-libm-test-out: Regenerated.
22826         * math/libm-test.inc (pow_test_data): Add another test.
22828 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22830         [BZ #19219]
22831         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
22832         weak_alias to nearbyintl.
22834 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22836         * sysdeps/aarch64/bits/string.h: New file.
22837         (_STRING_ARCH_unaligned): Define.
22839 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22841         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
22842         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22843         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22844         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
22845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
22847 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
22849         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
22850         for original name of the DSO.  Add it to the name list of the DSO
22851         if it is actually given.
22852         (_dl_map_object): Keep track of whether an audit module rewrote
22853         the file name.  If yes, pass the original name to
22854         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
22855         debugging is enabled, log the change of the file name.
22856         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
22857         _dl_map_object_from_fd.
22858         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
22859         * elf/tst-audit11.c: New file
22860         * elf/tst-auditmod11.c: New file.
22861         * elf/tst-audit11mod1.c: New file.
22862         * elf/tst-audit11mod2.c: New file.
22863         * elf/tst-audit11mod2.map: New file.
22864         * elf/tst-audit12.c: New file
22865         * elf/tst-auditmod12.c: New file.
22866         * elf/tst-audit12mod1.c: New file.
22867         * elf/tst-audit12mod2.c: New file.
22868         * elf/tst-audit12mod2.map: New file.
22869         * elf/tst-audit12mod3.c: New file.
22871 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22873         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
22874         Don't create weak aliases,
22875         because versioned symbols are created later.
22876         * sysdeps/s390/s390-32/setjmp.S
22877         (setjmp, _setjmp): Remove weak and rename to an unique name
22878         in SHARED case due to existing versioned symbols.
22879         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22880         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
22881         (getcontext): Create weak alias only in non SHARED case.
22882         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22884 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22886         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
22887         (__ASSUME_*_SYSCALL) Define new macros.
22888         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
22889         Remove socketcall syscalls.
22890         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
22891         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
22892         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
22893         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
22894         * sysdeps/unix/sysv/linux/send.c (__libc_send):
22895         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
22897 2015-11-09  Florian Weimer  <fweimer@redhat.com>
22899         [BZ #12926]
22900         Terminate process on invalid netlink response.
22901         * sysdeps/unix/sysv/linux/netlinkaccess.h
22902         (__netlink_assert_response): Declare.
22903         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
22904         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
22905         (sysdep_routines): Add netlink_assert_response.
22906         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
22907         __netlink_assert_response.
22908         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
22909         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
22910         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
22911         __netlink_assert_response.
22913 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22915         [BZ #19178]
22916         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
22917         (RTYPE_CLASS_PLT): Likewise.
22918         (RTYPE_CLASS_COPY): Likewise.
22919         (RTYPE_CLASS_TLS): Likewise.
22920         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
22921         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
22922         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
22923         DL_DEBUG_PRELINK.
22925 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
22927         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
22928         calls with argument -0.5.
22929         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
22931         * configure.ac (libc_cv_z_nodelete): Remove configure test.
22932         (libc_cv_z_nodlopen): Likewise.
22933         (libc_cv_z_initfirst): Likewise.
22934         * configure: Regenerated.
22936 2015-11-06  Florian Weimer  <fweimer@redhat.com>
22938         Simplify abilist format to be line-based.
22939         * scripts/abilist.awk: Collect descriptors in the descs variable.
22940         (emit): Write descs variable and sort it
22941         externally, with sort.
22942         * sysdeps/**/*.abilist: Convert to new format.
22944 2015-11-06  Mark Wielaard  <mjw@redhat.com>
22946         [BZ #11460]
22947         * io/Makefile (routines): Add fts64.
22948         (tests): Add tst-fts and tst-fts-lfs.
22949         (CFLAGS-fts64.c): New.
22950         * io/Versions (GLIBC_2.23): New.
22951         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
22952         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
22953         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
22954         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
22955         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
22956         (FTSENT64): Likewise.
22957         (fts64_children): Likewise.
22958         (fts64_close): Likewise.
22959         (fts64_open): Likewise.
22960         (fts64_read): Likewise.
22961         (fts64_set): Likewise.
22962         * io/fts64.c: New file.
22963         * io/tst-fts.c: New test.
22964         * io/tst-fts-lfs.c: Likewise.
22965         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
22966         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
22967         fts64_set.
22968         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22969         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22970         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22971         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22972         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22973         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22974         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22975         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22976         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22977         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
22978         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22979         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22980         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22982         Likewise.
22983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22984         Likewise.
22985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
22986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
22987         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22988         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22989         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22990         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22991         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
22993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
22994         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22995         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22996         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22997         * sysdeps/wordsize-64/fts.c: New file.
22998         * sysdeps/wordsize-64/fts64.c: Likewise.
22999         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23000         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23001         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23002         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23004 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23006         * math/libm-test.inc (NON_FINITE): New macro.
23007         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23008         * math/gen-libm-test.pl (show_exceptions): Add argument
23009         $non_finite.
23010         (parse_args): Update call to show_exceptions.
23011         * math/test-math-finite.h: New file.
23012         * math/test-math-no-finite.h: Likewise.
23013         * math/test-double-finite.c: Likewise.
23014         * math/test-float-finite.c: Likewise.
23015         * math/test-ldouble-finite.c: Likewise.
23016         * math/test-double.c: Include "test-math-no-finite.h".
23017         * math/test-float.c: Include "test-math-no-finite.h".
23018         * math/test-ldouble.c: Include "test-math-no-finite.h".
23019         * math/test-math-inline.h (TEST_FINITE): New macro.
23020         * math/test-math-vector.h (TEST_FINITE): Likewise.
23021         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23022         (libm-tests): Add test-float-finite and test-double-finite.
23023         ($(objpfx)test-float-finite.o): New dependency on
23024         $(objpfx)libm-test.stmp.
23025         ($(objpfx)test-double-finite.o): Likewise.
23026         ($(objpfx)test-ldouble-finite.o): Likewise.
23027         (libm-test-no-inline-cflags): New variable.
23028         (libm-test-finite-cflags): Likewise.
23029         (CFLAGS-test-float-finite.c): Likewise.
23030         (CFLAGS-test-double-finite.c): Likewise.
23031         (CFLAGS-test-ldouble-finite.c): Likewise.
23032         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23033         (CFLAGS-test-double.c): Likewise.
23034         (CFLAGS-test-ldouble.c): Likewise.
23036 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23038         * io/fcntl.c (__fcntl): Add ... to prototype.
23039         * misc/ioctl.c (__ioctl): Likewise.
23040         * misc/syscall.c (syscall): Likewise.
23042 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23044         * scripts/list-fixed-bugs.py: New file.
23046         [BZ #19213]
23047         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23048         returned for argument 1.
23049         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23050         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23051         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23052         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23053         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23054         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23056         [BZ #19211]
23057         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23058         __USE_XOPEN], not if [!__USE_ISOC99].
23059         (lgammaf): Likewise.
23060         (lgammal): Likewise.
23061         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23062         (gammaf): Likewise.
23063         (gammal): Likewise.
23064         * math/test-signgam-finite-c11.c: New file.
23065         * math/test-signgam-finite-c99.c: Likewise.
23066         * math/test-signgam-finite.c: Likewise.
23067         * math/Makefile (tests): Add test-signgam-finite,
23068         test-signgam-finite-c99 and test-signgam-finite-c11.
23069         (CFLAGS-test-signgam-finite.c): New variable.
23070         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23071         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23073         [BZ #19212]
23074         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23075         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23076         500].
23077         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23078         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23079         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23080         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23081         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23082         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23083         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23084         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23085         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23086         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23088         [BZ #19209]
23089         * math/bits/math-finite.h (ldexp): Remove declaration.
23090         (ldexpf): Likewise.
23091         (ldexpl): Likewise.
23093         [BZ #19205]
23094         * math/bits/math-finite.h (acosf): Condition declaration on
23095         [__USE_ISOC99].
23096         (acosl): Likewise.
23097         (acoshf): Likewise.
23098         (acoshl): Likewise.
23099         (asinf): Likewise.
23100         (asinl): Likewise.
23101         (atan2f): Likewise.
23102         (atan2l): Likewise.
23103         (atanhf): Likewise.
23104         (atanhl): Likewise.
23105         (coshf): Likewise.
23106         (coshl): Likewise.
23107         (expf): Likewise.
23108         (expl): Likewise.
23109         (fmodf): Likewise.
23110         (fmodl): Likewise.
23111         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23112         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23113         (j0l): Likewise.
23114         (y0f): Likewise.
23115         (y0l): Likewise.
23116         (j1f): Likewise.
23117         (j1l): Likewise.
23118         (y1f): Likewise.
23119         (y1l): Likewise.
23120         (jnf): Likewise.
23121         (jnl): Likewise.
23122         (ynf): Likewise.
23123         (ynl): Likewise.
23124         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23125         (lgammal_r): Likewise.
23126         (__lgamma_r_finite): New declaration.
23127         (__lgammaf_r_finite): Likewise.
23128         (__lgammal_r_finite): Likewise.
23129         (lgamma): Use __lgamma_r_finite.
23130         (lgammaf): Condition definition on [__USE_ISOC99].  Use
23131         __lgammaf_r_finite.
23132         (lgammal): Condition definition on [__USE_ISOC99].  Use
23133         __lgammal_r_finite.
23134         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
23135         __lgamma_r_finite.
23136         (gammaf): Condition definition on [__USE_ISOC99].  Use
23137         __lgammaf_r_finite.
23138         (gammal): Condition definition on [__USE_ISOC99].  Use
23139         __lgammal_r_finite.
23140         (logf): Condition declaration on [__USE_ISOC99].
23141         (logl): Likewise.
23142         (log10f): Likewise.
23143         (log10l): Likewise.
23144         (ldexpf): Likewise.
23145         (ldexpl): Likewise.
23146         (powf): Likewise.
23147         (powl): Likewise.
23148         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23149         __USE_ISOC99].
23150         (remainderf): Condition declaration on [__USE_ISOC99].
23151         (remainderl): Likewise.
23152         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23153         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23154         (scalbl): Likewise.
23155         (sinhf): Condition declaration on [__USE_ISOC99].
23156         (sinhl): Likewise.
23157         (sqrtf): Likewise.
23158         (sqrtl): Likewise.
23160 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23162         * sysdeps/arm/atomic-machine.h
23163         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23164         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23165         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23166         Remove conditional code.
23167         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23168         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23169         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23170         Change conditional to [__ASSEMBLER__].
23171         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23172         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23173         [!__ASSEMBLER__].
23174         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23175         code.
23176         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23177         conditional macro definitions.
23178         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23179         (__arch_compare_and_exchange_val_16_acq): Likewise.
23180         (__arch_compare_and_exchange_val_32_acq): Likewise.
23181         (atomic_exchange_and_add): Likewise.
23182         (atomic_add): Likewise.
23183         (atomic_add_negative): Likewise.
23184         (atomic_add_zero): Likewise.
23185         (atomic_bit_set): Likewise.
23186         (atomic_bit_test_set): Likewise.
23187         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23188         code unconditional.
23189         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23191         * math/test-math-errno.h: New file.
23192         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23193         empty.
23194         (TEST_ERRNO): New macro.
23195         (TEST_EXCEPTIONS): Likewise.
23196         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23197         (TEST_EXCEPTIONS): Likewise.
23198         * math/test-math-vector.h (TEST_ERRNO): Likewise.
23199         * math/test-double.c: Include "test-math-errno.h".
23200         * math/test-float.c: Likewise.
23201         * math/test-ldouble.c: Likewise.
23202         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23203         code unconditional.
23204         (test_exceptions): Only run code if TEST_EXCEPTIONS.
23205         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23206         unconditional.
23207         (test_errno): Only run code if TEST_ERRNO.
23208         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23210 2015-11-04  Florian Weimer  <fweimer@redhat.com>
23212         * nptl/tst-once5.cc: Remove attribution.
23214 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23216         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23217         sqrt, tan, tanh, y0, y1 and yn.
23218         * math/auto-libm-test-out: Regenerated.
23219         * math/libm-test.inc (scalb_test_data): Add more tests.
23220         (scalbn_test_data): Likewise.
23221         (scalbln_test_data): Likewise.
23222         (signbit_test_data): Likewise.
23223         (sin_test_data): Likewise.
23224         (sincos_test_data): Likewise.
23225         (sinh_test_data): Likewise.
23226         (sqrt_test_data): Likewise.
23227         (tan_test_data): Likewise.
23228         (tanh_test_data): Likewise.
23229         (tgamma_test_data): Likewise.
23230         (y0_test_data): Likewise.
23231         (y1_test_data): Likewise.
23232         (yn_test_data): Likewise.
23233         (significand_test_data): Likewise.
23234         * sysdeps/i386/fpu/libm-test-ulps: Update.
23236 2015-11-03  David Kastrup  <dak@gnu.org>
23238         [BZ #18604]
23239         * assert/assert.h (assert): Don't macro-expand failed assertion
23240         expression in error message.
23241         * malloc/malloc.c (assert): Likewise.
23243 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
23245         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
23246         test.
23247         * configure: Regenerated.
23249 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
23251         * math/libm-test.inc (modf_test_data): Add more tests.
23252         (nearbyint_test_data): Likewise.
23253         (nextafter_test_data): Likewise.
23254         (nexttoward_test_data): Likewise.
23255         (pow_test_data): Likewise.
23256         (remainder_test_data): Likewise.
23257         (remquo_test_data): Likewise.
23258         (rint_test_data): Likewise.
23260         [BZ #19201]
23261         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23262         Check for zero remainder in case of large exponents and ensure
23263         correct sign of result in that case.
23264         * math/libm-test.inc (remainder_test_data): Add more tests.
23266         [BZ #6799]
23267         * math/s_nextafter.c: Include <errno.h>.
23268         (__nextafter): Set errno on overflow and underflow.
23269         * math/s_nexttowardf.c: Include <errno.h>.
23270         (__nexttowardf): Set errno on overflow and underflow.
23271         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
23272         (__nextafterl): Set errno on overflow and underflow.
23273         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
23274         (__nexttoward): Set errno on overflow and underflow.
23275         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
23276         (__nexttowardf): Set errno on overflow and underflow.
23277         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
23278         (__nextafterf): Set errno on overflow and underflow.
23279         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
23280         (__nextafterl): Set errno on overflow and underflow.
23281         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
23282         (__nexttoward): Set errno on overflow and underflow.
23283         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
23284         (__nexttowardf): Set errno on overflow and underflow.
23285         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
23286         (__nextafterl): Set errno on overflow and underflow.
23287         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
23288         (__nexttoward): Set errno on overflow and underflow.
23289         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
23290         (__nexttowardf): Set errno on overflow and underflow.
23291         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
23292         (__nexttoward): Set errno on overflow and underflow.
23293         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
23294         (__nexttowardf): Set errno on overflow and underflow.
23295         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
23296         (__nldbl_nexttowardf): Set errno on overflow and underflow.
23297         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
23298         (__nextafterl): Set errno on overflow and underflow.
23299         * math/libm-test.inc (nextafter_test_data): Do not allow errno
23300         setting to be missing on overflow.  Add more tests.
23301         (nexttoward_test_data): Likewise.
23303         * configure.ac (libc_cv_initfini_array): Remove configure test.
23304         * configure: Regenerated.
23306 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
23308         [BZ #19189]
23309         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
23310         non-finite argument handle arguments with negative sign.
23312         * math/libm-test.inc (j0_test_data): Do not test sign of zero
23313         result from infinite argument.
23314         (j1_test_data): Likewise.
23315         (jn_test_data): Likewise.
23316         (y0_test_data): Likewise.
23317         (y1_test_data): Likewise.
23318         (yn_test_data): Likewise.
23320         [BZ #16171]
23321         * math/w_remainder.c (drem): Define as weak alias of __remainder.
23322         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
23323         * math/w_remainderf.c (dremf): Define as weak alias of
23324         __remainderf.
23325         * math/w_remainderl.c (dreml): Define as weak alias of
23326         __remainderl.
23327         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
23328         __remainder.
23329         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
23330         __remainderf.
23331         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
23332         __remainderl.
23333         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
23334         weak alias of remainderl.
23335         * sysdeps/ieee754/ldbl-opt/w_remainder.c
23336         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
23337         alias of __remainder.
23338         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
23339         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
23340         strong alias of __remainderl.
23341         (dreml): Use long_double_symbol.
23342         * math/Makefile (libm-calls): Remove w_drem.
23343         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
23344         (CFLAGS-nldbl-drem.c): Remove variable.
23345         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
23346         * math/w_drem.c: Remove file.
23347         * math/w_dremf.c: Likewise.
23348         * math/w_dreml.c: Likewise.
23349         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
23350         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
23351         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
23353         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
23354         * sysdeps/i386/configure: Regenerated.
23355         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
23356         * sysdeps/x86_64/configure: Regenerated.
23358         * configure.ac (libc_cv_asm_protected_directive): Remove configure
23359         test.
23360         (libc_cv_visibility_attribute): Likewise.
23361         (libc_cv_protected_data): Test unconditionally.
23362         (libc_cv_broken_visibility_attribute): Remove configure test.
23363         (libc_cv_have_sdata_section): Test unconditionally.
23364         * configure: Regenerated.
23366         * include/libc-internal.h (libc_max_align_t): Remove typedef.
23367         * include/scratch_buffer.h: Include <stddef.h> instead of
23368         <libc-internal.h>.
23369         (struct scratch_buffer): Use max_align_t instead of
23370         libc_max_align_t.
23372 2015-10-29  Florian Weimer  <fweimer@redhat.com>
23374         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
23375         instead of extend_alloca.  Change control flow to avoid a goto.
23376         Remove assert which is trivially always true.
23378 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23380         [BZ #16068]
23381         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
23382         (FE_ALL_EXCEPT_X86): New macro.
23383         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23384         FE_ALL_EXCEPT.  Ensure precision control is included in
23385         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23386         handle "denormal operand exception" and clear FZ and DAZ bits.
23387         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
23388         (FE_ALL_EXCEPT_X86): New macro.
23389         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23390         FE_ALL_EXCEPT.  Ensure precision control is included in
23391         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23392         handle "denormal operand exception" and clear FZ and DAZ bits.
23393         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
23394         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
23395         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23396         test-fenv-x87 and test-fenv-sse-2.
23397         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
23399         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
23400         * math/test-double.h (BUILD_COMPLEX): New macro.
23401         * math/test-float.h (BUILD_COMPLEX): Likewise.
23402         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
23404         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
23405         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
23406         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
23407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
23408         instead of DBL_DENORM_MIN in comment.
23409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
23410         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
23412         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
23413         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
23414         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23416 2015-10-28  Florian Weimer  <fweimer@redhat.com>
23418         [BZ #19048]
23419         * malloc/malloc.c (struct malloc_state): Update comment.  Add
23420         attached_threads member.
23421         (main_arena): Initialize attached_threads.
23422         * malloc/arena.c (list_lock): Update comment.
23423         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
23424         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
23425         (deattach_arena): New function.
23426         (_int_new_arena): Initialize arena reference count and deattach
23427         replaced arena.
23428         (get_free_list, reused_arena): Update reference count and deattach
23429         replaced arena.
23430         (arena_thread_freeres): Update arena reference count and only put
23431         unreferenced arenas on the free list.
23433 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23435         [BZ #19181]
23436         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
23437         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
23438         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
23439         * math/test-fenv-clear-main.c: New file.
23440         * math/test-fenv-clear.c: Likewise.
23441         * math/Makefile (tests): Add test-fenv-clear.
23442         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
23443         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23444         test-fenv-clear-sse.
23445         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
23447         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
23448         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
23449         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
23451 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23453         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
23454         static libc.
23456 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23458         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
23459         test.
23460         * sysdeps/i386/configure: Regenerated.
23461         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
23462         test.
23463         * sysdeps/x86_64/configure: Regenerated.
23464         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
23465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23466         memset-avx2 unconditionally instead of conditionally on
23467         [$(config-cflags-avx2) = yes].
23468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23469         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
23470         unconditional.
23471         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
23472         * sysdeps/x86_64/multiarch/memset_chk.S
23473         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
23474         to [IS_IN (libc) && SHARED].
23476 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23478         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
23479         configure test.
23480         * sysdeps/arm/configure: Regenerated.
23481         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
23482         Define variable if not already defined.
23484         [BZ #17404]
23485         * sysdeps/mips/atomic-machine.h
23486         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
23487         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
23488         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23490         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
23491         unconditional.
23492         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
23493         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23494         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
23495         unconditional.
23496         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23497         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
23498         unconditional.
23499         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23500         * stdlib/setenv.c
23501         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
23502         code unconditional.
23503         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
23504         Remove conditional code.
23505         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23506         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
23507         unconditional.
23508         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23509         code.
23510         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23511         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
23512         unconditional.
23513         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23514         code.
23515         * sysdeps/ieee754/ldbl-128/k_tanl.c
23516         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23517         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23518         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
23519         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23520         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23521         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
23522         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
23523         unconditional.
23524         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23525         code.
23526         * sysdeps/ieee754/ldbl-96/k_tanl.c
23527         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23528         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23530         * nptl/tst-initializers1-c11.c: New file.
23531         * nptl/tst-initializers1-gnu11.c: Likewise.
23532         * nptl/Makefile (tests): Add these new tests.
23533         (CFLAGS-tst-initializers1-c11.c): New variable.
23534         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23536         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
23537         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
23538         instead of -std=gnu99.
23539         * configure.ac (systemtap): Test with -std=gnu11 instead of
23540         -std=gnu99.
23541         * configure: Regenerated.
23542         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
23543         in compilation command in comment.
23545         * sysdeps/nptl/configure.ac: Remove file.
23546         * sysdeps/nptl/configure: Remove generated file.
23547         * configure.ac (libc_cv_forced_unwind): Do not substitute.
23548         * configure: Regenerated.
23549         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
23550         * config.make.in (have-forced-unwind): Remove variable.
23551         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23552         unconditional.
23553         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
23554         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
23555         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
23556         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
23557         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23558         unconditional.
23560 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23562         [BZ #19174]
23563         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23564         .skip_lock_out_of_tbegin_retries.
23565         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23566         (__lll_lock_elision): Likewise, and respect a value of
23567         try_tbegin <= 0.
23569 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23571         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23572         statement.
23574 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23576         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23577         variable.
23578         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23579         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23581         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23582         of -std=c1x -D_ISOC11_SOURCE.
23584         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23585         * configure: Regenerated.
23586         * manual/install.texi (Tools for Compilation): Document
23587         requirement for GCC 4.7 or later.
23588         * INSTALL: Regenerated.
23590 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23592         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23593         on CNT to a conditional jump to 'puntdata'.
23595 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23597         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23598         (libc_cv_gcc_tls_model_attr): Likewise.
23599         * configure: Regenerated.
23601         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23602         * configure: Regenerated.
23603         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23605 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23607         * configure.ac (old_glibc_headers): Remove configure test.
23608         * configure: Regenerated.
23609         * config.make.in (old-glibc-headers): Remove variable.
23610         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23611         (install): Remove dependency on remove-old-headers.
23612         (headers2_0): Remove variable.
23613         (remove-old-headers): Remove rule.
23615         * configure.ac (libc_cv_dot_text): Remove configure test.
23616         (libc_cv_asm_set_directive): Use .text instead of
23617         ${libc_cv_dot_text} in configure test.
23618         * configure: Regenerated.
23620 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23622         [BZ #19168]
23623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23625 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23627         * configure.ac (CXX): Clear the variable if the C++ toolchain does
23628         not support static linking.
23629         * configure: Regenerate.
23631 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
23633         * math/libm-test.inc (check_float_internal): Do not special-case
23634         errors up to 0.5 ulp.
23636         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23637         log2.
23638         * math/auto-libm-test-out: Regenerated.
23639         * math/libm-test.inc (MAX_EXP): New macro.
23640         (ilogb_test_data): Add more tests.
23641         (isfinite_test_data): Likewise.
23642         (isgreater_test_data): Likewise.
23643         (isgreaterequal_test_data): Likewise.
23644         (isinf_test_data): Likewise.
23645         (isless_test_data): Likewise.
23646         (islessequal_test_data): Likewise.
23647         (islessgreater_test_data): Likewise.
23648         (isnan_test_data): Likewise.
23649         (isnormal_test_data): Likewise.
23650         (issignaling_test_data): Likewise.
23651         (isunordered_test_data): Likewise.
23652         (j0_test_data): Likewise.
23653         (j1_test_data): Likewise.
23654         (jn_test_data): Likewise.
23655         (lgamma_test_data): Likewise.
23656         (log_test_data): Likewise.
23657         (log10_test_data): Likewise.
23658         (log1p_test_data): Likewise.
23659         (log2_test_data): Likewise.
23660         (logb_test_data): Likewise.
23661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23663         [BZ #18611]
23664         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
23665         avoid excess range and precision on underflow.
23666         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23667         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
23668         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23669         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
23670         underflow.
23671         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23673         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23674         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23675         * math/auto-libm-test-in: Do not allow missing errno setting for
23676         tests of j1 and jn.
23677         * math/auto-libm-test-out: Regenerated.
23679 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
23681         [BZ #15491]
23682         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
23683         floating-point environment instead of clearing all exceptions.
23684         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
23685         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
23686         merging in "invalid" exceptions from frndint.
23687         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
23688         * math/test-nearbyint-except.c: New file.
23689         * math/Makefile (tests): Add test-nearbyint-except.
23691 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
23693         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
23695         * sysdeps/tile/libm-test-ulps: Regenerated.
23697 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
23700         (__NR_sync_file_range2): Assume it is always defined.
23701         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23702         (__NR_sync_file_range): Assume it is always defined.
23704 2015-10-22  Andreas Schwab  <schwab@suse.de>
23706         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23707         INTERNAL_SYSCALL_ERRNO.
23708         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23709         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23710         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23711         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23712         Likewise.
23713         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23715 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23717         * io/tst-fcntl.c (fd): New static variable.
23718         (do_prepare): Open temporary file here....
23719         (do_test): ...not here.
23721         * io/ftwtest-sh: Also trap on exit to remove temporary files.
23723 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23725         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
23726         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23727         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23728         Moved before "#ifdef __ASSEMBLER__".
23730 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23732         [BZ #19156]
23733         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
23734         arguments very close to 0.
23736 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
23738         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
23739         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
23741 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23743         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23744         New.  Defined for GCC 5 and above when not compiling for
23745         profiling.
23746         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23748         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23749         Renamed to ...
23750         (CFLAGS-epoll_pwait.o): This.
23751         (CFLAGS-mmap.c): Renamed to ...
23752         (CFLAGS-mmap.o): This.
23753         (CFLAGS-mmap64.c): Renamed to ...
23754         (CFLAGS-mmap64.o): This.
23755         (CFLAGS-epoll_pwait.os): New.
23756         (CFLAGS-mmap.os): Likewise.
23757         (CFLAGS-mmap64.os): Likewise.
23758         (CFLAGS-semtimedop.os): Likewise.
23759         (CFLAGS-semtimedop.c): Renamed to ...
23760         (CFLAGS-semtimedop.o): This.
23762 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23764         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
23765         warning message.
23767 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23769         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
23770         * Makefile ($(objpfx)c++-types-check.out): Filter out
23771         $(+gccwarn-c) instead of -Wstrict-prototypes.
23773         * io/fts.c (fts_open): Convert to prototype-style function
23774         definition.
23775         * malloc/mcheck.c (mcheck): Likewise.
23776         (mcheck_pedantic): Likewise.
23777         * posix/regexec.c (re_search_2_stub): Likewise.  Use
23778         internal_function.
23779         (re_search_internal): Likewise.
23780         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
23781         prototype-style function definition.
23782         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23783         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
23784         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
23785         (xdr_utmpptr): Likewise.
23786         (xdr_utmparr): Likewise.
23787         (xdr_utmpidle): Likewise.
23788         (xdr_utmpidleptr): Likewise.
23789         (xdr_utmpidlearr): Likewise.
23791         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
23792         log, log10 and log2.
23793         * math/auto-libm-test-out: Regenerated.
23794         * math/libm-test.inc (fmod_test_data): Add more tests.
23795         (fpclassify_test_data): Likewise.
23796         (frexp_test_data): Likewise.
23797         (hypot_test_data): Likewise.
23798         (ilogb_test_data): Likewise.
23800 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
23802         * debug/fortify_fail.c (__fortify_fail): Convert to
23803         prototype-style function definition.  Use internal_function.
23804         * libio/genops.c (save_for_backup): Convert to prototype-style
23805         function definition.
23806         * libio/wgenops.c (save_for_wbackup): Likewise.
23807         * login/grantpt.c (grantpt): Likewise.
23808         * login/ptsname.c (ptsname): Likewise.
23809         (__ptsname_r): Likewise.
23810         * login/unlockpt.c (unlockpt): Likewise.
23811         * mach/msgserver.c (__mach_msg_server): Likewise.
23812         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
23813         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
23814         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
23815         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
23816         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
23817         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
23818         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
23819         Likewise.
23820         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
23821         internal_function.
23822         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
23823         prototype-style function definition.
23824         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
23825         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
23826         (__pthread_create_2_0): Likewise.
23827         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
23828         * nptl/register-atfork.c (__register_atfork): Likewise.
23829         * posix/glob.c (glob): Likewise.
23830         * posix/regcomp.c (re_comp): Likewise.
23831         * posix/regexec.c (re_exec): Likewise.
23832         * stdlib/add_n.c [__STDC__]: Make code unconditional.
23833         [!__STDC__]: Remove conditional code.
23834         * stdlib/cmp.c [__STDC__]: Make code unconditional.
23835         [!__STDC__]: Remove conditional code.
23836         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
23837         [!__STDC__]: Remove conditional code.
23838         * stdlib/divrem.c [__STDC__]: Make code unconditional.
23839         [!__STDC__]: Remove conditional code.
23840         * stdlib/lshift.c [__STDC__]: Make code unconditional.
23841         [!__STDC__]: Remove conditional code.
23842         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
23843         [!__STDC__]: Remove conditional code.
23844         * stdlib/mul.c [__STDC__]: Make code unconditional.
23845         [!__STDC__]: Remove conditional code.
23846         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
23847         [!__STDC__]: Remove conditional code.
23848         * stdlib/rshift.c [__STDC__]: Make code unconditional.
23849         [!__STDC__]: Remove conditional code.
23850         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
23851         function definition.
23852         (STRTOF): Likewise.
23853         * stdlib/strtod_l.c (__STRTOF): Likewise.
23854         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
23855         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
23856         (__strtol_l): Likewise.
23857         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
23858         [!__STDC__]: Remove conditional code.
23859         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
23860         definition.
23861         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23862         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23863         type.
23864         (__strcasecmp): Convert to prototype-style function definition.
23865         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
23866         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23867         type.
23868         (__strncasecmp): Convert to prototype-style function definition.
23869         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
23870         * sunrpc/xdr.c (xdr_union): Likewise.
23871         * sunrpc/xdr_array.c (xdr_array): Likewise.
23872         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
23873         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
23874         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
23875         Likewise.
23876         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
23877         Likewise.
23878         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
23879         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23880         Likewise.
23881         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
23882         (LOCALE_PARAM_PROTO): Likewise.
23883         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
23884         argument type.
23885         (ut_argument_spec): Remove macro.
23886         (ut_argument_spec_iso): Rename to ut_argument_spec.
23887         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
23888         prototype-style function definition.
23889         (memcpy_uppcase): Likewise.
23890         (__strftime_internal): Likewise.
23891         (my_strftime): Likewise.
23892         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
23893         (LOCALE_PARAM_DECL): Likewise.
23894         [_LIBC] (LOCALE_PARAM): Include argument type.
23895         (__strptime_internal): Convert to prototype-style function
23896         definition.
23897         (strptime): Likewise.
23898         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23899         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23900         type.
23901         (__wcscasecmp): Convert to prototype-style function definition.
23902         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
23903         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23904         type.
23905         (__wcsncasecmp): Convert to prototype-style function definition.
23907         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
23908         function definition.
23909         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23910         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23911         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
23912         * elf/dl-minimal.c (_itoa): Likewise.
23913         * hurd/hurdmalloc.c (malloc): Likewise.
23914         (free): Likewise.
23915         (realloc): Likewise.
23916         * inet/inet6_option.c (inet6_option_space): Likewise.
23917         (inet6_option_init): Likewise.
23918         (inet6_option_append): Likewise.
23919         (inet6_option_alloc): Likewise.
23920         (inet6_option_next): Likewise.
23921         (inet6_option_find): Likewise.
23922         * io/ftw.c (FTW_NAME): Likewise.
23923         (NFTW_NAME): Likewise.
23924         (NFTW_NEW_NAME): Likewise.
23925         (NFTW_OLD_NAME): Likewise.
23926         * libio/iofwide.c (_IO_fwide): Likewise.
23927         * libio/strops.c (_IO_str_init_static_internal): Likewise.
23928         (_IO_str_init_static): Likewise.
23929         (_IO_str_init_readonly): Likewise.
23930         (_IO_str_overflow): Likewise.
23931         (_IO_str_underflow): Likewise.
23932         (_IO_str_count): Likewise.
23933         (_IO_str_seekoff): Likewise.
23934         (_IO_str_pbackfail): Likewise.
23935         (_IO_str_finish): Likewise.
23936         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
23937         (_IO_wstr_overflow): Likewise.
23938         (_IO_wstr_underflow): Likewise.
23939         (_IO_wstr_count): Likewise.
23940         (_IO_wstr_seekoff): Likewise.
23941         (_IO_wstr_pbackfail): Likewise.
23942         (_IO_wstr_finish): Likewise.
23943         * locale/programs/localedef.c (normalize_codeset): Likewise.
23944         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23945         (add_locales_to_archive): Likewise.
23946         (delete_locales_from_archive): Likewise.
23947         * malloc/malloc.c (__libc_mallinfo): Likewise.
23948         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
23949         * misc/tsearch.c (__tfind): Likewise.
23950         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
23951         * nptl/pthread_attr_getdetachstate.c
23952         (__pthread_attr_getdetachstate): Likewise.
23953         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23954         Likewise.
23955         * nptl/pthread_attr_getinheritsched.c
23956         (__pthread_attr_getinheritsched): Likewise.
23957         * nptl/pthread_attr_getschedparam.c
23958         (__pthread_attr_getschedparam): Likewise.
23959         * nptl/pthread_attr_getschedpolicy.c
23960         (__pthread_attr_getschedpolicy): Likewise.
23961         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
23962         Likewise.
23963         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
23964         Likewise.
23965         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23966         Likewise.
23967         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23968         Likewise.
23969         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
23970         (__pthread_attr_init_2_0): Likewise.
23971         * nptl/pthread_attr_setdetachstate.c
23972         (__pthread_attr_setdetachstate): Likewise.
23973         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23974         Likewise.
23975         * nptl/pthread_attr_setinheritsched.c
23976         (__pthread_attr_setinheritsched): Likewise.
23977         * nptl/pthread_attr_setschedparam.c
23978         (__pthread_attr_setschedparam): Likewise.
23979         * nptl/pthread_attr_setschedpolicy.c
23980         (__pthread_attr_setschedpolicy): Likewise.
23981         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
23982         Likewise.
23983         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
23984         Likewise.
23985         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23986         Likewise.
23987         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23988         Likewise.
23989         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
23990         Likewise.
23991         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
23992         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23993         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
23994         use internal_function.
23995         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
23996         prototype-style function definition.
23997         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23998         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
23999         internal_function.
24000         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24001         Convert to prototype-style function definition.
24002         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24003         Likewise.
24004         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24005         Likewise.
24006         (__pthread_mutex_unlock): Likewise.
24007         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24008         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24009         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24010         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24011         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24012         * nss/makedb.c (process_input): Likewise.
24013         * posix/fnmatch.c (__strchrnul): Likewise.
24014         (__wcschrnul): Likewise.
24015         (fnmatch): Likewise.
24016         * posix/fnmatch_loop.c (FCT): Likewise.
24017         * posix/glob.c (globfree): Likewise.
24018         (__glob_pattern_type): Likewise.
24019         (__glob_pattern_p): Likewise.
24020         * posix/regcomp.c (re_compile_pattern): Likewise.
24021         (re_set_syntax): Likewise.
24022         (re_compile_fastmap): Likewise.
24023         (regcomp): Likewise.
24024         (regerror): Likewise.
24025         (regfree): Likewise.
24026         * posix/regexec.c (regexec): Likewise.
24027         (re_match): Likewise.
24028         (re_search): Likewise.
24029         (re_match_2): Likewise.
24030         (re_search_2): Likewise.
24031         (re_search_stub): Likewise.  Use internal_function
24032         (re_copy_regs): Likewise.
24033         (re_set_registers): Convert to prototype-style function
24034         definition.
24035         (prune_impossible_nodes): Likewise.  Use internal_function.
24036         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24037         prototype-style function definition.
24038         (inet_net_pton_ipv4): Likewise.
24039         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24040         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24041         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24042         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24043         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24044         Make variadic.
24045         * time/strptime_l.c (localtime_r): Convert to prototype-style
24046         function definition.
24047         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24048         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24049         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24050         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24052         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24053         definition.
24054         (_ufc_doit_r): Likewise.
24055         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24056         (_ufc_output_conversion_r): Likewise.
24057         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24058         * inet/rcmd.c (rcmd_af): Likewise.
24059         (rcmd): Likewise.
24060         (ruserok_af): Likewise.
24061         (ruserok): Likewise.
24062         (ruserok2_sa): Likewise.
24063         (ruserok_sa): Likewise.
24064         (iruserok_af): Likewise.
24065         (iruserok): Likewise.
24066         (__ivaliduser): Likewise.
24067         (__validuser2_sa): Likewise.
24068         * inet/rexec.c (rexec_af): Likewise.
24069         (rexec): Likewise.
24070         * inet/ruserpass.c (ruserpass): Likewise.
24071         * locale/programs/xmalloc.c (xcalloc): Likewise.
24072         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24073         * math/w_drem.c (__drem): Likewise.
24074         * math/w_dremf.c (__dremf): Likewise.
24075         * math/w_dreml.c (__dreml): Likewise.
24076         * misc/daemon.c (daemon): Likewise.
24077         * resolv/res_debug.c (p_fqnname): Likewise.
24078         * stdlib/div.c (div): Likewise.
24079         * string/memcmp.c (memcmp_bytes): Likewise.
24080         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24081         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24083         * crypt/cert.c (main): Convert to prototype-style function
24084         definition.
24085         * io/pipe.c (__pipe): Likewise.
24086         * io/pipe2.c (__pipe2): Likewise.
24087         * misc/futimesat.c (futimesat): Likewise.
24088         * misc/utimes.c (__utimes): Likewise.
24089         * posix/execve.c (__execve): Likewise.
24090         * posix/execvp.c (execvp): Likewise.
24091         * posix/execvpe.c (__execvpe): Likewise.
24092         * posix/fexecve.c (fexecve): Likewise.
24093         * socket/socketpair.c (socketpair): Likewise.
24094         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24095         * stdlib/erand48.c (erand48): Likewise.
24096         * stdlib/erand48_r.c (__erand48_r): Likewise.
24097         * stdlib/jrand48.c (jrand48): Likewise.
24098         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24099         * stdlib/lcong48.c (lcong48): Likewise.
24100         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24101         * stdlib/nrand48.c (nrand48): Likewise.
24102         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24103         * stdlib/seed48.c (seed48): Likewise.
24104         * stdlib/seed48_r.c (__seed48_r): Likewise.
24105         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24106         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24107         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24109 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24111         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24112         * configure: Regenerated.
24113         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24114         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24115         unconditional.
24116         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24117         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24118         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24119         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24120         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24121         unconditional.
24122         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24124         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24125         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24127         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24128         function definition.
24129         * crypt/crypt_util.c (__encrypt_r): Likewise.
24130         * libio/genops.c (_IO_no_init): Likewise.
24131         * libio/iofopncook.c (_IO_fopencookie): Likewise.
24132         (_IO_old_fopencookie): Likewise.
24133         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24134         * libio/iogetline.c (_IO_getline): Likewise.
24135         (_IO_getline_info): Likewise.
24136         * libio/iogetwline.c (_IO_getwline): Likewise.
24137         (_IO_getwline_info): Likewise.
24138         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24139         * libio/vswprintf.c (_IO_vswprintf): Likewise.
24140         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24141         (find_entry): Likewise.
24142         (iterate_table): Likewise.
24143         (lookup): Likewise.
24144         * login/forkpty.c (forkpty): Likewise.
24145         * misc/hsearch_r.c (__hsearch_r): Likewise.
24146         * misc/select.c (__select): Likewise.
24147         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24148         Likewise.
24149         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24150         Likewise.
24151         * nptl/old_pthread_cond_timedwait.c
24152         (__pthread_cond_timedwait_2_0): Likewise.
24153         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24154         * nptl/pthread_barrierattr_getpshared.c
24155         (pthread_barrierattr_getpshared): Likewise.
24156         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24157         Likewise.
24158         * nptl/pthread_mutex_setprioceiling.c
24159         (pthread_mutex_setprioceiling): Likewise.
24160         * nptl/pthread_mutexattr_getprioceiling.c
24161         (pthread_mutexattr_getprioceiling): Likewise.
24162         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24163         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24164         Likewise.
24165         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24166         Likewise.
24167         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24168         Likewise.
24169         * socket/recvfrom.c (__recvfrom): Likewise.
24170         * socket/sendto.c (__sendto): Likewise.
24171         * socket/setsockopt.c (__setsockopt): Likewise.
24172         * stdio-common/_itoa.c (_itoa): Likewise.
24173         * stdio-common/_itowa.c (_itowa): Likewise.
24174         * stdio-common/reg-printf.c (__register_printf_specifier):
24175         Likewise.
24176         (__register_printf_function): Likewise.
24177         * stdio-common/tempname.c (__path_search): Likewise.
24178         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24179         * stdlib/mul_1.c (mpn_mul_1): Likewise.
24180         * stdlib/random_r.c (__initstate_r): Likewise.
24181         * stdlib/setenv.c (__add_to_environ): Likewise.
24182         * stdlib/submul_1.c (mpn_submul_1): Likewise.
24183         * streams/getpmsg.c (getpmsg): Likewise.
24184         * streams/putmsg.c (putmsg): Likewise.
24185         * streams/putpmsg.c (putpmsg): Likewise.
24186         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24187         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24188         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24189         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24190         * sunrpc/pm_getport.c (pmap_getport): Likewise.
24191         * sunrpc/svc_udp.c (cache_get): Likewise.
24192         * sunrpc/xdr_array.c (xdr_vector): Likewise.
24193         * sysdeps/mach/hurd/getcwd.c
24194         (__canonicalize_directory_name_internal): Likewise.
24195         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24196         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24197         * sysdeps/mach/hurd/select.c (__select): Likewise.
24198         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24199         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24200         * sysdeps/sparc/nptl/pthread_barrier_init.c
24201         (__pthread_barrier_init): Likewise.
24202         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24203         (__pthread_cond_timedwait): Likewise.
24204         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24205         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24206         Likewise.
24207         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24208         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24209         Likewise.
24210         * sysvipc/semtimedop.c (semtimedop): Likewise.
24211         * time/setitimer.c (__setitimer): Likewise.
24212         * time/strftime_l.c (emacs_strftime): Likewise.
24214 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24216         * config.make.in (have-ssp): Delete.
24217         (stack-protector): New variable.
24218         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
24219         cache test for -fstack-protector-strong.  Export stack_protector to
24220         the best ssp flag.
24221         * configure: Regenerated.
24222         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24223         * nscd/Makefile (CFLAGS-nscd): Likewise.
24224         * resolv/Makefile (CFLAGS-libresolv): Likewise.
24226 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
24228         [BZ #19122]
24229         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
24230         attribute_hidden.
24232 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24234         [BZ #18743]
24235         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
24236         code to...
24237         (ELIDE_LOCK): ...here.
24238         (__get_new_count): New function with part of the code from
24239         __elide_lock that updates the value of adapt_count after a
24240         transaction abort.
24241         (__elided_trylock): Moved this code to...
24242         (ELIDE_TRYLOCK): ...here.
24244 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24246         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
24247         * configure: Regenerate.
24248         * INSTALL: Regenerate.
24249         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
24250         and tweak grammar.
24252 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
24254         * login/programs/pt_chown.c: Include signal.h
24255         (main): Clear any signal mask from the parent process.
24257 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24259         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
24260         * configure: Regenerated.
24261         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
24262         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
24263         $(gnu89-inline-CFLAGS).
24265         * configure.ac (libc_cv_asm_weak_directive): Remove configure
24266         test.
24267         (libc_cv_asm_weakext_directive): Likewise.
24268         * configure: Regenerated.
24269         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
24270         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
24271         * include/libc-symbols.h
24272         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
24273         #error.
24274         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
24275         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
24277         * sysdeps/arm/backtrace.c (__backtrace): Convert to
24278         prototype-style function definition.
24279         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24280         * sysdeps/i386/ffs.c (__ffs): Likewise.
24281         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24282         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
24283         Likewise.
24284         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24285         Likewise.
24286         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24287         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24288         Likewise.
24289         * sysdeps/m68k/ffs.c (__ffs): Likewise.
24290         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
24291         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
24292         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
24293         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
24294         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
24295         * sysdeps/mach/hurd/access.c (__access): Likewise.
24296         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
24297         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
24298         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
24299         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
24300         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
24301         (cthread_getspecific): Likewise.
24302         (cthread_setspecific): Likewise.
24303         (__libc_getspecific): Likewise.
24304         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
24305         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
24306         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
24307         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
24308         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
24309         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
24310         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
24311         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
24312         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
24313         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
24314         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
24315         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
24316         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
24317         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
24318         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
24319         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
24320         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
24321         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
24322         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
24323         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
24324         * sysdeps/mach/hurd/link.c (__link): Likewise.
24325         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
24326         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
24327         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
24328         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
24329         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24330         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
24331         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
24332         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
24333         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24334         * sysdeps/mach/hurd/rename.c (rename): Likewise.
24335         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
24336         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24337         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
24338         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
24339         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
24340         * sysdeps/mach/hurd/send.c (__send): Likewise.
24341         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
24342         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
24343         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
24344         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
24345         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
24346         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
24347         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
24348         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
24349         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
24350         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
24351         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
24352         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
24353         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
24354         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
24355         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
24356         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24357         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
24358         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24359         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
24360         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24361         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
24362         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
24363         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
24364         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
24365         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
24366         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
24367         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
24368         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
24369         * sysdeps/posix/alarm.c (alarm): Likewise.
24370         * sysdeps/posix/cuserid.c (cuserid): Likewise.
24371         * sysdeps/posix/dirfd.c (dirfd): Likewise.
24372         * sysdeps/posix/dup.c (__dup): Likewise.
24373         * sysdeps/posix/dup2.c (__dup2): Likewise.
24374         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
24375         (main): Likewise.
24376         * sysdeps/posix/flock.c (__flock): Likewise.
24377         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
24378         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
24379         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
24380         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
24381         * sysdeps/posix/isatty.c (__isatty): Likewise.
24382         * sysdeps/posix/killpg.c (killpg): Likewise.
24383         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24384         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
24385         * sysdeps/posix/raise.c (raise): Likewise.
24386         * sysdeps/posix/remove.c (remove): Likewise.
24387         * sysdeps/posix/rename.c (rename): Likewise.
24388         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
24389         * sysdeps/posix/seekdir.c (seekdir): Likewise.
24390         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24391         * sysdeps/posix/sigignore.c (sigignore): Likewise.
24392         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
24393         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
24394         * sysdeps/posix/sigset.c (sigset): Likewise.
24395         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
24396         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
24397         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
24398         * sysdeps/posix/time.c (time): Likewise.
24399         * sysdeps/posix/ttyname.c (getttyname): Likewise.
24400         (ttyname): Likewise.
24401         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
24402         * sysdeps/posix/utime.c (utime): Likewise.
24403         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
24404         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24405         Likewise.
24406         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
24407         (pthread_spin_trylock): Likewise.
24408         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
24409         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
24410         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
24411         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
24412         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
24413         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
24414         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
24415         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
24416         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
24417         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
24418         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
24419         * sysdeps/s390/ffs.c (__ffs): Likewise.
24420         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
24421         Likewise.
24422         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24423         Likewise.
24424         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
24425         Likewise.
24426         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
24427         (pthread_barrier_destroy): Likewise.
24428         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24429         (__pthread_barrier_wait): Likewise.
24430         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
24431         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24432         (__pthread_barrier_wait): Likewise.
24433         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
24434         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
24435         (memcmp_not_common_alignment): Likewise.
24436         (MEMCMP): Likewise.
24437         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
24438         (_wordcopy_fwd_dest_aligned): Likewise.
24439         (_wordcopy_bwd_aligned): Likewise.
24440         (_wordcopy_bwd_dest_aligned): Likewise.
24441         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
24442         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
24443         * sysdeps/unix/bsd/stty.c (stty): Likewise.
24444         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
24445         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
24446         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
24447         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
24448         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
24449         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
24450         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
24451         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
24452         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
24453         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
24454         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
24455         * sysdeps/unix/stime.c (stime): Likewise.
24456         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
24457         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
24458         Likewise.  Use internal_function.
24459         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
24460         Convert to prototype-style function definition.
24461         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24462         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24463         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
24464         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24465         Likewise.  Use internal_function.
24466         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
24467         prototype-style function definition
24468         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24469         Likewise.
24470         (__getlogin_r): Likewise.
24471         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
24472         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
24473         (__pthread_cond_broadcast): Likewise.
24474         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
24475         (__pthread_cond_destroy): Likewise.
24476         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
24477         (__pthread_cond_init): Likewise.
24478         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
24479         (__pthread_cond_signal): Likewise.
24480         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
24481         (__pthread_cond_wait): Likewise.
24482         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
24483         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24484         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
24485         Likewise.
24486         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
24487         Likewise.
24488         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24489         Likewise.
24490         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
24491         Likewise.
24492         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
24493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
24494         (__ftruncate64): Likewise.
24495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
24496         (truncate64): Likewise.
24497         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
24498         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
24499         (pthread_getcpuclockid): Likewise.
24500         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
24501         Likewise.
24502         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
24503         Likewise.
24504         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
24505         Likewise.
24506         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
24507         Likewise.
24508         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
24509         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
24510         (__libc_sigaction): Likewise.
24511         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
24512         Likewise.
24513         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24514         (__sigprocmask): Likewise.
24515         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
24516         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
24517         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
24518         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24519         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24520         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
24521         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24522         Likewise.
24523         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
24524         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
24525         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24526         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
24527         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
24528         Likewise.
24529         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24530         (__sigprocmask): Likewise.
24531         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
24532         (cfgetispeed): Likewise.
24533         (cfsetospeed): Likewise.
24534         (cfsetispeed): Likewise.
24535         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
24536         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
24537         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24538         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24539         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
24540         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
24541         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
24542         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
24543         Likewise.
24544         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
24545         Likewise.
24546         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
24547         Likewise.
24548         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24549         Likewise.
24550         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24552 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24554         sunrpc: Rewrite with explicit TLS access using __thread.
24555         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
24556         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
24557         directly.
24558         (__rpc_thread_variables): Access thread_rpc_vars directly.
24559         Eliminate redundant assignment of the tvp variable.
24561 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24563         malloc: Rewrite with explicit TLS access using __thread.
24564         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24565         (tsd_setspecific, tsd_getspecific): Remove.
24566         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24567         (tsd_setspecific, tsd_getspecific): Likewise.
24568         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24569         (tsd_setspecific, tsd_getspecific): Likewise.
24570         * malloc/arena.c (thread_arena): New TLS variable.
24571         (arena_key): Remove variable.
24572         (arena_get): Use thread_arena.
24573         (arena_lookup): Remove macro.
24574         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24575         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24576         (_int_new_arena, get_free_list, reused_arena)
24577         (arena_thread_freeres): Use thread_arena.
24578         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24579         tsd_getspecific, tsd_setspecific from safety annotations.
24580         (Allocating Cleared Space): Remove arena_lookup from safety
24581         annotations.
24583 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24585         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24586         struct scratch_buffer instead of extend_alloca.
24588 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24590         * sysdeps/unix/sysv/linux/kernel-features.h
24591         (__ASSUME_SOCK_CLOEXEC): Remove.
24592         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24593         (__have_paccept): Remove unused macro.
24594         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24595         * misc/syslog.c (openlog_internal): Remove fallback code for
24596         !__ASSUME_SOCK_CLOEXEC.
24597         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24598         missing SOCK_CLOEXEC.
24599         * nscd/connections.c (have_sock_cloexec): Remove definition.
24600         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24601         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24602         !__ASSUME_SOCK_CLOEXEC.
24603         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24604         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24605         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24606         definition.
24607         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24608         code for !__ASSUME_SOCK_CLOEXEC.
24610 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24612         [BZ #18982]
24613         * manual/stdio.texi (Variable Arguments Output): Add portability
24614         note, explaining that vfprintf clobbers the va_list pointer.
24616 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24618         * math/libm-test.inc (fabs_test_data): Add more tests.
24619         (fdim_test_data): Likewise.
24620         (fma_test_data): Likewise.
24621         (fmax_test_data): Likewise.
24622         (fmin_test_data): Likewise.
24623         (fmod_test_data): Likewise.
24625 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
24627         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
24628         data.
24630 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24632         * math/libm-test.inc (ceil_test_data): Add more tests and more
24633         expectations for "inexact".
24634         (floor_test_data): Add more tests.
24635         (round_test_data): Likewise.
24636         (trunc_test_data): Likewise.
24638         * crypt/cert.c (good_bye): Convert to prototype-style function
24639         definition.
24640         (get8): Likewise.
24641         (put8): Likewise.
24642         * crypt/crypt-entry.c (crypt): Likewise.
24643         (__fcrypt): Likewise.
24644         * crypt/crypt_util.c (_ufc_prbits): Likewise.
24645         (_ufc_set_bits): Likewise.
24646         (_ufc_clearmem): Likewise.
24647         (__init_des_r): Likewise.
24648         (shuffle_sb): Likewise.
24649         (shuffle_sb): Likewise.
24650         (_ufc_setup_salt_r): Likewise.
24651         (_ufc_mk_keytab_r): Likewise.
24652         (_ufc_dofinalperm_r): Likewise.
24653         (encrypt): Likewise.
24654         (__setkey_r): Likewise.
24655         (setkey): Likewise.
24656         * crypt/md5.c (md5_init_ctx): Likewise.
24657         (md5_read_ctx): Likewise.
24658         (md5_finish_ctx): Likewise.
24659         (md5_stream): Likewise.
24660         (md5_buffer): Likewise.
24661         (md5_process_bytes): Likewise.
24662         * crypt/sha256.c (__sha256_init_ctx): Likewise.
24663         (__sha256_finish_ctx): Likewise.
24664         (__sha256_process_bytes): Likewise.
24665         * crypt/sha512.c (__sha512_init_ctx): Likewise.
24666         (__sha512_finish_ctx): Likewise.
24667         (__sha512_process_bytes): Likewise.
24668         * ctype/isctype.c (__isctype): Likewise.
24669         * debug/backtrace.c (__backtrace): Likewise.
24670         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
24671         * debug/fgets_chk.c (__fgets_chk): Likewise.
24672         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
24673         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
24674         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24675         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24676         * debug/memset_chk.c (__memset_chk): Likewise.
24677         * debug/strcat_chk.c (__strcat_chk): Likewise.
24678         * debug/strncat_chk.c (__strncat_chk): Likewise.
24679         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
24680         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
24681         * dirent/dirfd.c (dirfd): Likewise.
24682         * dirent/getdents.c (__getdirentries): Likewise.
24683         * dirent/getdents64.c (getdirentries64): Likewise.
24684         * dirent/rewinddir.c (__rewinddir): Likewise.
24685         * dirent/seekdir.c (seekdir): Likewise.
24686         * dirent/telldir.c (telldir): Likewise.
24687         * elf/sln.c (makesymlinks): Likewise.
24688         (makesymlink): Likewise.
24689         * gmon/gmon.c (__moncontrol): Likewise.
24690         (__monstartup): Likewise.
24691         (write_hist): Likewise.
24692         (write_call_graph): Likewise.
24693         (write_bb_counts): Likewise.
24694         * grp/setgroups.c (setgroups): Likewise.
24695         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24696         * inet/inet_net.c (inet_network): Likewise.
24697         * inet/inet_netof.c (inet_netof): Likewise.
24698         * inet/rcmd.c (rresvport_af): Likewise.
24699         (rresvport): Likewise.
24700         * io/access.c (__access): Likewise.
24701         * io/chdir.c (__chdir): Likewise.
24702         * io/chmod.c (__chmod): Likewise.
24703         * io/chown.c (__chown): Likewise.
24704         * io/close.c (__close): Likewise.
24705         * io/creat.c (creat): Likewise.
24706         * io/creat64.c (creat64): Likewise.
24707         * io/dup.c (__dup): Likewise.
24708         * io/dup2.c (__dup2): Likewise.
24709         * io/dup3.c (__dup3): Likewise.
24710         * io/euidaccess.c (__euidaccess): Likewise.
24711         * io/faccessat.c (faccessat): Likewise.
24712         * io/fchmod.c (__fchmod): Likewise.
24713         * io/fchmodat.c (fchmodat): Likewise.
24714         * io/fchown.c (__fchown): Likewise.
24715         * io/fchownat.c (fchownat): Likewise.
24716         * io/fcntl.c (__fcntl): Likewise.
24717         * io/flock.c (__flock): Likewise.
24718         * io/fts.c (fts_load): Likewise.
24719         (fts_close): Likewise.
24720         (fts_read): Likewise.
24721         (fts_set): Likewise.
24722         (fts_children): Likewise.
24723         (fts_build): Likewise.
24724         (fts_stat): Likewise.
24725         (fts_sort): Likewise.
24726         (fts_alloc): Likewise.
24727         (fts_lfree): Likewise.
24728         (fts_palloc): Likewise.
24729         (fts_padjust): Likewise.
24730         (fts_maxarglen): Likewise.
24731         (fts_safe_changedir): Likewise.
24732         * io/getwd.c (getwd): Likewise.
24733         * io/isatty.c (__isatty): Likewise.
24734         * io/lchown.c (__lchown): Likewise.
24735         * io/link.c (__link): Likewise.
24736         * io/linkat.c (linkat): Likewise.
24737         * io/lseek.c (__libc_lseek): Likewise.
24738         * io/mkdir.c (__mkdir): Likewise.
24739         * io/mkdirat.c (mkdirat): Likewise.
24740         * io/mkfifo.c (mkfifo): Likewise.
24741         * io/mkfifoat.c (mkfifoat): Likewise.
24742         * io/open.c (__libc_open): Likewise.
24743         * io/open64.c (__libc_open64): Likewise.
24744         * io/readlink.c (__readlink): Likewise.
24745         * io/readlinkat.c (readlinkat): Likewise.
24746         * io/rmdir.c (__rmdir): Likewise.
24747         * io/symlink.c (__symlink): Likewise.
24748         * io/symlinkat.c (symlinkat): Likewise.
24749         * io/ttyname.c (ttyname): Likewise.
24750         * io/ttyname_r.c (__ttyname_r): Likewise.
24751         * io/umask.c (__umask): Likewise.
24752         * io/unlink.c (__unlink): Likewise.
24753         * io/unlinkat.c (unlinkat): Likewise.
24754         * io/utime.c (utime): Likewise.
24755         * libio/clearerr.c (clearerr): Likewise.
24756         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
24757         * libio/feof.c (_IO_feof): Likewise.
24758         * libio/feof_u.c (feof_unlocked): Likewise.
24759         * libio/ferror.c (_IO_ferror): Likewise.
24760         * libio/ferror_u.c (ferror_unlocked): Likewise.
24761         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24762         * libio/fileno.c (__fileno): Likewise.
24763         * libio/fputc.c (fputc): Likewise.
24764         * libio/fputc_u.c (fputc_unlocked): Likewise.
24765         * libio/fputwc.c (fputwc): Likewise.
24766         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
24767         * libio/freopen.c (freopen): Likewise.
24768         * libio/freopen64.c (freopen64): Likewise.
24769         * libio/fseek.c (fseek): Likewise.
24770         * libio/fseeko.c (fseeko): Likewise.
24771         * libio/fseeko64.c (fseeko64): Likewise.
24772         * libio/ftello.c (__ftello): Likewise.
24773         * libio/ftello64.c (ftello64): Likewise.
24774         * libio/fwide.c (fwide): Likewise.
24775         * libio/genops.c (_IO_un_link): Likewise.
24776         (_IO_link_in): Likewise.
24777         (_IO_least_marker): Likewise.
24778         (_IO_switch_to_main_get_area): Likewise.
24779         (_IO_switch_to_backup_area): Likewise.
24780         (_IO_switch_to_get_mode): Likewise.
24781         (_IO_free_backup_area): Likewise.
24782         (_IO_switch_to_put_mode): Likewise.
24783         (__overflow): Likewise.
24784         (__underflow): Likewise.
24785         (__uflow): Likewise.
24786         (_IO_setb): Likewise.
24787         (_IO_doallocbuf): Likewise.
24788         (_IO_default_underflow): Likewise.
24789         (_IO_default_uflow): Likewise.
24790         (_IO_default_xsputn): Likewise.
24791         (_IO_sgetn): Likewise.
24792         (_IO_default_xsgetn): Likewise.
24793         (_IO_sync): Likewise.
24794         (_IO_default_setbuf): Likewise.
24795         (_IO_default_seekpos): Likewise.
24796         (_IO_default_doallocate): Likewise.
24797         (_IO_init): Likewise.
24798         (_IO_old_init): Likewise.
24799         (_IO_default_sync): Likewise.
24800         (_IO_default_finish): Likewise.
24801         (_IO_default_seekoff): Likewise.
24802         (_IO_sputbackc): Likewise.
24803         (_IO_sungetc): Likewise.
24804         (_IO_set_column): Likewise.
24805         (_IO_set_column): Likewise.
24806         (_IO_adjust_column): Likewise.
24807         (_IO_get_column): Likewise.
24808         (_IO_init_marker): Likewise.
24809         (_IO_remove_marker): Likewise.
24810         (_IO_marker_difference): Likewise.
24811         (_IO_marker_delta): Likewise.
24812         (_IO_seekmark): Likewise.
24813         (_IO_unsave_markers): Likewise.
24814         (_IO_nobackup_pbackfail): Likewise.
24815         (_IO_default_pbackfail): Likewise.
24816         (_IO_default_seek): Likewise.
24817         (_IO_default_stat): Likewise.
24818         (_IO_default_read): Likewise.
24819         (_IO_default_write): Likewise.
24820         (_IO_default_showmanyc): Likewise.
24821         (_IO_default_imbue): Likewise.
24822         (_IO_iter_next): Likewise.
24823         (_IO_iter_file): Likewise.
24824         * libio/getc.c (_IO_getc): Likewise.
24825         * libio/getwc.c (_IO_getwc): Likewise.
24826         * libio/iofclose.c (_IO_new_fclose): Likewise.
24827         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24828         * libio/iofflush.c (_IO_fflush): Likewise.
24829         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
24830         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
24831         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
24832         * libio/iofgets.c (_IO_fgets): Likewise.
24833         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
24834         * libio/iofgetws.c (fgetws): Likewise.
24835         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24836         * libio/iofopen64.c (_IO_fopen64): Likewise.
24837         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24838         (_IO_cookie_write): Likewise.
24839         (_IO_cookie_seek): Likewise.
24840         (_IO_cookie_close): Likewise.
24841         (_IO_cookie_seekoff): Likewise.
24842         (_IO_old_cookie_seek): Likewise.
24843         * libio/iofputs.c (_IO_fputs): Likewise.
24844         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
24845         * libio/iofputws.c (fputws): Likewise.
24846         * libio/iofputws_u.c (fputws_unlocked): Likewise.
24847         * libio/iofread.c (_IO_fread): Likewise.
24848         * libio/iofread_u.c (__fread_unlocked): Likewise.
24849         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
24850         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
24851         * libio/ioftell.c (_IO_ftell): Likewise.
24852         * libio/iofwrite.c (_IO_fwrite): Likewise.
24853         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24854         * libio/iogets.c (_IO_gets): Likewise.
24855         * libio/iopadn.c (_IO_padn): Likewise.
24856         * libio/iopopen.c (_IO_new_proc_open): Likewise.
24857         (_IO_new_popen): Likewise.
24858         (_IO_new_proc_close): Likewise.
24859         * libio/ioputs.c (_IO_puts): Likewise.
24860         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
24861         (_IO_seekoff): Likewise.
24862         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
24863         (_IO_seekpos): Likewise.
24864         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
24865         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
24866         * libio/ioungetc.c (_IO_ungetc): Likewise.
24867         * libio/ioungetwc.c (ungetwc): Likewise.
24868         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24869         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
24870         * libio/iowpadn.c (_IO_wpadn): Likewise.
24871         * libio/libc_fatal.c (__libc_fatal): Likewise.
24872         * libio/memstream.c (__open_memstream): Likewise.
24873         (_IO_mem_sync): Likewise.
24874         (_IO_mem_finish): Likewise.
24875         * libio/oldfileops.c (_IO_old_file_init): Likewise.
24876         (_IO_old_file_close_it): Likewise.
24877         (_IO_old_file_finish): Likewise.
24878         (_IO_old_file_fopen): Likewise.
24879         (_IO_old_file_attach): Likewise.
24880         (_IO_old_file_setbuf): Likewise.
24881         (_IO_old_do_write): Likewise.
24882         (old_do_write): Likewise.
24883         (_IO_old_file_underflow): Likewise.
24884         (_IO_old_file_overflow): Likewise.
24885         (_IO_old_file_sync): Likewise.
24886         (_IO_old_file_seekoff): Likewise.
24887         (_IO_old_file_write): Likewise.
24888         (_IO_old_file_xsputn): Likewise.
24889         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
24890         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24891         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
24892         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
24893         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24894         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
24895         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
24896         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
24897         (_IO_old_popen): Likewise.
24898         (_IO_old_proc_close): Likewise.
24899         * libio/oldpclose.c (__old_pclose): Likewise.
24900         * libio/pclose.c (__new_pclose): Likewise.
24901         * libio/peekc.c (_IO_peekc_locked): Likewise.
24902         * libio/putc.c (_IO_putc): Likewise.
24903         * libio/putc_u.c (putc_unlocked): Likewise.
24904         * libio/putchar.c (putchar): Likewise.
24905         * libio/putchar_u.c (putchar_unlocked): Likewise.
24906         * libio/putwc.c (putwc): Likewise.
24907         * libio/putwc_u.c (putwc_unlocked): Likewise.
24908         * libio/putwchar.c (putwchar): Likewise.
24909         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
24910         * libio/rewind.c (rewind): Likewise.
24911         * libio/setbuf.c (setbuf): Likewise.
24912         * libio/setlinebuf.c (setlinebuf): Likewise.
24913         * libio/vasprintf.c (_IO_vasprintf): Likewise.
24914         * libio/vscanf.c (_IO_vscanf): Likewise.
24915         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
24916         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
24917         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24918         * libio/wgenops.c (_IO_least_wmarker): Likewise.
24919         (_IO_switch_to_main_wget_area): Likewise.
24920         (_IO_switch_to_wbackup_area): Likewise.
24921         (_IO_wsetb): Likewise.
24922         (_IO_wdefault_pbackfail): Likewise.
24923         (_IO_wdefault_finish): Likewise.
24924         (_IO_wdefault_uflow): Likewise.
24925         (__woverflow): Likewise.
24926         (__wuflow): Likewise.
24927         (__wunderflow): Likewise.
24928         (_IO_wdefault_xsputn): Likewise.
24929         (_IO_wdefault_xsgetn): Likewise.
24930         (_IO_wdoallocbuf): Likewise.
24931         (_IO_wdefault_doallocate): Likewise.
24932         (_IO_switch_to_wget_mode): Likewise.
24933         (_IO_free_wbackup_area): Likewise.
24934         (_IO_switch_to_wput_mode): Likewise.
24935         (_IO_sputbackwc): Likewise.
24936         (_IO_sungetwc): Likewise.
24937         (_IO_adjust_wcolumn): Likewise.
24938         (_IO_init_wmarker): Likewise.
24939         (_IO_wmarker_delta): Likewise.
24940         (_IO_seekwmark): Likewise.
24941         (_IO_unsave_wmarkers): Likewise.
24942         * libio/wmemstream.c (open_wmemstream): Likewise.
24943         (_IO_wmem_sync): Likewise.
24944         (_IO_wmem_finish): Likewise.
24945         * locale/nl_langinfo.c (nl_langinfo): Likewise.
24946         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
24947         * locale/programs/simple-hash.c (init_hash): Likewise.
24948         (delete_hash): Likewise.
24949         (insert_entry): Likewise.
24950         (set_entry): Likewise.
24951         (next_prime): Likewise.
24952         (is_prime): Likewise.
24953         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
24954         (xmalloc): Likewise.
24955         (xrealloc): Likewise.
24956         * locale/programs/xstrdup.c (xstrdup): Likewise.
24957         * localedata/collate-test.c (xstrcoll): Likewise.
24958         * localedata/xfrm-test.c (xstrcmp): Likewise.
24959         * login/getlogin_r.c (__getlogin_r): Likewise.
24960         * login/getpt.c (__posix_openpt): Likewise.
24961         * login/login_tty.c (login_tty): Likewise.
24962         * login/setlogin.c (setlogin): Likewise.
24963         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
24964         (mach_msg_destroy_port): Likewise.
24965         (mach_msg_destroy_memory): Likewise.
24966         * malloc/mcheck.c (flood): Likewise.
24967         * misc/acct.c (acct): Likewise.
24968         * misc/brk.c (__brk): Likewise.
24969         * misc/chflags.c (chflags): Likewise.
24970         * misc/chroot.c (chroot): Likewise.
24971         * misc/fchflags.c (fchflags): Likewise.
24972         * misc/fstab.c (getfsspec): Likewise.
24973         (getfsfile): Likewise.
24974         * misc/fsync.c (fsync): Likewise.
24975         * misc/ftruncate.c (__ftruncate): Likewise.
24976         * misc/ftruncate64.c (__ftruncate64): Likewise.
24977         * misc/getdomain.c (getdomainname): Likewise.
24978         (getdomainname): Likewise.
24979         * misc/gethostname.c (__gethostname): Likewise.
24980         * misc/getpass.c (getpass): Likewise.
24981         * misc/getttyent.c (skip): Likewise.
24982         (value): Likewise.
24983         * misc/gtty.c (gtty): Likewise.
24984         * misc/hsearch.c (hsearch): Likewise.
24985         (hcreate): Likewise.
24986         * misc/hsearch_r.c (__hcreate_r): Likewise.
24987         (__hdestroy_r): Likewise.
24988         * misc/ioctl.c (__ioctl): Likewise.
24989         * misc/mkdtemp.c (mkdtemp): Likewise.
24990         * misc/mkostemp.c (mkostemp): Likewise.
24991         * misc/mkostemp64.c (mkostemp64): Likewise.
24992         * misc/mkostemps.c (mkostemps): Likewise.
24993         * misc/mkostemps64.c (mkostemps64): Likewise.
24994         * misc/mkstemp.c (mkstemp): Likewise.
24995         * misc/mkstemp64.c (mkstemp64): Likewise.
24996         * misc/mkstemps.c (mkstemps): Likewise.
24997         * misc/mkstemps64.c (mkstemps64): Likewise.
24998         * misc/mktemp.c (__mktemp): Likewise.
24999         * misc/preadv.c (preadv): Likewise.
25000         * misc/preadv64.c (preadv64): Likewise.
25001         * misc/pwritev.c (pwritev): Likewise.
25002         * misc/pwritev64.c (pwritev64): Likewise.
25003         * misc/readv.c (__readv): Likewise.
25004         * misc/revoke.c (revoke): Likewise.
25005         * misc/setdomain.c (setdomainname): Likewise.
25006         * misc/setegid.c (setegid): Likewise.
25007         * misc/seteuid.c (seteuid): Likewise.
25008         * misc/sethostid.c (sethostid): Likewise.
25009         * misc/sethostname.c (sethostname): Likewise.
25010         * misc/setregid.c (__setregid): Likewise.
25011         * misc/setreuid.c (__setreuid): Likewise.
25012         * misc/sstk.c (sstk): Likewise.
25013         * misc/stty.c (stty): Likewise.
25014         * misc/syscall.c (syscall): Likewise.
25015         * misc/syslog.c (setlogmask): Likewise.
25016         * misc/truncate.c (__truncate): Likewise.
25017         * misc/truncate64.c (truncate64): Likewise.
25018         * misc/ualarm.c (ualarm): Likewise.
25019         * misc/usleep.c (usleep): Likewise.
25020         * misc/ustat.c (ustat): Likewise.
25021         * misc/writev.c (__writev): Likewise.
25022         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25023         * nptl/old_pthread_cond_broadcast.c
25024         (__pthread_cond_broadcast_2_0): Likewise.
25025         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25026         Likewise.
25027         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25028         Likewise.
25029         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25030         Likewise.
25031         * nptl/pt-raise.c (raise): Likewise.
25032         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25033         Likewise.
25034         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25035         * nptl/pthread_barrierattr_destroy.c
25036         (pthread_barrierattr_destroy): Likewise.
25037         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25038         Likewise.
25039         * nptl/pthread_barrierattr_setpshared.c
25040         (pthread_barrierattr_setpshared): Likewise.
25041         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25042         Likewise.
25043         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25044         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25045         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25046         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25047         Likewise.
25048         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25049         Likewise.
25050         * nptl/pthread_condattr_getpshared.c
25051         (pthread_condattr_getpshared): Likewise.
25052         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25053         Likewise.
25054         * nptl/pthread_condattr_setpshared.c
25055         (pthread_condattr_setpshared): Likewise.
25056         * nptl/pthread_detach.c (pthread_detach): Likewise.
25057         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25058         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25059         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25060         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25061         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25062         Likewise.
25063         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25064         Likewise.
25065         * nptl/pthread_mutex_getprioceiling.c
25066         (pthread_mutex_getprioceiling): Likewise.
25067         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25068         Likewise.
25069         * nptl/pthread_mutexattr_getprotocol.c
25070         (pthread_mutexattr_getprotocol): Likewise.
25071         * nptl/pthread_mutexattr_getpshared.c
25072         (pthread_mutexattr_getpshared): Likewise.
25073         * nptl/pthread_mutexattr_getrobust.c
25074         (pthread_mutexattr_getrobust): Likewise.
25075         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25076         Likewise.
25077         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25078         Likewise.
25079         * nptl/pthread_mutexattr_setprioceiling.c
25080         (pthread_mutexattr_setprioceiling): Likewise.
25081         * nptl/pthread_mutexattr_setprotocol.c
25082         (pthread_mutexattr_setprotocol): Likewise.
25083         * nptl/pthread_mutexattr_setpshared.c
25084         (pthread_mutexattr_setpshared): Likewise.
25085         * nptl/pthread_mutexattr_setrobust.c
25086         (pthread_mutexattr_setrobust): Likewise.
25087         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25088         Likewise.
25089         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25090         Likewise.
25091         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25092         Likewise.
25093         * nptl/pthread_rwlockattr_getkind_np.c
25094         (pthread_rwlockattr_getkind_np): Likewise.
25095         * nptl/pthread_rwlockattr_getpshared.c
25096         (pthread_rwlockattr_getpshared): Likewise.
25097         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25098         Likewise.
25099         * nptl/pthread_rwlockattr_setkind_np.c
25100         (pthread_rwlockattr_setkind_np): Likewise.
25101         * nptl/pthread_rwlockattr_setpshared.c
25102         (pthread_rwlockattr_setpshared): Likewise.
25103         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25104         Likewise.
25105         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25106         Likewise.
25107         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25108         Likewise.
25109         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25110         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25111         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25112         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25113         * nptl/sem_close.c (sem_close): Likewise.
25114         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25115         * nptl/sem_init.c (__old_sem_init): Likewise.
25116         * nptl/sigaction.c (__sigaction): Likewise.
25117         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25118         * posix/_exit.c (_exit): Likewise.
25119         * posix/alarm.c (alarm): Likewise.
25120         * posix/confstr.c (confstr): Likewise.
25121         * posix/fpathconf.c (__fpathconf): Likewise.
25122         * posix/getgroups.c (__getgroups): Likewise.
25123         * posix/getpgid.c (__getpgid): Likewise.
25124         * posix/group_member.c (__group_member): Likewise.
25125         * posix/pathconf.c (__pathconf): Likewise.
25126         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25127         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25128         * posix/setgid.c (__setgid): Likewise.
25129         * posix/setpgid.c (__setpgid): Likewise.
25130         * posix/setuid.c (__setuid): Likewise.
25131         * posix/sleep.c (__sleep): Likewise.
25132         * posix/sysconf.c (__sysconf): Likewise.
25133         * posix/times.c (__times): Likewise.
25134         * posix/uname.c (__uname): Likewise.
25135         * posix/waitid.c (__waitid): Likewise.
25136         * pwd/getpw.c (__getpw): Likewise.
25137         * resolv/base64.c (b64_pton): Likewise.
25138         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25139         * resolv/gethnamaddr.c (Dprintf): Likewise.
25140         (gethostbyname): Likewise.
25141         (gethostbyname2): Likewise.
25142         (gethostbyaddr): Likewise.
25143         (_sethtent): Likewise.
25144         (_gethtbyname): Likewise.
25145         (_gethtbyname2): Likewise.
25146         (_gethtbyaddr): Likewise.
25147         (map_v4v6_address): Likewise.
25148         (map_v4v6_hostent): Likewise.
25149         (addrsort): Likewise.
25150         (ht_sethostent): Likewise.
25151         (ht_gethostbyname): Likewise.
25152         (ht_gethostbyaddr): Likewise.
25153         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25154         (inet_net_ntop_ipv4): Likewise.
25155         * resolv/inet_neta.c (inet_neta): Likewise.
25156         * resolv/inet_ntop.c (inet_ntop): Likewise.
25157         (inet_ntop4): Likewise.
25158         (inet_ntop6): Likewise.
25159         * resolv/inet_pton.c (__inet_pton): Likewise.
25160         (inet_pton4): Likewise.
25161         (inet_pton6): Likewise.
25162         * resolv/res_debug.c (loc_aton): Likewise.
25163         (loc_ntoa): Likewise.
25164         * resource/getpriority.c (__getpriority): Likewise.
25165         * resource/getrusage.c (__getrusage): Likewise.
25166         * resource/nice.c (nice): Likewise.
25167         * resource/setpriority.c (__setpriority): Likewise.
25168         * resource/setrlimit64.c (setrlimit64): Likewise.
25169         * resource/vlimit.c (vlimit): Likewise.
25170         * resource/vtimes.c (vtimes): Likewise.
25171         * rt/aio_error.c (aio_error): Likewise.
25172         * rt/aio_return.c (aio_return): Likewise.
25173         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25174         * signal/kill.c (__kill): Likewise.
25175         * signal/killpg.c (killpg): Likewise.
25176         * signal/raise.c (raise): Likewise.
25177         * signal/sigaction.c (__sigaction): Likewise.
25178         * signal/sigaddset.c (sigaddset): Likewise.
25179         * signal/sigaltstack.c (sigaltstack): Likewise.
25180         * signal/sigandset.c (sigandset): Likewise.
25181         * signal/sigblock.c (__sigblock): Likewise.
25182         * signal/sigdelset.c (sigdelset): Likewise.
25183         * signal/sigempty.c (sigemptyset): Likewise.
25184         * signal/sigfillset.c (sigfillset): Likewise.
25185         * signal/sighold.c (sighold): Likewise.
25186         * signal/sigignore.c (sigignore): Likewise.
25187         * signal/sigintr.c (siginterrupt): Likewise.
25188         * signal/sigisempty.c (sigisemptyset): Likewise.
25189         * signal/sigismem.c (sigismember): Likewise.
25190         * signal/signal.c (signal): Likewise.
25191         * signal/sigorset.c (sigorset): Likewise.
25192         * signal/sigpause.c (__sigpause): Likewise.
25193         * signal/sigpending.c (sigpending): Likewise.
25194         * signal/sigprocmask.c (__sigprocmask): Likewise.
25195         * signal/sigrelse.c (sigrelse): Likewise.
25196         * signal/sigreturn.c (__sigreturn): Likewise.
25197         * signal/sigset.c (sigset): Likewise.
25198         * signal/sigsetmask.c (__sigsetmask): Likewise.
25199         * signal/sigstack.c (sigstack): Likewise.
25200         * signal/sigsuspend.c (__sigsuspend): Likewise.
25201         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25202         * signal/sysv_signal.c (__sysv_signal): Likewise.
25203         * socket/accept.c (accept): Likewise.
25204         * socket/accept4.c (__libc_accept4): Likewise.
25205         * socket/bind.c (__bind): Likewise.
25206         * socket/connect.c (__connect): Likewise.
25207         * socket/getpeername.c (getpeername): Likewise.
25208         * socket/getsockname.c (__getsockname): Likewise.
25209         * socket/getsockopt.c (getsockopt): Likewise.
25210         * socket/listen.c (__listen): Likewise.
25211         * socket/recv.c (__recv): Likewise.
25212         * socket/recvmsg.c (__recvmsg): Likewise.
25213         * socket/send.c (__send): Likewise.
25214         * socket/sendmsg.c (__sendmsg): Likewise.
25215         * socket/shutdown.c (shutdown): Likewise.
25216         * socket/sockatmark.c (sockatmark): Likewise.
25217         * socket/socket.c (__socket): Likewise.
25218         * stdio-common/ctermid.c (ctermid): Likewise.
25219         * stdio-common/cuserid.c (cuserid): Likewise.
25220         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25221         * stdio-common/remove.c (remove): Likewise.
25222         * stdio-common/rename.c (rename): Likewise.
25223         * stdio-common/renameat.c (renameat): Likewise.
25224         * stdio-common/tempname.c (__gen_tempname): Likewise.
25225         * stdio-common/xbug.c (InitBuffer): Likewise.
25226         (AppendToBuffer): Likewise.
25227         (ReadFile): Likewise.
25228         * stdlib/a64l.c (a64l): Likewise.
25229         * stdlib/drand48_r.c (drand48_r): Likewise.
25230         * stdlib/getcontext.c (getcontext): Likewise.
25231         * stdlib/getenv.c (getenv): Likewise.
25232         * stdlib/l64a.c (l64a): Likewise.
25233         * stdlib/llabs.c (llabs): Likewise.
25234         * stdlib/lldiv.c (lldiv): Likewise.
25235         * stdlib/lrand48_r.c (lrand48_r): Likewise.
25236         * stdlib/mrand48_r.c (mrand48_r): Likewise.
25237         * stdlib/putenv.c (putenv): Likewise.
25238         * stdlib/random.c (__srandom): Likewise.
25239         (__initstate): Likewise.
25240         (__setstate): Likewise.
25241         * stdlib/random_r.c (__srandom_r): Likewise.
25242         (__setstate_r): Likewise.
25243         (__random_r): Likewise.
25244         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
25245         * stdlib/setcontext.c (setcontext): Likewise.
25246         * stdlib/setenv.c (setenv): Likewise.
25247         (unsetenv): Likewise.
25248         * stdlib/srand48.c (srand48): Likewise.
25249         * stdlib/srand48_r.c (__srand48_r): Likewise.
25250         * stdlib/swapcontext.c (swapcontext): Likewise.
25251         * stdlib/system.c (__libc_system): Likewise.
25252         * stdlib/tst-strtod.c (expand): Likewise.
25253         * stdlib/tst-strtol.c (expand): Likewise.
25254         * stdlib/tst-strtoll.c (expand): Likewise.
25255         * streams/fattach.c (fattach): Likewise.
25256         * streams/fdetach.c (fdetach): Likewise.
25257         * streams/getmsg.c (getmsg): Likewise.
25258         * streams/isastream.c (isastream): Likewise.
25259         * string/ffs.c (__ffs): Likewise.
25260         * string/ffsll.c (ffsll): Likewise.
25261         * string/memcmp.c (memcmp_common_alignment): Likewise.
25262         (memcmp_not_common_alignment): Likewise.
25263         (MEMCMP): Likewise.
25264         * string/memcpy.c (memcpy): Likewise.
25265         * string/memmove.c (MEMMOVE): Likewise.
25266         * string/memset.c (memset): Likewise.
25267         * string/rawmemchr.c (RAWMEMCHR): Likewise.
25268         * string/strchrnul.c (STRCHRNUL): Likewise.
25269         * string/strerror.c (strerror): Likewise.
25270         * string/strndup.c (__strndup): Likewise.
25271         * string/strverscmp.c (__strverscmp): Likewise.
25272         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
25273         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
25274         (clnttcp_freeres): Likewise.
25275         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
25276         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
25277         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
25278         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
25279         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
25280         (xdr_callhdr): Likewise.
25281         * sunrpc/rpcinfo.c (udpping): Likewise.
25282         (tcpping): Likewise.
25283         (pstatus): Likewise.
25284         (pmapdump): Likewise.
25285         (brdcst): Likewise.
25286         (deletereg): Likewise.
25287         (getprognum): Likewise.
25288         (getvers): Likewise.
25289         (get_inet_address): Likewise.
25290         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
25291         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25292         (svcudp_stat): Likewise.
25293         (svcudp_recv): Likewise.
25294         (svcudp_reply): Likewise.
25295         (svcudp_getargs): Likewise.
25296         (svcudp_freeargs): Likewise.
25297         (svcudp_destroy): Likewise.
25298         * sunrpc/xdr.c (xdr_bytes): Likewise.
25299         (xdr_netobj): Likewise.
25300         (xdr_string): Likewise.
25301         (xdr_wrapstring): Likewise.
25302         * sunrpc/xdr_float.c (xdr_float): Likewise.
25303         (xdr_double): Likewise.
25304         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
25305         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
25306         * sysvipc/ftok.c (ftok): Likewise.
25307         * sysvipc/msgctl.c (msgctl): Likewise.
25308         * sysvipc/msgget.c (msgget): Likewise.
25309         * sysvipc/msgrcv.c (msgrcv): Likewise.
25310         * sysvipc/msgsnd.c (msgsnd): Likewise.
25311         * sysvipc/semget.c (semget): Likewise.
25312         * sysvipc/semop.c (semop): Likewise.
25313         * sysvipc/shmat.c (shmat): Likewise.
25314         * sysvipc/shmctl.c (shmctl): Likewise.
25315         * sysvipc/shmdt.c (shmdt): Likewise.
25316         * sysvipc/shmget.c (shmget): Likewise.
25317         * termios/cfmakeraw.c (cfmakeraw): Likewise.
25318         * termios/speed.c (cfgetospeed): Likewise.
25319         (cfgetispeed): Likewise.
25320         (cfsetospeed): Likewise.
25321         (cfsetispeed): Likewise.
25322         * termios/tcflow.c (tcflow): Likewise.
25323         * termios/tcflush.c (tcflush): Likewise.
25324         * termios/tcgetattr.c (__tcgetattr): Likewise.
25325         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
25326         * termios/tcgetsid.c (tcgetsid): Likewise.
25327         * termios/tcsendbrk.c (tcsendbreak): Likewise.
25328         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
25329         * time/adjtime.c (__adjtime): Likewise.
25330         * time/dysize.c (dysize): Likewise.
25331         * time/ftime.c (ftime): Likewise.
25332         * time/getitimer.c (__getitimer): Likewise.
25333         * time/gettimeofday.c (__gettimeofday): Likewise.
25334         * time/gmtime.c (__gmtime_r): Likewise.
25335         (gmtime): Likewise.
25336         * time/localtime.c (__localtime_r): Likewise.
25337         (localtime): Likewise.
25338         * time/offtime.c (__offtime): Likewise.
25339         * time/settimeofday.c (__settimeofday): Likewise.
25340         * time/stime.c (stime): Likewise.
25341         * time/strftime_l.c (tm_diff): Likewise.
25342         (iso_week_days): Likewise.
25343         * time/strptime.c (strptime): Likewise.
25344         * time/time.c (time): Likewise.
25345         * time/timespec_get.c (timespec_get): Likewise.
25346         * time/tzset.c (tzset_internal): Likewise.
25347         (compute_change): Likewise.
25348         (__tz_compute): Likewise.
25349         * wcsmbs/btowc.c (__btowc): Likewise.
25350         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
25351         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
25352         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
25353         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
25354         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
25355         * wcsmbs/wcscat.c (__wcscat): Likewise.
25356         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25357         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
25358         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
25359         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25360         * wcsmbs/wcsdup.c (wcsdup): Likewise.
25361         * wcsmbs/wcslen.c (__wcslen): Likewise.
25362         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
25363         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
25364         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
25365         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
25366         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25367         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
25368         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25369         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25370         * wcsmbs/wcstok.c (wcstok): Likewise.
25371         * wcsmbs/wctob.c (wctob): Likewise.
25372         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
25373         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25374         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
25375         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
25376         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
25377         * wcsmbs/wmemset.c (__wmemset): Likewise.
25378         * wctype/wcfuncs.c (__towlower): Likewise.
25379         (__towupper): Likewise.
25381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
25382         (lll_unlock_elision): Add adapt_count parameter.
25384 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25386         * sysdeps/nptl/configure.ac: Do not give errors based on the
25387         results of top-level configure tests.
25388         * sysdeps/nptl/configure: Regenerated.
25390         * configure.ac (libc_cv_Bgroup): Remove configure test.
25391         * configure: Regenerated.
25392         * config.make.in (have-Bgroup): Remove variable.
25394         * configure.ac (sizeof_long_double): Remove configure test.
25395         * configure: Regenerated.
25396         * config.make.in (sizeof-long-double): Remove variable.
25398         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
25399         * configure: Regenerated.
25400         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
25401         variable.
25402         (exceptions): Likewise.
25403         * sysdeps/arm/configure: Regenerated.
25404         * config.make.in (exceptions): Remove variable.
25405         * Makeconfig (uses-callbacks): Use -fexceptions instead of
25406         $(exceptions).
25407         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
25408         (CFLAGS-vdprintf_chk.c): Likewise.
25409         (CFLAGS-printf_chk.c): Likewise.
25410         (CFLAGS-fprintf_chk.c): Likewise.
25411         (CFLAGS-vprintf_chk.c): Likewise.
25412         (CFLAGS-vfprintf_chk.c): Likewise.
25413         (CFLAGS-gets_chk.c): Likewise.
25414         (CFLAGS-fgets_chk.c): Likewise.
25415         (CFLAGS-fgets_u_chk.c): Likewise.
25416         (CFLAGS-fread_chk.c): Likewise.
25417         (CFLAGS-fread_u_chk.c): Likewise.
25418         (CFLAGS-wprintf_chk.c): Likewise.
25419         (CFLAGS-fwprintf_chk.c): Likewise.
25420         (CFLAGS-vwprintf_chk.c): Likewise.
25421         (CFLAGS-vfwprintf_chk.c): Likewise.
25422         (CFLAGS-fgetws_chk.c): Likewise.
25423         (CFLAGS-fgetws_u_chk.c): Likewise.
25424         * libio/Makefile (CFLAGS-fileops.c): Likewise.
25425         (CFLAGS-fputc.c): Likewise.
25426         (CFLAGS-fputwc.c): Likewise.
25427         (CFLAGS-freopen64.c): Likewise.
25428         (CFLAGS-freopen.c): Likewise.
25429         (CFLAGS-fseek.c): Likewise.
25430         (CFLAGS-fseeko64.c): Likewise.
25431         (CFLAGS-fseeko.c): Likewise.
25432         (CFLAGS-ftello64.c): Likewise.
25433         (CFLAGS-ftello.c): Likewise.
25434         (CFLAGS-fwide.c): Likewise.
25435         (CFLAGS-genops.c): Likewise.
25436         (CFLAGS-getc.c): Likewise.
25437         (CFLAGS-getchar.c): Likewise.
25438         (CFLAGS-getwc.c): Likewise.
25439         (CFLAGS-getwchar.c): Likewise.
25440         (CFLAGS-iofclose.c): Likewise.
25441         (CFLAGS-iofflush.c): Likewise.
25442         (CFLAGS-iofgetpos64.c): Likewise.
25443         (CFLAGS-iofgetpos.c): Likewise.
25444         (CFLAGS-iofgets.c): Likewise.
25445         (CFLAGS-iofgetws.c): Likewise.
25446         (CFLAGS-iofputs.c): Likewise.
25447         (CFLAGS-iofputws.c): Likewise.
25448         (CFLAGS-iofread.c): Likewise.
25449         (CFLAGS-iofsetpos64.c): Likewise.
25450         (CFLAGS-iofsetpos.c): Likewise.
25451         (CFLAGS-ioftell.c): Likewise.
25452         (CFLAGS-iofwrite.c): Likewise.
25453         (CFLAGS-iogetdelim.c): Likewise.
25454         (CFLAGS-iogetline.c): Likewise.
25455         (CFLAGS-iogets.c): Likewise.
25456         (CFLAGS-iogetwline.c): Likewise.
25457         (CFLAGS-ioputs.c): Likewise.
25458         (CFLAGS-ioseekoff.c): Likewise.
25459         (CFLAGS-ioseekpos.c): Likewise.
25460         (CFLAGS-iosetbuffer.c): Likewise.
25461         (CFLAGS-iosetvbuf.c): Likewise.
25462         (CFLAGS-ioungetc.c): Likewise.
25463         (CFLAGS-ioungetwc.c): Likewise.
25464         (CFLAGS-oldfileops.c): Likewise.
25465         (CFLAGS-oldiofclose.c): Likewise.
25466         (CFLAGS-oldiofgetpos64.c): Likewise.
25467         (CFLAGS-oldiofgetpos.c): Likewise.
25468         (CFLAGS-oldiofsetpos64.c): Likewise.
25469         (CFLAGS-oldiofsetpos.c): Likewise.
25470         (CFLAGS-peekc.c): Likewise.
25471         (CFLAGS-putc.c): Likewise.
25472         (CFLAGS-putchar.c): Likewise.
25473         (CFLAGS-putwc.c): Likewise.
25474         (CFLAGS-putwchar.c): Likewise.
25475         (CFLAGS-rewind.c): Likewise.
25476         (CFLAGS-wfileops.c): Likewise.
25477         (CFLAGS-wgenops.c): Likewise.
25478         (CFLAGS-oldiofopen.c): Likewise.
25479         (CFLAGS-iofopen.c): Likewise.
25480         (CFLAGS-iofopen64.c): Likewise.
25481         (CFLAGS-oldtmpfile.c): Likewise.
25482         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25483         (CFLAGS-fprintf.c): Likewise.
25484         (CFLAGS-printf.c): Likewise.
25485         (CFLAGS-vfwprintf.c): Likewise.
25486         (CFLAGS-vfscanf.c): Likewise.
25487         (CFLAGS-vfwscanf.c): Likewise.
25488         (CFLAGS-fscanf.c): Likewise.
25489         (CFLAGS-scanf.c): Likewise.
25490         (CFLAGS-isoc99_vfscanf.c): Likewise.
25491         (CFLAGS-isoc99_vscanf.c): Likewise.
25492         (CFLAGS-isoc99_fscanf.c): Likewise.
25493         (CFLAGS-isoc99_scanf.c): Likewise.
25494         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
25495         (CFLAGS-isoc99_fwscanf.c): Likewise.
25496         (CFLAGS-isoc99_vwscanf.c): Likewise.
25497         (CFLAGS-isoc99_vfwscanf.c): Likewise.
25499         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
25500         after mkstemp64.
25501         * login/tst-utmp.c (do_prepare): Likewise.
25502         * rt/tst-aio.c (do_prepare): Likewise.
25503         * rt/tst-aio64.c (do_prepare): Likewise.
25505 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25507         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25508         (__lll_lock_elision): Remove adapt_count decrement...
25509         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25510         (__lll_trylock_elision): Likewise.
25511         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
25512         (__lll_unlock_elision): ... to here. And utilize
25513         new adapt_count parameter.
25514         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25515         (__lll_unlock_elision): Update to include adapt_count
25516         parameter.
25517         (lll_unlock_elision): Pass pointer to adapt_count
25518         variable.
25520 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25522         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
25523         Add elision adapt_count parameter to list of arguments.
25524         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25525         (lll_unlock_elision): Update with new parameter list
25526         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
25527         (lll_unlock_elision): Likewise.
25528         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
25529         (lll_unlock_elision): Likewise.
25531 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25533         [BZ #19122]
25534         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
25535         attribute_hidden.
25537         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
25538         attribute_hidden.
25539         [IS_IN (rtld)] (__strdup): Likewise.
25540         [IS_IN (rtld)] (__strerror_r): Likewise.
25541         [IS_IN (rtld)] (__strsep_g): Likewise.
25542         [IS_IN (rtld)] (memchr): Likewise.
25543         [IS_IN (rtld)] (memcmp): Likewise.
25544         [IS_IN (rtld)] (memcpy): Likewise.
25545         [IS_IN (rtld)] (memmove): Likewise.
25546         [IS_IN (rtld)] (memset): Likewise.
25547         [IS_IN (rtld)] (rawmemchr): Likewise.
25548         [IS_IN (rtld)] (stpcpy): Likewise.
25549         [IS_IN (rtld)] (strchr): Likewise.
25550         [IS_IN (rtld)] (strcmp): Likewise.
25551         [IS_IN (rtld)] (strlen): Likewise.
25552         [IS_IN (rtld)] (strnlen): Likewise.
25553         [IS_IN (rtld)] (strsep): Likewise.
25555         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
25556         attribute_hidden.
25557         [IS_IN (rtld)] (__strtoul_internal): Likewise.
25559         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
25560         attribute_hidden.
25561         [IS_IN (rtld)] (__libc_sigaction): Likewise.
25563         * include/setjmp.h (__longjmp): Add attribute_hidden.
25564         [IS_IN (rtld)] (__sigsetjmp): Likewise.
25566         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25567         Add attribute_hidden.
25569         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25570         [IS_IN (rtld)] (__open): Likewise.
25571         [IS_IN (rtld)] (__fcntl): Likewise.
25573         * include/dirent.h (__opendirat): Add attribute_hidden.
25574         (__getdents): Likewise.
25575         (__getdents64): Likewise.
25576         (__alloc_dir): Likewise.
25577         [IS_IN (rtld)] (__closedir): Likewise.
25578         [IS_IN (rtld)] (__fdopendir): Likewise.
25579         [IS_IN (rtld)] (__readdir): Likewise.
25580         [IS_IN (rtld)] (__readdir64): Likewise.
25581         [IS_IN (rtld)] (__rewinddir): Likewise.
25583         * include/dlfcn.h (_dl_catch_error): Moved to ...
25584         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25585         attribute_hidden.
25587         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25588         (_itoa_word): Likewise.
25590         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25591         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25592         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25593         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25594         (_dl_higher_prime_number): Likewise.
25595         (_dl_debug_printf_c): Likewise.
25596         (_dl_signal_cerror): Likewise.
25597         (_dl_receive_error): Likewise.
25598         (_dl_reloc_bad_type): Likewise.
25599         (_dl_resolve_conflicts): Likewise.
25600         (_dl_check_all_versions): Likewise.
25601         (_dl_check_map_versions): Likewise.
25602         (_dl_sort_fini): Likewise.
25603         (_dl_debug_initialize): Likewise.
25604         (_dl_init_paths): Likewise.
25605         (_dl_show_auxv): Likewise.
25606         (_dl_next_ld_env_entry): Likewise.
25607         (_dl_important_hwcaps): Likewise.
25608         (_dl_load_cache_lookup): Likewise.
25609         (_dl_update_slotinfo): Likewise.
25610         (_dl_show_scope): Likewise.
25612         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25613         attribute_hidden.
25614         (_wordcopy_fwd_dest_aligned): Likewise.
25615         (_wordcopy_bwd_aligned): Likewise.
25616         (_wordcopy_bwd_dest_aligned): Likewise.
25618         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25619         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25620         Likewise.
25621         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25622         Likewise.
25623         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25625 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25627         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
25628         GCC 5 requirement.
25630 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25632         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
25633         test.
25634         * sysdeps/i386/configure: Regenerated.
25635         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
25636         code unconditional.
25638         * configure.ac (libc_cv_asm_previous_directive): Remove configure
25639         test.
25640         (libc_cv_asm_popsection_directive): Likewise.
25641         * configure: Regenerated.
25642         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
25643         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
25644         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
25645         (__make_section_unallocated): Make definition unconditional.
25646         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
25647         Remove conditional definition.
25648         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
25649         (__make_section_unallocated): Likewise.
25651         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
25652         * configure: Regenerated.
25653         * config.make.in (static-libgcc): Remove variable.
25654         * Makerules (build-shlib-helper): Use -static-libgcc instead of
25655         $(static-libgcc).
25656         (build-module-helper): Likewise.
25658         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
25659         * configure: Regenerated.
25661 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25663         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
25664         (struct char_buffer): New type.
25665         (char_buffer_start, char_buffer_size, char_buffer_error)
25666         (char_buffer_rewind, char_buffer_add): New functions.
25667         (ADDW): Remove macro, replaced by the char_buffer_add function.
25668         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
25669         of extend_alloca.  Make control flow more explicit.
25671 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25673         [BZ #19137]
25674         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25675         Add -fomit-frame-pointer.
25676         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
25678 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25680         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
25681         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
25682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
25683         only if !__GNUC_PREREQ (5,0).
25684         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
25685         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25686         (INTERNAL_SYSCALL_NCS): Likewise.
25687         (LOADREGS_0): New macro for GCC 5.
25688         (ASMARGS_0): Likewise.
25689         (LOADREGS_1): Likewise.
25690         (ASMARGS_1): Likewise.
25691         (LOADREGS_2): Likewise.
25692         (ASMARGS_2): Likewise.
25693         (LOADREGS_3): Likewise.
25694         (ASMARGS_3): Likewise.
25695         (LOADREGS_4): Likewise.
25696         (ASMARGS_4): Likewise.
25697         (LOADREGS_5): Likewise.
25698         (ASMARGS_5): Likewise.
25699         (LOADREGS_6): Likewise.
25700         (ASMARGS_6): Likewise.
25702 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25704         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
25705         -fomit-frame-pointer.
25706         (CFLAGS-mmap64.c): Likewise.
25707         (CFLAGS-semtimedop.c): Likewise.
25708         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
25709         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
25710         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25711         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25713 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25715         [BZ #18928]
25716         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
25717         _dl_pointer_guard member.
25718         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
25719         initializer.
25720         (security_init): Always set up pointer guard.
25721         (process_envvars): Do not process LD_POINTER_GUARD.
25723 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
25725         [BZ #19134]
25726         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
25727         (.LC2): Likewise.
25728         (.LC3): Likewise.
25729         (__lround): Do not add 0.5 to integer or out-of-range arguments.
25731 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25733         [BZ #19129]
25734         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
25735         r0 and r1.
25737 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
25739         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
25741 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
25743         * include/stap-probe.h: Fix macro definition formatting.
25745 2015-10-14  Florian Weimer  <fweimer@redhat.com>
25747         [BZ #19074]
25748         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
25749         load and store num_ifs.
25751 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25753         [BZ #18822]
25754         * sysdeps/unix/sysv/linux/sched_getaffinity.c
25755         (__sched_getaffinity_new): Add libc_hidden_proto and
25756         libc_hidden_def.
25758 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25760         [BZ #19007]
25761         * scripts/localplt.awk: Also allow GOT references.
25762         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
25763         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
25764         with "+ REL R_386_GLOB_DAT".
25765         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
25766         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
25768 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25770         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
25771         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25772         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
25773         Likewise.
25774         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25775         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
25776         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25777         INTERNAL_SYSCALLINTERNAL_SYSCALL and
25778         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25779         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25780         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25781         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25782         Likewise.
25783         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25785 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25787         [BZ #19125]
25788         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
25789         <math_private.h> and <stdint.h>.
25790         (__llround): Avoid conversions to and from long long int, and
25791         subtractions, where those might raise spurious exceptions.
25792         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25793         <math_private.h> and <stdint.h>.
25794         (__llroundf): Avoid conversions to and from long long int, and
25795         subtractions, where those might raise spurious exceptions.
25797 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25799         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
25800         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25801         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25802         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
25803         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25804         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25805         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
25806         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
25807         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
25808         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25809         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25810         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25811         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
25812         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25813         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25814         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
25815         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
25816         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25817         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
25818         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
25819         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25820         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
25821         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
25822         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25823         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
25824         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25825         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
25826         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25827         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25828         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
25829         (__xstat64_conv): Likewise.
25830         (__xstat32_conv): Likewise.
25832 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25834         * sysdeps/unix/sysv/linux/sysdep.h: New file.
25835         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
25836         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
25837         <sysdeps/unix/sysv/linux/sysdep.h>.
25838         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25839         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
25840         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
25841         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25842         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25843         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
25844         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
25845         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
25846         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
25847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25850         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25851         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25852         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25854         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
25855         (sysdep-dl-routines): Add sysdep.
25856         [$(subdir) == nptl] (libpthread-routines): Likewise.
25857         [$(subdir) == rt] (librt-routines): Likewise.
25858         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
25859         PIC when branching to SYSCALL_ERROR_LABEL.
25860         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
25861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
25862         <sysdeps/unix/sysv/linux/sysdep.h>.
25863         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
25864         (SYSCALL_ERROR_ERRNO): Removed.
25865         (SYSCALL_ERROR_HANDLER): Changed to empty.
25866         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
25867         (__syscall_error): New prototype.
25868         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
25869         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
25871 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25873         [BZ #19124]
25874         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
25875         (_dl_runtime_resolve_avx512): Make it a hidden alias of
25876         _dl_runtime_resolve_avx.
25877         (_dl_runtime_profile_avx512): Make it a hidden alias of
25878         _dl_runtime_profile_avx.
25880 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25882         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
25883         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
25884         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
25885         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
25887         [BZ #16422]
25888         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
25889         New configure test.
25890         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
25891         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
25892         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
25893         <math_private.h> and <stdint.h>.
25894         (__llrint): Avoid conversions to long long int where those might
25895         raise spurious exceptions.
25896         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25897         <math_private.h> and <stdint.h>.
25898         (__llrintf): Avoid conversions to long long int where those might
25899         raise spurious exceptions.
25901 2015-10-12  Andreas Schwab  <schwab@suse.de>
25903         [BZ #18969]
25904         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
25905         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
25906         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
25907         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
25908         $(gen-locales).
25909         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
25910         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
25911         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
25912         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
25913         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
25914         $(gen-locales).
25915         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
25916         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
25917         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
25918         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
25919         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
25920         ($(objpfx)tst-ftell-active-handler.out)
25921         ($(objpfx)tst-ftell-append.out)
25922         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
25923         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
25924         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
25925         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
25926         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
25927         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
25928         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
25929         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
25930         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
25931         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
25932         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
25933         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
25934         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
25935         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
25936         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
25937         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
25938         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
25939         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
25940         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
25941         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
25942         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
25943         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
25944         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
25945         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
25946         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
25947         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
25948         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
25949         $(gen-locales).
25950         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
25951         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
25952         $(gen-locales).
25953         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
25954         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
25955         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
25956         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
25957         $(gen-locales).
25958         * libio/tst_wprintf2.c (main): Use explicit locale.
25959         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
25961 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25963         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
25964         __msg_sig_post.
25965         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
25967 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25969         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25970         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25972         * sysdeps/arm/libm-test-ulps: Regenerated.
25974         [BZ #15470]
25975         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
25977         [BZ #16399]
25978         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
25979         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
25980         and <fix-fp-int-convert-overflow.h>.
25981         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25982         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25983         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
25984         and <fix-fp-int-convert-overflow.h>.
25985         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
25986         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25987         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
25988         <fix-fp-int-convert-overflow.h>.
25989         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25990         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25991         * sysdeps/ieee754/dbl-64/s_lround.c: Include
25992         <fix-fp-int-convert-overflow.h>.
25993         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
25994         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25995         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
25996         and <fix-fp-int-convert-overflow.h>.
25997         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25998         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25999         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26000         <limits.h> and <fix-fp-int-convert-overflow.h>.
26001         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26002         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26003         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26004         and <fix-fp-int-convert-overflow.h>.
26005         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26006         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26007         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26008         and <fix-fp-int-convert-overflow.h>.
26009         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26010         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26011         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26013 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26015         [BZ #18589]
26016         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26017         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26018         $(gen-locales).
26020 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26021             Phil Blundell <pb@pbcl.net>
26023         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26024         * nptl/tst-cancel26.c: New file.
26025         * nptl/tst-cancel27.c: Likewise.
26027 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26029         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26030         __ILP32__ isn't defined.
26031         (lrint): Likewise.
26032         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26033         (lrintf): Likewise.
26034         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26035         (lrintl): Likewise.
26036         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26037         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26038         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26040 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26042         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26043         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26045         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26046         file.
26047         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26048         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26050 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26052         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26053         configure test.
26054         * sysdeps/i386/configure: Regenerated.
26055         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26056         configure test.
26057         * sysdeps/x86_64/configure: Regenerated.
26058         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26059         Make code unconditional.
26061         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26062         test.
26063         * sysdeps/i386/configure: Regenerated.
26064         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26065         test.
26066         * sysdeps/x86_64/configure: Regenerated.
26067         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26068         Make code unconditional.
26069         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26070         Likewise.
26071         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26072         Likewise.
26073         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26074         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26075         code unconditional.
26076         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26077         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26078         code unconditional.
26079         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26080         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26081         code unconditional.
26082         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26083         code unconditional.
26084         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26085         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26086         code unconditional.
26087         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26088         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26089         code unconditional.
26090         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26091         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26092         code unconditional.
26093         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26094         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26095         code unconditional.
26096         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26097         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26099         [BZ #19095]
26100         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26101         mantissa to long int before shifting left.
26103 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26105         [BZ #19094]
26106         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26107         <limits.h>.
26108         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26109         when result overflows but exception would not result from cast.
26110         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26111         <limits.h>.
26112         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26113         when result overflows but exception would not result from cast.
26114         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26115         <limits.h>.
26116         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26117         when result overflows but exception would not result from cast.
26118         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26119         <limits.h>.
26120         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26121         when result overflows but exception would not result from cast.
26122         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26123         <limits.h>.
26124         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26125         when result overflows but exception would not result from cast.
26126         * math/libm-test.inc (lrint_test_data): Add more tests.
26127         (llrint_test_data): Likewise.
26129 2015-10-08  Roland McGrath  <roland@hack.frob.com>
26131         [BZ #18872]
26132         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26133         Move out from under [$(run-built-tests) = yes] conditional.
26134         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26135         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26137 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
26139         [BZ #18589]
26140         * string/Makefile (tests): Add bug-strcoll2.
26141         (LOCALES): Add cs_CZ.UTF-8.
26142         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26144         [BZ #18589]
26145         * string/bug-strcoll2.c: New file.
26146         * locale/categories.def: Revert commit
26147         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26148         * locale/langinfo.h: Likewise.
26149         * locale/localeinfo.h: Likewise.
26150         * locale/C-collate.c: Likewise.
26151         * locale/programs/ld-collate.c (collate_output): Likewise.
26152         * string/strcoll_l.c (STRDIFF): Likewise.
26153         (STRCOLL): Likewise.
26154         * wcsmbs/wcscoll_l.c: Likewise.
26156 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26158         * math/libm-test.inc (lround_test_data): Do not expect the absence
26159         of "inexact" for some tests with non-integer arguments.
26160         (llround_test_data): Likewise.
26162         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26163         test.
26164         (libc_cv_cc_sse2avx): Likewise.
26165         * sysdeps/i386/configure: Regenerated.
26166         * sysdeps/i386/i686/multiarch/Makefile
26167         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26168         [$(subdir) = math].
26169         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26170         code unconditional.
26171         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26172         Likewise.
26173         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26174         Likewise.
26175         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26176         Likewise.
26177         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26178         test.
26179         (libc_cv_cc_sse2avx): Likewise.
26180         * sysdeps/x86_64/configure: Regenerated.
26181         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26182         unconditional.
26183         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26184         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26185         unconditional.
26186         (_dl_runtime_profile)
26187         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26188         conditional code.
26189         * sysdeps/x86_64/fpu/multiarch/Makefile
26190         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26191         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26192         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26193         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26194         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26195         * sysdeps/x86_64/fpu/multiarch/e_log.c
26196         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26197         * sysdeps/x86_64/fpu/multiarch/s_atan.c
26198         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26199         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26200         Likewise.
26201         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26202         Likewise.
26203         * sysdeps/x86_64/fpu/multiarch/s_sin.c
26204         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26205         * sysdeps/x86_64/fpu/multiarch/s_tan.c
26206         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26207         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26208         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26209         (HAVE_SSE2AVX_SUPPORT): Likewise.
26211 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
26213         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26214         instead of #pragma optimize.
26216 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26218         [BZ #17195]
26219         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26220         as is similarly done in systrim and _int_free already.
26222 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26224         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26226 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26228         [BZ #19088]
26229         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
26230         <limits.h>.
26231         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26232         overflows but exception would not result from cast.
26233         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
26234         and <limits.h>.
26235         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26236         overflows but exception would not result from cast.
26237         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
26238         <limits.h>.
26239         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26240         overflows but exception would not result from cast.
26241         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
26242         <limits.h>.
26243         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26244         overflows but exception would not result from cast.
26245         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
26246         <limits.h>.
26247         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26248         overflows but exception would not result from cast.
26249         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
26250         <limits.h>.
26251         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26252         overflows but exception would not result from cast.
26253         * math/libm-test.inc (lround_test_data): Add more tests.
26254         (llround_test_data): Likewise.
26256 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
26258         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
26259         (CFLAGS-ialloc.c): Ditto.
26260         (CFLAGS-scheck.c): Ditto.
26262 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26264         [BZ #19086]
26265         * manual/filesys.texi (Storage Allocation): Fix argument order for
26266         posix_fallocate64.
26268 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26270         [BZ #19085]
26271         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
26272         exponent below 48 inside case for non-overflowing exponent.
26273         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
26275 2015-10-07  Florian Weimer  <fweimer@redhat.com>
26277         * iconvdata/cp737.h (from_idx): Add const.
26278         * iconvdata/cp775.h (from_idx): Likewise.
26280 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26282         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
26283         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
26284         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
26286         [BZ #19079]
26287         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
26288         file, conditioned on [!_LP64].
26289         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
26290         [!_LP64] (__lround): Do not define as function or alias.
26291         [!_LP64] (lround): Likewise.
26292         [!_LP64] (__lroundl): Likewise.
26293         [!_LP64] (lroundl): Likewise.
26294         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
26295         macro.
26296         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26297         Likewise.
26299 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26301         * math/libm-test.inc (lrint_test_data): Add more tests.
26302         (llrint_test_data): Likewise.
26303         (lround_test_data): Likewise.
26304         (llround_test_data): Likewise.
26306         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
26307         (llrint_test_data): Add tests used for lrint.
26309         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
26310         test.
26311         * sysdeps/i386/configure: Regenerated.
26312         * sysdeps/i386/i686/multiarch/Makefile
26313         [$(config-cflags-sse4) = yes]: Make code unconditional.
26314         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26315         Likewise.
26316         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
26317         Likewise.
26318         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
26319         test.
26320         * sysdeps/x86_64/configure: Regenerated.
26321         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
26322         Make code unconditional.
26323         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26324         Likewise.
26325         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
26326         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
26328         * scripts/rpm2dynsym.sh: Remove file.
26330 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26332         * configure.ac (libc_cv_cxx_thread_local): Define.
26333         * configure: Regenerate.
26334         * config.make.in (have-cxx-thread_local): Define.
26335         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
26336         (LDLIBS-tst-thread_local1): Define.
26337         (tests): Add tst-thread_local1.
26338         [have-cxx-thread_local != yes] (tests-unsupported): Add
26339         tst-thread_local1.
26340         * nptl/tst-thread_local1.cc: New file.
26342 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26344         [BZ #19078]
26345         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
26346         (u_thres): Likewise.
26347         (__expl): Determine whether to call __kernel_standard_l based on
26348         value of result, not argument.
26350         * math/libm-test.inc (scalb_test_data): Add more expectations for
26351         the "inexact" exception.
26353         [BZ #19077]
26354         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
26355         0.0L for argument 1.0L.
26357         [BZ #19076]
26358         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
26359         constant 0.0L when computing infinite result.
26361 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26363         [BZ #10432]
26364         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
26365         malloc_usable_size.
26367 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26369         [BZ #19018]
26370         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26371         Mangle function pointer before storing it.
26372         (__call_tls_dtors): Demangle function pointer before calling it.
26374 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26376         [BZ #19012]
26377         * iconv/gconv_db.c (gen_steps): Check for additional errors.
26378         Clean up on failure.
26380 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
26382         [BZ #19071]
26383         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
26384         long int variable to store possibly incremented high part of
26385         mantissa.
26386         * math/libm-test.inc (lround_test_data): Add tests used for
26387         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
26388         for tests requiring 64-bit long.  Do not condition tests on
26389         [TEST_FLOAT] unnecessarily.
26390         (llround_test_data): Add tests used for lround.  Add another
26391         expectation for the "inexact" exception.  Do not condition tests
26392         on [TEST_FLOAT] unnecessarily.
26394         [BZ #887]
26395         [BZ #19049]
26396         [BZ #19050]
26397         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
26398         * sysdeps/ieee754/dbl-64/e_log10.c: Include
26399         <fix-int-fp-convert-zero.h>.
26400         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26401         * sysdeps/ieee754/dbl-64/e_log2.c: Include
26402         <fix-int-fp-convert-zero.h>.
26403         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26404         * sysdeps/ieee754/dbl-64/s_erf.c: Include
26405         <fix-int-fp-convert-zero.h>.
26406         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26407         * sysdeps/ieee754/dbl-64/s_logb.c: Include
26408         <fix-int-fp-convert-zero.h>.
26409         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26410         * sysdeps/ieee754/flt-32/e_log10f.c: Include
26411         <fix-int-fp-convert-zero.h>.
26412         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26413         * sysdeps/ieee754/flt-32/e_log2f.c: Include
26414         <fix-int-fp-convert-zero.h>.
26415         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26416         * sysdeps/ieee754/flt-32/s_erff.c: Include
26417         <fix-int-fp-convert-zero.h>.
26418         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26419         * sysdeps/ieee754/flt-32/s_logbf.c: Include
26420         <fix-int-fp-convert-zero.h>.
26421         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26422         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
26423         <fix-int-fp-convert-zero.h>.
26424         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
26426         <fix-int-fp-convert-zero.h>.
26427         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26428         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
26429         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
26430         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
26431         file.
26432         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
26434 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
26436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26438 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
26440         [BZ #19059]
26441         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
26442         overflowing computation.
26443         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26444         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26445         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26446         Likewise.
26447         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26448         Likewise.
26449         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26450         Likewise.
26451         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26452         Likewise.
26453         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26454         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26455         Likewise.
26456         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26457         Likewise.
26458         * math/libm-test.inc (nexttoward_test_data): Add more tests.
26460         * nss/rewrite_field.c (__nss_rewrite_field): Use
26461         internal_function.
26462         * nss/valid_field.c (__nss_valid_field): Likewise.
26463         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26465 2015-10-02  Florian Weimer  <fweimer@redhat.com>
26467         [BZ #18724]
26468         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
26469         (__nss_invalid_field_characters, __nss_valid_field)
26470         (__nss_valid_list_field, __nss_rewrite_field): Declare.
26471         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
26472         tst-field.c: New file.
26473         * nss/Makefile (routines): Add valid_field, rewrite_field.
26474         (tests-static): Define unconditionally.
26475         (tests): Include tests-static.
26476         [build-static-nss] (tests-static): Use append.
26477         [build-static-nss] (tests): Remove modification.
26478         * nss/getent.c (print_group): Call putgrent.  Report error.
26479         (print_gshadow): Call putsgent.  Report error.
26480         (print_passwd): Call putpwent.  Report error.
26481         (print_shadow): Call putspent.  Report error.
26482         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
26483         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
26484         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
26485         name, password, directory, shell fields for valid syntax.  Rewrite
26486         GECOS field to match syntax.
26487         * pwd/Makefile (tests): Add tst-putpwent.
26488         * pwd/tst-putpwent.c: New file.
26489         * grp/putgrent.c (putgrent): Convert to ISO function definition.
26490         Check grName, grpasswd, gr_mem fields for valid syntax.
26491         Change loop variable i to size_t.
26492         * grp/Makefile (tests): Add tst-putgrent.
26493         * grp/tst-putgrent.c: New file.
26494         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
26495         valid syntax.
26496         * shadow/Makefile (tests): Add tst-putspent.
26497         * shadow/tst-putspent.c: New file.
26498         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
26499         sg_mem fields for valid syntax.
26500         * gshadow/Makefile (tests): Add tst-putsgent.
26501         * gshadow/tst-putsgent.c: New file.
26503 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26505         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
26506         assembly instructions.
26508 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26510         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
26511         prefix from operands.
26513 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
26515         [BZ #16347]
26516         [BZ #19046]
26517         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
26518         <libc-internal.h>.
26519         (MAXLGM): Do not use diagnostic control macros.
26520         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
26521         threshold for ldbl-128ibm.
26522         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
26523         instead of multiplying by log then subtracting.
26524         * math/auto-libm-test-in: Add more tests of lgamma.
26525         * math/auto-libm-test-out: Regenerated.
26527         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26528         (TYPE_HEX_DIG): Likewise.
26529         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
26530         precisions when printing floating-point numbers.
26531         (check_float_internal): Likewise.
26533 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26535         [BZ #16620]
26536         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
26537         of log (10) rounded downward to 48 bits.
26538         (log10_low): Use corresponding low part of log (10).
26540         [BZ #19032]
26541         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
26542         compute result as (x - x) / (x - x) not as 0 / 0.
26543         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26544         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
26546         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26547         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
26548         and expm1.
26549         * math/auto-libm-test-out: Regenerated.
26550         * math/libm-test.inc (acos_test_data): Add more tests.
26551         (asin_test_data): Likewise.
26552         (asinh_test_data): Likewise.
26553         (atan_test_data): Likewise.
26554         (atanh_test_data): Likewise.
26555         (atan2_test_data): Likewise.
26556         (cbrt_test_data): Likewise.
26557         (ceil_test_data): Likewise.
26558         (copysign_test_data): Likewise.
26559         (cos_test_data): Likewise.
26560         (cosh_test_data): Likewise.
26561         (erf_test_data): Likewise.
26562         (erfc_test_data): Likewise.
26563         (exp_test_data): Likewise.
26564         (exp10_test_data): Likewise.
26565         (exp2_test_data): Likewise.
26566         (expm1_test_data): Likewise.
26567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26569 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26571         [BZ #19006]
26572         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26573         to ...
26574         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26575         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26576         to ...
26577         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26578         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26579         to ...
26580         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26581         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26582         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26583         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26584         to ...
26585         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26586         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26587         Moved to ...
26588         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26589         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26590         Moved to ...
26591         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26592         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26593         to ...
26594         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26595         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26596         Moved to ...
26597         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26598         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26599         to ...
26600         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26601         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26602         Removed.
26603         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26604         Likewise.
26605         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26606         Likewise.
26607         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26608         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26609         Likewise.
26610         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26611         Likewise.
26612         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26613         Likewise.
26614         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26615         Likewise.
26616         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26617         Likewise.
26618         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26619         Likewise.
26620         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
26621         Likewise.
26622         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
26623         Likewise.
26624         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
26625         Likewise.
26626         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
26627         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
26628         Likewise.
26629         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26630         Likewise.
26631         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26632         Likewise.
26633         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26634         Likewise.
26635         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
26636         Likewise.
26637         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26638         Replace ../i486/pthread_cond_timedwait.S with
26639         ../pthread_cond_timedwait.S.
26641 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26643         * math/libm-test.inc (acos_test_data): Refine expectations for
26644         errno and "inexact" exceptions.
26645         (acosh_test_data): Likewise.
26646         (asin_test_data): Likewise.
26647         (asinh_test_data): Likewise.
26648         (atan_test_data): Likewise.
26649         (atanh_test_data): Likewise.
26650         (atan2_test_data): Likewise.
26651         (cbrt_test_data): Likewise.
26652         (ceil_test_data): Likewise.
26653         (copysign_test_data): Likewise.
26654         (cosh_test_data): Likewise.
26655         (erf_test_data): Likewise.
26656         (erfc_test_data): Likewise.
26657         (exp_test_data): Likewise.
26658         (exp10_test_data): Likewise.
26659         (exp2_test_data): Likewise.
26660         (expm1_test_data): Likewise.
26661         (fabs_test_data): Likewise.
26662         (floor_test_data): Likewise.
26663         (fma_test_data): Likewise.
26664         (fmax_test_data): Likewise.
26665         (fmin_test_data): Likewise.
26666         (fmod_test_data): Likewise.
26667         (fpclassify_test_data): Likewise.
26668         (frexp_test_data): Likewise.
26669         (hypot_test_data): Likewise.
26670         (ilogb_test_data): Likewise.
26671         (isgreater_test_data): Likewise.
26672         (isgreaterequal_test_data): Likewise.
26673         (isinf_test_data): Likewise.
26674         (isless_test_data): Likewise.
26675         (islessequal_test_data): Likewise.
26676         (islessgreater_test_data): Likewise.
26677         (isnan_test_data): Likewise.
26678         (isnormal_test_data): Likewise.
26679         (issignaling_test_data): Likewise.
26680         (isunordered_test_data): Likewise.
26681         (j0_test_data): Likewise.
26682         (j1_test_data): Likewise.
26683         (jn_test_data): Likewise.
26684         (lgamma_test_data): Likewise.
26685         (lrint_test_data): Likewise.
26686         (llrint_test_data): Likewise.
26687         (log_test_data): Likewise.
26688         (log10_test_data): Likewise.
26689         (log1p_test_data): Likewise.
26690         (log2_test_data): Likewise.
26691         (logb_test_data): Likewise.
26692         (lround_test_data): Likewise.
26693         (llround_test_data): Likewise.
26694         (modf_test_data): Likewise.
26695         (nearbyint_test_data): Likewise.
26696         (nextafter_test_data): Likewise.
26697         (nexttoward_test_data): Likewise.
26698         (pow_test_data): Likewise.
26699         (remainder_test_data): Likewise.
26700         (remquo_test_data): Likewise.
26701         (rint_test_data): Likewise.
26702         (round_test_data): Likewise.
26703         (signbit_test_data): Likewise.
26704         (sinh_test_data): Likewise.
26705         (sqrt_test_data): Likewise.
26706         (tanh_test_data): Likewise.
26707         (tgamma_test_data): Likewise.
26708         (trunc_test_data): Likewise.
26709         (y0_test_data): Likewise.
26710         (y1_test_data): Likewise.
26711         (yn_test_data): Likewise.
26712         (significand_test_data): Likewise.
26714 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
26716         * manual/filesys.texi (Storage Allocation): Document that
26717         posix_fallocate emulation fails when fd is open with O_WRONLY.
26719 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
26721         [BZ #19016]
26722         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
26723         allow more cases with X^2 + Y^2 >= 0.5.
26724         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
26725         normal element in sum instead of special-casing based on values of
26726         arguments.
26727         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
26728         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
26729         -1 as normal element in sum instead of special-casing based on
26730         values of arguments.
26731         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
26732         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
26733         (__x2y2m1): Update comment.
26734         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
26735         as normal element in sum instead of special-casing based on values
26736         of arguments.
26737         * math/s_clog.c (__clog): Handle more cases using log1p without
26738         hypot.
26739         * math/s_clog10.c (__clog10): Likewise.
26740         * math/s_clog10f.c (__clog10f): Likewise.
26741         * math/s_clog10l.c (__clog10l): Likewise.
26742         * math/s_clogf.c (__clogf): Likewise.
26743         * math/s_clogl.c (__clogl): Likewise.
26744         * math/auto-libm-test-in: Add more tests of clog and clog10.
26745         * math/auto-libm-test-out: Regenerated.
26746         * sysdeps/i386/fpu/libm-test-ulps: Update.
26747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26749 2015-09-28  Martin Sebor  <msebor@redhat.com>
26751         [BZ #18969]
26752         * string/Makefile (LOCALES): Define.
26753         (gen-locales.mk): Include.
26754         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
26755         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
26756         * string/tst-strxfrm2.c (do_test): Print the name of the locale
26757         on setlocale failure.
26759 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26761         [BZ #18985]
26762         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
26763         (__strftime_internal): Likewise.
26764         * time/tst-strftime.c (do_bz18985): New test.
26765         (do_test): Call it.
26767 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
26769         [BZ #18956]
26770         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
26771         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
26772         extracting high part.
26773         * math/auto-libm-test-in: Add another test of pow.
26774         * math/auto-libm-test-out: Regenerated.
26775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26777 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26779         [BZ #18825]
26780         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
26781         New macro.
26782         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
26783         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26784         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
26785         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
26786         DBL_NARROW_EVAL, reloading the PIC register as needed.
26787         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
26788         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
26789         FLT_NARROW_EVAL.  Use separate return path for case when first
26790         argument is NaN.
26791         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
26792         DEFINE_LDBL_MIN.
26793         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
26794         PIC register.
26795         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
26796         math_check_force_underflow_nonneg.
26797         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
26798         underflow for subnormal result.
26799         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
26800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
26801         math_check_force_underflow_nonneg.
26802         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
26803         math_check_force_underflow.
26804         * sysdeps/x86_64/fpu/x86_64-math-asm.h
26805         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
26806         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
26807         DEFINE_LDBL_MIN.
26808         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
26809         * math/auto-libm-test-in: Add more tests of pow.
26810         * math/auto-libm-test-out: Regenerated.
26812 2015-09-25  Florian Weimer  <fweimer@redhat.com>
26814         * nss/bug17079.c (init_test_items): Add diagnostic for
26815         inconsistent entries.
26816         (test_buffer_size): Skip inconsistent entries.
26818 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26820         [BZ #13304]
26821         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
26822         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
26823         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
26825         [BZ #13304]
26826         * sysdeps/microblaze/s_fma.c: New file.
26827         * sysdeps/microblaze/s_fmaf.c: Likewise.
26828         * sysdeps/microblaze/sfp-machine.h: Likewise.
26830 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
26832         [BZ #17250]
26833         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
26834         member.
26836 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26838         [BZ #18803]
26839         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
26840         (MO): New macro.
26841         (__ieee754_hypot) [PIC]: Load PIC register.
26842         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
26843         DBL_NARROW_EVAL.
26844         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
26845         math_check_force_underflow_nonneg in case where result might be
26846         tiny.
26847         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26848         Likewise.
26849         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26850         Likewise.
26851         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
26852         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
26853         * math/auto-libm-test-in: Add more tests of hypot.
26854         * math/auto-libm-test-out: Regenerated.
26856 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
26858         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
26860 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26862         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
26863         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
26864         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26865         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26866         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
26867         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26868         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26870         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
26871         LOAD_PIC_REG.
26873         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
26874         (FLT_CHECK_FORCE_UFLOW): Likewise.
26875         (DBL_CHECK_FORCE_UFLOW): Likewise.
26876         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
26877         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
26878         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
26879         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26880         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26881         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26882         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26883         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26884         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
26885         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26886         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
26887         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
26888         (flt_min): Replace with use of DEFINE_FLT_MIN.
26889         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
26890         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
26891         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26892         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
26893         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
26894         (flt_min): Replace with use of DEFINE_FLT_MIN.
26895         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
26896         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
26897         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26898         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
26899         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
26900         (flt_min): Replace with use of DEFINE_FLT_MIN.
26901         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
26902         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
26903         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26904         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26905         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
26906         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26907         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26908         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
26909         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26910         (__atan): Use DBL_CHECK_FORCE_UFLOW.
26911         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
26912         (flt_min): Replace with use of DEFINE_FLT_MIN.
26913         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
26914         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
26915         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26916         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
26917         main computation.
26918         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
26919         (flt_min): Replace with use of DEFINE_FLT_MIN.
26920         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
26921         main computation.
26922         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
26923         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26924         (MO): New macro.
26925         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
26926         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
26927         (flt_min): Replace with use of DEFINE_FLT_MIN.
26928         (MO): New macro.
26929         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
26930         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
26931         (__log1pl): Use MO.
26933         [BZ #19003]
26934         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
26935         $(config-cflags-nofma).
26937 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26939         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26941 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
26943         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
26944         (TWO127): Likewise.
26946         * sysdeps/generic/math_private.h (fabs_tg): New macro.
26947         (min_of_type): Likewise.
26948         (math_check_force_underflow): Likewise.
26949         (math_check_force_underflow_nonneg): Likewise.
26950         (math_check_force_underflow_complex): Likewise.
26951         * math/e_exp2l.c (__ieee754_exp2l): Use
26952         math_check_force_underflow_nonneg.
26953         * math/k_casinh.c (__kernel_casinh): Likewise.
26954         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26955         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26956         * math/s_catan.c (__catan): Use
26957         math_check_force_underflow_complex.
26958         * math/s_catanf.c (__catanf): Likewise.
26959         * math/s_catanh.c (__catanh): Likewise.
26960         * math/s_catanhf.c (__catanhf): Likewise.
26961         * math/s_catanhl.c (__catanhl): Likewise.
26962         * math/s_catanl.c (__catanl): Likewise.
26963         * math/s_ccosh.c (__ccosh): Likewise.
26964         * math/s_ccoshf.c (__ccoshf): Likewise.
26965         * math/s_ccoshl.c (__ccoshl): Likewise.
26966         * math/s_cexp.c (__cexp): Likewise.
26967         * math/s_cexpf.c (__cexpf): Likewise.
26968         * math/s_cexpl.c (__cexpl): Likewise.
26969         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
26970         * math/s_clog10.c (__clog10): Likewise.
26971         * math/s_clog10f.c (__clog10f): Likewise.
26972         * math/s_clog10l.c (__clog10l): Likewise.
26973         * math/s_clogf.c (__clogf): Likewise.
26974         * math/s_clogl.c (__clogl): Likewise.
26975         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
26976         * math/s_csinf.c (__csinf): Likewise.
26977         * math/s_csinh.c (__csinh): Likewise.
26978         * math/s_csinhf.c (__csinhf): Likewise.
26979         * math/s_csinhl.c (__csinhl): Likewise.
26980         * math/s_csinl.c (__csinl): Likewise.
26981         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
26982         * math/s_csqrtf.c (__csqrtf): Likewise.
26983         * math/s_csqrtl.c (__csqrtl): Likewise.
26984         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
26985         * math/s_ctanf.c (__ctanf): Likewise.
26986         * math/s_ctanh.c (__ctanh): Likewise.
26987         * math/s_ctanhf.c (__ctanhf): Likewise.
26988         * math/s_ctanhl.c (__ctanhl): Likewise.
26989         * math/s_ctanl.c (__ctanl): Likewise.
26990         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
26991         instead of volatile.
26992         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
26993         math_check_force_underflow.
26994         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26995         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
26996         volatile when forcing underflow.
26997         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26998         math_check_force_underflow_nonneg.
26999         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27000         Likewise.
27001         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27002         math_check_force_underflow.
27003         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27004         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27005         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27006         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27007         math_check_force_underflow_nonneg.
27008         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27009         math_check_force_underflow.
27010         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27012         instead of volatile.
27013         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27014         math_check_force_underflow.
27015         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27016         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27017         math_check_force_underflow_nonneg.
27018         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27019         math_check_force_underflow.
27020         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27021         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27022         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27023         math_check_force_underflow_nonneg.
27024         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27025         Likewise.
27026         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27027         math_check_force_underflow.
27028         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27029         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27030         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27031         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27032         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27033         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27034         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27035         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27036         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27037         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27038         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27039         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27040         Likewise.
27041         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27042         math_check_force_underflow_nonneg.
27043         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27044         Likewise.
27045         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27046         math_check_force_underflow.
27047         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27048         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27049         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27050         Likewise.
27051         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27052         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27053         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27054         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27055         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27056         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27058         instead of volatile.
27059         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27060         math_check_force_underflow.
27061         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27063         math_check_force_underflow.
27064         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27065         Likewise.
27066         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27067         Use math_check_force_underflow_nonneg.
27068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27069         math_check_force_underflow.
27070         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27071         Likewise.
27072         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27073         Likewise.
27074         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27075         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27076         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27077         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27079         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27080         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27081         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27082         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27083         math_check_force_underflow_nonneg.
27084         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27085         math_check_force_underflow.
27086         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27087         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27088         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27089         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27090         math_check_force_underflow_nonneg.
27091         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27092         math_check_force_underflow.
27093         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27095         instead of volatile.
27096         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27097         math_check_force_underflow.
27099         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27100         * stdlib/strtod_l.c: Include <math_private.h>.
27101         (overflow_value): Use math_narrow_eval.
27102         (underflow_value): Likewise.
27103         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27104         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27105         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27106         (__ieee754_gamma_r): Likewise.
27107         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27108         Likewise.
27109         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27110         Likewise.
27111         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27112         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27113         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27114         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27115         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27116         (__ieee754_gammaf_r): Likewise.
27117         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27118         Likewise.
27119         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27120         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27121         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27122         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27123         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27124         volatile.
27125         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27126         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27127         math_narrow_eval.
27128         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27129         Likewise.
27130         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27131         Likewise.
27132         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27133         Likewise.
27134         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27135         volatile.
27136         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27137         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27138         math_narrow_eval.
27139         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27140         Likewise.
27141         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27142         Likewise.
27144 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
27146         * nptl/Versions: Remove ignored symbols.
27148 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27150         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
27151         * nss/Makefile (tests): Update.
27153 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27155         * nss/bug18287.c: New file.
27156         * nss/Makefile (tests): Add bug18287.
27158 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27160         * mach/Versions (__mach_host_self_): Add symbol.
27162 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27164         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27165         vm_page_size.
27167 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27169         Really fix sysdeps/i386/fpu/s_scalbn.S build
27171         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27172         (libc: GLIBC_2_22): Remove unused version set.
27174 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27176         * config.make.in (enable-timezone-tools): New variable.
27177         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27178         (enable_timezone_tools): Export to generated files.
27179         * configure: Regenerate.
27180         * INSTALL: Regenerate.
27181         * manual/install.texi (--disable-timezone-tools): Document new flag.
27182         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27183         ifeq ($(enable-timezone-tools),yes) check.
27185 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27187         * timezone/Makefile: Revert previous change.
27189         [BZ #18980]
27190         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27191         (DEFINE_DBL_MIN): Likewise.
27192         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27193         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27194         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27195         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27196         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27197         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27198         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27199         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27200         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27201         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27202         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27203         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27204         (flt_min): Replace with use of DEFINE_FLT_MIN.
27205         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27206         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27207         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27208         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27209         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27210         (flt_min): Replace with use of DEFINE_FLT_MIN.
27211         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27212         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27213         (flt_min): Replace with use of DEFINE_FLT_MIN.
27214         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27215         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27216         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27217         (__ieee754_hypot): Use DBL_NARROW_EVAL.
27218         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27219         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27220         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27221         (__ieee754_pow): Use DBL_NARROW_EVAL.
27222         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27223         (__ieee754_powf): Use FLT_NARROW_EVAL.
27224         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27225         (__ieee754_expf_sse2): Convert double-precision result to single
27226         precision.
27227         * sysdeps/i386/fpu/libm-test-ulps: Update.
27229 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27231         * timezone/Makefile: Ignore unused variable errors due to private.h
27232         (time_t_min) and (time_t_max).
27233         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
27234         Likewise.
27236 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27238         [BZ #18981]
27239         * sysdeps/i386/fpu/i386-math-asm.h: New file.
27240         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
27241         (__ieee754_scalb): Use DBL_NARROW_EVAL.
27242         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
27243         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
27244         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
27245         (__scalbn): Use DBL_NARROW_EVAL.
27246         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
27247         (__scalbnf): Use FLT_NARROW_EVAL.
27249 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27251         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
27252         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
27253         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
27254         * stdio-common/printf_fp.c (___printf_fp):
27255         Use signbit to get the sign. Use isinf macro to allow inlining.
27256         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
27257         * stdio-common/printf_size.c (__printf_size): Likewise.
27259 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27261         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
27263 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27265         [BZ #18980]
27266         * sysdeps/generic/math_private.h: Include <float.h>.
27267         (math_narrow_eval): New macro.
27268         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
27269         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
27270         math_narrow_eval on overflowing return value.
27271         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
27272         Likewise.
27273         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27274         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
27275         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
27276         Likewise.
27277         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27279 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27281         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
27282         * math/Makefile: Remove isinf_ns.c.
27283         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
27284         * math/multc3.c (__multc3): Likewise.
27285         * math/s_casin.c (__casin): Likewise.
27286         * math/s_casinf.c (__casinf): Likewise.
27287         * math/s_casinl.c (__casinl): Likewise.
27288         * math/s_cproj.c (__cproj): Likewise.
27289         * math/s_cprojf.c (__cprojf): Likewise.
27290         * math/s_cprojl.c (__cprofl): Likewise.
27291         * math/s_ctan.c (__ctan): Likewise.
27292         * math/s_ctanf.c (__ctanf): Likewise.
27293         * math/s_ctanh.c (__ctanh): Likewise.
27294         * math/s_ctanhf.c (__ctanhf): Likewise.
27295         * math/s_ctanhl.c (__ctanhl): Likewise.
27296         * math/s_ctanl.c (__ctanl): Likewise.
27297         * math/w_fmod.c (__fmod): Likewise.
27298         * math/w_fmodf.c (__fmodf): Likewise.
27299         * math/w_fmodl.c (_fmodl): Likewise.
27300         * math/w_remainder.c (__remainder): Likewise.
27301         * math/w_remainderf.c (__remainderf): Likewise.
27302         * math/w_remainderl.c (__remainderl): Likewise.
27303         * math/w_scalb.c (__scalb): Likewise.
27304         * math/w_scalbf.c (__scalbf): Likewise.
27305         * math/w_scalbl.c (__scalbl): Likewise.
27306         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
27307         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
27308         with isinf.
27309         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
27310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
27311         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
27312         __isinf_nsf with isinf.
27313         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
27314         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
27315         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
27316         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
27317         with isinf.
27318         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
27319         __isinf_nsl with isinf.
27320         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
27321         with isinf.
27322         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
27323         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
27324         __isinf_nsl with isinf.
27325         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
27326         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
27327         with isinf.
27329 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27331         * resolv/base64.c (rcsid): Remove unused static.
27332         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
27333         static.  (tqpi1): Likewise.
27334         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
27335         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
27336         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
27337         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
27338         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
27339         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
27340         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
27341         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
27342         Likewise.
27344 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
27346         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
27347         <nptl/pthreadP.h>.
27348         (_longjmp_unwind): Use __libc_ptf_call.
27349         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
27351 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
27353         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
27354         * sysdeps/arm/__longjmp.S: Likewise.
27356 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27358         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
27359         Use __builtin_signbit.
27360         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
27361         Use __builtin_signbitf.
27362         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
27363         Use __builtin_signbitl.
27364         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27365         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
27367 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27369         [BZ #15367]
27370         [BZ #17441]
27372         * math/Makefile: Build test-snan.c with -fsignaling-nans.
27373         * math/math.h (fpclassify): Use __builtin_fpclassify when
27374         available.  (signbit): Use __builtin_signbit(f/l).
27375         (isfinite): Use__builtin_isfinite.  (isnormal): Use
27376         __builtin_isnormal.  (isnan): Use __builtin_isnan.
27377         (isinf): Use __builtin_isinf_sign.
27379 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27381         * benchtests/Makefile: Add bench-math-inlines, link with libm.
27382         * benchtests/bench-math-inlines.c: New benchmark.
27383         * benchtests/bench-util.h: New file.
27384         * benchtests/bench-util.c: New file.
27385         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
27387 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
27389         * elf/tst-dlmopen1.c: Define TEST_SO.
27390         (do_test): Use TEST_SO.
27392         * elf/dl-load.c: Include libc-internal.h.
27393         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
27395 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27397         [BZ #17887]
27398         * time/strptime_l.c (__strptime_internal): Make %z accept
27399         [+-]HH:MM time zones.
27401 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27403         [BZ #17886]
27404         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
27405         valid time zone.
27407 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
27409         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
27410         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
27411         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27412         (__ASSUME_FDATASYNC): Delete.
27414 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27416         * conform/linknamespace.pl: Require weak undefined symbols to be
27417         in the standard namespace.
27418         (%strong_syms): Rename to %seen_syms.
27419         (%strong_seen): Rename to %seen_where.
27421 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
27423         [BZ #18970]
27424         * misc/error.c (error): Replace pthread_setcancelstate with
27425         __pthread_setcancelstate.
27426         (error_at_line): Likewise.
27427         * posix/wordexp.c (parse_comm): Likewise.
27428         * stdlib/fmtmsg.c (fmtmsg): Likewise.
27429         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
27430         (__pthread_setcancelstate): This.
27431         (pthread_setcancelstate): Add an alias.
27432         * nptl/nptl-init.c (pthread_functions): Replace
27433         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
27434         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
27435         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
27436         hidden_proto.
27437         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
27438         it with hidden_def.
27439         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
27440         (pthread_setcancelstate): Renamed to ...
27441         (__pthread_setcancelstate): This.
27442         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
27443         __libc_ptf_call with __pthread_setcancelstate.
27445 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27446             Andreas Schwab  <schwab@suse.de>
27448         [BZ #17118]
27449         * math/s_ctan.c (__ctan): Determine sign of zero real part of
27450         result when imaginary part of argument is infinite using sine and
27451         cosine.
27452         * math/s_ctanf.c (__ctanf): Likewise.
27453         * math/s_ctanl.c (__ctanl): Likewise.
27454         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
27455         of result when real part of argument is infinite using sine and
27456         cosine.
27457         * math/s_ctanhf.c (__ctanhf): Likewise.
27458         * math/s_ctanhl.c (__ctanhl): Likewise.
27459         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
27460         (ctanh_test_data): Add more tests of ctanh.
27462 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27464         [BZ #15384]
27465         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
27466         bit-mask as in subtraction.
27467         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
27468         Likewise.
27469         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
27470         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
27471         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
27473         [BZ #18951]
27474         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
27475         underflow exception for small results.
27476         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27477         Likewise.
27478         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27479         Likewise.
27480         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27481         Likewise.
27482         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27483         Likewise.
27484         * math/auto-libm-test-in: Add more tests of tgamma.
27485         * math/auto-libm-test-out: Regenerated.
27487 2015-09-17  Andreas Schwab  <schwab@suse.de>
27489         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
27491 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27493         [BZ #18977]
27494         * math/bits/mathcalls.h
27495         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
27496         not declare.
27497         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
27498         Likewise.
27499         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
27500         Likewise.
27501         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
27502         Likewise.
27503         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
27504         Likewise.
27505         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
27506         Likewise.
27507         * conform/data/math.h-data
27508         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
27509         function.
27510         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
27511         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
27512         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
27513         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
27514         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
27515         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
27516         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
27517         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
27518         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
27519         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
27520         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
27522         [BZ #6803]
27523         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
27524         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
27525         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
27526         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
27527         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
27528         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
27529         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
27530         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
27531         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27532         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
27533         Likewise.
27534         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27535         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
27536         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
27537         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
27538         long_double_symbol calls.
27539         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
27540         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
27541         strong alias of __ldexpl.
27542         (scalbnl): Define using long_double_symbol.
27543         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
27544         Remove alias.
27545         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
27546         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
27547         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
27548         (scalbln_test_data): Add more errno expectations.
27550 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
27552         Cache the host port like we cache the task port.  This way we do not
27553         need to call the kernel just to get the port.  Furthermore, we no
27554         longer increase the reference count on every invocation of
27555         `mach_host_self'.
27557         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
27558         Protect declarations against the macro expansion.
27559         * mach/mach_init.c (__mach_host_self_): New variable.
27560         (mach_init): Initialize `__mach_host_self_'.
27561         * mach/mach_init.h (__mach_host_self_): New declaration.
27562         (__mach_host_self, mach_host_self): New macros.
27563         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27564         Release reference.
27566 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27568         [BZ #4404]
27569         * po/de.po: Update from Translation Project.
27571         [BZ #16415]
27572         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27573         (__expm1l): Remove code to handle positive infinity and overflow.
27574         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27575         variable.
27576         (__expm1l): Remove code to handle positive infinity and overflow.
27578 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27579             Paul Pluzhnikov  <ppluzhnikov@google.com>
27581         [BZ #18872]
27582         * stdio-common/Makefile (tst-printf-bz18872): New test.
27583         (tst-printf-bz18872-mem.out): Likewise.
27584         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27585         * stdio-common/vfprintf.c: Fix memory leaks.
27587 2015-09-16  Andreas Schwab  <schwab@suse.de>
27589         [BZ #17244]
27590         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27591         Remove extra va_start/va_end calls.
27593         [BZ #17243]
27594         * posix/execl.c (execl): Add missing va_end.
27595         * posix/execle.c (execle): Likewise.
27596         * posix/execlp.c (execlp): Likewise.
27598 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27600         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27601         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27603 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27605         [BZ #18967]
27606         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27607         undefine around includes of <bits/mathcalls.h>.
27608         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27609         not declare function.
27610         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27611         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27612         (scalb): Likewise.
27613         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27614         not define macro.
27615         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27616         variable.
27617         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27618         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27619         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27621         [BZ #18857]
27622         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
27623         return non-finite argument without doing ordered comparisons on
27624         it.
27626         [BZ #16296]
27627         * math/fenv.h (fegetround): Use __attribute_pure__.
27628         * include/fenv.h (__fegetround): Likewise.
27630         [BZ #18595]
27631         * math/s_ctan.c (__ctan): Force underflow exception for results
27632         whose real or imaginary part has small absolute value.
27633         * math/s_ctanf.c (__ctanf): Likewise.
27634         * math/s_ctanh.c (__ctanh): Likewise.
27635         * math/s_ctanhf.c (__ctanhf): Likewise.
27636         * math/s_ctanhl.c (__ctanhl): Likewise.
27637         * math/s_ctanl.c (__ctanl): Likewise.
27638         * math/auto-libm-test-in: Do not allow missing underflow for ctan
27639         and ctanh.  Add more tests of ctan and ctanh.
27641         [BZ #15918]
27642         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
27643         handling of cases where one argument is an infinity.
27645         [BZ #18875]
27646         [BZ #18966]
27647         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
27648         (MO): New macro.
27649         (__ieee754_exp10): For small results, force underflow exception
27650         and remove excess range and precision from return value.
27651         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
27652         (MO): New macro.
27653         (__ieee754_exp10f): For small results, force underflow exception
27654         and remove excess range and precision from return value.
27655         * math/auto-libm-test-in: Add more tests of exp10.
27656         * math/auto-libm-test-out: Regenerated.
27658 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
27660         [BZ #18875]
27661         [BZ #18961]
27662         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
27663         (MO): New macro.
27664         (__ieee754_exp): For small results, force underflow exception and
27665         remove excess range and precision from return value.
27666         (__exp_finite): Likewise.
27667         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
27668         (MO): New macro.
27669         (__ieee754_expf): For small results, force underflow exception and
27670         remove excess range and precision from return value.
27671         (__expf_finite): Likewise.
27672         * math/auto-libm-test-in: Add more tests of exp.
27673         * math/auto-libm-test-out: Regenerated.
27675         [BZ #16521]
27676         [BZ #18875]
27677         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
27678         small results.
27679         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
27680         (MO): New macro.
27681         (__ieee754_exp2): For small results, force underflow exception and
27682         remove excess range and precision from return value.
27683         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27684         (MO): New macro.
27685         (__ieee754_exp2f): For small results, force underflow exception
27686         and remove excess range and precision from return value.
27687         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
27688         (MO): New macro.
27689         (__ieee754_exp2l): Force underflow exception for small results.
27690         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27691         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27692         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
27693         (MO): New macro.
27694         (__ieee754_exp2l): Force underflow exception for small results.
27695         * math/auto-libm-test-in: Add more tests or exp2.
27696         * math/auto-libm-test-out: Regenerated.
27698 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
27700         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
27702         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
27703         /dev/null.
27705 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27707         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27708         io fs process)): Drop spurious backslash.
27710 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27712         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
27713         Use sysinfo system call instead of parsing /proc/meminfo.
27714         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
27715         Likewise.
27717 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
27719         [BZ #16985]
27720         * programs/localedef.c (main): Display argv[remaining] when
27721         output_path is NULL.
27723 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27725         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27726         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
27727         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
27728         tanh.
27729         * math/auto-libm-test-out: Regenerated.
27730         * sysdeps/i386/fpu/libm-test-ulps: Update.
27731         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27732         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27735 2015-09-11  Roland McGrath  <roland@hack.frob.com>
27737         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
27738         Use 'override' keyword to freeze the value here, preventing
27739         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
27741 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27743         [BZ #14912]
27744         * sysdeps/aarch64/bits/atomic.h: Move to ...
27745         * sysdeps/aarch64/atomic-machine.h: ...here.
27746         (_AARCH64_BITS_ATOMIC_H): Rename macro to
27747         _AARCH64_ATOMIC_MACHINE_H.
27748         * sysdeps/alpha/bits/atomic.h: Move to ...
27749         * sysdeps/alpha/atomic-machine.h: ...here.
27750         * sysdeps/arm/bits/atomic.h: Move to ...
27751         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
27752         * bits/atomic.h: Move to ...
27753         * sysdeps/generic/atomic-machine.h: ...here.
27754         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27755         * sysdeps/i386/bits/atomic.h: Move to ...
27756         * sysdeps/i386/atomic-machine.h: ...here.
27757         * sysdeps/ia64/bits/atomic.h: Move to ...
27758         * sysdeps/ia64/atomic-machine.h: ...here.
27759         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
27760         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
27761         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27762         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
27763         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
27764         * sysdeps/microblaze/bits/atomic.h: Move to ...
27765         * sysdeps/microblaze/atomic-machine.h: ...here.
27766         * sysdeps/mips/bits/atomic.h: Move to ...
27767         * sysdeps/mips/atomic-machine.h: ...here.
27768         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
27769         * sysdeps/powerpc/bits/atomic.h: Move to ...
27770         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
27771         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
27772         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
27773         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
27774         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
27775         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
27776         <atomic-machine.h> instead of <bits/atomic.h>.
27777         * sysdeps/s390/bits/atomic.h: Move to ...
27778         * sysdeps/s390/atomic-machine.h: ...here.
27779         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
27780         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
27781         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27782         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
27783         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
27784         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
27785         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
27786         * sysdeps/tile/bits/atomic.h: Move to ...
27787         * sysdeps/tile/atomic-machine.h: ...here.
27788         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
27789         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
27790         <sysdeps/tile/atomic-machine.h> instead of
27791         <sysdeps/tile/bits/atomic.h>.
27792         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27793         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
27794         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
27795         <sysdeps/tile/atomic-machine.h> instead of
27796         <sysdeps/tile/bits/atomic.h>.
27797         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27798         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
27799         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
27800         <sysdeps/arm/atomic-machine.h> instead of
27801         <sysdeps/arm/bits/atomic.h>.
27802         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
27803         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
27804         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27805         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
27806         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
27807         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27808         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
27809         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
27810         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
27811         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
27812         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
27813         * sysdeps/x86_64/bits/atomic.h: Move to ...
27814         * sysdeps/x86_64/atomic-machine.h: ...here.
27815         * include/atomic.h: Include <atomic-machine.h> instead of
27816         <bits/atomic.h>.
27818         * sysdeps/mips/mips32/libm-test-ulps: Update.
27819         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27821         [BZ #18952]
27822         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
27823         not convert non-integer negative arguments to int to determine the
27824         value of signgam.
27825         * math/auto-libm-test-in: Add more tests of lgamma.
27826         * math/auto-libm-test-out: Regenerated.
27828         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
27829         cosh, csqrt, erfc, expm1 and lgamma.
27830         * math/auto-libm-test-out: Regenerated.
27831         * sysdeps/i386/fpu/libm-test-ulps: Update.
27832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27834 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
27836         [BZ #2542]
27837         [BZ #2543]
27838         [BZ #2558]
27839         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
27840         __lgamma_neg for arguments from -28.0 to -2.0.
27841         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
27842         __lgamma_negf for arguments from -15.0 to -2.0.
27843         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27844         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
27845         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
27846         Call __lgamma_negl for arguments from -33.0 to -2.0.
27847         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
27848         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
27849         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
27850         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
27851         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
27852         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
27853         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
27854         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
27855         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
27856         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
27857         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
27858         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
27859         (__lgamma_neg): Likewise.
27860         (__lgamma_negl): Likewise.
27861         (__lgamma_product): Likewise.
27862         (__lgamma_productl): Likewise.
27863         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
27864         * math/auto-libm-test-in: Add more tests of lgamma.
27865         * math/auto-libm-test-out: Regenerated.
27866         * sysdeps/i386/fpu/libm-test-ulps: Update.
27867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27869 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
27871         [BZ #18675]
27872         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
27874 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
27876         [BZ #14912]
27877         * bits/libc-lock.h: Move to ...
27878         * sysdeps/generic/libc-lock.h: ...here.
27879         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27880         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
27881         * sysdeps/mach/hurd/libc-lock.h: ...here.
27882         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27883         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
27884         * sysdeps/mach/bits/libc-lock.h: Move to ...
27885         * sysdeps/mach/libc-lock.h: ...here.
27886         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27887         * sysdeps/nptl/bits/libc-lock.h: Move to ...
27888         * sysdeps/nptl/libc-lock.h: ...here.
27889         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27890         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
27891         * sysdeps/nptl/libc-lockP.h: ...here.
27892         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
27893         * crypt/crypt_util.c: Include <libc-lock.h> instead of
27894         <bits/libc-lock.h>.
27895         * dirent/scandir-tail.c: Likewise.
27896         * dlfcn/dlerror.c: Likewise.
27897         * elf/dl-close.c: Likewise.
27898         * elf/dl-iteratephdr.c: Likewise.
27899         * elf/dl-lookup.c: Likewise.
27900         * elf/dl-open.c: Likewise.
27901         * elf/dl-support.c: Likewise.
27902         * elf/dl-writev.h: Likewise.
27903         * elf/rtld.c: Likewise.
27904         * grp/fgetgrent.c: Likewise.
27905         * gshadow/fgetsgent.c: Likewise.
27906         * gshadow/sgetsgent.c: Likewise.
27907         * iconv/gconv_conf.c: Likewise.
27908         * iconv/gconv_db.c: Likewise.
27909         * iconv/gconv_dl.c: Likewise.
27910         * iconv/gconv_int.h: Likewise.
27911         * iconv/gconv_trans.c: Likewise.
27912         * include/link.h: Likewise.
27913         * inet/getnameinfo.c: Likewise.
27914         * inet/getnetgrent.c: Likewise.
27915         * inet/getnetgrent_r.c: Likewise.
27916         * intl/bindtextdom.c: Likewise.
27917         * intl/dcigettext.c: Likewise.
27918         * intl/finddomain.c: Likewise.
27919         * intl/gettextP.h: Likewise.
27920         * intl/loadmsgcat.c: Likewise.
27921         * intl/localealias.c: Likewise.
27922         * intl/textdomain.c: Likewise.
27923         * libidn/idn-stub.c: Likewise.
27924         * libio/libioP.h: Likewise.
27925         * locale/duplocale.c: Likewise.
27926         * locale/freelocale.c: Likewise.
27927         * locale/newlocale.c: Likewise.
27928         * locale/setlocale.c: Likewise.
27929         * login/getutent_r.c: Likewise.
27930         * login/getutid_r.c: Likewise.
27931         * login/getutline_r.c: Likewise.
27932         * login/utmp-private.h: Likewise.
27933         * login/utmpname.c: Likewise.
27934         * malloc/mtrace.c: Likewise.
27935         * misc/efgcvt.c: Likewise.
27936         * misc/error.c: Likewise.
27937         * misc/fstab.c: Likewise.
27938         * misc/getpass.c: Likewise.
27939         * misc/mntent.c: Likewise.
27940         * misc/syslog.c: Likewise.
27941         * nis/nis_call.c: Likewise.
27942         * nis/nis_callback.c: Likewise.
27943         * nis/nss-default.c: Likewise.
27944         * nis/nss_compat/compat-grp.c: Likewise.
27945         * nis/nss_compat/compat-initgroups.c: Likewise.
27946         * nis/nss_compat/compat-pwd.c: Likewise.
27947         * nis/nss_compat/compat-spwd.c: Likewise.
27948         * nis/nss_nis/nis-alias.c: Likewise.
27949         * nis/nss_nis/nis-ethers.c: Likewise.
27950         * nis/nss_nis/nis-grp.c: Likewise.
27951         * nis/nss_nis/nis-hosts.c: Likewise.
27952         * nis/nss_nis/nis-network.c: Likewise.
27953         * nis/nss_nis/nis-proto.c: Likewise.
27954         * nis/nss_nis/nis-pwd.c: Likewise.
27955         * nis/nss_nis/nis-rpc.c: Likewise.
27956         * nis/nss_nis/nis-service.c: Likewise.
27957         * nis/nss_nis/nis-spwd.c: Likewise.
27958         * nis/nss_nisplus/nisplus-alias.c: Likewise.
27959         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
27960         * nis/nss_nisplus/nisplus-grp.c: Likewise.
27961         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
27962         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
27963         * nis/nss_nisplus/nisplus-network.c: Likewise.
27964         * nis/nss_nisplus/nisplus-proto.c: Likewise.
27965         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
27966         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
27967         * nis/nss_nisplus/nisplus-service.c: Likewise.
27968         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
27969         * nis/ypclnt.c: Likewise.
27970         * nptl/libc_pthread_init.c: Likewise.
27971         * nss/getXXbyYY.c: Likewise.
27972         * nss/getXXent.c: Likewise.
27973         * nss/getXXent_r.c: Likewise.
27974         * nss/nss_db/db-XXX.c: Likewise.
27975         * nss/nss_db/db-netgrp.c: Likewise.
27976         * nss/nss_db/nss_db.h: Likewise.
27977         * nss/nss_files/files-XXX.c: Likewise.
27978         * nss/nss_files/files-alias.c: Likewise.
27979         * nss/nsswitch.c: Likewise.
27980         * posix/regex_internal.h: Likewise.
27981         * posix/wordexp.c: Likewise.
27982         * pwd/fgetpwent.c: Likewise.
27983         * resolv/res_hconf.c: Likewise.
27984         * resolv/res_libc.c: Likewise.
27985         * shadow/fgetspent.c: Likewise.
27986         * shadow/lckpwdf.c: Likewise.
27987         * shadow/sgetspent.c: Likewise.
27988         * socket/opensock.c: Likewise.
27989         * stdio-common/reg-modifier.c: Likewise.
27990         * stdio-common/reg-printf.c: Likewise.
27991         * stdio-common/reg-type.c: Likewise.
27992         * stdio-common/vfprintf.c: Likewise.
27993         * stdio-common/vfscanf.c: Likewise.
27994         * stdlib/abort.c: Likewise.
27995         * stdlib/cxa_atexit.c: Likewise.
27996         * stdlib/fmtmsg.c: Likewise.
27997         * stdlib/random.c: Likewise.
27998         * stdlib/setenv.c: Likewise.
27999         * string/strsignal.c: Likewise.
28000         * sunrpc/auth_none.c: Likewise.
28001         * sunrpc/bindrsvprt.c: Likewise.
28002         * sunrpc/create_xid.c: Likewise.
28003         * sunrpc/key_call.c: Likewise.
28004         * sunrpc/rpc_thread.c: Likewise.
28005         * sysdeps/arm/backtrace.c: Likewise.
28006         * sysdeps/generic/ldsodefs.h: Likewise.
28007         * sysdeps/generic/stdio-lock.h: Likewise.
28008         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28009         * sysdeps/i386/backtrace.c: Likewise.
28010         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28011         * sysdeps/m68k/backtrace.c: Likewise.
28012         * sysdeps/mach/hurd/cthreads.c: Likewise.
28013         * sysdeps/mach/hurd/dirstream.h: Likewise.
28014         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28015         * sysdeps/nptl/malloc-machine.h: Likewise.
28016         * sysdeps/nptl/stdio-lock.h: Likewise.
28017         * sysdeps/posix/dirstream.h: Likewise.
28018         * sysdeps/posix/getaddrinfo.c: Likewise.
28019         * sysdeps/posix/system.c: Likewise.
28020         * sysdeps/pthread/aio_suspend.c: Likewise.
28021         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28022         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28023         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28024         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28025         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28026         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28027         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28028         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28029         * sysdeps/unix/sysv/linux/system.c: Likewise.
28030         * sysdeps/x86_64/backtrace.c: Likewise.
28031         * time/alt_digit.c: Likewise.
28032         * time/era.c: Likewise.
28033         * time/tzset.c: Likewise.
28034         * wcsmbs/wcsmbsload.c: Likewise.
28035         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28036         instead of <bits/libc-lock.h> in comment.
28038 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28040         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28041         Only use .set mips2 if the current ISA is below mips2.
28042         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28043         Likewise.
28044         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28045         mips32r2 if the current ISA is below mips32r2.
28046         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28047         (TLS_IE): Updated to use the TLD_RDHWR macro.
28048         (TLS_LE): Likewise.
28049         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28050         __ASSEMBLER__ condition.
28052 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28054         Fix parallel build of before-compile targets.
28056         * sysdeps/mach/Makefile ($(patsubst
28057         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28058         mach-before-compile target.
28059         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28060         io fs process)): Move rule to dedicated hurd-before-compile target.
28062 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28064         Fix rules generating headers in hurd/ and mach/ when initial make call
28065         has subdir= explicitly set.
28067         * sysdeps/mach/Makefile ($(patsubst
28068         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28069         calling $(MAKE).
28070         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28071         io fs process)): Force subdir to hurd when calling $(MAKE).
28072         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28073         subdir to mach when calling $(MAKE).
28075 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28077         Check sysheaders when looking for Mach and Hurd headers
28079         * sysdeps/mach/configure.ac: Add sysheaders check.
28080         * sysdeps/mach/configure: Regenerate.
28081         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28082         * sysdeps/mach/hurd/configure: Regenerate.
28084 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28086         [BZ #18921]
28087         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28088         Fix inverted sense of test of 'o_directory_works' value.
28089         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28090         Bernhard Voelker <mail@bernhard-voelker.de>.
28092 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28094         [BZ #14912]
28095         * bits/linkmap.h: Move to ...
28096         * sysdeps/generic/linkmap.h: ...here.
28097         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28098         * sysdeps/aarch64/linkmap.h: ...here.
28099         * sysdeps/arm/bits/linkmap.h: Move to ...
28100         * sysdeps/arm/linkmap.h: ...here.
28101         * sysdeps/hppa/bits/linkmap.h: Move to ...
28102         * sysdeps/hppa/linkmap.h: ...here.
28103         * sysdeps/ia64/bits/linkmap.h: Move to ...
28104         * sysdeps/ia64/linkmap.h: ...here.
28105         * sysdeps/mips/bits/linkmap.h: Move to ...
28106         * sysdeps/mips/linkmap.h: ...here.
28107         * sysdeps/s390/bits/linkmap.h: Move to ...
28108         * sysdeps/s390/linkmap.h: ...here.
28109         * sysdeps/sh/bits/linkmap.h: Move to ...
28110         * sysdeps/sh/linkmap.h: ...here.
28111         * sysdeps/x86/bits/linkmap.h: Move to ...
28112         * sysdeps/x86/linkmap.h: ...here.
28113         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28115 2015-09-04  Andreas Schwab  <schwab@suse.de>
28117         [BZ #18635]
28118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28119         (__makecontext): Terminate FDE before return label.
28120         (__novec_makecontext): Likewise.
28122 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28124         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28125         first member of struct sv in syscall macro.
28127 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28129         [BZ #14912]
28130         * bits/stdio-lock.h: Move to ...
28131         * sysdeps/generic/stdio-lock.h: ...here.
28132         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28133         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28134         * sysdeps/nptl/stdio-lock.h: ...here.
28135         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28136         * include/libio.h: Include <stdio-lock.h> instead of
28137         <bits/stdio-lock.h>.
28138         * sysdeps/nptl/fork.c: Likewise.
28139         * sysdeps/pthread/flockfile.c: Likewise.
28140         * sysdeps/pthread/ftrylockfile.c: Likewise.
28141         * sysdeps/pthread/funlockfile.c: Likewise.
28143         [BZ #14912]
28144         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28145         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28146         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28147         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28148         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28149         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28150         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28152 2015-09-03  Roland McGrath  <roland@hack.frob.com>
28154         * elf/Makefile (test-xfail-tst-protected1a): New variable.
28155         (test-xfail-tst-protected1b): New variable.
28157 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
28159         [BZ #14912]
28160         * bits/libc-tsd.h: Move to ...
28161         * sysdeps/generic/libc-tsd.h: ...here.
28162         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28163         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28164         * sysdeps/mach/hurd/libc-tsd.h: ...here.
28165         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28166         * include/ctype.h: Include <libc-tsd.h> instead of
28167         <bits/libc-tsd.h>.
28168         * include/rpc/rpc.h: Likewise.
28169         * locale/localeinfo.h: Likewise.
28170         * sunrpc/rpc_thread.c: Likewise.
28171         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28172         * sysdeps/nptl/malloc-machine.h: Likewise.
28174         * Makefile (headers): Remove bits/libc-lock.h.
28175         * libio/Makefile (headers): Remove bits/stdio-lock.h.
28177         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28178         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28179         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28180         <bits/stdio-lock.h>.
28181         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28182         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28184 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28186         [BZ #18757]
28187         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28188         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28189         BZ #18757.
28191 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28193         * malloc/mtrace.pl: Filter out NULL entries.
28195 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
28197         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28198         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28199         macro.
28201         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28202         (TCP_CC_INFO): Likewise.
28203         (TCP_SAVE_SYN): Likewise.
28204         (TCP_SAVED_SYN): Likewise.
28206 2015-08-31  Brett Neumeier <brett@neumeier.us>
28208         [BZ #18870]
28209         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28211 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
28213         [BZ #18873]
28214         Fix broken overflow check in posix_fallocate
28215         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28216         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28217         Fix parenthesization typo.
28219 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
28221         [BZ #18887]
28222         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28223         tst-mntent-blank-passno.
28224         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28225         * misc/tst-mntent-blank-corrupt.c: New test.
28226         * misc/tst-mntent-blank-passno.c: New test ripped from ...
28227         * misc/tst-mntent.c (do_test): ... here.
28229 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
28231         [BZ #4404]
28232         * po/de.po: Fix SIGALRM typo.
28234 2015-08-28  James Perkins  <james@loowit.net>
28236         * time/tst-strptime2.c (tests): Replace short list of test
28237         strings for strptime %z specifier with code which exhaustively
28238         tests every combination of sign and 0 to 5 digits. Tests for
28239         rejection of invalid strings.
28241 2015-08-28  James Perkins  <james@loowit.net>
28243         [BZ #16141]
28244         * time/strptime_l.c (__strptime_internal): Fix %z minutes
28245         calculation, removing incorrect decimal time rounding, so that
28246         all minute values result in a valid seconds value.
28247         * time/strptime_l.c (__strptime_internal): Extend %z time zone
28248         offset range limits to UTC-99:59 through UTC+99:59 to parse
28249         current and historical use cases.
28250         * time/tst-strptime2.c (tests): Modify and add tests for the
28251         strptime %z input field descriptor, specifically conversion of
28252         minutes to seconds and validating an offset range of -9959 to
28253         +9959.
28255 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28256             Dmitry V. Levin  <ldv@altlinux.org>
28258         [BZ #18877]
28259         * posix/Makefile (tests): Add tst-mmap-offset.
28260         * posix/tst-mmap.c: New file.
28261         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
28262         offset calculation for negative values.
28264 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28266         * sysdeps/i386/init-arch.h: New file.
28267         * sysdeps/i386/i586/init-arch.h: Likewise.
28268         * sysdeps/i386/i686/init-arch.h: Likewise.
28269         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
28270         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
28271         * sysdeps/x86/cpu-features.h (bit_I586): New.
28272         (bit_I686): Likewise.
28273         (bit_CX8): Likewise.
28274         (bit_CMOV): Likewise.
28275         (index_CX8): Likewise.
28276         (index_CMOV): Likewise.
28277         (index_I586): Likewise.
28278         (index_I686): Likewise.
28279         (reg_CX8): Likewise.
28280         (reg_CMOV): Likewise.
28281         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28282         available at compile-time.
28283         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
28284         available at compile-time.
28285         * sysdeps/x86/init-arch.h (USE_I586): New macro.
28286         (USE_I686): Likewise.
28288 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28290         * sysdeps/i386/bcopy.S: New file.
28291         * sysdeps/i386/bzero.S: Likewise.
28292         * sysdeps/i386/memcpy.S: Likewise.
28293         * sysdeps/i386/memmove.S: Likewise.
28294         * sysdeps/i386/mempcpy.S: Likewise.
28295         * sysdeps/i386/memset.S: Likewise.
28296         * sysdeps/i386/bzero.c: Removed.
28297         * sysdeps/i386/memset.c: Likewise.
28298         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
28299         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
28300         * sysdeps/i386/i586/memset_chk.S: Likewise.
28301         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
28302         * sysdeps/i386/memcpy_chk.S: Here.
28303         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
28304         * sysdeps/i386/memmove_chk.S: Here.
28305         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
28306         * sysdeps/i386/mempcpy_chk.S: Likewise.
28307         * sysdeps/i386/i686/memset_chk.S: Moved to ...
28308         * sysdeps/i386/memset_chk.S: Likewise.
28310 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
28312         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
28313         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
28314         file, move DIAG_POP_NEEDS_COMMENT to end of file.
28315         * soft-fp/fmadf4.c: Ditto.
28316         * soft-fp/fmatf4.c: Ditto.
28318 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28320         * sysdeps/i386/i586/Implies: Removed.
28321         * sysdeps/i386/i686/Implies: Likewise.
28323 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28325         * sysdeps/i386/i486/strlen.S: Moved to ...
28326         * sysdeps/i386/strlen.S: Here.
28328 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28330         * sysdeps/i386/i486/strcat.S: Moved to ...
28331         * sysdeps/i386/strcat.S: Here.
28333 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28335         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
28336         * sysdeps/i386/pthread_spin_trylock.S: Here.
28337         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
28338         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
28340 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28342         * sysdeps/i386/i486/string-inlines.c: Moved to ...
28343         * sysdeps/i386/string-inlines.c: Here.
28345 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28347         * sysdeps/i386/i486/htonl.S: Moved ...
28348         * sysdeps/i386/htonl.S: here.
28350 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28352         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
28353         * sysdeps/i386/bits/atomic.h: Here.
28355 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28357         * sysdeps/i386/i486/Versions: Removed.
28359 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28361         [BZ #2898]
28362         * misc/mktemp.c: Add mkdtemp to the link_warning message.
28363         Based on patch by Aurelien Jarno.
28365 2015-08-26  Stan Shebs  <stanshebs@google.com>
28367         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
28368         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28370 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28372         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
28373         * sysdeps/powerpc/dl-procinfo.c:
28374         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
28375         feature so it shows when LD_SHOW_AUXV=1.
28377 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28379         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28380         (__arch_compare_and_exchange_val_32_acq): Remove and use common
28381         definition.  ISA 2.07B no longer requires full sync.
28383 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
28385         [BZ #18863]
28386         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
28387         (si_call_addr): Define.
28388         (si_syscall): Define.
28389         (si_arch): Define.
28391 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
28393         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
28394         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
28395         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
28396         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28397         (__memset_zero_constant_len_parameter): New.
28398         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
28399         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28400         (__memset_zero_constant_len_parameter): Don't define if
28401         __memset_chk or USE_AS_BZERO are defined.
28403         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
28404         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
28405         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
28407         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
28408         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
28409         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
28410         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
28411         comments.
28412         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
28413         -mno-mmx for $(all-rtld-routines).
28414         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
28415         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
28416         i386.
28418 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28420         * sysdeps/generic/unwind.h
28421         (_Unwind_Word): Use __mode__(__unwind_word__)
28422         instead of __mode__(__word__).
28423         (_Unwind_Sword): Likewise.
28425         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28426         (MAX_NEEDED_INPUT): New define.
28427         (MAX_NEEDED_OUTPUT): New define.
28429         * NEWS: New item for IBM z13 string optimizations.
28431         * sysdeps/s390/multiarch/memrchr-c.c: New File.
28432         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
28433         * sysdeps/s390/multiarch/memrchr.c: Likewise.
28434         * sysdeps/s390/multiarch/Makefile
28435         (sysdep_routines): Add memrchr functions.
28436         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28437         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
28439         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
28440         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
28441         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
28442         * sysdeps/s390/multiarch/Makefile
28443         (sysdep_routines): Add wmemcmp functions.
28444         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28445         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
28446         * benchtests/bench-wmemcmp.c: New File.
28447         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
28449         * sysdeps/s390/multiarch/wmemset-c.c: New File.
28450         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
28451         * sysdeps/s390/multiarch/wmemset.c: Likewise.
28452         * sysdeps/s390/multiarch/Makefile
28453         (sysdep_routines): Add wmemset functions.
28454         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28455         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
28456         * wcsmbs/wmemset.c: Use WMEMSET if defined.
28457         * string/test-memset.c: Add wmemset support.
28458         * wcsmbs/test-wmemset.c: New File.
28459         * wcsmbs/Makefile (strop-tests): Add wmemset.
28460         * benchtests/bench-memset.c: Add wmemset support.
28461         * benchtests/bench-wmemset.c: New File.
28462         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
28464         * sysdeps/s390/multiarch/memccpy-c.c: New File.
28465         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
28466         * sysdeps/s390/multiarch/memccpy.c: Likewise.
28467         * sysdeps/s390/multiarch/Makefile
28468         (sysdep_routines): Add memccpy functions.
28469         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28470         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
28471         * string/memccpy.c: Use MEMCCPY if defined.
28473         * sysdeps/s390/multiarch/memchr-vx.S: New File.
28474         * sysdeps/s390/multiarch/memchr.c: Likewise.
28475         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
28476         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
28477         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
28478         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
28479         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
28480         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
28481         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
28482         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
28483         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
28484         and rawmemchr functions.
28485         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28486         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
28487         and wmemchr.
28488         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
28489         * string/test-memchr.c: Add wmemchr support.
28490         * wcsmbs/test-wmemchr.c: New File.
28491         * wcsmbs/Makefile (strop-tests): Add wmemchr.
28492         * benchtests/bench-memchr.c: Add wmemchr support.
28493         * benchtests/bench-wmemchr.c: New File.
28494         * benchtests/Makefile (wcsmbs-bench): wmemchr.
28496         * sysdeps/s390/multiarch/strcspn-c.c: New File.
28497         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
28498         * sysdeps/s390/multiarch/strcspn.c: Likewise.
28499         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
28500         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
28501         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
28502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
28503         wcscspn functions.
28504         * sysdeps/s390/multiarch/ifunc-impl-list.c
28505         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
28506         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
28507         * string/test-strcspn.c: Add wcscspn support.
28508         * wcsmbs/test-wcscspn.c: New File.
28509         * wcsmbs/Makefile (strop-tests): Add wcscspn.
28510         * benchtests/bench-strcspn.c: Add wcscspn support.
28511         * benchtests/bench-wcscspn.c: New File.
28512         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
28514         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
28515         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
28516         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
28517         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
28518         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
28519         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
28520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
28521         wcspbrk functions.
28522         * sysdeps/s390/multiarch/ifunc-impl-list.c
28523         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
28524         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
28525         * string/test-strpbrk.c: Add wcspbrk support.
28526         * wcsmbs/test-wcspbrk.c: New File.
28527         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
28528         * benchtests/bench-strpbrk.c: Add wcspbrk support.
28529         * benchtests/bench-wcspbrk.c: New File.
28530         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
28532         * sysdeps/s390/multiarch/strspn-c.c: New File.
28533         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
28534         * sysdeps/s390/multiarch/strspn.c: Likewise.
28535         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
28536         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
28537         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
28538         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
28539         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
28540         wcsspn functions.
28541         * sysdeps/s390/multiarch/ifunc-impl-list.c
28542         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
28543         * string/test-strspn.c: Add wcsspn support.
28544         * wcsmbs/test-wcsspn.c: New File.
28545         * wcsmbs/Makefile (strop-tests): Add wcsspn.
28546         * benchtests/bench-strspn.c: Add wcsspn support.
28547         * benchtests/bench-wcsspn.c: New File.
28548         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
28550         * sysdeps/s390/multiarch/strrchr-c.c: New File.
28551         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
28552         * sysdeps/s390/multiarch/strrchr.c: Likewise.
28553         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
28554         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
28555         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
28556         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
28557         wcsrchr functions.
28558         * sysdeps/s390/multiarch/ifunc-impl-list.c
28559         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
28560         * benchtests/bench-wcsrchr.c: New File.
28561         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28563         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28564         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28565         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28566         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28567         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28568         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28569         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28570         wcschrnul functions.
28571         * sysdeps/s390/multiarch/ifunc-impl-list.c
28572         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28573         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28574         * string/test-strchr.c: Add wcschrnul support.
28575         * wcsmbs/test-wcschrnul.c: New File.
28576         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28577         * benchtests/bench-strchr.c: Add wcschrnul support.
28578         * benchtests/bench-wcschrnul.c: New File.
28579         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28581         * sysdeps/s390/multiarch/strchr-c.c: New File.
28582         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28583         * sysdeps/s390/multiarch/strchr.c: Likewise.
28584         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28585         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28586         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28587         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28588         wcschr functions.
28589         * sysdeps/s390/multiarch/ifunc-impl-list.c
28590         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28591         * string/strchr.c (STRCHR): Define and use macro.
28592         * benchtests/bench-wcschr.c: New File.
28593         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28595         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28596         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28597         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28598         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28599         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28600         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28601         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28602         wcsncmp functions.
28603         * sysdeps/s390/multiarch/ifunc-impl-list.c
28604         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28605         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28606         * benchtests/bench-strncmp.c: Add wcsncmp support.
28607         * benchtests/bench-wcsncmp.c: New File.
28608         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28610         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28611         * sysdeps/s390/multiarch/strcmp.c: Likewise.
28612         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28613         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28614         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28615         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28616         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28617         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28618         wcscmp functions.
28619         * sysdeps/s390/multiarch/ifunc-impl-list.c
28620         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
28621         * string/strcmp.c (STRCMP): Define and use macro.
28622         * benchtests/bench-wcscmp.c: New File.
28623         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
28624         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
28625         instead of _HAVE_STRING_ARCH_memchr.
28627         * sysdeps/s390/multiarch/strncat-c.c: New File.
28628         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
28629         * sysdeps/s390/multiarch/strncat.c: Likewise.
28630         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
28631         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
28632         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
28633         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
28634         wcsncat functions.
28635         * sysdeps/s390/multiarch/ifunc-impl-list.c
28636         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
28637         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
28638         * string/test-strncat.c: Add wcsncat support.
28639         * wcsmbs/test-wcsncat.c: New File.
28640         * wcsmbs/Makefile (strop-tests): Add wcsncat.
28641         * benchtests/bench-strncat.c: Add wcsncat support.
28642         * benchtests/bench-wcsncat.c: New File.
28643         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
28645         * sysdeps/s390/multiarch/strcat-c.c: New File.
28646         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
28647         * sysdeps/s390/multiarch/strcat.c: Likewise.
28648         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
28649         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
28650         * sysdeps/s390/multiarch/wcscat.c: Likewise.
28651         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
28652         wcscat functions.
28653         * sysdeps/s390/multiarch/ifunc-impl-list.c
28654         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
28655         * string/strcat.c (STRCAT): Define and use macro.
28656         * wcsmbs/wcscat.c: Use WCSCAT if defined.
28657         * string/test-strcat.c: Add wcscat support.
28658         * wcsmbs/test-wcscat.c: New File.
28659         * wcsmbs/Makefile (strop-tests): Add wcscat.
28660         * benchtests/bench-strcat.c: Add wcscat support.
28661         * benchtests/bench-wcscat.c: New File.
28662         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
28664         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
28665         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
28666         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
28667         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
28668         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
28669         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
28670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
28671         wcpncpy functions.
28672         * sysdeps/s390/multiarch/ifunc-impl-list.c
28673         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
28674         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
28675         * string/test-stpncpy.c: Add wcpncpy support.
28676         * wcsmbs/test-wcpncpy.c: New File.
28677         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
28678         * benchtests/bench-stpncpy.c: Add wcpncpy support.
28679         * benchtests/bench-wcpncpy.c: New File.
28680         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
28682         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
28683         * sysdeps/s390/multiarch/strncpy.c: Likewise.
28684         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
28685         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
28686         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
28687         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
28688         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
28689         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
28690         wcsncpy functions.
28691         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
28692         * sysdeps/s390/multiarch/ifunc-impl-list.c
28693         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
28694         * string/test-strncpy.c: Add wcsncpy support.
28695         * wcsmbs/test-wcsncpy.c: New File.
28696         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
28697         * benchtests/bench-strncpy.c: Add wcsncpy support.
28698         * benchtests/bench-wcsncpy.c: New File.
28699         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
28701         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
28702         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
28703         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28704         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28705         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
28706         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
28707         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
28708         wcpcpy functions.
28709         * string/stpcpy.c: Use STPCPY if defined.
28710         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
28711         * sysdeps/s390/multiarch/ifunc-impl-list.c
28712         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
28713         * string/test-stpcpy.c: Add wcpcpy support.
28714         * wcsmbs/test-wcpcpy.c: New File.
28715         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
28716         * benchtests/bench-stpcpy.c: Add wcpcpy support.
28717         * benchtests/bench-wcpcpy.c: New File.
28718         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
28720         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
28721         * sysdeps/s390/multiarch/strcpy.c: Likewise.
28722         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
28723         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
28724         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
28725         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
28726         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
28727         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
28728         wcscpy functions.
28729         * sysdeps/s390/multiarch/ifunc-impl-list.c
28730         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
28731         * benchtests/bench-wcscpy.c: New File.
28732         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
28734         * sysdeps/s390/multiarch/strnlen-c.c: New File.
28735         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
28736         * sysdeps/s390/multiarch/strnlen.c: Likewise.
28737         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
28738         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
28739         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
28740         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
28741         wcsnlen functions.
28742         * sysdeps/s390/multiarch/ifunc-impl-list.c
28743         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
28744         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
28745         * string/test-strnlen.c: Add wcsnlen support.
28746         * wcsmbs/test-wcsnlen.c: New File.
28747         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
28748         * benchtests/bench-strnlen.c: Add wcsnlen support.
28749         * benchtests/bench-wcsnlen.c: New File.
28750         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
28752         * sysdeps/s390/multiarch/Makefile: New File.
28753         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
28754         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
28755         * sysdeps/s390/multiarch/strlen.c: Likewise.
28756         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28757         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
28758         * sysdeps/s390/multiarch/wcslen.c: Likewise.
28759         * string/strlen.c (STRLEN): Define and use macro.
28760         * sysdeps/s390/multiarch/ifunc-impl-list.c
28761         (IFUNC_VX_IMPL): New macro function.
28762         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
28763         * benchtests/Makefile (wcsmbs-bench): New variable.
28764         (string-bench-all): Added wcsmbs-bench.
28765         * benchtests/bench-wcslen.c: New File.
28767         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
28768         s390_vx_libc_ifunc2): New macro function.
28770         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
28771         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
28772         assembler support.
28773         * sysdeps/s390/configure: Regenerated.
28775         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
28776         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28778         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
28779         * sysdeps/s390/dl-procinfo.h: Add vector capability.
28780         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
28782         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
28783         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
28784         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
28785         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
28786         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
28787         (memcmp, bcmp): Use __memcmp_default as alias source.
28788         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
28789         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
28790         Rename to __memcmp_default.
28791         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
28792         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
28793         (memcpy): Use __memcpy_default as alias source.
28794         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
28795         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
28796         Rename to __memcpy_default.
28797         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
28798         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
28799         (memset): Use __memset_default as alias source.
28800         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
28801         * sysdeps/s390/s390-32/memset.S (__memset_g5):
28802         Rename to __memset_default.
28803         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
28804         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
28805         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
28806         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
28807         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
28808         (memcmp, bcmp): Use __memcmp_default as alias source.
28809         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
28810         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
28811         Rename to __memcmp_default.
28812         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
28813         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
28814         (memcpy): Use __memcpy_default as alias source.
28815         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
28816         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
28817         Rename to __memcpy_default.
28818         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
28819         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
28820         (memset): Use __memset_default as alias source.
28821         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
28822         * sysdeps/s390/s390-64/memset.S (__memset_z900):
28823         Rename to __memset_default.
28824         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
28825         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
28827         [BZ #18610]
28828         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
28829         __ieee_instruction_pointer to __unused.
28830         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
28831         __ieee_instruction_pointer.
28832         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
28833         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
28834         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28835         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28836         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
28837         Mark dxc-field as reserved.
28839 2015-08-25  Roland McGrath  <roland@hack.frob.com>
28841         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
28842         if the weak reference is not null.
28844 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28846         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
28848         [BZ #11214]
28849         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
28851 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28853         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
28854         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
28855         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
28856         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
28857         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
28858         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
28859         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
28860         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
28861         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
28862         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
28863         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
28864         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
28865         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
28866         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
28867         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
28868         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
28869         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
28870         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
28872 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28874         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
28875         register other than r0 for tabort, it has special meaning.
28876         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
28877         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
28878         transaction before starting syscall.
28880 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28882         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
28884 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28886         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
28888         * sysdeps/x86_64/rtld-memcmp.c: Removed.
28889         * sysdeps/x86_64/rtld-memset.S: Likewise.
28890         * sysdeps/x86_64/rtld-strchr.S: Likewise.
28891         * sysdeps/x86_64/rtld-strlen.S: Likewise.
28892         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
28893         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28895         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
28897 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
28899         * debug/strcpy_chk.c: Improve performance.
28900         * debug/stpcpy_chk.c: Likewise.
28901         * sysdeps/x86_64/strcpy_chk.S: Remove.
28902         * sysdeps/x86_64/stpcpy_chk.S: Remove.
28904         [BZ #18240]
28905         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
28907 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28909         [BZ #15128]
28910         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
28911         ifuncmain8.
28912         (modules-names): Add ifuncmod8.
28913         ($(objpfx)ifuncmain8): New rule.
28914         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
28915         <cpuid.h>.
28916         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
28917         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
28918         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
28919         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
28920         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
28921         * sysdeps/x86_64/dl-trampoline.h: Likewise.
28922         * sysdeps/x86_64/ifuncmain8.c: New file.
28923         * sysdeps/x86_64/ifuncmod8.c: Likewise.
28924         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
28925         Removed.
28926         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
28927         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
28928         Change rtld_savespace_sse to __glibc_unused2.
28929         (RTLD_CHECK_FOREIGN_CALL): Removed.
28930         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
28931         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
28932         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
28934 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28936         * sysdeps/aarch64/bzero.S (__bzero): Remove.
28938 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28940         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
28941         Unconditionally set __fpcr to avoid uninialized warning.
28942         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
28944 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28946         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
28947         is corrupt.
28949         * malloc/arena.c (arena_get2): Drop unused argument.
28950         (arena_lock): Adjust.
28951         (arena_get_retry): Likewise.
28953 2015-08-24  Andreas Schwab  <schwab@suse.de>
28955         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
28956         Don't define.
28957         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
28958         (__ASSUME_IPC64): Don't undef.
28959         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
28960         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28961         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28962         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
28963         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
28964         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
28965         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
28966         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
28967         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
28968         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
28969         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
28970         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
28971         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
28972         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
28973         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
28974         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
28975         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
28976         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
28977         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
28978         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
28979         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
28981 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
28983         * manual/Makefile (install): Only build manual when perl is available.
28985 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
28988         '#undef memcpy' by '#undef memchr'.
28990 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28992         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
28993         memchr not point to the internal __GI_memchr implementation.
28995 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28997         * timezone/Makefile (CFLAGS-zdump.c): Remove
28998         -Wno-strict-prototypes.
28999         (CFLAGS-zic.c): Likewise.
29000         (CFLAGS-ialloc.c): Likewise.
29001         (CFLAGS-scheck.c): Likewise.
29003         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29004         -Wno-error=undef.
29006 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29008         * i386/i686/multiarch/strcasestr-c.c: Removed.
29009         * x86_64/multiarch/strcasestr.c: Likewise.
29010         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29011         Remove strcasestr.
29013 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29015         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29017         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29018         variables for high and low parts before possibly modifying them.
29020 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29022         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29023         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29024         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29025         of "multiarch/init-arch.h".
29026         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29027         * sysdeps/x86/init-arch.h: This.
29029 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29031         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29032         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29034 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29036         [BZ #17787]
29037         * manual/macros.texi: Add twoexp macro.
29038         * manual/filesys.texi: Fix exponents.
29039         * manual/llio.texi: Likewise.
29040         * manual/stdio.texi: Likewise.
29042 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29044         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29045         incorrect use.
29047 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29049         [BZ #18370]
29050         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29051         whose real or imaginary part has small absolute value.
29052         * math/s_csqrtf.c (__csqrtf): Likewise.
29053         * math/s_csqrtl.c (__csqrtl): Likewise.
29054         * math/auto-libm-test-in: Add more tests of csqrt.
29055         * math/auto-libm-test-out: Regenerated.
29056         * sysdeps/i386/fpu/libm-test-ulps: Update.
29058 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29060         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29061         __ppc_set_ppr_very_low): New functions.
29062         * manual/platform.texi: Add documentation about
29063         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29065 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29067         * string/stpncpy.c (stpncpy): Improve performance using
29068         __strnlen/memcpy/memset.
29070 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29072         [BZ #18796]
29073         * scripts/test-installation.pl: Don't add -lmvec to build options if
29074         libmvec wasn't built.
29076 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29078         [BZ #14341]
29079         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29080         case when there is a gap between DT_REL and DT_JMPREL sections.
29081         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29082         (LDFLAGS-tst-split-dynreloc): New.
29083         (tst-split-dynreloc-ENV): Likewise.
29084         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29085         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29087 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29089         [BZ #18822]
29090         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29091         attribute_hidden.
29092         (__xstat64_conv): Likewise.
29093         (__xstat32_conv): Likewise.
29095 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29097         [BZ #18822]
29098         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29099         Don't load %ebx when calling __setcontext.  Call __setcontext
29100         with HIDDEN_JUMPTARGET.
29101         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29102         libc_hidden_def.
29104 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29106         * sysdeps/i386/i686/Makefile
29107         [$(subdir) == string] (sysdep_routines): Moved to ...
29108         * sysdeps/i386/Makefile: Here.
29109         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29110         * sysdeps/i386/cacheinfo.c: Here.
29111         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29112         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29113         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29114         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29116 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29118         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29119         __i586__ is defined.
29120         (HAS_I686): Defined to 1 if __i686__ is defined.
29122 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29124         * elf/Makefile [$(have-z-execstack) = yes]
29125         (CPPFLAGS-tst-execstack.c): New variable.
29127         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29128         conditional to [defined UTMPX || _HAVE_UT_TYPE].
29129         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29130         UTMPX || _HAVE_UT_TV].
29131         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29132         UTMPX || _HAVE_UT_TV - 0].
29134 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
29136         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29137         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29138         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29140 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29142         * sysdeps/powerpc/dl-procinfo.c:
29143         (_dl_powerpc_cap_flags): Added missing strings for some
29144         hwcap features.
29145         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29147 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
29149         Port the 0x7efe...feff pattern to GCC 6.
29150         See Steve Ellcey's bug report in:
29151         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29152         * string/memrchr.c (MEMRCHR):
29153         * string/rawmemchr.c (RAWMEMCHR):
29154         * string/strchr.c (strchr):
29155         * string/strchrnul.c (STRCHRNUL):
29156         Rewrite code to avoid issues with signed shift overflow.
29158 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
29160         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29161         whether cpuid is available only if HAS_CPUID is 0.
29162         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29163         (HAS_I586): Likewise.
29164         (HAS_I686): Likewise.
29166 2015-08-18  Zack Weinberg  <zackw@panix.com>
29168         * misc/Versions (libc): Add GLIBC_2.23.
29170 2015-08-18  Alan Modra  <amodra@gmail.com>
29172         [BZ #18421]
29173         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29174         .Lp__global.
29175         (_start): Load %dp via .Lp__global.
29176         [!SHARED]: Use .section .rodata.
29178 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29180         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29181         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29183 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29185         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29186         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29188 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29190         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29191         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29193 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29195         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29196         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29198 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29200         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29201         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29203 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29205         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29206         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29208 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29210         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29212 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29214         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29215         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
29216         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29217         (__ASSUME_LWS_CAS): Delete.
29219 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29221         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29222         * sysdeps/hppa/configure: Regenerated.
29223         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29224         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29225         * sysdeps/hppa/nptl/tls.h: Likewise.
29227 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
29229         [BZ #18823]
29230         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
29231         for scaling up small arguments.
29232         * math/s_csqrtf.c (__csqrtf): Likewise.
29233         * math/s_csqrtl.c (__csqrtl): Likewise.
29234         * math/auto-libm-test-in: Add more tests of csqrt.
29235         * math/auto-libm-test-out: Regenerated.
29237 2015-08-17  Andreas Schwab  <schwab@suse.de>
29239         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29240         version set GLIBC_2.19.
29242 2015-08-16  Zack Weinberg  <zackw@panix.com>
29244         [BZ #18681]
29245         * misc/regexp.h: This interface is no longer supported.
29246         Remove all contents, leaving only an #error directive.
29247         * misc/regexp.c (loc1, loc2, locs, step, advance):
29248         Demote to compatibility symbols.
29250 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
29252         [BZ #18084]
29253         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
29254         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
29255         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
29256         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
29257         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
29258         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
29259         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
29260         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
29261         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
29263 2015-08-15  Zack Weinberg  <zackw@panix.com>
29265         [BZ #18795]
29266         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
29267         buffer length is known to be too large, not if it's known to be
29268         small enough.
29269         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
29270         overflow at runtime, involving a length parameter, twice: once
29271         with a compile-time constant length parameter, once without.
29273 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
29275         [BZ #18824]
29276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
29277         scaling x * y up instead of down.
29278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29279         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29280         * math/auto-libm-test-in: Add more tests of fma.
29281         * math/auto-libm-test-out: Regenerated.
29283 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29285         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29287 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29289         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
29290         unnecessary movq.
29291         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
29292         Likewise.
29294 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
29296         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29297         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
29298         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
29299         and tgamma.
29300         * math/auto-libm-test-out: Regenerated.
29301         * sysdeps/i386/fpu/libm-test-ulps: Update.
29302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29304         [BZ #16520]
29305         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
29306         (__tanh): Force underflow exception for arguments with small
29307         absolute value.
29308         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
29309         (__tanhf): Force underflow exception for arguments with small
29310         absolute value.
29311         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
29312         (__tanhl): Force underflow exception for arguments with small
29313         absolute value.
29314         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
29315         (__tanhl): Force underflow exception for arguments with small
29316         absolute value.
29317         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
29318         (__tanhl): Force underflow exception for arguments with small
29319         absolute value.
29320         * math/auto-libm-test-in: Add more tests of tanh.
29321         * math/auto-libm-test-out: Regenerated.
29322         * sysdeps/i386/fpu/libm-test-ulps: Update.
29324 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29326         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
29327         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
29329 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29331         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
29332         <cpuid.h>.
29334 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29336         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
29337         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
29339 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29341         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
29342         Remove $(objpfx)init-arch.o.
29343         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
29344         init-arch.
29345         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
29346         (INIT_ARCH_EXT): Defined as empty.
29347         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
29348         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
29349         __init_cpu_features call.  Replace HAS_XXX with
29350         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29351         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
29352         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
29353         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
29354         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
29355         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29356         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
29357         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
29358         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29359         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
29360         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
29361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29362         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
29363         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
29364         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
29366         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
29367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
29370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
29371         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29372         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
29373         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
29374         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29375         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
29376         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
29377         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
29379         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
29380         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29381         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
29382         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
29383         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29384         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
29385         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
29387 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29389         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
29390         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29391         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29392         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29393         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
29394         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
29395         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
29396         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
29397         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
29398         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
29399         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
29400         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
29401         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29402         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29403         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29404         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29405         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29406         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29407         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29408         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29409         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29410         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29411         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29412         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29413         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29414         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29415         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29416         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29417         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29418         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29419         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29420         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29421         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29422         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29423         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29424         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29425         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29426         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29427         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29428         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29429         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29430         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29431         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29433 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29435         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
29436         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29439         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29440         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29441         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29442         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
29443         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29444         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29445         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29446         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
29447         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
29448         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
29449         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
29450         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
29451         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
29452         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
29453         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
29454         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
29455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
29456         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
29457         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
29458         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29459         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29460         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
29461         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
29462         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
29463         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29464         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29465         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29466         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29467         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29468         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29469         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29470         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29471         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29472         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29473         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29474         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29475         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29476         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29477         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29479 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29481         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
29482         (dl_platform_init): Call init_cpu_features.
29483         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
29484         * sysdeps/i386/i686/cacheinfo.c
29485         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
29486         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
29487         * sysdeps/i386/i686/multiarch/Versions: Removed.
29488         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
29489         Removed.
29490         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
29491         * sysdeps/unix/sysv/linux/x86/Makefile
29492         (libpthread-sysdep_routines): Remove init-arch.
29493         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
29494         <sysdeps/x86_64/dl-procinfo.c> instead of
29495         sysdeps/generic/dl-procinfo.c>.
29496         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
29497         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
29498         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
29499         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
29500         [$(subdir) == elf] (tests-static): Add
29501         tst-get-cpu-features-static.
29502         * sysdeps/x86/Versions: New file.
29503         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
29504         * sysdeps/x86/cpu-features.c: Likewise.
29505         * sysdeps/x86/cpu-features.h: Likewise.
29506         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
29507         * sysdeps/x86/libc-start.c: Likewise.
29508         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
29509         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
29510         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
29511         * sysdeps/x86_64/dl-procinfo.c: Likewise.
29512         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
29513         Assume USE_MULTIARCH is defined and don't check it.
29514         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
29515         (is_amd): Likewise.
29516         (max_cpuid): Likewise.
29517         (intel_check_word): Likewise.
29518         (__cache_sysconf): Don't call __init_cpu_features.
29519         (__x86_preferred_memory_instruction): Removed.
29520         (init_cacheinfo): Don't call __init_cpu_features. Replace
29521         __cpu_features with GLRO(dl_x86_cpu_features).
29522         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
29523         (dl_platform_init): Call init_cpu_features.
29524         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
29525         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
29526         * sysdeps/x86_64/multiarch/Versions: Removed.
29527         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
29528         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
29529         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
29530         Removed.
29531         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
29533 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29535         [BZ #18820]
29536         * libio/Makefile (test-fmemopen-mem): New test.
29537         * libio/test-fmemopen.c (do_bz18820): New test.
29538         * libio/fmemopen.c (__fmemopen): Fix memory leak.
29539         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
29541 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29543         [BZ #16734]
29544         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
29545         (FREE_BUF): Delete.
29546         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
29547         * libio/genops.c (_IO_setb): Use malloc and free directly.
29548         (_IO_default_doallocate, _IO_default_finish): Likewise.
29549         ( _IO_unbuffer_all): Likewise.
29550         ( libc_freeres_fn): Likewise.
29551         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29552         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
29553         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
29554         (_IO_wdefault_doallocate): Likewise.
29556 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29558         [BZ #18086]
29559         * sysdeps/posix/nice.c (nice): Restore old errno.
29560         * posix/tst-nice.c (do_test): Add test for BZ #18086.
29562 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
29564         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29566 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29568         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29569         __bcopy and add a weak_alias to bcopy.
29570         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29571         for static build.
29573         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29574         cleanup macro usage.
29575         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29576         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29577         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29578         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29579         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29580         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29581         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29582         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29583         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29584         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29585         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29586         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29587         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29588         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29589         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29591         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29593         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29595         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29596         libc_hidden_def.
29597         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29599         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29600         (sysdep_routines): Add strstr-ppc64.
29601         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29603 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29605         [BZ #18778]
29606         * elf/Makefile (tests): Add Add tst-nodelete2.
29607         (modules-names): Add tst-nodelete2mod.
29608         (tst-nodelete2mod.so-no-z-defs): New.
29609         ($(objpfx)tst-nodelete2): Likewise.
29610         ($(objpfx)tst-nodelete2.out): Likewise.
29611         (LDFLAGS-tst-nodelete2): Likewise.
29612         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29613         out of loop through all loaded libraries.
29614         * elf/tst-nodelete2.c: New file.
29615         * elf/tst-nodelete2mod.c: Likewise.
29616         * elf/tst-znodelete-zlib.cc: Delete.
29618 2015-08-11  Andreas Schwab  <schwab@suse.de>
29620         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
29621         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
29622         (__openat64_nocancel): Likewise.
29624 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
29626         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
29627         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
29628         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
29629         * math/auto-libm-test-out: Regenerated.
29630         * sysdeps/i386/fpu/libm-test-ulps: Update.
29631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29633 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29635         [BZ #18790]
29636         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
29637         threshold for returning +/- 1.
29638         * math/auto-libm-test-in: Add more tests of tanh.
29639         * math/auto-libm-test-out: Regenerated.
29640         * sysdeps/i386/fpu/libm-test-ulps: Update.
29642 2015-08-10  Andreas Schwab  <schwab@suse.de>
29644         [BZ #18781]
29645         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
29646         MORE_OFLAGS to oflag.
29647         * io/test-lfs.c (do_test): Test openat64.
29649 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29651         [BZ #18789]
29652         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
29653         smaller threshold for returning the argument.
29654         * math/auto-libm-test-in: Add more tests of sinh.
29655         * math/auto-libm-test-out: Regenerated.
29656         * sysdeps/i386/fpu/libm-test-ulps: Update.
29658 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29660         [BZ #18674]
29661         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
29662         break.
29664 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
29666         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
29667         (generated): Don't add $(addprefix z.,$(tzfiles)).
29669 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29671         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
29672         * scripts/sysd-rules.awk: Likewise.
29674 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29676         * iconvdata/tst-tables.sh: Change echo -n to printf.
29677         * nss/db-Makefile: Likewise.
29678         * posix/tst-getconf.sh: Likewise.
29679         * stdio-common/tst-unbputc.sh: Likewise.
29681 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29683         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
29684         MADV_*_PAGES defines behind this feature check.
29686 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
29688         [BZ #18480]
29689         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
29690         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
29691         Define.
29692         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
29693         LOAD_REGS_5, LOAD_REGS_6): Update.
29694         (INTERNAL_SYSCALL): Update using new LOAD defines.
29695         (INTERNAL_SYSCALL_NCS): Likewise.
29696         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
29698 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29700         [BZ #16734]
29701         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
29703 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29705         [BZ #17905]
29706         * catgets/Makefile (tst-catgets-mem): New test.
29707         * catgets/catgets.c (catopen): Don't use unbounded alloca.
29708         * catgets/open_catalog.c (__open_catalog): Likewise.
29709         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
29711 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
29713         [BZ #18787]
29714         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
29715         clobber registers.
29716         (atomic_compare_and_exchange_val_acq): Use register asms to assign
29717         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
29718         Cast return to __typeof (oldval).
29720 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
29722         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
29723         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
29724         and delete sys/syscall.h include.
29726 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
29728         [BZ #16517]
29729         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
29730         (tan): Force underflow exception for arguments with small absolute
29731         value.
29732         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
29733         (__kernel_tanf): Force underflow exception for arguments with
29734         small absolute value.
29735         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
29736         (__kernel_tanl): Force underflow exception for arguments with
29737         small absolute value.
29738         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29739         (__kernel_tanl): Force underflow exception for arguments with
29740         small absolute value.
29741         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
29742         (__kernel_tanl): Force underflow exception for arguments with
29743         small absolute value.
29744         * math/auto-libm-test-in: Add more tests of tan.
29745         * math/auto-libm-test-out: Regenerated.
29747 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29749         Fix sysdeps/i386/fpu/s_scalbn.S build
29751         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
29753 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
29755         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29757 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29759         Fix gcrt0.o compilation
29761         When static-start-installed-name is different from
29762         start-installed-name, we must not use the shared objects.
29764         * csu/Makefile
29765         (extra-objs): Add gmon-start.o when building shared library and
29766         $(static-start-installed-name) is different from
29767         $(start-installed-name).
29768         $(objpfx)g$(static-start-installed-name): When building shared
29769         library and $(static-start-installed-name) is different from
29770         $(static-start-installed-name), revert to non-shared rule,
29771         i.e. using $(objpfx)% and gmon-start.o.
29773 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
29775         [BZ #16519]
29776         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
29777         (__ieee754_sinh): Force underflow exception for arguments with
29778         small absolute value.
29779         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
29780         (__ieee754_sinhf): Force underflow exception for arguments with
29781         small absolute value.
29782         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
29783         (__ieee754_sinhl): Force underflow exception for arguments with
29784         small absolute value.
29785         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
29786         (__ieee754_sinhl): Force underflow exception for arguments with
29787         small absolute value.
29788         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
29789         (__ieee754_sinhl): Force underflow exception for arguments with
29790         small absolute value.
29791         * math/auto-libm-test-in: Add more tests of sinh.
29792         * math/auto-libm-test-out: Regenerated.
29793         * sysdeps/i386/fpu/libm-test-ulps: Update.
29795 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29797         * libio/oldfileops.c: Include unistd.h.
29799 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
29801         * stdlib/isomac.c: Include ctype.h.
29803 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
29805         * dirent/tst-seekdir.c (main): Converted to ...
29806         (do_test): ... this.
29807         (TEST_FUNCTION): New macro.
29808         Include test-skeleton.c.
29809         * elf/tst-dlmodcount.c (main): Converted to ...
29810         (do_test): ... this.
29811         (TEST_FUNCTION): New macro.
29812         Include test-skeleton.c.
29813         * elf/tst-order-main.c (main): Converted to ...
29814         (do_test): ... this.
29815         (TEST_FUNCTION): New macro.
29816         Include test-skeleton.c.
29817         * elf/tst-pie2.c (main): Converted to ...
29818         (do_test): ... this.
29819         (TEST_FUNCTION): New macro.
29820         Include test-skeleton.c.
29821         * inet/tst-ether_aton.c (main): Converted to ...
29822         (do_test): ... this.
29823         (TEST_FUNCTION): New macro.
29824         Include test-skeleton.c.
29825         * misc/tst-mntent.c (main): Converted to ...
29826         (do_test): ... this.
29827         (TEST_FUNCTION): New macro.
29828         Include test-skeleton.c.
29829         * misc/tst-tsearch.c (main): Converted to ...
29830         (do_test): ... this.
29831         (TEST_FUNCTION): New macro.
29832         Include test-skeleton.c.
29833         * posix/tst-regexloc.c (main): Converted to ...
29834         (do_test): ... this.
29835         (TEST_FUNCTION): New macro.
29836         Include test-skeleton.c.
29837         * resolv/tst-aton.c (main): Converted to ...
29838         (do_test): ... this.
29839         (TEST_FUNCTION): New macro.
29840         Include test-skeleton.c.
29841         * stdio-common/test-fwrite.c (main): Converted to ...
29842         (do_test): ... this.
29843         (TEST_FUNCTION): New macro.
29844         Include test-skeleton.c.
29845         * stdio-common/tst-ferror.c (main): Converted to ...
29846         (do_test): ... this.
29847         (TEST_FUNCTION): New macro.
29848         Include test-skeleton.c.
29849         * stdio-common/tst-printf.c (main): Converted to ...
29850         (do_test): ... this.
29851         (TEST_FUNCTION): New macro.
29852         Include test-skeleton.c.
29853         * stdio-common/tst-printfsz.c (main): Converted to ...
29854         (do_test): ... this.
29855         (TEST_FUNCTION): New macro.
29856         Include test-skeleton.c.
29857         * stdlib/tst-strtod.c (main): Converted to ...
29858         (do_test): ... this.
29859         (TEST_FUNCTION): New macro.
29860         Include test-skeleton.c.
29861         * string/tst-strlen.c (main): Converted to ...
29862         (do_test): ... this.
29863         (TEST_FUNCTION): New macro.
29864         Include test-skeleton.c.
29865         * string/tst-svc.c (main): Converted to ...
29866         (do_test): ... this.
29867         (TEST_FUNCTION): New macro.
29868         Include test-skeleton.c.
29869         * time/tst-strptime.c (main): Converted to ...
29870         (do_test): ... this.
29871         (TEST_FUNCTION): New macro.
29872         Include test-skeleton.c.
29873         * timezone/tst-timezone.c (main): Converted to ...
29874         (do_test): ... this.
29875         (TEST_FUNCTION): New macro.
29876         Include test-skeleton.c.
29878 2015-08-05  Zack Weinberg  <zackw@panix.com>
29880         * misc/regexp.h: Update comments.
29882 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
29884         [BZ #18635]
29885         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
29886         before return label.
29888 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29890         [BZ #18661]
29891         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
29892         when calling __errno_location.
29893         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
29894         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
29896 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29898         [BZ #18661]
29899         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
29900         (__lll_timedwait_tid): Align stack to 16 bytes when calling
29901         __gettimeofday.
29903 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29905         [BZ #18661]
29906         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29907         (__start_context): Don't use pop to restore %rdi so that stack
29908         is aligned to 16 bytes when calling __setcontext.
29910 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29912         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
29913         only for libc.
29914         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29916 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29918         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
29919         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
29920         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
29922 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29924         * string/memccpy.c (memccpy):
29925         Improve performance by using memchr/memcpy/__mempcpy.
29927 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29929         * string/strncpy.c (strncpy):
29930         Improve performance by using __strnlen/memcpy.
29932 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29934         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29935         Optimize to avoid an unnecessary FPCR read.
29937 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29939         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29940         Optimize to reduce FPCR/FPSR accesses.
29942 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29944         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
29945         dead->data[category] != NULL.
29947 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
29949         [BZ #18647]
29950         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
29951         and |x| close to 1, use absolute value of x when computing log.
29952         * math/auto-libm-test-in: Add more tests of pow.
29953         * math/auto-libm-test-out: Regenerated.
29955 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29957         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
29958         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
29959         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
29961 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
29963         [BZ #18525]
29964         * locales/km_KH: Remove timezone definition.
29965         * locales/lo_LA: Likewise.
29966         * locales/my_MM: Likewise.
29967         * locales/nan_TW@latin: Likewise.
29968         * locales/th_TH: Likewise.
29969         * locales/uk_UA: Likewise.
29971 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29973         [BZ #18265]
29974         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
29975         (wcsncat): Likewise.
29976         (wcscmp): Likewise.
29977         (wcsncmp): Likewise.
29979 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29981         * test-skeleton.c (usage): New function.
29982         (main): Call usage when opt is '?'.
29984 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29986         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
29987         before first use.
29989 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29991         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
29992         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
29993         in there too.
29995 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
29997         * version.h (RELEASE): Set to "development".
29998         (VERSION): Set to "2.22.90"
30000         * version.h (RELEASE): Set to "stable".
30001         (VERSION): Set to "2.22"
30002         * include/features.h (__GLIBC_MINOR__): Set to 22.
30004 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30006         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30007         Restructure macro to avoid "value computed is not used" warning.
30008         (atomic_compare_and_exchange_val_acq): Likewise.
30010 2015-08-04  Andreas Schwab  <schwab@suse.de>
30012         [BZ #18635]
30013         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30014         ret.
30015         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30017 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30019         * po/pl.po: Updated translation.
30020         * po/uk.po: Likewise.
30021         * po/fi.po: Likewise.
30022         * po/ko.po: Likewise.
30023         * po/ru.po: Likewise.
30024         * po/vi.po: Likewise.
30026 2015-07-31  Zack Weinberg  <zackw@panix.com>
30028         [BZ #18681]
30029         * regexp.h: Add unconditional #warning stating that this header
30030         will be removed soon.  Revise banner comment to match.
30031         (compile): Consistently use ERROR instead of RETURN to report
30032         errors (partial fix for BZ #18681).
30033         * regexp.c: Don't include regexp.h. Remove some unnecessary
30034         declarations.
30036 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30038         * po/libc.pot: Regenerated.
30040 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30042         [BZ #18740]
30043         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30044         float-vlen4-arch-ext-cflags): Removed.
30045         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30046         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30048 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30050         [BZ #14113]
30051         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30052         aligned to __aligned__.
30053         (pthread_cond_t, pthread_rwlock_t): Likewise.
30055 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30057         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30059 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30061         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30062         (struct sigaction): Change sa_flags from a long to an int, and add
30063         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30065 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30067         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30068         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30069         sysdeps/generic/sysdep.h include.
30070         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30071         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30072         sysdeps/hppa/sysdep.h.
30073         (ENTRY, PSEUDO): Undefine before defining.
30075 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30077         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30078         from scratch to use INTERNAL_SYSCALL.
30080 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30082         [BZ #18078]
30083         * scripts/check-localplt.awk: Support alternate relocations.
30084         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30085         sections.
30086         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30087         malloc entries with + REL R_386_GLOB_DAT.
30088         * sysdeps/x86_64/localplt.data: New file.
30090 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30092         [BZ #18731]
30093         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30094         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30095         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30097 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30099         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30101 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30103         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30104         directly in terms of __sync_fetch_and_add and delete (int) cast.
30106 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30108         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30109         the -D_ASM_IA64_CURRENT_H flag.
30111 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30113         [BZ #18641]
30114         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30116 2015-07-27  Andreas Schwab  <schwab@suse.de>
30118         * conform/conformtest.pl (checknamespace): Filter out string
30119         literals while tokenizing.
30121 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30123         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30124         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30125         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30127 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30129         * nptl/tst-join7mod.c: Add #include <string.h>.
30131 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30133         * sysdeps/nios2/libm-test-ulps: Update.
30135 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30137         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30138         Fix order of arguments to the rt_sigprocmask syscall.
30139         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30140         Likewise.
30142 2015-07-24  Roland McGrath  <roland@hack.frob.com>
30144         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30146 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30148         [BZ #18457]
30149         * nptl/Makefile (tests): New test case tst-join7.
30150         (modules-names): New test case module tst-join7mod.
30151         * nptl/tst-join7.c: New file.
30152         * nptl/tst-join7mod.c: New file.
30153         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30154         all translation units in libc.so, libpthread.so and rtld.
30156 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30160 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30164         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30165         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30167         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30169         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30170         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30172         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30174         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30175         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30176         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30177         implementation.
30179 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30181         [BZ #17711]
30182         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30183         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30184         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30185         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30186         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30187         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30189 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30191         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30192         instead of just saying load lock in the comments.
30194 2015-07-23  Roland McGrath  <roland@hack.frob.com>
30196         * sysdeps/unix/Subdirs: Moved ...
30197         * sysdeps/posix/Subdirs: ... here.
30198         * login/pty.h (struct termios, struct winsize): Add forward decls.
30199         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30200         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30201         * sysdeps/arm/nacl/libc.abilist: Updated.
30202         * sysdeps/nacl/libutil.abilist: New file.
30204         * bits/signum.h: Update comments to mention 1003.1-2013 too.
30205         (SIGWINCH): New macro.
30207         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30208         * sysdeps/arm/nacl/libc.abilist: Add it.
30210 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30212         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30214 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30216         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30217         Swap __glibc_reserved0 and sa_flags order.
30219 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30221         [BZ #18657]
30222         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30223         are pending TLS destructor calls.
30224         * include/link.h (struct link_map): Add concurrency note for
30225         L_TLS_DTOR_COUNT.
30226         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30227         Don't touch the link map flag.  Atomically increment
30228         l_tls_dtor_count.
30229         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
30230         Avoid taking the load lock and don't touch the link map flag.
30231         * stdlib/tst-tls-atexit-nodelete.c: New test case.
30232         * stdlib/Makefile (tests): Use it.
30233         * stdlib/tst-tls-atexit.c (do_test): dlopen
30234         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
30235         to allow tst-tls-atexit-nodelete test case to use it.
30237 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30239         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
30240         to bits/types.h.
30241         (msgqnum_t): New typedef.
30242         (msglen_t): Likewise.
30243         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
30244         and msg_qbytes type to msglen_t.
30246 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30248         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
30249         pad0 to __glibc_reserved0.
30250         (struct stat64): Likewise.
30252 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30254         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30255         Change sa_flags from a long to an int and add __glibc_reserved0 before
30256         it for padding.
30258 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30260         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
30261         anonymous by deleting "siginfo" name.
30263 2015-07-21  Roland McGrath  <roland@hack.frob.com>
30265         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30266         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
30267         rather than __nacl_irt_filename.
30268         * sysdeps/nacl/xstat.c (__xstat): Likewise.
30270         * NEWS: New item for arm-nacl port.
30271         * sysdeps/arm/nacl/libc.abilist: New file.
30272         * sysdeps/nacl/ld.abilist: New file.
30273         * sysdeps/nacl/libBrokenLocale.abilist: New file.
30274         * sysdeps/nacl/libanl.abilist: New file.
30275         * sysdeps/nacl/libcrypt.abilist: New file.
30276         * sysdeps/nacl/libdl.abilist: New file.
30277         * sysdeps/nacl/libm.abilist: New file.
30278         * sysdeps/nacl/libpthread.abilist: New file.
30279         * sysdeps/nacl/libresolv.abilist: New file.
30280         * sysdeps/nacl/librt.abilist: New file.
30282 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
30284         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
30285         __startcontext to initialize the new context.
30286         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
30287         up CFI directive to forbid further backtracing.
30289 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
30291         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
30292         reference.
30293         * charmaps/ANSI_X3.4-1968: Likewise.
30294         * charmaps/BS_4730: Likewise.
30295         * charmaps/BS_VIEWDATA: Likewise.
30296         * charmaps/CP1250: Likewise.
30297         * charmaps/CP1251: Likewise.
30298         * charmaps/CP1252: Likewise.
30299         * charmaps/CP1253: Likewise.
30300         * charmaps/CP1254: Likewise.
30301         * charmaps/CP1255: Likewise.
30302         * charmaps/CP1256: Likewise.
30303         * charmaps/CSN_369103: Likewise.
30304         * charmaps/EBCDIC-DK-NO: Likewise.
30305         * charmaps/GB_1988-80: Likewise.
30306         * charmaps/GREEK-CCITT: Likewise.
30307         * charmaps/GREEK7: Likewise.
30308         * charmaps/INIS-8: Likewise.
30309         * charmaps/ISIRI-3342: Likewise.
30310         * charmaps/ISO_2033-1983: Likewise.
30311         * charmaps/ISO_5427-EXT: Likewise.
30312         * locales/POSIX: Likewise.
30313         * locales/ar_SA: Likewise.
30314         * locales/be_BY: Likewise.
30315         * locales/be_BY@latin: Likewise.
30316         * locales/ca_ES: Likewise.
30317         * locales/cs_CZ: Likewise.
30318         * locales/da_DK: Likewise.
30319         * locales/de_BE: Likewise.
30320         * locales/de_CH: Likewise.
30321         * locales/de_LU: Likewise.
30322         * locales/en_AU: Likewise.
30323         * locales/en_BW: Likewise.
30324         * locales/en_CA: Likewise.
30325         * locales/en_DK: Likewise.
30326         * locales/en_GB: Likewise.
30327         * locales/en_IE: Likewise.
30328         * locales/en_NZ: Likewise.
30329         * locales/en_ZA: Likewise.
30330         * locales/en_ZW: Likewise.
30331         * locales/es_AR: Likewise.
30332         * locales/es_BO: Likewise.
30333         * locales/es_CL: Likewise.
30334         * locales/es_CO: Likewise.
30335         * locales/es_DO: Likewise.
30336         * locales/es_EC: Likewise.
30337         * locales/es_ES: Likewise.
30338         * locales/es_HN: Likewise.
30339         * locales/es_MX: Likewise.
30340         * locales/es_PA: Likewise.
30341         * locales/es_PE: Likewise.
30342         * locales/es_PY: Likewise.
30343         * locales/es_SV: Likewise.
30344         * locales/es_US: Likewise.
30345         * locales/es_UY: Likewise.
30346         * locales/es_VE: Likewise.
30347         * locales/et_EE: Likewise.
30348         * locales/fa_IR: Likewise.
30349         * locales/fo_FO: Likewise.
30350         * locales/fr_CA: Likewise.
30351         * locales/fr_CH: Likewise.
30352         * locales/gv_GB: Likewise.
30353         * locales/he_IL: Likewise.
30354         * locales/hr_HR: Likewise.
30355         * locales/id_ID: Likewise.
30356         * locales/is_IS: Likewise.
30357         * locales/it_CH: Likewise.
30358         * locales/iw_IL: Likewise.
30359         * locales/kl_GL: Likewise.
30360         * locales/ko_KR: Likewise.
30361         * locales/kw_GB: Likewise.
30362         * locales/lg_UG: Likewise.
30363         * locales/lt_LT: Likewise.
30364         * locales/lv_LV: Likewise.
30365         * locales/mi_NZ: Likewise.
30366         * locales/nhn_MX: Likewise.
30367         * locales/nl_BE: Likewise.
30368         * locales/pl_PL: Likewise.
30369         * locales/sk_SK: Likewise.
30370         * locales/sl_SI: Likewise.
30371         * locales/sv_FI: Likewise.
30372         * locales/tl_PH: Likewise.
30373         * locales/tr_TR: Likewise.
30374         * locales/vi_VN: Likewise.
30376 2015-07-21  Khem Raj  <raj.khem@gmail.com>
30378         [BZ #17475]
30379         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
30380         of tu_IN and bh_IN.
30382 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
30384         [BZ #18694]
30385         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
30386         bits/wordsize.h.
30387         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
30389 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30391         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
30392         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
30393         (spawn_thread): New function.
30394         (load): Rename to reg_dtor_and_close.  Move dlopen to...
30395         (do_test): ... here.  Use IS_LOADED to test for its
30396         availability.
30398 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
30400         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30402 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
30404         [BZ #18696]
30405         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
30406         si_addr_bnd.
30407         (si_lower): New.
30408         (si_upper): Likewise.
30410 2015-07-16  David S. Miller  <davem@davemloft.net>
30412         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
30414 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30416         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
30417         buffer.
30418         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
30419         fail output information.
30421 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
30424         and strstr-ppc64..
30425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30426         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
30427         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
30428         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
30429         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
30431 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30433         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30434         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30435         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30436         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30438 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30440         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30441         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
30442         rtld_hidden_proto.
30443         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
30445 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30447         * tst-nodelete-opened.c (do_test): Add comment to clarify how
30448         the test can fail.
30450         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
30452         [BZ #18676]
30453         * elf/tst-nodelete-opened.c: New test case.
30454         * elf/tst-nodelete-opened-lib.c: New test case module.
30455         * elf/Makefile (tests, modules-names): Use them.
30456         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
30457         early.
30459 2015-07-15  David S. Miller  <davem@davemloft.net>
30461         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
30462         futex-intenal.h
30463         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
30464         * sysdeps/sparc/sparc64/Makefile: Likewise.
30465         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30466         Remove space from macro define.
30467         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
30469 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
30471         [BZ #17475]
30472         * locale/iso-639.def: Update Bhili and Tulu language codes as
30473         per iso639-3.
30475 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
30477         * elf/tst-leaks1.c (main): Converted to ...
30478         (do_test): ... this.
30479         (TEST_FUNCTION): New macro.
30480         Include test-skeleton.c.
30481         * localedata/tst-langinfo.c (main): Converted to ...
30482         (do_test): ... this.
30483         (TEST_FUNCTION): New macro.
30484         Include test-skeleton.c.
30485         * math/test-fpucw.c (main): Converted to ...
30486         (do_test): ... this.
30487         (TEST_FUNCTION): New macro.
30488         Include test-skeleton.c.
30489         * math/test-tgmath.c (main): Converted to ...
30490         (do_test): ... this.
30491         (TEST_FUNCTION): New macro.
30492         Include test-skeleton.c.
30493         * math/test-tgmath2.c (main): Converted to ...
30494         (do_test): ... this.
30495         (TEST_FUNCTION): New macro.
30496         Include test-skeleton.c.
30497         * setjmp/tst-setjmp.c (main): Converted to ...
30498         (do_test): ... this.
30499         (TEST_FUNCTION): New macro.
30500         Include test-skeleton.c.
30501         * stdio-common/tst-sscanf.c (main): Converted to ...
30502         (do_test): ... this.
30503         (TEST_FUNCTION): New macro.
30504         Include test-skeleton.c.
30505         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
30506         (do_test): ... this.
30507         (TEST_FUNCTION): New macro.
30508         Include test-skeleton.c.
30510         * elf/tst-audit9.c (main): Converted to ...
30511         (do_test): ... this.
30512         (TEST_FUNCTION): New macro.
30513         Include test-skeleton.c.
30515 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
30517         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
30519 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30521         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
30522         New variable.
30524 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30526         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30528 2015-07-14  Roland McGrath  <roland@hack.frob.com>
30530         * sysdeps/generic/dl-fileid.h: New file.
30531         * sysdeps/posix/dl-fileid.h: New file.
30532         * sysdeps/nacl/dl-fileid.h: New file.
30533         * include/link.h: Include <dl-fileid.h>.
30534         (struct link_map): Replace l_dev and l_ino with l_file_id.
30535         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
30536         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
30537         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
30539 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30541         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
30543 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30545         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
30546         Add iff $CXX is set.
30547         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
30548         Likewise.
30549         (tst-nodelete-zmodiff): Likewise.
30550         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
30552 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30554         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
30556 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30558         * sysdeps/aarch64/fpu/math_private.h
30559         (define math_opt_barrier): Add AArch64 version.
30560         (math_force_eval): Likewise.
30562 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30564         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30566 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
30568         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30569         %ld with %jd and cast to intmax_t.
30570         (do_test_length_zero): Likewise.
30572 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30574         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30576 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30578         * sysdeps/tile/libm-test-ulps: Regenerated.
30580         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30581         Comment out the whole function, not just its body.
30583 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30585         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30586         locks.
30588         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30590 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30592         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30593         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30595 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30597         * sysdeps/nptl/futex-internal.h: New file.
30598         * sysdeps/nacl/futex-internal.h: New file.
30599         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30600         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30601         error checking.
30602         (setxid_unmark_thread): Likewise.
30603         (__nptl_setxid): Likewise.
30604         (__wait_lookup_done): Likewise.
30605         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30606         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30607         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30608         * nptl/pthread_once.c (clear_once_control): Likewise.
30609         (__pthread_once_slow): Likewise.
30610         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30611         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30612         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30613         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30614         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30615         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30616         Likewise.
30617         (__pthread_rwlock_rdlock): Likewise.
30618         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30619         Likewise.
30620         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30621         Likewise.
30622         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30623         Likewise.
30624         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
30625         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
30626         Likewise.
30627         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
30628         __ASSUME_PRIVATE_FUTEX check.
30629         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
30630         Check that shared futexes are supported.
30631         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
30632         wrappers with error checking.
30633         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
30634         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
30635         * nptl/pthread_barrierattr_setpshared.c
30636         (pthread_barrierattr_setpshared): Check that shared futexes are
30637         supported.
30638         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
30639         Likewise.
30640         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
30641         Likewise.
30642         * nptl/sem_init.c (futex_private_if_supported): Remove.
30643         (__new_sem_init): Adapt and check that shared futexes are supported.
30644         * nptl/sem_open.c (sem_open): Likewise.
30645         * nptl/sem_post.c (futex_wake): Remove.
30646         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
30647         (do_futex_wait): Use futex wrappers with error checking.
30648         * nptl/sem_wait.c: Include lowlevellock.h.
30649         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
30650         Use futex_supports_pshared.
30651         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
30652         Use futex wrappers with error checking.
30653         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
30654         Likewise.
30655         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
30656         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
30657         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
30658         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
30659         (futex_wake): Likewise.
30660         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
30661         (do_futex_wait): Use futex wrappers with error checking.
30662         (__new_sem_wait_slow): Update EINTR handling.
30663         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
30665 2015-07-09  Martin Sebor  <msebor@redhat.com>
30667         [BZ #18435]
30668         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30669         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
30670         * nptl/Makefile (test-xfail-tst-once5): Define.
30672 2015-07-09  Roland McGrath  <roland@hack.frob.com>
30674         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
30675         * elf/dl-minimal.c: For readability, reorder some definitions and
30676         introduce more page breaks.  Include <stdio.h>.
30677         (__libc_fatal): New function.
30679         * include/unistd.h: Add rtld_hidden_proto for _exit.
30680         * posix/_exit.c: Add rtld_hidden_def.
30681         * sysdeps/mach/hurd/_exit.c: Likewise.
30682         * sysdeps/nacl/_exit.c: Likewise.
30683         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
30684         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
30686 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
30688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
30689         bndmov encoding with zero displacement.
30691 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30692             H.J. Lu  <hongjiu.lu@intel.com>
30694         [BZ #18134]
30695         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
30696         * sysdeps/i386/configure: Regenerated.
30697         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30698         (_dl_runtime_profile): Save and restore Intel MPX return bound
30699         registers when calling _dl_call_pltexit.  Add
30700         PRESERVE_BND_REGS_PREFIX before return.
30701         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
30702         (LRV_BND1_OFFSET): Likewise.
30703         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
30704         lrv_bnd1.
30705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30706         typo in bndmov encoding.
30707         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
30708         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
30709         branch instructions to preserve bounds.
30711 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
30714         [GLIBC_2.22]: Add fmemopen.
30716 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30718         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
30719         returns an error, also try to use host port from __mach_host_self for
30720         the __vm_wire call.
30721         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
30723 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30725         [BZ #18400]
30726         [BZ #18648]
30727         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
30728         Fix pr_uid and pr_gid members.
30729         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
30730         definition to elf_greg_t.
30732 2015-07-08  Roland McGrath  <roland@hack.frob.com>
30734         [BZ #18383]
30735         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
30736         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
30737         * sysdeps/arm/configure: Regenerated.
30738         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
30739         (test-xfail-tst-tlsalign-static): Variable removed.
30741         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
30742         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
30743         rather than explicit 'ln -s'.
30745         * resolv/rpc/netdb.h: New file.
30746         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
30748 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30750         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
30751         length buffers.
30752         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30753         test-skeleton.c.
30755         [BZ #6544]
30756         [BZ #11216]
30757         [BZ #12836]
30758         [BZ #13151]
30759         [BZ #13152]
30760         [BZ #14292]
30761         * include/stdio.h (fmemopen): Remove hidden prototype.
30762         (__fmemopen): Add new hidden prototype.
30763         * libio/Makefile: Add oldfmemopen object.
30764         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
30765         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
30766         compliance.
30767         * libio/oldfmemopen.c: New file: old fmemopen implementation for
30768         symbol compatibility.
30769         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
30770         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
30771         fmemopen.
30772         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
30773         on append and read mode.
30774         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
30775         fmemopen.
30776         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30777         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
30778         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
30779         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
30780         Likewise.
30781         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
30782         [GLIBC_2.22]: Likewise.
30783         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
30784         Likewise.
30785         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
30786         Likewise.
30787         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
30788         [GLIBC_2.22]: Likewise.
30789         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
30790         [GLIBC_2.22]: Likewise.
30791         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
30792         [GLIBC_2.22]: Likewise.
30793         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
30794         [GLIBC_2.22]: Likewise.
30795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
30796         [GLIBC_2.22]: Likewise.
30797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
30798         [GLIBC_2.22]: Likewise.
30799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
30800         [GLIBC_2.22]: Likewise.
30801         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
30802         Likewise.
30803         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
30804         Likewise.
30805         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
30806         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
30807         [GLIBC_2.22]: Likewise.
30808         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
30809         [GLIBC_2.22]: Likewise.
30810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
30811         [GLIBC_2.22]: Likewise.
30812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
30813         [GLIBC_2.22]: Likewise.
30814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
30815         Likewise.
30816         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
30817         Likewise.
30818         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
30819         Likewise.
30820         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
30821         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
30823 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30825         [BZ #18643]
30826         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
30827         IPV6_PATHMTU, and IPV6_DONTFRAG.
30829 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
30831         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
30832         and _IO_UNBUFFERED.
30833         * libio/oldfileops.c: Likewise.
30834         * libio/wfileops.c: Likewise.
30836 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30838         * nscd/selinux.c: Delete selinux/flask.h include.
30840 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30842         [BZ #18641]
30843         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
30844         (putpwent): Likewise.
30845         (getpwnam): Likewise.
30846         (getpwent_r): Likewise.
30847         (getpwuid_r): Likewise.
30848         (getpwnam_r): Likewise.
30849         (fgetpwent_r): Likewise.
30851 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30853         [BZ #18557]
30854         * inet/rcmd.c (__validuser2_sa): Check user first to
30855         short-circuit host check.
30857 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
30858             Mikhail Ilin  <m.ilin@samsung.com>
30860         [BZ #17833]
30861         * elf/Makefile (tests): Add tst-nodelete.
30862         (modules-names): Add tst-nodelete-uniquemod.
30863         (tst-nodelete-uniquemod.so-no-z-defs): New.
30864         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
30865         (tst-nodelete-zmod.so-no-z-defs): Likewise.
30866         ($(objpfx)tst-nodelete): Likewise.
30867         ($(objpfx)tst-nodelete.out): Likewise.
30868         (LDFLAGS-tst-nodelete): Likewise.
30869         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
30870         * elf/dl-close.c (_dl_close_worker): Add a parameter to
30871         implement forced object deletion.
30872         (_dl_close): Pass false to _dl_close_worker.
30873         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
30874         * elf/tst-nodelete.cc: New file.
30875         * elf/tst-nodeletelib.cc: Likewise.
30876         * elf/tst-znodeletelib.cc: Likewise.
30877         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
30879 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30881         [BZ #18508]
30882         * stdlib/Makefile ($(objpfx)tst-makecontext3):
30883         Depend on $(libdl).
30884         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
30885         is not called infinitely times.
30886         (backtrace_helper): New function.
30887         (trace_arg): New struct.
30888         (st1): Enlarge stack size.
30889         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30890         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
30891         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30892         Likewise.
30894 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30896         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30898 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30900         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
30901         Include sys/types.h instead of bits/types.h.
30902         Remove inclusion of bits/wordsize.h.
30904 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30906         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
30907         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
30908         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
30909         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
30910         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
30911         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
30913 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30915         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
30916         link-defines.sym.
30917         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
30918         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
30919         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
30920         and LR_SIZE.
30921         * sysdeps/i386/link-defines.sym: New file.
30923 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30925         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
30926         (modules-names): Add tst-auditmod3a tst-auditmod3b.
30927         ($(objpfx)tst-audit3): New rule.
30928         ($(objpfx)tst-audit3.out): Likewise.
30929         * sysdeps/i386/tst-audit3.c: New file.
30930         * sysdeps/i386/tst-audit3.h: Likewise.
30931         * sysdeps/i386/tst-auditmod3a.c: Likewise.
30932         * sysdeps/i386/tst-auditmod3b.c: Likewise.
30934 2015-07-07  Torvald Riegel  <triegel@redhat.com>
30936         [BZ #18633]
30937         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
30938         pointer in C code.
30939         (__strcat_c): Likewise.
30940         (__strcat_g): Likewise.
30942 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
30944         [BZ #18592]
30945         * misc/sbrk.c: Set errno to ENOMEM on overflow.
30947 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30949         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
30950         New function.  (__ieee754_sqrtf): New function.
30951         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
30952         New function.
30953         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
30954         New function.
30956 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30958         * sysdeps/ieee754/support.c: Remove unused file.
30960 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30962         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
30963         registers instead of d ones so the layout is kernel abi compatible.
30964         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
30965         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
30966         Likewise.
30968 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30970         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30972 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30974         [BZ #18619]
30975         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
30976         and return argument in case of subnormal argument.
30978 2015-07-01  Martin Sebor  <msebor@redhat.com>
30980         [BZ #18435]
30981         * nptl/Makefile: Add tst-once5.cc.
30982         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30983         Remove macro redefinitions.
30984         * nptl/tst-once5.cc: New test.
30986 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30988         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30990         * sysdeps/arm/libm-test-ulps: Regenerated.
30992         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30993         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30995 2015-06-30  Torvald Riegel  <triegel@redhat.com>
30997         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
30998         lll_lock_wait_private and lll_futex_wake probes.
31000         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31001         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31002         Likewise.
31003         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31004         atomic_spin_nop.
31005         * sysdeps/x86_64/bits/atomic.h: Likewise.
31006         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31007         to atomic_spin_nop and move ...
31008         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31009         ... here and ...
31010         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31011         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31012         atomic_spin_nop instead of BUSY_WAIT_NOP.
31013         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31014         Likewise.
31015         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31016         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31017         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31018         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31019         instead of atomic_delay.
31021 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31023         [BZ #18613]
31024         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31025         X_ADJ not X when adjusting exponent.
31026         (__ieee754_gamma_r): Do intermediate computations in
31027         round-to-nearest then adjust overflowing and underflowing results
31028         as needed.
31029         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31030         of X_ADJ not X when adjusting exponent.
31031         (__ieee754_gammaf_r): Do intermediate computations in
31032         round-to-nearest then adjust overflowing and underflowing results
31033         as needed.
31034         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31035         log of X_ADJ not X when adjusting exponent.
31036         (__ieee754_gammal_r): Do intermediate computations in
31037         round-to-nearest then adjust overflowing and underflowing results
31038         as needed.  Use 1.0L not 1.0f as numerator of division.
31039         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31040         log of X_ADJ not X when adjusting exponent.
31041         (__ieee754_gammal_r): Do intermediate computations in
31042         round-to-nearest then adjust overflowing and underflowing results
31043         as needed.  Use 1.0L not 1.0f as numerator of division.
31044         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31045         of X_ADJ not X when adjusting exponent.
31046         (__ieee754_gammal_r): Do intermediate computations in
31047         round-to-nearest then adjust overflowing and underflowing results
31048         as needed.  Use 1.0L not 1.0f as numerator of division.
31049         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31050         to auto-libm-test-in.
31051         (tgamma_test): Use ALL_RM_TEST.
31052         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31053         tests of tgamma with spurious-overflow.
31054         * math/auto-libm-test-out: Regenerated.
31055         * math/gen-libm-have-vector-test.sh: Do not check for START.
31056         * sysdeps/i386/fpu/libm-test-ulps: Update.
31057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31059         [BZ #18612]
31060         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31061         arguments, just return 0.5 times the argument, with underflow
31062         forced as needed.
31063         * math/auto-libm-test-in: Add more tests of j1.
31064         * math/auto-libm-test-out: Regenerated.
31066         [BZ #16559]
31067         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31068         (__ieee754_j1): Force underflow exception for small results.
31069         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31070         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31071         (__ieee754_j1f): Force underflow exception for small results.
31072         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31073         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31075         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31076         (__ieee754_j1l): Force underflow exception for small results.
31077         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31078         * math/auto-libm-test-in: Add more tests of j1 and jn.
31079         * math/auto-libm-test-out: Regenerated.
31081         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31082         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31083         (PF_MPLS): Likewise.
31084         (AF_IB): Likewise.
31085         (AF_MPLS): Likewise.
31086         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31087         value and macro.
31088         (MS_RMT_MASK): Include MS_LAZYTIME.
31090 2015-06-26  Mel Gorman  <mgorman@suse.de>
31092         [BZ #18502]
31093         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31094         already minimal.
31096 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31098         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31099         (DT_MIPS_NUM): Update.
31100         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31101         DT_MIPS_RLD_MAP_REL.
31103 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31105         [BZ #16559]
31106         [BZ #18602]
31107         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31108         round-to-nearest internally then recompute results that
31109         underflowed to zero in the original rounding mode.
31110         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31111         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31113         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31114         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31115         * sysdeps/i386/fpu/libm-test-ulps: Update.
31116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31118 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31120         * NEWS: Fixed description of link with vector math library.
31122 2015-06-25  Andreas Schwab  <schwab@suse.de>
31124         [BZ #18549]
31125         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31126         * libio/test-fmemopen.c (do_test): Add test for it.
31128 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31130         [BZ #17841]
31131         * Makeconfig (no-pie-ldflag): New.
31132         (+link): Set to $(+link-pie) if default to PIE.
31133         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31134         * config.make.in (build-pie-default): New.
31135         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
31136         is default.  AC_SUBST.
31137         * configure: Regenerated.
31138         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31140 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31142         * nptl/descr.h (struct pthread): Change type of field setxid_futex
31143         to 'unsigned int'.
31145         * resolv/gai_misc.h (struct waitlist): Change type of field
31146         counterp to 'volatile unsigned int *'.
31147         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31148         FUTEXADDR and OLDVAL.
31149         * resolv/getaddrinfo_a.c (getaddrinfo_a):
31150         Give local variable TOTAL type 'volatile unsigned int'.
31151         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31152         * resolv/gai_suspend.c (gai_suspend):
31153         Give local variable CNTR type 'unsigned int'.
31155         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31156         counterp to 'volatile unsigned int *'.
31157         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31158         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31159         (aio_suspend): Give local variable CNTR type 'unsigned int'.
31160         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31161         Give local variable TOTAL type 'volatile unsigned int'.
31162         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31164 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31166         [BZ #18383]
31167         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31168         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
31169         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31170         comment for i386/x86-64.
31171         (test-xfail-tst-tlsalign-extern-static): Removed.
31173 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31175         * math/test-double.h: New file.
31176         * math/test-float.h: Likewise.
31177         * math/test-ldouble.h: Likewise.
31178         * math/test-math-inline.h: Likewise.
31179         * math/test-math-no-inline.h: Likewise.
31180         * math/test-math-scalar.h: Likewise.
31181         * math/test-math-vector.h: Likewise.
31182         * math/test-vec-loop.h: Remove file.  Contents moved into
31183         test-math-vector.h.
31184         * math/libm-test.inc (MATHCONST): Do not document macro.
31185         * math/test-double.c: Include test-double.h, test-math-no-inline.h
31186         and test-math-scalar.h.
31187         (FUNC): Remove macro.
31188         (FUNC_TEST): Likewise.
31189         (FLOAT): Likewise.
31190         (MATHCONST): Likewise.
31191         (PRINTF_EXPR): Likewise.
31192         (PRINTF_XEXPR): Likewise.
31193         (PRINTF_NEXPR): Likewise.
31194         (TEST_DOUBLE): Likewise.
31195         (TEST_MATHVEC): Likewise.
31196         (__NO_MATH_INLINES): Likewise.
31197         * math/test-float.c: Include test-float.h, test-math-no-inline.h
31198         and test-math-scalar.h.
31199         (FUNC): Remove macro.
31200         (FUNC_TEST): Likewise.
31201         (FLOAT): Likewise.
31202         (MATHCONST): Likewise.
31203         (PRINTF_EXPR): Likewise.
31204         (PRINTF_XEXPR): Likewise.
31205         (PRINTF_NEXPR): Likewise.
31206         (TEST_FLOAT): Likewise.
31207         (TEST_MATHVEC): Likewise.
31208         (__NO_MATH_INLINES): Likewise.
31209         * math/test-idouble.c: Include test-double.h, test-math-inline.h
31210         and test-math-scalar.h.
31211         (FUNC): Remove macro.
31212         (FUNC_TEST): Likewise.
31213         (FLOAT): Likewise.
31214         (MATHCONST): Likewise.
31215         (PRINTF_EXPR): Likewise.
31216         (PRINTF_XEXPR): Likewise.
31217         (PRINTF_NEXPR): Likewise.
31218         (TEST_DOUBLE): Likewise.
31219         (TEST_MATHVEC): Likewise.
31220         (TEST_INLINE): Likewise.
31221         (__NO_MATH_INLINES): Likewise.
31222         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31223         test-math-scalar.h.
31224         (FUNC): Remove macro.
31225         (FUNC_TEST): Likewise.
31226         (FLOAT): Likewise.
31227         (MATHCONST): Likewise.
31228         (PRINTF_EXPR): Likewise.
31229         (PRINTF_XEXPR): Likewise.
31230         (PRINTF_NEXPR): Likewise.
31231         (TEST_FLOAT): Likewise.
31232         (TEST_MATHVEC): Likewise.
31233         (TEST_INLINE): Likewise.
31234         (__NO_MATH_INLINES): Likewise.
31235         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
31236         and test-math-scalar.h.
31237         (FUNC): Remove macro.
31238         (FUNC_TEST): Likewise.
31239         (FLOAT): Likewise.
31240         (MATHCONST): Likewise.
31241         (PRINTF_EXPR): Likewise.
31242         (PRINTF_XEXPR): Likewise.
31243         (PRINTF_NEXPR): Likewise.
31244         (TEST_LDOUBLE): Likewise.
31245         (TEST_MATHVEC): Likewise.
31246         (TEST_INLINE): Likewise.
31247         (__NO_MATH_INLINES): Likewise.
31248         * math/test-ldouble.c: Include test-ldouble.h,
31249         test-math-no-inline.h and test-math-scalar.h.
31250         (FUNC): Remove macro.
31251         (FUNC_TEST): Likewise.
31252         (FLOAT): Likewise.
31253         (MATHCONST): Likewise.
31254         (PRINTF_EXPR): Likewise.
31255         (PRINTF_XEXPR): Likewise.
31256         (PRINTF_NEXPR): Likewise.
31257         (TEST_LDOUBLE): Likewise.
31258         (TEST_MATHVEC): Likewise.
31259         (__NO_MATH_INLINES): Likewise.
31260         * math/test-double-vlen2.h: Include test-double.h,
31261         test-math-no-inline.h and test-math-vector.h.
31262         (FLOAT): Remove macro.
31263         (FUNC): Likewise.
31264         (MATHCONST): Likewise.
31265         (PRINTF_EXPR): Likewise.
31266         (PRINTF_XEXPR): Likewise.
31267         (PRINTF_NEXPR): Likewise.
31268         (TEST_DOUBLE): Likewise.
31269         (TEST_MATHVEC): Likewise.
31270         (__NO_MATH_INLINES): Likewise.
31271         (CNCT): Likewise.
31272         (CONCAT): Likewise.
31273         (WRAPPER_NAME): Likewise.
31274         (WRAPPER_DECL): Likewise.
31275         (WRAPPER_DECL_ff): Likewise.
31276         (WRAPPER_DECL_fFF): Likewise.
31277         (VECTOR_WRAPPER): Likewise.
31278         (VECTOR_WRAPPER_ff): Likewise.
31279         (VECTOR_WRAPPER_fFF): Likewise.
31280         (VEC_LEN): New macro.
31281         * math/test-double-vlen4.h: Include test-double.h,
31282         test-math-no-inline.h and test-math-vector.h.
31283         (FLOAT): Remove macro.
31284         (FUNC): Likewise.
31285         (MATHCONST): Likewise.
31286         (PRINTF_EXPR): Likewise.
31287         (PRINTF_XEXPR): Likewise.
31288         (PRINTF_NEXPR): Likewise.
31289         (TEST_DOUBLE): Likewise.
31290         (TEST_MATHVEC): Likewise.
31291         (__NO_MATH_INLINES): Likewise.
31292         (CNCT): Likewise.
31293         (CONCAT): Likewise.
31294         (WRAPPER_NAME): Likewise.
31295         (WRAPPER_DECL): Likewise.
31296         (WRAPPER_DECL_ff): Likewise.
31297         (WRAPPER_DECL_fFF): Likewise.
31298         (VECTOR_WRAPPER): Likewise.
31299         (VECTOR_WRAPPER_ff): Likewise.
31300         (VECTOR_WRAPPER_fFF): Likewise.
31301         (VEC_LEN): New macro.
31302         * math/test-double-vlen8.h: Include test-double.h,
31303         test-math-no-inline.h and test-math-vector.h.
31304         (FLOAT): Remove macro.
31305         (FUNC): Likewise.
31306         (MATHCONST): Likewise.
31307         (PRINTF_EXPR): Likewise.
31308         (PRINTF_XEXPR): Likewise.
31309         (PRINTF_NEXPR): Likewise.
31310         (TEST_DOUBLE): Likewise.
31311         (TEST_MATHVEC): Likewise.
31312         (__NO_MATH_INLINES): Likewise.
31313         (CNCT): Likewise.
31314         (CONCAT): Likewise.
31315         (WRAPPER_NAME): Likewise.
31316         (WRAPPER_DECL): Likewise.
31317         (WRAPPER_DECL_ff): Likewise.
31318         (WRAPPER_DECL_fFF): Likewise.
31319         (VECTOR_WRAPPER): Likewise.
31320         (VECTOR_WRAPPER_ff): Likewise.
31321         (VECTOR_WRAPPER_fFF): Likewise.
31322         (VEC_LEN): New macro.
31323         * math/test-float-vlen4.h: Include test-float.h,
31324         test-math-no-inline.h and test-math-vector.h.
31325         (FLOAT): Remove macro.
31326         (FUNC): Likewise.
31327         (MATHCONST): Likewise.
31328         (PRINTF_EXPR): Likewise.
31329         (PRINTF_XEXPR): Likewise.
31330         (PRINTF_NEXPR): Likewise.
31331         (TEST_FLOAT): Likewise.
31332         (TEST_MATHVEC): Likewise.
31333         (__NO_MATH_INLINES): Likewise.
31334         (CNCT): Likewise.
31335         (CONCAT): Likewise.
31336         (WRAPPER_NAME): Likewise.
31337         (WRAPPER_DECL): Likewise.
31338         (WRAPPER_DECL_ff): Likewise.
31339         (WRAPPER_DECL_fFF): Likewise.
31340         (VECTOR_WRAPPER): Likewise.
31341         (VECTOR_WRAPPER_ff): Likewise.
31342         (VECTOR_WRAPPER_fFF): Likewise.
31343         (VEC_LEN): New macro.
31344         * math/test-float-vlen8.h: Include test-float.h,
31345         test-math-no-inline.h and test-math-vector.h.
31346         (FLOAT): Remove macro.
31347         (FUNC): Likewise.
31348         (MATHCONST): Likewise.
31349         (PRINTF_EXPR): Likewise.
31350         (PRINTF_XEXPR): Likewise.
31351         (PRINTF_NEXPR): Likewise.
31352         (TEST_FLOAT): Likewise.
31353         (TEST_MATHVEC): Likewise.
31354         (__NO_MATH_INLINES): Likewise.
31355         (CNCT): Likewise.
31356         (CONCAT): Likewise.
31357         (WRAPPER_NAME): Likewise.
31358         (WRAPPER_DECL): Likewise.
31359         (WRAPPER_DECL_ff): Likewise.
31360         (WRAPPER_DECL_fFF): Likewise.
31361         (VECTOR_WRAPPER): Likewise.
31362         (VECTOR_WRAPPER_ff): Likewise.
31363         (VECTOR_WRAPPER_fFF): Likewise.
31364         (VEC_LEN): New macro.
31365         * math/test-float-vlen16.h: Include test-float.h,
31366         test-math-no-inline.h and test-math-vector.h.
31367         (FLOAT): Remove macro.
31368         (FUNC): Likewise.
31369         (MATHCONST): Likewise.
31370         (PRINTF_EXPR): Likewise.
31371         (PRINTF_XEXPR): Likewise.
31372         (PRINTF_NEXPR): Likewise.
31373         (TEST_FLOAT): Likewise.
31374         (TEST_MATHVEC): Likewise.
31375         (__NO_MATH_INLINES): Likewise.
31376         (CNCT): Likewise.
31377         (CONCAT): Likewise.
31378         (WRAPPER_NAME): Likewise.
31379         (WRAPPER_DECL): Likewise.
31380         (WRAPPER_DECL_ff): Likewise.
31381         (WRAPPER_DECL_fFF): Likewise.
31382         (VECTOR_WRAPPER): Likewise.
31383         (VECTOR_WRAPPER_ff): Likewise.
31384         (VECTOR_WRAPPER_fFF): Likewise.
31385         (VEC_LEN): New macro.
31386         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
31387         test-vec-loop.h.
31388         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31390         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31391         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31392         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31393         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31394         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31396 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31398         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
31399         (__getlogin_r): ... this.
31401 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31403         [BZ #18594]
31404         * math/s_ccosh.c (__ccosh): Compare with least normal value
31405         instead of comparing class with FP_SUBNORMAL.
31406         * math/s_ccoshf.c (__ccoshf): Likewise.
31407         * math/s_ccoshl.c (__ccoshl): Likewise.
31408         * math/s_cexp.c (__cexp): Likewise.
31409         * math/s_cexpf.c (__cexpf): Likewise.
31410         * math/s_cexpl.c (__cexpl): Likewise.
31411         * math/s_csin.c (__csin): Likewise.
31412         * math/s_csinf.c (__csinf): Likewise.
31413         * math/s_csinh.c (__csinh): Likewise.
31414         * math/s_csinhf.c (__csinhf): Likewise.
31415         * math/s_csinhl.c (__csinhl): Likewise.
31416         * math/s_csinl.c (__csinl): Likewise.
31417         * math/s_ctan.c (__ctan): Likewise.
31418         * math/s_ctanf.c (__ctanf): Likewise.
31419         * math/s_ctanh.c (__ctanh): Likewise.
31420         * math/s_ctanhf.c (__ctanhf): Likewise.
31421         * math/s_ctanhl.c (__ctanhl): Likewise.
31422         * math/s_ctanl.c (__ctanl): Likewise.
31423         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
31424         csin, csinh, ctan and ctanh.
31425         * math/auto-libm-test-out: Regenerated.
31426         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
31427         * sysdeps/i386/fpu/libm-test-ulps: Update.
31428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31430 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31432         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
31433         return value is wrong, print the expected value too.
31435 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31437         [BZ #18585]
31438         * elf/readlib.c (is_gdb_python_file): New.
31439         (process_file): Don't issue errors on filenames with -gdb.py
31440         suffix.
31442 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31444         * math/auto-libm-test-in: Add more tests of csin and csinh.
31445         * math/auto-libm-test-out: Regenerated.
31446         * math/libm-test.inc (csin_test_data): Remove tests moved to
31447         auto-libm-test-in.
31448         (csinh_test_data): Likewise.
31450         [BZ #18593]
31451         * math/s_csin.c (__csin): Negate before rather than after possibly
31452         overflowing multiplication.
31453         * math/s_csinf.c (__csinf): Likewise.
31454         * math/s_csinh.c (__csinh): Likewise.
31455         * math/s_csinhf.c (__csinhf): Likewise.
31456         * math/s_csinhl.c (__csinhl): Likewise.
31457         * math/s_csinl.c (__csinl): Likewise.
31458         * math/auto-libm-test-in: Add some tests of csin and csinh.
31459         * math/auto-libm-test-out: Regenerated.
31460         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
31461         (csinh_test_data): Likewise.
31462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31464         [BZ #18586]
31465         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
31466         underflow exception for small results.
31468 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31470         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31471         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
31472         variable and included header.
31473         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
31474         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
31475         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
31476         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
31477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
31478         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
31479         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
31480         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
31481         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
31482         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
31483         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
31484         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
31485         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
31486         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
31487         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
31488         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
31490 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31492         [BZ #16526]
31493         [BZ #16538]
31494         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
31495         (__sin): Force underflow exception for arguments with small
31496         absolute value.
31497         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
31498         (__kernel_sinf): Force underflow exception for arguments with
31499         small absolute value.
31500         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
31501         (__kernel_sincosl): Force underflow exception for arguments with
31502         small absolute value.
31503         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
31504         (__kernel_sinl): Force underflow exception for arguments with
31505         small absolute value.
31506         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
31507         (__kernel_sincosl): Force underflow exception for arguments with
31508         small absolute value.
31509         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
31510         (__kernel_sinl): Force underflow exception for arguments with
31511         small absolute value.
31512         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
31513         (__kernel_sinl): Force underflow exception for arguments with
31514         small absolute value.
31515         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
31516         (__kernel_sinf): Force underflow exception for arguments with
31517         small absolute value.
31518         * math/auto-libm-test-in: Add more tests of sin and sincos.
31519         * math/auto-libm-test-out: Regenerated.
31521         [BZ #18245]
31522         [BZ #18583]
31523         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
31524         (__kernel_standard_l): Use feholdexcept and fesetenv around
31525         conversion to double instead of special-casing overflow and
31526         underflow.
31527         * math/libm-test.inc (fmod_test_data): Add more tests.
31528         (remainder_test_data): Likewise.
31529         (sqrt_test_data): Likewise.
31531 2015-06-23  Torvald Riegel  <triegel@redhat.com>
31533         [BZ #17403]
31534         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
31535         atomic_read_barrier, atomic_write_barrier): Define.
31536         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
31537         atomic_read_barrier, atomic_write_barrier): Define.
31539 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31541         * math/Makefile [$(PERL) != no]
31542         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
31543         dependency on libm-test.stmp below the inclusion of Rules.
31545 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
31547         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31548         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
31549         and included header.
31550         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
31551         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
31552         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
31553         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
31554         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
31555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
31556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
31557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
31558         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
31559         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
31560         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31561         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31562         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31563         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31564         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31565         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31566         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31567         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31568         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31570 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31572         [BZ #18371]
31573         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31574         intermediate but not final result might underflow.
31575         * math/s_csqrtf.c (__csqrtf): Likewise.
31576         * math/s_csqrtl.c (__csqrtl): Likewise.
31577         * math/auto-libm-test-in: Add more tests of csqrt.
31578         * math/auto-libm-test-out: Regenerated.
31579         * sysdeps/i386/fpu/libm-test-ulps: Update.
31581         [BZ #18219]
31582         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31583         threshold on absolute value of exponent for which scaling is used.
31584         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31585         * math/auto-libm-test-in: Add more tests of exp2.
31586         * math/auto-libm-test-out: Regenerated.
31588 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31590         [BZ #17977]
31591         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31592         when initializing interface list, based on the bug analysis
31593         and the patch proposed by Eric Newton.
31594         * resolv/tst-res_hconf_reorder.c: New test.
31595         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31596         tst-res_hconf_reorder.
31597         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31598         and $(shared-thread-library).
31599         (tst-res_hconf_reorder-ENV): New variable.
31601         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31602         in comment.
31604 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31606         [BZ #16353]
31607         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31608         (__expm1): Force underflow exception for arguments with small
31609         absolute value.
31610         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31611         (__expm1f): Force underflow exception for arguments with small
31612         absolute value.
31613         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31614         (__expm1): Force underflow exception for arguments with small
31615         absolute value.
31616         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31617         (__expm1f): Force underflow exception for arguments with small
31618         absolute value.
31619         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31620         Check for small arguments before calling __expm1.
31621         * math/auto-libm-test-in: Do not mark underflow exceptions as
31622         possibly missing for bug 16353.
31623         * math/auto-libm-test-out: Regenerated.
31625 2015-06-22  Andreas Schwab  <schwab@suse.de>
31627         [BZ #18513]
31628         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
31629         PTR queries.
31631 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
31633         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
31635         * string/strcoll_l.c: Remove unused struct element idxnow.
31637 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
31639         [BZ #18569]
31640         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
31641         underflow and return argument in case of subnormal argument.
31642         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31643         Likewise.
31644         * math/auto-libm-test-in: Add more tests of expm1.
31645         * math/auto-libm-test-out: Regenerated.
31647         [BZ #16361]
31648         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31649         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31650         tiny results.
31651         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31652         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31653         tiny results.
31654         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
31655         mark underflow exceptions as possibly missing for bug 16361.
31656         * math/auto-libm-test-out: Regenerated.
31658 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
31660         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31661         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
31662         Remove variable.
31663         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31664         (test-xfail-XOPEN2K8/utmpx.h/conform).
31666         * conform/conformtest.pl ($xerrors): New variable.
31667         (note_error): New function.
31668         (compiletest): New argument $xfail.  Use not_error.
31669         (runtest): Likewise.
31670         (top level): Handle xfail- lines.  Update calls to compiletest and
31671         runtest.  Handle xfail- and optional- in headers listed with
31672         allow-header.
31673         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
31674         (O_EXEC): Likewise.
31675         (O_SEARCH): Likewise.
31676         * conform/data/stropts.h-data (ioctl): Likewise.
31677         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
31678         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
31679         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
31680         (msghdr.msg_controllen): Likewise.
31681         (cmsghdr.cmsg_len): Likewise.
31682         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
31683         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
31684         variable.
31685         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31686         (test-xfail-XPG4/stropts.h/conform): Likewise.
31687         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31688         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31689         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31690         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31691         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31692         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31693         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31694         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31695         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31696         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31697         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31698         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31699         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31700         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31701         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31702         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31703         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31704         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31705         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31707 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31709         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
31710         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
31711         definitions for proper unfolding of __MATHDECL_VEC.
31713 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31715         * benchtests/bench-strcoll.c:
31716         Include string.h.
31717         (main): Remove unused variable res.
31719 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31721         * timezone/Makefile (%/UTC %/Universal):
31722         Generate test-result files for UTC and Universal.
31724 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31726         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31728 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
31730         [BZ #16350]
31731         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
31732         for arguments with small absolute value.
31733         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
31734         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
31735         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
31736         (__asinh): Force underflow exception for arguments with small
31737         absolute value.
31738         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
31739         (__asinhf): Force underflow exception for arguments with small
31740         absolute value.
31741         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
31742         (__asinhl): Force underflow exception for arguments with small
31743         absolute value.
31744         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
31745         (__asinhl): Force underflow exception for arguments with small
31746         absolute value.
31747         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
31748         (__asinhl): Force underflow exception for arguments with small
31749         absolute value.
31750         * math/auto-libm-test-in: Do not mark underflow exceptions as
31751         possibly missing for bug 16350.
31752         * math/auto-libm-test-out: Regenerated.
31754         * include/bits/ipc.h: Remove file.
31755         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
31756         variable.
31757         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31758         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31759         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31760         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31761         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31762         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31763         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31764         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31765         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31767         * math/auto-libm-test-in: Remove spurious underflow allowance for
31768         tests of cexp.
31769         * math/auto-libm-test-out: Regenerated.
31771         [BZ #18558]
31772         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
31773         unconditional definition.
31774         (MCAST_BLOCK_SOURCE): Likewise.
31775         (MCAST_UNBLOCK_SOURCE): Likewise.
31776         (MCAST_LEAVE_GROUP): Likewise.
31777         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31778         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31779         (MCAST_MSFILTER): Likewise.
31780         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
31781         Remove variable.
31782         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31783         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31784         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31785         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31786         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31788 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
31790         * NEWS: Mention addition of x86_64 vector sincosf.
31791         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
31792         * math/test-float-vlen4.h: Likewise.
31793         * math/test-float-vlen8.h: Likewise.
31794         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31795         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
31796         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31797         * sysdeps/x86_64/fpu/Versions: New versions added.
31798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31799         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31800         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31801         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
31802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
31803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
31804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
31805         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
31806         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
31807         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
31808         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
31809         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
31810         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
31811         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
31812         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
31813         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
31814         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
31815         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31816         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31817         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31819         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31820         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31821         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31823         * NEWS: Mention addition of x86_64 vector sincos.
31824         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
31825         * math/math.h (__MATHDECL_VEC): New macro.
31826         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
31827         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
31828         declaration under condition.
31829         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
31830         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
31831         TEST_VEC_LOOP change.
31832         * math/test-double-vlen4.h: Likewise.
31833         * math/test-double-vlen8.h: Likewise.
31834         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
31835         * math/test-float-vlen4.h: Likewise.
31836         * math/test-float-vlen8.h: Likewise.
31837         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31838         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
31839         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31840         * sysdeps/x86_64/fpu/Versions: New versions added.
31841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31842         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31843         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31844         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
31845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
31846         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
31847         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
31848         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
31849         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
31850         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
31851         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
31852         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
31853         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
31854         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
31855         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
31856         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
31857         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
31858         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31859         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31860         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31861         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31862         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31863         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31864         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31866         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31867         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31868         redirections for powf.
31869         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31870         * sysdeps/x86_64/fpu/Versions: New versions added.
31871         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31872         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31873         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31874         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
31875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
31876         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
31877         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
31878         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
31879         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
31880         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
31881         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
31882         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
31883         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
31884         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
31885         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
31886         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
31887         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
31888         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31889         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31890         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31891         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31892         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31893         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31894         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31895         * math/test-float-vlen16.h: Fixed 2 argument macro.
31896         * math/test-float-vlen4.h: Likewise.
31897         * math/test-float-vlen8.h: Likewise.
31898         * NEWS: Mention addition of x86_64 vector powf.
31900 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
31902         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31903         and redefine.
31904         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31905         and redefine.
31906         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
31907         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31908         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31910         [BZ #18553]
31911         * resource/getpriority.c (getpriority): Rename to __getpriority
31912         and define as weak alias of __getpriority.
31913         * resource/setpriority.c (setpriority): Rename to __setpriority
31914         and define as weak alias of __setpriority.
31915         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
31916         __getpriority and define as weak alias of __getpriority.
31917         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
31918         __setpriority and define as weak alias of __setpriority.
31919         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
31920         strong name.
31921         (setpriority): Use __setpriority as strong name.
31922         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
31923         __getpriority and define as weak alias of __getpriority.
31924         * include/sys/resource.h (__getpriority): Declare.  Use
31925         libc_hidden_proto.
31926         (__setpriority): Likewise.
31927         (getpriority): Don't use libc_hidden_proto.
31928         (setpriority): Likewise.
31929         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
31930         getpriority.  Call __setpriority instead of setpriority.
31931         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
31932         Remove variable.
31934         [BZ #18547]
31935         * misc/getttyent.c (getttynam): Rename to __getttynam and define
31936         as weak alias of __getttynam.  Use prototype function definition.
31937         Call __setttyent, __getttyent and __endttyent instead of
31938         setttyent, getttyent and endttyent.
31939         (getttyent): Rename to __getttyent and define as weak alias of
31940         __getttyent.  Call __setttyent instead of setttyent.  Call
31941         __fgets_unlocked instead of fgets_unlocked.
31942         (setttyent): Rename to __setttyent and define as weak alias of
31943         __setttyent.
31944         (endttyent): Rename to __endttyent and define as weak alias of
31945         __endttyent.
31946         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
31947         (__setttyent): Likewise.
31948         (__endttyent): Likewise.
31949         (getttyent): Don't use libc_hidden_proto.
31950         (setttyent): Likewise.
31951         (endttyent): Likewise.
31952         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
31953         __endttyent instead of setttyent, getttyent and endttyent.
31954         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
31955         Remove variable.
31957         [BZ #18546]
31958         * socket/recv.c (__recv): Use libc_hidden_def.
31959         * socket/socket.c (__socket): Likewise.
31960         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
31961         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
31962         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
31963         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
31964         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
31965         libc_hidden_def.
31966         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
31967         libc_hidden_weak.
31968         * include/sys/socket.h (__socket): Do not use attribute_hidden.
31969         Use libc_hidden_proto.
31970         (__recv): Likewise.
31971         * socket/Versions (libc): Export __recv and __socket at version
31972         GLIBC_PRIVATE.
31973         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
31974         instead of recv.
31975         (init_mq_netlink): Call __socket instead of socket.
31976         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
31977         Remove variable.
31979         [BZ #18545]
31980         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
31981         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
31982         hidden_weak.
31983         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
31984         define as alias of __mq_timedsend.  Use hidden_weak.
31985         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
31986         __mq_timedsend as strong name.
31987         (mq_timedreceive): Use __mq_timedreceive as strong name.
31988         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
31989         (__mq_timedreceive): Likewise.
31990         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
31991         __mq_timedreceive instead of mq_timedreceive.
31992         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
31993         instead of mq_timedsend.
31994         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
31995         Remove variable.
31997         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
31998         hidden_def and hidden_weak instead of libc_hidden_def and
31999         libc_hidden_weak.
32000         (top level): Refer to hidden_def in comment.
32001         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32002         macro.  Use it instead of libc_hidden_def.
32003         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32004         specify __GI_* name explicitly.
32005         (mq_timedreceive): Likewise.
32006         (mq_setattr): Likewise.
32008         [BZ #18544]
32009         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32010         __pthread_barrier_init and define as weak alias of
32011         __pthread_barrier_init.
32012         * sysdeps/sparc/nptl/pthread_barrier_init.c
32013         (pthread_barrier_init): Likewise.
32014         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32015         __pthread_barrier_wait and define as weak alias of
32016         __pthread_barrier_wait.
32017         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32018         (pthread_barrier_wait): Likewise.
32019         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32020         (pthread_barrier_wait): Likewise.
32021         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32022         (pthread_barrier_wait): Likewise.
32023         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32024         (pthread_barrier_wait): Likewise.
32025         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32026         __pthread_barrier_wait at version GLIBC_PRIVATE.
32027         * include/pthread.h (__pthread_barrier_init): Declare.
32028         (__pthread_barrier_wait): Likewise.
32029         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32030         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32031         (helper_thread): Likewise.
32032         (init_mq_netlink): Call __pthread_barrier_init instead of
32033         pthread_barrier_init.
32035         [BZ #18542]
32036         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32037         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32038         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32039         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32040         vswscanf.
32041         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32042         Remove variable.
32044         [BZ #18540]
32045         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32046         strong alias of _IO_fflush.  Use libc_hidden_def.
32047         * libio/iofflush_u.c (fflush_unlocked): Rename to
32048         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32049         Use libc_hidden_weak.
32050         * include/stdio.h (__fflush_unlocked): Declare.  Use
32051         libc_hidden_proto.
32052         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32053         fflush_unlocked.
32054         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32055         Remove variable.
32057         [BZ #18539]
32058         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32059         define as weak alias of __addseverity.
32060         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32061         Remove variable.
32062         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32063         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32064         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32066         [BZ #18536]
32067         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32068         (__tfind): Likewise.
32069         (__tdelete): Likewise.
32070         (__twalk): Likewise.
32071         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32072         __twalk to GLIBC_PRIVATE.
32073         * include/search.h (__tsearch): Use libc_hidden_proto.
32074         (__tfind): Likewise.
32075         (__tdelete): Likewise.
32076         (__twalk): Likewise.
32077         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32078         Call __tdelete instead of tdelete.
32079         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32080         tfind.  Call __tsearch instead of tsearch.
32081         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32082         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32083         Remove variable.
32084         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32086         [BZ #18534]
32087         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32088         (dprintf): Define as a weak alias of __dprintf, not a strong
32089         alias.
32090         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32091         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32092         dprintf.
32093         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32094         Remove variable.
32095         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32096         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32098         [BZ #18533]
32099         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32100         not a strong alias.
32101         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32102         Remove variable.
32104         [BZ #18532]
32105         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32106         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32107         (in6addr_loopback): Rename to __in6addr_loopback and define as
32108         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32109         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32110         libc_hidden_proto.
32111         (__in6addr_any): Likewise.
32112         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32113         in6addr_any.
32114         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32115         variable.
32116         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32118 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32120         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32121         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32122         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32123         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32124         redirections for pow.
32125         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32126         * sysdeps/x86_64/fpu/Versions: New versions added.
32127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32128         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32129         build of SSE, AVX2 and AVX512 IFUNC versions.
32130         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32132         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32133         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32134         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32135         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32136         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32137         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32138         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32139         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32140         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32141         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32142         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32143         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
32144         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32145         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32147         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32148         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32149         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32150         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32151         * NEWS: Mention addition of x86_64 vector pow.
32153         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32154         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32155         redirections for expf.
32156         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32157         * sysdeps/x86_64/fpu/Versions: New versions added.
32158         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32159         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32160         build of SSE, AVX2 and AVX512 IFUNC versions.
32161         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
32162         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32163         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32165         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32166         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32167         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32168         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32169         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32170         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32171         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32172         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32173         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
32174         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32175         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32176         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32177         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32178         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32179         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32180         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32181         * NEWS: Mention addition of x86_64 vector expf.
32183         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32184         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
32185         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32186         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32187         redirections for exp.
32188         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32189         * sysdeps/x86_64/fpu/Versions: New versions added.
32190         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32191         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32192         build of SSE, AVX2 and AVX512 IFUNC versions.
32193         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
32194         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32195         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32196         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32197         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32198         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32199         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32200         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32201         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32202         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32203         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32204         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32205         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32206         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32207         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32208         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32209         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32210         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32211         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32212         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32213         * NEWS: Mention addition of x86_64 vector exp.
32215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32217         redirections for logf.
32218         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32219         * sysdeps/x86_64/fpu/Versions: New versions added.
32220         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32221         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32222         build of SSE, AVX2 and AVX512 IFUNC versions.
32223         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32224         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32225         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32226         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32227         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32228         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32229         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
32230         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
32231         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
32232         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
32233         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
32234         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
32235         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
32236         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32237         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32238         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32239         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32241         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32242         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32243         * NEWS: Mention addition of x86_64 vector logf.
32245         * bits/libm-simd-decl-stubs.h: Added stubs for log.
32246         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
32247         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32248         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32249         redirections for log.
32250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32251         * sysdeps/x86_64/fpu/Versions: New versions added.
32252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32254         build of SSE, AVX2 and AVX512 IFUNC versions.
32255         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
32256         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
32257         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
32258         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
32259         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
32260         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
32261         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
32262         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
32263         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
32264         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
32265         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
32266         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
32267         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
32268         test.
32269         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32270         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32273         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32274         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32275         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32276         * NEWS: Mention addition of x86_64 vector log.
32278 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32280         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
32281         cfi_adjust_cfa_offset argument.
32282         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
32283         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
32285         [BZ #18034]
32286         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
32287         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
32288         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
32289         ordering using ldar.
32290         (_dl_tlsdesc_dynamic): Likewise.
32291         (_dl_tlsdesc_return_lazy): Likewise.
32292         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
32293         relaxed atomics instead of volatile and synchronize with release store.
32294         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
32295         volatile.
32296         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32298 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
32300         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32301         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
32302         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32303         * sysdeps/x86_64/fpu/Versions: New versions added.
32304         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32305         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32306         build of SSE, AVX2 and AVX512 IFUNC versions.
32307         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
32308         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
32309         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
32310         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
32311         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
32312         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
32313         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
32314         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
32315         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
32316         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
32317         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
32318         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
32319         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
32320         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32321         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32322         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32324         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32325         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32326         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32327         * NEWS: Mention addition of x86_64 vector sinf.
32329 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
32331         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
32332         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
32333         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
32334         Remove variable.
32335         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32336         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32338 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32340         [BZ #18530]
32341         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
32342         strong alias of _IO_fputs.  Use libc_hidden_def.
32343         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
32344         and define as weak alias of __fputs_unlocked.  Use
32345         libc_hidden_weak.
32346         * include/stdio.h (__fputs_unlocked): Declare.  Use
32347         libc_hidden_proto.
32348         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
32349         fputs_unlocked.
32351         [BZ #18529]
32352         * resolv/netdb.h [__USE_POSIX]: Change condition to
32353         [__USE_XOPEN2K].
32354         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
32355         not expect.
32356         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
32357         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
32358         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
32359         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
32360         [XPG4 || UNIX98] (AI_ALL): Likewise.
32361         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
32362         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
32363         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
32364         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
32365         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
32366         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
32367         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
32368         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
32369         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
32370         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
32371         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
32372         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
32373         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
32374         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
32375         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
32376         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32377         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32378         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
32379         [XPG4 || UNIX98] (gai_strerror): Likewise.
32380         [XPG4 || UNIX98] (getaddrinfo): Likewise.
32381         [XPG4 || UNIX98] (getnameinfo): Likewise.
32383         [BZ #18528]
32384         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
32385         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
32386         __USE_XOPEN2K8].
32387         (getgrent): Likewise.
32388         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
32389         expect.
32390         [XPG3 || POSIX2008] (endgrent): Likewise.
32391         [XPG3] (setgrent): Likewise.
32392         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
32393         variable.
32394         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32396         [BZ #18527]
32397         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
32398         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
32399         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
32400         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
32401         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
32402         * include/unistd.h (__getlogin_r): Declare.  Use
32403         libc_hidden_proto.
32404         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
32405         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
32406         variable.
32407         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32408         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32409         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32411 2015-06-12  Martin Sebor  <msebor@redhat.com>
32413         [BZ #18512]
32414         * Makerules (check-install-supported): New target.
32415         (install): Add check-install-supported as a dependency.
32416         * manual/install.texi (Installing the C Library): Document
32417         that overriding prefix and exec_prefix is not supported.
32418         Mention DESTDIR.
32419         * INSTALL: Regenerate from the above.
32421 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32423         [BZ #18519]
32424         * posix/Versions (libc): Export __libc_pread at version
32425         GLIBC_PRIVATE.
32426         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
32427         instead of pread.
32428         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
32429         variable.
32431         [BZ #18522]
32432         * misc/efgcvt_r.c
32433         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
32434         (cvt_symbol): Use weak_alias instead of strong_alias.
32435         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
32436         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
32437         Remove variable.
32438         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32439         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32441         [BZ #18520]
32442         * inet/herrno.c (h_errno): Rename to __h_errno.
32443         (__libc_h_errno): Define as alias of __h_errno not h_errno.
32444         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
32445         to __h_errno instead of h_errno.
32446         * nptl/herrno.c (h_errno): Rename to __h_errno.
32447         (__h_errno_location): Refer to __h_errno not h_errno.
32448         * resolv/Versions (h_errno): Rename to __h_errno.
32449         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
32450         Remove variable.
32451         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32453 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
32455         * configure.ac: More strict check for AVX512 assembler support.
32456         * configure: Regenerated.
32458         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
32459         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
32460         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32461         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
32462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32463         * sysdeps/x86_64/fpu/Versions: New versions added.
32464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32465         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32466         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32467         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
32468         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
32469         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
32470         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
32471         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
32472         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
32473         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
32474         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
32475         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
32476         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
32477         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
32478         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
32479         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
32480         test.
32481         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32482         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32483         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32484         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32485         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32486         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32487         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32488         * NEWS: Mention addition of x86_64 vector sin.
32490 2015-06-11  Florian Weimer  <fweimer@redhat.com>
32492         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
32493         comment.
32495 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32497         [BZ #18479]
32498         * nptl/pt-interp.c: New file.
32499         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
32500         Add pt-interp.
32501         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
32502         $(common-objpfx)runtime-linker.h.
32504 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
32506         * Makeconfig (+interp): Remove unused variable.
32507         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
32508         only.  Depend on $(common-objpfx)runtime-linker.h instead of
32509         $(elf-objpfx)runtime-linker.h.
32510         ($(elf-objpfx)runtime-linker.h): Rename to
32511         $(common-objpfx)runtime-linker.h and move ...
32512         * Makerules [$(build-shared) = yes]: ... here.
32513         * elf/interp.c: Include <runtime-linker.h> instead of
32514         <elf/runtime-linker.h>.
32516 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32518         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
32519         (__gettimeofday_syscall): Remove vsyscall fallback.
32520         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
32521         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
32522         Add syscall fallback function.
32523         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
32524         if vDSO is not present.
32525         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
32526         fallback function.
32527         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
32528         present.
32529         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
32530         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32532 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
32534         [BZ #18497]
32535         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
32536         of wcscmp.
32537         (wcscmp): Define as weak alias of WCSCMP.
32538         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
32539         wcscoll.
32540         (USE_HIDDEN_DEF): Define.
32541         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
32542         __wcscoll.  Don't use libc_hidden_weak.
32543         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
32544         wcscmp.
32545         * sysdeps/i386/i686/multiarch/wcscmp-c.c
32546         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
32547         __GI_wcscmp.
32548         (weak_alias): Undefine and redefine.
32549         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
32550         __wcscmp and define as weak alias of __wcscmp.
32551         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
32552         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
32553         (__wcscoll): Likewise.
32554         (wcscmp): Don't use libc_hidden_proto.
32555         (wcscoll): Likewise.
32556         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
32557         wcscoll.
32558         * posix/regexec.c (check_node_accept_bytes): Likewise.
32559         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
32560         variable.
32561         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32562         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32564         [BZ #18507]
32565         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32566         __fstatvfs and define as weak alias of __fstatvfs.  Use
32567         libc_hidden_weak.
32568         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32569         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32570         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32571         Define as alias of __fstatvfs, not fstatvfs.
32572         (fstatvfs64): Likewise.
32573         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32574         Define as alias of __statvfs, not statvfs.
32575         (statvfs64): Likewise.
32576         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32577         Remove variable.
32579 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32582         (HAVE_GETCPU_VSYSCALL): Define.
32583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32584         (HAVE_GETCPU_VSYSCALL): Likewise.
32585         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32586         * sysdeps/unix/sysv/linux/sched_getcpu.c
32587         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32588         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32589         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32590         prototype.
32591         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32592         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32593         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32595         Define.
32596         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32597         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32599         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32601 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32603         * sysdeps/x86_64/fpu/Makefile: New file.
32604         * sysdeps/x86_64/fpu/Versions: New file.
32605         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32606         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32607         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32608         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32609         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32610         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32611         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32612         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32614         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32615         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32617         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32618         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32619         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32620         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
32621         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
32622         * sysdeps/x86_64/configure.ac: Options for libmvec build.
32623         * sysdeps/x86_64/configure: Regenerated.
32624         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
32625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
32626         * manual/install.texi (Configuring and compiling): Document
32627         --disable-mathvec.
32628         * INSTALL: Regenerated.
32629         * NEWS: Mention addition of libmvec and x86_64 vector cos.
32631         * math/Makefile: Added rules for vector tests.
32632         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
32633         declaration under condition.
32634         * math/test-double-vlen2.h: New file.
32635         * math/test-double-vlen4.h: New file.
32636         * math/test-double-vlen8.h: New file.
32637         * math/test-vec-loop.h: Added initialization macro.
32638         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
32639         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
32640         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
32641         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
32642         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
32643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
32644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
32645         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
32646         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
32647         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
32648         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
32650         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32651         * sysdeps/x86_64/fpu/Versions: New versions added.
32652         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
32653         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
32654         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
32655         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
32656         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
32657         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
32658         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
32659         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
32660         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
32661         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
32662         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
32663         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
32664         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
32665         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32666         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32667         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32668         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
32669         * NEWS: Mention addition of x86_64 vector cosf.
32671         * math/Makefile: Added CFLAGS for new tests.
32672         * math/test-float-vlen16.h: New file.
32673         * math/test-float-vlen4.h: New file.
32674         * math/test-float-vlen8.h: New file.
32675         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
32676         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
32677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32678         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
32679         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
32680         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
32681         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
32682         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
32683         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
32684         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
32685         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
32687 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
32689         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
32690         * locale/programs/ld-ctype.c: Likewise.
32692 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
32694         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
32695         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
32696         bit_ZMM16_31_state): New macro.
32697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32698         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
32700 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
32702         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
32704 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
32706         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
32708 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
32710         [BZ #18498]
32711         * libio/memstream.c (open_memstream): Rename to __open_memstream
32712         and define as weak alias of __open_memstream.
32713         * include/stdio.h (__open_memstream): Declare.  Use
32714         libc_hidden_proto.
32715         (open_memstream): Don't use libc_hidden_proto.
32716         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
32717         open_memstream.
32718         * posix/getopt.c (_getopt_internal_r): Likewise.
32719         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
32720         variable.
32721         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32722         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32723         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32725         [BZ #18496]
32726         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
32727         instead of wcrtomb.
32729         [BZ #18483]
32730         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
32731         [__USE_XOPEN2K8].  Remove redundant #endif.
32732         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
32733         Remove redundant #if.
32734         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
32735         Remove variable.
32736         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32737         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32739         [BZ #18495]
32740         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
32741         (__iswlower): Likewise.
32742         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
32743         (__iswlower): Likewise.
32744         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
32745         instead of towlower.
32746         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
32747         instead of iswlower.  Call __towupper instead of towupper.
32748         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
32749         instead of iswalnum.
32751 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32753         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
32754         errors to stderr.
32756 2015-06-05  Florian Weimer  <fweimer@redhat.com>
32758         [BZ #15661]
32759         [BZ #17322]
32760         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32761         Check for overflow properly.  Check for O_APPEND.  Ignore large
32762         file system block sizes.  Add comments about problems.
32763         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
32764         * manual/filesys.texi (Storage Allocation): New node.
32766 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32768         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
32769         cancellable syscalls.
32770         (SYS_ify): Add guard to no redefine it.
32771         (INLINE_SYSCALL): Likewise.
32772         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
32773         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
32774         SYSCALL_CANCEL instead.
32775         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
32776         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32777         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32778         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32779         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32780         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
32781         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
32782         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
32783         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32784         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32785         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
32786         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
32787         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
32788         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
32789         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
32790         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32791         Likewise.
32792         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32793         (__libc_pread64): Likewise.
32794         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
32795         (__libc_preadv): Likewise.
32796         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
32797         (__libc_readv64): Likewise.
32798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32799         (__libc_pwrite): Likewise.
32800         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32801         (__libc_pwrite64): Likewise.
32802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
32803         (__libc_pwritev): Likewise.
32804         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
32805         (__libc_pwritev64): Likewise.
32806         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
32807         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
32808         (sync_file_range): Likewise.
32809         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
32810         Likewise.
32811         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
32812         Likewise.
32813         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32814         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32815         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32816         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32817         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32818         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32819         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32820         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
32821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32822         Likewise.
32823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32824         (__libc_read64): Likewise.
32825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
32826         Likewise.
32827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
32828         Likewise.
32829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
32830         Likewise.
32831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
32832         Likewise.
32833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32834         (__libc_pread64): Likewise.
32835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
32836         Likewise.
32837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32838         (__libc_pwrite64): Likewise.
32839         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
32840         (sync_file_range): Likewise.
32841         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
32842         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32843         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32844         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
32845         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
32846         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32847         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32848         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
32849         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
32850         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32851         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32852         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32853         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32854         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32855         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
32856         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32857         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32858         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32859         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32860         Likewise.
32861         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
32862         Likewise.
32863         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
32864         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
32865         Likewise.
32866         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
32867         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
32868         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
32869         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
32870         Likewise.
32871         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
32872         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
32873         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
32874         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
32875         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
32877 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
32879         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
32880         Include dl-vdso.
32881         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
32882         Use VDSO routines for gettimeofday, clock_gettime if
32883         available.
32884         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
32885         Declare VDSO symbols.
32886         * sysdeps/unix/sysv/linux/arm/sysdep.h:
32887         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
32888         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32889         * sysdeps/unix/sysv/linux/arm/Versions: Add
32890         __vdso_clock_gettime.
32892 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32894         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
32895         be an inline implementation regardless of library is built within.
32896         (open_not_cancel_2): Likewise.
32897         (__read_nocancel): Likewise.
32898         (__write_nocancel): Likewise.
32899         (openat_not_cancel): Likewise.
32900         (openat_not_cancel_3): Likewise.
32901         (openat64_not_cancel): Likewise.
32902         (openat64_not_cancel_3): Likewise.
32903         (__close_nocancel): Likewise.
32904         (pause_not_cancel): Likewise.
32905         (nanosleep_not_cancel): Likewise.
32906         (sigsuspend_not_cancel): Likewise.
32908 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32910         [BZ #14958]
32911         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
32912         wake-up.
32913         (__pthread_rwlock_rdlock_slow): Likewise.
32914         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32915         Likewise.
32916         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32917         Likewise.
32918         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
32919         * nptl/tst-rwlock16.c: New file.
32920         * nptl/Makefile (tests): Add new test.
32922 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32924         [BZ #18324]
32925         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
32926         missing wake-up of readers.
32927         * nptl/tst-rwlock15.c: New file.
32928         * nptl/Makefile (tests): Add new test.
32930 2015-06-03  Roland McGrath  <roland@hack.frob.com>
32932         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
32933         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
32934         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
32935         and __nacl_supply_interface_rtld.
32936         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
32937         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
32938         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
32939         Add __nacl_supply_interface_rtld.
32940         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
32942 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32944         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
32945         isfinite.
32946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32947         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
32949 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32951         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
32952         __signbit* with standard C99 macros.
32953         * math/e_exp10l.c: Likewise.
32954         * math/e_exp2l.c: Likewise.
32955         * math/e_scalb.c: Likewise.
32956         * math/e_scalbf.c: Likewise.
32957         * math/e_scalbl.c: Likewise.
32958         * math/s_ldexp.c: Likewise.
32959         * math/s_ldexpf.c: Likewise.
32960         * math/s_ldexpl.c: Likewise.
32961         * math/w_atan2.c: Likewise.
32962         * math/w_atan2f.c: Likewise.
32963         * math/w_atan2l.c: Likewise.
32964         * math/w_cosh.c: Likewise.
32965         * math/w_coshf.c: Likewise.
32966         * math/w_coshl.c: Likewise.
32967         * math/w_exp10.c: Likewise.
32968         * math/w_exp10f.c: Likewise.
32969         * math/w_exp10l.c: Likewise.
32970         * math/w_exp2.c: Likewise.
32971         * math/w_exp2f.c: Likewise.
32972         * math/w_exp2l.c: Likewise.
32973         * math/w_fmod.c: Likewise.
32974         * math/w_fmodf.c: Likewise.
32975         * math/w_fmodl.c: Likewise.
32976         * math/w_hypot.c: Likewise.
32977         * math/w_hypotf.c: Likewise.
32978         * math/w_hypotl.c: Likewise.
32979         * math/w_jnl.c: Likewise.
32980         * math/w_lgamma.c: Likewise.
32981         * math/w_lgamma_r.c: Likewise.
32982         * math/w_lgammaf.c: Likewise.
32983         * math/w_lgammaf_r.c: Likewise.
32984         * math/w_lgammal.c: Likewise.
32985         * math/w_lgammal_r.c: Likewise.
32986         * math/w_pow.c: Likewise.
32987         * math/w_powf.c: Likewise.
32988         * math/w_powl.c: Likewise.
32989         * math/w_remainder.c: Likewise.
32990         * math/w_remainderf.c: Likewise.
32991         * math/w_remainderl.c: Likewise.
32992         * math/w_scalb.c: Likewise.
32993         * math/w_scalbf.c: Likewise.
32994         * math/w_scalbl.c: Likewise.
32995         * math/w_scalbln.c: Likewise.
32996         * math/w_scalblnf.c: Likewise.
32997         * math/w_scalblnl.c: Likewise.
32998         * math/w_sinh.c: Likewise.
32999         * math/w_sinhf.c: Likewise.
33000         * math/w_sinhl.c: Likewise.
33001         * math/w_tgamma.c: Likewise.
33002         * math/w_tgammaf.c: Likewise.
33003         * math/w_tgammal.c: Likewise.
33004         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33005         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33006         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33007         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33008         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33009         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33010         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33011         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33012         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33013         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33014         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33015         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33016         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33017         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33018         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33019         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33020         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33021         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33022         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33023         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33024         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33025         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33026         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33027         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33028         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33029         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33030         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33031         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33032         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33033         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33034         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33035         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33036         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33037         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33038         * stdio-common/printf_fp.c: Likewise.
33039         * stdio-common/printf_fphex.c: Likewise.
33040         * stdio-common/printf_size.c: Likewise.
33042 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33044         [BZ #18470]
33045         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33046         strnlen.
33047         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33048         Remove variable.
33049         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33050         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33051         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33052         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33053         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33054         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33055         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33056         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33057         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33058         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33060         [BZ #18468]
33061         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33062         weak alias of __wmemchr.  Use libc_hidden_weak.
33063         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33064         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33065         instead of wmemchr.
33067 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33069         [BZ #18383]
33070         * elf/tst-tlsalign-extern.c: New file.
33071         * elf/tst-tlsalign-extern-static.c: New file.
33072         * elf/tst-tlsalign-vars.c: New file.
33073         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33074         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33075         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33076         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33077         (test-xfail-tst-tlsalign-extern-static): New variable.
33079 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33081         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33082         Use variable name _sc_err instead of err.
33083         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33084         instead of ret.
33085         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33086         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33087         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33088         (INLINE_SYSCALL): Likewise.
33090         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33091         * include/string.h (__strnlen): Use libc_hidden_proto.
33092         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33093         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33094         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33095         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33096         (libc_hidden_def): Undefine and redefine.
33097         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33098         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33099         __GI_strnlen.
33100         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33101         libc_hidden_def.
33102         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33104         [BZ #18469]
33105         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33106         weak alias of __towlower.  Use libc_hidden_weak.
33107         (towupper): Rename to __towupper and define as weak alias of
33108         __towupper.  Use libc_hidden_weak.
33109         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33110         (__towupper): Likewise.
33111         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33112         __towlower instead of towlower.
33114 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33116         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33117         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33119 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33121         * sysdeps/aarch64/libm-test-ulps: Update.
33123 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33125         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33126         Define.
33127         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33129         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33130         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33131         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33132         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33133         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33135 2015-06-01  Martin Sebor  <msebor@redhat.com>
33137         [BZ #18116]
33138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33139         (__setcontext): Use extended four-operand version of mtsf whenever
33140         possible.
33141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33142         (__novec_swapcontext): Likewise.
33144 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33146         * benchtests/scripts/compare_bench.py: New file.
33147         * benchtests/scripts/import_bench.py (mean): New function.
33148         (split_list): Likewise.
33149         (do_for_all_timings): Likewise.
33150         (compress_timings): Likewise.
33152         * benchtests/scripts/import_bench.py: New file.
33153         * benchtests/scripts/validate_benchout.py: Import import_bench
33154         instead of jsonschema.
33155         (validate_bench): Remove function.
33156         (main): Use import_bench.
33158 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
33160         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33161         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33163 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33167 2015-05-28  Roland McGrath  <roland@hack.frob.com>
33169         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33170         set THREAD_SELF->tid to a magic value and futex-wake it.
33171         Pass its address to the thread_exit system call.
33172         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33173         bit is clear.
33174         * sysdeps/nacl/lowlevellock.h: New file.
33175         * sysdeps/nacl/lll_timedwait_tid.c: New file.
33177         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33178         Add TIMEOUT to current time, don't subtract it.
33180 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
33182         [BZ #2981]
33183         [BZ #18422]
33184         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33185         ($(objpfx)tst-audit2.out): Also depend on
33186         $(objpfx)tst-auditmod9b.so.
33187         * elf/tst-audit2.c: Include <dlfcn.h>.
33188         (calloc_called): New.
33189         (calloc): Allow to be called more than once.
33190         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33192 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
33194         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33195         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33197 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
33199         * stdlib/monetary.h: Fix comment.
33201 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
33203         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33204         Avoid using variables in #defines that might cause shadowing.
33205         (INTERNAL_VSYSCALL_CALL): Likewise.
33207 2015-05-26  Roland McGrath  <roland@hack.frob.com>
33209         * sysdeps/nacl/lll_timedlock_wait.c: New file.
33211         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33212         * nptl/lll_timedlock_wait.c: ... to this new file.
33213         * nptl/Makefile (libpthread-routines): Add it.
33214         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33215         * nptl/lll_timedwait_tid.c: ... to this new file.
33216         * nptl/Makefile (libpthread-routines): Add it.
33217         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33218         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33219         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33220         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33221         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33222         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33223         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33224         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33225         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33226         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33228 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33230         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
33231         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33232         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
33234         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
33235         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33236         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33238         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33239         * sysdeps/unix/sysv/linux/tile/sysdep.h
33240         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33241         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
33242         using vDSO syscall macro.
33244 2015-05-26  Andriy Rysin  <arysin@gmail.com>
33246         [BZ #17293]
33247         * uk_UA: Fix sorting order for Ukrainian locale
33249 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
33251         * stdlib/monetary.h: Fix comment.
33253 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33255         [BZ #18234]
33256         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
33257         st_mtim and st_ctim members.
33258         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
33259         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
33260         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
33261         (struct stat64): Likewise.
33262         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
33263         (struct stat64): Likewise.
33264         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
33265         (struct stat64): Likewise.
33267 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33269         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
33270         Define and include sysdep-vdso.h.
33271         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
33272         Likewise.
33273         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
33274         Likewise.
33275         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
33276         Define with VDSO_SYMBOL and use PTR_MANGLE.
33277         (__vdso_clock_gettime): Likewise.
33278         (__vdso_clock_getres): Likewise.
33279         (_libc_vdso_platform_setup): Likewise.
33280         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33281         Likewise.
33282         (_libc_vdso_platform_setup): Likewise.
33283         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
33284         Likewise.
33285         (__vdso_clock_gettime): Likewise.
33286         (__vdso_clock_getres): Likewise.
33287         (__vdso_get_tbfreq): Likewise.
33288         (__vdso_getcpu): Likewise.
33289         (__vdso_time): Likewise.
33290         (__vdso_sigtramp_rt64): Likewise.
33291         (__vdso_signtramp32): Likewise.
33292         (__vdso_sigtramp_rt32): Likewise.
33293         (_libc_vdso_platform_setup): Likewise.
33294         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
33295         Likewise.
33296         (__vdso_clock_gettime): Likewise.
33297         (__vdso_clock_getres): Likewise.
33298         (_libc_vdso_platform_setup): Likewise.
33299         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
33300         Likewise.
33301         (__vdso_clock_gettime): Likewise.
33302         (_libc_vdso_platform_setup): Likewise.
33303         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33304         Likewise.
33305         (__vdso_getcpu): Likewise.
33306         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
33307         Use VDSO_SYMBOL macro to define.
33308         (__vdso_clock_gettime): Likewise.
33309         (__vdso_clock_getres): Likewise.
33310         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
33311         Likewise.
33312         (__vdso_clock_gettime): Likewise.
33313         (__vdso_clock_getres): Likewise.
33314         (__vdso_get_tbfreq): Likewise.
33315         (__vdso_getcpu): Likewise.
33316         (__vdso_time): Likewise.
33317         (__vdso_sigtramp_rt64): Likewise.
33318         (__vdso_signtramp32): Likewise.
33319         (__vdso_sigtramp_rt32): Likewise.
33320         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
33321         Likewise.
33322         (__vdso_clock_gettime): Likewise.
33323         (__vdso_clock_getres): Likewise.
33324         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
33325         Likewise.
33326         (__vdso_clock_gettime): Likewise.
33327         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33328         Likewise.
33329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
33330         macro.
33331         (INTERNAL_VSYSCALL): Likewise.
33332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
33333         Remove macro.
33334         (INTERNAL_VSYSCALL): Likewise.
33335         (INTERNAL_VSYSCALL_NCS): Likewise.
33336         (INTERNAL_VSYSCALL_CALL): New macro.
33337         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
33339         Likewise.
33340         (INTERNAL_VSYSCALL): Likewise.
33341         (INTERNAL_VSYSCALL_NCS): Likewise.
33342         (INTERNAL_VSYSCALL_CALL): New macro.
33343         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33345         (INLINE_VSYSCALL): Remove macro.
33346         (INTERNAL_VSYSCALL): Remove macro.
33347         (INTERNAL_VSYSCALL_NCS): Remove macro.
33348         (INTERNAL_VSYSCALL_CALL): New macro.
33349         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
33350         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
33351         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33352         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
33353         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33355         (INLINE_VSYSCALL): Remove macro.
33356         (INTERNAL_VSYSCALL): Likewise.
33357         (INTERNAL_VSYSCALL_NCS): Likewise.
33358         (INTERNAL_VSYSCALL_CALL): New macro.
33359         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
33360         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
33361         PTR_DEMANGLE on vDSO pointer.
33362         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33363         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
33364         macro.
33365         (INTERNAL_SYSCALL): Likewise.
33366         (INTERNAL_VSYSCALL_NCS): Remove macro.
33367         (INTERNAL_VSYSCALL_CALL): New macro.
33368         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
33369         Remove macro.
33370         (INTERNAL_VSYSCALL): Likewise.
33371         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
33372         sysdep-vdso.h instead of libc-vdso.h.
33373         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
33374         definition.
33375         (INLINE_VSYSCALL): Likewise.
33376         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
33377         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
33378         definition.
33379         (INLINE_VSYSCALL): Likewise.
33380         (INTERNAL_VSYSCALL): Likewise.
33381         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33382         * sysdeps/unix/sysv/linux/timespec_get.c
33383         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33384         (timespec_get): Use ANSI prototype.
33385         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
33386         and definition for Linux.
33388 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33390         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
33391         * include/libc-symbols.h: libmvec_hidden_* macro series added.
33393 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33395         [BZ #2981]
33396         [BZ #18410]
33397         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
33398         for missing DT_PLTRELSZ.
33400 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33402         Remove obsolete aliases that broke 'locale -a'
33403         [BZ #18412]
33404         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
33405         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
33406         breaking some applications that use 'locale -a' output.
33407         Change the encoding of this file from Latin-1 to ASCII to avoid
33408         other potential problems with people grepping this file.
33410 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33412         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
33413         -fasynchronous-unwind-tables.
33414         (CFLAGS-sendto.c): Likewise.
33415         (CFLAGS-sendmsg.c): Likewise.
33416         (CFLAGS-connect.c): Likewise.
33417         (CFLAGS-recvmsg.c): Likewise.
33418         (CFLAGS-recvfrom.c): Likewise.
33419         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
33420         (SOCKETCALL): New macro: non-cancellable socketcall.
33421         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
33422         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
33423         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
33424         * sysdeps/unix/sysv/linux/accept.c: New file.
33425         * sysdeps/unix/sysv/linux/bind.c: Likewise.
33426         * sysdeps/unix/sysv/linux/connect.c: Likewise.
33427         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
33428         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
33429         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
33430         * sysdeps/unix/sysv/linux/listen.c: Likewise.
33431         * sysdeps/unix/sysv/linux/recv.c: Likewise.
33432         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
33433         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
33434         * sysdeps/unix/sysv/linux/send.c: Likewise.
33435         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
33436         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
33437         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
33438         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
33439         * sysdeps/unix/sysv/linux/socket.c: Likewise.
33440         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
33441         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
33442         prototype.
33443         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
33444         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33445         instead of __internal_xxx function.
33446         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
33447         prototype.
33448         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
33449         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33450         instead of __internal_xxx function.
33451         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
33452         prototype.
33453         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
33454         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33455         instead of __internal_xxx function.
33456         * sysdeps/unix/sysv/linux/accept.S: Remove file.
33457         * sysdeps/unix/sysv/linux/bind.S: Likewise.
33458         * sysdeps/unix/sysv/linux/connect.S: Likewise.
33459         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
33460         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
33461         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
33462         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
33463         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
33464         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
33465         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
33466         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
33467         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33468         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
33469         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
33470         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
33471         * sysdeps/unix/sysv/linux/listen.S: Likewise.
33472         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
33473         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
33474         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
33475         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
33476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
33477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
33478         * sysdeps/unix/sysv/linux/recv.S: Likewise.
33479         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
33480         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
33481         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
33482         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33483         * sysdeps/unix/sysv/linux/send.S: Likewise.
33484         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
33485         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
33486         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
33487         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
33488         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
33489         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
33490         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
33491         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
33492         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
33493         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
33494         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
33495         socketcall is implemented in GLIBC.
33497 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33499         * soft-fp/fmadf4.c: Include <libc-internal.h>.
33500         (__fma): Ignore uninitialized warnings around packing.
33501         * soft-fp/fmasf4.c: Include <libc-internal.h>.
33502         (__fmaf): Ignore uninitialized warnings around packing.
33503         * soft-fp/fmatf4.c: Include <libc-internal.h>.
33504         (__fmal): Ignore uninitialized warnings around packing.
33506         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
33507         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33508         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
33509         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33511         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
33512         switch statement into default case.
33513         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
33515         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
33516         a conditional in forcing "inexact".
33517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33518         Likewise.
33520 2015-05-22  Roland McGrath  <roland@hack.frob.com>
33522         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33523         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
33524         for each INTERNAL_SYSCALL use.
33526 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33528         [BZ #438]
33529         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
33530         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
33531         variable.
33533         [BZ #18444]
33534         * string/basename.c (basename): Rename to __basename and define as
33535         weak alias of __basename.  Use libc_hidden_weak.
33536         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
33537         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
33538         __basename instead of basename.
33539         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
33540         Remove variable.
33541         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33543 2015-05-18  Florian Weimer  <fweimer@redhat.com>
33545         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
33546         (_IO_JUMPS_FILE_plus): New.
33547         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
33548         _IO_CAST_FIELD_ACCESS.
33549         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
33550         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
33551         * libio/freopen.c (freopen): Likewise.
33552         * libio/freopen64.c (freopen64): Likewise.
33553         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
33554         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
33555         * libio/iofwide.c (_IO_fwide): Likewise.
33556         * libio/memstream.c (open_memstream): Likewise.
33557         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33558         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
33559         * libio/oldiopopen.c (_IO_old_popen): Likewise.
33561 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
33563         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33564         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33565         NADJ.
33566         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33567         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33568         NADJ.
33569         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33570         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33571         NADJ.
33573         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33574         (p == 4) case.
33576         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33577         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33578         Remove variable.
33579         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33580         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33581         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33583 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33585         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33586         Adjust jump table label generation macros.
33588 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33590         * stdio-common/vfprintf.c (vfprintf): Move local variables
33591         args_malloced, specs, specs_malloced, and the code after
33592         do_positional to the printf_positional function.
33593         (printf_positional): New function.
33595 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33597         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33598         function.
33599         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33600         STEP4_TABLE, process_arg): Move macro definitions
33601         out of the vfprintf function.  (Cosmetic change only.)
33603 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33605         * benchtests/Makefile (stdio-common-bench): Define.
33606         (benchset): Add stdio-common-bench.
33607         * sprintf-inputs: New file.
33608         * sprintf-source.c: New file.
33610 2015-05-21  Andreas Schwab  <schwab@suse.de>
33612         [BZ #13028]
33613         [BZ #17053]
33614         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33615         of struct __res_state.
33616         * resolv/res_send.c (__libc_res_nsend): Likewise.
33617         (get_nsaddr): New function.
33618         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33619         statp directly.
33621 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
33623         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
33624         -D_POSIX_C_SOURCE=199506L.
33626         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
33628         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
33629         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
33630         Do not mention otherwise.
33631         [POSIX] (_XOPEN_VERSION): Do not expect.
33632         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
33633         [POSIX] (_POSIX2_C_BIND): Likewise.
33634         [POSIX] (_POSIX2_VERSION): Likewise.
33635         [POSIX] (_XOPEN_XPG2): Likewise.
33636         [POSIX] (_XOPEN_XPG3): Likewise.
33637         [POSIX] (_XOPEN_XPG4): Likewise.
33638         [POSIX] (_XOPEN_UNIX): Likewise.
33639         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
33640         [POSIX] (_POSIX_BARRIERS): Likewise.
33641         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33642         [POSIX] (_POSIX_CPUTIME): Likewise.
33643         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
33644         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
33645         [POSIX] (_POSIX_SHELL): Likewise.
33646         [POSIX] (_POSIX_SPAWN): Likewise.
33647         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
33648         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
33649         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
33650         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
33651         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
33652         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33653         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
33654         [POSIX] (_XBS5_LP64_OFF64): Likewise.
33655         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
33656         [POSIX] (_POSIX_TIMEOUTS): Likewise.
33657         [POSIX] (_POSIX2_PBS): Likewise.
33658         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
33659         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
33660         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
33661         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
33662         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
33663         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
33664         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
33665         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
33666         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
33667         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
33668         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
33669         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
33670         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
33671         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
33672         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
33673         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
33674         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
33675         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
33676         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
33677         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
33678         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
33679         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
33680         [POSIX] (_SC_2_C_BIND): Likewise.
33681         [POSIX] (_SC_2_C_VERSION): Likewise.
33682         [POSIX] (_SC_2_PBS): Likewise.
33683         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
33684         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
33685         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
33686         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
33687         [POSIX] (_SC_2_PBS_TRACK): Likewise.
33688         [POSIX] (_SC_ATEXIT_MAX): Likewise.
33689         [POSIX] (_SC_BARRIERS): Likewise.
33690         [POSIX] (_SC_BASE): Likewise.
33691         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
33692         [POSIX] (_SC_DEVICE_IO): Likewise.
33693         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
33694         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
33695         [POSIX] (_SC_FD_MGMT): Likewise.
33696         [POSIX] (_SC_FIFO): Likewise.
33697         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
33698         [POSIX] (_SC_FILE_LOCKING): Likewise.
33699         [POSIX] (_SC_FILE_SYSTEM): Likewise.
33700         [POSIX] (_SC_IOV_MAX): Likewise.
33701         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
33702         [POSIX] (_SC_NETWORKING): Likewise.
33703         [POSIX] (_SC_PAGE_SIZE): Likewise.
33704         [POSIX] (_SC_PASS_MAX): Likewise.
33705         [POSIX] (_SC_PIPE): Likewise.
33706         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
33707         [POSIX] (_SC_REGEXP): Likewise.
33708         [POSIX] (_SC_SHELL): Likewise.
33709         [POSIX] (_SC_SIGNALS): Likewise.
33710         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
33711         [POSIX] (_SC_SPIN_LOCKS): Likewise.
33712         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
33713         [POSIX] (_SC_USER_GROUPS): Likewise.
33714         [POSIX] (_SC_USER_GROUPS_R): Likewise.
33715         [POSIX] (_SC_STREAMS): Likewise.
33716         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
33717         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
33718         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
33719         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
33720         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
33721         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
33722         [POSIX] (_PC_FILESIZEBITS): Likewise.
33723         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
33724         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
33725         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
33726         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
33727         [POSIX] (uid_t): Likewise.
33728         [POSIX] (gid_t): Likewise.
33729         [POSIX] (off_t): Likewise.
33730         [POSIX] (pid_t): Likewise.
33731         [POSIX] (cuserid): Allow.
33732         (_SC_2_CHAR_TERM): Require constant.
33733         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
33734         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
33735         variable.
33737 2015-05-20  Roland McGrath  <roland@hack.frob.com>
33739         * sysdeps/nacl/pthread-pids.h: New file.
33740         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
33741         (create_thread): Use __nacl_get_tid to initialize PD->tid.
33743         * nptl/pthread-pids.h: New file.
33744         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
33745         * nptl/nptl-init.c: Include <pthread-pids.h>.
33746         (__pthread_initialize_minimal_internal):
33747         Call __pthread_initialize_pids instead of set_tid_address syscall.
33749         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
33750         * sysdeps/posix/usleep.c: ... here.
33752 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33754         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
33755         call_pselect6 object.
33756         [$(subdir) = io]: Remove call_sync_file_range object.
33757         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
33758         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
33759         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
33760         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
33762 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
33764         * math/s_cproj.c: Add include "math_private.h".
33765         * math/s_cprojf.c: Likewise.
33766         * math/s_cprojl.c: Likewise.
33768 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
33770         [BZ #18244]
33771         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
33772         high mantissa bit when testing whether P is a NaN.
33773         * math/libm-test.inc (remainder_test_data): Add more tests.
33774         (remquo_test_data): Likewise.
33776         [BZ #18049]
33777         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
33778         below -32, return the argument, with underflow if subnormal.
33779         * math/auto-libm-test-in: Add more tests of atanh.
33780         * math/auto-libm-test-out: Regenerated.
33782 2015-05-19  Roland McGrath  <roland@hack.frob.com>
33784         [BZ #18434]
33785         * nptl/tst-sem15.c: New file.
33786         * nptl/Makefile (tests): Add it.
33787         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
33788         s/<</>>/ to fix typo in EOVERFLOW check.
33789         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
33791 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33793         * manual/strings.texi (envz_remove): Fix typo in safety
33794         annotations.
33796 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
33797             Steve Ellcey  <sellcey@imgtec.com>
33799         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
33800         in order to avoid strict alias warnings.
33801         (iruserok_af): Ditto for ra.
33803 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
33805         [BZ #17581]
33806         * malloc/hooks.c
33807         (magicbyte): Convert to a function and avoid returning 0x01.
33808         (mem2mem_check): Avoid using a length byte equal to the magic byte.
33809         (mem2chunk_check): Fix unsigned comparisons to zero.
33810         Hoist defs of sz and magic.
33812 2015-05-19  Richard Henderson  <rth@redhat.com>
33814         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
33816         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33818 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33820         [BZ #16159]
33821         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
33822         * malloc/arena.c (arena_lock): Check if arena is corrupt.
33823         (reused_arena): Find a non-corrupt arena.
33824         (heap_trim): Pass arena to unlink.
33825         * malloc/hooks.c (malloc_check_get_size): Pass arena to
33826         malloc_printerr.
33827         (top_check): Likewise.
33828         (free_check): Likewise.
33829         (realloc_check): Likewise.
33830         * malloc/malloc.c (malloc_printerr): Add arena argument.
33831         (unlink): Likewise.
33832         (munmap_chunk): Adjust.
33833         (ARENA_CORRUPTION_BIT): New macro.
33834         (arena_is_corrupt): Likewise.
33835         (set_arena_corrupt): Likewise.
33836         (sysmalloc): Use mmap if there are no usable arenas.
33837         (_int_malloc): Likewise.
33838         (__libc_malloc): Don't fail if arena_get returns NULL.
33839         (_mid_memalign): Likewise.
33840         (__libc_calloc): Likewise.
33841         (__libc_realloc): Adjust for additional argument to
33842         malloc_printerr.
33843         (_int_free): Likewise.
33844         (malloc_consolidate): Likewise.
33845         (_int_realloc): Likewise.
33846         (_int_memalign): Don't touch corrupt arenas.
33847         * malloc/tst-malloc-backtrace.c: New test case.
33849         * Makefile (summarize-tests): Fix return value on success.
33851         * manual/string.texi (Envz Functions): Add envz_remove.
33853 2015-05-18  Roland McGrath  <roland@hack.frob.com>
33855         * sysdeps/posix/opendir.c: Include <stdbool.h>.
33856         (invalid_name): New function, broken out of ...
33857         (__opendirat): ... here.  Call it.
33858         (need_isdir_precheck): New function, broken out of ...
33859         (__opendirat): ... here.  Call it.
33860         Use __fxstatat64, not __xstatat64.
33861         (opendir_oflags): New function, broken out of ...
33862         (__opendirat): ... here.  Call it.
33863         (opendir_tail): New function, broken out of ...
33864         (__opendirat): ... here.  Call it.
33865         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
33866         opendir_tail, rather than punting to __opendirat.
33867         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
33869 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33871         * .gitignore: Ignore generated *.pyc.
33873 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
33875         * include/stdio.h: Define __need_wint_t.
33876         * test-skeleton.c: Avoid `for' loop initial declaration.
33877         * nptl/tst-initializers1.c: Use test-skeleton.c.
33879 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33881         [BZ #18418]
33882         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
33884 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33886         [BZ #16352]
33887         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
33888         (__ieee754_atanh): Force underflow exception for results with
33889         small absolute value.
33890         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
33891         (__ieee754_atanhf): Force underflow exception for results with
33892         small absolute value.
33893         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
33894         (__ieee754_atanh): Force underflow exception for results with
33895         small absolute value.
33896         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
33897         (__ieee754_atanhf): Force underflow exception for results with
33898         small absolute value.
33899         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
33900         (__ieee754_atanhl): Force underflow exception for results with
33901         small absolute value.
33902         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
33903         (__ieee754_atanhl): Force underflow exception for results with
33904         small absolute value.
33905         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
33906         (__ieee754_atanhl): Force underflow exception for results with
33907         small absolute value.
33908         * math/auto-libm-test-in: Do not allow missing underflow
33909         exceptions from atanh.
33910         * math/auto-libm-test-out: Regenerated.
33912         [BZ #18221]
33913         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
33914         2**-28 as threshold for returning x or +/- 1/x.
33915         * math/auto-libm-test-in: Add more tests of tan.
33916         * math/auto-libm-test-out: Regenerated.
33918         [BZ #18220]
33919         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33920         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
33921         * math/auto-libm-test-in: Add another test of lgamma.
33922         * math/auto-libm-test-out: Regenerated.
33924 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
33926         * stdio-common/printf_fp.c (___printf_fp): Use abs.
33927         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
33928         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
33929         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
33930         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
33931         (ADD2A): Use fabs.  (SUB2A): Use fabs.
33932         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
33933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
33934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
33935         (log1): Use fabs.  (my_log2): Use fabs.
33936         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
33937         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
33938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
33939         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
33940         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
33941         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
33942         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
33943         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
33944         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
33945         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
33946         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
33948 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33950         [BZ #18217]
33951         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
33952         as threshold for returning 1 - x.
33953         * math/auto-libm-test-in: Add more tests of erfc.
33954         * math/auto-libm-test-out: Regenerated.
33956 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
33958         [BZ #18196]
33959         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
33960         threshold for large arguments.
33961         * math/auto-libm-test-in: Add another test of atan.
33962         * math/auto-libm-test-out: Regenerated.
33964         [BZ #16339]
33965         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
33966         (__log1p): Force underflow exception for results with small
33967         absolute value.
33968         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
33969         (__log1pf): Force underflow exception for results with small
33970         absolute value.
33971         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
33972         (__log1p): Force underflow exception for results with small
33973         absolute value.
33974         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
33975         (__log1pf): Force underflow exception for results with small
33976         absolute value.
33977         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
33978         (__log1pl): Force underflow exception for results with small
33979         absolute value.
33980         * math/auto-libm-test-in: Do not allow missing underflow
33981         exceptions from log1p.
33982         * math/auto-libm-test-out: Regenerated.
33984 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
33985             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33987         [BZ #16704]
33988         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
33990 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
33992         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
33993         (libmvec): New variable.
33994         * configure.ac: Added option for mathvec build.
33995         * configure: Regenerated.
33996         * mathvec/Depend: New file.
33997         * mathvec/Makefile: New file.
33998         * shlib-versions: Added libmvec.
33999         * math/Makefile: Added rule for libm.so installation.
34001         * bits/math-vector.h: New file.
34002         * bits/libm-simd-decl-stubs.h: New header.
34003         * math/Makefile (headers): Added new header
34004         libm-simd-decl-stubs.h.
34005         * math/math.h (__MATHCALL_VEC): New macro.
34007         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34008         for conditions in testing functions.
34009         * math/Makefile: Added call of libm-have-vector-test.sh.
34010         * math/libm-test.inc (HAVE_VECTOR): New macros.
34012         * math/libm-test.inc: START refactored.
34013         * math/test-double.c (TEST_MATHVEC): Add define.
34014         * math/test-float.c: Likewise.
34015         * math/test-idouble.c: Likewise.
34016         * math/test-ifloat.c: Likewise.
34017         * math/test-ildoubl.c: Likewise.
34018         * math/test-ldouble.c: Likewise.
34019         * sysdeps/generic/math-tests-arch.h
34020         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34021         architecture check.
34023         * math/test-double.c (FUNC_TEST): New macro.
34024         * math/test-float.c: Likewise.
34025         * math/test-idouble.c: Likewise.
34026         * math/test-ifloat.c: Likewise.
34027         * math/test-ildoubl.c: Likewise.
34028         * math/test-ldouble.c: Likewise.
34029         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34031 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34033         * sysdeps/nacl/fdopendir.c: New file.
34035         * dirent/scandir-tail.c: New file.
34036         * dirent/scandir64-tail.c: New file.
34037         * dirent/Makefile (routines): Add them.
34038         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34039         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34040         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34041         [!SCANDIR] (SCANDIR_TAIL): New macro.
34042         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34043         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34044         (SCANDIRAT): Macro removed.
34045         (SCANDIR_TAIL): New macro.
34046         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34047         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34048         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34049         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34050         (READDIR): Macro removed.
34051         (SCANDIR_TAIL): New macro.
34052         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34053         (SCANDIR_TAIL): New macro.
34055         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34056         * dirent/scandir-cancel.c: ... to this new file.
34057         * dirent/Makefile (routines): Add it.
34058         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34059         * sysdeps/unix/sysv/linux/i386/scandir64.c
34060         (SKIP_SCANDIR_CANCEL): Macro removed.
34061         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34063         * dirent/tst-scandir.c: New file.
34064         * dirent/tst-scandir64.c: New file.
34065         * dirent/Makefile (tests): Add them.
34067 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34069         [BZ #18409]
34070         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34072 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34074         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34075         list.
34077 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34079         * benchtests/bench-strcoll.c: New benchmark.
34080         * benchtests/Makefile: Generate locales and run benchmark.
34081         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34082         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34083         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34084         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34085         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34086         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34087         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34088         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34089         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34090         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34091         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34092         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34093         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34094         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34095         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34096         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34097         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34098         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34099         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34100         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34101         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34102         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34103         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34104         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34106 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34108         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34109         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34111 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34113         * posix/uname-values.h: New file.
34114         * posix/uname.c: Include that instead of <config-name.h>.
34115         * sysdeps/nacl/uname-values.h: New file.
34116         * sysdeps/arm/nacl/uname-values.h: New file.
34118 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34120         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34121         splitting into fields.
34123 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34125         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34126         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34127         * locale/localeinfo.h: Add enum collation_encoding_type.
34128         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34129         * programs/ld-collate.c (collate_output): Add encoding type info.
34130         * string/strcoll_l.c (STRDIFF): New function.
34131         * (STRCOLL): Use STRDIFF to skip over equal prefix.
34132         * wcsmbs/wcscoll_l.c: Define STRDIFF.
34134 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
34136         [BZ #18397]
34137         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34138         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
34139         <fpu_control.h> instead of <math/fpu_control.c>.
34140         * sysdeps/mips/mips32/fpu/Makefile: New file.
34142 2015-05-11  Andreas Schwab  <schwab@suse.de>
34144         [BZ #18007]
34145         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34146         nss_endgrent.
34147         (_nss_compat_endgrent): Call nss_endgrent.
34148         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34149         nss_endpwent.
34150         (_nss_compat_endpwent): Call nss_endpwent.
34151         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34152         needent, call nss_setspent only if non-zero.
34153         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34154         (internal_endspent): Don't call nss_endspent.
34155         (_nss_compat_endspent): Call nss_endspent.
34156         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34157         Remove.  All uses removed.
34158         (internal_setent): Remove parameter stayopen, add parameter
34159         stream.  Use it instead of global variable.
34160         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34161         (internal_endent, internal_getent): Add parameter stream.  Use it
34162         instead of global variable.
34163         (CONCAT(_nss_files_end,ENTNAME))
34164         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34165         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
34166         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
34167         uses removed.
34168         (internal_setent, internal_endent): Add parameter stream.  Use it
34169         instead of global variable.
34170         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34171         stream.
34172         (get_next_alias): Add parameter stream.
34173         (_nss_files_getaliasent_r): Pass global stream.
34174         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34175         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34176         (_nss_files_gethostbyname4_r): Pass local stream to
34177         internal_setent, internal_getent and internal_endent.  Remove
34178         locking.
34180 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34182         * tst-strfmon1.c (tests): Update expected currency symbol.
34184 2015-05-08  Roland McGrath  <roland@hack.frob.com>
34186         * sysdeps/nacl/gethostname.c: New file.
34188 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
34190         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34191         and sinh.
34192         * math/auto-libm-test-out: Regenerated.
34193         * sysdeps/i386/fpu/libm-test-ulps: Update.
34194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34196 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
34198         [BZ #18125]
34199         * stdlib/tst-setcontext3.c: New file.
34200         * stdlib/tst-setcontext3.sh: New file.
34201         * stdlib/Makefile (tests): Add tst-setcontext3.
34202         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34203         to verify test program created output file.
34204         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34205         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34206         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34207         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34209 2015-05-06  Roland McGrath  <roland@hack.frob.com>
34211         [BZ #18383]
34212         * elf/tst-tlsalign.c: New file.
34213         * elf/tst-tlsalign-static.c: New file.
34214         * elf/tst-tlsalign-lib.c: New file.
34215         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34216         (tests-static): Add tst-tlsalign-static.
34217         (modules-names): Add tst-tlsalign-lib.
34218         (test-xfail-tst-tlsalign): New variable.
34219         (test-xfail-tst-tlsalign-static): New variable.
34221         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34222         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34224 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
34226         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34227         csqrt, erfc, sin and sincos.
34228         * math/auto-libm-test-out: Regenerated.
34229         * sysdeps/i386/fpu/libm-test-ulps: Update.
34230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34232 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34234         * sysdeps/aarch64/libm-test-ulps: Update.
34236 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
34238         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
34239         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
34240         * math/auto-libm-test-out: Regenerated.
34241         * sysdeps/i386/fpu/libm-test-ulps: Update.
34242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34244 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
34246         [BZ #18265]
34247         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
34248         (wcsncpy): Likewise.
34250 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34252         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34253         Assume __ASSUME_FALLOCATE is always true.
34254         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34255         (__posix_fallocate64_l64): Likewise.
34256         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34257         (posix_fallocate): Likewise.
34258         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
34259         (__posix_fallocate64_l64): Likewise.
34260         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34261         [!__ASSUME_FALLOCATE]: Add comment.
34263 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34265         * sysdeps/unix/sysv/linux/i386/Makefile
34266         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
34267         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
34268         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
34269         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34270         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34271         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
34272         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
34274 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
34276         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34277         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
34278         tgamma.
34279         * math/auto-libm-test-out: Regenerated.
34280         * sysdeps/i386/fpu/libm-test-ulps: Update.
34281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34283 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34285         * math/auto-libm-test-in: Add more tests of tgamma.
34286         * math/auto-libm-test-out: Regenerated.
34287         * sysdeps/i386/fpu/libm-test-ulps: Update.
34288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34290         * math/auto-libm-test-in: Add more tests of tanh.
34291         * math/auto-libm-test-out: Regenerated.
34292         * sysdeps/i386/fpu/libm-test-ulps: Update.
34293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34295         * math/auto-libm-test-in: Add more tests of tan.
34296         * math/auto-libm-test-out: Regenerated.
34297         * sysdeps/i386/fpu/libm-test-ulps: Update.
34298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34300         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
34301         * math/auto-libm-test-out: Regenerated.
34302         * sysdeps/i386/fpu/libm-test-ulps: Update.
34303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34305         * math/auto-libm-test-in: Add another test of pow.
34306         * math/auto-libm-test-out: Regenerated.
34307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34309         * math/auto-libm-test-in: Add more tests of lgamma.
34310         * math/auto-libm-test-out: Regenerated.
34311         * sysdeps/i386/fpu/libm-test-ulps: Update.
34312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34314         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
34315         log1p.
34316         * math/auto-libm-test-out: Regenerated.
34317         * sysdeps/i386/fpu/libm-test-ulps: Update.
34318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34320 2015-05-01  Mark Wielaard  <mjw@redhat.com>
34322         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
34323         Elf64_Chdr structs and ELFCOMPRESS constants.
34325 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34327         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
34328         expm1.
34329         * math/auto-libm-test-out: Regenerated.
34330         * sysdeps/i386/fpu/libm-test-ulps: Update.
34331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34333         * math/auto-libm-test-in: Add more tests of erf and erfc.
34334         * math/auto-libm-test-out: Regenerated.
34335         * sysdeps/i386/fpu/libm-test-ulps: Update.
34336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34338 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34340         * config.h.in (HAVE_AARCH64_BE): Add.
34342 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
34344         * math/auto-libm-test-in: Add more tests of csqrt.
34345         * math/auto-libm-test-out: Regenerated.
34346         * sysdeps/i386/fpu/libm-test-ulps: Update.
34347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34349         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34350         * math/auto-libm-test-out: Regenerated.
34351         * sysdeps/i386/fpu/libm-test-ulps: Update.
34352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34354         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
34356 2015-04-29  Roland McGrath  <roland@hack.frob.com>
34358         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
34359         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
34361         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
34362         (euidaccess, eaccess): Define as weak aliases.
34364         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
34365         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
34366         but __suseconds_t is often 'long int' so some sources assume that
34367         type is being used (e.g. they use %ld to print tv_usec).
34369 2015-04-29  Florian Weimer  <fweimer@redhat.com>
34371         [BZ #18007]
34372         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
34373         (CVE-2014-8121)
34374         * nss/tst-nss-getpwent.c: New file.
34375         * nss/Makefile (tests): Add new test.
34377 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
34379         [BZ #18346]
34380         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
34381         exponents less than 48 as cases where high part of mantissa needs
34382         examining to determine whether argument is integral.
34383         * math/libm-test.inc (round_test_data): Add more tests.
34385 2015-04-28  Mark Wielaard  <mjw@redhat.com>
34387         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
34389 2015-04-27  David S. Miller  <davem@davemloft.net>
34391         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
34392         __tls_get_addr.
34393         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34395 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
34397         [BZ #18333]
34398         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
34400 2015-04-27  Florian Weimer  <fweimer@redhat.com>
34402         [BZ #18333]
34403         * time/tzset.c (parse_tzname): Return error on memory allocation
34404         failure.
34405         * test-skeleton.c (struct temp_name_list): Change type of name
34406         member to non-const.
34407         (add_temp_file): Create a copy of the file name.
34408         (delete_temp_files): Deallocate memory.
34409         (create_temp_file): Add comment.
34411 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34413         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
34414         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
34416 2015-04-24  Roland McGrath  <roland@hack.frob.com>
34418         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
34419         * sysdeps/arm/configure: Regenerated.
34421 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34423         [BZ #17715]
34424         * time/tzfile.c (__tzfile_read): Check for large values of
34425         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
34426         * time/tzset.c (__tzstring_len): New function, based on the old
34427         __tzstring function.
34428         (__tzstring): Call __tzstring_len.
34429         (parse_tzname): New helper function extracted from
34430         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
34431         the input string.
34432         (parse_offset): New helper function extracted from
34433         __tzset_parse_tz.  Replace switch with fallthrough with
34434         initialization before sscanf.
34435         (parse_rule): Likewise.
34436         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
34437         new-style function definition.
34438         * timezone/Makefile (tests): Add tst-tzset.
34439         (tst-tzset.out): Dependencies on time zone files.
34440         (tst-tzset-ENV): Set TZDIR.
34441         (testdata/XT%): Copy crafted time zone files.
34442         * timezone/README: Mention crafted time zone files.
34443         * timezone/testdata/XT1, timezone/testdata/XT2,
34444         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
34445         files.
34446         * timezone/tst-tzset.c: New test.
34448 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34450         * Makeconfig (+gccwarn): Remove -Winline.
34452 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34454         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
34456 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34458         * NEWS: Mention sysconf() cache information support for s390.
34459         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
34461 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
34463         * math/k_casinh.c (__kernel_casinh): Use __copysign.
34464         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
34465         (__nearbyint): Likewise.
34466         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
34467         (copysignl): Likewise.
34469 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
34471         [BZ #18287]
34472         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
34473         based on padding.  (CVE-2015-1781)
34475 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34477         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
34478         libc-vdso.h.
34479         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
34480         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
34481         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
34482         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34483         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34484         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
34485         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
34486         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34487         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34488         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
34489         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34490         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34491         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34492         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
34493         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34494         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
34495         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
34496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
34497         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
34498         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
34499         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
34500         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
34501         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
34503 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34505         * stdlib/setenv.c (__add_to_environ):
34506         Dump core quickly if setenv (..., NULL, ...) is called.
34507         This time, do it the right way, and pacify GCC with a pragma.
34509 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34511         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
34512         IMAP->l_prev cannot be null, and #if out the code for the contrary
34513         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
34514         believe that NS (&_dl_ns[NSID]) could point outside the array.
34516         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
34517         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
34518         before using NSID as an index.
34520 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
34522         [BZ #17825]
34523         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
34524         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
34525         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34527 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34529         Add preliminary port to Google Native Client on ARM.
34530         * abi-tags (.*-.*-nacl.*): New entry.
34531         * sysdeps/arm/nacl: New directory.
34532         * sysdeps/nacl: New directory.
34534 2015-04-16  David S. Miller  <davem@davemloft.net>
34536         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
34537         lowlevellock-futex.h
34539 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
34541         * sysdeps/tile/configure.ac: New file.
34542         * sysdeps/tile/configure: Regenerated.
34544 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34546         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
34547         conditionals for weak_alias and libc_hidden_weak.
34548         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
34549         libc_hidden_weak and weak_alias.
34550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
34551         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
34552         and weak_alias for static one.
34554 2015-04-15  David S. Miller  <davem@davemloft.net>
34556         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34558 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34560         [BZ #18206]
34561         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34562           Use signed comparision instead of substraction to avoid
34563           overflow bug.
34564         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34565           Take the sign of ret.
34566         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34567           Do not expect precise return values. Only the sign matters.
34568         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34569         * wcsmbs/test-wcsncmp.c: New File.
34570         * string/test-strncmp.c: Add wcsncmp support.
34572 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34574         [BZ #6792]
34575         * math/w_log1p.c: New file.
34576         * math/w_log1pf.c: Likewise.
34577         * math/w_log1pl.c: Likewise.
34578         * math/Makefile (libm-calls): Add w_log1p.
34579         * math/s_log1pl.c (log1pl): Remove weak_alias.
34580         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34581         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34582         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34583         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34584         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34585         [NO_LONG_DOUBLE] (log1pl): Likewise.
34586         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34587         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34588         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34589         (log1p): Remove long_double_symbol.
34590         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34591         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34592         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34593         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34594         remove weak_alias for corresponding log1p function.
34595         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34596         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34597         * sysdeps/ia64/fpu/w_log1p.c: New file.
34598         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34599         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34600         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34602 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34604         [BZ #18247]
34605         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34606         decimal exponent by 1.
34607         * stdlib/tst-strtod-round-data: Add more tests.
34608         * stdlib/tst-strtod-round.c (tests): Regenerated.
34610 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
34612         * math/auto-libm-test-in: Add more tests of clog and clog10.
34613         * math/auto-libm-test-out: Regenerated.
34614         * sysdeps/i386/fpu/libm-test-ulps: Update.
34615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34617 2015-04-09  Roland McGrath  <roland@hack.frob.com>
34619         * Makeconfig (module-cppflags): Exclude all .v.i files.
34620         (skip-module-cppflags): Variable removed.
34622         * configure.ac (libc_config_ok): Initialize before reading
34623         preconfigure scripts, not after.
34624         * configure: Regenerated.
34626         * test-skeleton.c (TIMEOUT): Move #define to top level.
34627         (main): Grok environment variable TEST_DIRECT.  If set, print
34628         test expectation details into that file and then behave as if
34629         given --direct.
34631 2015-04-09  Florian Weimer  <fweimer@redhat.com>
34633         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
34634         warning on 32-bit.
34636 2015-04-08  David S. Miller  <davem@davemloft.net>
34638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34640 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34642         * math/auto-libm-test-in: Add more tests of atanh.
34643         * math/auto-libm-test-out: Regenerated.
34644         * sysdeps/i386/fpu/libm-test-ulps: Update.
34645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34647         * math/auto-libm-test-in: Add more tests of atan.
34648         * math/auto-libm-test-out: Regenerated.
34649         * sysdeps/i386/fpu/libm-test-ulps: Update.
34650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34652 2015-04-08  Florian Weimer  <fweimer@redhat.com>
34654         * elf/pldd.c (main): Rewrite to use struct
34655         scratch_buffer instead of extend_alloca.
34656         * elf/pldd-xx.c (find_maps): Likewise.
34657         * grp/initgroups.c: Include <scratch_buffer.h> instead of
34658         <alloca.h>.
34659         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
34660         scratch_buffer instead of extend_alloca.
34661         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
34662         grp/compat-initgroups.c.
34663         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
34664         Rewrite to use struct scratch_buffer instead of extend_alloca.
34665         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
34666         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34668 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34670         * math/auto-libm-test-in: Add more tests of cbrt.
34671         * math/auto-libm-test-out: Regenerated.
34672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34674         * math/auto-libm-test-in: Add more tests of cabs.
34675         * math/auto-libm-test-out: Regenerated.
34676         * sysdeps/i386/fpu/libm-test-ulps: Update.
34677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34679         [BZ #18210]
34680         [BZ #18211]
34681         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
34682         (__ieee754_atan2): Set FE_TONEAREST mode for internal
34683         computations.
34684         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34685         clog10.
34686         * math/auto-libm-test-out: Regenerated.
34687         * sysdeps/i386/fpu/libm-test-ulps: Update.
34688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34690         [BZ #18197]
34691         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
34692         (atan): Set FE_TONEAREST mode for internal computations.
34693         * math/auto-libm-test-in: Add more tests of atan.
34694         * math/auto-libm-test-out: Regenerated.
34696 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
34698         [BZ #17930]
34699         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
34701 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34703         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
34705 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34707         * include/scratch_buffer.h: New file.
34708         * malloc/scratch_buffer_grow.c: Likewise.
34709         * malloc/scratch_buffer_grow_preserve.c: Likewise.
34710         * malloc/scratch_buffer_set_array_size.c: Likewise.
34711         * malloc/tst-scratch_buffer.c: Likewise.
34712         * malloc/Makefile (routines): Add scratch_buffer_grow.
34713         (tests): Add test case.
34714         * malloc/Versions (GLIBC_PRIVATE): Export
34715         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
34716         __libc_scratch_buffer_set_array_size.
34718 2015-04-06  Richard Henderson  <rth@redhat.com>
34720         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
34721         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34723         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
34724         unsigned int before printing.
34726 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34728         [BZ #17596]
34729         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
34730         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34732 2015-04-02  Florian Weimer  <fweimer@redhat.com>
34734         * include/libc-internal.h (libc_max_align_t): Define.
34736 2015-04-02  Andreas Schwab  <schwab@suse.de>
34738         [BZ #16850]
34739         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
34741 2015-04-02  Mel Gorman  <mgorman@suse.de>
34743         [BZ #17195]
34744         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
34745         as well as the main arena.
34747 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34749         [BZ #18185]
34750         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34751         sharing L2 cache to 2 for Silvermont/Knights Landing.
34753 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34755         [BZ #17711]
34756         * config.make.in (have-protected-data): New.
34757         * configure.ac: Check linker support for protected data symbol.
34758         * configure: Regenerated.
34759         * elf/Makefile (modules-names): Add tst-protected1moda and
34760         tst-protected1modb if $(have-protected-data) is yes.
34761         (tests): Add tst-protected1a and tst-protected1b if
34762         $(have-protected-data) is yes.
34763         ($(objpfx)tst-protected1a): New.
34764         ($(objpfx)tst-protected1b): Likewise.
34765         (tst-protected1modb.so-no-z-defs): Likewise.
34766         * elf/tst-protected1a.c: New file.
34767         * elf/tst-protected1b.c: Likewise.
34768         * elf/tst-protected1mod.h: Likewise.
34769         * elf/tst-protected1moda.c: Likewise.
34770         * elf/tst-protected1modb.c: Likewise.
34772 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34774         [BZ #17711]
34775         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
34776         indicates it is called from do_lookup_x on relocation against
34777         protected data, skip the data definion in the executable from
34778         copy reloc.
34779         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
34780         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
34781         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
34782         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
34783         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
34784         otherwise to 0.
34785         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34786         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
34787         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
34788         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34789         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
34790         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
34792 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
34794         * sysdeps/nptl/pthread.h: Remove duplicate definition of
34795         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
34797 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
34799         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
34800         THREAD_SETMEM_NC.
34801         * sysdeps/x86_64/nptl/tls.h: Ditto.
34803 2015-03-27  Roland McGrath  <roland@hack.frob.com>
34805         * dlfcn/tststatic.c (main): Converted to ...
34806         (do_test): ... this.
34807         (TEST_FUNCTION): New macro.
34808         Include test-skeleton.c.
34810 2015-03-26  Alan Modra  <amodra@gmail.com>
34812         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
34813         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
34814         zero for undefined weak.
34815         (elf_machine_plt_conflict): Similarly.
34817 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34819         * math/auto-libm-test-in: Add more tests of acosh, asinh and
34820         atanh.
34821         * math/auto-libm-test-out: Regenerated.
34822         * sysdeps/i386/fpu/libm-test-ulps: Update.
34823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34825         * math/auto-libm-test-in: Add another test of asin.
34826         * math/auto-libm-test-out: Regenerated.
34827         * sysdeps/i386/fpu/libm-test-ulps: Update.
34828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34830         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
34831         Remove macro.
34832         (LLL_EBX_REG): Likewise.
34833         (LLL_ENTER_KERNEL): Likewise.
34835         * math/auto-libm-test-in: Add more tests of asin.
34836         * math/auto-libm-test-out: Regenerated.
34837         * sysdeps/i386/fpu/libm-test-ulps: Update.
34838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34840         [BZ #18138]
34841         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
34842         libc_do_syscall_args): New structure.
34843         (INTERNAL_SYSCALL_MAIN_0): New macro.
34844         (INTERNAL_SYSCALL_MAIN_1): Likewise.
34845         (INTERNAL_SYSCALL_MAIN_2): Likewise.
34846         (INTERNAL_SYSCALL_MAIN_3): Likewise.
34847         (INTERNAL_SYSCALL_MAIN_4): Likewise.
34848         (INTERNAL_SYSCALL_MAIN_5): Likewise.
34849         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
34850         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
34851         Replace conditional definitions by conditional definitions of ....
34852         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
34853         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
34854         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
34855         (libpthread-sysdep_routines): Add libc-do-syscall.
34856         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
34857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
34858         to __NR_futex not 240.
34860 2015-03-25  Alan Modra  <amodra@gmail.com>
34862         * NEWS: Advertise TLS optimization.
34863         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
34864         (DT_PPC_NUM): Increment.
34865         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
34866         (CHECK_STATIC_TLS): Use here.
34867         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
34868         TLS descriptors.
34869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34870         * sysdeps/powerpc/dl-tls.c: New file.
34871         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
34872         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
34873         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
34874         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
34875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
34876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
34877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
34879 2015-03-25  Alan Modra  <amodra@gmail.com>
34881         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
34882         for overlapping .opd entries" to "support...".
34883         * sysdeps/powerpc/powerpc64/configure: Regenerate
34885 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34887         * math/auto-libm-test-in: Add more tests of acos.
34888         * math/auto-libm-test-out: Regenerated.
34889         * sysdeps/i386/fpu/libm-test-ulps: Update.
34890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34892         * math/auto-libm-test-in: Add more tests of expm1.
34893         * math/auto-libm-test-out: Regenerated.
34894         * sysdeps/i386/fpu/libm-test-ulps: Update.
34895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34897 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
34899         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34907         * math/auto-libm-test-in: Add more tests of log2.
34908         * math/auto-libm-test-out: Regenerated.
34909         * sysdeps/i386/fpu/libm-test-ulps: Update.
34910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34912 2015-03-23  Roland McGrath  <roland@hack.frob.com>
34914         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
34915         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
34916         _IO_IS_APPENDING bit in READ_WRITE instead.
34918 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34920         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
34921         (__determine_cpumask_size): Replace extend_alloca with a
34922         variable-length array.  Do not treat res == 0 as an error.
34924 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34926         [BZ #18100]
34927         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
34928         and integer overflow.
34929         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
34930         (main): Add integer overflow tests.
34931         * manual/pattern.texi (Calling Wordexp): Document additional use
34932         for WRDE_SYNTAX.
34934 2015-03-23  Alan Modra  <amodra@gmail.com>
34936         * config.h.in: Remove HAVE_ASM_PPC_REL16.
34937         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
34938         and false branch of conditional.
34939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34940         Likewise.
34942 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
34944         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
34945         libc-modules.h
34946         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
34947         unused declaration of _hurd_intr_rpc_msg_in_trap.
34948         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
34949         defined instead of whether it is non-zero.
34950         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
34951         input constraint instead of both input and output constraint.  Use ecx
34952         clobber instead of %ecx.
34953         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
34954         mutex_unlock): Use a statement expression instead of an expression list.
34955         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
34956         type to vm_size_t instead of vm_address_t.
34957         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
34958         defined instead of whether it is non-zero.
34959         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
34960         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
34961         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
34962         comparisons with mapaddr.
34963         * nscd/nscd-client.h: Include <time.h>.
34964         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
34965         9th parameter to __vm_region instead of int.
34966         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
34967         * scripts/check-local-headers.sh (exclude): Add device/,
34968         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
34969         cthreads.h.
34971 2015-03-19  Roland McGrath  <roland@hack.frob.com>
34973         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
34974         to account for alignment padding.
34975         * sysdeps/arm/memmove.S: Likewise.
34977 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
34979         * sysdeps/unix/sysv/linux/generic/README: New file.
34981 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
34983         [BZ #18138]
34984         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
34985         (futex_abstimed_wait)
34986         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
34987         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
34988         of lll_futex_timed_wait.
34990 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
34992         [BZ #17542]
34993         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
34995 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
34997         [BZ #17090]
34998         [BZ #17620]
34999         [BZ #17621]
35000         [BZ #17628]
35001         * NEWS: Update.
35002         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35003         entries with Static TLS too.  Skip entries past the end of the
35004         allocated DTV, from Alan Modra.
35005         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35006         Static TLS DTV entry set up from...
35007         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35008         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35009         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35010         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35011         for Static TLS.
35012         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35013         that the slot we find is associated with the given map before
35014         using its generation count.
35015         * nptl_db/db_info.c: Include ldsodefs.h.
35016         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35017         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35018         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35019         (link_map::l_tls_offset): New struct field.
35020         (dtv_t::counter): Likewise.
35021         (rtld_global): New struct.
35022         (_rtld_global): New rtld variable.
35023         (dl_tls_dtv_slotinfo_list): New rtld global field.
35024         (dtv_slotinfo_list): New struct.
35025         (dtv_slotinfo): Likewise.
35026         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35027         (td_lookup): Rename to...
35028         (td_mod_lookup): ... this.  Use new mod parameter instead of
35029         LIBPTHREAD_SO.
35030         * nptl_db/td_thr_tlsbase.c: Include link.h.
35031         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35032         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35033         addresses even if the DTV is out of date or missing them.
35034         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35035         index zero-length arrays.
35036         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35037         (td_lookup): Make it a macro implemented in terms of...
35038         (td_mod_lookup): ... this declaration.
35039         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35040         (DB_MAIN_VARIABLE): Likewise.
35042 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35044         [BZ #18134]
35045         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35047 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35049         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35051 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35053         [BZ #18128]
35054         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35055         (atomic_add, atomic_increment_and_test)
35056         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35058 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35060         * stdlib/setenv.c (__add_to_environ):
35061         Dump core quickly if setenv (..., NULL, ...) is called.
35063 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35065         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35066         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35067         all the necessary asm magic in one place.
35068         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35069         using those.
35071 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35073         [BZ #14906]
35074         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35075         traced file mtime. Use consistent log message.
35076         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35077         (register_traced_file): Call install_watches. Always set mtime.
35078         (invalidate_cache): Iterate over all trace files. Call install_watches.
35079         (inotify_check_files): Don't inline. Handle watching parent
35080         directories and configuration file movement in and out.
35081         (handle_inotify_events): New function.
35082         (main_loop_poll): Call handle_inotify_events.
35083         (main_loop_epoll): Likewise.
35084         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35085         (struct traced_file): Use array of inotify fds. Add parent directory,
35086         and basename.
35087         (struct database_dyn): Remove unused file_mtime.
35088         (init_traced_file): New inline function.
35089         (define_traced_file): New macro.
35090         * nss/nss_db/db-init.c: Use define_traced_file.
35091         (_nss_db_init): Use init_traced_file.
35092         * nss/nss_files/files-init.c: Use define_traced_file.
35093         (_nss_files_init): Use init_traced_file.
35095 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35097         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35098         [_LIBC]: Do not include <stdlib.h>.
35099         [!_LIBC] (abort): Remove declaration.
35100         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35101         _FP_STATIC_ASSERT instead of conditionally calling abort.
35102         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35103         (_FP_EXTEND_CNAN): Likewise.
35104         (FP_TRUNC): Likewise.
35105         (__FP_CLZ): Likewise.
35106         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35108 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35110         * manual/string.texi (XPG basename): Fix prototype.
35112 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35114         [BZ #18080]
35115         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35116         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35117         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35118         (__setcontext): Likewise.
35119         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35120         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35121         Call rt_sigprocmask syscall one time to set new signal mask
35122         and retrieve the current signal mask instead of two calls.
35123         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35124         (__swapcontext): Likewise.
35125         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35126         * stdlib/tst-setcontext2.c: New file.
35128 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35130         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35132 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
35134         [BZ #18093]
35135         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35136         the wrong size.
35138 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35140         [BZ #18043]
35141         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35143 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35145         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35146         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35147         Remove define.
35148         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35149         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35150         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35151         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35152         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35153         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35154         define.
35155         * nptl_db/td_symbol_list.c (td_lookup): Remove
35156         HAVE_ASM_GLOBAL_DOT_NAME code.
35157         * sysdeps/powerpc/powerpc64/configure.ac: Remove
35158         HAVE_ASM_GLOBAL_DOT_NAME check.
35159         * sysdeps/powerpc/powerpc64/configure: Regenerate.
35160         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35161         (DOT_LABEL): Remove define.
35162         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35163         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35164         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35165         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35166         (__TLS_GET_ADDR): Likewise.
35167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35168         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35170 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
35172         [BZ #18111]
35173         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35174         (_FPU_SETCW): Initialize cw from fpsr before storing.
35175         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35176         (fesetexceptflag): Rewrite using fpu_control.h.
35177         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35179 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
35181         [BZ #18110]
35182         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35183         asms.
35184         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35186 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
35188         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35189         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35190         abort.
35191         (_FP_FMA): Likewise.
35192         (_FP_DIV): Likewise.
35194 2015-03-10  Roland McGrath  <roland@hack.frob.com>
35196         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35197         with 0 in that case.
35198         * Makefile (summarize-tests): New canned sequence, factored out of
35199         commands for targets tests and xtests.  Display summary lines that
35200         don't start with PASS: or XFAIL: rather than ones that do start with
35201         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
35202         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35203         do start with ERROR: or FAIL:.
35204         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35205         (except for [$(build-shared) = yes]).
35206         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35207         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35208         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35209         * nptl/Makefile: Revert 2015-03-04 changes.
35210         [$(CXX) empty] (tests-unsupported): New variable.
35211         * debug/Makefile: Likewise.
35213         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35214         gnulib file.  Replace __attribute with __attribute__ throughout.
35216 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
35218         * sysdeps/hppa/fpu/libm-test-ulps: Update.
35220 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35222         [BZ #18104]
35223         * math/auto-libm-test-in: Add another test of pow.
35224         * math/auto-libm-test-out: Regenerated.
35226 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35228         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35229         $(config-cflags-nofma).
35231 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35233         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
35234         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
35235         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
35236         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
35237         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
35238         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
35239         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
35240         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
35241         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
35242         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
35243         Add comment on closing #endif.
35245 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35247         * posix/wordexp.c (CHAR_IN_SET): New macro.
35248         (parse_param): Use it.
35250 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35252         * sysdeps/powerpc/fpu/libm-test-ulps: update.
35254 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35256         [BZ #18043]
35257         * posix/wordexp.c (parse_param): Fix buffer overflow.
35258         * posix/wordexp-test.c (test_case): Add test case.
35260 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35262         [BZ #18042]
35263         * posix/wordexp.c (parse_backtick): Fix off-by-one.
35264         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
35266 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35268         [BZ #18043]
35269         * posix/wordexp-test.c (test_case): Add test for BZ #18043
35270         (do_bz18043): Delete.
35271         (at_page_end): New.
35272         (testit): Refactor to have words at the edge of unreadable page.
35274 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35276         [BZ #16734]
35277         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
35278         Cleanup read-only streams as well.
35279         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
35281 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35283         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
35284         <bits/libc-lockP.h>
35286 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
35288         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
35289         on [__KERNEL__].
35290         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
35291         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
35292         * soft-fp/op-common.h (_FP_DECL): Likewise.
35294 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
35296         * elf/ifuncdep2.c (global): Replace
35297         __attribute__((visibility("protected"))) with
35298         asm (".protected global").
35299         * elf/ifuncmod1.c (global): Likewise.
35300         * elf/ifuncmod5.c (global): Likewise.
35302 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
35304         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
35305         <asm/sfp-machine.h> instead of <sfp-machine.h>.
35307 2015-03-06  Roland McGrath  <roland@hack.frob.com>
35309         * manual/install.texi (Configuring and compiling):
35310         Document test-wrapper-env-only.
35311         * INSTALL: Regenerated.
35313 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35315         [BZ #18043]
35316         * posix/wordexp.c (parse_param): Fix buffer overflow.
35317         * posix/wordexp-test.c (do_bz18043): Add test case.
35319 2015-03-06  Vincent Bernat  <vincent@bernat.im>
35321         * time/tst-strptime2.c (do_test): Ensure failing tests are
35322         reported correctly.
35323         * time/tst-strptime3.c (do_test): Likewise.
35325 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
35327         Fix aio_error thread-safety.
35328         * sysdeps/pthread/aio_error.c: New file
35329         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
35330         synchronization.
35332 2015-03-06  Florian Weimer  <fweimer@redhat.com>
35334         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
35335         (group_number, vfprintf): Use it.
35336         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
35337         (JUMP, REF): Use it.
35338         (WORK_BUFFER_SIZE): New enum constant.
35339         (process_arg, vfprintf): Use it.
35341 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
35343         * manual/errno.texi (Error Messages): Complete example function
35344         by adding missing #define.
35345         (program_invocation_name): Add statement indicating GNU
35346         extension and reference which header file declares the variable.
35347         (program_invocation_short_name): Likewise.
35349 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
35351         * manual/errno.texi (Error Messages): Delete strerror ISO C89
35352         compatibility note.
35354 2015-03-05  Roland McGrath  <roland@hack.frob.com>
35356         * Makeconfig (test-wrapper-env-only): New variable.
35357         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
35358         then use that with $(test-wrapper-env-only) rather than using
35359         $(test-wrapper-env) $(run-program-env) $($*-ENV).
35361 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35363         [BZ #18082]
35364         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
35365         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
35366         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
35367         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
35368         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
35369         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
35370         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
35371         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
35372         Likewise.
35373         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
35374         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
35375         Likewise.
35376         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
35377         Likewise.
35378         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
35379         Likewise.
35380         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
35381         Likewise.
35382         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
35383         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
35384         Likewise.
35385         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
35386         Likewise.
35387         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
35388         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
35390 2015-03-04  Roland McGrath  <roland@hack.frob.com>
35392         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
35393         (ETH_ALEN): New macro.
35394         (struct ether_addr): Use it for length of ether_addr_octet.
35396         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
35397         (setdb): Don't call __nss_configure_lookup for "rpc".
35398         (do_test): Don't call test_rpc.
35399         (output_rpcent, test_rpc): Functions moved ...
35400         * sunrpc/test-rpcent.c: ... to this new file.
35401         * sunrpc/Makefile (tests): Add it.
35403         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
35404         __xpg_sigpause.
35405         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
35406         * nptl/tst-signal6.c: Likewise.
35407         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
35408         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
35410         * configure.ac (libc_cv_cxx_link_ok): New check.
35411         Reset CXX to empty if it fails to link.
35412         * configure: Regenerated.
35413         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
35414         bug-atexit3-lib only if $(CXX) is nonempty.
35415         * nptl/Makefile (tests): Likewise for tst-cancel24.
35416         (tests, tests-static): Likewise for tst-cancel24-static.
35417         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
35418         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
35419         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
35420         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
35422 2015-03-04  Andreas Schwab  <schwab@suse.de>
35424         [BZ #17631]
35425         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
35426         for non-GCC compilers.
35427         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35428         Likewise.
35430 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35432         [BZ #17776]
35433         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
35434         integer before bitwise and assembly operations.
35435         (feclearexcept): Likewise.
35436         * math/test-fenvinline.c: New file.
35437         * math/Makefile: Add test-fenvinline test.
35439 2015-03-03  Alan Modra  <amodra@gmail.com>
35441         [BZ #16512]
35442         * scripts/localplt.awk: Strip off symbol version.
35443         * NEWS: Mention bug fix.
35445 2015-03-02  Roland McGrath  <roland@hack.frob.com>
35447         * sysdeps/pthread/timer_routines.c
35448         (timer_free_list, thread_free_list, thread_active_list): Make static.
35450 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
35452         [BZ #17779]
35453         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35454         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35455         Undefine.
35456         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35457         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35458         Likewise.
35459         * sysdeps/unix/sysv/linux/sh/kernel-features.h
35460         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35461         Likewise.
35463 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35465         [BZ #18036]
35466         * posix/fnmatch_loop.c (END): Detect invalid pattern.
35467         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
35469 2015-03-02  Andreas Schwab  <schwab@suse.de>
35471         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
35472         variable name.
35474 2015-03-02  Florian Weimer  <fweimer@redhat.com>
35476         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
35477         Return error status.
35479 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
35481         [BZ #15969]
35482         * locale/findlocale.c (_nl_find_locale): Introduce const
35483         version of loc_name and drop unsafe type casts.
35485 2015-02-27  Roland McGrath  <roland@hack.frob.com>
35487         * dlfcn/tststatic2.c (main): Converted to ...
35488         (do_test): ... this.
35489         (TEST_FUNCTION): New macro.
35490         Include test-skeleton.c.
35492 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
35494         [BZ #17711]
35495         * elf/Makefile (tests): Add vismain only if PIE is enabled.
35496         (tests-pie): Add vismain.
35497         (CFLAGS-vismain.c): New.
35498         * elf/vismain.c: Add comments for PIE requirement.
35500 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35502         [BZ #18046]
35503         [BZ #18047]
35504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
35505         0x1p-56L as threshold for just returning the argument.
35506         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
35507         0x1p-32L as threshold for just returning the argument.
35508         * math/auto-libm-test-in: Add more tests of atanh.
35509         * math/auto-libm-test-out: Regenerated.
35510         * sysdeps/i386/fpu/libm-test-ulps: Update.
35511         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
35513 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35515         * string/bcopy.c (bcopy): Call memmove for performance.
35517 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35519         * string/bzero.c (__bzero): Call memset for performance.
35521 2015-02-27  John David Anglin  <dave.anglin@bell.net>
35523         [BZ #18068]
35524         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
35525         to 00100000.
35527 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35529         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
35531 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35533         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
35534         (__kernel_standard): Use CSTR macro when setting exc.name.
35535         * sysdeps/ieee754/Makefile [$(subdir) = math]
35536         (CFLAGS-k_standard.c): Remove variable.
35538         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
35539         setting p and q from "else if" to "else".
35540         (qzero): Likewise.
35541         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
35542         (qone): Likewise.
35543         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
35544         (qzerof): Likewise.
35545         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
35546         (qonef): Likewise.
35547         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
35548         (qzero): Likewise.
35549         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
35550         (qone): Likewise.
35552         [BZ #18038]
35553         [BZ #18039]
35554         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
35555         return pi/2 for arguments below 0x1p-113L.
35556         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
35557         return pi/2 for arguments below 0x1p-106L.
35558         * math/auto-libm-test-in: Add more tests of acos.
35559         * math/auto-libm-test-out: Regenerated.
35561         [BZ #16351]
35562         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35563         (MO): New macro.
35564         (__ieee754_asin): Force underflow exception for results with small
35565         absolute value.
35566         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35567         (MO): New macro.
35568         (__ieee754_asinf): Force underflow exception for results with
35569         small absolute value.
35570         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35571         (__ieee754_asin): Force underflow exception for results with small
35572         absolute value.
35573         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35574         (__ieee754_asinf): Force underflow exception for results with
35575         small absolute value.
35576         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35577         (__ieee754_asinl): Force underflow exception for results with
35578         small absolute value.
35579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35580         (__ieee754_asinl): Force underflow exception for results with
35581         small absolute value.
35582         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35583         (__ieee754_asinl): Force underflow exception for results with
35584         small absolute value.
35585         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35586         Include <math.h>.
35587         * math/auto-libm-test-in: Do not mark underflow exceptions as
35588         possibly missing for bug 16351.
35589         * math/auto-libm-test-out: Regenerated.
35591         [BZ #18030]
35592         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35593         of power of 2 down when low part has opposite sign.
35594         * math/libm-test.inc (logb_test_data): Add more tests.
35596 2015-02-26  Andreas Schwab  <schwab@suse.de>
35598         [BZ #18032]
35599         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35600         over collating symbol inside a bracket expression.  Minor cleanup.
35601         * posix/tst-fnmatch3.c (do_test): Add test case.
35603 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35605         [BZ #18029]
35606         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35607         Adjust exponent of power of 2 down when low part has opposite
35608         sign.
35609         * math/libm-test.inc (ilogb_test_data): Add more tests.
35611 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
35613         [BZ #15969]
35614         * locale/findlocale.c (_nl_find_locale): Fix constness error in
35615         the previous change.
35617         [BZ #15969]
35618         * locale/findlocale.c (_nl_find_locale): Retry archive search
35619         after alias expansion.
35621 2015-02-25  Roland McGrath  <roland@hack.frob.com>
35623         * iconv/tst-iconv3.c (main): Converted to ...
35624         (do_test): ... this.
35625         (TEST_FUNCTION): New macro.
35626         Include test-skeleton.c.
35628         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
35629         (convert): Make function static.
35630         (test_unalign): Likewise.  Add const to argument pointee types.
35631         (main): Replace with static function do_test.
35632         Print "Succeeded." only if RET is zero.
35633         (TEST_FUNCTION): New macro.
35634         Include test-skeleton.c.
35636         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
35637         returns a null pointer.
35639 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35641         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
35642         to __memcpy_ppc only for static builds.
35644 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
35646         [BZ #18020]
35647         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
35648         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
35649         * math/auto-libm-test-in: Add more tests of asinh.
35650         * math/auto-libm-test-out: Regenerated.
35651         * sysdeps/i386/fpu/libm-test-ulps: Update.
35652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35654 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
35656         [BZ #15850]
35657         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
35658         and ip6_mtuinfo definitions here.
35659         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
35660         in this define too.  Update comment.
35662 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
35664         * elf/sprof.c (load_shobj): Tweak error message to match others.
35666 2015-02-24  Kevin Easton  <kevin@guarana.org>
35668         [BZ #16145] (partial fix)
35669         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
35670         to reduce lock contention.
35672 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
35674         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
35675         (struct timex): Update time comment.
35676         (ADJ_SETOFFSET): Define.
35678 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35680         [BZ #18019]
35681         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35682         2**56 not 2**28 as threshold for log (2x) formula.
35683         * math/auto-libm-test-in: Add more tests of acosh.
35684         * math/auto-libm-test-out: Regenerated.
35685         * sysdeps/i386/fpu/libm-test-ulps: Update.
35686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35688 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35690         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
35691         parenthesis around the buf assignment.
35692         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
35694 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35696         [BZ #16783]
35697         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
35698         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
35699         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
35700         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35701         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35702         * math/libm-test.inc (scalb_test_data): Add more tests.
35704 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35706         [BZ #17916]
35707         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
35708         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
35710 2015-02-24  Eric Rannaud  <e@nanocritical.com>
35712         [BZ #17523]
35713         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
35714         * io/bits/fcntl2.h (open): Use it.
35715         (openat): Likewise.
35716         * io/open.c (__libc_open): Likewise.
35717         * io/open64.c (__libc_open64): Likewise.
35718         * io/open64_2.c (__open64_2): Likewise.
35719         * io/open_2.c (__open_2): Likewise.
35720         * io/openat.c (__openat): Likewise.
35721         * io/openat64.c (__openat64): Likewise.
35722         * io/openat64_2.c (__openat64_2): Likewise.
35723         * io/openat_2.c (__openat_2): Likewise.
35724         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
35725         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
35726         * sysdeps/posix/open64.c (__libc_open64): Likewise.
35727         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35728         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35729         (__open_nocancel): Likewise.
35730         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35731         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35732         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
35734 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35736         [BZ #14841]
35737         * resolv/gethnamaddr.c (getanswer): Skip logging if
35738         RES_USE_DNSSEC is set.
35739         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35741 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35743         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
35745 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
35747         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
35748         201304L, for Unicode 7.
35750 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
35752         [BZ #17836]
35753         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
35754         shared library.  Add gmon-start.os otherwise.
35755         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
35756         $(objpfx)gmon-start.os if builing shared library.
35757         ($(objpfx)g$(static-start-installed-name)): Likewise.
35759 2015-02-23  Andreas Schwab  <schwab@suse.de>
35761         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
35763 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35765         [BZ #17269]
35766         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
35767         (enlarge_userbuf): Likewise.
35769 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
35771         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
35772         * math/atest-exp.c (TIMEOUT): Adjust to 200.
35773         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
35774         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
35776 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
35778         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
35779         expression inside statement expression.
35781 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35783         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
35784         <sysdeps/nptl/lowlevellock.h> and remove macros and
35785         functions that are now defined there.
35786         (SYS_futex): Remove.
35787         (lll_compare_and_swap): Remove.
35788         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
35790 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
35792         [BZ #17999]
35793         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
35794         instead of scandirat.
35795         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
35796         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
35797         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
35798         __scandirat.
35799         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
35800         (__scandirat): Declare.  Use libc_hidden_proto.
35801         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
35802         Remove variable.
35803         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35805 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35807         [BZ #15319]
35808         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
35809         (MO): New macro.
35810         (__ieee754_atan2): For results with small absolute value, force
35811         underflow exception and remove excess range and precision from
35812         return value.
35813         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
35814         (MO): New macro.
35815         (__ieee754_atan2f): For results with small absolute value, force
35816         underflow exception and remove excess range and precision from
35817         return value.
35818         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
35819         (MO): New macro.
35820         (__atan): For results with small absolute value, force underflow
35821         exception and remove excess range and precision from return value.
35822         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
35823         (MO): New macro.
35824         (__atanf): For results with small absolute value, force underflow
35825         exception and remove excess range and precision from return value.
35826         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
35827         <math.h>.
35828         (__ieee754_atan2): Force underflow exception for results with
35829         small absolute value.
35830         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
35831         <math_private.h>.
35832         (atan): Force underflow exception for results with small absolute
35833         value.
35834         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
35835         (__atanf): Force underflow exception for results with small
35836         absolute value.
35837         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
35838         <math.h>.
35839         (__atanl): Force underflow exception for results with small
35840         absolute value.
35841         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
35842         (__atanl): Force underflow exception for results with small
35843         absolute value.
35844         * sysdeps/x86/fpu/bits/mathinline.h
35845         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
35846         (__ieee754_atan2): Only define inline for long double.
35847         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
35848         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
35849         * math/auto-libm-test-in: Do not mark underflow exceptions as
35850         possibly missing for bug 15319.  Add more tests of atan2.
35851         * math/auto-libm-test-out: Regenerated.
35852         * math/libm-test.inc (casin_test_data): Do not mark underflow
35853         exceptions as possibly missing for bug 15319.
35854         (casinh_test_data): Likewise.
35855         * sysdeps/i386/fpu/libm-test-ulps: Update.
35857 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
35859         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
35860         * sysdeps/mips/bits/endian.h: Fix comments.
35862 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35864         [BZ #17996]
35865         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
35866         (hdestroy_r): Likewise.
35867         (hsearch_r): Likewise.
35868         (__hcreate_r): Declare and use libc_hidden_proto.
35869         (__hdestroy_r): Likewise.
35870         (__hsearch_r): Likewise.
35871         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
35872         (hcreate): Call __hcreate_r instead of hcreate_r.
35873         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
35874         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
35875         as weak alias of __hcreate_r.
35876         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
35877         __hdestroy_r.
35878         (hsearch_r): Rename to __hsearch_r and define as weak alias of
35879         __hsearch_r.
35880         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
35881         Remove variable.
35882         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35883         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35884         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35885         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35887 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35889         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
35890         arena_lock into a single arena_get.
35892 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
35894         * dl-reloc.c: Inlucde libc-internal.h.
35895         (_dl_try_allocate_static_tls): Call ALIGN_UP.
35896         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
35897         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
35898         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
35899         (grow_heap): Likewise.
35900         * malloc/malloc.c: Include libc-internal.h.
35901         (do_check_malloc): Call powerof2.
35902         (sysmalloc): Use pagesize. Call ALIGN_UP.
35903         (systrim): Use pagesize.
35904         (mremap_chunk): Use pagesize. Call ALIGN_UP.
35905         (__libc_valloc): Use pagesize.
35906         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
35908 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35910         [BZ #17991]
35911         * include/sys/resource.h (__getrlimit64): Declare.  Use
35912         libc_hidden_proto.
35913         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
35914         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
35915         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
35916         getrlimit64.
35917         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
35918         __getrlimit64.
35919         [!getrlimit64] (getrlimit64): Define as weak alias of
35920         __getrlimit64.  Use libc_hidden_weak.
35921         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
35922         using __getrlimit64 not __new_getrlimit64.
35923         (__GI_getrlimit64): Likewise.
35924         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
35925         Likewise.
35926         (__GI_getrlimit64): Likewise.
35927         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
35928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
35929         (getrlimit): Add __getrlimit64 alias.
35930         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
35931         Likewise.
35932         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
35933         Remove variable.
35934         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35935         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35937 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
35939         * libio/fileops.c: Add missing sys/mman.h
35940         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
35942 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35944         * manual/math.texi (Errors in Math Functions): Clarify goals
35945         regarding inexact and underflow exceptions.
35947 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35949         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
35950         * sysdeps/mips/memset.S: Ditto.
35952 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35954         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
35956 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35958         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
35959         (__v1longjmp): Remove versioned symbol.
35960         (__v1siglongjmp): Remove alias and versioned symbol.
35961         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
35962         (__v2siglongjmp): Likewise.
35964 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35966         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
35968 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
35970         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
35972 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35974         [BZ #17987]
35975         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
35976         zero result does not depend on the sign resulting from
35977         subtraction.
35978         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35979         Likewise.
35980         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35981         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35982         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35983         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35984         * math/libm-test.inc (remquo_test_data): Add more tests.
35986 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
35988         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
35989         Problem reported by J William Piggott.
35991 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35993         [BZ #17978]
35994         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
35995         products 4 * y and 2 * y where those would overflow.
35996         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35997         Likewise.
35998         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35999         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36000         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36001         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36002         * math/libm-test.inc (remquo_test_data): Add more tests.
36004         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36006         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36007         [defined _COMPILING_NEWLIB].
36008         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36009         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36011         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36012         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36014 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36016         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36017         acquired.
36019 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36021         [BZ #17792]
36022         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36023         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36024         HOST_STACK_END_ADDR): Likewise.
36026 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36028         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36029         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36030         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36032 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36034         * sysdeps/generic/c++-types.data: New file.
36035         * sysdeps/generic/ld.abilist: New file.
36036         * sysdeps/generic/libBrokenLocale.abilist: New file.
36037         * sysdeps/generic/libanl.abilist: New file.
36038         * sysdeps/generic/libc.abilist: New file.
36039         * sysdeps/generic/libcrypt.abilist: New file.
36040         * sysdeps/generic/libdl.abilist: New file.
36041         * sysdeps/generic/libm.abilist: New file.
36042         * sysdeps/generic/libpthread.abilist: New file.
36043         * sysdeps/generic/libresolv.abilist: New file.
36044         * sysdeps/generic/librt.abilist: New file.
36046 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36048         [BZ #17569]
36049         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36050         Compute absolute value of x as modified by fmod, not original
36051         value of x.
36052         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36053         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36054         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36055         RUN_TEST_ffI_f1_mod8.
36056         (remquo_test_data): Add more tests.
36058 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36060         * sysdeps/init_array/pt-crti.S: New file.
36062 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36064         [BZ #17967]
36065         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36066         __builtin_fmaf instead of relying on contraction of a * b + c.
36068 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36070         [BZ #17969]
36071         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36072         node.
36074 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36076         [BZ #17964]
36077         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36078         __builtin_fma instead of relying on contraction of a * b + c.
36080 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36082         * Makeconfig (ASFLAGS): Add -Werror=undef.
36083         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36084         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36085         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36087         * Makeconfig (after-link): New variable.
36088         (+link-pie, +link-pie-tests): Use it.
36089         (+link-static, +link-static-tests): Likewise.
36090         (+link, +link-tests): Likewise.
36091         * Makerules (build-module, build-module-asneeded): Likewise.
36092         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36093         Likewise.
36094         * elf/Makefile ($(objpfx)ld.so): Likewise.
36096 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36098         [BZ #17965]
36099         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36100         both struct timeval and struct timespec.
36102 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36104         [BZ #16560]
36105         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36106         and redefine.
36107         (__ieee754_exp2l): Do not multiply small fractional parts by
36108         M_LN2l.
36109         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36110         small argument.
36111         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36112         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36113         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36114         * math/auto-libm-test-in: Add more tests of exp2.
36115         * math/auto-libm-test-out: Regenerated.
36117 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36119         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36120         unaligned path.
36122 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36124         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36125         little endian.
36127 2015-02-12  Andreas Schwab  <schwab@suse.de>
36129         [BZ #15790]
36130         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36131         Filter out elision flags from value returned in kind.
36132         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36133         * nptl/tst-pthread-mutexattr.c: New file.
36135 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36137         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36138         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36139         into gnu-gnu, and update comment to refer to abi-tags.
36141 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
36143         [BZ #15467]
36144         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36145         (__sincos): Set errno to EDOM for infinite argument.
36146         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36147         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36148         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36149         (__sincosl): Set errno to EDOM for infinite argument.
36150         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36151         (__sincosl): Set errno to EDOM for infinite argument.
36152         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36153         (__sincosl): Set errno to EDOM for infinite argument.
36154         * math/libm-test.inc (sincos_test_data): Test errno setting.
36156 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
36158         * string/strxfrm_l.c: Remove #define STRCMP.
36159         * string/strcoll_l.c: Remove #define STRLEN.
36160         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36161         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36163 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
36165         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36166         * sysdeps/mips/mips32/sfp-machine.h: ... here.
36167         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36168         * sysdeps/mips/mips64/Makefile: ... here.
36169         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36170         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36171         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36172         * sysdeps/mips/mips64/sfp-machine.h: ... here.
36173         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36174         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36175         * sysdeps/mips/mips64/n64/Implies: Likewise.
36177 2015-02-10  Roland McGrath  <roland@hack.frob.com>
36179         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36180         <sys/time.h>, <string.h>, and <errno.h>.
36181         (dest_offset, dest_address, value, zero): Remove unused variables.
36182         (ldouble): Remove typedef.
36183         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36184         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
36185         1).  Fix code style.
36186         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36187         (check): Function removed.
36188         (CHECK): New macro.
36189         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
36190         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36191         Don't call set_sigaction_FP and remove_sigaction_FP here.
36192         (ldouble_test): Just use 'long double' as macro argument, no need for
36193         the 'ldouble' typedef.
36194         (do_test): Set up SIGFPE handler at start, using plain signal rather
36195         than sigaction.  Fix code style.
36197 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
36199         [BZ #17949]
36200         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36201         jump label.
36203 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36205         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36206         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36208         * sysdeps/powerpc/configure.ac: Remove file.
36209         * sysdeps/powerpc/configure: Likewise.
36211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36212         [sysdep_routines]: Remove wordcopy-power6 object.
36213         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36214         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36215         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36216         (__memmove_ppc32): Likewise.
36217         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36218         file.
36219         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36220         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36221         Remove preprocessor.
36223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36224         [sysdep_routines]: Remove wide chars objects.
36225         [wcsmbs]: New rule for wide char objects.
36227         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36228         Remove wordcopy-power6 obejct.
36229         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
36230         Use local call for wordcopy and memcpy symbols.
36231         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
36232         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
36233         implementation for loader.
36234         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
36236         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36237         Remove wordcopy-power7 object.
36238         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
36239         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
36240         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36241         (_wordcopy_fwd_dest_aligned): Likewise.
36242         (_wordcopy_bwd_aligned): Likewise.
36243         (_wordcopy_bwd_dest_aligned): Likewise.
36245         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
36246         Rewrite to call __memmove_ppc instead of include default
36247         implementation.
36249         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36250         Remove wide chars objects.
36251         [wcsmbs]: New rule for wide char objects.
36253 2015-02-09  Andreas Schwab  <schwab@suse.de>
36255         [BZ #17912]
36256         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36257         in terms of __O_DIRECTORY.
36259 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36261         * time/getdate.c: Include <stdbool.h>.
36262         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
36263         call PTR_MANGLE.
36264         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
36265         PTR_DEMANGLE.
36267 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
36269         Add ersatz _Static_assert on older C hosts
36270         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
36271         pre-C11 C platform that is not known to support _Static_assert.
36273 2015-02-07  Richard Braun  <rbraun@sceen.net>
36275         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
36276         sigstate.
36277         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
36279 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36281         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
36282         priority against unexistent AIO_PRIO_DELTA_MAX.
36283         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
36284         instead of int.
36285         * misc/fchflags.c (fchflags): Likewise.
36286         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
36287         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
36288         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
36289         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
36290         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
36291         Declare macros.
36292         [__USE_MISC] (chflags, fchflags): Declare functions.
36293         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
36294         EINVAL when nfds is greater than FD_SETSIZE.
36295         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
36296         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
36297         45.
36298         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
36299         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
36300         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
36301         MACH_RCV_TIMED_OUT.
36302         * hurd/hurd/signal.h (_hurd_self_sigstate,
36303         _hurd_critical_section_lock, _hurd_critical_section_unlock):
36304         Explicit casts from void *.
36305         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
36306         * abi-tags: Rename gnu-gnu os into gnu.
36308         [BZ #4719]
36309         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
36310         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
36311         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
36312         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
36313         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
36314         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
36316         [BZ #17944]
36317         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
36318         duplicates ADDR->sun_path with sockaddr LEN limitation.
36319         * sysdeps/mach/hurd/connect.c: Include <string.h>
36320         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
36321         * sysdeps/mach/hurd/sendmsg.c: Likewise.
36322         * sysdeps/mach/hurd/sendto.c: Likewise.
36323         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
36324         implementing it by hand.
36326 2015-02-06  Roland McGrath  <roland@hack.frob.com>
36328         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
36329         Use sfi_breg on ldr.
36330         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
36331         Likewise.
36333         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
36334         it's defined.
36335         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
36336         Test SIGSETXID only if it's defined.
36338         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
36340         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
36341         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
36343         * nptl/tst-align2.c: Moved ...
36344         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
36345         * nptl/Makefile (tests): Remove tst-align2.
36346         * sysdeps/unix/sysv/linux/Makefile
36347         [$(subdir) = nptl] (tests): Add tst-align-clone.
36348         * nptl/tst-getpid1.c: Moved ...
36349         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
36350         * nptl/tst-getpid2.c: Moved ...
36351         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
36352         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
36353         * sysdeps/unix/sysv/linux/Makefile
36354         [$(subdir) = nptl] (tests): ... here.
36355         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
36356         * sysdeps/unix/sysv/linux/Makefile
36357         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
36359         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
36360         Drop trailing \n from perror argument.  Use return rather than exit.
36362         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
36363         on [SA_SIGINFO].
36364         * nptl/tst-cancel21.c (do_test): Likewise.
36365         * debug/tst-backtrace6.c: Include <signal.h> first thing.
36366         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
36367         [!SA_SIGINFO]: Make it a stub test.
36369         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
36370         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
36372         * posix/tst-getlogin.c: Move to ...
36373         * login/tst-getlogin.c: ... here.
36374         * posix/Makefile (tests): Move tst-getlogin to ...
36375         * login/Makefile (tests): ... here.
36377         * libio/tst-atime.c (do_test): Move local variables SV and E
36378         inside [ST_NOATIME] conditional.
36380         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
36382         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
36384         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
36385         (wait_code): New function replaces macro.
36386         Call nanosleep rather than syscall.
36388         * nptl/pt-system.c: Rewritten.  Put everything under
36389         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36390         Use IFUNC to redirect when possible.
36392         * nptl/pt-longjmp.c: Rewritten.  Put everything under
36393         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36394         Use IFUNC to redirect when possible.
36396         * nptl/pt-fork.c: Rewritten.  Put everything under
36397         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36398         Use IFUNC to redirect when possible.
36399         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
36401         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
36402         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
36403         unconditionally nowadays.  This included the only reference to
36404         __vdso_clock_gettime that appears outside libc proper.
36405         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
36406         Remove version set (containing only __vdso_clock_gettime).
36407         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36408         Add attribute_hidden.
36409         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36410         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
36411         libc_hidden_data_def.
36412         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36413         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36415         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
36416         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
36417         setrpcent, and getrpcport to ...
36418         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
36419         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
36420         getrpcbynumber_r, and getrpcent_r to ...
36421         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
36422         * inet/getrpcbyname.c: Moved ...
36423         * sunrpc/getrpcbyname.c: ... here.
36424         * inet/getrpcbyname_r.c: Moved ...
36425         * sunrpc/getrpcbyname_r.c: ... here.
36426         * inet/getrpcbynumber.c: Moved ...
36427         * sunrpc/getrpcbynumber.c: ... here.
36428         * inet/getrpcbynumber_r.c: Moved ...
36429         * sunrpc/getrpcbynumber_r.c: ... here.
36430         * inet/getrpcent.c: Moved ...
36431         * sunrpc/getrpcent.c: ... here.
36432         * inet/getrpcent_r.c: Moved ...
36433         * sunrpc/getrpcent_r.c: ... here.
36434         * inet/Makefile (routines): Move those to ...
36435         * sunrpc/Makefile (routines): ... here.
36436         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
36437         the $(subdirs) list.
36438         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
36439         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
36440         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
36441         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
36443         * elf/Makefile (routines): Include $(all-dl-routines), not just
36444         $(dl-routines).
36445         (rtld-routines): Likewise.  Use = rather than :=.
36446         * sysdeps/aarch64/Makefile [$(subdir) = elf]
36447         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
36448         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
36449         * sysdeps/arm/Makefile: Likewise.
36450         * sysdeps/i386/Makefile: Likewise.
36451         * sysdeps/x86_64/Makefile: Likewise.
36452         * sysdeps/hppa/Makefile [$(subdir) = elf]
36453         (sysdep_routines, sysdep-rtld-routines): Don't add
36454         $(sysdep-dl-routines) to these.
36455         * sysdeps/ia64/Makefile: Likewise.
36456         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
36457         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
36458         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
36459         Don't add dl-static to these; sysdep-dl-routines alone is enough.
36460         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
36461         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
36462         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
36463         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
36464         * sysdeps/powerpc/Makefile [$(subdir) = elf]
36465         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
36466         these; sysdep-dl-routines alone is enough.
36468 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
36470         [BZ #17932]
36471         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
36472         where multiplication results in zero and third argument is finite
36473         and nonzero.
36474         * math/auto-libm-test-in: Add more tests of fma.
36475         * math/auto-libm-test-out: Regenerated.
36477         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
36478         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
36479         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
36480         (_FP_CMP_EQ): Likewise.
36481         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
36483         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
36484         extra argument CHECK_NAN.  Redefine as wrapper around
36485         _FP_EXTEND_CNAN.
36487 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
36489         * version.h (RELEASE): Set to "stable".
36490         (VERSION): Set to "2.21"
36491         * include/features.h (__GLIBC_MINOR__): Set to 21.
36493         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
36495 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36496             Paul Eggert  <eggert@cs.ucla.edu>
36498         [BZ #16618]
36499         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
36500         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
36501         size in bytes. Store needed elements in wpmax. Use needed size
36502         in bytes for extend_alloca.
36504 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
36506         * manual/install.texi: Latest tested versions are GCC 4.9.2,
36507         binutls 2.25, and texinfo 5.2.
36508         * INSTALL: Regenerate.
36509         * sysdeps/nios2/configure: Regenerate.
36510         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
36511         * manual/contrib.texi: Update.
36512         * po/be.po: Update.
36513         * po/bg.po: Update.
36514         * po/ca.po: Update.
36515         * po/cs.po: Update.
36516         * po/da.po: Update.
36517         * po/de.po: Update.
36518         * po/el.po: Update.
36519         * po/eo.po: Update.
36520         * po/es.po: Update.
36521         * po/fi.po: Update.
36522         * po/fr.po: Update.
36523         * po/gl.po: Update.
36524         * po/hr.po: Update.
36525         * po/hu.po: Update.
36526         * po/ia.po: Update.
36527         * po/id.po: Update.
36528         * po/it.po: Update.
36529         * po/ja.po: Update.
36530         * po/ko.po: Update.
36531         * po/lt.po: Update.
36532         * po/nb.po: Update.
36533         * po/nl.po: Update.
36534         * po/pl.po: Update.
36535         * po/pt_BR.po: Update.
36536         * po/ru.po: Update.
36537         * po/rw.po: Update.
36538         * po/sk.po: Update.
36539         * po/sl.po: Update.
36540         * po/sv.po: Update.
36541         * po/tr.po: Update.
36542         * po/uk.po: Update.
36543         * po/vi.po: Update.
36544         * po/zh_CN.po: Update.
36545         * po/zh_TW.po: Update.
36547         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
36548         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
36549         * sysdeps/hppa/dl-irel.h: Remove #warning.
36550         * sysdeps/hppa/entry.h: Provide prototype for
36551         __canonicalize_funcptr_for_compare and cast argument.
36552         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
36553         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
36554         * sysdeps/hppa/sotruss-lib.c: New file.
36555         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
36556         (atomic_compare_and_exchange_val_acq): Use __typeof__.
36557         (atomic_compare_and_exchange_bool_acq): Likewise.
36558         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
36559         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36561         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36562         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36563         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36565 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
36567         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36568         called function in non-PIC case.
36570 2015-01-31  David S. Miller  <davem@davemloft.net>
36572         * sysdeps/sparc/sparc32/bits/atomic.h
36573         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36574         unlock not after it.
36575         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36576         volatile register usage warnings from the compiler.
36578         * sysdeps/sparc/nptl/sem_init.c: Delete.
36579         * sysdeps/sparc/nptl/sem_post.c: Delete.
36580         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36581         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36582         * sysdeps/sparc/sparc32/sem_init.c: New file.
36583         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36584         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36585         padding explicitly initialized.
36586         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36587         padding for in-semaphore spinlock.
36588         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36589         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36590         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36591         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36592         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36593         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36594         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36595         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36596         version.
36597         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36598         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36600 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36602         [BZ #17801]
36603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36604         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36605         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36606         New.
36607         (index_AVX_Fast_Unaligned_Load): Likewise.
36608         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36609         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36610         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36611         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36612         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36613         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36614         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36615         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36616         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36618 2015-01-29  Andreas Schwab  <schwab@suse.de>
36620         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
36622 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
36624         [BZ #17892]
36625         * nscd/nscd_stat.c (send_stats): Initialize DATA.
36627 2015-01-28  Martin Sebor  <msebor@redhat.com>
36629         * math/README.libm-test: Clarify. Add "How to read the test output."
36631 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
36633         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
36634         Define to 0.
36636 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
36638         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
36639         (__HAVE_64B_ATOMICS): Define to 0.
36641 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36643         [BZ #17885]
36644         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
36645         value to set as new flag.
36647         [BZ #16576]
36648         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
36649         and use _ARCH_PPCSQ instead.
36650         (__ieee754_sqrt): Likewise.
36651         (__ieee754_sqrtf): Likewise.
36652         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
36653         _ARCH_PPCSQ is defined.
36654         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
36655         fsqrt instruction.
36656         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
36657         _ARCH_PPCSQ is defined.
36658         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
36659         fsqrts instruction.
36660         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
36662 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36664         * iconv/loop.c: Suppress array out of bound warning caused by GCC
36665         bug (GCC BZ #64739).
36667 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
36669         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
36670         Mark _retval as used.
36671         (lll_futex_wake_unlock): Likewise.
36672         (lll_futex_timed_wait_requeue_pi): Likewise.
36674         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36675         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36676         register variables.
36678         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
36679         libm_hidden_def.
36681         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
36682         (__bswap_64): Mark as __always_inline.
36684 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
36686         [BZ #15378]
36687         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
36688         when none of the search directories exist.
36690 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36692         [BZ #17869]
36693         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
36694         power8 in .machine directive.
36696         [BZ #17868]
36697         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
36698         set dependency from opd value.
36700 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36703         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
36704         architecture.
36706 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36708         [BZ #17870]
36709         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
36710         with uint64_t.
36711         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
36712         (uint64_t) 1.
36713         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36714         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
36715         Replace 1UL with (uint64_t) 1.
36716         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
36717         int with uint64_t.
36719 2015-01-23  Roland McGrath  <roland@hack.frob.com>
36721         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
36722         (if_freenameindex): Likewise.
36724         * resource/getrlimit64.c: Add missing libc_hidden_def.
36726 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
36728         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
36729         __label__.
36730         (_FP_FMA): Likewise.
36731         (_FP_TO_INT_ROUND): Likewise.
36732         (_FP_FROM_INT): Likewise.
36734 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36736         [BZ #16418]
36737         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36738         Make code racy and cancel safe.
36740 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
36742         * sysdeps/arm/unwind-resume.h: Fix copyright year.
36743         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
36744         attribution.
36746         * pwd/tst-getpw.c: Rewrite.
36748         [BZ #17702]
36749         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
36750         (modules-names): Add moddummy1 and moddummy2.
36751         ($(objpfx)tst-rec-dlopen): Define.
36752         * dlfcn/moddummy1.c: New file.
36753         * dlfcn/moddummy2.c: New file.
36754         * dlfcn/tst-rec-dlopen.c: New file.
36755         * elf/dl-cache.c (_dl_load_cache_lookup):
36756         Return char*. Copy result with alloca/strcpy/strdup.
36757         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
36758         returns char*. Free cached. If not saving realname
36759         free cached.
36760         * elf/dl-open.c (dl_open_worker): Do not assert that
36761         _r_debug->r_state is RT_CONSISTENT.
36762         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
36763         returns char*.
36765 2015-01-21  Torvald Riegel  <triegel@redhat.com>
36766             Carlos O'Donell  <carlos@redhat.com>
36768         [BZ #12674]
36769         * nptl/sem_waitcommon.c: New file.
36770         * nptl/sem_wait.c: Include sem_waitcommon.c.
36771         (__sem_wait_cleanup, do_futex_wait): Remove.
36772         (__new_sem_wait): Adapt.
36773         (__new_sem_trywait): New function.
36774         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
36775         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
36776         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
36777         (sem_timedwait): Adapt.
36778         * nptl/sem_post.c (__new_sem_post): Adapt.
36779         (futex_wake): New function.
36780         (__old_sem_post): Add release MO fence.
36781         * nptl/sem_open.c (sem_open): Adapt.
36782         * nptl/sem_init.c (__new_sem_init): Adapt.
36783         (futex_private_if_supported): New function.
36784         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
36785         (__old_sem_getvalue): Add using previous code.
36786         * sysdeps/nptl/internaltypes.h: Adapt.
36787         * nptl/tst-sem13.c (do_test): Adapt.
36788         * nptl/tst-sem11.c (main): Adapt.
36789         * nptl/sem_trywait.c: Remove.
36790         * nptl/DESIGN-sem.txt: Remove.
36791         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
36792         (gen-as-const-headers): Remove structsem.sym.
36793         * nptl/structsem.sym: Remove.
36794         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
36795         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
36796         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
36797         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
36798         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
36799         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
36800         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
36801         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
36802         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
36803         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
36804         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
36805         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
36806         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
36807         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
36808         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
36809         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
36810         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
36811         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
36812         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
36813         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
36814         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
36815         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
36817 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
36819         * INSTALL: Regenerated.
36821         * po/libc.pot: Regenerated.
36823 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
36824             Sandra Loosemore  <sandra@codesourcery.com>
36825             Andrew Jenner  <andrew@codesourcery.com>
36826             Joseph Myers  <joseph@codesourcery.com>
36827             Nathan Sidwell  <nathan@codesourcery.com>
36829         * NEWS: Mention new Nios II port.
36830         * sysdeps/nios2/Implies: New file.
36831         * sysdeps/nios2/Makefile: New file.
36832         * sysdeps/nios2/Subdirs: New file.
36833         * sysdeps/nios2/Versions: New file.
36834         * sysdeps/nios2/__longjmp.S: New file.
36835         * sysdeps/nios2/abort-instr.h: New file.
36836         * sysdeps/nios2/backtrace.c: New file.
36837         * sysdeps/nios2/bits/endian.h: New file.
36838         * sysdeps/nios2/bits/fenv.h: New file.
36839         * sysdeps/nios2/bits/link.h: New file.
36840         * sysdeps/nios2/bits/setjmp.h: New file.
36841         * sysdeps/nios2/bsd-_setjmp.S: New file.
36842         * sysdeps/nios2/bsd-setjmp.S: New file.
36843         * sysdeps/nios2/configure: New generated file.
36844         * sysdeps/nios2/configure.ac: New file.
36845         * sysdeps/nios2/crti.S: New file.
36846         * sysdeps/nios2/crtn.S: New file.
36847         * sysdeps/nios2/dl-init.c: New file.
36848         * sysdeps/nios2/dl-machine.h: New file.
36849         * sysdeps/nios2/dl-sysdep.h: New file.
36850         * sysdeps/nios2/dl-tls.h: New file.
36851         * sysdeps/nios2/dl-trampoline.S: New file.
36852         * sysdeps/nios2/gccframe.h: New file.
36853         * sysdeps/nios2/gmp-mparam.h: New file.
36854         * sysdeps/nios2/jmpbuf-offsets.h: New file.
36855         * sysdeps/nios2/jmpbuf-unwind.h: New file.
36856         * sysdeps/nios2/ldsodefs.h: New file.
36857         * sysdeps/nios2/libc-tls.c: New file.
36858         * sysdeps/nios2/libm-test-ulps: New file.
36859         * sysdeps/nios2/machine-gmon.h: New file.
36860         * sysdeps/nios2/math-tests.h: New file.
36861         * sysdeps/nios2/math_private.h: New file.
36862         * sysdeps/nios2/memusage.h: New file.
36863         * sysdeps/nios2/nptl/Makefile: New file.
36864         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
36865         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
36866         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
36867         * sysdeps/nios2/nptl/pthreaddef.h: New file.
36868         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
36869         * sysdeps/nios2/nptl/tls.h: New file.
36870         * sysdeps/nios2/preconfigure: New file.
36871         * sysdeps/nios2/s_fma.c: New file.
36872         * sysdeps/nios2/s_fmaf.c: New file.
36873         * sysdeps/nios2/setjmp.S: New file.
36874         * sysdeps/nios2/sfp-machine.h: New file.
36875         * sysdeps/nios2/sotruss-lib.c: New file.
36876         * sysdeps/nios2/stackguard-macros.h: New file.
36877         * sysdeps/nios2/stackinfo.h: New file.
36878         * sysdeps/nios2/start.S: New file.
36879         * sysdeps/nios2/sysdep.h: New file.
36880         * sysdeps/nios2/tls-macros.h: New file.
36881         * sysdeps/nios2/tst-audit.h: New file.
36882         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
36883         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
36884         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
36885         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
36886         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
36887         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
36888         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
36889         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
36890         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
36891         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
36892         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
36893         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
36894         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
36895         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
36896         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
36897         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
36898         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
36899         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
36900         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
36901         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
36902         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
36903         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
36904         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
36905         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
36906         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
36907         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
36908         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
36909         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
36910         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
36911         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
36912         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
36913         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
36914         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
36915         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
36916         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
36917         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
36918         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
36919         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
36920         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
36921         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
36922         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
36923         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
36924         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
36925         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
36927 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36929         [BZ #17844]
36930         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
36931         (getutent): Use weak_alias in non SHARED case
36932         and default_symbol_version in SHARED case.
36933         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
36934         (getutent_r, pututline): Likewise.
36935         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
36936         (getutid): Likewise.
36937         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
36938         (getutid_r): Likewise.
36939         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
36940         (getutline): Likewise.
36941         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
36942         (getutline_r): Likewise.
36943         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
36944         (updwtmp): Likewise.
36946 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36948         [BZ #17848]
36949         * sysdeps/s390/s390-32/memcmp.S
36950         (memcmp_g5): Rename to __memcmp_g5.
36951         * sysdeps/s390/s390-32/memcpy.S
36952         (memcpy_g5): Rename to __memcpy_g5.
36953         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36954         (memcpy_mvcle) Rename to __memcpy_mvcle.
36955         * sysdeps/s390/s390-32/memset.S
36956         (memset_g5): Rename to __memset_g5.
36957         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36958         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36959         and use prefixed functions.
36960         * sysdeps/s390/s390-32/multiarch/memcmp.S
36961         (memcmp_z196): Rename to __memcmp_z196.
36962         (memcmp_z10): Rename to __memcmp_z10.
36963         (memcmp): Set alias to __memcmp_g5.
36964         (bcmp): Set alias to __memcmp_g5.
36965         * sysdeps/s390/s390-32/multiarch/memcpy.S
36966         (memcpy_z196): Rename to __memcpy_z196.
36967         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36968         (memcpy_z10): Rename to __memcpy_z10.
36969         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36970         (memcpy): Set alias to __memcpy_g5.
36971         * sysdeps/s390/s390-32/multiarch/memset.S
36972         (memset_z196): Rename to __memset_z196.
36973         Jump to __memset_mvcle instead of memset_mvcle.
36974         (memset_z10): Rename to __memset_z10.
36975         Jump to __memset_mvcle instead of memset_mvcle.
36976         (memset_mvcle) Rename to __memset_mvcle.
36977         (memset): Set alias to __memset_g5.
36978         * sysdeps/s390/s390-64/memcmp.S
36979         (memcmp_z900): Rename to __memcmp_z900.
36980         * sysdeps/s390/s390-64/memcpy.S
36981         (memcpy_z900): Rename to __memcpy_z900.
36982         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36983         (memcpy_mvcle) Rename to __memcpy_mvcle.
36984         * sysdeps/s390/s390-64/memset.S
36985         (memset_z900): Rename to __memset_z900.
36986         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
36987         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36988         and use prefixed functions.
36989         * sysdeps/s390/s390-64/multiarch/memcmp.S
36990         (memcmp_z196): Rename to __memcmp_z196.
36991         (memcmp_z10): Rename to __memcmp_z10.
36992         (memcmp): Set alias to __memcmp_z900.
36993         (bcmp): Set alias to __memcmp_z900.
36994         * sysdeps/s390/s390-64/multiarch/memcpy.S
36995         (memcpy_z196): Rename to __memcpy_z196.
36996         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36997         (memcpy_z10): Rename to __memcpy_z10.
36998         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36999         (memcpy): Set alias to __memcpy_z900.
37000         * sysdeps/s390/s390-64/multiarch/memset.S
37001         (memset_z196): Rename to __memset_z196.
37002         Jump to __memset_mvcle instead of memset_mvcle.
37003         (memset_z10): Rename to __memset_z10.
37004         Jump to __memset_mvcle instead of memset_mvcle.
37005         (memset_mvcle) Rename to __memset_mvcle.
37006         (memset): Set alias to __memset_z900.
37008 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37010         [BZ #17748]
37011         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37012         __fesetenv instead of fesetenv.
37014 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37016         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37017         macro.
37019 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37021         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37022         regression on LE.
37024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37025         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37027         strncmp-power8 object.
37028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37029         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37030         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37031         * NEWS: Update.
37033 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37034             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37036         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37037         trailing byte check.
37039 2015-01-13  David S. Miller  <davem@davemloft.net>
37041         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37043 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37045         * login/logout.c (logout): Use memset rather than bzero.
37046         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37047         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37048         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37049         (_gethtbyaddr): Likewise.
37050         * locale/programs/simple-hash.c (bcopy): Macro removed.
37052 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37054         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37055         Add strcmp-power8 object.
37056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37057         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37058         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37059         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37060         __strcmp_power8 implementation.
37061         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37062         * NEWS: Update.
37064         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37065         Add strncpy-power8 and stpncpy-power8 objects.
37066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37067         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37068         implementations.
37069         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37070         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37071         __stpncpy_power8 implementation.
37072         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37073         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37074         __strncpy_power8 implementation.
37075         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37076         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37077         * NEWS: Update.
37079         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37080         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37081         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37083         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37084         strncat-power8 object.
37085         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37086         __strcat_power8 implementation.
37087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37088         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37089         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37090         optimized strcat for power8.
37092         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37093         strcpy-power8 and stpcpy-power8 objects.
37094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37095         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37096         implementations.
37097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37098         multiarch stpcpy implementation for POWER8.
37099         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37100         multiarch strcpy implementation for POWER8.
37101         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37102         __strcpy_power8 function.
37103         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37104         stpcpy for POWER8.
37105         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37106         strcpy for POWER8.
37107         * NEWS: Update.
37109 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37111         [BZ #16009]
37112         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37113         weights and rules. Use do_xfrm_cached if data fits in cache,
37114         do_xfrm otherwise.  Moved former main loop to...
37115         * (do_xfrm_cached): New function.
37116         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37117         find_idx, find_position and stack_push.
37118         * (find_idx): New function.
37119         * (find_position): Likewise.
37120         * localedata/sort-test.sh: Added test run for do_xfrm.
37121         * localedata/xfrm-test.c (main): Added command line option
37122         -nocache to run the test with strings that are too large for
37123         the STRXFRM cache.
37125 2015-01-13  Torvald Riegel  <triegel@redhat.com>
37127         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37128         variable to lll_futex_wake call, not the value itself.
37130 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
37132         [BZ #17803]
37133         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37134         twom64.  Adjust value to 0x1p-64L.
37135         (__scalblnl): Only return standard underflowing result for K <=
37136         -64 not K <= -63; adjust exponent for underflowing result by 64
37137         not 63.
37138         * math/libm-test.inc (scalbn_test_data): Add more tests.
37139         (scalbln_test_data): Likewise.
37141         [BZ #17834]
37142         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37143         0x1p63L.
37144         (__scalblnl): Get new exponent of adjusted subnormal value from ES
37145         not HX.
37146         * math/libm-test.inc (scalbn_test_data): Add more tests.
37147         (scalbln_test_data): Likewise.
37149 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37150             Stefani Seibold  <stefani@seibold.net>
37152         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37153         (sysdep_routines): Add dl-vdso here, ...
37154         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37155         (sysdep_routines): ... not here.
37156         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37157         fallback when vDSO is not presented.
37158         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37159         Define with libc_hidden_proto/libc_hidden_data_def definitions.
37160         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37161         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37162         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37163         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37164         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37165         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37166         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37168         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
37169         fallback configurable symbol when vDSO is not available.
37170         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37171         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
37172         be able to redefine fallback symbol when vDSO is not available.
37173         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37174         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37176 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37178         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37179         (TLS_INIT_TP): Add tm_capable initialization.
37180         (TLS_DEFINE_INIT_TP): Likewise.
37181         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37182         TCB.
37183         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37184         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37185         calculation.
37186         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37187         transactoion is lock elision is built and TCB tm_capable is set.
37188         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37190         (INTERNAL_SYSCALL_NCS): Likewise.
37191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37192         (INTERNAL_SYSCALL_NCS): Likewise.
37193         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37195         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37196         for powerpc.
37197         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37198         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37199         and remove it for 32 bits case.
37200         [pthread_rwlock_t] (__rwelision): New field for lock elision.
37201         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37202         initialization.
37203         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37204         Disable lock elision with rdlocks if elision is not available.
37206         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37207         (sysdep_routines): Add lock elision objects.
37208         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37209         [pthread_mutex_t] (__spins): Rework to add lock elision field.
37210         [pthread_mutex_t] (__elision): Add field.
37211         [__PTHREAD_SPINS]: Adjust to init lock elision field.
37212         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37213         elision definitions for powerpc.
37214         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37215         implementation of lock elision for powerpc.
37216         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37217         implementation of timed lock elision for powerpc.
37218         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37219         implementation of trylock with lock elision for powerpc.
37220         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37221         implementaion of unlock for lock elision for powerpc.
37222         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37223         automatic enable lock elision for mutexes.
37224         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37225         transaction execution definitions for powerpc.
37226         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37227         definitions.
37228         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37229         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
37230         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
37231         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
37232         * NEWS: Update.
37234 2015-01-09  Roland McGrath  <roland@hack.frob.com>
37236         * sysdeps/posix/shm-directory.c: Use <> rather than ""
37237         for #include of <shm-directory.h>.
37239 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
37241         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
37242         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
37244 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
37246         [BZ #17791]
37247         * NEWS: Mention bug fix.
37248         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
37249         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
37250         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
37252 2015-01-09  Torvald Riegel <triegel@redhat.com>
37254         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
37256 2015-01-09  Torvald Riegel <triegel@redhat.com>
37258         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
37260 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37262         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
37263         pointer and cast to uintptr_t.
37265 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37267         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
37268         removed.
37269         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37271 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37273         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
37274         of 0.
37276 2015-01-08  Roland McGrath  <roland@hack.frob.com>
37278         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
37279         <nptl/pthreadP.h> instead.
37280         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
37282         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
37283         already defined.
37284         [__SIGRTMIN] (init): Function removed.
37285         [__SIGRTMIN] (initialized): Variable removed.
37286         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
37287         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
37288         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
37289         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
37290         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
37291         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
37292         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
37293         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
37294         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
37295         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
37296         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
37297         * sysdeps/nptl/allocrtsig.c: New file.
37298         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
37299         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
37300         * sysdeps/generic/testrtsig.h: File removed.
37302         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
37303         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
37305         * nptl/nptl-init.c (pthread_functions): Conditionalize
37306         .ptr__nptl_setxid initialization on [SIGSETXID].
37308         * sysdeps/nptl/sys/procfs.h: New file.
37309         * nptl_db/Makefile (headers): Add it.
37310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
37312         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
37313         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
37314         * nptl/pthread_attr_setaffinity.c: Include it.
37315         * nptl/pthread_setattr_default_np.c: Likewise.
37316         * nptl/check-cpuset.h: New file.
37318 2015-01-08  Richard Henderson  <rth@redhat.com>
37320         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
37321         (CFLAGS-tst-execstack-prog.c): Likewise.
37322         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
37324 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
37325             Sandra Loosemore  <sandra@codesourcery.com>
37326             Andrew Jenner  <andrew@codesourcery.com>
37327             Joseph Myers  <joseph@codesourcery.com>
37328             Nathan Sidwell  <nathan@codesourcery.com>
37330         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
37331         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
37332         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
37333         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
37334         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
37335         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
37336         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
37337         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
37338         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
37339         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
37340         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
37341         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
37342         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
37343         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
37344         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
37345         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
37346         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
37348 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37350         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
37351         timespec struct member in syscall macro.
37352         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
37353         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
37354         first timeval struct member in syscall macro.
37355         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
37357 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
37359         [BZ #17748]
37360         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
37361         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
37362         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
37363         __feupdateenv and define as weak alias of __feupdateenv.  Use
37364         libm_hidden_weak.
37365         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
37366         libm_hidden_def.
37367         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
37368         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
37369         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37370         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
37371         libm_hidden_def.
37372         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
37373         __feupdateenv and define as weak alias of __feupdateenv.  Use
37374         libm_hidden_weak.
37375         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
37376         libm_hidden_def.
37377         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
37378         __feupdateenv and define as weak alias of __feupdateenv.  Use
37379         libm_hidden_weak.
37380         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
37381         libm_hidden_def.
37382         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37383         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37384         (__feupdateenv): Likewise.
37385         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
37386         __feupdateenv and define as weak alias of __feupdateenv.  Use
37387         libm_hidden_weak.
37388         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37389         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
37390         libm_hidden_def.
37391         * sysdeps/tile/math_private.h (__feupdateenv): New inline
37392         function.
37393         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
37394         libm_hidden_def.
37395         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
37396         __feupdateenv instead of feupdateenv.
37397         (default_libc_feupdateenv_test): Likewise.
37398         (libc_feresetround_ctx): Likewise.
37400 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37402         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
37403         prototype.
37405 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
37407         * posix/regcomp.c (parse_bracket_exp): Initialize type to
37408         COLL_SYM in a couple of places to avoid uninitialized variable
37409         wanings on tilegx gcc 4.8.2.
37411 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37413         * sysdeps/aarch64/strcpy.S: New file.
37414         * sysdeps/aarch64/stpcpy.S: New file.
37415         * NEWS: Updated.
37417 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37419         * sysdeps/aarch64/strrchr.S: New file.
37420         * NEWS: Updated.
37422 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
37424         [BZ #17658]
37425         * stdlib/setenv.c: Fix memory leak when setting large,
37426         duplicate string.
37428 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
37430         [BZ #17273]
37431         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
37432         and tabs from buffer before parsing fstab entry.
37433         * misc/tst-mntent.c (main): Add test for mount entry with
37434         trailing spaces and tabs.
37436 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
37438         [BZ #17748]
37439         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
37440         * math/fesetround.c (fesetround): Rename to __fesetround and
37441         define as weak alias of __fesetround.  Use libm_hidden_weak.
37442         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
37443         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
37444         * sysdeps/arm/fesetround.c (fesetround): Likewise.
37445         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
37446         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
37447         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
37448         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
37449         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
37450         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
37451         __fesetround_inline.
37452         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
37453         __fesetround_inline instead of __fesetround.
37454         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
37455         __fesetround and define as weak alias of __fesetround.  Use
37456         libm_hidden_weak.  Call __fesetround_inline instead of
37457         __fesetround.
37458         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
37459         __fesetround and define as weak alias of __fesetround.  Use
37460         libm_hidden_weak.
37461         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
37462         Likewise.
37463         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
37464         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37465         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
37466         * sysdeps/tile/math_private.h (__fesetround): New inline function.
37467         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
37468         __fesetround and define as weak alias of __fesetround.  Use
37469         libm_hidden_weak.
37470         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
37471         __fesetround instead of fesetround.
37472         (default_libc_feholdexcept_setround): Likewise.
37473         (libc_feholdsetround_ctx): Likewise.
37474         (libc_feholdsetround_noex_ctx): Likewise.
37476         [BZ #17748]
37477         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
37478         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
37479         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37480         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37481         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37482         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
37483         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37484         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37485         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37486         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37487         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37488         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37489         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37490         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37491         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
37492         libm_hidden_def.
37493         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
37494         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
37495         Likewise.
37496         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37497         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37498         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37499         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37500         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
37501         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37502         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37503         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
37504         __fesetenv instead of fesetenv.
37505         (libc_feresetround_noex_ctx): Likewise.
37506         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37507         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37508         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
37509         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37510         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37511         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37512         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37513         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37514         (__feupdateenv): Likewise.
37515         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37516         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37517         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37518         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
37520 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37522         [BZ #17806]
37523         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
37524         addresses have been freed.
37526 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37528         * resolv/res_init.c (__res_vinit): Improve comments about nserv
37529         and nservall.
37531 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
37533         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
37534         Clean up check_pf allocation pattern. addresses
37536 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37538         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
37539         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
37540         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
37541         * nptl/pthread_exit.c (__pthread_exit): Likewise.
37542         * nptl/pthread_join.c (pthread_join): Likewise.
37543         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
37544         * sysdeps/posix/waitid.c (__waitid): Likewise.
37545         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
37546         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
37547         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
37548         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
37549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
37550         Likewise.
37551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
37552         (__libc_pread64): Likewise.
37553         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
37554         (__libc_pwrite): Likewise.
37555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37556         (__libc_pwrite64): Likewsie.
37557         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
37558         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
37559         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
37560         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37561         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37562         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37563         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37565         Likewise.
37566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37567         (__libc_pread64): Likewise.
37568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37569         Likewise.
37570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37571         (__libc_pwrite64): Likewise.
37572         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37573         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37574         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37575         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37576         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37577         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37578         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37579         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37580         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37581         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37582         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37583         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37584         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37585         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37586         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37587         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37588         Likewise.
37590 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37592         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37593         (CFLAGS-test-double.c): Likewise.
37594         (CFLAGS-test-ldouble.c): Likewise.
37595         (CPPFLAGS-test-ifloat.c): Likewise.
37596         (CPPFLAGS-test-idouble.c): Likewise.
37597         (CPPFLAGS-test-ildoubl.c): Likewise.
37598         (CFLAGS-test-test-fenv.c): Remove variable.
37599         (CFLAGS-test-misc.c): Likewise.
37601 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37603         [BZ #17797]
37604         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37605         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37606         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37607         CLOCKS_PER_SEC == 1000000.
37608         * time/clocktest.c (main): Replace %ld with %jd and cast to
37609         intmax_t.
37611 2015-01-05  Roland McGrath  <roland@hack.frob.com>
37613         * sysdeps/generic/unwind-resume.h: New file.
37614         * sysdeps/gnu/unwind-resume.c: Include it.
37615         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37616         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37617         argument list.
37618         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37619         global rather than static.
37620         (_Unwind_Resume): Update user.
37621         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
37622         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
37623         rather than static.  Add __attribute__ ((cold)).
37624         (_Unwind_Resume, __gcc_personality_v0): Update callers.
37625         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
37626         * sysdeps/arm/arm-unwind-resume.S: New file.
37627         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
37628         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
37629         * sysdeps/arm/Makefile [$(subdir) = csu]
37630         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
37631         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37632         Add rt-arm-unwind-resume.
37633         [$(subdir) = nptl]
37634         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37635         Add pt-arm-unwind-resume.
37636         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37637         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
37639 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37641         [BZ #17748]
37642         * include/fenv.h (__feholdexcept): Declare.  Use
37643         libm_hidden_proto.
37644         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
37645         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
37646         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37647         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
37648         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
37649         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
37650         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
37651         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37652         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
37653         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
37654         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37655         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
37656         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
37657         (feholdexcept): Likewise.
37658         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37659         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37660         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37661         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37662         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
37663         __feholdexcept instead of feholdexcept.
37664         (default_libc_feholdexcept_setround): Likewise.
37666 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37668         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
37669         to avoid using stl/str to align destination.
37671 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37673         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
37675 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37677         [BZ #17796]
37678         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
37679         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
37680         Define as weak alias not strong alias.
37682 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37684         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
37685         bltzal with addiupc.
37686         (RTLD_START): Ditto.
37688 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
37690         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
37691         for __vdso_* functions in declarations.
37692         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
37693         definitions.
37694         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
37695         INTERNAL_VSYSCALL): Use struct return types to check for error.
37697         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
37698         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
37699         function with cast from llround().
37700         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
37701         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
37702         Define.
37704 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37706         [BZ #17793]
37707         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
37708         Define as weak alias not strong alias.
37710         [BZ #17635]
37711         * ctype/ctype-c99.c: New file.  isblank implementation moved from
37712         ...
37713         * ctype/ctype-extn.c: ... here.
37714         (__isblank_l): Move to ...
37715         * ctype/ctype-c99_l.c: ... here.  New file.
37716         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
37717         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
37718         Remove variable.
37719         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37720         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37721         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37722         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37723         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37725         [BZ #17777]
37726         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
37727         (posix_fadvise64): Define as weak alias not strong alias.
37728         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37729         (posix_fallocate64): Likewise.
37730         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37731         Remove variable.
37732         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37733         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37734         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37735         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37736         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37738 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
37740         [BZ #16191]
37741         * NEWS: Mention bug fix.
37742         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
37743         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37744         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
37745         (HOST_STACK_END_ADDR): Likewise.
37747 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37749         [BZ #17748]
37750         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
37751         * math/fegetround.c (fegetround): Rename to __fegetround and
37752         define as weak alias of __fegetround.  Use libm_hidden_weak.
37753         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
37754         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
37755         * sysdeps/arm/fegetround.c (fegetround): Likewise.
37756         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
37757         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37758         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
37759         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
37760         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
37761         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37762         Undefine after rather than before function definition; use
37763         parentheses around function name in definition.
37764         (__fegetround): Also undefine macro after function definition.
37765         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
37766         __fegetround and define as weak alias of __fegetround.  Use
37767         libm_hidden_weak.  Do not undefine as macro.
37768         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37769         Likewise.
37770         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
37771         __fegetround and define as weak alias of __fegetround.  Use
37772         libm_hidden_weak.
37773         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37774         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37775         * sysdeps/tile/math_private.h (__fegetround): New inline function.
37776         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
37777         __fegetround and define as weak alias of __fegetround.  Use
37778         libm_hidden_weak.
37779         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
37780         __fegetround instead of fegetround.
37782         [BZ #17782]
37783         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
37784         Condition macro definition on [__USE_MISC].
37786         [BZ #17781]
37787         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37788         (struct sigaction): Change type of sa_flags field to int.
37790         [BZ #17780]
37791         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
37792         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
37793         __glibc_reserved0.
37795         * nptl/version.c (banner): Use single year in copyright notice.
37797         * NEWS: Update copyright dates.
37798         * catgets/gencat.c (print_version): Likewise.
37799         * csu/version.c (banner): Likewise.
37800         * debug/catchsegv.sh: Likewise.
37801         * debug/pcprofiledump.c (print_version): Likewise.
37802         * debug/xtrace.sh (do_version): Likewise.
37803         * elf/ldconfig.c (print_version): Likewise.
37804         * elf/ldd.bash.in: Likewise.
37805         * elf/pldd.c (print_version): Likewise.
37806         * elf/sotruss.sh: Likewise.
37807         * elf/sprof.c (print_version): Likewise.
37808         * iconv/iconv_prog.c (print_version): Likewise.
37809         * iconv/iconvconfig.c (print_version): Likewise.
37810         * locale/programs/locale.c (print_version): Likewise.
37811         * locale/programs/localedef.c (print_version): Likewise.
37812         * login/programs/pt_chown.c (print_version): Likewise.
37813         * malloc/memusage.sh (do_version): Likewise.
37814         * malloc/memusagestat.c (print_version): Likewise.
37815         * malloc/mtrace.pl: Likewise.
37816         * manual/libc.texinfo: Likewise.
37817         * nptl/version.c (banner): Likewise.
37818         * nscd/nscd.c (print_version): Likewise.
37819         * nss/getent.c (print_version): Likewise.
37820         * nss/makedb.c (print_version): Likewise.
37821         * posix/getconf.c (main): Likewise.
37822         * scripts/test-installation.pl: Likewise.
37823         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
37825 2015-01-02  Will Newton  <will.newton@linaro.org>
37827         * sysdeps/arm/armv7/configure: Removed.
37828         * sysdeps/arm/armv7/configure.ac: Likewise.
37830 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37832         * All files with FSF copyright notices: Update copyright dates
37833         using scripts/update-copyrights.
37834         * intl/plural.c: Regenerated.
37835         * locale/programs/charmap-kw.h: Likewise.
37836         * locale/programs/locfile-kw.h: Likewise.
37838 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37840         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
37842 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37844         [BZ #17748]
37845         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
37846         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
37847         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37848         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37849         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37850         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
37851         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37852         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
37853         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37854         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37855         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37856         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37857         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37858         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37859         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
37860         libm_hidden_def.
37861         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
37862         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
37863         Likewise.
37864         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37865         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37866         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37867         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37868         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
37869         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37870         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37871         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
37872         __fegetenv instead of fegetenv.
37873         (libc_feholdsetround_noex_ctx): Likewise.
37875 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37877         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
37878         (Elf_MIPS_ABIFlags_v0): New structure.
37879         (EF_MIPS_FP64): Define.
37880         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
37881         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
37882         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
37883         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
37884         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
37885         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
37886         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
37887         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
37888         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
37889         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
37890         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
37891         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
37892         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
37893         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
37894         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
37895         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
37896         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
37897         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
37898         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
37899         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
37900         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
37901         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
37902         field.
37903         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
37904         EF_MIPS_FP64.
37905         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
37906         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
37907         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
37908         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
37909         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
37910         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
37911         * sysdeps/mips/tst-abi-interlink.c: Likewise.
37912         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
37913         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
37914         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
37915         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
37916         record the current FP ABI extension.
37917         (mips-mode-switch): Define to show if kernel headers support mode
37918         switching.
37919         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
37920         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
37921         supported SYSV ABI version to 3.
37922         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
37923         feature.
37925 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37926             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37928         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
37929         path.
37930         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
37932 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37934         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
37935         __fegetround and redefine to call __fegetround.  Remove condition
37936         on [!__NO_MATH_INLINES].
37937         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
37938         function.
37939         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
37940         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37941         Remove macro.
37942         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
37943         instead of <fenv_libc.h>.
37944         (__llrintl): Call fegetround instead of __fegetround.
37945         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
37946         instead of <fenv_libc.h>.
37947         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37948         (__lrintl): Call fegetround instead of __fegetround.
37949         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
37950         instead of <fenv_libc.h>.
37951         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37952         (__rintl): Call fegetround instead of __fegetround.
37954 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37956         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
37957         arrays.
37959 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37961         [BZ #17775]
37962         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
37963         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
37964         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
37966 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37968         * sysdeps/i386/tls-macros.h: Include <features.h>.
37969         (TLS_LE): Use non-PIC version for GCC >= 5.0.
37970         (TLS_IE): Likewise.
37971         (TLS_LD): Likewise.
37972         (TLS_GD): Likewise.
37973         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
37974         define for GCC >= 5.0.
37976 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
37978         * math/test-fenv.c (test_single_exception, set_single_exc,
37979         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
37980         feexcp_mask_test, feenable_test, fe_single_test): Add
37981         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
37982         case where they are not used.
37983         * math/libm-test.inc: Likewise.
37984         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
37985         unused in the absence of FP rounding/exception support.
37986         * stdio-common/tst-printf-round.c: Likewise.
37987         * stdlib/tst-strtod-round.c: Likewise.
37988         * stdlib/tst-strtod-underflow.c: Likewise.
37990 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
37992         [BZ #17723]
37993         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
37994         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
37995         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37996         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37997         libm_hidden_weak.
37998         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
37999         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38000         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38001         libm_hidden_def.
38002         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38003         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38004         libm_hidden_weak.
38005         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38006         Likewise.
38007         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38008         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38009         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38010         libm_hidden_weak.
38011         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38012         libm_hidden_def.
38013         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38014         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38015         (__feraiseexcept): Likewise.
38016         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38017         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38018         libm_hidden_weak.
38019         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38020         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38021         libm_hidden_def.
38022         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38023         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38024         Use libm_hidden_def.
38025         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38026         libm_hidden_def.
38027         (feraiseexcept): Define as weak not strong alias.  Use
38028         libm_hidden_weak.
38029         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38030         New inline function.  Factored out of ...
38031         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38032         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38033         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38034         feraiseexcept.
38035         * math/w_acos.c (__acos): Likewise.
38036         * math/w_asin.c (__asin): Likewise.
38037         * math/w_ilogb.c (__ilogb): Likewise.
38038         * math/w_j0.c (y0): Likewise.
38039         * math/w_j1.c (y1): Likewise.
38040         * math/w_jn.c (yn): Likewise.
38041         * math/w_log.c (__log): Likewise.
38042         * math/w_log10.c (__log10): Likewise.
38043         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38044         * sysdeps/aarch64/fpu/math_private.h
38045         (libc_feupdateenv_test_aarch64): Likewise.
38046         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38047         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38048         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38049         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38050         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38051         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38052         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38053         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38054         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38055         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38057 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38059         [BZ #17732]
38060         * io/test-utime.c (main): Replace %ld with %jd and cast to
38061         intmax_t.
38062         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38063         * nptl/tst-mutex5.c: Include <stdint.h>.
38064         (do_test): Replace %ld with %jd and cast to intmax_t.
38065         * posix/tst-regex.c (run_test): Likewise.
38066         (run_test_backwards): Likewise.
38067         * rt/tst-clock.c: Include <stdint.h>.
38068         (clock_test): Replace %ld with %jd and cast to intmax_t.
38069         * rt/tst-cpuclock1.c: Include <stdint.h>.
38070         (do_test): Replace %lu with %ju and cast to uintmax_t.
38071         * rt/tst-cpuclock2.c: Include <stdint.h>.
38072         (do_test): Replace %lu with %ju and cast to uintmax_t.
38073         * rt/tst-mqueue1.c: Include <stdint.h>.
38074         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38075         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38076         intmax_t.
38077         * rt/tst-mqueue4.c (do_test): Likewise.
38078         * rt/tst-timer4.c: Include <stdint.h>.
38079         (check_ts): Replace %ld with %jd and cast to intmax_t.
38080         (do_test): Likewise.
38081         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38082         and cast to intmax_t.
38083         * sysdeps/pthread/tst-timer.c (main): Likewise.
38084         * time/clocktest.c (main): Likewise.
38085         * time/tst-posixtz.c (do_test): Likewise.
38086         * timezone/tst-timezone.c (main): Likewise.
38088 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38089             H.J. Lu  <hongjiu.lu@intel.com>
38091         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38092         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38093         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38094         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38095         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38096         version if bit_Fast_Unaligned_Load is set.
38097         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38098         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38099         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38100         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38101         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38102         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38104         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38105         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38106         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38107         to 4.
38108         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38109         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38110         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38111         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38113 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38115         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38116         instead of #if to avoid a Wundef warning.
38117         * stdlib/tst-limits.c (do_test): Likewise.
38119         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38120         parallel other exception macros.
38121         (fegetenv): Convert from macro to extern inline so that it applies
38122         retroactively to inline functions already seen by the compiler.
38123         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38125         * posix/Makefile (before-compile): Use $(objpfx) for
38126         posix-conf-vars-def.h.
38128 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38130         * posix/getconf.c (main): Use size_t for type of I.
38131         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38132         NSPEC.
38134         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38135         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38136         * posix/posix-envs.def: Likewise.
38137         * sysdeps/posix/sysconf.c: Likewise.
38138         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38139         (specs): Remove array.
38140         * scripts/gen-posix-conf-vars.awk: Support generation of specs
38141         array.
38143         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38144         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38145         (__sysconf): Use CONF_IS_* macros.
38147         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38148         ($(objpfx)posix-conf-vars-def.h): New target.
38149         * posix/posix-conf-vars.list: New file.
38150         * posix/posix-conf-vars.h: New file.
38151         * posix/confstr.c: Include posix-conf-vars.h.
38152         (confstr): Use CONF_IS_* macros.
38153         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
38154         CONF_IS_* macros.
38155         * scripts/gen-posix-conf-vars.awk: New file.
38157 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
38159         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38160         fegetround): Add no-op macros to avoid linknamespace issues.
38162         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38163         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38165         * sysdeps/unix/sysv/linux/tile/sysdep.h
38166         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38167         assembly-specific section to avoid a redefinition warning.
38169         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38170         long before casting to pointer to avoid a cast warning.
38172 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
38174         * sysdeps/tile/tilegx/Implies: New file.
38176 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
38178         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38180 2014-12-23  Florian Weimer  <fweimer@redhat.com>
38182         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38184 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38186         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38187         not define.
38188         * sysdeps/unix/sysv/linux/utimes.c: Do not include
38189         <kernel-features.h>.
38190         (__utimes) [__NR_utimes]: Make code unconditional.
38191         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38192         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38193         (__ASSUME_UTIMES): Do not undefine.
38194         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38195         (__ASSUME_UTIMES): Likewise.
38196         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38197         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38198         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38199         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38201 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38203         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38205 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
38207         [BZ #17747]
38208         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38209         alias to weak alias for j0l, y0l.
38210         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38211         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38213         [BZ #17746]
38214         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38215         conversion.
38217 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38219         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38220         to zero if not already defined.
38222 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38224         [BZ #17724]
38225         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38226         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
38227         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
38228         (char *) casts added.
38229         * sysdeps/ieee754/k_standardf.c: New file.
38230         * sysdeps/ieee754/k_standardl.c: Likewise.
38231         * math/Makefile (libm-support): Remove k_standard.
38232         (libm-calls): Add k_standard.
38234 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38236         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38237         Optimize to avoid an unnecessary FPCR read.
38239 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38241         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
38242         Optimize to reduce FPCR/FPSR accesses.
38244 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38246         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
38247         Call libc_fetestexcept_aarch64.
38249 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38251         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
38252         Call libc_fesetround_aarch64.
38254 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38256         [BZ #17733]
38257         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
38258         (__bind): Do not define as weak alias.
38259         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
38260         define.
38261         (__getsockname): Do not define as weak alias.
38263 2014-12-22  Will Newton  <will.newton@linaro.org>
38265         * manual/install.texi: Document that we require bison 2.7
38266         or above.
38267         * INSTALL: Regenerate.
38268         * configure.ac: Use AC_CHECK_PROG_VER instead of
38269         AC_PATH_PROG when checking for bison and check for
38270         version 2.7 or above.
38271         * configure: Regenerate.
38273 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
38275         [BZ #17745]
38276         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
38277         * sysdeps/tile/ffsll.c (ffsll): To here.
38279         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
38281 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38283         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
38284         if not defined.
38285         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
38286         definition.
38287         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38288         hidden ___tls_get_addr.
38289         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38290         hidden __tls_get_addr.
38291         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
38292         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
38293         Likewise.
38295 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38297         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
38298         _dl_init call.
38300 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38302         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
38303         from "call _dl_init@PLT".
38304         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
38306 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
38308         * manual/search.texi: (Array Sort Function): Clarify stable sorting
38309         guarantees.
38311 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
38313         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
38315 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38317         [BZ #17744]
38318         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
38319         strnlen.
38321 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38323         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
38324         of multu on MIPSr6.
38325         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
38326         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
38327         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
38328         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
38329         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
38331 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38333         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
38334         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
38335         (PTR_SUBU): Use subu for mips32r6/mips64r6.
38336         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
38337         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
38338         mips32r6/mips64r6.
38339         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
38341 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
38343         * string/strncat.c (STRNCAT): Simplify implementation.
38345 2014-12-19  David S. Miller  <davem@davemloft.net>
38347         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
38348         access the quad as both a long double and as a series of 4 words.
38350         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
38351         link_map->l_info array access.
38353 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38355         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
38357         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
38358         * math/atest-exp2.c (TIMEOUT): Likewise.
38359         * math/atest-sincos.c (TIMEOUT): Likewise.
38361 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38363         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
38364         -Wno-error with -fno-builtin-lround.
38366 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38368         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
38369         Contains futex constants and functions moved over from ...
38370         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
38371         <lowlevellock-futex.h>.
38372         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38373         (lll_timedwait_tid): Add comments and parentheses around macro
38374         arguments.
38376 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
38379         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
38380         (__lll_private_flag): Remove.
38381         (lll_futex_wait): Likewise.
38382         (lll_futex_timed_wait): Likewise.
38383         (lll_futex_wake): Likewise.
38384         (lll_futex_requeue): Likewise.
38385         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38386         (__lll_timedwait_tid): Spell out argument names.
38387         (lll_timedwait_tid): Add comments and parentheses around macro
38388         arguments.
38389         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
38390         LLL_SHARED and LLL_PRIVATE usable from assembly code.
38392 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38394         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
38395         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38396         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38397         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
38398         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
38399         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
38400         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
38401         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
38402         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
38403         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
38404         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
38405         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
38406         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
38407         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
38408         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
38409         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
38410         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
38411         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
38412         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
38414 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38416         * sysdeps/x86_64/x32/Makefile: New file.
38418 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38420         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
38421         1L with (mp_limb_t) 1.
38423 2014-12-17  Roland McGrath  <roland@hack.frob.com>
38425         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
38426         * nptl/libc_pthread_init.c: ... here.
38427         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
38428         * nptl/register-atfork.c: ... here.
38430         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
38431         Use pthread_sigmask rather than INTERNAL_SYSCALL.
38432         Use assert_perror to check its return value.
38433         (__gai_create_helper_thread): Likewise.
38435         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
38437         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
38439 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
38441         [BZ #17725]
38442         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
38443         __profil_counter.
38444         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
38445         Likewise.
38446         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
38447         Likewise.
38448         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
38449         Likewise.
38450         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
38451         (profil_counter): Likewise.
38452         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
38453         (profil_counter): Likewise.
38454         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
38455         Likewise.
38456         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
38457         Likewise.
38458         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
38459         (profil_counter): Likewise.
38460         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
38461         Likewise.
38462         [!__profil_counter] (profil_counter): Define as weak alias of
38463         __profil_counter.
38464         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
38465         (profil_counter): Rename to __profil_counter.
38466         [!__profil_counter] (profil_counter): Define as weak alias of
38467         __profil_counter.
38468         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
38469         (profil_counter): Rename to __profil_counter.
38470         [!__profil_counter] (profil_counter): Define as weak alias of
38471         __profil_counter.
38472         * sysdeps/posix/profil.c: Update comment referring to
38473         profil_counter.
38474         (__profil): Use __profil_counter instead of profil_counter.
38475         * sysdeps/posix/sprofil.c (profil_counter): Rename to
38476         __profil_counter.  Use __profil_counter_ushort and
38477         __profil_counter_uint in definitions.
38478         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
38479         instead of profil_counter_uint and profil_counter_ushort.
38481         [BZ #17722]
38482         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
38483         define as weak alias of __inet_makeaddr.
38484         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
38485         as weak alias of __inet_addr.
38486         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
38487         as weak alias of __inet_pton.  Use libc_hidden_weak.
38488         * include/arpa/inet.h (__inet_pton): Declare.  Use
38489         libc_hidden_proto.
38490         (inet_makeaddr): Don't use libc_hidden_proto.
38491         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
38492         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
38493         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
38494         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
38495         Remove variable.
38496         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38497         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38499 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
38501         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
38503 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38505         * stdio-common/bug-vfprintf-nargs.c (do_test):
38506         Cast value to intptr_t to avoid format warning
38507         for usage with PRIdPTR printing macro.
38509 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38511         * libio/tst-widetext.c (do_test):
38512         Use format type %td instead of %Zd for ptrdiff_t
38513         in order to avoid format warning.
38515 2014-12-17  Andreas Schwab  <schwab@suse.de>
38517         * nscd/mem.c (gc): Add size_t cast to match printf format.
38519 2014-12-16  Roland McGrath  <roland@hack.frob.com>
38521         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
38522         (init): Apply PTR_MANGLE to pointers before storing them.
38523         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
38524         before using them.
38526 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
38528         [BZ #17719]
38529         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
38530         define as weak alias of __memrchr.
38531         (__memrchr): Do not define as strong alias of memrchr.
38532         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
38533         Remove variable.
38534         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38535         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38536         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38538         [BZ #17717]
38539         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
38540         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
38541         (if_indextoname): Rename to __if_indextoname and define as weak
38542         alias of __if_indextoname.  Use libc_hidden_weak.
38543         (if_freenameindex): Rename to __if_freenameindex and define as
38544         weak alias of __if_freenameindex.
38545         (if_nameindex): Rename to __if_nameindex and define as weak alias
38546         of __if_nameindex.
38547         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
38548         __if_nametoindex and define as weak alias of __if_nametoindex.
38549         Use libc_hidden_weak.
38550         (if_freenameindex): Rename to __if_freenameindex and define as
38551         weak alias of __if_freenameindex.
38552         (if_nameindex): Rename to __if_nameindex and define as weak alias
38553         of __if_nameindex.
38554         (if_indextoname): Rename to __if_indextoname and define as weak
38555         alias of __if_indextoname.  Use libc_hidden_weak.
38556         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
38557         __if_nametoindex and define as weak alias of __if_nametoindex.
38558         Use libc_hidden_weak.
38559         (if_freenameindex): Rename to __if_freenameindex and define as
38560         weak alias of __if_freenameindex.  Use libc_hidden_weak.
38561         (if_nameindex_netlink): Use __if_freenameindex instead of
38562         if_freenameindex.
38563         (if_nameindex): Rename to __if_nameindex and define as weak alias
38564         of __if_nameindex.  Use libc_hidden_weak.
38565         (if_indextoname): Rename to __if_indextoname and define as weak
38566         alias of __if_indextoname.  Use libc_hidden_weak.
38567         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38568         libc_hidden_proto.
38569         [!_ISOMAC] (__if_freenameindex): Likewise.
38570         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38571         if_nametoindex.
38572         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38573         variable.
38574         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38575         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38576         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38577         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38578         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38579         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38580         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38582         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38583         Remove variable.
38584         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38585         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38587 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38589         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38590         subscript above bounds'
38592         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38593         bounds.
38595 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38597         * libio/tst-fopenloc.c: Use test-skeleton.c.
38599         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38600         (entry): Rename to ITEM.
38601         (do_test, comp): Adjust.
38603         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38605 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38607         * string/tester.c: Include <libc-internal.h>.
38608         (test_memset): Ignore -Wmemset-transposed-args.
38610 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38612         * misc/tst-mntent2.c (do_test): Fix warning.
38614 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38616         * elf/tst-unique4lib.cc(a): Mark as used.
38618 2014-12-16  Florian Weimer  <fweimer@redhat.com>
38620         [BZ #17630]
38621         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
38622         names.
38624 2014-12-16  Allan McRae  <allan@archlinux.org>
38626         * stdio-common/Makefile (tests): Re-add bug26.
38628 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
38630         [BZ #17657]
38631         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
38632         static array.
38634 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
38636         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
38637         (__lll_lock_wait): Likewise.
38638         (__lll_timedlock_wait): Likewise.
38639         (__lll_timedwait_tid): Likewise.
38640         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
38641         (__lll_robust_timedlock_wait): Likewise.
38642         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
38643         (lll_cond_trylock): Likewise.
38644         (__lll_lock): Likewise.
38645         (__lll_robust_lock): Likewise.
38646         (__lll_cond_lock): Likewise.
38647         (lll_robust_cond_lock): Likewise.
38648         (__lll_timedlock): Likewise.
38649         (__lll_robust_timedlock): Likewise.
38650         (__lll_unlock): Likewise.
38651         (__lll_robust_unlock): Likewise.
38652         (lll_wait_tid): Likewise.
38653         (lll_timedwait_tid): Likewise.
38655 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38657         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
38659 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38661         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
38663 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38665         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
38666         * stdio-common/tst-sprintf.c: Likewise.
38668 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38670         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
38672 2014-12-15  Jeff Law  <law@redhat.com>
38674         [BZ #16617]
38675         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
38676         on the heap.  (CVE-2012-3406)
38677         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
38678         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
38679         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
38681 2014-12-15  Will Newton  <will.newton@linaro.org>
38683         * manual/install.texi: Bump required version of texinfo
38684         to 4.7 from 4.5.
38685         * INSTALL: Regenerated.
38686         * configure.ac: Check for makeinfo version 4.7 and above.
38687         * configure: Regenerated.
38689 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38691         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
38692         PREFIX, string constant to insert between directory and name.
38693         * sysdeps/posix/shm_open.c: Update caller.
38694         * sysdeps/posix/shm_unlink.c: Likewise.
38695         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38696         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
38697         (SEM_SHM_PREFIX): New macro.
38698         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
38699         [$(have-thread-library) = no].
38700         * nptl/Makefile (libpthread-routines): Add shm-directory.
38701         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
38702         * sysdeps/nptl/shm-directory.h: New file.
38703         * sysdeps/posix/shm-directory.c
38704         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
38705         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
38706         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
38707         INTERNAL_SYSCALL.
38708         (__where_is_shmfs): Function removed.
38709         (mountpoint, defaultmount, defaultdir, __namedsem_once):
38710         Variables removed.
38711         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
38712         Use SHM_GET_NAME.
38713         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
38715         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
38716         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
38717         unconditional for use inside libpthread.
38718         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
38720 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38722         * nptl/pthread_getaffinity.c: New file.
38723         * nptl/pthread_setaffinity.c: New file.
38724         * nptl/pthread_getname.c: New file.
38725         * nptl/pthread_setname.c: New file.
38727         * nptl/pthread_create.c (START_THREAD_DEFN)
38728         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
38730 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38731             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38733         * resolv/res_send.c (send_vc): Disable warning resplen may
38734         be used uninitialized.
38736 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38738         * nptl/tst-mutex6.c
38739         (ATTR_NULL): New define checks ATTR against NULL.
38740         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
38741         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
38743 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
38745         [BZ #17581]
38746         * malloc/hooks.c
38747         (mem2mem_check): Revert my previous change.
38748         (malloc_check_get_size): Revert my previous change.
38749         (mem2chunk_check): Revert my previous change.
38751 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38753         * sysdeps/posix/shm-directory.c: New file.
38754         * sysdeps/posix/shm-directory.h: New file.
38755         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
38756         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
38757         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
38758         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
38759         Transmute EPERM to EACCES.
38760         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
38761         from ...
38762         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
38763         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
38765 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38767         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
38768         pointer and cast to uintptr_t.
38769         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
38770         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
38771         Add cast to avoid warning.
38772         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
38774 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38776         * nptl/semaphore.h: Move to ...
38777         * sysdeps/pthread/semaphore.h: ... here.
38778         * Makefile (installed-headers): Change nptl/semaphore.h to
38779         sysdeps/pthread/semaphore.h.
38781 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38783         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
38784         generated error format strings.
38786         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
38787         -Wformat-extra-args warnings for scanf formats.
38788         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
38789         test of zero-length format (duh).
38790         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
38791         corner-case scanf format test.
38792         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
38793         generated fprintf format string.
38794         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
38795         corner-case sprintf format tests.
38796         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
38797         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
38798         -Wformat-extra-args warnings throughout.
38799         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
38800         (CFLAGS-scanf4.c): Likewise.
38801         (CFLAGS-scanf7.c): Likewise.
38802         (CFLAGS-tst-sprintf.c): Likewise.
38803         (CFLAGS-tst-printf.c): Likewise.
38804         (CFLAGS-tst-printfsz.c): Likewise.
38806 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38808         * include/cpio.h: New file.
38809         * include/fmtmsg.h: Likewise.
38811         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
38812         corresponding format argument to size_t.
38813         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
38814         arguments.
38815         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
38816         corresponding format argument to size_t.
38817         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
38818         arguments.
38819         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
38820         corresponding format argument to size_t.
38821         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
38822         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
38823         (CFLAGS-tst-mbswcs2.c): Likewise.
38824         (CFLAGS-tst-mbswcs3.c): Likewise.
38825         (CFLAGS-tst-mbswcs4.c): Likewise.
38826         (CFLAGS-tst-mbswcs5.c): Likewise.
38827         (CFLAGS-tst-trans.c): Likewise.
38829 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38831         * posix/regexbug1.c (main): Use "%s" format with regerror results,
38832         rather than assuming they won't contain any '%'s.
38834 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
38836         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
38837         inhibit_loop_to_libcall to avoid recursive calls.
38838         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
38839         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
38841 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38843         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
38844         prototype.
38846 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38848         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
38849         integer value instead of boolean.
38851 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38853         * malloc/malloc.c: Fix powerof2 check.
38855 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38857         * locale/programs/locfile.h (maybe_swap_uint32):
38858         Remove inline and add unused attribute.
38860 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38862         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38863         Truncating assembler expression to a .long expression.
38865 2014-12-11  Andreas Schwab  <schwab@suse.de>
38867         * elf/rtld.c (struct map_args): Constify str member.
38868         (do_preload): Constify fname argument.
38870 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38872         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
38873         constants definition.
38875 2014-12-11  Andreas Schwab  <schwab@suse.de>
38877         [BZ #16657]
38878         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
38879         FORCE_ELISION instead of DO_ELISION.
38880         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
38881         Remove.
38882         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
38883         Likewise.
38885         * iconvdata/gconv-modules: Remove duplicate entry.
38887 2014-12-11  Will Newton  <will.newton@linaro.org>
38889         Merge gettext 0.19.3 into intl/.
38891         This involves a number of cosmetic changes to comments
38892         and ANSI function definitions and prototypes throughout
38893         all the files. The gettext copyright header is used but
38894         with the date ranges taken from the glibc copy.
38896         * NEWS: Add gettext merge to 2.21.
38897         * intl/bindtextdom.c: Switch to gettext copyright.
38898         Use ANSI definitions and prototypes.
38899         Use gl_* locking primitives rather than __libc_* ones.
38900         Use __builtin_expect rather than __glibc_likely/unlikely.
38901         * intl/dcgettext.c: Switch to gettext copyright.
38902         Use ANSI definitions and prototypes.
38903         * intl/dcigettext.c: Switch to gettext copyright.
38904         Use ANSI definitions and prototypes.
38905         (INTDIV0_RAISES_SIGFPE): New define.
38906         Use gl_* locking primitives rather than __libc_* ones.
38907         Include eval-plural.h instead of plural-eval.c.
38908         Use __builtin_expect rather than __glibc_likely/unlikely.
38909         * intl/dcngettext.c: Switch to gettext copyright.
38910         Use ANSI definitions and prototypes.
38911         * intl/dgettext.c: Likewise.
38912         * intl/dngettext.c: Likewise.
38913         * intl/plural-eval.c: Renamed to...
38914         * intl/eval-plural.h: ...this.
38915         * intl/explodename.c: Switch to gettext copyright.
38916         Use ANSI definitions and prototypes.
38917         (_nl_explode_name): Use strchr instead of __rawmemchr.
38918         * intl/finddomain.c: Switch to gettext copyright.
38919         Use ANSI definitions and prototypes.
38920         Use gl_* locking primitives rather than __libc_* ones.
38921         (_nl_find_domain): Use malloc rather than alloca for
38922         allocation of temporary locale name.
38923         * intl/gettext.c: Switch to gettext copyright.
38924         Use ANSI definitions and prototypes.
38925         * intl/gettextP.h: Switch to gettext copyright.
38926         Use ANSI definitions and prototypes.
38927         Use gl_* locking primitives rather than __libc_* ones.
38928         * intl/gmo.h: Switch to gettext copyright.
38929         (struct sysdep_string): Move struct segment_pair outside of
38930         struct definition.
38931         * intl/hash-string.c: Use ANSI definitions and prototypes.
38932         * intl/hash-string.h: Switch to gettext copyright.
38933         Use ANSI definitions and prototypes.
38934         * intl/l10nflist.c: Switch to gettext copyright.
38935         Use ANSI definitions and prototypes.
38936         (_nl_normalize_codeset): Avoid integer overflow.
38937         * intl/loadinfo.h: Switch to gettext copyright.
38938         Use ANSI definitions and prototypes.
38939         (LIBINTL_DLL_EXPORTED): New define.
38940         (PATH_SEPARATOR): New define.
38941         * intl/loadmsgcat.c: Switch to gettext copyright.
38942         * intl/localealias.c: Switch to gettext copyright.
38943         Use ANSI definitions and prototypes.
38944         (_nl_expand_alias): Use PATH_SEPARATOR.
38945         * intl/ngettext.c: Switch to gettext copyright.
38946         Use ANSI definitions and prototypes.
38947         * intl/plural-exp.c: Likewise.
38948         * intl/plural-exp.h: Switch to gettext copyright.
38949         Use ANSI definitions and prototypes.
38950         (struct expression): Move definition of enum operator outside
38951         of struct definition.
38952         * intl/plural.c: Regenerate.
38953         * intl/plural.y: Switch to gettext copyright.
38954         Use ANSI definitions and prototypes.
38955         Port to bison 3.0.
38956         * intl/textdomain.c: Switch to gettext copyright.
38957         Use ANSI definitions and prototypes.
38958         Use gl_* locking primitives rather than __libc_* ones.
38960 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
38962         * debug/warning-nop.c: Add used atrribute.
38964 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38966         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
38968         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
38969         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
38970         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
38972 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38973             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38975         [BZ #17634]
38976         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
38977         Undefine after defining function.  Define as weak alias of
38978         __wcschr.  Use libc_hidden_weak.
38979         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
38980         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
38981         (libc_hidden_def): Also define __GI___wcschr alias.
38982         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
38983         __wcschr and define as weak alias of __wcschr.
38984         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
38985         __wcschr.
38986         [!WCSCHR] (DEFAULT_WCSCHR): Define.
38987         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
38988         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
38989         libc_hidden_weak.  Do not use libc_hidden_def.
38990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
38991         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
38992         __GI___wcschr alias.
38993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
38994         [IS_IN (libc)] (wcschr): Define as macro expanding to
38995         __redirect_wcschr.
38996         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
38997         [IS_IN (libc)] (__wcschr_power6): Likewise.
38998         [IS_IN (libc)] (__wcschr_power7): Likewise.
38999         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39000         instead of wcschr.
39001         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39002         __libc_wcschr.
39003         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39004         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39005         __wcschr and define as weak alias of __wcschr.  Use
39006         libc_hidden_builtin_def.
39007         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39008         as weak alias of __wcschr.  Use libc_hidden_weak.
39009         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39010         wcschr.
39011         * time/era.c (_nl_init_era_entries): Likewise.
39012         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39013         variable.
39014         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39015         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39017 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39019         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39020         format for long int variable.
39022 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39024         [BZ #10672]
39025         * manual/search.texi: (Array Sort Function): Remove claim how to make
39026         qsort stable.
39028 2014-12-10  Andreas Schwab  <schwab@suse.de>
39030         [BZ #12847]
39031         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39032         user-controlled locks.
39034 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39036         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39037         register.
39039 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39041         * configure.ac (--disable-werror): New configure option.
39042         (enable_werror): New AC_SUBST.
39043         * configure: Regenerated.
39044         * config.make.in (enable-werror): New variable.
39045         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39046         -Wno-error=undef.
39047         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39048         * manual/install.texi (Configuring and compiling): Document
39049         --disable-werror.
39050         * INSTALL: Regenerated.
39051         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39052         (CFLAGS-tst-chk2.c): Likewise.
39053         (CFLAGS-tst-chk3.c): Likewise.
39054         (CFLAGS-tst-chk4.cc): Likewise.
39055         (CFLAGS-tst-chk5.cc): Likewise.
39056         (CFLAGS-tst-chk6.cc): Likewise.
39057         (CFLAGS-tst-lfschk1.c): Likewise.
39058         (CFLAGS-tst-lfschk2.c): Likewise.
39059         (CFLAGS-tst-lfschk3.c): Likewise.
39060         (CFLAGS-tst-lfschk4.cc): Likewise.
39061         (CFLAGS-tst-lfschk5.cc): Likewise.
39062         (CFLAGS-tst-lfschk6.cc): Likewise.
39064         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39065         (main): Disable -Wdeprecated-declarations around calls to
39066         register_printf_function.
39068         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39069         (do_test): Disable -Wdiv-by-zero around some calls to
39070         fwrite_unlocked and fread_unlocked.
39072         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39073         (DIAG_POP_NEEDS_COMMENT): Likewise.
39074         (_DIAG_STR1): Likewise.
39075         (_DIAG_STR): Likewise.
39076         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39077         * stdio-common/bug21.c: Include <libc-internal.h>.
39078         (do_test): Disable -Wformat around call to sscanf.
39079         * stdio-common/scanf14.c: Include <libc-internal.h>.
39080         (main): Disable -Wformat around some calls to scanf functions.
39082 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39084         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39086 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39088         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39089         stack variable alignment.
39091 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39093         [BZ #17682]
39094         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39095         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39096         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39097         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39098         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39099         __getrlimit instead of getrlimit.
39100         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39101         __gettimeofday instead of gettimeofday.
39102         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39103         Likewise.
39104         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39105         Likewise.
39106         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39107         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39108         Remove variable.
39109         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39110         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39112 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39114         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39115         for wide-character tests.
39117 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39119         * io/openat64.c: #include <libc-internal.h>
39120         (__openat64): Prototypify.  Use ignore_value on MODE.
39121         * io/openat.c: Likewise.
39122         * misc/reboot.c: #include <libc-internal.h>
39123         (reboot): Prototypify.  Use ignore_value on HOWTO.
39124         * misc/ptrace.c: #include <libc-internal.h>
39125         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
39127 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
39129         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39130         XPG4, UNIX98 and XOPEN2K.
39131         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39132         Remove variable.
39133         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39135 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39137         * libio/fileops.c: Use ISO C style for function definitions.
39138         * libio/iofopen.c: Likewise.
39139         * libio/wfileops.c: Likewise.
39141         [BZ #17653]
39142         * libio/fileops.c (_IO_new_file_underflow): Unset cached
39143         offset on EOF.
39144         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39145         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39146         (fgets_func): Function pointer to fgets and fgetws.
39147         (do_ftell_test): Add test to verify ftell value after read
39148         EOF.
39149         (do_test): Set fgets_func.
39151         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39152         O_TRUNC flag for w and w+ modes.
39153         (do_rewind_test): Likewise.
39154         (do_ftell_test): Likewise.
39155         (do_write_test): Likewise.
39157         [BZ #17647]
39158         * libio/fileops.c (do_ftell): Seek only when there are
39159         unflushed writes.
39160         * libio/wfileops.c (do_ftell_wide): Likewise.
39161         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39162         test case.
39163         (do_one_test): Call it.
39165 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
39167         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39168         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39169         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39170         Remove variable.
39171         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39172         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39173         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39175 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39177         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39178         Remove variable.
39179         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39181         [BZ #17668]
39182         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39183         as weak alias of __getifaddrs.  Use libc_hidden_weak.
39184         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39185         __freeifaddrs.  Use libc_hidden_weak.
39186         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39187         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
39188         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39189         __freeifaddrs.  Use libc_hidden_weak.
39190         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39191         __getifaddrs and define as weak alias of __getifaddrs.  Use
39192         libc_hidden_weak.
39193         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39194         __freeifaddrs.  Use libc_hidden_weak.
39195         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39196         Remove variable.
39197         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39198         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39200 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
39202         [BZ #17601]
39203         * sysdeps/mips/start.S (__start): Use indirect jump to call
39204         __libc_start_main.
39206 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39208         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39210         * nptl/tst-mutex1.c: Include <stdbool.h>.
39211         [!ATTR] (ATTR_NULL): New macro.
39212         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39213         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39214         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39216         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39217         to char *.
39219         [BZ #17665]
39220         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39221         Change conditional to [__USE_MISC].
39223         [BZ #17664]
39224         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39225         fgets_unlocked.
39226         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39227         __fgets_unlocked.
39228         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39229         fgets_unlocked.
39230         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
39231         Remove variable.
39232         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39233         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39234         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39235         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39236         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39237         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39238         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39239         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39240         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39242         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
39244 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39246         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39247         Remove strpbrk objects.
39248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39249         (__libc_ifunc_impl_list): Remove strpbrk implementation.
39250         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
39251         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39252         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
39253         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
39255         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39256         Remove strcspn objects.
39257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39258         (__libc_ifunc_impl_list): Remove strcspn implementation.
39259         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
39260         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
39261         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
39262         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
39264         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39265         Remove strspn objetcs.
39266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39267         (__libc_ifunc_impl_list): Remove strspn implementation.
39268         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
39269         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39270         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
39271         * sysdeps/powerpc/powerpc64/strspn.S: New file.
39273 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
39275         [BZ #17581]
39276         * malloc/hooks.c
39277         (mem2mem_check): Add a terminator to the chain of checking blocks.
39278         (malloc_check_get_size): Use it here.
39279         (mem2chunk_check): Ditto.
39281 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39283         * sysdeps/powerpc/powerpc64/strtok.S: New file.
39284         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
39286 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
39288         * bits/ioctl-types.h: Indent preprocessor directives correctly.
39290         * nptl/nptl-init.c: Include libc-internal.h.
39291         (__pthread_initialize_minimal_internal): Use ROUND_UP.
39293         * elf/ldconfig.c (search_dir): Expand comment.
39295 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
39297         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
39298         variable.
39299         (linknamespace-symlist-stdlibs-tests): Likewise.
39300         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
39301         instead of $(objpfx)symlist-stdlibs.
39302         (linknamespace-libs-isoc): New variable.
39303         (linknamespace-libs): Use $(linknamespace-libs-isoc).
39304         (linknamespace-libs-ISO): New variable.
39305         (linknamespace-libs-ISO99): Likewise.
39306         (linknamespace-libs-ISO11): Likewise.
39307         (linknamespace-libs-XPG3): Likewise.
39308         (linknamespace-libs-XPG4): Likewise.
39309         (linknamespace-libs-POSIX): Likewise.
39310         (linknamespace-libs-UNIX98): Likewise.
39311         (linknamespace-libs-XOPEN2K): Likewise.
39312         (linknamespace-libs-POSIX2008): Likewise.
39313         (linknamespace-libs-XOPEN2K8): Likewise.
39314         ($(objpfx)symlist-stdlibs): Replace by
39315         $(linknamespace-symlist-stdlibs-tests).  Use
39316         $(linknamespace-libs-$*) as set of libraries.
39317         ($(linknamespace-header-tests)): Update dependencies.  Use
39318         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
39319         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
39320         * conform/linknamespace.pl: Remove comment about considering
39321         definitions of symbols from irrelevant libraries.
39323 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
39325         [BZ #13862]
39326         * elf/dl-tls.c: Include <atomic.h>.
39327         (oom): Remove #ifdef SHARED/#endif.
39328         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
39329         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
39330         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
39331         big enough.
39332         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
39333         * nptl/Makefile (tests): Add tst-stack4.
39334         (modules-names): Add tst-stack4mod.
39335         ($(objpfx)tst-stack4): New.
39336         (tst-stack4mod.sos): Likewise.
39337         ($(objpfx)tst-stack4.out): Likewise.
39338         ($(tst-stack4mod.sos)): Likewise.
39339         (clean): Likewise.
39340         * nptl/tst-stack4.c: New file.
39341         * nptl/tst-stack4mod.c: Likewise.
39343 2014-11-27  J. Brown  <jb999@gmx.de>
39345         * sysdeps/x86/bits/string.h: Add recent CPUs.
39347 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39349         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
39350         sigblock.
39352         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
39353         feof.
39355         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
39356         variable.
39358 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
39360         * nscd/connections.c: Include libc-internal.h because of macro
39361         usage ignore_value.
39363 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39365         * string/bits/string3.h (__warn_memset_zero_len): Don't
39366         declare for gcc newer than 5.0.
39367         (memset): Don't test for zero-length __LEN for gcc newer than
39368         5.0.
39370 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39372         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
39373         size_t for %zu format.
39375         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
39376         difference, not %ju.
39378 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39380         * include/libc-internal.h (ignore_value): New macro.
39381         * nscd/connections.c (restart): Wrap calls to setuid and setgid
39382         with ignore_value.
39384         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
39385         definition.
39387         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
39388         pthread_cleanup_push to void *.
39390         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
39391         Undefine.
39393         [BZ #16619]
39394         [BZ #16740]
39395         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
39396         instead of 1L << 52.
39398         * libio/bug-rewind.c (do_test): Check fwscanf return values.
39399         * libio/bug-rewind2.c (do_test): Likewise.
39401         * debug/test-stpcpy_chk-ifunc.c: Remove file.
39402         * debug/test-strcpy_chk-ifunc.c: Likewise.
39403         * wcsmbs/test-wcschr-ifunc.c: Likewise.
39404         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39405         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39406         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39407         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39408         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39409         * Rules [$(multi-arch) = no] (tests): Do not filter out
39410         $(tests-ifunc).
39411         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
39412         * debug/Makefile (tests-ifunc): Remove variable.
39413         (tests): Do not add $(tests-ifunc).
39414         * wcsmbs/Makefile (tests-ifunc): Remove variable.
39415         (tests): Do not add $(tests-ifunc).
39416         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
39417         [TEST_IFUNC]: Remove conditionals.
39418         * string/test-string.h (TEST_IFUNC): Remove macro.
39419         [TEST_IFUNC]: Remove conditionals.
39421         * string/test-strchr.c [!WIDE] (L): New macro.
39422         [WIDE] (L): Likewise.
39423         (check1): Use CHAR instead of char.  Use L on string and character
39424         constants.
39426 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
39428         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
39429         tests.
39430         * sysdeps/powerpc/bits/atomic.h
39431         (__arch_atomic_exchange_and_add_32_acq): Add definition.
39432         (__arch_atomic_exchange_and_add_32_rel): Likewise.
39433         (atomic_exchange_and_add_acq): Likewise.
39434         (atomic_exchange_and_add_rel): Likewise.
39435         * sysdeps/powerpc/powerpc32/bits/atomic.h
39436         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39437         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39438         * sysdeps/powerpc/powerpc64/bits/atomic.h
39439         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39440         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39442 2014-11-26  Torvald Riegel  <triegel@redhat.com>
39444         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
39445         Change synchronization of __sched_fifo_min_prio and
39446         __sched_fifo_max_prio.
39447         * nptl/pthread_mutexattr_getprioceiling.c
39448         (pthread_mutexattr_getprioceiling): Likewise.
39449         * nptl/pthread_mutexattr_setprioceiling.c
39450         (pthread_mutexattr_setprioceiling): Likewise.
39451         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
39452         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
39453         Likewise.
39455 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39457         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
39458         void.
39460 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39462         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
39463         third argument const.
39465 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
39467         fnmatch: work around GCC compiler warning bug with uninit var
39468         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
39469         This works around a bug with x86-64 GCC 4.9.2 and earlier
39470         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
39471         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
39472         used uninitialized in this function [-Wmaybe-uninitialized]".
39474 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39476         * posix/bug-regex31.c (main): Return RES not 0.
39478 2014-11-25  Anton Blanchard <anton@samba.org>
39480         * sysdeps/powerpc/bits/atomic.h
39481         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
39483 2014-11-24  Sterling Augustine  <saugustine@google.com>
39485         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
39487 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
39489         [BZ #17608]
39490         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
39492 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
39494         [BZ #17633]
39495         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
39496         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
39497         variable.
39498         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39499         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39501 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39503         * string/strncpy.c (strncpy): Improve performance by using memset.
39505 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39507         * string/strcpy.c (strcpy):
39508         Improve performance by using strlen and memcpy.
39510 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
39512         * string/strcoll_l.c (get_next_seq): __always_inline.
39513         * string/strcoll_l.c (do_compare): __always_inline.
39515 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39517         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
39518         defined.
39519         * include/mqueue.h: Likewise.
39520         * include/stdlib.h: Likewise.
39522         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
39523         (get_null_defines): Adjust.
39524         * sunrpc/Makefile: Adjust comment.
39525         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
39526         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
39527         (CFLAGS-interp.c): Likewise.
39528         (CFLAGS-ldconfig.c): Likewise.
39529         (CPPFLAGS-.os): Likewise.
39530         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39531         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39532         * extra-modules.mk (extra-modules.mk): Likewise.
39533         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
39534         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
39535         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
39536         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
39537         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
39538         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
39539         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
39540         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
39541         * iconvdata/Makefile (CPPFLAGS): Likewise.
39542         (cpp-srcs-left): Add libof for all iconvdata routines.
39543         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
39544         * include/assert.h: Likewise.
39545         * include/ctype.h: Likewise.
39546         * include/errno.h: Likewise.
39547         * include/libc-symbols.h: Likewise.
39548         * include/math.h: Likewise.
39549         * include/netdb.h: Likewise.
39550         * include/resolv.h: Likewise.
39551         * include/stdio.h: Likewise.
39552         * include/stdlib.h: Likewise.
39553         * include/string.h: Likewise.
39554         * include/sys/stat.h: Likewise.
39555         * include/wctype.h: Likewise.
39556         * intl/l10nflist.c: Likewise.
39557         * libidn/idn-stub.c: Likewise.
39558         * libio/libioP.h: Likewise.
39559         * nptl/libc_multiple_threads.c: Likewise.
39560         * nptl/pthreadP.h: Likewise.
39561         * posix/regex_internal.h: Likewise.
39562         * resolv/res_hconf.c: Likewise.
39563         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39564         * sysdeps/arm/memmove.S: Likewise.
39565         * sysdeps/arm/sysdep.h: Likewise.
39566         * sysdeps/generic/_itoa.h: Likewise.
39567         * sysdeps/generic/symbol-hacks.h: Likewise.
39568         * sysdeps/gnu/errlist.awk: Likewise.
39569         * sysdeps/gnu/errlist.c: Likewise.
39570         * sysdeps/i386/i586/memcpy.S: Likewise.
39571         * sysdeps/i386/i586/memset.S: Likewise.
39572         * sysdeps/i386/i686/memcpy.S: Likewise.
39573         * sysdeps/i386/i686/memmove.S: Likewise.
39574         * sysdeps/i386/i686/mempcpy.S: Likewise.
39575         * sysdeps/i386/i686/memset.S: Likewise.
39576         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39577         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39578         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39579         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39580         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39581         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39582         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39583         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39584         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39585         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39586         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39587         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39588         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39589         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39590         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39591         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39592         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39593         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39594         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39595         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39596         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39597         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39598         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39599         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39600         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39601         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39602         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39603         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39604         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39605         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39606         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39607         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39608         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39609         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39610         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39612         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39613         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39614         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39615         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39616         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39617         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39618         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39619         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39620         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39621         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39622         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
39623         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
39624         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39625         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39626         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39627         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
39628         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
39629         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39630         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39631         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
39632         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39633         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
39634         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
39635         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39636         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39637         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39638         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
39639         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39640         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39641         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
39642         * sysdeps/posix/closedir.c: Likewise.
39643         * sysdeps/posix/opendir.c: Likewise.
39644         * sysdeps/posix/readdir.c: Likewise.
39645         * sysdeps/posix/rewinddir.c: Likewise.
39646         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
39647         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
39648         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39649         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39650         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39651         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
39652         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
39653         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
39654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
39655         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
39656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
39657         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
39658         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
39659         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
39660         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
39661         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
39662         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
39663         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
39664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
39665         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
39666         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
39667         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
39668         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
39669         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
39670         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
39671         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
39672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
39673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
39674         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
39675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
39676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
39677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
39678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
39679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
39680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
39681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
39682         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39683         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39684         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
39685         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
39686         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
39687         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
39688         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
39689         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
39690         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
39691         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
39692         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
39693         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
39694         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
39695         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
39696         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
39697         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
39698         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
39699         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
39700         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
39701         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
39702         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
39703         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
39704         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
39705         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
39706         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
39707         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
39708         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
39709         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
39710         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
39711         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
39712         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
39713         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
39714         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
39715         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
39716         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
39717         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39718         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
39719         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
39720         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
39721         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
39722         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
39723         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
39724         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39725         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
39726         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
39727         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39728         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
39729         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
39730         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39731         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
39732         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
39733         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39734         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39735         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39736         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
39737         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
39738         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
39739         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39740         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
39742         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39743         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39744         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
39745         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
39746         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39747         * sysdeps/unix/alpha/sysdep.S: Likewise.
39748         * sysdeps/unix/alpha/sysdep.h: Likewise.
39749         * sysdeps/unix/make-syscalls.sh: Likewise.
39750         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39751         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39752         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39753         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
39754         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39755         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
39756         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
39757         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39758         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39759         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
39760         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39761         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39763         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39764         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39765         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39766         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39767         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39768         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39769         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39770         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
39771         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39772         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39773         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39774         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39775         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39776         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39779         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
39780         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39781         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39784         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39788         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39789         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39790         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39791         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39792         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39793         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39794         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39795         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39796         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39797         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39800         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39801         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39802         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39803         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39804         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
39805         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39806         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39808         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
39809         * sysdeps/x86_64/memcpy.S: Likewise.
39810         * sysdeps/x86_64/memmove.c: Likewise.
39811         * sysdeps/x86_64/memset.S: Likewise.
39812         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
39813         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39814         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39815         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
39816         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
39817         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39818         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39819         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39820         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39821         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39822         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39823         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39824         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
39825         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39827         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
39828         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39829         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39830         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39831         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39832         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
39833         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39834         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39835         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39836         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39837         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39838         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39839         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
39840         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39841         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39842         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
39843         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39844         * sysdeps/x86_64/strcmp.S: Likewise.
39846         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
39848         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
39849         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
39850         * elf/rtld-Rules: Likewise.
39851         * elf/setup-vdso.h: Likewise.
39852         * include/assert.h: Likewise.
39853         * include/bits/stdlib-float.h: Likewise.
39854         * include/errno.h: Likewise.
39855         * include/sys/stat.h: Likewise.
39856         * include/unistd.h: Likewise.
39857         * sysdeps/aarch64/setjmp.S: Likewise.
39858         * sysdeps/alpha/setjmp.S: Likewise.
39859         * sysdeps/arm/__longjmp.S: Likewise.
39860         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
39861         * sysdeps/arm/setjmp.S: Likewise.
39862         * sysdeps/arm/sysdep.h: Likewise.
39863         * sysdeps/generic/_itoa.h: Likewise.
39864         * sysdeps/generic/dl-sysdep.h: Likewise.
39865         * sysdeps/generic/ldsodefs.h: Likewise.
39866         * sysdeps/i386/dl-tls.h: Likewise.
39867         * sysdeps/i386/setjmp.S: Likewise.
39868         * sysdeps/m68k/setjmp.c: Likewise.
39869         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
39870         * sysdeps/mach/hurd/opendir.c: Likewise.
39871         * sysdeps/posix/getcwd.c: Likewise.
39872         * sysdeps/posix/opendir.c: Likewise.
39873         * sysdeps/posix/profil.c: Likewise.
39874         * sysdeps/powerpc/dl-procinfo.h: Likewise.
39875         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39876         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39877         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39878         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39879         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
39880         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39881         * sysdeps/s390/dl-tls.h: Likewise.
39882         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39883         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39884         * sysdeps/sh/sh3/setjmp.S: Likewise.
39885         * sysdeps/sh/sh4/setjmp.S: Likewise.
39886         * sysdeps/unix/alpha/sysdep.h: Likewise.
39887         * sysdeps/unix/arm/sysdep.S: Likewise.
39888         * sysdeps/unix/i386/sysdep.S: Likewise.
39889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39890         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39891         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39893         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39894         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39895         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39896         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39897         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39898         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39899         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
39900         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39901         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39904         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39907         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39908         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39909         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39912         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39913         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39916         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39917         * sysdeps/x86_64/setjmp.S: Likewise.
39919         * include/math.h: Use IS_IN instead of IS_IN_libm.
39920         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
39921         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39922         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39923         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
39924         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39925         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39926         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39927         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39928         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39929         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39930         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
39931         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
39932         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
39933         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
39934         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
39935         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
39936         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
39937         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
39938         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
39939         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
39940         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
39941         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
39942         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
39943         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
39944         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
39945         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
39946         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
39947         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
39948         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
39949         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
39950         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
39951         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39952         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
39954         Likewise.
39955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
39956         Likewise.
39957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
39958         Likewise.
39959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
39960         Likewise.
39961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
39962         Likewise.
39963         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39964         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
39965         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39966         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39967         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39968         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
39970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
39971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
39972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
39973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
39974         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
39975         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
39976         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39977         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39978         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39979         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39980         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39981         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39982         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39983         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
39984         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
39985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
39986         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
39987         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
39988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39989         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
39991         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
39992         * nptl/pthreadP.h: Likewise.
39993         * nptl_db/structs.def: Likewise.
39994         * sysdeps/arm/sysdep.h: Likewise.
39995         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39996         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39997         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
39998         * sysdeps/unix/alpha/sysdep.h: Likewise.
39999         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40001         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40002         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40003         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40004         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40006         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40007         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40008         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40009         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40010         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40011         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40012         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40016         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40017         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40018         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40019         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40020         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40021         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40022         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40023         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40024         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40026         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40027         * nptl/pthreadP.h: Likewise.
40028         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40029         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40030         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40031         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40032         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40033         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40034         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40035         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40036         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40037         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40038         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40039         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40041         Likewise.
40042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40043         Likewise.
40044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40046         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40047         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40049         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40050         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40051         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40053         * dlfcn/dladdr.c: Use IS_IN.
40054         * dlfcn/dladdr1.c: Likewise.
40055         * dlfcn/dlclose.c: Likewise.
40056         * dlfcn/dlerror.c: Likewise.
40057         * dlfcn/dlinfo.c: Likewise.
40058         * dlfcn/dlmopen.c: Likewise.
40059         * dlfcn/dlopen.c: Likewise.
40060         * dlfcn/dlsym.c: Likewise.
40061         * dlfcn/dlvsym.c: Likewise.
40063         * include/ifaddrs.h: Use IS_IN.
40064         * inet/check_pf.c: Likewise.
40065         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40066         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40068         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40069         IS_IN_ldconfig.
40070         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40071         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40073         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40074         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40075         IS_IN (libc).
40077         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40079         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40080         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40081         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40082         * include/libc-symbols.h (IS_IN_LIB): New macro.
40083         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40084         * include/netdb.h: Likewise.
40085         * include/stap-probe.h: Remove all uses of IN_LIB.
40087         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40088         instead of IN_MODULE.
40089         * include/libc-symbols.h (IN_MODULE): Define using
40090         MODULE_NAME.
40091         (PASTE_NAME, PASTE_NAME1): New macros.
40092         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40093         of IN_LIB.
40094         (STAP_PROBE_ASM): Likewise.
40096 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40098         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40099         __mach_init in dlopened libc.
40101 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40103         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40104         * sysdeps/arm/preconfigure: Regenerate.
40106 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40108         * nptl/pthread_create.c (__pthread_create_2_1): Set
40109         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40110         when copying values from IATTR into PD.
40112 2014-11-21  Will Newton  <will.newton@linaro.org>
40113             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40115         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40116         Refactor inline-asm.  Also add comment.
40118         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40119         ElfW macro instead of hardcoded Elf64 types.
40120         (la_aarch64_gnu_pltenter): Likewise.
40121         * sysdeps/aarch64/dl-machine.h
40122         (elf_machine_runtime_setup): Use ElfW(Addr).
40124         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40125         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40126         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40127         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40128         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40129         (R_AARCH64_TLS_DTPMOD64): Rename to ..
40130         (R_AARCH64_TLS_DTPMOD): This.
40131         (R_AARCH64_TLS_DTPREL64): Rename to ...
40132         (R_AARCH64_TLS_DTPREL): This.
40133         (R_AARCH64_TLS_TPREL64): Rename to ...
40134         (R_AARCH64_TLS_TPREL): This.
40135         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40136         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40137         R_AARCH64_TLS_TPREL64.
40138         (elf_machine_rela): Likewise.
40140 2014-11-21  Torvald Riegel  <triegel@redhat.com>
40142         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40143         by setting it to 0.  64b atomics are not supported currently.
40145 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40147         [BZ #16469]
40148         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40149         search domain names.
40151 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40153         [BZ #16469]
40154         * NEWS: Update.
40155         * resolv/res_query.c (__libc_res_nquerydomain): Retain
40156         trailing dot.
40157         * posix/tst-getaddrinfo5.c: New.
40158         * posix/Makefile (tests): Add it.
40160 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40162         [BZ #14498]
40163         * NEWS: Fixed.
40164         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40165         after parsing line but before break_if_match.
40166         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40167         if there is a protocol mismatch.
40169 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40171         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40172         because the potential race is on the user-supplied stream.
40174 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40176         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40177         string literal if not passed a buffer.
40178         * manual/job.texi (ctermid): Update reasoning, note deviation
40179         from posix, suggest mtasurace when not passed a buffer, for
40180         future non-preliminary safety notes.
40182 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40184         * manual/users.texi (cuserid): Fix MT-Safety note for the case
40185         of not passing it a buffer.
40186         Reported by Peng Haitao.
40188 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40190         * manual/Makefile ($(objpfx)stamp-summary): Require
40191         check-safety.sh to pass.
40192         * manual/check-safety.sh: Wish for verification that every
40193         @deftypefn and @deftypefun is followed by a @safety remark.
40195 2014-11-20  Roland McGrath  <roland@hack.frob.com>
40197         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40199         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40200         PTHREAD_CANCEL_ASYNCHRONOUS.
40201         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40202         send SIGCANCEL.
40204         * nptl/default-sched.h: New file.
40205         * sysdeps/unix/sysv/linux/default-sched.h: New file.
40206         * nptl/pthread_create.c: Include it.
40207         (__pthread_create_2_1): Use collect_default_sched instead of making
40208         Linux syscalls here directly.
40210 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40212         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40213         __pthread_once): Use C11 atomics.
40215 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40217         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40219 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40221         * include/atomic.h (__atomic_link_error, __atomic_check_size,
40222         atomic_thread_fence_acquire, atomic_thread_fence_release,
40223         atomic_thread_fence_seq_cst, atomic_load_relaxed,
40224         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40225         atomic_compare_exchange_weak_relaxed,
40226         atomic_compare_exchange_weak_acquire,
40227         atomic_compare_exchange_weak_release,
40228         atomic_exchange_acquire, atomic_exchange_release,
40229         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
40230         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
40231         atomic_fetch_and_acquire,
40232         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
40234 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40236         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
40237         USE_ATOMIC_COMPILER_BUILTINS): Define.
40238         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
40239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40240         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40242         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
40243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40244         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
40245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40246         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
40247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40248         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
40249         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40250         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
40251         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40252         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
40253         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40254         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40255         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40256         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40257         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40258         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
40259         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40260         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40261         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40262         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
40263         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40264         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40265         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40266         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
40267         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40268         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
40269         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40270         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
40271         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40272         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40273         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40274         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
40275         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40276         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
40277         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40279 2014-11-19  Roland McGrath  <roland@hack.frob.com>
40281         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
40282         the sched_priority value here.  It was already checked when the user
40283         called pthread_attr_setschedparam.
40285         * nptl/tst-bad-schedattr.c: New file.
40286         * nptl/Makefile (tests): Add it.
40288 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
40289             Florian Weimer  <fweimer@redhat.com>
40290             Joseph Myers  <joseph@codesourcery.com>
40291             Adam Conrad  <adconrad@0c3.net>
40292             Andreas Schwab  <schwab@suse.de>
40293             Brooks  <bmoses@google.com>
40295         [BZ #17625]
40296         * wordexp-test.c (__dso_handle): Add prototype.
40297         (__register_atfork): Likewise.
40298         (__app_register_atfork): New function.
40299         (registered_forks): New global.
40300         (register_fork): New function.
40301         (test_case): Add 3 new tests for WRDE_CMDSUB.
40302         (main): Call __app_register_atfork.
40303         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
40304         fork count is non-zero fail the test.
40305         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
40306         is set.
40307         (parse_dollars): Remove check for WRDE_NOCMD.
40308         (parse_dquote): Likewise.
40310 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40312         * Makeconfig (built-modules): List non-library modules to be
40313         built.
40314         (module-cppflags): Include libc-modules.h for
40315         everything except shlib-versions.v.i.
40316         (CPPFLAGS): Use it.
40317         (before-compile): Add libc-modules.h.
40318         ($(common-objpfx)libc-modules.h,
40319         $(common-objpfx)libc-modules.stmp): New targets.
40320         (common-generated): Add libc-modules.h and libc-modules.stmp.
40321         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
40322         * include/libc-symbols.h: Don't include libc-modules.h.
40323         * include/libc-modules.h: Remove file.
40324         * scripts/gen-libc-modules.awk: New script to generate
40325         libc-modules.h.
40326         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
40327         Depend on libc-modules.stmp.
40329         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
40331         * Makeconfig (in-module): Get value of libof set for the
40332         translation unit.
40333         (CPPFLAGS): Use $(in-module).
40334         * Makerules: Don't suffix routine names for nonlib.
40335         * include/libc-modules.h: New file.
40336         * include/libc-symbols.h: Include libc-modules.h
40337         (IS_IN): New macro to replace IS_IN_* macros.
40338         * elf/Makefile: Set libof-* for each routine.
40339         * elf/rtld-Rules: Likewise.
40340         * extra-modules.mk: Likewise.
40341         * iconv/Makefile: Likewise.
40342         * iconvdata/Makefile: Likewise.
40343         * locale/Makefile: Likewise.
40344         * malloc/Makefile: Likewise.
40345         * nss/Makefile: Likewise.
40346         * sysdeps/gnu/Makefile: Likewise.
40347         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
40348         * sysdeps/unix/sysv/linux/Makefile: Likewise.
40349         * sysdeps/s390/s390-64/Makefile: Likewise.
40350         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
40351         CPPFLAGS for nscd instead of nonlib.
40353 2014-11-18  Roland McGrath  <roland@hack.frob.com>
40355         * nptl/createthread.c: New file.
40357         * nptl/createthread.c: Moved ...
40358         * sysdeps/unix/sysv/linux/createthread.c: ... here.
40360         * nptl/createthread.c: Add proper top-line comment.
40361         (do_clone): Folded into ...
40362         (create_thread): ... here.  Take new arguments STOPPED_START and
40363         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
40364         increment __nptl_threads, do event-reporting logic, do
40365         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
40366         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
40367         resource cleanup if sched_setaffinity or sched_setscheduler fails,
40368         just send SIGCANCEL.
40369         * nptl/pthread_create.c: Forward-declare create_thread before
40370         including createthread.c.
40371         (start_thread): Use new macro START_THREAD_DEFN to replace defining
40372         declaration, and new macro START_THREAD_SELF to replace argument.
40373         Remove return statement.
40374         (report_thread_creation): New function.
40375         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
40376         synchronization logic, and __nptl_nthreads increment here, around
40377         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
40378         PD->parent_cancelhandling here, before create_thread.  When
40379         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
40380         __deallocate_stack, and ENOMEM translation here.
40382 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
40384         [BZ #17616]
40385         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
40386         (mptwo): Rename to __mptwo.
40387         (__inv): Use __mptwo instead of mptwo.
40388         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
40389         (mptwo): Rename to __mptwo.
40390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
40391         of mpone and __mptwo instead of mptwo.
40392         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
40393         instead of mpone.
40394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40395         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
40396         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
40397         of mpone and __mptwo instead of mptwo.
40398         (__mpranred): Use __mpone instead of mpone.
40399         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
40400         variable.
40401         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40402         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40403         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40404         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40405         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40406         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40407         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40408         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40409         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40410         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40411         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40412         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40413         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40414         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40415         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40416         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40417         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40418         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40419         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40421 2014-11-18  Tom de Vries  <tom@codesoucery.com>
40423         * manual/signal.texi (Primitives Interrupted by Signals): In section,
40424         replace BSD Handler xref with BSD Signal Handling.
40426 2014-11-17  Richard Henderson  <rth@redhat.com>
40428         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
40429         (_FP_PACK_RAW_2): Remove.
40430         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
40431         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
40432         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
40433         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
40434         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
40435         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
40436         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
40437         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
40438         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
40439         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
40440         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
40441         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
40442         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
40443         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
40444         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
40445         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
40447 2014-11-14  Roland McGrath  <roland@hack.frob.com>
40449         * signal/signal.h [__USE_MISC]
40450         (struct sigvec): Remove type.
40451         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
40452         (sigvec): Remove declaration.
40453         * sysdeps/posix/sigvec.c: Moved ...
40454         * signal/sigvec.c: ... here, replacing old file.
40455         (struct sigvec): New type, copied from old signal.h definition.
40456         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
40457         (__sigvec): Convert definition to prototype.
40458         (sigvec): Replace weak_alias with compat_symbol.
40459         * signal/Versions (libc: GLIBC_2.21): New version set.
40460         * include/signal.h: Remove __sigvec declaration.
40461         * sysdeps/unix/bsd/sigvec.c: Remove file.
40462         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
40463         * manual/signal.texi (BSD Handler): Remove subsection.
40464         Move siginterrupt up to ...
40465         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
40466         (Blocking in BSD): Fold subsection into its parent.
40467         * NEWS: Mention sigvec removal.
40469 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40471         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
40472         (DLA_FMS): Make definition conditional only on [__FMA4__].
40473         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
40474         definition.
40476         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
40477         Make definition conditional only on [PROF].
40478         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
40479         definition.
40480         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
40481         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
40483         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
40484         !__GNUC__].
40485         * include/signal.h (__sigpause): Move declaration above call to
40486         libc_hidden_proto.
40487         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
40488         variable.
40489         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40490         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40492 2014-11-14  David S. Miller  <davem@davemloft.net>
40494         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
40495         Define before including <string/memcpy.c> and <string/mempcpy.c>.
40497 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40499         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
40500         * configure: Regenerated.
40501         * manual/install.texi (Tools for Compilation): Document a
40502         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
40503         compiler verified to work.
40504         * INSTALL: Regenerated.
40506         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
40507         redeclare with asm name.
40508         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
40509         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
40510         including <string.h>.
40511         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40512         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
40513         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40514         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
40515         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40516         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
40517         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40519 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
40521         * stdlib/strtol.c (__strtol): Use prototype definition.
40523         [BZ #17594]
40524         * stdlib/strtol.c (SYM__): New macro.
40525         (SYM__1): Likewise.
40526         (__strtol): Likewise.
40527         (strtol): Rename to __strtol and define as weak alias of
40528         __strtol.  Use libc_hidden_weak.
40530 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40532         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
40533         Use numbered labels in inline assembly.
40535 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40537         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
40538         Add setjmp LIBC_PROBE.
40539         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
40540         Likewise.
40541         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
40542         Add longjmp, longjmp_target LIBC_PROBE.
40543         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
40544         Likewise.
40546 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40548         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40549         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
40550         to get rid of unused variable warning.
40552 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40554         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
40555         Check for unwind_backtrace ==  NULL only in SHARED case.
40556         (__backchain_backtrace): Compile only in SHARED case.
40557         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
40558         Likewise.
40559         (__backchain_backtrace): Declare as static.
40561 2014-11-12  Roland McGrath  <roland@hack.frob.com>
40563         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40564         (__libc_multiple_threads_ptr): Variable moved ...
40565         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40567 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
40569         * conform/GlibcConform.pm: New file.
40570         * conform/conformtest.pl: Use GlibcConform module.
40571         * conform/linknamespace.pl: New file.
40572         * conform/list-header-symbols.pl: Likewise.
40573         * conform/Makefile (linknamespace-symlists-base): New variable.
40574         (linknamespace-symlists-tests): Likewise.
40575         (linknamespace-header-base): Likewise.
40576         (linknamespace-header-tests): Likewise.
40577         (tests-special): Add new tests.
40578         ($(linknamespace-symlists-tests)): New rule.
40579         (linknamespace-libs): New variable.
40580         ($(objpfx)symlist-stdlibs): New rule.
40581         ($(linknamespace-header-tests)): Likewise.
40582         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40583         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40584         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40585         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40586         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40587         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40588         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40589         (test-xfail-ISO/math.h/linknamespace): Likewise.
40590         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40591         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40592         (test-xfail-ISO/time.h/linknamespace): Likewise.
40593         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40594         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40595         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40596         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40597         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40598         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40599         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40600         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40601         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40602         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40603         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40604         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40605         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40606         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40607         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40608         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40609         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40610         (test-xfail-XPG3/search.h/linknamespace): Likewise.
40611         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40612         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40613         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40614         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40615         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40616         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40617         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40618         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40619         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
40620         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
40621         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40622         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
40623         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40624         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
40625         (test-xfail-XPG4/search.h/linknamespace): Likewise.
40626         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
40627         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
40628         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
40629         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
40630         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
40631         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40632         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
40633         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
40634         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
40635         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
40636         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
40637         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40638         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
40639         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
40640         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
40641         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40642         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
40643         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40644         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40645         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
40646         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
40647         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40648         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40649         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
40650         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
40651         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
40652         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40653         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40654         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40655         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
40656         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
40657         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40658         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40659         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
40660         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40661         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
40662         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
40663         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
40664         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
40665         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40666         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40667         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
40668         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40669         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
40670         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
40671         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
40672         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
40673         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40674         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
40675         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
40676         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
40677         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
40678         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
40679         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40680         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40681         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40682         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
40683         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
40684         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
40685         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40686         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
40687         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
40688         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40689         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
40690         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
40691         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
40692         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40693         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40694         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
40695         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
40696         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40697         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40698         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
40699         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
40700         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
40701         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
40702         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40703         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40704         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
40705         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40706         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
40707         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40708         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40709         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40710         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
40711         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40712         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
40713         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
40714         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
40715         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40716         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40717         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40718         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40719         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
40720         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40721         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40722         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
40723         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40724         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
40725         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
40726         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40727         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40728         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40729         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40730         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
40731         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40732         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
40733         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
40734         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
40735         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40736         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
40737         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40738         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40739         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
40740         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40741         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40742         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
40744         [BZ #17589]
40745         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
40746         of fgets_unlocked.
40748         [BZ #17585]
40749         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
40750         (memmem): Rename to __memmem and define as weak alias of
40751         __memmem.  Use libc_hidden_weak.
40752         (__memmem): Use libc_hidden_def.
40753         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
40754         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
40755         memmem.
40757         [BZ #17582]
40758         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
40759         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
40760         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
40761         and define as weak alias of __fgets_unlocked.  Use
40762         libc_hidden_weak.
40763         (__fgets_unlocked): Use libc_hidden_def.
40764         * include/stdio.h (__fgets_unlocked): Declare.  Use
40765         libc_hidden_proto.
40766         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
40767         __fgets_unlocked instead of fgets_unlocked.
40768         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
40769         (GET_NPROCS_CONF_PARSER): Likewise.
40770         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
40771         (GET_NPROCS_CONF_PARSER): Likewise.
40773         [BZ #17574]
40774         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
40775         weak alias of __wmemset.  Use libc_hidden_weak.
40776         (__wmemset): Use libc_hidden_def.
40777         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
40778         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
40779         of wmemset.
40781         [BZ #17573]
40782         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
40783         with asm name __mempcpy.
40784         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
40786         [BZ #17572]
40787         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
40788         and define as weak alias of __rawmemchr.
40789         (__rawmemchr): Do not define as strong alias of rawmemchr.
40791         [BZ #17571]
40792         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
40793         alias of __qsort_r.
40794         (qsort): Call __qsort_r instead of qsort_r.
40795         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
40796         (__qsort_r): Declare.  Call libc_hidden_proto.
40797         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
40798         instead of qsort_r.
40799         * nscd/gai.c (__qsort_r): Define to qsort_r.
40800         * posix/tst-rfc3484.c (__qsort_r): Likewise.
40801         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
40802         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
40804         [BZ #17570]
40805         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
40806         define as weak alias of __malloc_info.
40808         [BZ #17584]
40809         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
40810         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40811         (__rewinddir): Use libc_hidden_def.
40812         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
40813         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40814         (__rewinddir): Use libc_hidden_def.
40815         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
40816         weak alias of __rewinddir.  Don't use libc_hidden_def.
40817         (__rewinddir): Use libc_hidden_def.
40818         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
40819         (__rewinddir): Use libc_hidden_proto.
40820         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
40821         rewinddir.
40822         (__getcwd): Use __rewinddir instead of rewinddir.
40824         [BZ #17583]
40825         * libio/fileno.c (fileno): Rename to __fileno and define as weak
40826         alias of __fileno.  Use libc_hidden_weak.
40827         (__fileno): Use libc_hidden_def.
40828         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
40829         * libio/ftello.c (ftello): Rename to __ftello and define as weak
40830         alias of __ftello.
40831         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
40832         __ftello.
40833         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
40834         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
40835         libc_hidden_def.
40836         (fread_unlocked): Don't use libc_hidden_ver.
40837         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
40838         and define as weak alias of __fread_unlocked.  Don't use
40839         libc_hidden_def.
40840         (__fread_unlocked): Use libc_hidden_def.
40841         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
40842         (ftello): Don't use libc_hidden_proto.
40843         (__ftello): Declare.  Use libc_hidden_proto.
40844         (fread_unlocked): Don't use libc_hidden_proto.
40845         (__fread_unlocked): Declare.  Use libc_hidden_proto.
40846         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
40847         and __ftello instead of fileno, fread_unlocked and ftello.
40849 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40851         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
40852         GOT12.
40853         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40854         Likewise.
40855         (_dl_start_user): Likewise.
40856         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
40858 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
40859             Siddhesh Poyarekar  <siddhesh@redhat.com>
40861         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
40862         Move argv and envp down instead of moving argc up.
40863         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
40865 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
40867         [BZ #17506]
40868         * test-skeleton.c (main): Return successful if one of
40869         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
40870         * string/tst-strcoll-overflow.c: Define expected status.
40872 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
40874         [BZ #17475]
40875         * locale/iso-639.def: Define Bhili and Tulu language codes.
40877 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
40879         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
40881 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
40883         [BZ #17555]
40884         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
40886 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40888         * configure.ac: Updated check of minimal required version to
40889         2.22.
40890         * manual/install.texi (Tools for Compilation): Updated version
40891         number.
40892         * configure: Regenerated.
40893         * INSTALL: Likewise.
40895 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
40897         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
40898         __tls_get_addr.
40900 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
40902         * include/sys/wait.h (__libc_waitpid): Remove declaration.
40903         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
40904         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40905         libc_hidden_weak.
40906         (waitpid): Define as alias of __waitpid.
40907         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
40908         __waitpid.
40909         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40910         libc_hidden_weak.
40911         (waitpid): Define as alias of __waitpid.
40912         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
40913         __libc_waitpid alias.
40914         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
40915         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
40916         Likewise.
40917         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
40918         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
40919         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
40920         alias.
40921         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
40922         __waitpid.
40923         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40924         libc_hidden_weak.
40925         (waitpid): Define as alias of __waitpid.
40927 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
40929         * manual/llio.texi: Add comment that write safety has been
40930         fixed in Linux.
40932         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
40933         (localplt-build-dso): Add elf/ld.so.
40934         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
40935         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
40936         and free for ld.so.
40937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
40938         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
40939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
40940         Likewise.
40941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40942         Likewise.
40943         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
40944         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
40945         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
40946         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
40947         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
40948         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
40949         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
40950         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
40951         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
40952         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
40953         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
40955 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
40957         [BZ #14132]
40958         * include/libc-symbols.h (INTUSE): Remove macro.
40959         (INTDEF): Likewise.
40960         (INTVARDEF): Likewise.
40961         (_INTVARDEF): Likewise.
40962         (INTDEF2): Likewise.
40963         (INTVARDEF2): Likewise.
40964         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
40965         rtld_hidden_def instead of INTVARDEF.
40966         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
40967         (_dl_starting_up_internal): Remove declaration.
40968         (_dl_starting_up): Use rtld_hidden_proto.
40969         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
40970         declaration.
40971         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
40972         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
40973         _dl_starting_up.
40974         * elf/dl-writev.h (_dl_writev): Likewise.
40975         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
40976         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
40977         _dl_starting_up_internal.
40979 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40981         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
40982         test-skeleton.c.
40984 2014-11-05  Will Newton  <will.newton@linaro.org>
40986         * benchtests/Makefile: (bench-malloc): Add malloc thread
40987         scalability benchmark.
40988         * benchtests/bench-malloc-threads.c: New file.
40990 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
40992         * sysdeps/aarch64/strchrnul.S: New file.
40994 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40996         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
40997         definition.
40998         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40999         Likewise.
41000         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41001         Likewise.
41002         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41003         Likewise.
41004         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41005         Likewise.
41006         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41007         Likewise.
41009 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41011         * catgets/test-gencat.c: Use test-skeleton.c.
41012         * catgets/tst-catgets.c: Likewise.
41013         * csu/tst-empty.c: Likewise.
41014         * elf/tst-audit2.c: Likewise.
41015         * elf/tst-global1.c: Likewise.
41016         * elf/tst-pathopt.c: Likewise.
41017         * elf/tst-piemod1.c: Likewise.
41018         * elf/tst-tls10.c: Likewise.
41019         * elf/tst-tls11.c: Likewise.
41020         * elf/tst-tls12.c: Likewise.
41021         * gnulib/tst-gcc.c: Likewise.
41022         * iconvdata/tst-e2big.c: Likewise.
41023         * iconvdata/tst-loading.c: Likewise.
41024         * iconv/tst-iconv1.c: Likewise.
41025         * iconv/tst-iconv2.c: Likewise.
41026         * inet/test-inet6_opt.c: Likewise.
41027         * inet/tst-gethnm.c: Likewise.
41028         * inet/tst-network.c: Likewise.
41029         * inet/tst-ntoa.c: Likewise.
41030         * intl/tst-codeset.c: Likewise.
41031         * intl/tst-gettext2.c: Likewise.
41032         * intl/tst-gettext3.c: Likewise.
41033         * intl/tst-ngettext.c: Likewise.
41034         * intl/tst-translit.c: Likewise.
41035         * io/test-stat.c: Likewise.
41036         * libio/test-fmemopen.c: Likewise.
41037         * libio/tst-freopen.c: Likewise.
41038         * libio/tst-sscanf.c: Likewise.
41039         * libio/tst-ungetwc1.c: Likewise.
41040         * libio/tst-ungetwc2.c: Likewise.
41041         * libio/tst-widetext.c: Likewise.
41042         * localedata/tst-ctype.c: Likewise.
41043         * localedata/tst-digits.c: Likewise.
41044         * localedata/tst-leaks.c: Likewise.
41045         * localedata/tst-mbswcs1.c: Likewise.
41046         * localedata/tst-mbswcs2.c: Likewise.
41047         * localedata/tst-mbswcs3.c: Likewise.
41048         * localedata/tst-mbswcs4.c: Likewise.
41049         * localedata/tst-mbswcs5.c: Likewise.
41050         * localedata/tst-setlocale.c: Likewise.
41051         * localedata/tst-trans.c: Likewise.
41052         * localedata/tst-wctype.c: Likewise.
41053         * localedata/tst-xlocale1.c: Likewise.
41054         * login/tst-grantpt.c: Likewise.
41055         * malloc/tst-calloc.c: Likewise.
41056         * malloc/tst-malloc.c: Likewise.
41057         * malloc/tst-mallocstate.c: Likewise.
41058         * malloc/tst-mcheck.c: Likewise.
41059         * malloc/tst-mtrace.c: Likewise.
41060         * malloc/tst-obstack.c: Likewise.
41061         * math/atest-exp2.c: Likewise.
41062         * math/atest-exp.c: Likewise.
41063         * math/atest-sincos.c: Likewise.
41064         * math/test-matherr.c: Likewise.
41065         * math/test-misc.c: Likewise.
41066         * math/test-powl.c: Likewise.
41067         * math/tst-definitions.c: Likewise.
41068         * misc/tst-dirname.c: Likewise.
41069         * misc/tst-efgcvt.c: Likewise.
41070         * misc/tst-fdset.c: Likewise.
41071         * misc/tst-hsearch.c: Likewise.
41072         * misc/tst-mntent2.c: Likewise.
41073         * nptl/tst-sem7.c: Likewise.
41074         * nptl/tst-sem8.c: Likewise.
41075         * nptl/tst-sem9.c: Likewise.
41076         * nss/test-netdb.c: Likewise.
41077         * posix/tst-fnmatch.c: Likewise.
41078         * posix/tst-getlogin.c: Likewise.
41079         * posix/tst-gnuglob.c: Likewise.
41080         * posix/tst-mmap.c: Likewise.
41081         * pwd/tst-getpw.c: Likewise.
41082         * resolv/tst-inet_ntop.c: Likewise.
41083         * rt/tst-timer.c: Likewise.
41084         * stdio-common/test-fseek.c: Likewise.
41085         * stdio-common/test-popen.c: Likewise.
41086         * stdio-common/test-vfprintf.c: Likewise.
41087         * stdio-common/tst-cookie.c: Likewise.
41088         * stdio-common/tst-fileno.c: Likewise.
41089         * stdio-common/tst-gets.c: Likewise.
41090         * stdio-common/tst-obprintf.c: Likewise.
41091         * stdio-common/tst-perror.c: Likewise.
41092         * stdio-common/tst-sprintf2.c: Likewise.
41093         * stdio-common/tst-sprintf3.c: Likewise.
41094         * stdio-common/tst-sprintf.c: Likewise.
41095         * stdio-common/tst-swprintf.c: Likewise.
41096         * stdio-common/tst-tmpnam.c: Likewise.
41097         * stdio-common/tst-unbputc.c: Likewise.
41098         * stdio-common/tst-wc-printf.c: Likewise.
41099         * stdlib/tst-environ.c: Likewise.
41100         * stdlib/tst-fmtmsg.c: Likewise.
41101         * stdlib/tst-limits.c: Likewise.
41102         * stdlib/tst-rand48-2.c: Likewise.
41103         * stdlib/tst-rand48.c: Likewise.
41104         * stdlib/tst-random2.c: Likewise.
41105         * stdlib/tst-random.c: Likewise.
41106         * stdlib/tst-strtol.c: Likewise.
41107         * stdlib/tst-strtoll.c: Likewise.
41108         * stdlib/tst-tls-atexit.c: Likewise.
41109         * stdlib/tst-xpg-basename.c: Likewise.
41110         * string/test-ffs.c: Likewise.
41111         * string/tst-bswap.c: Likewise.
41112         * string/tst-inlcall.c: Likewise.
41113         * string/tst-strtok.c: Likewise.
41114         * string/tst-strxfrm.c: Likewise.
41115         * sysdeps/x86_64/tst-audit10.c: Likewise.
41116         * sysdeps/x86_64/tst-audit3.c: Likewise.
41117         * sysdeps/x86_64/tst-audit4.c: Likewise.
41118         * sysdeps/x86_64/tst-audit5.c: Likewise.
41119         * time/tst-ftime_l.c: Likewise.
41120         * time/tst-getdate.c: Likewise.
41121         * time/tst-mktime3.c: Likewise.
41122         * time/tst-mktime.c: Likewise.
41123         * time/tst-posixtz.c: Likewise.
41124         * time/tst-strptime2.c: Likewise.
41125         * time/tst-strptime3.c: Likewise.
41126         * wcsmbs/tst-btowc.c: Likewise.
41127         * wcsmbs/tst-mbrtowc.c: Likewise.
41128         * wcsmbs/tst-mbsrtowcs.c: Likewise.
41129         * wcsmbs/tst-wchar-h.c: Likewise.
41130         * wcsmbs/tst-wcpncpy.c: Likewise.
41131         * wcsmbs/tst-wcrtomb.c: Likewise.
41132         * wcsmbs/tst-wcsnlen.c: Likewise.
41133         * wcsmbs/tst-wcstof.c: Likewise.
41135 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
41137         [BZ #14132]
41138         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41139         INTDEF.
41140         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41141         declaration.
41142         (_dl_mcount): Use rtld_hidden_proto.
41143         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41144         _dl_mcount.
41145         * elf/rtld.c (_rtld_global_ro): Likewise.
41147         [BZ #14132]
41148         * elf/dl-init.c (_dl_init): Don't use INTDEF.
41149         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41150         of _dl_init_internal.
41151         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41152         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41153         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41154         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41155         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41156         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41157         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41158         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41159         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41160         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41161         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41162         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41163         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41164         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41165         * sysdeps/tile/dl-start.S (_start): Likewise.
41166         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41167         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41169         [BZ #14132]
41170         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41171         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41172         (rtld_progname): Make macro definition unconditional.
41173         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41174         INTDEF.
41175         (dlmopen_doit): Do not use INTUSE with _dl_argv.
41176         (dl_main): Likewise.
41177         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41178         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41179         instead of _dl_argv_internal.
41180         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41181         __GI__dl_argv instead of INTUSE(_dl_argv).
41182         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41183         __GI__dl_argv instead of _dl_argv_internal.
41185         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41186         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41187         macro.
41188         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41189         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41190         New macro.
41191         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41192         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41193         macro.
41194         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41195         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41197 2014-11-04  Andreas Schwab  <schwab@suse.de>
41199         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41201 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41203         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41204         mtvsrd instruction in binary form.
41206 2014-11-03  Andreas Schwab  <schwab@suse.de>
41208         [BZ #17522]
41209         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41210         for less than MB_LEN_MAX use a local buffer of that size.
41211         * libio/tst-fputws.c: New file.
41212         * libio/Makefile (tests): Add tst-fputws.
41214 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
41216         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41217         the size of the fpu_fr.fpu_dregs[] array.
41219 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
41221         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41222         (__nanosleep): Do not define as alias.
41223         (nanosleep): Define as alias of __nanosleep.
41224         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41225         __libc_nanosleep name.
41227 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41229         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
41230         install.texi in comment.
41232 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41234         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
41235         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
41236         ... add here and use lwsync or sync ...
41237         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
41238         ... and add here using lwsync.
41240 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41242         * elf/dl-machine-reject-phdr.h: New file.
41243         * elf/dl-load.c: #include that.
41244         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
41245         if that returned true.
41247 2014-10-31  Roland McGrath  <roland@hack.frob.com>
41249         [BZ #17496]
41250         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
41251         gen-as-const-headers chunk.  Add a big scare comment after the last
41252         safe place to touch before-compile.
41254 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41256         * manual/install.texi (Tools for Compilation): Update autoconf
41257         version requirements.
41258         * INSTALL: Regenerated.
41260         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
41261         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
41262         (__libc_pselect): Likewise.
41264         [BZ #14138]
41265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
41266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41270 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41272         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
41273         correct barrier instruction.
41274         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
41275         Likewise.
41276         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
41277         Likewise.
41279 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41281         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
41282         after defining inlines.  Instead, just use parens to defeat macro
41283         expansion of __isctype in its declaration.
41285 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41287         * include/sys/uio.h (__libc_readv): Remove declaration.
41288         (__libc_writev): Likewise.
41289         * misc/readv.c (__libc_readv): Rename to __readv.
41290         (__readv): Do not define as alias.
41291         (readv): Define as alias of __readv.
41292         * misc/writev.c (__libc_writev): Rename to __writev.
41293         (__writev): Do not define as alias.
41294         (writev): Define as alias of __writev.
41295         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
41296         (__readv): Do not define as alias.
41297         (readv): Define unconditionally as alias of __readv.
41298         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
41299         (__writev): Do not define as alias.
41300         (writev): Define unconditionally as alias of __writev.
41301         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
41302         name.
41303         (writev): Do not define __libc_writev name.
41305 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41307         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
41308         (convert_charseq): New function, broken out of ...
41309         (use_from_charmap): ... here.  Call it.
41310         (use_to_charmap): Use convert_charseq and free instead of duplicating
41311         its code with a variable-length stack struct.
41313 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41315         * include/fcntl.h (__libc_creat): Remove declaration.
41316         * io/creat.c (__libc_creat): Rename to creat.
41317         (creat): Do not define as alias.
41318         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
41319         of creat instead of __libc_creat.
41320         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
41321         to creat.
41322         (creat): Do not define as alias.
41323         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
41324         __libc_creat.
41325         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
41326         __libc_creat name.
41327         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
41328         Likewise.
41330 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
41332         * manual/llio.texi: Add comments discussing why write() may be
41333         considered MT-unsafe on Linux.
41335 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
41337         * dl-load.c (local_strdup): Remove.
41338         (expand_dynamic_string_token): Use __strdup.
41339         (decompose_rpath): Likewise.
41340         (_dl_map_object): Likewise.
41342 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
41344         [BZ #14132]
41345         * sysdeps/generic/unwind-dw2-fde.c
41346         (__register_frame_info_bases_internal): Do not declare.
41347         (__register_frame_info_table_bases_internal): Likewise.
41348         (__deregister_frame_info_bases_internal): Likewise.
41349         (__register_frame_info_bases): Declare and use hidden_proto before
41350         definition.  Use hidden_def instead of INTDEF.
41351         (__register_frame_info_table_bases): Likewise.
41352         (__deregister_frame_info_bases): Likewise.
41353         (__register_frame_info): Do not use INTUSE.
41354         (__register_frame): Likewise.
41355         (__register_frame_info_table): Likewise.
41356         (__register_frame_table): Likewise.
41357         (__deregister_frame_info): Likewise.
41358         (__deregister_frame): Likewise.
41360 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
41362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41363         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
41364         not undefine.
41365         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
41366         Likewise.
41367         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
41368         Likewise.
41370 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
41372         [BZ #14138]
41373         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
41374         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
41375         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
41376         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
41377         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
41378         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
41379         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
41380         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
41381         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
41382         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
41383         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
41384         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
41385         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
41386         syscall.
41387         (setfsuid): Likewise.
41388         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
41389         (setfsuid): Likewise.
41390         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
41391         (setfsuid): Likewise.
41392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
41393         Likewise.
41394         (setfsuid): Likewise.
41395         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
41396         (setfsuid): Likewise.
41397         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
41398         Likewise.
41399         (setfsuid): Likewise.
41401 2014-10-27  Andreas Schwab  <schwab@suse.de>
41403         [BZ #17501]
41404         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
41405         check for Slow_SSE4_2 feature bit.
41406         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
41407         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41408         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
41409         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
41411 2014-10-24  Roland McGrath  <roland@hack.frob.com>
41413         * configure.ac: Validate compiler version with a empirical test of
41414         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
41415         $CC -v output.
41416         * configure: Regenerated.
41418         * inet/htons.c (htons): Prototypify.
41419         * inet/htonl.c (htonl): Likewise.
41421 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41423         * string/strncat.c (strncat): Improve performance by using strlen.
41425 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41427         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
41429 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41431         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
41432         Call libc_fetestexcept_aarch64.
41434 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41436         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
41437         Call libc_feholdexcept_aarch64.
41439 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41441         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
41442         Call get_rounding_mode.
41444 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41446         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41447         Simplify logic.
41449 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41451         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
41452         Simplify logic.
41454 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
41456         [BZ #14138]
41457         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
41458         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
41459         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
41460         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
41461         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
41462         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
41463         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
41464         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
41465         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
41466         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
41467         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41468         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
41469         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
41470         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
41471         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
41472         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
41473         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
41474         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
41475         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
41476         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
41477         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
41478         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
41479         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
41480         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
41481         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
41482         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
41483         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
41484         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
41485         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
41486         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
41487         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
41488         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
41489         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
41490         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
41491         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
41492         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
41493         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
41494         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
41495         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
41496         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
41497         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
41498         syscall.
41499         (geteuid): Likewise.
41500         (getgid): Likewise.
41501         (getuid): Likewise.
41502         (getresgid): Likewise.
41503         (getresuid): Likewise.
41504         (getgroups): Likewise.
41505         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
41506         (geteuid): Likewise.
41507         (getgid): Likewise.
41508         (getuid): Likewise.
41509         (getresgid): Likewise.
41510         (getresuid): Likewise.
41511         (getgroups): Likewise.
41512         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
41513         (geteuid): Likewise.
41514         (getgid): Likewise.
41515         (getuid): Likewise.
41516         (getresgid): Likewise.
41517         (getresuid): Likewise.
41518         (getgroups): Likewise.
41519         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
41520         Likewise.
41521         (geteuid): Likewise.
41522         (getgid): Likewise.
41523         (getuid): Likewise.
41524         (getresgid): Likewise.
41525         (getresuid): Likewise.
41526         (getgroups): Likewise.
41527         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
41528         (geteuid): Likewise.
41529         (getgid): Likewise.
41530         (getuid): Likewise.
41531         (getresgid): Likewise.
41532         (getresuid): Likewise.
41533         (getgroups): Likewise.
41534         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
41535         Likewise.
41536         (geteuid): Likewise.
41537         (getgid): Likewise.
41538         (getuid): Likewise.
41539         (getgroups): Likewise.
41541         [BZ #14138]
41542         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
41543         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
41544         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
41545         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41546         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
41547         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
41548         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
41549         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
41550         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
41551         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
41552         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
41553         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
41554         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
41555         __chown.
41556         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
41557         (lchown): Likewise.
41558         (fchown): Likewise.
41559         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
41560         Likewise.
41561         (lchown): Likewise.
41562         (fchown): Likewise.
41563         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41564         (lchown): Likewise.
41565         (fchown): Likewise.
41566         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41567         Likewise.
41568         (lchown): Likewise.
41569         (fchown): Likewise.
41571 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41573         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41574         Simplify logic.
41576 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41578         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41579         Cleanup logic.
41581 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41583         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41584         Remove unused include.
41586 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41588         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41589         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41590         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41591         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41593 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41594             Helge Deller <deller@gmx.de>
41596         [BZ #17508]
41597         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41598         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41599         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41601 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41603         [BZ #14132]
41604         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41605         Remove macro definition.
41606         (__ashrdi3_v_glibc20): Likewise.
41607         (__lshrdi3_v_glibc20): Likewise.
41608         (__cmpdi2_v_glibc20): Likewise.
41609         (__ucmpdi2_v_glibc20): Likewise.
41610         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41611         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41612         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41613         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41614         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41615         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41617 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41619         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
41620         old GNU extension [0] syntax.
41621         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
41622         alloca rather than an array member with variable length.
41623         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
41624         * nscd/nscd.c (invalidate_db): New function, broken out of ...
41625         (parse_opt): ... here.  Likewise use alloca there.
41626         Validate the -i argument before checking for rootness.
41627         (send_shutdown): New function, broken out of ...
41628         (parse_opt): ... here.
41630 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41632         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41633         macro to get at the _rt_local_ro field.
41634         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
41635         ([PIC] case) or _dl_hwcap ([!PIC] case).
41636         * sysdeps/arm/setjmp.S: Likewise.
41638         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
41639         * sysdeps/arm/configure.ac: New check to define it.
41640         * sysdeps/arm/configure: Regenerated.
41641         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
41642         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
41643         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
41644         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
41645         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
41646         Use move/movt pair instead of a load.
41647         (LDST_GLOBAL): Macro removed.
41648         (LDR_GLOBAL): New macro replaces it.
41649         (LDR_HIDDEN): New macro.
41650         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
41651         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
41653         * setjmp/tst-setjmp-static.c: New file.
41654         * setjmp/Makefile (tests): Add it.
41655         (tests-static): New variable.
41657 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
41659         [BZ #17485]
41660         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
41662 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
41664         [BZ #14132]
41665         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
41667 2014-10-21  Roland McGrath  <roland@hack.frob.com>
41669         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
41671 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41673         * io/fts.c (dirent_not_directory): New function.
41674         (fts_build): Call it.
41676 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41678         * nptl/version.c (__nptl_main): Use normal __write rather than
41679         INTERNAL_SYSCALL.
41680         (banner): Update copyright years.
41682         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
41683         gettimeofday.
41684         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41685         * nptl/pthread_cond_timedwait.c: Likewise.
41686         * nptl/pthread_mutex_timedlock.c: Likewise.
41687         * nptl/sem_timedwait.c: Likewise.
41689         * sysdeps/nptl/bits/libc-lock.h
41690         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41691         (__libc_lock_init_recursive): Return void, not 0.
41692         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
41693         (__libc_rwlock_init): Likewise.
41694         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
41696 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41698         [BZ #15215]
41699         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
41700         (__pthread_once_slow): ... here.
41701         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
41702         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
41704 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41706         [BZ #15215]
41707         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
41708         __PTHREAD_ONCE_FORK_GEN_INCR): New.
41709         * sysdeps/nptl/fork.c (__libc_fork): Use them.
41710         * nptl/pthread_once.c (__pthread_once): Likewise.
41711         Update comments.
41713 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
41715         [BZ #14138]
41716         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
41717         name.
41718         (writev): Use __libc_writev as strong name.
41719         * sysdeps/unix/sysv/linux/readv.c: Remove file.
41720         * sysdeps/unix/sysv/linux/writev.c: Likewise.
41722 2014-10-17  Roland McGrath  <roland@hack.frob.com>
41724         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
41726         * sysdeps/i386/nptl/tls.h
41727         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
41728         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
41729         New macros.
41730         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
41731         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
41732         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
41733         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
41734         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
41735         Call CHECK_THREAD_SYSINFO instead of doing an assert.
41737         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
41738         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
41739         on [__NR_futex].
41740         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
41741         broken out of ...
41742         (__pthread_mutex_init): ... here.  Call it.
41743         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41744         Conditionalize PI cases on [__NR_futex].
41745         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
41746         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
41747         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
41749         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
41750         conditional on [SIGSETXID].
41751         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
41752         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
41753         is defined.  Likewise for SIGSETXID.
41754         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
41755         Conditionalize definitions on [SIGSETXID].
41756         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
41757         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
41758         unblocking on [SIGCANCEL].
41760         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
41761         [__NR_set_robust_list].
41763 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41765         * string/strcoll_l.c (get_next_seq): Fix up formatting.
41766         (do_compare): Likewise.
41768 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
41770         [BZ #15884]
41771         * string/strcoll_l.c: Don't include stdio.h.
41772         (coll_seq): Remove members idxarr and rulearr.
41773         (get_next_seq_cached): Remove function.
41774         (get_next_seq): Likewise.
41775         (get_next_seq_nocache): Rename to get_next_seq.
41776         (do_compare): Remove function.
41777         (do_compare_nocache): Rename to do_compare.
41778         (STRCOLL): Remove weight and rules cache.
41780 2014-10-16  Roland McGrath  <roland@hack.frob.com>
41782         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
41783         * sysdeps/arm/sfp-machine.h: ... to here.
41784         * sysdeps/arm/Implies: Remove arm/soft-fp.
41786 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
41788         * conform/data/sys/utsname.h-data (*_t): Allow.
41789         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
41790         [POSIX] (WEXITED): Do not expect constant.
41791         [POSIX] (WSTOPPED): Likewise.
41792         [POSIX] (WNOHANG): Likewise.
41793         [POSIX] (WNOWAIT): Likewise.
41794         [POSIX] (siginfo_t): Do not expect type or elements.
41795         [POSIX] (pid_t): Do not expect type.
41796         [POSIX] (signal.h): Do not allow header.
41797         [POSIX] (sys/resource.h): Likewise.
41798         [POSIX] (si_*): Do not allow pattern.
41799         [POSIX] (W*): Likewise.
41800         [POSIX] (P_*): Likewise.
41801         [POSIX] (BUS_*): Likewise.
41802         [POSIX] (CLD_*): Likewise.
41803         [POSIX] (FPE_*): Likewise.
41804         [POSIX] (ILL_*): Likewise.
41805         [POSIX] (POLL_*): Likewise.
41806         [POSIX] (SEGV_*): Likewise.
41807         [POSIX] (SI_*): Likewise.
41808         [POSIX] (TRAP_*): Likewise.
41809         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
41810         variable.
41812 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
41814         [BZ #12926]
41815         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
41816         infinite loop when __recvmsg returns 0.
41818 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
41820         * CANCEL-FCT-WAIVE: Remove file.
41821         * CANCEL-FILE-WAIVE: Likewise.
41823         [BZ #14132]
41824         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
41825         instead of INTVARDEF.
41826         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41827         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
41828         rtld_hidden_data_def instead of INTVARDEF.
41829         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41830         * elf/dl-deps.c (expand_dst): Likewise.
41831         * elf/dl-load.c (_dl_dst_count): Likewise.
41832         (_dl_dst_substitute): Likewise.
41833         (decompose_rpath): Likewise.
41834         (_dl_init_paths): Likewise.
41835         (open_path): Likewise.
41836         (_dl_map_object): Likewise.
41837         * elf/rtld.c (dl_main): Likewise.
41838         (process_dl_audit): Likewise.
41839         (process_envvars): Likewise.
41840         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
41841         Remove declaration.
41842         (__libc_enable_secure): Use rtld_hidden_proto.
41844 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41846         * elf/dl-load.c
41847         (add_path): New function broken out of _dl_rtld_di_serinfo.
41848         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
41850 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41852         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
41853         parentheses around macro arguments.
41854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
41855         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
41856         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
41857         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
41858         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
41859         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41861         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
41862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
41863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
41864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
41865         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
41866         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
41867         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
41868         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
41869         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
41870         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
41871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
41872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
41873         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
41874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
41875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
41876         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
41877         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41878         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
41880         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
41881         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
41882         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
41883         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
41884         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
41885         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
41886         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
41887         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
41888         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
41889         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
41890         Likewise.
41891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
41892         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
41895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
41896         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
41897         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
41898         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
41899         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
41900         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
41901         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
41902         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
41903         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
41904         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
41905         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
41906         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41907         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41908         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
41909         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
41910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
41911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
41912         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
41913         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
41914         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
41915         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
41916         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
41917         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
41918         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
41919         (_FP_FRAC_SRS_1): Likewise.
41920         (_FP_FRAC_CLZ_1): Likewise.
41921         (_FP_MUL_MEAT_1_imm): Likewise.
41922         (_FP_MUL_MEAT_1_wide): Likewise.
41923         (_FP_MUL_MEAT_1_hard): Likewise.
41924         (_FP_SQRT_MEAT_1): Likewise.
41925         (_FP_FRAC_ASSEMBLE_1): Likewise.
41926         (_FP_FRAC_DISASSEMBLE_1): Likewise.
41927         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
41928         (__FP_CLZ_2): Likewise.
41929         (_FP_MUL_MEAT_2_wide): Likewise.
41930         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41931         (_FP_MUL_MEAT_2_gmp): Likewise.
41932         (_FP_MUL_MEAT_2_120_240_double): Likewise.
41933         (_FP_SQRT_MEAT_2): Likewise.
41934         (_FP_FRAC_ASSEMBLE_2): Likewise.
41935         (_FP_FRAC_DISASSEMBLE_2): Likewise.
41936         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
41937         (_FP_FRAC_CLZ_4): Likewise.
41938         (_FP_MUL_MEAT_4_wide): Likewise.
41939         (_FP_MUL_MEAT_4_gmp): Likewise.
41940         (_FP_SQRT_MEAT_4): Likewise.
41941         (_FP_FRAC_ASSEMBLE_4): Likewise.
41942         (_FP_FRAC_DISASSEMBLE_4): Likewise.
41943         * soft-fp/op-common.h (_FP_CMP): Likewise.
41944         (_FP_CMP_EQ): Likewise.
41945         (_FP_CMP_UNORD): Likewise.
41946         (_FP_TO_INT): Likewise.
41947         (_FP_FROM_INT): Likewise.
41948         [!__FP_CLZ] (__FP_CLZ): Likewise.
41949         (_FP_DIV_HELP_imm): Likewise.
41950         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
41951         Likewise.
41952         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
41953         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
41954         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
41955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
41956         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
41957         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41959         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
41960         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
41961         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
41962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
41963         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
41964         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
41965         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
41966         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
41967         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
41968         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
41969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
41970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
41971         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
41972         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
41973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
41974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
41975         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41976         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41977         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
41978         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
41979         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
41980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
41981         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
41982         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
41983         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
41984         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
41985         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
41986         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
41987         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
41988         (FP_UNPACK_RAW_SP): Likewise.
41989         (FP_PACK_RAW_S): Likewise.
41990         (FP_PACK_RAW_SP): Likewise.
41991         (FP_UNPACK_S): Likewise.
41992         (FP_UNPACK_SP): Likewise.
41993         (FP_UNPACK_SEMIRAW_S): Likewise.
41994         (FP_UNPACK_SEMIRAW_SP): Likewise.
41995         (FP_PACK_S): Likewise.
41996         (FP_PACK_SP): Likewise.
41997         (FP_PACK_SEMIRAW_S): Likewise.
41998         (FP_PACK_SEMIRAW_SP): Likewise.
41999         (_FP_SQRT_MEAT_S): Likewise.
42000         (FP_CMP_S): Likewise.
42001         (FP_CMP_EQ_S): Likewise.
42002         (FP_CMP_UNORD_S): Likewise.
42003         (FP_TO_INT_S): Likewise.
42004         (FP_FROM_INT_S): Likewise.
42006         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42008         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42009         (FP_EX_INVALID_IMZ): Likewise.
42010         (FP_EX_INVALID_IMZ_FMA): Likewise.
42011         (FP_EX_INVALID_ISI): Likewise.
42012         (FP_EX_INVALID_ZDZ): Likewise.
42013         (FP_EX_INVALID_IDI): Likewise.
42014         (FP_EX_INVALID_SQRT): Likewise.
42015         (FP_EX_INVALID_CVI): Likewise.
42016         (FP_EX_INVALID_VC): Likewise.
42017         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42018         "invalid" exceptions.
42019         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42020         (_FP_ADD_INTERNAL): Likewise.
42021         (_FP_MUL): Likewise.
42022         (_FP_FMA): Likewise.
42023         (_FP_DIV): Likewise.
42024         (_FP_CMP_CHECK_NAN): Likewise.
42025         (_FP_SQRT): Likewise.
42026         (_FP_TO_INT): Likewise.
42027         (FP_EXTEND): Likewise.
42029 2014-10-09  Allan McRae  <allan@archlinux.org>
42031         * po/fr.po: Update French translation from translation project.
42033 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42035         [BZ #14132]
42036         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42037         of INTDEF.
42038         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42039         (__cxa_atexit): Use libc_hidden_proto.
42040         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42042         [BZ #14132]
42043         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42044         declaration.
42045         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42046         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42047         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42048         [!_ISOMAC] (__iswctype_internal): Likewise.
42049         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42050         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42051         alias.
42052         (fcntl): Remove __fcntl_internal alias.
42053         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42054         __connect_internal alias.
42055         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42056         Likewise.
42058         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42059         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42060         FP_DENORM_ZERO.
42061         (_FP_CHECK_FLUSH_ZERO): New macro.
42062         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42063         (_FP_CMP): Likewise.
42064         (_FP_CMP_EQ): Likewise.
42065         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42066         FP_DENORM_ZERO.
42067         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42068         (FP_TRUNC): Likewise.
42070         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42071         treated as invalid conversion, not as normal exponent.
42073         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42074         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42075         (_FP_CMP_EQ): Likewise.
42076         (_FP_CMP_UNORD): Likewise.
42077         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42078         (FP_CMP_EQ_D): Likewise.
42079         (FP_CMP_UNORD_D): Likewise.
42080         * soft-fp/extended.h (FP_CMP_E): Likewise.
42081         (FP_CMP_EQ_E): Likewise.
42082         (FP_CMP_UNORD_E): Likewise.
42083         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42084         (FP_CMP_EQ_Q): Likewise.
42085         (FP_CMP_UNORD_Q): Likewise.
42086         * soft-fp/single.h (FP_CMP_S): Likewise.
42087         (FP_CMP_EQ_S): Likewise.
42088         (FP_CMP_UNORD_S): Likewise.
42089         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42090         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42091         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42092         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42093         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42094         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42095         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42096         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42097         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42098         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42099         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42100         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42101         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42102         to FP_CMP_Q.
42103         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42104         FP_CMP_Q.
42105         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42106         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42107         FP_CMP_EQ_Q.
42108         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42109         FP_CMP_Q.
42110         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42111         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42112         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42113         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42114         FP_CMP_EQ_Q.
42115         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42116         FP_CMP_Q.
42117         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42118         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42119         FP_CMP_EQ_Q.
42120         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42121         FP_CMP_Q.
42122         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42123         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42124         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42125         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42126         FP_CMP_EQ_Q.
42128         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42129         a subnormal result, set the underflow exception if trapping on
42130         underflow is enabled.
42131         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42132         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42133         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42134         redefine to 0.
42135         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42136         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42137         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42138         * soft-fp/extendxftf2.c (__extendxftf2): Use
42139         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42141         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42142         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42143         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42144         FP_HANDLE_EXCEPTIONS.
42145         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42146         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42147         FP_HANDLE_EXCEPTIONS.
42148         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42149         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42150         FP_HANDLE_EXCEPTIONS.
42151         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42152         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42153         FP_HANDLE_EXCEPTIONS.
42155 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
42157         [BZ #14132]
42158         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42159         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42160         use INTUSE.
42161         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42162         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42163         Remove alias.
42164         (__adjtimex): Define using libc_hidden_ver.
42165         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42166         Remove declaration.
42167         (ntp_gettime): Call __adjtimex directly.
42168         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42169         Remove declaration.
42170         (ntp_gettimex): Call __adjtimex directly.
42171         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42172         __adjtimex_internal alias.
42174 2014-10-08  Roland McGrath  <roland@hack.frob.com>
42176         [BZ #17460]
42177         * nscd/nscd.c (more_help): Rewrite list of tables collection
42178         using xstrdup and asprintf.
42180         * nscd/nscd_conf.c: Remove local xstrdup declaration.
42182 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42183             Roland McGrath  <roland@hack.frob.com>
42185         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42186         (do_lookup_unique): ... local function 'enter' here; update callers.
42188 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
42190         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42191         compat_symbol calls on [SHARED].
42192         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42193         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42194         Remove.
42195         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42196         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42197         (oldsetrlimit): Remove.
42198         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42200         (lchown): New syscall entry.
42201         (oldsetrlimit): Remove.
42202         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42203         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42204         (oldsetrlimit): Remove.
42205         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42207         [BZ #14138]
42208         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42209         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42210         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42211         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42212         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42213         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42214         (fchown): Likewise.
42215         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42216         (fchown): Likewise.
42217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42218         Likewise.
42220 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42222         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42223         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42224         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42225         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42226         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42227         Likewise.
42228         (__old_sem_post): Likewise.
42230 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
42232         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
42233         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
42234         HAVE_CLOCK_GETTIME_VSYSCALL macros.
42235         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
42236         Use INLINE_VSYSCALL macro.
42237         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
42238         __vdso_clock_gettime.
42239         * sysdeps/unix/sysv/linux/tile/init-first.c
42240         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
42241         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
42242         __vdso_clock_gettime.
42244         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
42245         to set up frame more cleanly.
42247         * sysdeps/tile/memcmp.c: New file.
42249         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
42251         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
42252         * sysdeps/tile/tilegx/strcasestr.c: New file.
42253         * sysdeps/tile/tilegx/strnlen.c: New file.
42254         * sysdeps/tile/tilegx/strstr.c: New file.
42256         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
42258 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
42260         * nptl/tst-setuid3.c: Write errors to stdout.
42262 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42264         * elf/dl-deps.c
42265         (preload): New functions broken out of _dl_map_object_deps.
42266         (_dl_map_object_deps):  Remove a nested function. Update call sites.
42268 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
42270         [BZ #14138]
42271         * sysdeps/unix/sysv/linux/execve.c: Remove file.
42272         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
42274 2014-10-01  Steve Ellcey  <sellcey@mips.com>
42276         * sysdeps/mips/strcmp.S: New.
42278 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
42280         [BZ #14138]
42281         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
42282         (linkat): Likewise.
42283         (mkdirat): Likewise.
42284         (readlinkat): Likewise.
42285         (renameat): Likewise.
42286         (symlinkat): Likewise.
42287         (unlinkat): Likewise.
42288         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
42289         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
42290         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
42291         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
42292         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
42293         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
42294         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
42296 2014-09-30  Will Newton  <will.newton@linaro.org>
42298         * math/math.h: Define long double math functions if
42299         _LIBC_TEST is defined.
42300         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
42302         * localedata/Makefile: Move assignment to tests-special
42303         into an ifdef testing run-built-tests.
42304         * timezone/Makefile: Likewise.
42306 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
42308         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
42309         with $(BASH) not $(SHELL).
42311 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
42312             Matthew LeGendre  <legendre1@llnl.gov>
42314         [BZ #17411]
42315         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
42316         l_reloc_result.
42318 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42320         * stdio-common/printf_fp.c
42321         (hack_digit): New function, broken out of ...
42322         (__printf_fp): ... local function here.  Update call sites.
42323         hack_digit now takes an additional parameter that is a pointer
42324         to a struct of the referenced locals.  Those locals moved inside
42325         the struct and references updated.
42327 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
42329         * aclocal.m4: Require autoconf 2.69.
42330         * configure: Regenerated.
42331         * sysdeps/aarch64/configure: Likewise.
42332         * sysdeps/alpha/configure: Likewise.
42333         * sysdeps/arm/armv7/configure: Likewise.
42334         * sysdeps/arm/configure: Likewise.
42335         * sysdeps/ia64/configure: Likewise.
42336         * sysdeps/mach/configure: Likewise.
42337         * sysdeps/mips/configure: Likewise.
42338         * sysdeps/s390/configure: Likewise.
42339         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
42340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
42342         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
42343         file.
42344         * sysdeps/ia64/configure.ac: Likewise.
42346 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
42348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
42349         specify symbol version for ld.so.  Do not include entry for
42350         libpthread.
42351         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42352         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42353         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42355         [BZ #14171]
42356         * Makeconfig [$(build-shared) = yes]
42357         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
42358         makefiles.
42359         [$(build-shared) = yes && $(soversions.mk-done) = t]
42360         ($(common-objpfx)gnu/lib-names.h): Remove rule.
42361         [$(build-shared) = yes && $(soversions.mk-done) = t]
42362         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
42363         to Makerules.
42364         [$(build-shared) = yes && $(soversions.mk-done) = t]
42365         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
42366         here.
42367         [$(build-shared) = yes && $(soversions.mk-done) = t]
42368         (common-generated): Don't append gnu/lib-names.h and
42369         gnu/lib-names.stmp here.
42370         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
42371         (lib-names-h-abi): New variable.
42372         [$(build-shared) = yes && $(soversions.mk-done) = t]
42373         (lib-names-stmp-abi): Likewise.
42374         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42375         abi-variants] (before-compile): Append
42376         $(common-objpfx)$(lib-names-h-abi).
42377         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42378         abi-variants] (common-generated): Append gnu/lib-names.h.
42379         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42380         abi-variants] (install-others-nosubdir): Depend on
42381         $(inst_includedir)/$(lib-names-h-abi).
42382         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42383         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
42384         [$(build-shared) = yes && $(soversions.mk-done) = t]
42385         ($(common-objpfx)$(lib-names-h-abi)): New rule.
42386         [$(build-shared) = yes && $(soversions.mk-done) = t]
42387         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
42388         [$(build-shared) = yes && $(soversions.mk-done) = t]
42389         (common-generated): Append $(lib-names-h-abi) and
42390         $(lib-names-stmp-abi).
42391         * scripts/lib-names.awk: Do not handle multi being set.
42392         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
42393         Remove variable.
42394         (abi-lp64_be-ld-soname): Likewise.
42395         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
42396         Likewise.
42397         (abi-hard-ld-soname): Likewise.
42398         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
42399         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
42400         Remove variable.
42401         (abi-o32_hard-ld-soname): Likewise.
42402         (abi-o32_soft_2008-ld-soname): Likewise.
42403         (abi-o32_hard_2008-ld-soname): Likewise.
42404         (abi-n32_soft-ld-soname): Likewise.
42405         (abi-n32_hard-ld-soname): Likewise.
42406         (abi-n32_soft_2008-ld-soname): Likewise.
42407         (abi-n32_hard_2008-ld-soname): Likewise.
42408         (abi-n64_soft-ld-soname): Likewise.
42409         (abi-n64_hard-ld-soname): Likewise.
42410         (abi-n64_soft_2008-ld-soname): Likewise.
42411         (abi-n64_hard_2008-ld-soname): Likewise.
42412         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
42413         Likewise.
42414         (abi-64-v2-ld-soname): Likewise.
42415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
42416         ld.so entries.
42417         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
42418         variable.
42419         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
42420         entry.
42421         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
42422         variable.
42423         (abi-64-ld-soname): Likewise.
42424         (abi-x32-ld-soname): Likewise.
42425         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
42426         entry.
42427         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42429 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
42431         [BZ #14138]
42432         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
42433         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
42434         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
42435         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
42436         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
42437         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
42438         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
42439         syscall entry for GLIBC_2.2 symbol version.
42440         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
42441         Likewise.
42442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42443         (setrlimit): Likewise.
42444         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
42445         Likewise.
42447 2014-09-23  Will Newton  <will.newton@linaro.org>
42449         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
42450         _LINUX_ARM_SYSDEP_H include guard too.
42451         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
42452         define.
42454 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42456         * sysdeps/unix/sysv/linux/eventfd.c:
42457         Make first argument unsigned.
42458         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
42459         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
42461 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
42463         [BZ #16852]
42464         * socket/recvmmsg.c (recvmmsg): Drop const argument.
42465         * socket/sys/socket.h: Likewise.
42466         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
42468 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42470         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
42472 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
42474         * time/tst-ftime.c: New test.
42475         * time/Makefile (tests): Add tst-ftime.
42477 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
42479         * soft-fp/extended.h: Fix comment formatting.
42480         * soft-fp/op-1.h: Likewise.
42481         * soft-fp/op-2.h: Likewise.
42482         * soft-fp/op-4.h: Likewise.
42483         * soft-fp/op-8.h: Likewise.
42484         * soft-fp/op-common.h: Likewise.
42485         * soft-fp/soft-fp.h: Likewise.
42487         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
42489 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
42491         [BZ #6652]
42492         * Makeconfig (soversions-default-setname): Remove variable.
42493         ($(common-objpfx)soversions.i): Don't pass default_setname to
42494         soversions.awk.
42495         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
42496         oldest_abi to abi-versions.awk.
42497         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
42498         * config.make.in (oldest-abi): Remove variable.
42499         * configure.ac (--enable-oldest-abi): Remove configure option.
42500         * configure: Regenerated.
42501         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
42502         text.
42503         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
42504         * scripts/soversions.awk: Do not handle default_setname variable.
42505         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
42506         variable.
42507         * sysdeps/mach/hurd/configure: Regenerated.
42508         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
42509         variable.
42510         * sysdeps/unix/sysv/linux/configure: Regenerated.
42512 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42514         * elf/Makefile (CFLAGS-interp.c): Remove.
42515         ($(elf-objpfx)runtime-linker.h): Generate header with linker
42516         path string.
42517         * elf/interp.c: Include generated runtime-linker.h
42519         * Makerules (lib%.so): Don't include $(+interp) in
42520         prerequisites.
42521         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
42522         * dlfcn/eval.c: Remove file.
42524         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
42525         macros.
42527         [BZ #17266]
42528         * misc/sys/cdefs.h: Define __extern_always_inline for clang
42529         4.2 and newer.
42531         [BZ #17370]
42532         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
42534 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42535             Jakub Jelinek  <jakub@redhat.com>
42537         [BZ #17266]
42538         * libio/stdio.h: Check definition of __fortify_function
42539         instead of __extern_always_inline to include bits/stdio2.h.
42540         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
42541         check if __extern_always_inline is defined.
42542         [__USE_MISC || __USE_XOPEN]: Likewise.
42543         [__USE_ISOC99] Likewise.
42544         * misc/sys/cdefs.h (__fortify_function): Define only if
42545         __extern_always_inline is defined.
42546         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
42547         __extern_always_inline and __extern_inline only for g++-4.3
42548         and newer or a compatible gcc.
42550 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
42552         [BZ #17371]
42553         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42554         last change to handle zero prefix length.
42556 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42558         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
42559         _SC_REGEX_VERSION.
42561         * posix/getconf.c (vars): Add _POSIX_IPV6 and
42562         _POSIX_RAW_SOCKETS.
42564 2014-09-13  Allan McRae  <allan@archlinux.org>
42566         * po/ru.po: Update Russian translation from translation project.
42568 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42570         * locale/programs/locale.c (show_locale_vars): Inline local function
42571         into its sole call site.  Clean up some style nits.
42572         (print_item): New function, broken out of ...
42573         (show_info): ... local function here.  Clean up style nits.
42575         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42576         out of ...
42577         (set_class_defaults): ... local function set_default here.
42578         Define set_default as a macro locally to pass constant parameters.
42579         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42580         rather than a shared local.
42582         * stdlib/rpmatch.c (try): New function, broken out of ...
42583         (rpmatch): ... local function here.  Also, prototypify definition.
42585 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42587         * scripts/soversions.awk: Do not handle configuration names.
42588         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42589         vendor and os variables to soversions.awk.
42590         * configure.ac: Do not modify gnu-* host_os.
42591         * configure: Regenerated
42592         * shlib-versions: Remove first column with configuration names.
42593         * nptl/shlib-versions: Likewise.
42594         * nptl_db/shlib-versions: Likewise.
42595         * sysdeps/hppa/shlib-versions: Likewise.
42596         * sysdeps/m68k/shlib-versions: Likewise.
42597         * sysdeps/mach/hurd/shlib-versions: Likewise.
42598         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42599         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42600         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42601         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42602         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42603         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42604         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42605         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42607         Likewise.
42608         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42609         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42610         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42611         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42612         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42613         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42614         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42615         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42618         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42620         Regenerated.
42621         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
42622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42623         Condition symbol version definitions on [HAVE_ELFV2_ABI].
42625         * shlib-versions: Remove OS-specific entries.  Moved to files in
42626         sysdeps.
42627         * sysdeps/mach/hurd/shlib-versions: New file.
42628         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42630         * nptl/shlib-versions: Remove architecture-specific entries.
42631         Moved to files in sysdeps.
42632         * shlib-versions: Likewise.
42633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
42634         file.
42635         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42636         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42637         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42638         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42640         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
42641         (UDP_NO_CHECK6_RX): Likewise.
42643 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42645         * sysdeps/posix/sysconf.c (__sysconf): Spell
42646         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
42648 2014-08-12  Florian Weimer  <fweimer@redhat.com>
42650         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
42651         loading.
42652         * iconv/Versions (__gconv_transliterate): Export for use from
42653         gconv modules.
42654         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
42655         (struct __gconv_trans_data, __gconv_trans_fct,
42656         __gconv_trans_context_fct, __gconv_trans_query_fct,
42657         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
42658         definitions.
42659         (struct __gconv_step_data): Remove __trans member.
42660         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
42661         longer hidden.  Remove unused trans_data argument.
42662         * iconv/gconv_int.h (struct trans_struct): Remove definition.
42663         (__gconv_translit_find): Remove declaration.
42664         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
42665         prototype.
42666         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
42667         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
42668         trans_data argument.  Add hidden definition.
42669         (__gconv_translit_find): Remove.
42670         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
42671         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
42672         * iconv/skeleton.c: Remove transliteration initialization.
42673         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
42674         __gconv_step_data initialization.
42675         * libio/iofwide.c (__libio_translit_): Remove.
42676         (_IO_fwide): Adjust struct __gconv_step_data initialization.
42677         * wcsmbs/btowc.c (__btowc): Likewise.
42678         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42679         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42680         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
42681         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
42682         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
42683         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42684         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
42685         * wcsmbs/wctob.c (wctob): Likewise.
42687 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42689         [BZ #16194]
42690         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
42691         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
42692         register usage.
42693         * sysdeps/x86/Makefile: Adjust.
42695 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42696             Roland McGrath  <roland@hack.frob.com>
42698         * locale/weight.h: Add include guard.
42699         (findidx): Make static rather than auto; take new parameters
42700         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
42701         * locale/weightwc.h: Likewise.
42702         * posix/fnmatch_loop.c
42703         (FCT): Change type of EXTRA from int32_t to wint_t.
42704         Don't include either header inside the function.
42705         Call FINDIDX rather than findidx, and pass new arguments.
42706         #undef FINDIDX at the end of the file.
42707         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
42708         FINDIDX before including fnmatch_loop.c for the non-wide version.
42709         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
42710         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
42711         for the wide version.
42712         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
42713         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
42714         Pass new arguments to findidx.
42715         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
42716         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
42717         Don't #include it inside the function.  Pass new arguments to findidx.
42718         * posix/regex_internal.h
42719         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
42720         (re_string_elem_size_at): Don't #include it inside the function.
42721         Pass new arguments to findidx.
42722         * string/strcoll_l.c: #include WEIGHT_H at top level.
42723         (get_next_seq): Don't #include it inside the function.
42724         Pass new arguments to findidx.
42725         (get_next_seq_nocache): Likewise.
42726         * string/strxfrm_l.c: #include WEIGHT_H at top level.
42727         (STRXFRM): Don't #include it inside the function.
42728         Pass new arguments to findidx.
42730 2014-09-11  Florian Weimer  <fweimer@redhat.com>
42732         [BZ #17344]
42733         * malloc/malloc.c (unlink): Turn asserts into a call to
42734         malloc_printerr.
42736 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
42738         [BZ #17370]
42739         * libio/wfileops (do_ftell_wide): Free OUT.
42741 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
42743         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
42745 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42747         [BZ #17363]
42748         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
42749         group if the current group is empty.
42751 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42753         * benchtests/bench-memset.c (test_main): Add more test from size
42754         from 32 to 512 bytes.
42755         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42756         Add POWER8 memset object.
42757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42758         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
42759         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
42760         implementation.
42761         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
42762         Likewise.
42763         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
42764         multiarch POWER8 memset optimization.
42765         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
42766         POWER8 memset optimization.
42768         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42769         Remove bzero multiarch objects.
42770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
42771         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
42772         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
42773         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
42774         Remove define.
42775         [__bzero]: Redefine to specific name.
42776         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
42777         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
42778         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
42779         define.
42780         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42781         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42783 2014-09-10  Florian Weimer  <fweimer@redhat.com>
42785         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
42786         warnings into errors.
42788         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
42789         __cxa_thread_atexit_impl prototype.
42791 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42793         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
42794         Fix capitalization of error message.
42796 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42798         * sysdeps/mips/preconfigure: Modify ABI tests.
42800 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
42802         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
42804 2014-09-07  Roland McGrath  <roland@hack.frob.com>
42805             Carlos O'Donell  <carlos@systemhalted.org>
42807         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
42808         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
42809         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
42810         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
42811         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
42812         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
42813         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
42814         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
42815         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
42816         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
42817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
42818         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
42819         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
42820         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
42821         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
42822         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
42823         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
42824         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
42825         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
42826         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
42827         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
42828         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
42829         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
42830         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
42831         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
42832         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
42833         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
42834         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
42835         Deconditionalize the code that was previously under [RESET_PID].
42836         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
42837         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
42838         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
42839         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
42840         include sysdep.h.
42842 2014-09-08  Allan McRae  <allan@archlinux.org>
42844         * version.h (RELEASE): Set to "development".
42845         (VERSION): Set to "2.20.90"
42847 2014-09-07  Allan McRae  <allan@archlinux.org
42849         * version.h (RELEASE): Set to "stable".
42850         (VERSION): Set to "2.20"
42851         * include/features.h (__GLIBC_MINOR__): Set to 20.
42853         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
42854         Liebler.
42856         * po/ko.po: Update Korean translation from translation project.
42858 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
42860         [BZ #17354]
42861         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
42862         macro for handling signed relocations.
42864 2014-09-03  Florian Weimer  <fweimer@redhat.com>
42866         [BZ #17325]
42867         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
42868         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
42869         assert.
42870         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
42871         * iconvdata/ibm935.c (BODY): Likewise.
42872         * iconvdata/ibm937.c (BODY): Likewise.
42873         * iconvdata/ibm939.c (BODY): Likewise.
42874         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
42875         assert.
42876         * iconvdata/Makefile (iconv-test.out): Pass module list to test
42877         script.
42878         * iconvdata/run-iconv-test.sh: New test loop for checking for
42879         decoder crashers.
42881 2014-09-02  Khem Raj  <raj.khem@gmail.com>
42883         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
42884         libm_hidden_ver.
42886 2014-09-01  Allan McRae  <allan@archlinux.org>
42888         * po/eo.po: Update Esperanto translation from translation project.
42890         * po/ca.po: Update Catalan translation from translation project.
42892 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42894         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
42895         __proc_dostop call.
42897 2014-08-27  Mark Wielaard  <mjw@redhat.com>
42899         [BZ #17319]
42900         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
42901         to call set_thread_area instead of hand written asm.
42902         (__NR_set_thread_area): Removed define.
42903         (TLS_FLAG_WRITABLE): Likewise.
42904         (__ASSUME_SET_THREAD_AREA): Remove check.
42905         (TLS_EBX_ARG): Remove define.
42906         (TLS_LOAD_EBX): Likewise.
42908 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42910         Simplify atomicity of socket creation in bind.
42912         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
42913         looking up the name after linking the file.
42915 2014-08-27  Allan McRae  <allan@archlinux.org>
42917         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42919 2014-08-26  Florian Weimer  <fweimer@redhat.com>
42921         [BZ #17187]
42922         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
42923         trans_compare, open_translit, __gconv_translit_find):
42924         Remove module loading code.
42926 2014-08-26  Allan McRae  <allan@archlinux.org>
42928         * po/vi.po: Update Vietnamese translation from translation project.
42930         * po/uk.po: Update Ukrainian translation from translation project.
42932         * po/fr.po: Update French translation from translation project.
42934         * po/ru.po: Update Russian translation from translation project.
42936         * po/pl.po: Update Polish translation from translation project.
42938         * po/cs.po: Update Czech translation from translation project.
42940         * po/de.po: Update German translation from translation project.
42942         * po/bg.po: Update Bulgarian translation from translation project.
42944         * po/sv.po: Update Sweedish translation from translation project.
42946         * po/nl.po: Update Dutch translation from translation project.
42948         * po/es.po: Update Spanish translation from translation project.
42950 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42952         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
42954         * catgets/Makefile (CPPFLAGS-gencat): Remove.
42955         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
42956         (CPPFLAGS-iconvconfig): Likewise.
42957         * timezone/Makefile (CPPFLAGS-zic): Likewise.
42959         * include/libc-symbols.h: Remove unnecessary check for
42960         NOT_IN_libc.
42961         * nptl/pthreadP.h: Likewise.
42962         * sysdeps/aarch64/setjmp.S: Likewise.
42963         * sysdeps/alpha/setjmp.S: Likewise.
42964         * sysdeps/arm/sysdep.h: Likewise.
42965         * sysdeps/i386/setjmp.S: Likewise.
42966         * sysdeps/m68k/setjmp.c: Likewise.
42967         * sysdeps/posix/getcwd.c: Likewise.
42968         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42969         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42970         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42971         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42972         * sysdeps/sh/sh3/setjmp.S: Likewise.
42973         * sysdeps/sh/sh4/setjmp.S: Likewise.
42974         * sysdeps/unix/alpha/sysdep.h: Likewise.
42975         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42976         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42977         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42978         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42983         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42986         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42988         * sysdeps/x86_64/setjmp.S: Likewise.
42990 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
42992         [BZ #17263]
42993         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
42994         <stdint.h>.
42995         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
42996         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
42998 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43000         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43002         [BZ #17262]
43003         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43004         and __x86_64__ when disabling x87 inline functions.
43006 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43008         [BZ #17259]
43009         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43010         asm statement with __cpuid_count.
43012 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43014         * configure.ac: Change __ehdr_start code to dereference the struct.
43015         Run readelf on the output to look for relocations.
43016         * configure: Regenerated.
43018 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43020         [BZ #17261]
43021         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43022         value to 0.
43023         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43025 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43027         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43029 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43031         [BZ #16892]
43032         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43033         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43035 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43037         * malloc/malloc.c: Fix typo in comment.
43039 2014-08-09  Allan McRae  <allan@archlinux.org>
43041         * Regenerate libc.po.
43043 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43045         * intl/tst-gettext2.sh: Check every lang file for creation.
43047 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43049         * sysdeps/aarch64/fpu/math_private.h
43050         (libc_feholdsetround_noex_aarch64_ctx): New function.
43052 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43054         * sysdeps/arm/armv6/strcpy.S (strcpy):
43055         Fix performance issue in misaligned cases.
43057 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43059         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43060         Move definition from termios.h.
43061         (struct termio): Likewise.
43062         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43063         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43064         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43065         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43066         Likewise.
43067         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43068         Move definition to ioctl-types.h
43069         (struct termio): Likewise.
43070         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43071         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43072         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43073         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43074         Likewise.
43076 2014-08-05  Richard Henderson  <rth@redhat.com>
43078         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43079         exceptions.
43080         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43081         Add fraiseexcpt.
43082         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43083         Use __feraiseexcept.
43084         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43085         Protect libm symbols with IS_IN_libm.
43087         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43089 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43091         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43093 2014-08-04  Will Newton  <will.newton@linaro.org>
43095         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43096         file.
43098 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43100         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43101         variants for each function.
43103 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43105         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43106         appended ...
43107         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43108         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43109         appended ...
43110         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43111         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43112         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43113         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43114         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43115         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43116         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43117         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43118         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43119         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43120         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43121         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43122         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43123         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43124         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43125         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43126         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43127         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43128         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43129         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43130         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43131         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43132         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43133         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43134         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43135         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43136         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43137         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43138         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43139         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43140         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43141         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43142         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43143         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43144         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43145         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43146         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43147         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43148         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43149         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43150         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43151         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43152         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43153         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43154         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43155         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43156         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43158         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43160         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43161         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43162         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43163         Update #include.
43164         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43165         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43167 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43169         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43170         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43171         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43172         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43173         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43174         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43176 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43178         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43179         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43180         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43181         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43183 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43185         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43186         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43187         (__libc_vfork): Define function under this name.
43188         (__vfork): Define as an alias.
43189         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43190         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43192 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43194         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43195         that was previously under [RESET_PID].
43196         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43198 2014-08-04  Andreas Schwab  <schwab@suse.de>
43200         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43202 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
43204         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43205         (main): Likewise.
43207 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43209         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43211 2014-08-01  Richard Henderon  <rth@redhat.com>
43213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43214         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43215         typo in exact zero test.
43216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43217         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43220 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43222         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43223         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43224         * sysdeps/arm/sysdep.h: ... here.
43225         [!__ASSEMBLER__]: Include <stdint.h>.
43227 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43229         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
43230         (HAVE_WCTYPE_H): Likewise.
43231         (HAVE_ISWCTYPE): Likewise.
43232         (ENABLE_NLS): Likewise.
43233         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
43234         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
43236         * posix/regex_internal.c: Check if DEBUG is defined and is
43237         set.
43239         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43240         (HAVE_MBSRTOWCS): Likewise.
43241         * posix/fnmatch.c: Include string.h unconditionally.
43243 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43245         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
43246         reversal.
43248 2014-07-31  Roland McGrath  <roland@hack.frob.com>
43250         * sysdeps/generic/safe-fatal.h: New file.
43251         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
43252         * nptl/forward.c: Include it.
43253         (__pthread_unwind): Use __safe_fatal as default action, rather
43254         than a bogus use of INTERNAL_SYSCALL that could never work.
43256         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
43257         * configure.ac (libc_cv_builtin_trap): New test.
43258         * configure: Regenerated.
43259         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
43260         (ABORT_INSTRUCTION): Define using __builtin_trap.
43262         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
43263         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
43264         * sysdeps/nptl/nptl-signals.h: New file.
43265         * nptl/pthreadP.h: Include <nptl-signals.h>.
43267 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43269         * sysdeps/s390/s390-64/utf16-utf32-z9.c
43270         (ONE_DIRECTION): Define.
43271         * sysdeps/s390/s390-64/utf8-utf16-z9.c
43272         (ONE_DIRECTION): Define.
43273         * sysdeps/s390/s390-64/utf8-utf32-z9.c
43274         (ONE_DIRECTION): Define.
43276 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43278         * sysdeps/s390/Makefile: Delete file.
43279         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
43280         * sysdeps/s390/__longjmp.c: Delete file.
43281         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
43282         Remove fields __flags and __reserved.
43283         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43284         and add versioning.
43285         * sysdeps/s390/rtld-__longjmp.c: Delete file.
43286         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
43287         * sysdeps/s390/rtld-setjmp.S: Likewise.
43288         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
43289         * sysdeps/s390/s390-32/__longjmp.c: ... here.
43290         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
43291         * sysdeps/s390/s390-32/setjmp.S: ... here.
43292         Add versioning.
43293         (__sigsetjmp): Remove setting __flags field.
43294         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
43295         * sysdeps/s390/s390-64/__longjmp.c: ... here.
43296         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
43297         * sysdeps/s390/s390-64/setjmp.S: ... here.
43298         Add versioning.
43299         (__sigsetjmp): Remove setting __flags field.
43300         * sysdeps/s390/setjmp.S: Delete file.
43301         * sysdeps/s390/sigjmp.c: Likewise.
43302         * sysdeps/s390/v1-longjmp.c: Likewise.
43303         * sysdeps/s390/v1-setjmp.h: Likewise.
43304         * sysdeps/s390/v1-sigjmp.c: Likewise.
43305         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
43306         Remove v1-longjmp_chk.
43307         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
43308         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
43309         Include debug/longjmp_chk.c and add versioning.
43310         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
43311         Include nptl/pt-longjmp.c and add versioning.
43312         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
43313         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
43314         Include __longjmp.c.
43315         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43316         Move to ...
43317         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
43318         (__getcontext): Remove setting __flags field.
43319         Add versioning.
43320         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43321         Don't restore upper high grps.
43322         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
43323         Likewise.
43324         (__swapcontext): Remove setting uc_flags field.
43325         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
43326         Delete file.
43327         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43328         Include __longjmp.c.
43329         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43330         Move to ...
43331         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
43332         (__getcontext): Remove setting __flags field.
43333         Add versioning.
43334         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
43335         (__swapcontext): Remove setting uc_flags field.
43336         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
43337         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
43338         Remove fields uc_high_gprs and __reserved.
43339         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
43340         New file with reverted content.
43341         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
43342         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
43343         Regenerated.
43344         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
43345         Regenerated.
43347 2014-07-31  Andreas Schwab  <schwab@suse.de>
43349         * config.h.in (HAVE_IFUNC): Define to 0.
43350         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
43351         definedness.
43353 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
43355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43356         memmove-avx-unaligned, memcpy-avx-unaligned and
43357         mempcpy-avx-unaligned.
43358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43359         Add tests for AVX memcpy functions.
43360         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
43361         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
43362         memcpy_chk.
43363         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
43364         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
43365         memmove_chk.
43366         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
43367         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
43368         mempcpy_chk.
43369         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
43370         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
43371         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
43373 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43375         [BZ #17213]
43376         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
43377         powerpc64le.
43379 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
43381         [BZ #16839]
43382         * manual/llio.texi: Add section about open file description locks.
43383         * manual/examples/ofdlocks.c: Example of open file description
43384         lock usage.
43385         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
43386         F_OFD_SETLK, and F_OFD_SETLKW.
43388 2014-07-23  Allan McRae  <allan@archlinux.org>
43390         * po/es.po: Update Spanish translation from translation project.
43392 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
43394         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
43396 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
43398         [BZ #17078]
43399         * sysdeps/arm/dl-machine.h (elf_machine_rela)
43400         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
43401         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
43403 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
43405         [BZ #17088]
43406         * math/fesetenv.c (__fesetenv)
43407         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
43408         * math/feupdateenv.c (__feupdateenv)
43409         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
43411         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
43412         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43413         (__ASSUME_SOCKETCALL): Do not define.
43415         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
43416         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
43417         (__ASSUME_SOCKETCALL): Do not define.
43418         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
43419         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43420         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43421         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43422         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43423         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
43424         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43425         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43427         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
43428         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
43429         (__ASSUME_SOCKETCALL): Do not define.
43430         (__ASSUME_IPC64): Define unconditionally.
43431         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43432         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43433         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43434         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43435         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
43436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43437         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
43438         Likewise.
43440         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
43441         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
43442         (__ASSUME_SOCKETCALL): Do not define.
43443         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
43444         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43445         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43446         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43447         (__ASSUME_REQUEUE_PI): Define unconditionally.
43448         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
43449         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
43450         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43451         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
43452         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43453         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43455         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
43456         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
43457         (__ASSUME_SOCKETCALL): Do not define.
43458         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
43459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43460         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43461         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
43462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43463         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43465         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
43466         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
43467         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43468         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
43469         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43470         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
43471         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43472         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
43473         (__ASSUME_GETCPU_SYSCALL): Likewise.
43475         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
43476         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
43477         cases for individual architectures.
43478         * sysdeps/gnu/configure: Regenerated.
43479         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
43480         LIBC_SLIBDIR_RTLDDIR.
43481         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
43482         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
43483         LIBC_SLIBDIR_RTLDDIR.
43484         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
43485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
43486         LIBC_SLIBDIR_RTLDDIR.
43487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43488         Regenerated.
43489         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
43490         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
43491         file.
43492         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
43493         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
43494         file.
43495         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
43496         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
43497         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
43498         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
43500         * sysdeps/aarch64/shlib-versions: Move to ...
43501         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
43502         * sysdeps/alpha/shlib-versions: Move to ...
43503         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
43504         * sysdeps/arm/shlib-versions: Move to ...
43505         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
43506         * sysdeps/hppa/shlib-versions: Move all contents except for
43507         libgcc_s entry to ...
43508         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
43509         entry from ...
43510         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
43511         * sysdeps/ia64/shlib-versions: Move to ...
43512         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
43513         entry from ...
43514         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
43515         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
43516         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
43517         * sysdeps/microblaze/shlib-versions: Move to ...
43518         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
43519         * sysdeps/mips/shlib-versions: Move to ...
43520         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
43521         entry from ...
43522         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
43523         * sysdeps/tile/shlib-versions: Move to ...
43524         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
43525         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
43526         from ...
43527         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
43528         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
43529         entry from ...
43530         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
43532 2014-07-17  Will Newton  <will.newton@linaro.org>
43534         * sysdeps/arm/bits/atomic.h
43535         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
43536         (__arch_compare_and_exchange_bool_16_int): Likewise.
43537         (__arch_compare_and_exchange_bool_64_int): Likewise.
43539         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
43540         into an #else block.
43542 2014-07-16  Roland McGrath  <roland@hack.frob.com>
43544         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
43545         just Linux configurations.  Test empirically that the compiler sets
43546         __ARM_EABI__, rather than using the tuple to decide.
43547         * sysdeps/arm/preconfigure: Regenerated.
43548         * sysdeps/unix/sysv/linux/arm/configure: File removed.
43549         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
43550         contents appended ...
43551         * sysdeps/arm/configure.ac: ... here.
43552         * sysdeps/arm/configure: Regenerated.
43554 2014-07-15  Roland McGrath  <roland@hack.frob.com>
43556         * nptl/pthread_kill.c: New file.
43557         * nptl/pthread_sigmask.c: New file.
43558         * nptl/pthread_sigqueue.c: New file.
43560         * sysdeps/nptl/lowlevellock.h: New file.
43561         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43562         * sysdeps/nptl/lowlevellock-futex.h: New file.
43564         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43565         Remove dead declarations.
43567 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
43569         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43570         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43571         config-cflags-avx2.
43572         * sysdeps/x86_64/configure.ac: Likewise.
43573         * sysdeps/i386/configure: Regenerated.
43574         * sysdeps/x86_64/configure: Likewise.
43575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43576         memset-avx2 only if config-cflags-avx2 is yes.
43577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43578         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43579         defined.
43580         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43581         only if HAVE_AVX2_SUPPORT is defined.
43582         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43584 2014-07-14  Alan Modra  <amodra@gmail.com>
43586         [BZ #17153]
43587         * elf/elf.h (DT_PPC64_NUM): Correct value.
43588         * NEWS: Add to fixed bug list.
43590 2014-07-13  Jim Meyering  <meyering@fb.com>
43592         [BZ 17150]
43593         regex: don't deref NULL upon heap allocation failure
43594         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43595         failure in one more place.
43596         To trigger the segfault, configure grep -with-included-regex,
43597         build it, and run these commands:
43598         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43600 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43602         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43604 2014-07-11  Richard Henderson  <rth@redhat.com>
43606         * sysdeps/aarch64/libm-test-ulps: Update.
43608 2014-07-10  Florian Weimer  <fweimer@redhat.com>
43610         [BZ #17135]
43611         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43612         * nptl/allocatestack.c (__nptl_setxid_error): New function.
43613         (__nptl_setxid): Initialize error member.  Call
43614         __nptl_setxid_error.
43615         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43616         * nptl/descr.h (struct xid_command): Add error member.
43617         * nptl/tst-setuid3.c: New file.
43618         * nptl/Makefile (tests): Add it.
43620 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
43623         New define.
43624         (__lll_trylock): Use __lll_base_trylock.
43625         (__lll_cond_trylock): Likewise.
43627 2014-07-10  Roland McGrath  <roland@hack.frob.com>
43629         * nptl/pthread_create.c (start_thread): Use atomic_or and
43630         lll_futex_wake directly rather than lll_robust_dead.
43631         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43632         (lll_robust_dead): Macro removed.
43633         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
43634         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43635         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43636         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43638         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43639         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43640         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43641         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43642         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43643         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43644         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43645         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43646         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43647         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43649         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
43650         Use atomic_compare_and_exchange_val_acq directly rather than
43651         lll_robust_trylock.
43652         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43653         (__lll_robust_trylock, lll_robust_trylock): Removed.
43654         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43655         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43656         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43657         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43658         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43659         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43660         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43661         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43662         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43663         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43664         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43665         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43666         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43667         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43669 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43671         * manual/locale.texi (Locale Names): New section documenting
43672         locale name syntax.  Adjust menu and node chaining accordingly.
43673         (Choosing Locale): Reference Locale Names, Locale Categories.
43674         Mention setting LC_ALL=C.  Reflect that name syntax is now
43675         documented.
43676         (Locale Categories): New section title.  Reference Locale Names.
43677         LC_ALL is an environment variable, but not a category.
43678         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
43679         description, now in Locale Name.  Reference that section.  Locale
43680         name syntax is now documented.
43682 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43684         [BZ #17137]
43685         * locale/findlocale.c (name_present, valid_locale_name): New
43686         functions.
43687         (_nl_find_locale): Use the loc_name variable to store name
43688         candidates.  Call name_present and valid_locale_name to check and
43689         validate locale names.  Return an error if the locale is invalid.
43691 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43693         * locale/setlocale.c (setlocale): Use strdup for allocating
43694         composite name copy.
43696 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43698         Sync up with gnulib.
43699         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
43700         [!_LIBC && ENABLE_NLS]: Include gettext.h.
43701         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
43702         and _GL_ARG_NONNULL.
43703         [USE_UNLOCKED_IO]: Include unlocked-io.h.
43704         [!_LIBC]: Include code for Windows and Cygwin.
43705         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
43706         Include prototype for int strerror_r.
43707         [!_LIBC] (is_open): New function.
43708         (flush_stdout): New function.
43709         (print_errno_message): Use it.
43710         (error): Likewise.
43711         (error_at_line): Likewise.
43712         (error_tail) Add function attribute macros.  Use
43713         __builtin_expect.
43715         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
43717         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
43719         * io/ftw.c: Include sys/param.h unconditionally.
43721         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43723         [BZ #17125]
43724         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
43725         libc_freeres_ptr.
43726         (freecache): New function to free CACHE on exit.
43728         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
43729         initialization.
43731 2014-07-09  David S. Miller  <davem@davemloft.net>
43733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43735         * sysdeps/sparc/nptl/internaltypes.h: Delete.
43736         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
43737         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
43738         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
43739         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
43740         * sysdeps/sparc/nptl/sem_init.c: Likewise.
43741         * sysdeps/sparc/nptl/sem_post.c: Likewise.
43742         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
43743         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
43744         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
43745         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
43746         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
43747         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
43749 2014-07-09  Andreas Schwab  <schwab@suse.de>
43751         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
43752         output.
43753         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
43754         (do_test): Likewise.
43756         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43758 2014-07-09  Will Newton  <will.newton@linaro.org>
43760         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43761         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
43762         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
43763         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
43764         * sysdeps/hppa/start.S (_start): Likewise.
43766 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43768         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
43770         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
43771         defined.
43773 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43775         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
43776         after checking that it is non-NULL.
43778         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
43780 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43782         * sysdeps/powerpc/memmove.c: Remove file.
43783         * sysdeps/powerpc/powerpc32/power4/memcopy.h
43784         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
43785         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
43786         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
43787         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
43788         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
43789         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
43790         string memmove instead of removed powerpc one.
43792         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43793         [weak_alias]: Fix compiler warning due trailing data.
43794         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
43795         [weak_alias]: Likewise.
43796         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
43797         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
43799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43800         (__libc_ifunc_impl_list): Add memmove functions.
43802 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43804         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
43805         Remove code.
43806         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
43807         Likewise.
43808         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
43809         Likewise.
43810         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
43811         Likewise.
43812         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
43813         Likewise.
43814         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
43815         Likewise.
43816         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
43817         Likewise.
43818         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
43819         Likewise.
43820         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
43821         Likewise.
43822         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
43823         Likewise.
43824         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
43825         Likewise.
43826         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
43827         Likewise.
43828         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
43829         Likewise.
43830         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
43831         Likewise.
43832         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
43833         Likewise.
43834         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
43835         Likewise.
43836         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
43837         Likewise.
43839 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43841         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
43842         to avoid alignment traps in non-cacheable memory.
43843         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
43846         multiarch objects.
43847         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
43848         file: multiarch power7 memmove.
43849         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
43850         multiarch default memmove.
43851         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
43852         multiarch memove for powerpc32/power4.
43854         * string/bcopy.c: Use full path to include memmove.c.
43855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
43856         multiarch objects.
43857         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
43858         bcopy for powerpc64.
43859         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
43860         bcopy for powerpc64.
43861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
43862         and memmove implementations.
43863         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
43864         optimized multiarch memmove for POWER7/powerpc64.
43865         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
43866         default multiarch memmove for powerpc64.
43867         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
43868         multiarch for powerpc64.
43869         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
43870         for POWER7/powerpc64.
43871         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
43872         memmove for POWER7/powerpc64.
43874         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
43875         glibc default one.
43877         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
43878         __ELF_NATIVE_CLASS equal to 64.
43880 2014-07-07  Roland McGrath  <roland@hack.frob.com>
43882         * sysdeps/nptl/lowlevellock.h: File removed.
43884         * NEWS: NPTL is no longer an add-on!
43885         * nptl/internaltypes.h: Moved ...
43886         * sysdeps/nptl/internaltypes.h: ... here.
43887         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
43888         * sysdeps/nptl/fork.c: Likewise.
43889         * sysdeps/nptl/gai_misc.h: Likewise.
43890         * sysdeps/nptl/librt-cancellation.c: Likewise.
43891         * sysdeps/nptl/jmp-unwind.c: Likewise.
43892         * sysdeps/nptl/setxid.h: Likewise.
43893         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
43894         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
43895         * sysdeps/unix/sysv/linux/arm/Implies: New file.
43896         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
43897         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
43898         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
43899         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
43900         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
43901         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
43902         * sysdeps/unix/sysv/linux/mips/Implies: New file.
43903         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
43904         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
43905         * sysdeps/unix/sysv/linux/sh/Implies: New file.
43906         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
43907         * sysdeps/unix/sysv/linux/tile/Implies: New file.
43908         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
43909         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
43910         * nptl/Makeconfig: Moved ...
43911         * sysdeps/nptl/Makeconfig: ... here.
43912         * nptl/configure: File removed.
43913         * nptl/ANNOUNCE: File removed.
43914         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
43915         * sysdeps/unix/sysv/linux/configure: Regenerated.
43917         * nptl/Makefile (routines): Add libc_pthread_init,
43918         libc_multiple_threads, register-atfork and unregister-atfork.
43919         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
43920         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
43921         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
43922         pthread-pi-defines.sym, structsem.sym.
43923         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
43924         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
43925         [$(subdir) = nptl] (tests): Add tst-setgetname.
43926         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
43927         * sysdeps/unix/sysv/linux/sigaction.c: Just include
43928         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
43929         [!LIBC_SIGACTION]: Remove aliases.
43930         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43931         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43932         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43933         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
43934         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43935         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
43936         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43937         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43938         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43939         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
43940         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
43941         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
43942         __libc_allocate_rtsig_private.
43943         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
43944         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
43945         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
43946         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
43947         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
43948         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
43949         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
43950         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
43951         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
43952         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
43953         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
43954         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
43955         * nptl/internaltypes.h: ... here.
43956         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
43957         * sysdeps/nptl/jmp-unwind.c: ... here.
43958         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
43959         * nptl/libc-lowlevellock.c: ... here.
43960         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
43961         * nptl/libc_multiple_threads.c: ... here.
43962         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
43963         * nptl/libc_pthread_init.c: ... here.
43964         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
43965         * nptl/lowlevelbarrier.sym: ... here.
43966         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
43967         * nptl/lowlevelcond.sym: ... here.
43968         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
43969         * nptl/lowlevellock.c: ... here.
43970         * nptl/lowlevellock.h: Moved ...
43971         * sysdeps/nptl/lowlevellock.h: ... here.
43972         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
43973         * nptl/lowlevelrobustlock.c: ... here.
43974         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
43975         * nptl/lowlevelrobustlock.sym: ... here.
43976         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
43977         * nptl/lowlevelrwlock.sym: ... here.
43978         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
43979         * nptl/pt-fork.c: ... here.
43980         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
43981         * nptl/pthread-pi-defines.sym: ... here.
43982         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
43983         * nptl/pthread_attr_getaffinity.c: ... here.
43984         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
43985         * nptl/pthread_attr_setaffinity.c: ... here.
43986         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
43987         * nptl/pthread_mutex_cond_lock.c: ... here.
43988         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43989         Update #include.
43990         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
43991         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
43992         * nptl/pthread_once.c: ... here, replacing old file.
43993         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
43994         * nptl/pthread_yield.c: ... here.
43995         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
43996         * nptl/register-atfork.c: ... here.
43997         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
43998         * nptl/sem_post.c: ... here.
43999         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44000         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44001         * nptl/sem_timedwait.c: ... here.
44002         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44003         * nptl/sem_trywait.c: ... here.
44004         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44005         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44006         * nptl/sem_wait.c: ... here.
44007         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44008         * nptl/structsem.sym: ... here.
44009         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44010         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44011         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44012         * nptl/unregister-atfork.c: ... here.
44013         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44014         * nptl/unwindbuf.sym: ... here.
44015         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44016         * sysdeps/nptl/fork.c: ... here.
44017         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44018         * sysdeps/nptl/fork.h: ... here.
44019         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44020         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44021         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44022         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44023         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44024         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44025         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44026         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44027         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44028         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44029         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44030         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44031         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44032         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44033         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44034         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44035         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44036         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44037         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44038         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44039         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44040         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44041         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44042         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44043         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44044         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44045         * sysdeps/unix/sysv/linux/raise.c: ... here.
44046         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44047         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44048         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44049         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44050         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44051         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44052         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44053         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44054         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44055         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44056         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44057         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44058         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44059         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44060         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44062 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44064         * sysdeps/generic/memcopy.h: Add comment for
44065         MEMCPY_OK_FOR_FWD_MEMMOVE.
44067 2014-07-04  Will Newton  <will.newton@linaro.org>
44069         * string/memchr.c: Merge from gnulib.
44070         [_LIBC]: Remove conditionals.
44071         (__ptr_t): Remove define.
44072         (LONG_MAX_32_BITS): Likewise.
44073         (LONG_MAX): Likewise.
44074         (MEMCHR): Use ANSI prototype and optimize algorithm.
44076         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44078 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44080         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44081         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44083         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44084         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44085         in a bare environment with no <stdlib.h> installed.
44086         * sysdeps/nptl/configure: Regenerated.
44088         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44090         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44091         AC_EGREP_CPP for kernel header checks, so they only succeed if
44092         including <linux/version.h> actually works right.
44093         * sysdeps/unix/sysv/linux/configure: Regenerated.
44095         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44096         value so it's not diagnosed as unused.
44098         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44099         thing) with "ifeq ($(subdir),rt)".
44101 2014-07-03  Richard Henderson  <rth@redhat.com>
44103         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44104         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44105         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44107         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44108         (math_force_eval): New.
44110         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44111         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44113         * sysdeps/alpha/fpu/s_round.c: Remove file.
44114         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44116         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44117         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44118         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44119         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44120         (_dl_start, print_statistics): Likewise.
44121         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44122         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44124         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44125         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44126         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44127         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44128         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44129         (HP_SMALL_TIMING_AVAIL): Define.
44130         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44131         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44132         (HP_SMALL_TIMING_AVAIL): Define.
44133         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44134         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44136         * sysdeps/aarch64/hp-timing.h: New file.
44138         * sysdeps/generic/hp-timing.h: Remove dead comment.
44139         * sysdeps/generic/hp-timing-common.h: New file.
44140         * sysdeps/alpha/hp-timing.h: Include it.
44141         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44142         * sysdeps/i386/i686/hp-timing.h: Likewise.
44143         * sysdeps/ia64/hp-timing.h: Likewise.
44144         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44145         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44146         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44147         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44148         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44149         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44150         (hp_timing_t): New.
44152         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44153         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44154         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44155         * elf/rtld.c (_dl_start_final): Likewise.
44156         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44157         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44158         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44159         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44160         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44161         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44162         (HP_TIMING_DIFF_INIT): Remove.
44163         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44164         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44165         (HP_TIMING_DIFF_INIT): Remove.
44166         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44167         * sysdeps/i386/i686/hp-timing.c: Remove file.
44168         * sysdeps/x86_64/hp-timing.c: Remove file.
44169         * sysdeps/ia64/hp-timing.c: Remove file.
44170         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44171         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44172         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44173         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44175         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44176         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44177         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44178         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44179         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44180         (HP_TIMING_ACCUM): Remove.
44181         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44182         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44183         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44185         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44186         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44187         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44188         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44189         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44190         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44191         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44192         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44194         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44196 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
44198         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44200 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44202         Sync up with gettext.
44203         * intl/loadmsgcat.c: Define O_BINARY if not defined.
44204         [_MSC_VER]: Include malloc.h
44205         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44206         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44207         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
44208         TEMP_FAILURE_RETRY.  Cast return of alloca.
44209         [!_LIBC] Call gl_rwlock_init.
44210         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44212 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44214         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44215         before checking its value.
44217 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44219         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44221         * debug/memcpy_chk.c: Don't include pagecopy.h.
44222         * debug/mempcpy_chk.c: Likewise.
44223         * string/memcpy.c: Likewise.
44224         * string/memmove.c: Likewise.
44225         * sysdeps/powerpc/memmove.c: Likewise.
44226         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
44227         definition of PAGE_COPY_FWD_MAYBE here...
44228         * sysdeps/generic/pagecopy.h: ... from here.
44229         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
44231 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44232             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44234         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
44235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
44236         optimizations.
44237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44238         (__libc_ifunc_impl_list): Likewise.
44239         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
44240         multiarch strcat for PPC64.
44241         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
44242         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44244 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44246         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
44248 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44250         * intl/loadmsgcat.c: Remove declaration of
44251         get_sysdep_segment_value.
44252         (get_sysdep_segment_value): Use ISO C style.
44253         (_nl_load_domain): Use ISO C style.  Get rid of redundant
44254         semicolon.  Fix typo and formatting in comment.
44255         (_nl_unload_domain): Use ISO C style.
44257         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
44259 2014-07-02  Will Newton  <will.newton@linaro.org>
44261         * malloc/obstack.c: Merge from gnulib master.
44262         [HAVE_CONFIG_H]: Remove conditional code.
44263         [!_LIBC]: Include config.h.
44264         [!ELIDE_CODE]: Don't include inttypes.h, include
44265         stdint.h unconditionally.
44266         (print_and_abort): Mark as _Noreturn.
44267         (_obstack_allocated_p): Mark as __attribute_pure__.
44268         (obstack_free): Rename to __obstack_free.
44269         [!__attribute__]: Remove conditional code.
44270         * malloc/obstack.h: Merge from gnulib master.
44271         [__cplusplus]: Move conditional down.
44272         [!__attribute_pure__]: Define __attribute_pure__ here
44273         if it is not already defined.
44274         (_obstack_memory_used): Mark as __attribute_pure__.
44275         [!__obstack_free]: Define as obstack_free.
44276         [__GNUC__]: Remove check for ancient NeXT gcc.
44278 2014-07-02  Will Newton  <will.newton@linaro.org>
44279             Paul Eggert  <eggert@cs.ucla.edu>
44281         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
44283 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44285         * resolv/gethnamaddr.c: Add comment warning that the file is
44286         not maintained.
44288 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
44290         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44291         entries.
44293         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
44294         entry for aio_cancel and aio_cancel64.
44295         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
44296         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
44297         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
44298         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
44299         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
44300         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
44301         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
44302         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
44303         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
44304         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
44305         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
44306         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
44307         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
44309 2014-07-01  Roland McGrath  <roland@hack.frob.com>
44311         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
44312         * nptl/pthread_mutex_lock.c: Likewise.
44313         * nptl/pthread_mutex_timedlock.c: Likewise.
44314         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
44316 2014-07-01  Richard henderson  <rth@redhat.com>
44318         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
44319         (__isnan, __isnanl): Remove.
44320         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
44322         * sysdeps/alpha/fpu/libm-test-ulps: Update.
44324 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44326         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44328 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44330         * resolv/nss_dns/dns-host.c (getanswer_r)
44331         [MULTI_PTRS_ARE_ALIASES]: Remove code.
44333 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
44335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44336         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
44337         undefine.
44338         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
44339         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
44341 2014-07-01  Roland McGrath <roland@hack.frob.com>
44343         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
44344         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
44346         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
44347         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
44349         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
44350         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
44351         ... here.
44352         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
44353         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
44355         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
44356         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
44357         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
44358         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
44360         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
44361         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
44362         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
44363         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
44364         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
44365         Moved ...
44366         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
44367         ... here.
44368         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
44369         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
44370         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
44371         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
44372         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
44373         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
44374         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
44375         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
44376         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
44377         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
44378         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
44379         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
44380         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
44381         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
44382         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
44383         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
44384         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
44385         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
44386         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
44387         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
44388         ... here.
44389         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
44390         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
44391         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
44392         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
44393         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
44394         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
44395         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
44396         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
44398 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
44400         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
44401         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
44402         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
44403         Add sysdep.
44405 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44409 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44411         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
44412         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44414         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44416         * sysdeps/arm/libm-test-ulps: Regenerated.
44418 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44419             Roland McGrath <roland@hack.frob.com>
44421         * test-skeleton.c (signal_handler): Kill the whole process group
44422         before killing the child individually.
44423         (main): Report any failure on `setpgid'.
44425 2014-06-30  Roland McGrath  <roland@hack.frob.com>
44427         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
44428         from _TLS_H to _ARM_NPTL_TLS_H.
44429         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
44430         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
44432 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44434         [BZ #16539]
44435         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
44436         (__expm1l): Return argument unchanged when small but not
44437         subnormal.
44439         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
44440         include macro name.
44441         (_FP_UNPACK_RAW_1_P): Likewise.
44442         (_FP_PACK_RAW_1): Likewise.
44443         (_FP_PACK_RAW_1_P): Likewise.
44444         (_FP_MUL_MEAT_1_wide): Likewise.
44445         (_FP_MUL_MEAT_DW_1_hard): Likewise.
44446         (_FP_MUL_MEAT_1_hard): Likewise.
44447         (_FP_DIV_MEAT_1_imm): Likewise.
44448         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
44449         (_FP_DIV_MEAT_1_udiv): Likewise.
44450         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
44451         (_FP_UNPACK_RAW_2): Likewise.
44452         (_FP_UNPACK_RAW_2_P): Likewise.
44453         (_FP_PACK_RAW_2): Likewise.
44454         (_FP_PACK_RAW_2_P): Likewise.
44455         (_FP_MUL_MEAT_DW_2_wide): Likewise.
44456         (_FP_MUL_MEAT_2_wide): Likewise.
44457         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
44458         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44459         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
44460         (_FP_MUL_MEAT_2_gmp): Likewise.
44461         (_FP_DIV_MEAT_2_udiv): Likewise.
44462         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
44463         (_FP_FRAC_SRL_4): Likewise.
44464         (_FP_FRAC_SRST_4): Likewise.
44465         (_FP_FRAC_SRS_4): Likewise.
44466         (_FP_UNPACK_RAW_4): Likewise.
44467         (_FP_UNPACK_RAW_4_P): Likewise.
44468         (_FP_PACK_RAW_4): Likewise.
44469         (_FP_PACK_RAW_4_P): Likewise.
44470         (_FP_MUL_MEAT_DW_4_wide): Likewise.
44471         (_FP_MUL_MEAT_4_wide): Likewise.
44472         (_FP_MUL_MEAT_4_gmp): Likewise.
44473         (umul_ppppmnnn): Likewise.
44474         (_FP_DIV_MEAT_4_udiv): Likewise.
44475         (__FP_FRAC_ADD_4): Likewise.
44476         (__FP_FRAC_SUB_3): Likewise.
44477         (__FP_FRAC_SUB_4): Likewise.
44478         (__FP_FRAC_DEC_3): Likewise.
44479         (__FP_FRAC_DEC_4): Likewise.
44480         (__FP_FRAC_ADDI_4): Likewise.
44481         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
44482         (_FP_FRAC_SRL_8): Likewise.
44483         (_FP_FRAC_SRS_8): Likewise.
44485         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
44486         include macro name.
44487         (FP_UNPACK_RAW_EP): Likewise.
44488         (FP_PACK_RAW_E): Likewise.
44489         (FP_PACK_RAW_EP): Likewise.
44490         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
44491         (_FP_ISSIGNAN): Likewise.
44492         (_FP_ADD_INTERNAL): Likewise.
44493         (_FP_FMA): Likewise.
44494         (_FP_CMP): Likewise.
44495         (_FP_SQRT): Likewise.
44496         (_FP_TO_INT): Likewise.
44497         (_FP_FROM_INT): Likewise.
44498         (FP_EXTEND): Likewise.
44499         (_FP_DIV_MEAT_N_loop): Likewise.
44501 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44503         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
44504         throughout.
44506 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
44508         [BZ #17097]
44509         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
44510         result with correct sign in case of exponents that produce
44511         overflow except for X very close to 1.
44513 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
44515         mktime: merge #if/#ifdef usage from glibc
44516         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
44517         as that works with both Glibc's and Gnulib's style.
44518         See thread starting at Siddhesh Poyarekar's bug report at:
44519         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
44521 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44523         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
44524         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
44525         * sysdeps/tile/tilegx/memmove.c: Remove file.
44527 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44529         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
44530         abi-name definition.
44531         * scripts/soversions.awk: Do not handle or generate ABI lines.
44532         * shlib-versions: Remove ABI entries.
44533         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
44534         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
44536 2014-06-27  Roland McGrath  <roland@hack.frob.com>
44538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
44539         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
44540         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
44541         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
44542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
44543         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
44545         Moved ...
44546         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
44547         ... here.
44548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
44549         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
44550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
44551         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
44552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
44553         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
44554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
44555         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
44556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
44557         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
44558         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
44559         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
44560         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44561         Moved ...
44562         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44564         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44565         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44566         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44568         Moved ...
44569         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44571         Moved ...
44572         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44573         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44574         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44576         Moved ...
44577         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44578         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44579         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44580         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44581         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44582         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44583         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44584         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44585         Moved ...
44586         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44588         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44589         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44590         Moved ...
44591         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44593         Moved ...
44594         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44596         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44598         Moved ...
44599         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44600         ... here.
44601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44602         Identical file removed.
44603         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44604         Moved ...
44605         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44606         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44607         Identical file removed.
44608         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44609         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44610         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44611         Moved ...
44612         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44614         Identical file removed.
44615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44616         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44618         Identical file removed.
44619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
44620         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
44621         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
44622         Identical file removed.
44623         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
44624         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
44625         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
44626         Identical file removed.
44627         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
44628         Moved ...
44629         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
44630         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
44631         Identical file removed.
44632         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
44633         Moved ...
44634         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
44635         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
44636         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
44637         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
44638         Identical file removed.
44639         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
44640         Moved ...
44641         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
44642         ... here.
44643         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
44644         Identical file removed.
44645         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
44646         Moved ...
44647         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
44648         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
44649         Identical file removed.
44650         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
44651         Moved ...
44652         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
44653         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
44654         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
44655         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
44656         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
44657         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
44658         Moved ...
44659         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
44660         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
44661         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
44663         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
44664         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
44665         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
44666         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
44667         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
44669 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
44671         [BZ #17092]
44672         * nscd/nscd.c (monitor_child): Return exit status of child
44673         instead of return value from wait syscall.
44675 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44677         * configure.ac (libc_commonpagesize): Remove variable.
44678         (libc_relro_required): Likewise.
44679         (libc_cv_z_relro): Remove configure test.
44680         * configure: Regenerated.
44681         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
44682         variable.
44683         (libc_relro_required): Likewise.
44684         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
44685         (libc_relro_required): Likewise.
44686         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
44687         (libc_relro_required): Likewise.
44688         * sysdeps/arm/preconfigure: Regenerated.
44689         * sysdeps/ia64/preconfigure: Remove file.
44690         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
44691         variable.
44692         (libc_relro_required): Likewise.
44694         [BZ #16561]
44695         [BZ #16562]
44696         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
44697         (__ieee754_yn): Set FE_TONEAREST mode internally and then
44698         recompute overflowing results in original rounding mode.
44699         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
44700         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
44701         recompute overflowing results in original rounding mode.
44702         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
44703         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44704         recompute overflowing results in original rounding mode.
44705         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
44706         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44707         recompute overflowing results in original rounding mode.
44708         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
44709         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44710         recompute overflowing results in original rounding mode.
44711         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44712         (libc_feholdsetround_ctx): New macro.
44713         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
44714         * sysdeps/i386/fpu/libm-test-ulps: Update.
44715         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
44717 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44719         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
44720         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
44721         corresponding .cpsetup call.
44723 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44725         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
44726         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
44727         * sysdeps/arm/Makefile [$(subdir) = csu]
44728         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
44729         (static-only-routines): Add aeabi_read_tp here.
44730         (shared-only-routines): Add libc-aeabi_read_tp here.
44731         (CFLAGS-libc-start.c): Add -fexceptions here.
44732         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
44733         (sysdep_routines, static-only-routines, shared-only-routines):
44734         Don't add to these here.
44735         (CFLAGS-libc-start.c): Likewise.
44737         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
44738         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44739         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
44740         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44741         * sysdeps/arm/Makefile [$(subdir) = rt]
44742         (librt-sysdep_routines, librt-shared-only-routines):
44743         Append rt-aeabi_unwind_cpp_pr1 here.
44744         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
44745         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
44746         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
44747         (libpthread-sysdep_routines, libpthread-shared-only-routines):
44748         Append nptl-aeabi_unwind_cpp_pr1 here.
44749         (tests): Filter out tst-cleanupx4 here.
44750         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
44751         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
44752         Don't do those here.
44754 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44756         * scripts/list-sources.sh: Do not handle ports specially.
44758 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44760         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
44761         * sysdeps/arm/feupdateenv.c: Likewise.
44763         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
44765 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44767         * manual/texinfo.tex: Update to version 2014-05-05.10 with
44768         trailing whitespace removed.
44769         * scripts/config.guess: Update to version 2014-03-23.
44770         * scripts/config.sub: Update to version 2014-05-01
44771         * scripts/install-sh: Update to version 2013-12-25.23.
44772         * scripts/move-if-change: Update from gnulib.
44774 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44776         * debug/memmove_chk.c: Remove pagecopy.h include.
44778 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
44780         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
44781         identical to gnulib mktime.
44783 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44785         * configure.ac: Do not test for machine being rs6000.  Do not test
44786         for powerpc*-*soft.
44787         * configure: Regenerated.
44789         [BZ #11505]
44790         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
44791         test.
44792         * configure: Regenerated.
44793         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
44794         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
44795         Remove configure test.
44796         * sysdeps/arm/configure: Regenerated.
44797         * sysdeps/nptl/configure.ac: Do not check
44798         libc_cv_asm_cfi_directives.
44799         * sysdeps/nptl/configure: Regenerated.
44800         * sysdeps/x86_64/nptl/configure.ac: Remove file.
44801         * sysdeps/x86_64/nptl/configure: Remove generated file.
44802         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
44803         unconditional.
44804         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
44806 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44808         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
44809         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
44810         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
44811         it is defined.
44813         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
44814         instead of whether it is defined.
44815         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
44816         * sysdeps/hppa/dl-machine.h: Likewise.
44817         * sysdeps/ia64/dl-machine.h: Likewise.
44818         * sysdeps/m68k/dl-machine.h: Likewise.
44819         * sysdeps/microblaze/dl-machine.h: Likewise.
44820         * sysdeps/mips/dl-machine.: Likewise.
44821         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44822         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44823         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44824         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44825         * sysdeps/sh/dl-machine.h: Likewise.
44826         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44827         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44828         * sysdeps/tile/dl-machine.h: Likewise.
44829         * sysdeps/x86_64/dl-machine.h: Likewise.
44831         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
44832         code.
44833         (verify_persistent_db): Likewise.
44835 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
44838         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
44839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
44840         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
44841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44842         Moved ...
44843         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
44844         ... here.
44845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
44846         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
44847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
44848         Identical file removed.
44849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
44850         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
44851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
44852         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
44853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
44854         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
44855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
44856         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
44857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
44858         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
44859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44860         Moved ...
44861         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
44862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
44863         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
44864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
44865         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
44866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44867         Moved ...
44868         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
44869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
44870         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
44871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
44872         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
44873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44874         Identical file removed.
44875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
44876         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
44877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
44878         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
44879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44880         Moved ...
44881         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
44882         ... here.
44883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
44884         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
44885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
44886         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
44887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
44888         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
44889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
44890         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
44891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
44892         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
44893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44894         Moved ...
44895         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
44896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
44897         Moved ...
44898         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
44899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
44900         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
44901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44902         Moved ...
44903         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
44904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
44905         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
44907         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
44908         folded into ...
44909         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
44910         * sysdeps/unix/sysv/linux/s390/Versions
44911         (libpthread: GLIBC_2.19): New version set.
44912         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
44913         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
44914         (librt: GLIBC_2.3.3): New version set.
44915         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
44916         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
44917         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
44918         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
44919         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
44920         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
44921         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
44922         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
44923         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
44924         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
44925         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
44926         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
44927         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
44928         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
44929         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
44930         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
44931         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
44932         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
44933         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
44934         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
44935         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
44936         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
44937         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
44938         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
44939         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
44940         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
44941         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
44942         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
44943         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
44944         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
44945         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
44946         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
44947         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
44948         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
44949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
44950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
44951         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
44952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
44953         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
44954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
44955         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
44956         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
44957         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
44958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
44959         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
44961         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
44962         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
44963         (__libc_vfork): Define the function under this name.
44964         [!NOT_IN_libc] (__vfork): Make this an alias.
44965         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
44967         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
44968         (__libc_vfork): Define the function under this name.
44969         [!NOT_IN_libc] (__vfork): Make this an alias.
44970         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44971         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
44972         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
44973         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
44974         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
44975         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44977         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
44978         code that was previously under [RESET_PID].
44979         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
44980         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
44981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
44983         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
44984         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
44985         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
44986         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
44987         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
44988         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
44989         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
44990         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
44991         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
44992         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
44993         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
44994         Moved ...
44995         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
44996         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
44997         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
44998         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
44999         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45000         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45001         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45002         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45003         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45004         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45005         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45006         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45007         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45008         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45009         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45010         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45011         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45012         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45013         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45014         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45015         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45016         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45017         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45018         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45019         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45020         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45021         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45022         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45023         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45025 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45027         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45028         that was previously under [RESET_PID].
45029         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45031 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45033         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45034         not undefine and redefine.
45035         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45036         [O_CLOEXEC]: Make code unconditional.
45037         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45038         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45039         <kernel-features.h>.
45040         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45041         conditional variable definition.
45042         (shm_open) [O_CLOEXEC]: Make code unconditional.
45043         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45044         code.
45046         * configure.ac (USE_REGPARMS): Don't define here.
45047         * configure: Regenerated.
45048         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45049         * sysdeps/i386/configure: Regenerated.
45051         * nptl/createthread.c: Don't include kernel-features.h.
45052         * nptl/pthread_cancel.c: Likewise.
45053         * nptl/pthread_condattr_setclock.c: Likewise.
45054         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45055         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45056         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45057         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45058         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45059         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45060         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45061         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45063         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45064         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45065         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45066         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45067         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45068         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45069         * nscd/gai.c: Likewise.
45070         * nss/nss_db/db-open.c: Likewise.
45071         * sysdeps/generic/ldsodefs.h: Likewise.
45072         * sysdeps/sh/nptl/tls.h: Likewise.
45073         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45074         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45075         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45076         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45077         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45078         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45079         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45080         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45081         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45082         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45083         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45084         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45085         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45086         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45087         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45088         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45089         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45090         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45091         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45092         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45093         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45094         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45095         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45096         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45097         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45098         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45099         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45101         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45102         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45103         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45104         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45105         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45106         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45107         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45108         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45109         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45110         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45111         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45112         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45113         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45114         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45115         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45116         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45117         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45118         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45119         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45120         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45121         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45122         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45123         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45124         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45125         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45126         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45127         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45128         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45129         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45130         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45153         * sysdeps/unix/sysv/linux/pread.c: Likewise.
45154         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45155         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45156         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45157         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45158         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45159         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45160         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45161         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45162         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45163         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45164         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45165         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45166         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45167         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45168         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45169         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45170         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45171         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45172         * sysdeps/unix/sysv/linux/system.c: Likewise.
45173         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45174         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45175         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45176         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45177         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45178         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45179         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45181         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45182         * configure: Regenerated.
45183         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45185         * configure.ac (base_machine): Do not set specially for particular
45186         machines here.
45187         * configure: Regenerated.
45188         * sysdeps/powerpc/preconfigure: Move machine and base_machine
45189         settings from configure.ac.
45190         * sysdeps/i386/preconfigure: New file.
45191         * sysdeps/s390/preconfigure: Likewise.
45192         * sysdeps/sh/preconfigure: Likewise.
45193         * sysdeps/sparc/preconfigure: Likewise.
45195 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45197         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45198         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45199         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45200         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45201         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45202         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45203         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45204         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45205         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45206         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45207         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45208         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45209         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45211         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45214         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45215         * sysdeps/sparc/sparc64/Makefile: ... appended here.
45217         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45218         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45219         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45220         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45221         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45222         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45223         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45224         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45225         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45226         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45227         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45228         * sysdeps/sparc/sparc32/sem_post.c: ... here.
45229         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
45230         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
45231         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
45232         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
45233         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
45234         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
45235         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
45236         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
45237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
45238         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45239         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
45240         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
45241         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
45242         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
45243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
45244         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
45245         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
45246         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
45247         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
45248         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
45249         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
45250         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
45251         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
45252         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
45253         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
45254         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
45256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
45257         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
45258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
45259         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
45260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45261         Moved ...
45262         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
45263         ... here.
45264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
45265         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
45266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
45267         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
45268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
45269         Moved ...
45270         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
45271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
45272         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
45273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
45274         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
45275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
45276         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
45277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45278         Moved ...
45279         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
45280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45281         Moved ...
45282         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
45283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
45284         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
45285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45286         Moved ...
45287         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
45288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
45289         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
45290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
45291         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
45292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
45293         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
45294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
45295         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
45296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45297         Moved ...
45298         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
45299         ... here.
45300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
45301         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
45302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
45303         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
45304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
45305         Moved ...
45306         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
45307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
45308         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
45309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
45310         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
45311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
45312         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
45313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45314         Moved ...
45315         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
45316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45317         Moved ...
45318         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
45319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
45320         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
45321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45322         Moved ...
45323         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
45324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
45325         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
45326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
45327         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
45329 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45331         * timezone/checktab.awk: Update from tzcode 2014e.
45332         * timezone/private.h: Likewise.
45333         * timezone/tzfile.h: Likewise.
45334         * timezone/zdump.c: Likewise.
45335         * timezone/zic.c: Likewise.
45337         * sysdeps/unix/sysv/linux/kernel-features.h
45338         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
45339         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
45340         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
45341         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45342         Remove conditional code.
45344 2014-06-25  Will Newton  <will.newton@linaro.org>
45346         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
45347         (_dl_arm_cap_flags): Add HWCAP2 values.
45348         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
45349         (_DL_HWCAP_COUNT): Increase to 37.
45350         (_DL_HWCAP_LAST): New define.
45351         (_DL_HWCAP2_LAST): New define.
45352         (_dl_procinfo): Add support for printing
45353         AT_HWCAP2 entries.
45354         (_dl_string_hwcap): Use _dl_hwcap_string.
45356 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45360 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45362         * README: Do not mention ports directory.
45364         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
45365         Remove macro.
45366         * sysdeps/unix/sysv/linux/futimes.c: Do not include
45367         <kernel-features.h>.
45368         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
45369         conditional variable definition.
45370         (__futimes): Update comment.
45371         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
45372         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
45374         [BZ #16560]
45375         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
45376         arguments close to 0.
45377         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
45378         Likewise.
45379         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
45380         Likewise.
45381         * math/auto-libm-test-in: Add more tests of exp10.
45382         * math/auto-libm-test-out: Regenerated.
45383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45385         * sysdeps/unix/sysv/linux/kernel-features.h
45386         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
45387         * sysdeps/unix/sysv/linux/readv.c: Do not include
45388         <kernel-features.h>.
45389         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45390         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45391         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45392         unconditional.
45393         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45394         conditional code.
45395         * sysdeps/unix/sysv/linux/writev.c: Do not include
45396         <kernel-features.h>.
45397         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45398         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45399         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45400         unconditional.
45401         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45402         conditional code.
45404 2014-06-25  Will Newton  <will.newton@linaro.org>
45406         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
45407         comment changes throughout the file.  Remove checks
45408         for HAVE_*_H definitions that are not required.
45409         (__gen_tempname): Call abort if an unknown kind value is
45410         passed.
45412 2014-06-25  Andreas Schwab  <schwab@suse.de>
45414         [BZ #17086]
45415         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
45416         scalbln, scalblnf, scalblnl in libc.
45418 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45420         [BZ #17086]
45421         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
45422         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45423         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45425 2014-06-24  Roland McGrath  <roland@hack.frob.com>
45427         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
45428         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
45429         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
45430         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
45431         Update #include.
45432         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
45433         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
45434         Update #include.
45435         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
45436         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
45437         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
45438         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
45439         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
45440         * sysdeps/x86/bits/pthreadtypes.h: ... here.
45441         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
45442         * sysdeps/x86/bits/semaphore.h: ... here.
45443         * sysdeps/x86/nptl/elide.h: Moved ...
45444         * sysdeps/x86/elide.h: ... here.
45445         * sysdeps/x86_64/nptl/Implies: File removed.
45446         * sysdeps/i386/nptl/Implies: File removed.
45448 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
45450         [BZ #16539]
45451         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
45452         return the argument for normal arguments with exponent below -64.
45453         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45454         Likewise.
45455         * math/auto-libm-test-in: Add another test of expm1.
45456         * math/auto-libm-test-out: Regenerated.
45458         [BZ #16287]
45459         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
45460         calling __erfcl for arguments at least 16.
45461         * math/auto-libm-test-in: Add more tests of erf.
45462         * math/auto-libm-test-out: Regenerated.
45464         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
45465         individual architectures.
45466         * sysdeps/unix/sysv/linux/configure: Regenerated.
45467         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
45468         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
45469         * sysdeps/unix/sysv/linux/powerpc/configure.ac
45470         (ldd_rewrite_script): Define variable.
45471         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
45473         file.
45474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
45475         generated file.
45476         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
45477         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
45478         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
45479         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
45480         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
45481         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
45482         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
45483         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
45485 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45487         [BZ #17084]
45488         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
45489         Rename member __data.d to __data.__elision_data.
45491 2014-06-24  Wilco  <wdijkstr@arm.com>
45493         * NEWS: Add 16918 to fixed bug list.
45495 2014-06-24  Wilco  <wdijkstr@arm.com>
45497         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
45499 2014-06-24  Wilco  <wdijkstr@arm.com>
45501         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
45502         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
45503         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
45504         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
45505         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
45506         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
45507         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
45508         Use _FPU_MASK_RM.
45510 2014-06-24  Wilco  <wdijkstr@arm.com>
45512         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
45514 2014-06-24  Wilco  <wdijkstr@arm.com>
45516         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
45517         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
45518         * sysdeps/arm/fesetround.c (fesetround): Remove space.
45519         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
45521 2014-06-24  Wilco  <wdijkstr@arm.com>
45523         [BZ #16918]
45524         * sysdeps/arm/feupdateenv.c (feupdateenv):
45525         Rewrite to reduce FPSCR accesses and fix return value.
45527 2014-06-24  Wilco  <wdijkstr@arm.com>
45529         * sysdeps/arm/fclrexcpt.c (feclearexcept):
45530         Optimize to avoid unnecessary FPSCR writes.
45531         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
45532         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
45533         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
45534         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45536 2014-06-24  Wilco  <wdijkstr@arm.com>
45538         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
45539         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
45540         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
45541         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
45542         Call libc_fetestexcept_vfp.
45543         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
45544         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
45545         __SOFTFP__ ifdef so that they can be built for softfp.
45547 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45549         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
45550         argument type signed char.
45552         * Makerules (check-abi): Dump diff of symlist if the test
45553         fails.
45555 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45557         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
45558         using abort.
45560         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45561         Remove unused variable ST.
45563 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45565         [BZ #16354]
45566         [BZ #17061]
45567         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45568         small arguments before calling __expm1.
45569         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45570         small arguments before calling __expm1f.
45571         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45572         small arguments before calling __expm1l.
45573         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45574         Likewise.
45575         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45576         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45577         spurious underflow for some cosh tests.
45578         * math/auto-libm-test-out: Regenerated.
45579         * sysdeps/i386/fpu/libm-test-ulps: Update.
45581         [BZ #17050]
45582         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45583         (__ieee754_y1): Set errno if return value overflows.
45584         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45585         (__ieee754_y1f): Set errno if return value overflows.
45586         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45587         (__ieee754_y1l): Set errno if return value overflows.
45588         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45589         (__ieee754_y1l): Set errno if return value overflows.
45590         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45591         * math/auto-libm-test-out: Regenerated.
45593         * math/gen-auto-libm-tests.c: Document use of
45594         ignore-zero-inf-sign.
45595         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45596         (input_flags): Add ignore-zero-inf-sign.
45597         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45598         * math/gen-libm-test.pl (generate_testfile): Handle
45599         ignore-zero-inf-sign.
45600         * math/auto-libm-test-in: Mark some cpow tests with
45601         ignore-zero-inf-sign and some with xfail-rounding.
45602         * math/auto-libm-test-out: Regenerated.
45603         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45604         * sysdeps/i386/fpu/libm-test-ulps: Update.
45605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45607         [BZ #16315]
45608         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45609         overflowing or underflowing operations take place with sign of
45610         result.
45611         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45612         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45613         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45614         (__ieee754_pow): Recompute overflowing and underflowing results in
45615         original rounding mode.
45616         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45617         (__powl_helper): Allow negative argument X and scale negated value
45618         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
45619         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
45620         overflowing or underflowing operations take place with sign of
45621         result.
45622         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
45623         Include <math.h>.
45624         * math/auto-libm-test-in: Add more tests of pow.
45625         * math/auto-libm-test-out: Regenerated.
45626         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
45627         (pow_tonearest_test_data): Remove.
45628         (pow_test_tonearest): Likewise.
45629         (pow_towardzero_test_data): Likewise.
45630         (pow_test_towardzero): Likewise.
45631         (pow_downward_test_data): Likewise.
45632         (pow_test_downward): Likewise.
45633         (pow_upward_test_data): Likewise.
45634         (pow_test_upward): Likewise.
45635         (main): Don't call removed functions.
45636         * sysdeps/i386/fpu/libm-test-ulps: Update.
45637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45639 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
45642         Moved ...
45643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
45644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45645         Moved ...
45646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
45647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45648         Moved ...
45649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
45650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45651         Moved ...
45652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
45653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45654         File removed.
45655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45656         File removed.
45657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
45658         File removed.
45659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
45660         File removed.
45661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
45662         File removed.
45663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
45664         File removed.
45665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
45666         File removed.
45667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45668         File removed.
45669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
45670         File removed.
45671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45672         File removed.
45673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
45674         File removed.
45675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
45676         File removed.
45677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
45678         Moved ...
45679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
45680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
45681         Moved ...
45682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
45683         ... here.
45684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
45685         Moved ...
45686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
45687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
45688         Moved ...
45689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
45690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
45691         Moved ...
45692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
45693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
45694         Moved ...
45695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
45696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
45697         Moved ...
45698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
45699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
45700         Moved ...
45701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
45702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
45703         Moved ...
45704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
45705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
45706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
45707         ... here.
45708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
45709         Moved ...
45710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
45711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45712         Moved ...
45713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
45714         ... here.
45715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
45716         Moved ...
45717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45718         ... here.
45719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45720         Moved ...
45721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
45722         ... here.
45723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45724         Moved ...
45725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
45726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45727         Moved ...
45728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
45729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
45730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
45731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45732         Moved ...
45733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
45734         ... here.
45735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45736         Moved ...
45737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
45738         ... here.
45739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45740         Moved ...
45741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
45742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45743         Moved ...
45744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
45745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45746         Moved ...
45747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
45748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45749         Moved ...
45750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
45751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45752         Moved ...
45753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
45754         ... here.
45755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45756         Moved ...
45757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
45758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45759         Moved ...
45760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
45761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45762         Moved ...
45763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
45764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45765         Moved ...
45766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
45767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
45768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
45769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45770         Moved ...
45771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
45772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45773         Moved ...
45774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
45775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45776         Moved ...
45777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
45778         ... here.
45779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45780         Moved ...
45781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
45782         ... here.
45783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45784         Moved ...
45785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
45786         ... here.
45787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45788         Moved ...
45789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
45790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45791         Moved ...
45792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
45793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45794         Moved ...
45795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
45796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45797         Moved ...
45798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
45799         ... here.
45800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45801         Moved ...
45802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
45803         ... here.
45804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45805         Moved ...
45806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
45807         ... here.
45808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45809         Moved ...
45810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
45811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45812         Moved ...
45813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
45815 2014-06-23  Will Newton  <will.newton@linaro.org>
45816             Wilco  <wdijkstr@arm.com>
45818         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
45819         implementation.  Include get-rounding-mode.h.
45820         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
45821         [!libc_feholdsetround_noex_ctx]: Define
45822         libc_feholdsetround_noex_ctx.
45823         [!libc_feholdsetround_noexf_ctx]: Define
45824         libc_feholdsetround_noexf_ctx.
45825         [!libc_feholdsetround_noexl_ctx]: Define
45826         libc_feholdsetround_noexl_ctx.
45827         (libc_feholdsetround_ctx): New function.
45828         (libc_feresetround_ctx): New function.
45829         (libc_feholdsetround_noex_ctx): New function.
45830         (libc_feresetround_noex_ctx): New function.
45832 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45834         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
45835         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
45836         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
45837         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
45838         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
45839         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
45841         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
45842         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
45843         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
45844         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
45845         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
45846         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
45847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
45848         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
45849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
45850         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
45851         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
45852         Moved ...
45853         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
45854         ... here.
45855         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
45856         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
45857         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
45858         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
45859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
45860         Moved ...
45861         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
45862         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
45863         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
45864         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
45865         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
45866         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
45867         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
45868         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
45869         Moved ...
45870         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
45871         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
45872         Moved ...
45873         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
45874         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
45875         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
45876         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
45877         Moved ...
45878         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
45879         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
45880         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
45881         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
45882         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
45883         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
45884         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
45885         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
45886         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
45887         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
45888         Moved ...
45889         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
45890         ... here.
45891         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
45892         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
45893         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
45894         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
45895         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
45896         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
45897         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
45898         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
45899         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
45900         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
45901         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
45902         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
45903         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
45904         Moved ...
45905         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
45906         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
45907         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
45908         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
45909         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
45910         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
45911         Moved ...
45912         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
45913         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
45914         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
45915         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
45916         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
45918         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
45919         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
45920         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
45921         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
45922         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
45923         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
45924         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
45925         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
45926         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
45927         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
45928         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
45929         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
45930         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
45931         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
45932         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
45933         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
45934         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
45935         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
45936         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
45937         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
45938         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
45939         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
45940         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
45941         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
45942         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
45943         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
45944         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
45945         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
45947 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45949         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
45950         (FALLOC_FL_COLLAPSE_RANGE): New macro.
45951         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
45952         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
45953         (IPV6_PMTUDISC_INTERFACE): Likewise.
45954         (IPV6_PMTUDISC_OMIT): Likewise.
45956 2014-06-23  Andreas Schwab  <schwab@suse.de>
45958         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
45959         Remove unused errout label.
45961 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45963         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
45964         macro: hardware supports Vector Crypto instructions.
45966 2014-06-23  Will Newton  <will.newton@linaro.org>
45968         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
45969         rather than __builtin_expect.
45971         * elf/dl-lookup.c (undefined_msg): Remove variable.
45972         (_dl_lookup_symbol_x): Replace undefined_msg with string
45973         literal.
45975         * elf/dl-lookup.c (do_lookup_unique): New function.
45976         (do_lookup_x): Move STB_GNU_UNIQUE handling code
45977         to a separate function.
45979 2014-06-23  Andreas Schwab  <schwab@suse.de>
45981         [BZ #17079]
45982         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
45983         before reading the next line.
45985 2014-06-23  Will Newton  <will.newton@linaro.org>
45987         * test-skeleton.c (signal_handler): Use printf and %m
45988         rather than perror.  Use printf rather than fprintf to
45989         stderr.  Use puts rather than fputs to stderr.
45990         (main): Likewise.
45992 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
45994         * nscd/nscd.c (thread_info_t): Remove typedef.
45995         (thread_info): Remove variable.
45997 2014-06-21  Allan McRae  <allan@archlinux.org>
45999         * NEWS: Mention CVE-2014-4043.
46001 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46003         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46004         * nptl/smp.h: ... here.
46006         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46008         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46009         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46010         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46011         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46013         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46014         * nptl/stack-aliasing.h: New file.
46015         * sysdeps/i386/i686/stack-aliasing.h: New file.
46016         * sysdeps/i386/i686/nptl/Makefile: File removed.
46017         * sysdeps/x86_64/stack-aliasing.h: New file.
46018         * sysdeps/x86_64/nptl/Makefile
46019         (CFLAGS-pthread_create.c): Variable removed.
46021         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46022         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46023         old file.
46024         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46025         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46026         old file.
46028 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46030         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46031         (__ASSUME_SIGFRAME_V2): Remove macro.
46032         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46033         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46034         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46035         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46036         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46037         Declare as function.  Remove conditional macro definitions.
46038         (__default_rt_sa_restorer): Likewise.
46039         (__default_sa_restorer_v1): Remove declaration.
46040         (__default_sa_restorer_v2): Likewise.
46041         (__default_rt_sa_restorer_v1): Likewise.
46042         (__default_rt_sa_restorer_v2): Likewise.
46043         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46044         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46045         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46047 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46049         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46050         (libpthread-routines): Add sysdep.
46051         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46052         * sysdeps/unix/sysv/linux/sparc/Versions
46053         (libpthread: GLIBC_2.3.3): New version set.
46054         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46055         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46056         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46057         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46058         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46059         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46060         Moved ...
46061         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46062         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46063         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46064         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46065         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46066         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46067         * sysdeps/sparc/nptl/sem_init.c: ... here.
46068         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46069         * sysdeps/sparc/nptl/sem_post.c: ... here.
46070         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46071         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46072         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46073         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46074         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46075         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46076         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46077         (libpthread-routines): Add cpu_relax.
46078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46079         File removed.
46080         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46081         (librt: GLIBC_2.3.3): New version set.
46082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46083         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46084         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46085         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46088         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46090         Moved ...
46091         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46093         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46095         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46097         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46099         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46101         Moved ...
46102         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46103         Update #include.
46104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46105         Moved ...
46106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46107         Update #include.
46108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46109         Moved ...
46110         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46111         Update #include.
46112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46113         Moved ...
46114         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46115         Update #include.
46116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46117         Moved ...
46118         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46119         Update #include.
46120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46121         Moved ...
46122         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46123         Update #include.
46124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46125         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46131         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46133         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46135         Moved ...
46136         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46138         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46140         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46142 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46144         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46145         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46146         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46147         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46148         * nscd/nscd.c: Likewise.
46149         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46150         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46151         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46152         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46154         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46155         <kernel-features.h>.
46156         (init_mq_netlink): Remove conditional have_sock_cloexec
46157         definitions.  Remove code conditional on have_sock_cloexec < 0.
46158         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46159         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46160         * sysdeps/unix/sysv/linux/opensock.c: Do not include
46161         <kernel-features.h>.
46162         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46163         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46165 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46168         Add tests for memset_chk and memset.
46170         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46171         with AVX2_Usable.
46173 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46175         [BZ #16046]
46176         * elf/tst-dl-iter-static.c: New file.
46177         * elf/Makefile (tests-static): Add tst-dl-iter-static.
46179         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46180         error.
46182 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46184         * sysdeps/unix/sysv/linux/kernel-features.h
46185         (__ASSUME_F_GETOWN_EX): Remove macro.
46186         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46187         <kernel-features.h>.
46188         (miss_F_GETOWN_EX): Remove variable or macro.
46189         (do_fcntl): Do not check miss_F_GETOWN_EX.
46190         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46192         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46193         Remove macro.
46194         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46195         [!__ASSUME_AT_RANDOM]: Remove conditional code.
46196         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46198         * sysdeps/unix/sysv/linux/kernel-features.h
46199         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46200         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46201         [ADJ_OFFSET_SS_READ]: Make code unconditional.
46202         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46204 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46206         [BZ #17075]
46207         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46208         Fix calculation of the symbol's value.
46209         * sysdeps/arm/tst-armtlsdescloc.c: New file.
46210         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46211         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46212         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46213         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46214         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46215         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46216         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46217         (modules-names): Add `tst-armtlsdescmod',
46218         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46219         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46220         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46221         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46222         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46223         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46224         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46225         ($(objpfx)tst-armtlsdescloc): New dependency.
46226         ($(objpfx)tst-armtlsdescextnow): Likewise.
46227         ($(objpfx)tst-armtlsdescextlazy): Likewise.
46228         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46229         TLS scheme support.
46230         * sysdeps/arm/configure: Regenerate.
46232 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46234         * include/fcntl.h (__atfct_seterrno): Remove prototype.
46235         (__atfct_seterrno_2): Likewise.
46236         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
46237         <kernel-features.h>.
46238         (__ASSUME_ATFCTS): Do not undefine and redefine.
46239         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
46240         (__have_atfcts): Remove conditional definition.
46241         (__fxstatat([__NR_fstatat64]: Make code unconditional.
46242         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
46243         unreachable if [__ASSUME_ATFCTS].
46244         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
46245         not undefine and redefine.
46246         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
46247         <kernel-features.h>.
46248         (faccessat) [__NR_faccessat]: Make code unconditional.
46249         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
46250         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
46251         <kernel-features.h>.
46252         (fchmodat) [__NR_fchmodat]: Make code unconditional.
46253         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46254         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
46255         <kernel-features.h>.
46256         (fchownat) [__NR_fchownat]: Make code unconditional.
46257         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
46258         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
46259         <kernel-features.h>.
46260         (futimesat) [__NR_futimesat]: Make code unconditional.
46261         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
46262         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46263         <kernel-features.h>.
46264         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46265         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46266         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46267         <kernel-features.h>.
46268         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
46269         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46270         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
46271         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46272         <kernel-features.h>.
46273         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
46274         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46275         * sysdeps/unix/sysv/linux/linkat.c: Do not include
46276         <kernel-features.h>.
46277         (linkat) [__NR_linkat]: Make code unconditional.
46278         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46279         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
46280         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
46281         <kernel-features.h>.
46282         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
46283         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46284         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
46285         <kernel-features.h>.
46286         (mkdirat) [__NR_mkdirat]: Make code unconditional.
46287         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
46288         * sysdeps/unix/sysv/linux/openat.c: Do not include
46289         <kernel-features.h>.
46290         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
46291         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
46292         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
46293         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
46294         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
46295         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
46296         <kernel-features.h>.
46297         (readlinkat) [__NR_readlinkat]: Make code unconditional.
46298         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
46299         result of INLINE_SYSCALL directly, not via int variable.
46300         * sysdeps/unix/sysv/linux/renameat.c: Do not include
46301         <kernel-features.h>.
46302         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
46303         (renameat) [__NR_renameat]: Make code unconditional.
46304         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
46305         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
46306         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
46307         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
46308         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
46309         (__ASSUME_ATFCTS): Do not undefine and redefine.
46310         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
46311         <kernel-features.h>.
46312         (symlinkat) [__NR_symlinkat]: Make code unconditional.
46313         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46314         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
46315         <kernel-features.h>.
46316         (unlinkat) [__NR_unlinkat]: Make code unconditional.
46317         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46318         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
46319         (__ASSUME_ATFCTS): Do not undefine and redefine.
46320         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46321         <kernel-features.h>.
46322         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46323         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46324         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46325         <kernel-features.h>.
46326         (__xmknodat) [__NR_mknodat]: Make code unconditional.
46327         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46329 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46331         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
46333 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
46335         [BZ #17069]
46336         * posix/regcomp.c (parse_reg_exp): Deallocate partially
46337         constructed tree before returning error.
46338         * posix/bug-regexp36.c: Expand test case.
46340 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
46342         [BZ #6803]
46343         * math/libm-test.inc (scalbln_test_date):
46344         Add errno expectations.
46345         * math/w_scalblnf.c: New File.
46346         Add wrapper which checks for setting errno to ERANGE.
46347         Add weak_alias for corresponding scalbln function.
46348         * math/w_scalbln.c: Likewise.
46349         * math/w_scalblnl.c: Likewise.
46350         * math/Makefile (libm-calls): Add w_scalbln.
46351         * sysdeps/ieee754/flt-32/s_scalblnf.c:
46352         Remove weak_alias for corresponding scalbln function.
46353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46354         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46355         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46356         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46357         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
46358         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46359         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
46360         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46361         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
46362         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
46363         Remove long_double_symbol for scalblnl function in libm, libc.
46364         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
46365         Add wrapper which checks for setting errno to ERANGE.
46366         Add long_double_symbol for scalblnl function in libm, libc.
46367         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
46368         Remove long_double_symbol for scalblnl in libm.
46369         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
46370         Add wrapper which checks for setting errno to ERANGE.
46371         Add long_double_symbol for scalblnl function in libm.
46372         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
46373         Do not use wrapper because of own implementation.
46375 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
46377         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
46378         3 bytes for __pad1 for x32.
46379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
46381 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
46382             H.J. Lu  <hongjiu.lu@intel.com>
46384         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
46385         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
46386         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46387         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46388         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
46390 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
46392         [BZ #17069]
46393         * posix/regcomp.c (parse_expression): Deallocate partially
46394         constructed tree before returning error.
46395         * posix/Makefile.c (tests): Add bug-regex36.
46396         (generated): Add bug-regex36.mtrace.
46397         (tests-special): Add $(objpfx)bug-regex36-mem.out
46398         (bug-regex36-ENV): New variable.
46399         ($(objpfx)bug-regex36-mem.out): New rule.
46400         * posix/bug-regex36.c: New file.
46402 2014-06-19  Will Newton  <will.newton@linaro.org>
46404         * malloc/malloc.c (systrim): If extra is zero then return
46405         early.
46407 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46409         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
46411 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
46413         * sysdeps/aarch64/strchr.S: New file.
46415 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46417         [BZ #17022]
46418         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
46419         from arguments -2 or below.
46420         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46421         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
46423 2014-06-18  Andreas Schwab  <schwab@suse.de>
46425         [BZ #17062]
46426         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
46427         of a bracket expr not to run off the end of the string.
46428         * posix/Makefile (tests): Add tst-fnmatch3.
46429         * posix/tst-fnmatch3.c: New file.
46431 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46433         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
46434         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46435         [$(cross-compiling) = no]: Likewise.
46436         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46437         [$(cross-compiling) = no]: Likewise.
46439 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46441         [BZ #17031]
46442         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
46443         double, adjusted for any remainder from the high double.
46444         * math/libm-test.inc (nearbyint): Add tests.
46445         (rint): Likewise.
46447 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46449         * nptl/sysdeps/powerpc/Makefile: Moved ...
46450         * sysdeps/powerpc/nptl/Makefile: ... here.
46451         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
46452         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
46453         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
46454         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
46455         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
46456         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
46457         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
46458         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
46459         * nptl/sysdeps/powerpc/tls.h: Moved ...
46460         * sysdeps/powerpc/nptl/tls.h: ... here.
46462 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
46464         [BZ #16681]
46465         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
46466         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
46467         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
46468         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
46469         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
46470         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
46471         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
46472         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
46473         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
46475 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
46477         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46479 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
46481         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
46482         defined operator.
46484         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
46485         $TIMEOUTFACTOR.
46487 2014-06-16  Florian Weimer  <fweimer@redhat.com>
46489         [BZ #17058]
46490         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
46491         non-executed part of the test.
46493 2014-06-16  Andreas Schwab  <schwab@suse.de>
46495         * string/bits/string2.h (strdup, strndup): Update feature guard.
46497 2014-06-14  David S. Miller  <davem@davemloft.net>
46499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46501 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
46503         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
46504         that was previously under [RESET_PID].
46505         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
46507         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
46508         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
46509         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
46510         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46511         (__libc_vfork): New strong alias.
46512         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
46514 2014-06-14 Andi Kleen  <ak@linux.intel.com>
46516         * sysdeps/generic/elide.h: New file.
46518 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
46520         * Makefile (installed-headers): Adjust path of pthread.h header.
46522 2014-06-13  Roland McGrath  <roland@hack.frob.com>
46524         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
46525         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
46526         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
46527         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
46529         * nptl/sysdeps/s390/Makefile: Moved ...
46530         * sysdeps/s390/nptl/Makefile: ... here.
46531         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46532         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
46533         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
46534         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
46535         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
46536         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
46537         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46538         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
46539         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
46540         * sysdeps/s390/nptl/pthreaddef.h: ... here.
46541         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
46542         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
46543         * nptl/sysdeps/s390/tls.h: Moved ...
46544         * sysdeps/s390/nptl/tls.h: ... here.
46546         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
46547         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
46549 2014-06-13  David S. Miller  <davem@davemloft.net>
46551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
46552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
46553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
46554         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
46555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
46556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
46557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
46558         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46559         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
46560         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46561         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46562         Remove RESET_PID cpp guards.
46563         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46564         Remove RESET_PID cpp guards.
46565         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46567 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
46569         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46570         __sp to uintptr_t.
46572 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46574         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46575         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46576         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46577         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46578         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46579         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46580         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46581         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46582         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46583         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46584         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46585         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46586         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46587         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46588         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46589         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46590         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46591         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46592         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46593         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46595         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46596         (pthread_rwlock_rdlock): Add elision.
46597         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46598         (pthread_rwlock_wrlock): Add elision.
46599         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46600         (pthread_rwlock_trywrlock): Add elision.
46601         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46602         (pthread_rwlock_tryrdlock): Add elision.
46603         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46604         (pthread_rwlock_tryrdlock): Add elision unlock.
46605         * nptl/sysdeps/pthread/pthread.h:
46606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46607         (PTHREAD_RWLOCK_INITIALIZER,
46608         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46609         Handle new elision field.
46610         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46611         * sysdeps/arm/nptl/bits/pthreadtypes.h
46612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46613         * sysdeps/sh/nptl/bits/pthreadtypes.h
46614         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46615         * sysdeps/tile/nptl/bits/pthreadtypes.h
46616         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46617         * sysdeps/a/nptl/bits/pthreadtypes.h
46618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46619         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46620         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46621         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46623         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
46624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46625         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46627         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46628         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46629         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46630         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46631         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46633         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
46634         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46635         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
46636         (elision_init): Set try_xbegin to zero when no RTM.
46637         * sysdeps/x86/nptl/bits/pthreadtypes.h
46638         (pthread_rwlock_t): Change __pad1 to __rwelision.
46639         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46641 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46643         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
46644         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
46645         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
46646         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
46648 2014-06-13  Meador Inge  <meadori@codesourcery.com>
46650         [BZ #16996]
46651         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
46652         that the cached result has been set before returning it.
46654 2014-06-12  Roland McGrath  <roland@hack.frob.com>
46656         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
46657         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
46658         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
46659         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
46660         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
46661         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
46663         * nptl/sysdeps/sparc/Makefile: Moved ...
46664         * sysdeps/sparc/nptl/Makefile: ... here.
46665         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
46666         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
46667         * nptl/sysdeps/sparc/tls.h: Moved ...
46668         * sysdeps/sparc/nptl/tls.h: ... here.
46669         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
46670         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
46671         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
46672         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
46673         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
46674         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
46675         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
46676         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
46677         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
46678         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
46679         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
46680         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
46681         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
46682         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
46683         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
46684         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
46685         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
46686         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
46687         Update #include.
46688         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
46689         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
46690         Update #include.
46691         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
46692         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
46693         Update #include.
46694         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
46695         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
46696         Update #include.
46698         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46700         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
46701         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
46703         * sysdeps/pthread/posix-timer.h: Include <list.h>.
46704         (struct list_links): Type removed.
46705         (struct thread_node, struct timer_node): Replace struct list_links
46706         with struct list_head.
46707         (list_unlink_ip): Likewise.
46708         * sysdeps/pthread/timer_routines.c
46709         (timer_free_list, thread_free_list, thread_active_list): Likewise.
46710         (list_append, list_insbefore): Likewise.
46711         (list_init): Function removed.
46712         (thread_init, init_module): Use INIT_LIST_HEAD instead.
46713         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
46714         * sysdeps/pthread/Makefile: ... here, new file.
46716         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
46717         * sysdeps/nptl/Implies: ... here.
46718         * sysdeps/unix/sysv/linux/Implies: Add nptl.
46719         * nptl/sysdeps/pthread/list.h: Moved ...
46720         * include/list.h: ... here.
46721         * nptl/sysdeps/pthread/createthread.c: Moved ...
46722         * nptl/createthread.c: ... here.
46723         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
46724         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
46725         * nptl/pt-longjmp.c: ... here.
46726         * nptl/sysdeps/pthread/Makefile: Moved ...
46727         * sysdeps/nptl/Makefile: ... here.
46728         * nptl/sysdeps/pthread/Subdirs: Moved ...
46729         * sysdeps/nptl/Subdirs: ... here.
46730         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
46731         * sysdeps/nptl/aio_misc.h: ... here.
46732         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
46733         * sysdeps/nptl/bits/libc-lock.h: ... here.
46734         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
46735         * sysdeps/nptl/bits/libc-lockP.h: ... here.
46736         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
46737         * sysdeps/nptl/bits/stdio-lock.h: ... here.
46738         * nptl/sysdeps/pthread/configure: Moved ...
46739         * sysdeps/nptl/configure: ... here.
46740         * nptl/sysdeps/pthread/configure.ac: Moved ...
46741         * sysdeps/nptl/configure.ac: ... here.
46742         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46743         * sysdeps/nptl/gai_misc.h: ... here.
46744         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
46745         * sysdeps/nptl/librt-cancellation.c: ... here.
46746         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
46747         * sysdeps/nptl/malloc-machine.h: ... here.
46748         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
46749         * sysdeps/nptl/pthread-functions.h: ... here.
46750         * nptl/sysdeps/pthread/pthread.h: Moved ...
46751         * sysdeps/nptl/pthread.h: ... here.
46752         * nptl/sysdeps/pthread/setxid.h: Moved ...
46753         * sysdeps/nptl/setxid.h: ... here.
46754         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
46755         * sysdeps/nptl/sigfillset.c: ... here.
46756         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
46757         * sysdeps/nptl/tcb-offsets.h: ... here.
46758         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
46759         * sysdeps/nptl/tst-mqueue8x.c: ... here.
46760         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
46761         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
46762         * nptl/sysdeps/pthread/allocalim.h: Moved ...
46763         * sysdeps/pthread/allocalim.h: ... here.
46764         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
46765         * sysdeps/pthread/bits/sigthread.h: ... here.
46766         * nptl/sysdeps/pthread/flockfile.c: Moved ...
46767         * sysdeps/pthread/flockfile.c: ... here.
46768         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
46769         * sysdeps/pthread/ftrylockfile.c: ... here.
46770         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
46771         * sysdeps/pthread/funlockfile.c: ... here.
46772         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
46773         * sysdeps/pthread/posix-timer.h: ... here.
46774         * nptl/sysdeps/pthread/timer_create.c: Moved ...
46775         * sysdeps/pthread/timer_create.c: ... here.
46776         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
46777         * sysdeps/pthread/timer_delete.c: ... here.
46778         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
46779         * sysdeps/pthread/timer_getoverr.c: ... here.
46780         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
46781         * sysdeps/pthread/timer_gettime.c: ... here.
46782         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
46783         * sysdeps/pthread/timer_routines.c: ... here.
46784         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
46785         * sysdeps/pthread/timer_settime.c: ... here.
46786         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
46787         * sysdeps/pthread/tst-timer.c: ... here.
46788         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
46789         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
46791         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
46792         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
46794         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
46795         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
46796         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
46797         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
46798         Update #include target.
46799         * nptl/sysdeps/i386/i686/Makefile: Moved ...
46800         * sysdeps/i386/i686/nptl/Makefile: ... here.
46801         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
46802         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
46803         Update #include target.
46804         * nptl/sysdeps/i386/i686/tls.h: Moved ...
46805         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
46806         * nptl/sysdeps/i386/Makefile: Moved ...
46807         * sysdeps/i386/nptl/Makefile: ... here.
46808         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
46809         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
46810         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
46811         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
46812         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
46813         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
46814         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
46815         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
46816         * sysdeps/i386/nptl/pthreaddef.h: ... here.
46817         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
46818         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
46819         * nptl/sysdeps/i386/tls.h: Moved ...
46820         * sysdeps/i386/nptl/tls.h: ... here.
46822         * sysdeps/sh/Makefile [$(subdir) = csu]
46823         (gen-as-const-headers): Add tcb-offsets.sym.
46824         * nptl/sysdeps/sh/Makefile: File removed.
46825         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
46826         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
46827         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
46828         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
46829         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
46830         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
46831         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
46832         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
46833         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
46834         * sysdeps/sh/nptl/pthreaddef.h: ... here.
46835         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
46836         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
46837         * nptl/sysdeps/sh/tls.h: Moved ...
46838         * sysdeps/sh/nptl/tls.h: ... here.
46839         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
46840         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
46841         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
46842         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
46843         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
46844         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
46845         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
46846         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
46847         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
46848         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
46849         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
46850         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
46851         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
46852         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
46853         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
46854         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
46855         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
46856         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
46857         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
46858         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
46859         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
46860         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
46861         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
46862         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
46863         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
46864         Moved ...
46865         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
46866         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
46867         Moved ...
46868         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
46869         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
46870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
46871         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
46872         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
46873         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
46874         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
46875         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
46876         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
46877         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
46878         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
46879         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
46880         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
46881         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
46882         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
46883         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
46884         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
46885         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
46886         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
46888 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
46890         * posix/spawn_faction_addopen.c: Include string.h.
46892 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46894         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
46895         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
46896         * nptl/sysdeps/x86_64/Makefile: Moved ...
46897         * sysdeps/x86_64/nptl/Makefile: ... here.
46898         * nptl/sysdeps/x86_64/configure: Moved ...
46899         * sysdeps/x86_64/nptl/configure: ... here.
46900         * nptl/sysdeps/x86_64/configure.ac: Moved ...
46901         * sysdeps/x86_64/nptl/configure.ac: ... here.
46902         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
46903         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
46904         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
46905         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
46906         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
46907         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
46908         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
46909         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
46910         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
46911         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
46912         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
46913         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
46914         * nptl/sysdeps/x86_64/tls.h: Moved ...
46915         * sysdeps/x86_64/nptl/tls.h: ... here.
46916         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
46917         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
46918         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
46919         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
46921         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
46923 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46927 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
46929         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
46930         type.
46931         [POSIX] (off_t): Likewise.
46932         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
46933         [POSIX] (S_ISBLK): Require macro.
46934         [POSIX] (S_ISCHR): Likewise.
46935         [POSIX] (S_ISDIR): Likewise.
46936         [POSIX] (S_ISFIFO): Likewise.
46937         [POSIX] (S_ISREG): Likewise.
46938         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
46939         optional-macro.
46940         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
46941         type.
46942         [POSIX] (time_t): Likewise.
46943         [POSIX] (timer_t): Likewise.
46945 2014-06-11  Florian Weimer  <fweimer@redhat.com>
46947         [BZ #17048]
46948         * posix/spawn_int.h (struct __spawn_action): Make the path string
46949         non-const to support deallocation.
46950         * posix/spawn_faction_addopen.c
46951         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
46952         * posix/spawn_faction_destroy.c
46953         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
46954         path in all spawn_do_open actions.
46955         * posix/tst-spawn.c (do_test): Exercise the copy operation in
46956         posix_spawn_file_actions_addopen.
46958 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
46960         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
46961         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
46962         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
46963         conditional code always true.
46964         (__libc_vfork): New alias.
46966 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46968         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46969         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
46971         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
46973         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46974         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
46976         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46977         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
46979         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46980         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
46982 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46984         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
46985         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
46986         multiarch strcmp for PPC64.
46987         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
46988         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
46989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
46990         multiarch optimizations.
46991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46992         (__libc_ifunc_impl_list): Likewise.
46994 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46996         * benchtests/scripts/validate_benchout.py: New script.
46997         * benchtests/Makefile (bench-func): Call it.
46998         * benchtests/scripts/benchout.schema.json: New file.
47000 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47002         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47003         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47004         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47005         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47006         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47007         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47008         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47009         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47010         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47011         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47012         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47013         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47014         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47015         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47016         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47017         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47019         Moved ...
47020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47021         ... here.
47022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47023         Moved ...
47024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47026         Moved ...
47027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47028         ... here.
47029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47030         Moved ...
47031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47032         ... here.
47033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47034         Moved ...
47035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47037         Moved ...
47038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47039         ... here.
47040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47041         Moved ...
47042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47043         ... here.
47044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47045         Moved ...
47046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47048         Moved ...
47049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47050         ... here.
47051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47052         Moved ...
47053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47054         ... here.
47055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47056         Moved ...
47057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47058         ... here.
47059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47060         Moved ...
47061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47063         Moved ...
47064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47065         ... here.
47066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47067         Moved ...
47068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47069         ... here.
47070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47071         Moved ...
47072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47073         ... here.
47074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47075         Moved ...
47076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47078         Moved ...
47079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47080         ... here.
47081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47082         Moved ...
47083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47084         ... here.
47085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47086         Moved ...
47087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47089         Moved ...
47090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47091         ... here.
47092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47093         Moved ...
47094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47096         Moved ...
47097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47099         Moved ...
47100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47101         ... here.
47102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47103         Moved ...
47104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47105         ... here.
47106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47107         Moved ...
47108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47109         ... here.
47110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47111         Moved ...
47112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47114         Moved ...
47115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47116         ... here.
47117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47118         Moved ...
47119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47120         ... here.
47121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47122         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47124         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47125         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47126         Moved ...
47127         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47128         ... here.
47129         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47130         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47131         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47132         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47133         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47134         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47135         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47136         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47138         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47139         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47140         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47141         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47142         Moved ...
47143         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47144         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47145         Moved ...
47146         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47147         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47148         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47149         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47150         Moved ...
47151         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47152         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47153         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47154         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47155         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47156         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47157         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47159 2014-06-10  Wilco  <wdijkstr@arm.com>
47161         * math/test-fenv-return.c: New file.
47162         * math/Makefile: Add new test test-fenv-return.
47164 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
47166         [BZ #17042]
47167         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47168         when x - 1 is zero.
47169         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47170         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47171         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47172         0.0L for an argument of 1.0L.
47173         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47174         Likewise.
47175         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47176         value when x - 1 is zero.
47177         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47178         * sysdeps/i386/fpu/libm-test-ulps: Update.
47179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47181 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
47183         [BZ #15119]
47184         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47186 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47188         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47189         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47191 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47193         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47194         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47196         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47197         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47199         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47200         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47202         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47203         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47205         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47206         if not already defined.
47207         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47208         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47209         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47210         (TLS_INIT_TP): Use it.
47211         (TLS_DEFINE_INIT_TP): New macro.
47212         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47214 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
47216         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47217         constant.
47218         [POSIX] (IXANY): Likewise.
47219         [POSIX] (OLCUC): Likewise.
47220         [POSIX || POSIX2008] (CBAUD): Do not allow.
47221         [POSIX || POSIX2008] (DEFECHO): Likewise.
47222         [POSIX || POSIX2008] (ECHOCTL): Likewise.
47223         [POSIX || POSIX2008] (ECHOKE): Likewise.
47224         [POSIX || POSIX2008] (ECHOPRT): Likewise.
47225         [POSIX || POSIX2008] (EXTA): Likewise.
47226         [POSIX || POSIX2008] (EXTB): Likewise.
47227         [POSIX || POSIX2008] (FLUSHO): Likewise.
47228         [POSIX || POSIX2008] (LOBLK): Likewise.
47229         [POSIX || POSIX2008] (PENDIN): Likewise.
47230         [POSIX || POSIX2008] (SWTCH): Likewise.
47231         [POSIX || POSIX2008] (VDISCARD): Likewise.
47232         [POSIX || POSIX2008] (VDSUSP): Likewise.
47233         [POSIX || POSIX2008] (VLNEXT): Likewise.
47234         [POSIX || POSIX2008] (VREPRINT): Likewise.
47235         [POSIX || POSIX2008] (VSTATUS): Likewise.
47236         [POSIX || POSIX2008] (VWERASE): Likewise.
47237         (B*): Change to B[0123456789]*.
47238         * conform/data/time.h-data [POSIX || UNIX98]
47239         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
47240         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47241         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
47242         [POSIX] (tm_*): Do not allow.
47244 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
47246         * Makefile (install): Don't set LANGUAGE.
47247         * Makefile.in (install): Likewise.
47248         * assert/Makefile (test-assert-ENV): Remove variable.
47249         (test-assert-perr-ENV): Likewise.
47250         * elf/Makefile (neededtest4-ENV): Likewise.
47251         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47252         [$(cross-compiling) = no]: Don't set LANGUAGE.
47253         * io/ftwtest-sh (LANG): Remove variable.
47254         * libio/Makefile (tst-widetext-ENV): Likewise.
47255         * manual/install.texi (Running make install): Don't refer to
47256         environment settings for make install.
47257         * INSTALL: Regenerated.
47258         * nptl/tst-tls6.sh: Don't set LANG.
47259         * posix/globtest.sh (LANG): Remove variable.
47260         * string/Makefile (tester-ENV): Likewise.
47261         (inl-tester-ENV): Likewise.
47262         (noinl-tester-ENV): Likewise.
47263         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47264         [$(cross-compiling) = no]: Don't set LANGUAGE.
47265         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
47266         without explicit environment settings.
47268 2014-06-06  Roland McGrath  <roland@hack.frob.com>
47270         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
47271         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
47272         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
47273         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
47275 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
47277         * crypt/crypt-private.h [DOS]: Add some includes taken from the
47278         other files in the crypt directory.
47279         * crypt/crypt.c: Remove duplicate includes.
47280         * crypt/crypt-entry.c: Likewise.
47281         * crypt/crypt_util.c: Likewise.
47283 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
47285         * Makeconfig (run-program-env): New variable.
47286         (run-program-prefix-before-env): Likewise.
47287         (run-program-prefix-after-env): Likewise.
47288         (run-program-prefix): Define in terms of new variables.
47289         (built-program-cmd-before-env): New variable.
47290         (built-program-cmd-after-env): Likewise.
47291         (built-program-cmd): Define in terms of new variables.
47292         (test-program-prefix-before-env): New variable.
47293         (test-program-prefix-after-env): Likewise.
47294         (test-program-prefix): Define in terms of new variables.
47295         (test-program-cmd-before-env): New variable.
47296         (test-program-cmd-after-env): Likewise.
47297         (test-program-cmd): Define in terms of new variables.
47298         * Rules (make-test-out): Use $(run-program-env).
47299         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
47300         (help): Do not mention environment variables.  Mention
47301         --timeoutfactor option.
47302         (timeoutfactor): New variable.
47303         (blacklist_exports): Remove function.
47304         (exports): Remove variable.
47305         (command): Do not include ${exports}.
47306         * manual/install.texi (Configuring and compiling): Do not mention
47307         test wrappers preserving environment variables.  Mention that last
47308         assignment to a variable must take precedence.
47309         * INSTALL: Regenerated.
47310         * benchtests/Makefile (run-bench): Use $(run-program-env).
47311         * catgets/Makefile ($(objpfx)test1.cat): Use
47312         $(built-program-cmd-before-env), $(run-program-env) and
47313         $(built-program-cmd-after-env).
47314         ($(objpfx)test2.cat): Do not specify environment variables
47315         explicitly.
47316         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
47317         $(run-program-env) and $(built-program-cmd-after-env).
47318         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
47319         $(run-program-env) and $(test-program-cmd-after-env).
47320         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
47321         explicitly.
47322         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
47323         run_program_env and test_program_cmd_after_env arguments.
47324         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
47325         * elf/tst-pathopt.sh: Use run_program_env argument.
47326         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
47327         $(test-wrapper-env) and $(run-program-env).
47328         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
47329         run_program_env arguments.
47330         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
47331         * intl/Makefile ($(objpfx)tst-gettext.out): Use
47332         $(test-program-prefix-before-env), $(run-program-env) and
47333         $(test-program-prefix-after-env).
47334         ($(objpfx)tst-gettext2.out): Likewise.
47335         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
47336         run_program_env and test_program_prefix_after_env arguments.
47337         * intl/tst-gettext2.sh: Likewise.
47338         * intl/tst-gettext4.sh: Do not set environment variables
47339         explicitly.
47340         * intl/tst-gettext6.sh: Likewise.
47341         * intl/tst-translit.sh: Likewise.
47342         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
47343         $(test-program-prefix-before-env), $(run-program-env) and
47344         $(test-program-prefix-after-env).
47345         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
47346         run_program_env and test_program_prefix_after_env arguments.
47347         * math/Makefile (run-regen-ulps): Use $(run-program-env).
47348         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
47349         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
47350         explicitly with each use of ${test_wrapper_env}.
47351         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
47352         $(test-program-prefix-before-env), $(run-program-env) and
47353         $(test-program-prefix-after-env).
47354         * posix/tst-getconf.sh: Do not set environment variables
47355         explicitly.
47356         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
47357         run_program_env and test_program_prefix_after_env arguments.
47358         * stdio-common/tst-printf.sh: Do not set environment variables
47359         explicitly.
47360         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
47361         $(test-program-prefix-before-env), $(run-program-env) and
47362         $(test-program-prefix-after-env).
47363         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
47364         run_program_env and test_program_prefix_after_env arguments.
47365         Split $test calls into $test_pre and $test.
47366         * timezone/Makefile (build-testdata): Use
47367         $(built-program-cmd-before-env), $(run-program-env) and
47368         $(built-program-cmd-after-env).
47370 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47372         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
47373         strlen for non SHARED builds.
47375 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47377         * nptl/allocatestack.c (check_list): Inlined function...
47378         (__reclaim_stacks): ... here.
47380 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47382         [BZ #15698]
47383         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
47384         memory overrun.
47386 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
47388         * Rules (make-test-out): Include
47389         LOCPATH=$(common-objpfx)localedata in default environment.
47390         * debug/Makefile (tst-chk1-ENV): Remove variable.
47391         (tst-chk2-ENV): Likewise.
47392         (tst-chk3-ENV): Likewise.
47393         (tst-chk4-ENV): Likewise.
47394         (tst-chk5-ENV): Likewise.
47395         (tst-chk6-ENV): Likewise.
47396         (tst-lfschk1-ENV): Likewise.
47397         (tst-lfschk2-ENV): Likewise.
47398         (tst-lfschk3-ENV): Likewise.
47399         (tst-lfschk4-ENV): Likewise.
47400         (tst-lfschk5-ENV): Likewise.
47401         (tst-lfschk6-ENV): Likewise.
47402         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
47403         (tst-iconv7-ENV): Likewise.
47404         * intl/Makefile (LOCPATH-ENV): Likewise.
47405         (tst-codeset-ENV): Likewise.
47406         (tst-gettext3-ENV): Likewise.
47407         (tst-gettext5-ENV): Likewise.
47408         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
47409         (tst-fopenloc-ENV): Likewise.
47410         (tst-fgetws-ENV): Remove variable.
47411         (tst-ungetwc1-ENV): Likewise.
47412         (tst-ungetwc2-ENV): Likewise.
47413         (bug-ungetwc2-ENV): Likewise.
47414         (tst-swscanf-ENV): Likewise.
47415         (bug-ftell-ENV): Likewise.
47416         (tst-fgetwc-ENV): Likewise.
47417         (tst-fseek-ENV): Likewise.
47418         (tst-ftell-partial-wide-ENV): Likewise.
47419         (tst-ftell-active-handler-ENV): Likewise.
47420         (tst-ftell-append-ENV): Likewise.
47421         * posix/Makefile (tst-fnmatch-ENV): Likewise.
47422         (tst-regexloc-ENV): Likewise.
47423         (bug-regex1-ENV): Likewise.
47424         (tst-regex-ENV): Likewise.
47425         (tst-regex2-ENV): Likewise.
47426         (bug-regex5-ENV): Likewise.
47427         (bug-regex6-ENV): Likewise.
47428         (bug-regex17-ENV): Likewise.
47429         (bug-regex18-ENV): Likewise.
47430         (bug-regex19-ENV): Likewise.
47431         (bug-regex20-ENV): Likewise.
47432         (bug-regex22-ENV): Likewise.
47433         (bug-regex23-ENV): Likewise.
47434         (bug-regex25-ENV): Likewise.
47435         (bug-regex26-ENV): Likewise.
47436         (bug-regex30-ENV): Likewise.
47437         (bug-regex32-ENV): Likewise.
47438         (bug-regex33-ENV): Likewise.
47439         (bug-regex34-ENV): Likewise.
47440         (bug-regex35-ENV): Likewise.
47441         (tst-rxspencer-ENV): Likewise.
47442         (tst-rxspencer-no-utf8-ENV): Likewise.
47443         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
47444         (tst-sscanf-ENV): Likewise.
47445         (tst-swprintf-ENV): Likewise.
47446         (tst-swscanf-ENV): Likewise.
47447         (test-vfprintf-ENV): Likewise.
47448         (scanf13-ENV): Likewise.
47449         (bug14-ENV): Likewise.
47450         (tst-grouping-ENV): Likewise.
47451         * stdlib/Makefile (tst-strtod-ENV): Likewise.
47452         (tst-strtod3-ENV): Likewise.
47453         (tst-strtod4-ENV): Likewise.
47454         (tst-strtod5-ENV): Likewise.
47455         (testmb2-ENV): Likewise./
47456         * string/Makefile (tst-strxfrm-ENV): Likewise.
47457         (tst-strxfrm2-ENV): Likewise.
47458         (bug-strcoll1-ENV): Likewise.
47459         (test-strcasecmp-ENV): Likewise.
47460         (test-strncasecmp-ENV): Likewise.
47461         * time/Makefile (tst-strptime-ENV): Likewise.
47462         (tst-ftime_l-ENV): Likewise.
47463         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
47464         (tst-mbrtowc-ENV): Likewise.
47465         (tst-wcrtomb-ENV): Likewise.
47466         (tst-mbrtowc2-ENV): Likewise.
47467         (tst-c16c32-1-ENV): Likewise.
47468         (tst-mbsnrtowcs-ENV): Likewise.
47470 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47472         * manual/resource.texi (How to get information about the memory
47473         subsystem?): Fix typo.
47474         Reported by Peon de la Parra Ivan <peon@keba.com>
47476 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
47478         [BZ #16882]
47479         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
47480         (pthread_spin_lock): Branch out of spin loop to proper location.
47481         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
47482         (pthread_spin_lock): Likewise.
47484         * nptl/tst-spin4.c: New test.
47485         * nptl/Makefile (tests): Add tst-spin4.
47487 2014-06-03  Andreas Schwab  <schwab@suse.de>
47489         [BZ #15946]
47490         * resolv/res_send.c (send_dg): Reload file descriptor after
47491         calling reopen.
47493 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
47495         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47497 2014-06-03  Richard Henderson  <rth@redhat.com>
47499         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
47500         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
47501         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
47502         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
47503         in the SAVE_PID block.
47504         (__libc_vfork): New alias.
47505         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
47507         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
47508         child in registers, not on the stack.  Remove RESET_PID conditionals.
47509         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
47511 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47513         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47515 2014-06-03  Wilco  <wdijkstr@arm.com>
47517         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
47518         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
47519         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47520         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
47521         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
47522         Likewise.
47524 2014-06-03  Wilco  <wdijkstr@arm.com>
47526         * sysdeps/aarch64/fpu/math_private.h
47527         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
47528         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
47529         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
47530         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47531         Fix declarations.
47533 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47535         * crypt/crypt-private.h: Include ufc-crypt.h.
47536         (__b64_from_24bit): Declare extern.
47537         * crypt/crypt_util.c(__b64_from_24bit): New function.
47538         (b64t): New static const variable.
47539         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
47540         (b64t): Remove variable.
47541         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
47542         * crypt/sha256-crypt.c: Include crypt-private.h.
47543         (b64t): Remove variable.
47544         (__sha256_crypt_r): Remove b64_from_24bit and replace
47545         with __b64_from_24bit.
47546         * crypt/sha512-crypt.c: Likewise.
47548 2014-06-02  Roland McGrath  <roland@hack.frob.com>
47550         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
47551         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
47552         Label the code __libc_vfork rather than __vfork.
47553         [!NOT_IN_libc] (vfork): Define as weak alias.
47554         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
47555         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
47556         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47558 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47560         * malloc/malloc.c (malloc_info): Fix format specifier for
47561         n_mmaps.
47563 2014-06-02  Wilco  <wdijkstr@arm.com>
47565         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47566         FPCR write.
47568 2014-06-02  Wilco  <wdijkstr@arm.com>
47570         [BZ #17009]
47571         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47572         Rewrite to reduce FPCR/FPSR accesses.
47574 2014-06-01  David S. Miller  <davem@davemloft.net>
47576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47578 2014-05-31  David S. Miller  <davem@davemloft.net>
47580         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47581         to occur in round to nearest mode when |x| >= 2.0
47583 2014-05-30  Richard Henderson  <rth@twiddle.net>
47585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47586         (PSEUDO_RET_NOERRNO): Remove.
47587         (ret): Don't redefine.
47588         (ret_NOERRNO): Define in terms of ret.
47589         (ret_ERRVAL): Likewise.
47591         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47592         use of PSEUDO_RET; perform the error check directly.
47594 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47596         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47597         with __int128_t.
47599 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47601         * malloc/malloc (malloc_info): Fix formatting.
47603 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47604             Roland McGrath  <roland@hack.frob.com>
47606         * malloc/malloc (malloc_info): Also print mmapped statistics.
47608 2014-05-30  Roland McGrath  <roland@hack.frob.com>
47610         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47611         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47613 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
47615         * malloc/malloc.c (malloc_info): Inline mi_arena.
47617 2014-05-29  Richard Henderson  <rth@twiddle.net>
47619         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47620         Remove comma before expanding ASM_ARGS_##nr.
47621         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
47622         Make _x0 a strict output; make _x8 a strict input; adjust expansion
47623         of ASM_ARGS_##nr.
47624         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
47625         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
47626         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
47627         (ASM_ARGS_1): Add leading comma.
47629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
47630         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
47631         to __errno_location.
47632         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
47633         Remove the expected plt for __errno_location.
47635         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47636         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
47637         call to __read_tp.
47639         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47640         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
47641         it and break it down.
47642         (DOCARGS_0, DOCARGS_1): Do nothing.
47643         (DOCARGS_2): Update to store into the new stack frame.
47644         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
47645         (UNDOCARGS_1): Update to restore from the new stack frame.
47646         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
47647         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
47649         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47650         (SINGLE_THREAD_P): New parameter for result regno.
47651         (PSEUDO): Update to match; use cbz instead of beq.
47653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47654         Use ENTRY to define the _nocancel entry point.  Share the syscall
47655         and syscall error check paths with the cancel path.
47656         (PSEUDO_END): New.
47658         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47659         whitespace; tabs before and after asm mnemonics.
47661 2014-05-29  Eric Wong  <normalperson@yhbt.net>
47663         [BZ #15132]
47664         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47665         Call fstat64 or stat64 internally, depending on arguments passed.
47666         Replace stat buffer argument with file descriptor argument.
47667         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
47668         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47669         Pass fd to __internal_statvfs instead of calling fstat64.
47670         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
47671         Pass fd to __internal_statvfs64 instead of calling fstat64.
47672         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47673         Pass -1 to __internal_statvfs instead of calling stat64.
47674         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
47675         Pass -1 to __internal_statvfs64 instead of calling stat64.
47677 2014-05-28  Roland McGrath  <roland@hack.frob.com>
47679         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
47680         that was previously under [RESET_PID].
47681         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47683         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
47684         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
47686 2014-05-27  Roland McGrath  <roland@hack.frob.com>
47688         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
47690         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
47691         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
47693 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
47695         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
47697 2014-05-27  Andreas Schwab  <schwab@suse.de>
47699         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
47700         TLS_INIT_TP macro.
47701         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47702         * elf/rtld.c (init_tls, dl_main): Likewise.
47703         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
47704         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
47705         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
47706         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47707         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
47708         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
47709         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
47710         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
47711         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
47712         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
47713         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
47714         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
47715         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
47716         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
47717         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
47718         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
47719         * sysdeps/generic/tls.h: Update description.
47721 2014-05-27  Will Newton  <will.newton@linaro.org>
47723         [BZ #16990]
47724         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
47725         and restore r2 rather than just restoring.
47727 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47729         [BZ #16724]
47730         * libio/tst-ftell-append.c: New test case.
47731         * libio/Makefile (tests): Add test case.
47732         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
47733         append mode.
47734         * libio/wfileops.c (do_ftell_wide): Likewise.
47736 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47740         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
47741         ...
47742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
47743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47744         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
47745         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
47746         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
47747         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
47748         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
47749         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
47750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
47751         Moved ...
47752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
47753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
47754         Moved ...
47755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
47756         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
47757         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
47758         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
47759         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
47760         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
47761         ...
47762         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
47763         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
47764         Moved ...
47765         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
47766         here.
47767         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
47768         ...
47769         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
47770         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
47771         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
47773         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
47774         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
47775         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
47776         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
47778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
47779         merge into ...
47780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
47781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
47782         ...
47783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
47785         ...
47786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
47787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47788         Moved ...
47789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
47790         here.
47791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47792         Moved ...
47793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
47794         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47795         Moved ...
47796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
47798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
47799         conditional [RESET_PID].
47800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
47801         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
47802         removed.
47803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
47804         removed.
47806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
47807         <tcb-offsets.h>.
47808         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47809         (__libc_vfork): New strong alias.
47810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
47811         removed.
47812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
47813         Removed.
47815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
47816         <tcb-offsets.h>.
47817         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
47818         (__libc_vfork): New strong alias.
47819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
47820         removed.
47821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
47822         removed.
47824 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
47826         * malloc/malloc.c (mi_arena): New function.
47827         (malloc_info): Remove nested function mi_arena. Call non-nosted
47828         function mi_arena.
47830 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47832         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
47833         by insrwi.
47834         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
47835         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
47836         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
47837         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
47838         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
47839         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
47840         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
47842 2014-05-26  Andreas Schwab  <schwab@suse.de>
47844         [BZ #16984]
47845         * locale/programs/repertoire.c (repertoire_read): Add slash
47846         between I18NPATH element and file name.
47847         * locale/programs/locfile.c (locfile_read): Likewise.
47849 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47851         * nptl/pthread_mutexattr_settype.c
47852         (__pthread_mutexattr_settype):
47853         Disable lock elision for PTHREAD_MUTEX_NORMAL.
47855 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47857         * nptl/tst-mutex5 (do_test):
47858         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
47860 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47862         * benchtests/README: Document 'init' directive.
47863         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
47864         BENCH_INIT.
47865         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
47866         (parse_file): Recognize 'init' directive.
47868 2014-05-26  Kyle McMartin  <kyle@redhat.com>
47870         [BZ #16796]
47871         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
47872         alignment of struct pthread.
47874 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47876         [BZ #16878]
47877         * nscd/netgroupcache.c (addgetnetgrentX): Look for
47878         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47879         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
47880         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47882 2014-05-25  Richard Henderson  <rth@twiddle.net>
47884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47885         (SINGLE_THREAD_P_PIC): Remove.
47886         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
47887         (SINGLE_THREAD_P_PIC): Remove.
47889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
47890         branch to syscall error ...
47891         (PSEUDO): ... here.
47892         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
47893         from __local_syscall_error to .Lsyscall_error.
47894         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
47895         (SYSCALL_ERROR): Update label name.
47897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47898         Do not use DOARGS/UNDOARGS.
47899         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
47900         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
47901         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
47902         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
47903         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
47905         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
47906         block comment.
47908         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
47909         define if !NOT_IN_libc.
47910         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
47911         define with non-default symbol versions.
47913 2014-05-23  Richard Henderson  <rth@twiddle.net>
47915         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
47916         (vfork, __vfork): Define via compat_symbol.
47918         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
47919         [!HAVE_IFUNC] (vfork_compat): Remove.
47920         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
47922 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47924         [BZ #16978]
47925         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
47926         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
47927         variable.
47929 2014-05-23  Richard Henderson  <rth@twiddle.net>
47931         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
47932         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
47933         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
47934         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
47936         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
47937         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
47938         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
47939         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
47940         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
47941         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
47942         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
47943         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
47944         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
47945         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
47946         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
47947         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
47948         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
47949         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
47950         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
47951         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
47952         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
47953         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
47954         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
47955         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
47956         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
47957         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
47958         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
47959         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
47960         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
47961         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
47962         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
47963         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
47964         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
47965         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
47966         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
47967         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
47968         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
47969         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
47970         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
47971         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
47972         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
47973         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
47974         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
47975         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
47976         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
47977         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
47978         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
47979         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
47980         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
47981         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
47982         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
47983         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
47984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
47985         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
47986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
47987         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
47988         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
47989         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
47990         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
47991         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
47993         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
47994         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
47995         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
47996         before exiting on error.
47997         (__libc_vfork): New strong alias.
47998         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
47999         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48001         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48002         that was previously under [RESET_PID].
48003         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48005         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48007 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48009         [BZ #16977]
48010         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48011         value when x - 1 is zero.
48012         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48013         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48014         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48015         0.0L for an argument of 1.0L.
48016         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48017         Likewise.
48018         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48019         value when x - 1 is zero.
48020         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48021         * sysdeps/i386/fpu/libm-test-ulps: Update.
48022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48024 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48026         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48027         alphasort and versionsort.
48029 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48031         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48032         macro.
48033         [copysignf]: Likewise.
48035 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48037         * crypt/md5-crypt.c: Fix formatting.
48039 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48041         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48042         (b64_from_24bit): New function.
48044 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48046         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48047         libc_hidden_builtin_def to ifunc.
48048         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48049         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48051 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48053         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48054         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48056 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48058         * nscd/Depend (linuxthreads): Remove.
48059         (nptl): Add.
48060         * resolv/Depend (linuxthreads): Remove.
48061         * rt/Depend (linuxthreads): Remove.
48063         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48064         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48065         $(common-objpfx)elf/.
48066         (link-libc-before-gnulib): Likewise.
48067         (elfobjdir): Remove variable.
48068         * Makefile (install): Use $(elf-objpfx) instead of
48069         $(common-objpfx)elf/.
48070         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48071         $(elfobjdir)/.
48072         (link-libc-deps): Likewise.
48073         ($(common-objpfx)libc.so): Likewise.
48074         ($(common-objpfx)linkobj/libc.so): Likewise.
48075         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48076         instead of $(common-objpfx)elf/.
48077         (symbolic-link-list): Likewise.
48078         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48079         [$(cross-compiling) = no]: Likewise.
48080         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48081         $(elfobjdir)/.
48082         (static-gnulib-arch): Likewise.
48083         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48084         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48085         $(common-objpfx)elf/.
48087 2014-05-21  Richard Henderson  <rth@redhat.com>
48089         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48090         (SINGLE_THREAD_P): Use the correct width load.  Fold
48091         into the ldr offset.
48093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48094         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48096 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48098         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48099         (libgcc_s_resume): Use __attribute_used__.
48100         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48101         Likewise.
48103 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48105         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48106         optimization when used with float constants.
48108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48110 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48112         [BZ #16915]
48113         * locale/nl_langinfo_l.c: Make direct reference to every
48114         _nl_current_CATEGORY symbol.
48115         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48116         (tests-static): Add tst-langinfo-static.
48117         (tests-special): Add tst-langinfo-static.out.
48118         ($(objpfx)tst-langinfo.out): Redirect output.
48119         ($(objpfx)tst-langinfo-static.out): New.
48120         * localedata/tst-langinfo.sh: Send output to stdout.
48121         * localedata/tst-langinfo-static.c: New file.
48123         [BZ #16965]
48124         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48125         when the shift amount is modulo the limb size.
48127 2014-05-20  Richard Henderson  <rth@redhat.com>
48129         [BZ #16967]
48130         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48131         Change type of sa_flags from unsigned int to int.
48133         [BZ #16966]
48134         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48136         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48138 2014-05-20  Will Newton  <will.newton@linaro.org>
48140         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48141         Test the return value of the system call in the nocancel case.
48143 2014-05-20  Will Newton  <will.newton@linaro.org>
48144             Yvan Roux  <yvan.roux@linaro.org>
48146         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48147         #include of asm/ptrace.h.
48148         (PTRACE_GET_THREAD_AREA): Remove #undef.
48149         (PTRACE_GETHBPREGS): Likewise.
48150         (PTRACE_SETHBPREGS): Likewise.
48151         (struct user_regs_struct): New structure.
48152         (struct user_fpsimd_struct): New structure.
48153         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48154         #include of asm/ptrace.h and second #include of sys/user.h.
48155         (PTRACE_GET_THREAD_AREA): Remove #undef.
48156         (PTRACE_GETHBPREGS): Likewise.
48157         (PTRACE_SETHBPREGS): Likewise.
48158         (ELF_NGREG): Use new struct user_regs_struct.
48159         (elf_fpregset_t): Use new struct user_fpsimd_struct.
48161 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48163         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48164         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48166 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
48168         [BZ #16958]
48169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48170         membar to avoid block loads/stores to overlap previous stores.
48172 2014-05-17  Richard Henderson  <rth@redhat.com>
48174         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48175         Create the __##syscall_name##_nocancel entry point.
48176         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48177         Remove; let the sysdep-cancel.h code create it.
48179 2014-05-17  David S. Miller  <davem@davemloft.net>
48181         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48182         Protect with __USE_GNU.
48183         (TIOCSET_TEMPT): Likewise.
48184         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48185         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48186         these are already provided in bits/ioctl-types.h
48188 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48190         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48191         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48193         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48194         Use wait4 regardless of [__NR_waitpid].
48196 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48198         PR libgcc/60166
48199         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48200         (_FP_NANSIGN_Q): Set the quiet bit.
48202 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
48204         * benchtests/Makefile
48205         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48206         not $(common-objpfx)math/libm.so.
48207         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48208         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48209         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48210         $(common-objpfx)dlfcn/libdl.so.
48211         ($(objpfx)tst-audit8): Depend on $(libm), not
48212         $(common-objpfx)math/libm.so.
48213         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48214         not $(common-objpfx)dlfcn/libdl.so.
48215         * math/Makefile
48216         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48217         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
48218         [$(build-shared) = yes].
48219         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48220         $(common-objpfx)nptl/libpthread.so.
48221         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48222         $(common-objpfx)math/libm.so$(libm.so-version) or
48223         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48224         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48225         $(common-objpfx)dlfcn/libdl.so.
48226         * setjmp/Makefile (link-libm): Remove variable.
48227         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48228         * stdio-common/Makefile (link-libm): Remove variable.
48229         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
48230         * stdlib/Makefile (link-libm): Remove variable.
48231         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
48232         ($(objpfx)tst-strtod-round): Likewise.
48233         ($(objpfx)tst-tininess): Likewise.
48234         ($(objpfx)tst-strtod-underflow): Likewise.
48235         ($(objpfx)tst-strtod6): Likewise.
48236         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
48237         $(libdl), not $(common-objpfx)nptl/libpthread.so and
48238         $(common-objpfx)dlfcn/libdl.so.
48240 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48242         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48243         BSD terminal modes definitions.
48245 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48247         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
48248         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
48250         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
48251         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
48252         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
48253         Don't do #include_next.
48254         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
48255         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
48256         Don't do #include_next.
48257         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
48258         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
48259         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
48260         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
48262 2014-05-16  Allan McRae  <allan@archlinux.org>
48264         * po/sv.po: Update Swedish translation from translation project.
48266         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
48267         in sed expression.
48269 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
48271         [BZ #16917]
48272         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
48273         errno if the TIOCGPTN ioctl fails with an error different than
48274         EINVAL.
48275         * login/tst-ptsname.c: New file.
48276         * login/Makefile (tests): Add tst-ptsname.
48278         [BZ #16943]
48279         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
48280         and prlimit64.
48282 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48284         [BZ #16849]
48285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
48286         herrno to return EAI_AGAIN.
48288 2014-05-14  Roland McGrath  <roland@hack.frob.com>
48290         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
48291         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
48292         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
48293         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
48294         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
48295         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
48296         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
48297         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
48298         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
48299         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
48300         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
48301         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
48302         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
48303         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
48304         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
48305         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
48306         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
48307         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
48308         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
48309         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
48310         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
48311         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
48312         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
48313         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
48314         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
48315         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
48316         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
48317         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
48318         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
48319         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
48320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
48321         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
48322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
48323         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
48324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48325         Moved ...
48326         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
48327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
48328         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
48329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
48330         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
48331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
48332         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
48333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
48334         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
48335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
48336         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
48337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
48338         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
48339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
48340         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
48341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
48342         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
48343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
48344         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
48345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
48346         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
48347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
48348         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
48349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
48350         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
48351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
48352         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
48353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48354         Moved ...
48355         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
48356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
48357         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
48358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
48359         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
48360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
48361         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
48362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
48363         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
48364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
48365         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
48366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
48367         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
48368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
48369         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
48370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
48371         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
48372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
48373         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
48374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48375         Moved ...
48376         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
48377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
48378         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
48380         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
48381         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
48382         (libpthread-sysdep_routines): Add elision-related stuff here instead.
48383         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
48384         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
48385         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
48386         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
48387         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
48388         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
48389         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
48390         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
48391         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
48392         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
48393         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
48394         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
48395         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
48396         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
48397         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
48398         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
48399         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
48400         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
48401         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
48402         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
48403         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
48404         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
48405         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
48406         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
48407         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
48408         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
48409         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
48410         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
48412         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
48413         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
48415         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
48416         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
48417         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
48418         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
48419         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
48420         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
48421         Moved ...
48422         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
48423         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
48424         Moved ...
48425         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
48426         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
48427         Moved ...
48428         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
48429         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
48430         Moved ...
48431         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
48432         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
48433         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
48434         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
48435         Moved ...
48436         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
48437         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
48438         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
48439         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
48440         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
48441         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
48442         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
48443         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
48444         Moved ...
48445         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
48446         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48447         Moved ...
48448         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48449         ... here.
48450         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
48451         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
48452         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
48453         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
48454         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48455         Moved ...
48456         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48457         ... here.
48458         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
48459         Moved ...
48460         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
48461         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
48462         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
48463         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
48464         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
48465         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
48466         Moved ...
48467         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
48468         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
48469         Moved ...
48470         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
48471         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
48472         Moved ...
48473         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
48474         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
48475         Moved ...
48476         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
48477         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
48478         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
48479         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
48480         Moved ...
48481         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
48482         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
48483         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
48484         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
48485         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
48486         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
48487         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
48488         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
48489         Moved ...
48490         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
48491         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48492         Moved ...
48493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48494         ... here.
48495         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
48496         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
48497         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
48498         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
48499         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48500         Moved ...
48501         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48502         ... here.
48503         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
48504         Moved ...
48505         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
48506         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
48507         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
48508         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
48509         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
48510         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
48511         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
48512         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
48513         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
48514         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
48515         Moved ...
48516         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
48517         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
48518         Moved ...
48519         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
48520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
48521         Moved ...
48522         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
48523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
48524         Moved ...
48525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
48526         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
48527         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
48528         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
48529         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
48530         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
48531         Moved ...
48532         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
48533         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
48534         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
48535         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
48536         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
48537         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
48538         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
48539         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
48540         Moved ...
48541         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
48542         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48543         Moved ...
48544         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48545         ... here.
48546         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
48547         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
48548         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
48549         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
48550         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48551         Moved ...
48552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48553         ... here.
48554         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
48555         Moved ...
48556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
48557         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
48558         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
48559         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
48560         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48561         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48562         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48563         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48564         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48565         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48566         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48568         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48569         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48571         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48572         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48574         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48575         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48576         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48577         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48578         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48579         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48580         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48581         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48582         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48583         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48584         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48585         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48586         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48587         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48588         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48590         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48592         Moved ...
48593         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48594         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48595         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48597         Moved ...
48598         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48599         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48600         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48602         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48604         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48605         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48606         Moved ...
48607         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48609         Moved ...
48610         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48612         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48614         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48616         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48617         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48618         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48619         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
48620         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
48621         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
48622         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
48623         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
48624         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
48625         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
48626         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
48628         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
48629         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
48630         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
48631         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
48632         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
48634         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
48635         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
48636         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
48637         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
48638         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
48639         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
48640         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
48641         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
48642         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
48643         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
48645         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
48646         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
48648         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
48649         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
48650         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
48651         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
48652         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
48653         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
48654         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
48655         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
48656         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
48657         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
48658         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
48659         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
48660         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
48661         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
48662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
48663         Update #include.
48664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
48665         Likewise.
48666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48667         Likewise.
48668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48669         Likewise.
48670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48671         Likewise.
48672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48673         Likewise.
48674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
48675         Likewise.
48676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48677         Likewise.
48678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
48679         Likewise.
48680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
48681         Likewise.
48682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
48683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
48684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
48685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
48686         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
48687         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
48688         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
48689         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
48690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
48691         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
48692         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
48693         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
48694         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
48695         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
48696         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
48698         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
48699         that was previously under [RESET_PID].
48700         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48701         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
48702         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
48704         * sysdeps/i386/nptl/Implies: New file.
48705         * sysdeps/x86_64/nptl/Implies: New file.
48706         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
48707         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48708         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
48709         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
48711         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
48712         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48713         (__libc_vfork): New strong alias.
48714         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
48715         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
48717         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
48718         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48719         (__libc_vfork): New strong alias.
48720         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
48721         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
48723         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
48724         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48725         (__libc_vfork): New strong alias.
48726         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
48727         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
48728         * nptl/pt-vfork.c: New file.
48729         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
48730         (libpthread: GLIBC_2.20): New version set (empty).
48732 2014-05-14  Will Newton  <will.newton@linaro.org>
48734         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
48735         rather than #if.
48737 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48739         [BZ #16564]
48740         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
48741         arguments with exponent 65 or above.
48742         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
48743         arguments 0x1p113L or above.
48744         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
48745         to arguments 0x1p107L or above.
48746         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
48747         positive arguments with exponent 65 or above.
48748         * math/auto-libm-test-in: Add more tests of log1p.
48749         * math/auto-libm-test-out: Regenerated.
48751         [BZ #16928]
48752         * math/s_cacos.c (__cacos): Ensure zero real part of result from
48753         non-finite arguments is +0.
48754         * math/s_cacosf.c (__cacosf): Likewise.
48755         * math/s_cacosl.c (__cacosl): Likewise.
48756         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
48757         * sysdeps/i386/fpu/libm-test-ulps: Update.
48758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48760         [BZ #16927]
48761         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
48762         value.
48763         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
48764         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
48765         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
48766         for explicit high bit of mantissa when testing for argument equal
48767         to 1.
48768         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
48769         * sysdeps/i386/fpu/libm-test-ulps: Update.
48770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48772         [BZ #16516]
48773         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
48774         (__erf): Scale by 16 instead of 8 in potentially underflowing
48775         case.  Ensure exception if result actually underflows.
48776         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
48777         (__erff): Scale by 16 instead of 8 in potentially underflowing
48778         case.  Ensure exception if result actually underflows.
48779         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
48780         (efx8): Remove variable.
48781         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48782         case.  Ensure exception if result actually underflows.
48783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48784         (efx8): Remove variable.
48785         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48786         case.  Ensure exception if result actually underflows.
48787         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
48788         (efx8): Remove variable.
48789         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48790         case.  Ensure exception if result actually underflows.
48791         * math/auto-libm-test-in: Add more tests of erf.
48792         * math/auto-libm-test-out: Regenerated.
48794 2014-05-14  Andreas Schwab  <schwab@suse.de>
48796         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
48797         Remove code conditionalized on USE___THREAD.
48799         * config.h.in (HAVE_PT_CHOWN): Define as 0.
48800         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
48801         not definedness.
48803 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
48806         Define unconditionally.
48807         (__ASSUME_O_CLOEXEC): Likewise.
48808         (__ASSUME_SOCK_CLOEXEC): Likewise.
48809         (__ASSUME_IN_NONBLOCK): Likewise.
48810         (__ASSUME_PIPE2): Likewise.
48811         (__ASSUME_EVENTFD2): Likewise.
48812         (__ASSUME_SIGNALFD4): Likewise.
48813         (__ASSUME_DUP3): Likewise.
48814         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48815         (__ASSUME_DUP3): Do not define.
48816         (__ASSUME_EVENTFD2): Likewise.
48817         (__ASSUME_IN_NONBLOCK): Likewise.
48818         (__ASSUME_O_CLOEXEC): Likewise.
48819         (__ASSUME_PIPE2): Likewise.
48820         (__ASSUME_SIGNALFD4): Likewise.
48821         (__ASSUME_SOCK_CLOEXEC): Likewise.
48822         (__ASSUME_UTIMES): Undefine.
48823         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48824         (__ASSUME_UTIMES): Do not define.
48825         (__ASSUME_O_CLOEXEC): Likewise.
48826         (__ASSUME_SOCK_CLOEXEC): Likewise.
48827         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
48828         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
48829         0x020621].
48830         (__ASSUME_PIPE2): Likewise.
48831         (__ASSUME_EVENTFD2): Likewise.
48832         (__ASSUME_SIGNALFD4): Likewise.
48833         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
48834         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
48835         Do not define.
48836         (__ASSUME_EVENTFD2): Likewise.
48837         (__ASSUME_SIGNALFD4): Likewise.
48838         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
48839         (__ASSUME_32BITUIDS): Likewise.
48840         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48841         (__ASSUME_IPC64): Likewise.
48842         (__ASSUME_ST_INO_64_BIT): Likewise.
48843         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
48844         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
48845         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48846         (__ASSUME_UTIMES): Do not define.
48847         (__ASSUME_PSELECT): Likewise.
48848         (__ASSUME_PPOLL): Likewise.
48849         (__ASSUME_O_CLOEXEC): Likewise.
48850         (__ASSUME_SOCK_CLOEXEC): Likewise.
48851         (__ASSUME_IN_NONBLOCK): Likewise.
48852         (__ASSUME_PIPE2): Likewise.
48853         (__ASSUME_EVENTFD2): Likewise.
48854         (__ASSUME_SIGNALFD4): Likewise.
48855         (__ASSUME_DUP3): Likewise.
48856         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48857         (__ASSUME_UTIMES): Likewise.
48858         (__ASSUME_O_CLOEXEC): Likewise.
48859         (__ASSUME_SOCK_CLOEXEC): Likewise.
48860         (__ASSUME_IN_NONBLOCK): Likewise.
48861         (__ASSUME_PIPE2): Likewise.
48862         (__ASSUME_EVENTFD2): Likewise.
48863         (__ASSUME_SIGNALFD4): Likewise.
48864         (__ASSUME_DUP3): Likewise.
48865         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48866         (__ASSUME_UTIMES): Likewise.
48867         (__ASSUME_O_CLOEXEC): Likewise.
48868         (__ASSUME_SOCK_CLOEXEC): Likewise.
48869         (__ASSUME_IN_NONBLOCK): Likewise.
48870         (__ASSUME_PIPE2): Likewise.
48871         (__ASSUME_EVENTFD2): Likewise.
48872         (__ASSUME_SIGNALFD4): Likewise.
48873         (__ASSUME_DUP3): Likewise.
48874         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
48875         Likewise.
48876         (__ASSUME_UTIMES): Likewise.
48877         (__ASSUME_EVENTFD2): Likewise.
48878         (__ASSUME_SIGNALFD4): Likewise.
48879         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48880         (__ASSUME_O_CLOEXEC): Likewise.
48881         (__ASSUME_SOCK_CLOEXEC): Likewise.
48882         (__ASSUME_IN_NONBLOCK): Likewise.
48883         (__ASSUME_PIPE2): Likewise.
48884         (__ASSUME_EVENTFD2): Likewise.
48885         (__ASSUME_SIGNALFD4): Likewise.
48886         (__ASSUME_DUP3): Likewise.
48887         (__ASSUME_UTIMES): Undefine.
48889         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
48890         feclearexcept.  Remove symbol versioning code.
48891         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
48892         symbol versioning code.
48893         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
48894         symbol versioning code.
48895         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
48896         feupdateenv.  Remove symbol versioning code.
48897         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
48898         fegetexceptflag.  Remove symbol versioning code.
48899         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
48900         fesetexceptflag.  Remove symbol versioning code.
48901         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
48902         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
48903         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
48904         (__posix_fadvise64_l32): Remove prototype.
48905         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
48906         code.
48908 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48910         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
48911         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
48912         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
48913         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
48915 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
48917         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
48918         current working directory
48920 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48922         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
48923         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
48924         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
48925         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
48926         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
48927         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
48928         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
48929         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
48930         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
48931         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
48932         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
48933         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
48934         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
48935         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
48936         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
48937         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
48938         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
48939         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
48940         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
48941         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
48942         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
48943         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
48944         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
48945         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
48946         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
48947         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
48948         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
48949         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
48950         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
48951         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
48952         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
48953         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
48954         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
48955         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
48956         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
48957         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
48958         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
48959         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
48960         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
48961         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
48962         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
48963         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
48965         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
48966         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
48968         * sysdeps/unix/sysv/linux/arm/Makefile
48969         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
48970         Add rt-aeabi_unwind_cpp_pr1.
48971         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
48972         Add nptl-aeabi_unwind_cpp_pr1.
48973         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
48974         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
48975         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
48976         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48977         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
48978         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48980         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
48981         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
48982         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
48983         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
48985         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
48986         Deconditionalize the code that was previously under [RESET_PID].
48987         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
48989         * sysdeps/generic/exit-thread.h: New file.
48990         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
48991         * include/unistd.h (__exit_thread): Remove declaration.
48992         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
48993         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
48994         * csu/libc-start.c: Include <exit-thread.h>.
48995         (LIBC_START_MAIN): Pass no argument to __exit_thread.
48996         * nptl/pthread_create.c: Include <exit-thread.h>.
48997         (start_thread): Call __exit_thread in place of __exit_thread_inline.
48998         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
48999         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49000         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49001         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49002         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49003         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49004         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49005         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49006         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49007         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49008         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49009         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49010         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49011         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49012         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49013         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49015 2014-05-13  Andreas Schwab  <schwab@suse.de>
49017         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49019 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49021         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49022         (__ASSUME_UTIMES): Do not condition on kernel version.
49023         (__ASSUME_PSELECT): Define unconditionally.
49024         (__ASSUME_PPOLL): Likewise.
49025         (__ASSUME_ATFCTS): Likewise.
49026         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49027         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49028         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49029         (__ASSUME_UTIMENSAT): Define unconditionally.
49030         (__ASSUME_PRIVATE_FUTEX): Likewise.
49031         (__ASSUME_FALLOCATE): Likewise.
49032         (__ASSUME_O_CLOEXEC): Likewise.
49033         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49034         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49035         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49036         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49037         (__ASSUME_IN_NONBLOCK): Likewise.
49038         (__ASSUME_PIPE2): Likewise.
49039         (__ASSUME_EVENTFD2): Likewise.
49040         (__ASSUME_SIGNALFD4): Likewise.
49041         (__ASSUME_DUP3): Likewise.
49042         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49043         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49044         (__ASSUME_AT_RANDOM): Likewise.
49045         (__ASSUME_PREADV): Likewise.
49046         (__ASSUME_PWRITEV): Likewise.
49047         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49048         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49049         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49050         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49051         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49052         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49053         (__ASSUME_O_CLOEXEC): Define unconditionally.
49054         (__ASSUME_PSELECT): Do not undefine conditionally.
49055         (__ASSUME_PPOLL): Likewise.
49056         (__ASSUME_ATFCTS): Likewise.
49057         (__ASSUME_SET_ROBUST_LIST): Likewise.
49058         (__ASSUME_UTIMENSAT): Likewise.
49059         (__ASSUME_FDATASYNC): Define unconditionally.
49060         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49061         (__ASSUME_SIGFRAME_V2): Likewise.
49062         )__ASSUME_EVENTFD2): Likewise.
49063         (__ASSUME_SIGNALFD4): Likewise.
49064         (__ASSUME_PSELECT): Do not undefine conditionally.
49065         (__ASSUME_PPOLL): Likewise.
49066         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49067         (__ASSUME_PSELECT): Define unconditionally.
49068         (__ASSUME_PPOLL): Likewise.
49069         (__ASSUME_O_CLOEXEC): Likewise.
49070         (__ASSUME_SOCK_CLOEXEC): Likewise.
49071         (__ASSUME_IN_NONBLOCK): Likewise.
49072         (__ASSUME_PIPE2): Likewise.
49073         (__ASSUME_EVENTFD2): Likewise.
49074         (__ASSUME_SIGNALFD4): Likewise.
49075         (__ASSUME_DUP3): Likewise.
49076         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49077         (__ASSUME_O_CLOEXEC): Likewise.
49078         (__ASSUME_SOCK_CLOEXEC): Likewise.
49079         (__ASSUME_IN_NONBLOCK): Likewise.
49080         (__ASSUME_PIPE2): Likewise.
49081         (__ASSUME_EVENTFD2): Likewise.
49082         (__ASSUME_SIGNALFD4): Likewise.
49083         (__ASSUME_DUP3): Likewise.
49084         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49085         (__ASSUME_EVENTFD2): Likewise.
49086         (__ASSUME_SIGNALFD4): Likewise.
49087         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49089 2014-05-12  Andreas Schwab  <schwab@suse.de>
49091         [BZ #16932]
49092         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49093         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49094         than maximum RPC packet size.
49095         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49096         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49097         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49098         (_nss_nis_getservbyport_r): Likewise.
49100 2014-05-12  Will Newton  <will.newton@linaro.org>
49102         * malloc/Makefile (tests): Add tst-mallopt.
49103         * malloc/tst-mallopt.c: New file.
49105 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49107         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49108         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49110 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49112         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49113         (tst-tlsmod6.so): Likewise.
49115 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49117         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49119 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49121         [BZ #16064]
49122         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49123         and <dl-procinfo.h>.
49124         (__fegetenv): Save SSE state in envp->__eip if supported.
49125         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49126         envp->__eip if supported.
49127         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49128         and <dl-procinfo.h>.
49129         (__fesetenv): Always set __eip, __cs_selector, __opcode,
49130         __data_offset and __data_selector in environment to 0.  Set SSE
49131         state if supported.
49132         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49133         test-fenv-sse.
49134         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49135         -mfpmath=sse.
49136         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49138 2014-05-09  Will Newton  <will.newton@linaro.org>
49140         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49141         and libc_relro_required for ARM.
49142         * sysdeps/arm/preconfigure: Regenerate.
49144 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
49145             Stefan Liebler  <stli@linux.vnet.ibm.com>
49147         * config.make.in (enable-lock-elision): New Makefile variable.
49148         * configure.ac: Likewise.
49149         * configure: Regenerate.
49150         * sysdeps/s390/configure.ac:
49151         Add check for gcc transactions support.
49152         * sysdeps/s390/configure: Regenerate.
49153         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49154         Build elision files if enabled.
49155         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49156         Add lock elision support for s390.
49157         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49158         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49159         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49160         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49161         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49162         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49163         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49164         Likewise.
49165         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49166         Likewise.
49167         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49168         Likewise.
49169         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49170         Likewise.
49171         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49172         (__lll_timedlock_elision, __lll_lock_elision)
49173         (__lll_unlock_elision, __lll_trylock_elision)
49174         (lll_timedlock_elision, lll_lock_elision)
49175         (lll_unlock_elision, lll_trylock_elision): Add.
49176         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49177         (pthread_mutex_t): Add lock elision support for s390.
49179 2014-05-14  Wilco  <wdijkstr@arm.com>
49181         * sysdeps/arm/fclrexcpt.c: Cleanup.
49182         * sysdeps/arm/fedisblxcpt.c: Cleanup.
49183         * sysdeps/arm/feenablxcpt.c: Cleanup.
49184         * sysdeps/arm/fegetenv.c: Cleanup.
49185         * sysdeps/arm/fegetexcept.c: Cleanup.
49186         * sysdeps/arm/fegetround.c: Cleanup.
49187         * sysdeps/arm/feholdexcpt.c: Cleanup.
49188         * sysdeps/arm/fesetenv.c: Cleanup.
49189         * sysdeps/arm/fesetround.c: Cleanup.
49190         * sysdeps/arm/feupdateenv.c: Cleanup.
49191         * sysdeps/arm/fgetexcptflg.c: Cleanup.
49192         * sysdeps/arm/fraiseexcpt.c: Cleanup.
49193         * sysdeps/arm/fsetexcptflg.c: Cleanup.
49194         * sysdeps/arm/ftestexcept.c: Cleanup.
49195         * sysdeps/arm/get-rounding-mode.h: Cleanup.
49196         * sysdeps/arm/setfpucw.c: Cleanup.
49198 2014-05-09  Will Newton  <will.newton@linaro.org>
49200         * sysdeps/arm/armv7/strcmp.S: New file.
49201         * NEWS: Mention addition of ARMv7 optimized strcmp.
49203 2014-05-08  Roland McGrath  <roland@hack.frob.com>
49205         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49206         look for %.ac rather than %.in.
49208         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49209         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49210         * sysdeps/mach/hurd/configure: Regenerated.
49211         * sysdeps/unix/sysv/linux/configure: Regenerated.
49213         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49215 2014-05-07  Steve Ellcey  <sellcey@mips.com>
49217         [BZ #16922]
49218         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49219         (LONG_SUB): Ditto.
49220         (PTR_SUB): Ditto.
49222 2014-05-07  Andreas Schwab  <schwab@suse.de>
49224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49225         when skipping over non-matching result from nscd.
49227 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
49229         [BZ #16876]
49230         * nptl/sockperf.c (client): Check socket return value.
49232         [BZ #16877]
49233         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
49234         nscd security class.
49236 2014-05-06  Roland McGrath  <roland@hack.frob.com>
49238         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
49239         * sysdeps/arm/unwind.h: ... here.
49241 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
49243         [BZ #16916]
49244         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
49245         Define.
49247 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49249         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
49250         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49251         multiarch strncpy for PPC64.
49252         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
49253         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
49254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
49255         multiarch optimizations.
49256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49257         (__libc_ifunc_impl_list): Likewise.
49258         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49259         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
49260         multiarch stpncpy for PPC64.
49261         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
49262         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
49264 2014-05-06  Andreas Schwab  <schwab@suse.de>
49266         [BZ #16912]
49267         * gmon/mcount.c (_MCOUNT_DECL): Use
49268         atomic_compare_and_exchange_bool_acq instead of
49269         catomic_compare_and_exchange_bool_acq.
49271 2014-05-05  Roland McGrath  <roland@hack.frob.com>
49273         * elf/Makefile (others, install-bin): Remove pldd.
49274         (pldd-modules): Variable removed.
49275         ($(objpfx)pldd): Target removed.
49276         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
49277         (others, install-bin): Append pldd here.
49278         ($(objpfx)pldd): New target.
49280         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
49281         to 0, so the first #if test emitted later doesn't see it undefined.
49282         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
49283         * sysdeps/gnu/errlist.c: Regenerated.
49285 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49287         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49288         [libc_hidden_builtin_def]: Define to empty value.
49289         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
49290         [libc_hidden_builtin_def]: Likewise.
49291         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
49292         [libc_hidden_builtin_def]: Likewise.
49293         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
49294         [libc_hidden_builtin_def]: Likewise.
49295         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
49296         __redirect_memcpy and define ifunc as default hidden symbol.
49297         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
49298         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
49300 2014-05-04  Adam Conrad  <adconrad@0c3.net>
49302         * locale/iso-4217.def: Reintroduce XDR currency.
49304 2014-05-04  Allan McRae  <allan@archlinux.org>
49306         * po/eo.po: Update Esperanto translation from translation project.
49308 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
49310         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
49311         and FEATURE_INDEX_MAX to 1.
49312         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
49314 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49316         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
49317         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
49318         * iconvdata/big5.c (ONE_DIRECTION): Define.
49319         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
49320         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
49321         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
49322         * iconvdata/cp932.c (ONE_DIRECTION): Define.
49323         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
49324         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
49325         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
49326         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
49327         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
49328         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
49329         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
49330         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
49331         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
49332         * iconvdata/gbk.c (ONE_DIRECTION): Define.
49333         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
49334         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
49335         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
49336         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
49337         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
49338         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
49339         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
49340         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
49341         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
49342         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
49343         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
49344         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
49345         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
49346         * iconvdata/iso646.c (ONE_DIRECTION): Define.
49347         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
49348         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
49349         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
49350         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
49351         * iconvdata/johab.c (ONE_DIRECTION): Define.
49352         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
49353         * iconvdata/sjis.c (ONE_DIRECTION): Define.
49354         * iconvdata/t.61.c (ONE_DIRECTION): Define.
49355         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
49356         * iconvdata/tscii.c (ONE_DIRECTION): Define.
49357         * iconvdata/uhc.c (ONE_DIRECTION): Define.
49358         * iconvdata/unicode.c (ONE_DIRECTION): Define.
49359         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
49360         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
49361         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
49363 2014-05-01  Roland McGrath  <roland@hack.frob.com>
49365         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
49366         (_IO_JUMPS_OFFSET): Define to 0.
49368         * nptl/sysdeps/pthread/bits/libc-lock.h
49369         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
49370         (__libc_lock_define_initialized_recursive): Always define using
49371         initializer.  Modern compilers treat uninitialized (implicit zero) and
49372         explicit zero initializers the same (i.e. put the datum in bss).
49374 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49376         * nscd/nscd-client.h: Include <string.h>.
49378 2014-05-01  David S. Miller  <davem@davemloft.net>
49380         [BZ #16885]
49381         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
49382         multiple zero bytes exist at the end of a string.
49383         Reported by Aurelien Jarno <aurelien@aurel32.net>
49385         * string/test-strcmp.c (check): Add explicit test for situations where
49386         there are multiple zero bytes after the first.
49388 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49390         [BZ #16890]
49391         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
49392         when compiling wprintf.
49393         * stdio-common/tstdiomisc.c (t3): New function.
49394         (main): Call it.
49396 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49398         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
49399         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
49400         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
49401         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
49403 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49405         * stdlib/longlong.h: Updated from GCC.
49407 2014-05-01  Will Newton  <will.newton@linaro.org>
49408             Bernard Ogden  <bernie.ogden@linaro.org>
49410         * NEWS: Update fixed bug list.
49412         [BZ #15119]
49413         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
49415 2014-04-30  David S. Miller  <davem@davemloft.net>
49417         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
49418         (libc_feholdexcept_setround_sparc_ctx): New function.
49419         (libc_fesetenv_sparc_ctx): Likewise.
49420         (libc_feupdateenv_sparc_ctx): Likewise.
49421         (libc_feholdsetround_sparc_ctx): Likewise.
49422         (libc_feholdexcept_setround_ctx): Define.
49423         (libc_feholdexcept_setroundf_ctx): Likewise.
49424         (libc_feholdexcept_setroundl_ctx): Likewise.
49425         (libc_fesetenv_ctx): Likewise.
49426         (libc_fesetenvf_ctx): Likewise.
49427         (libc_fesetenvl_ctx): Likewise.
49428         (libc_feupdateenv_ctx): Likewise.
49429         (libc_feupdateenvf_ctx): Likewise.
49430         (libc_feupdateenvl_ctx): Likewise.
49431         (libc_feresetround_ctx): Likewise.
49432         (libc_feresetroundf_ctx): Likewise.
49433         (libc_feresetroundl_ctx): Likewise.
49434         (libc_feholdsetround_ctx): Likewise.
49435         (libc_feholdsetroundf_ctx): Likewise.
49436         (libc_feholdsetroundl_ctx): Likewise.
49438         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49439         with __USE_GNU instead of XOPEN cpp guards.
49441         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
49442         0.
49444         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49445         with XOPEN cpp guards.
49447 2014-04-30  Julian Brown  <julian@codesourcery.com>
49449         [BZ #16888]
49450         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
49451         handling.
49453 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
49455         [BZ #9894]
49456         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
49457         Change to 2.6.32.
49458         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
49459         * sysdeps/unix/sysv/linux/configure: Regenerated.
49460         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
49461         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
49462         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
49463         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
49464         * README: Update reference to required Linux kernel version.
49465         * manual/install.texi (Linux): Update reference to required Linux
49466         kernel headers version.
49467         * INSTALL: Regenerated.
49469         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
49470         header inclusion.
49471         [POSIX] (limits.h): Likewise.
49472         [POSIX] (math.h): Likewise.
49473         [POSIX] (sys/wait.h): Likewise.
49474         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
49475         function.
49476         [POSIX] (stddef.h): Do not allow header inclusion.
49478 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49480         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
49482 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
49484         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
49485         Return immediately after lll_futex_wake.
49487 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49489         [BZ #16791]
49490         * nscd/nscd-client.h (datahead_init_common): Initialize entire
49491         structure.
49492         (datahead_init_pos): Call datahead_init_common early.
49493         (datahead_init_neg): Likewise.
49495         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
49496         datahead_init_neg): New functions.
49497         * nscd/aicache.c (addhstaiX): Use them.
49498         * nscd/grpcache.c (cache_addgr): Likewise.
49499         * nscd/hstcache.c (cache_addhst): Likewise.
49500         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49501         * nscd/netgroupcache.c (do_notfound): Likewise.
49502         (addgetnetgrentX): Likewise.
49503         (addinnetgrX): Likewise.
49504         * nscd/pwdcache.c (cache_addpw): Likewise.
49505         * nscd/servicescache.c (cache_addserv): Likewise.
49507 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49508             Atsushi Onoe  <atsushi@onoe.org>
49510         [BZ #14308]
49511         [BZ #12994]
49512         [BZ #13651]
49513         * resolv/res_query.c (__libc_res_nsearch): Return if at least
49514         one response is valid.
49515         * resolv/res_send.c (send_dg): Check for validity of other
49516         response if the current response is a referral.
49518 2014-04-29  Steve Ellcey  <sellcey@mips.com>
49520         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
49522 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
49524         [BZ #16823]
49525         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
49526         Always divide by positive zero when computing -Inf result.
49527         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49528         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49530 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49532         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
49533         FPSCR if value do not change.
49534         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49535         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
49536         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
49537         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49538         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
49539         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
49540         function.
49542 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
49544         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
49545         * sysdeps/unix/sysv/linux/hppa: Move directory from
49546         ports/systeps/unix/sysv/linux/hppa.
49547         * README: Update listing for hppa-*-linux-gnu.
49549 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
49551         [BZ #16754]
49552         * manual/stdio.texi (Hook functions): Fix types of stream hook
49553         functions.
49554         [BZ #16854]
49555         * socket/sys/socket.h: Fix typo in comment.
49557 2014-04-28  Wilco  <wdijkstr@arm.com>
49559         * sysdeps/arm/fenv_private.h: New file.
49560         * sysdeps/arm/math_private.h: New file.
49561         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49563 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
49565         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49566         with __int128_t.
49567         (La_x86_64_retval): Likewise.
49569 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49571         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49572         fpsr if value didn't change.
49573         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49574         to fpcr if value didn't change.
49575         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49576         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49577         fpsr or fpcr if value didn't change.
49578         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49579         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49580         fpcr if value didn't change.
49581         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49582         to fpsr if value didn't change.
49584 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49586         * nptl/tst-sem3.c: Use test-skeleton.c
49587         (main): Rename to do_test.  Use return instead of
49588         exit.
49589         * nptl/tst-sem4.c: Use test-skeleton.c
49590         (main): Rename to do_test.
49592 2014-04-22  David S. Miller  <davem@davemloft.net>
49594         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49595         (struct sigaction): New struct member __glibc_reserved0, change
49596         type of sa_flags to int.
49598 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49600         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49601         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49603 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49605         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49606         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49608 2014-04-22  Will Newton  <will.newton@linaro.org>
49609             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
49611         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49612         (__longjmp): Add longjmp and longjmp_target SystemTap
49613         probes.
49614         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49615         (__sigsetjmp): Add setjmp SystemTap probe.
49617 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
49619         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
49620         match manual order.
49622 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49624         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
49626         * sysdeps/powerpc/fpu/fenv_private.h
49627         (libc_feholdexcept_setroundl_ctx): Define to
49628         libc_feholdexcept_setround_ppc_ctx.
49629         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49630         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
49631         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
49632         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
49634 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49636         * sysdeps/aarch64/math-tests.h: New file.
49638 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
49640         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
49641         New.
49642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49643         Check and set bit_AVX2_Usable.
49644         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
49645         macro.
49646         (bit_AVX2): Likewise.
49647         (index_AVX2_Usable): Likewise.
49648         (CPUID_AVX2): Likewise.
49649         (HAS_AVX2): Likewise.
49651 2014-04-17  Will Newton  <will.newton@linaro.org>
49653         * manual/setjmp.texi (System V contexts): Add note that
49654         calling setcontext on a context created by a call to a
49655         signal handler is undefined.  Update text to note that
49656         setcontext from a signal handler is possible but not
49657         recommended.
49659         [BZ #16629]
49660         * stdlib/tst-setcontext.c: Include signal.h.
49661         (main): Check that the signal stack before and
49662         after swapcontext is the same.
49664         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
49665         Re-implement to restore registers in user code and avoid
49666         rt_sigreturn system call.
49668 2014-04-17  Wilco  <wdijkstr@arm.com>
49670         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
49671         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49672         * math/test-fenv.c: Skip exception trap tests on targets which only
49673         support non-stop mode.
49675 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49676             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49678         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
49679         (libc_feholdsetround_aarch64_ctx)
49680         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
49681         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
49682         (libc_feresetround_ctx, libc_feresetroundf_ctx)
49683         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
49684         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
49685         (libc_feresetround_noexl_ctx): Define.
49687 2014-04-16  Richard Henderson  <rth@redhat.com>
49689         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
49691         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
49692         unwind tables.
49694         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
49695         const from the non-libc, non-ldso copy.
49697         * sysdeps/alpha/libm-test-ulps: Regenerate.
49699 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
49700             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49702         * sysdeps/aarch64/fpu/math_private.h: New file.
49704 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49706         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49708 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
49710         [BZ #16275]
49711         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
49712         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
49713         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
49714         Intel MPX bound registers before _dl_profile_fixup.
49715         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
49716         registers after _dl_profile_fixup.  Save and restore bound
49717         registers bnd0/bnd1 when calling _dl_call_pltexit.
49718         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
49719         (LR_BND_OFFSET): Likewise.
49720         (LRV_BND0_OFFSET): Likewise.
49721         (LRV_BND1_OFFSET): Likewise.
49723 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49725         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
49726         to...
49727         * sysdeps/mach/hurd/i386/tls.h: ... here.
49728         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
49729         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
49730         fields.
49732 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49734         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
49736 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49738         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49740 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49742         [BZ #14770]
49743         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
49744         * sysdeps/s390/configure: Regenerate.
49746         [BZ #16824]
49747         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
49748         Set round-to-nearest internally to reduce error accumulation.
49750 2014-04-16  Alan Modra  <amodra@gmail.com>
49752         [BZ #16740]
49753         [BZ #16619]
49754         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
49755         * math/libm-test.inc (frexp_test_data): Add tests.
49756         * NEWS: Update fixed bug list.
49758 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49760         * benchtests/Makefile: Depend on libraries in build directory.
49761         (bench-math): Separate out math tests.
49762         (bench-pthread): Separate out pthread tests.
49763         (bench): Include math and pthread tests.
49765 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
49767         [BZ #16831]
49768         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
49769         _dl_debug_initialize.
49771         * configure.ac: Remove SELinux header check.
49772         * configure: Regenerate.
49773         * nscd/selinux.c (perms): Array of const char* to permission names.
49774         (nscd_request_avc_has_perm): Call security_deny_unknown to find
49775         default policy. Call string_to_security_class and string_to_av_perm to
49776         translate strings. Enforce default policy and call avs_has_perm with
49777         results of translated strings.
49779 2014-04-13  David S. Miller  <davem@davemloft.net>
49781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49783 2014-04-12  Allan McRae  <allan@archlinux.org>
49785         [BZ #16838]
49786         * manual/string.texi (Collation Functions): Fix qsort argument
49787         order in example.
49788         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49790 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
49792         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
49793         Make the test a no-op if there are no exceptions defined.
49795 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
49797         * elf/Makefile (tests): make tst-dlopen-aout conditional on
49798         enable-hardcoded-path-in-tests
49800 2014-04-11  Will Newton  <will.newton@linaro.org>
49802         * benchtests/Makefile (extra-objs): Add json-lib.o.
49803         (bench-func): Tidy up JSON output.
49804         * benchtests/bench-skeleton.c: Include json-lib.h.
49805         (main): Use JSON library functions to do output of
49806         benchmark results.
49807         * benchtests/bench-timing-type.c (main): Output the
49808         timing type simply, leaving formatting to the user.
49809         * benchtests/json-lib.c: New file.
49810         * benchtests/json-lib.h: Likewise.
49812 2014-04-11  Torvald Riegel  <triegel@redhat.com>
49814         [BZ #15215]
49815         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
49816         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
49817         memory barriers.  Add comments.
49818         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
49819         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
49820         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
49821         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
49822         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
49823         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
49825 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49827         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
49828         * sysdeps/s390/s390-64/configure.ac: ... this ...
49829         * sysdeps/s390/configure.ac: ... to here.
49830         * sysdeps/s390/s390-32/configure: Delete file.
49831         * sysdeps/s390/s390-64/configure: Delete file.
49832         * sysdeps/s390/configure: Regenerate.
49834 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
49836         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
49838 2014-04-11  Will Newton  <will.newton@linaro.org>
49840         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
49841         to zero if it is not defined elsewhere.  (mtrim): Test
49842         the value of MALLOC_DEBUG with #if rather than #ifdef.
49844 2014-04-10 Torvald Riegel  <triegel@redhat.com>
49846         * benchtests/pthread_once-inputs: New file.
49847         * benchtests/pthread_once-source.c: New file.
49848         * benchtests/README: Update documentation.
49850 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
49851             H.J. Lu  <hongjiu.lu@intel.com>
49853         [BZ #16275]
49854         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
49855         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
49856         * sysdeps/x86_64/configure: Regenerated.
49857         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
49858         macro.
49859         (REGISTER_SAVE_RAX): Likewise.
49860         (REGISTER_SAVE_RCX): Likewise.
49861         (REGISTER_SAVE_RDX): Likewise.
49862         (REGISTER_SAVE_RSI): Likewise.
49863         (REGISTER_SAVE_RDI): Likewise.
49864         (REGISTER_SAVE_R8): Likewise.
49865         (REGISTER_SAVE_R9): Likewise.
49866         (REGISTER_SAVE_BND0): Likewise.
49867         (REGISTER_SAVE_BND1): Likewise.
49868         (REGISTER_SAVE_BND2): Likewise.
49869         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
49870         bound registers when calling _dl_fixup.
49872 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49874         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
49875         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
49876         of its definition.
49877         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
49878         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
49879         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
49880         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
49881         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
49882         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
49883         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
49885 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
49887         [BZ #15514]
49888         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
49889         pathconf(_PC_NAME_MAX).
49891 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49893         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
49894         Remove macro usage.
49895         (__PTHREAD_SPINS): Move definition to ...
49896         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49897         (__PTHREAD_SPINS): ... here.
49898         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49899         (__PTHREAD_SPIN): Likewise.
49900         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
49901         (__PTHREAD_SPIN): Likewise.
49902         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
49903         (__PTHREAD_SPIN): Likewise.
49904         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
49905         (__PTHREAD_SPIN): Likewise.
49906         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49907         (__PTHREAD_SPIN): Likewise.
49908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49909         (__PTHREAD_SPIN): Likewise.
49910         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
49911         (__PTHREAD_SPIN): Likewise.
49912         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49913         (__PTHREAD_SPIN): Likewise.
49914         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49915         (__PTHREAD_SPIN): Likewise.
49916         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49917         (__PTHREAD_SPIN): Likewise.
49918         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49919         (__PTHREAD_SPIN): Likewise.
49920         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
49921         (__PTHREAD_SPIN): Likewise.
49923         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
49924         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
49925         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
49926         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
49927         imply folder.
49928         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
49929         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
49930         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
49931         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
49932         correct imply path.
49933         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
49934         strlen symbol for non multi-arch builds.
49935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
49936         missing hidden_def and weak_alias.
49938 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
49940         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
49942 2014-04-07  Will Newton  <will.newton@linaro.org>
49944         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
49945         and contents.  [!_LIBC] Remove #ifndef and contents.
49946         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
49947         * string/memccpy.c (__memccpy): Use ANSI prototype.
49948         * string/memfrob.c (memfrob): Likewise.
49949         * string/strcoll.c (STRCOLL): Likewise.
49950         * string/strlen.c (strlen): Likewise.
49951         * string/strtok.c (STRTOK): Likewise.
49952         * string/strcat.c: Remove unused #include of memcopy.h.
49953         (strcat): Use ANSI prototype.
49954         * string/strchr.c: Remove unused #include of memcopy.h.
49955         (strchr): Use ANSI prototype.
49956         * string/strcmp.c: Remove unused #include of memcopy.h.
49957         (strcmp): Use ANSI prototype.
49958         * string/strcpy.c: Remove unused #include of memcopy.h.
49959         (strcpy): Use ANSI prototype.
49961 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49963         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
49964         * config.make.in (config-extra-cppflags): Set it from
49965         libc_extra_cppflags.
49966         * configure.ac (libc_extra_cflags): Make it accumulate over
49967         configure fragments.
49968         (libc_extra_cppflags): New flag.
49969         * configure. Regenerate.
49970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
49971         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
49972         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
49973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
49975         [BZ #16815]
49976         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
49977         result for FE_DOWNWARD rounding mode.
49978         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
49979         Likewise.
49980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49982 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
49984         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
49985         in function argument name.
49987 2014-04-03  David Svoboda  <svoboda@cert.org>
49989         [BZ #5666]
49990         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
49991         explicitly.
49993 2014-04-03  Roland McGrath  <roland@hack.frob.com>
49995         * elf/dl-unmap-segments.h: New file.
49996         * sysdeps/generic/ldsodefs.h
49997         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
49998         * elf/dl-close.c: Include <dl-unmap-segments.h>.
49999         * elf/dl-fptr.c: Likewise.
50000         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50001         * sysdeps/aarch64/tlsdesc.c: Likewise.
50002         * sysdeps/arm/tlsdesc.c: Likewise.
50003         * sysdeps/i386/tlsdesc.c: Likewise.
50004         * sysdeps/tile/dl-runtime.c: Likewise.
50005         * sysdeps/x86_64/tlsdesc.c: Likewise.
50006         * elf/dl-load.h: New file.
50007         * elf/dl-load.c: Include it.
50008         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50009         Macros moved to dl-load.h.
50010         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50011         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50012         Use _dl_unmap_segments in place of __munmap.
50013         Break out segment-mapping loop into ...
50014         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50016 2014-04-03  Will Newton  <will.newton@linaro.org>
50018         * elf/dl-lookup.c (do_lookup_x): Remove comment
50019         referring to nested function and move variable
50020         declarations down to before first use.
50022 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50024         [BZ #16799]
50025         [BZ #16800]
50026         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50027         with 0 numerator.
50028         * math/s_catanf.c (__catanf): Likewise.
50029         * math/s_catanh.c (__catanh): Likewise.
50030         * math/s_catanhf.c (__catanhf): Likewise.
50031         * math/s_catanhl.c (__catanhl): Likewise.
50032         * math/s_catanl.c (__catanl): Likewise.
50033         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50034         by positive zero when computing -Inf result.
50035         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50036         (catanh_test): Likewise.
50037         * sysdeps/i386/fpu/libm-test-ulps: Update.
50038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50040         [BZ #16789]
50041         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50042         instead of using underflowing value in computing result.
50043         * math/s_clog10.c (__clog10): Likewise.
50044         * math/s_clog10f.c (__clog10f): Likewise.
50045         * math/s_clog10l.c (__clog10l): Likewise.
50046         * math/s_clogf.c (__clogf): Likewise.
50047         * math/s_clogl.c (__clogl): Likewise.
50048         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50049         (clog10_test): Likewise.
50050         * sysdeps/i386/fpu/libm-test-ulps: Update.
50051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50053 2014-04-02  Alan Modra  <amodra@gmail.com>
50055         [BZ #16739]
50056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50057         output when value is near a power of two.  Use int64_t for lx and
50058         remove casts.  Use decimal rather than hex exponent constants.
50059         Don't use long double multiplication when double will suffice.
50060         * math/libm-test.inc (nextafter_test_data): Add tests.
50061         * NEWS: Add 16739 and 16786 to bug list.
50063         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50065         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50067 2014-04-01  Will Newton  <will.newton@linaro.org>
50069         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50070         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50072 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50074         [BZ #13347]
50075         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50076         * nptl/tst-setuid2.c: New file.
50077         * nptl/Makefile (xtests): Add tst-setuid2.
50079 2014-04-01  Alan Modra  <amodra@gmail.com>
50081         [BZ #16786]
50082         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50084 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50086         [BZ #6803]
50087         [BZ #6804]
50088         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50089         set errno as appropriate.
50090         * math/w_scalbf.c (__scalbf): Likewise.
50091         * math/w_scalbl.c (__scalbl): Likewise.
50092         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50093         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50094         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50095         Add more NaN tests.
50097         [BZ #16349]
50098         * math/w_atan2.c: Include <errno.h>.
50099         (__atan2): Set errno for result underflowing to zero.
50100         * math/w_atan2f.c: Include <errno.h>.
50101         (__atan2f): Set errno for result underflowing to zero.
50102         * math/w_atan2l.c: Include <errno.h>.
50103         (__atan2l): Set errno for result underflowing to zero.
50104         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50105         tests.
50106         * math/auto-libm-test-out: Regenerated.
50108 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50110         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50111         Encode instruction correctly in little endian.
50112         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50113         Likewise.
50114         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50115         Likewise.
50116         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50117         Likewise.
50118         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50119         Likewise.
50121 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50123         [BZ #9894]
50124         * sysdeps/unix/sysv/linux/kernel-features.h
50125         [__sparc__ && !__arch64__ && !__sparc_v9__]
50126         (__ASSUME_SET_ROBUST_LIST): Do not define.
50127         [__sparc__ && !__arch64__ && !__sparc_v9__]
50128         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50129         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50130         Likewise.
50131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50132         (__ASSUME_FUTEX_LOCK_PI): Undefine.
50133         (__ASSUME_REQUEUE_PI): Likewise.
50134         (__ASSUME_SET_ROBUST_LIST): Likewise.
50135         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50136         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50137         Undefine.
50138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50139         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50140         Likewise.
50141         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50142         Likewise.
50143         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50144         Likewise.
50145         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50146         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50147         Undefine.
50148         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50149         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50150         Likewise.
50152         [BZ #16648]
50153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50154         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50155         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50157 2014-03-31  Will Newton  <will.newton@linaro.org>
50159         * benchtests/Makefile (bench): Add ffs and ffsll to list
50160         of tests.
50161         * benchtests/ffs-inputs: New file.
50162         * benchtests/ffsll-inputs: Likewise.
50164 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
50166         [BZ #16770]
50167         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50168         too large before casting to int.
50169         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50170         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50171         * math/libm-test.inc (scalb_test_data): Add more tests.
50173 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50175         * benchtests/Makefile (DETAILED_OPT): New make option.
50176         (bench-func): Run benchmark program with -d if DETAILED_OPT is
50177         set.
50178         * benchtests/bench-skeleton.c: Include stdbool.h.
50179         (main): Store and print timings per input.
50180         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50181         member to each argument value.
50182         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50183         (_print_arg_data): Initialize per-input timing to 0.
50185         * benchtests/Makefile (timing-type): New binary.
50186         (bench-clean): Also remove bench-timing-type.
50187         (bench): New target for timing-type.
50188         (bench-func): Print output in JSON format.
50189         * benchtests/bench-skeleton.c (main): Print output in JSON
50190         format.
50191         * benchtests/bench-timing-type.c: New file.
50192         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50193         (TIMING_PRINT_STATS): Remove.
50194         * benchtests/scripts/bench.py (_print_arg_data): Store variant
50195         name separately.
50197         * benchtests/bench-modf.c: Remove.
50198         * benchtests/modf-inputs: New inputs file.
50200 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
50202         [BZ #16362]
50203         * math/s_clog10.c (M_PI_LOG10E): New macro.
50204         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50205         imaginary parts are 0.
50206         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50207         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50208         imaginary parts are 0.
50209         * math/s_clog10l.c (M_PI_LOG10El): New macro.
50210         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50211         imaginary parts are 0.
50212         * math/libm-test.inc (clog10_test_data): Update expected results
50213         for when real and imaginary parts are 0.
50215 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
50217         * elf/dl-load.c: Finish conversion of __builtin_expect into
50218         __glibc_{un}likely.
50220 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
50222         [BZ #16348]
50223         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50224         1+x for argument with exponent below -67.
50225         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50226         Likewise.
50227         * math/auto-libm-test-in: Add more tests of exp.
50228         * math/auto-libm-test-out: Regenerated.
50230 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50232         [BZ #16759]
50233         * inet/getnetgrent_r.c (get_nonempty_val): New function.
50234         (nscd_getnetgrent): Use it.
50236         [BZ #16760]
50237         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
50238         of stpcpy.
50240 2014-03-27  Andi Kleen  <ak@linux.intel.com>
50242         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
50243         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50244         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50245         (lll_robust_unlock): Remove out of line section. Use cfi
50246         intrinsics.
50247         (LLL_STUB_UNWIND_INFO*): Remove.
50248         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
50249         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50250         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50251         (lll_robust_unlock): Remove out of line section. Use cfi
50252         intrinsics.
50253         (LLL_STUB_UNWIND_INFO*): Remove.
50255 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50257         [BZ #16758]
50258         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
50259         blank values.
50261 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
50263         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
50265 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
50267         [BZ #16198]
50268         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
50269         fnstenv.
50270         * math/test-fenv-preserve.c: New file.
50271         * math/Makefile (tests): Add test-fenv-preserve.
50273 2014-03-26  Will Newton <will.newton@linaro.org>
50275         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
50277 2014-03-25  Roland McGrath  <roland@hack.frob.com>
50279         * scripts/versionlist.awk: Partition the version sets and emit all
50280         GLIBC_* (sorted) before all others (sorted).
50282 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50284         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
50285         GLIBC_2.2.5 version.
50287 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50289         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
50290         calls.
50292         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
50293         previous change.
50295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50297 2014-03-25  Andreas Schwab  <schwab@suse.de>
50299         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
50300         label to be used after in6ailist is initialized.
50302 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50304         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50305         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50307 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50309         [BZ #16357]
50310         [BZ #16599]
50311         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
50312         min_plus_half.
50313         (fp_formats): Update initializers.
50314         (init_fp_formats): Initialize new field.
50315         (output_for_one_input_case): Allow underflow for results up to
50316         min_plus_half.
50317         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
50318         * math/auto-libm-test-in: Don't mark some underflows from asin and
50319         atanh as spurious.
50320         * math/auto-libm-test-out: Regenerated.
50321         * sysdeps/i386/fpu/libm-test-ulps: Update.
50322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50324 2014-03-25  Andreas Schwab  <schwab@suse.de>
50326         * libio/Makefile (tst-ftell-partial-wide-ENV)
50327         (tst-ftell-active-handler-ENV): Define.
50329 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
50331         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
50333 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50335         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
50337 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50339         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
50340         * sysdeps/x86_64/fpu/multiarch/e_exp.c
50341         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
50343 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50345         [BZ #16634]
50346         * elf/dl-load.c (open_verify): Add mode parameter.
50347         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
50348         (open_path): Change from boolean 'secure' to complete flag 'mode'
50349         (_dl_map_object): Adjust.
50350         * elf/Makefile (tests): Add tst-dlopen-aout.
50351         * elf/tst-dlopen-aout.c: New test.
50353 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
50355         [BZ #16714]
50356         * sysdeps/unix/sysv/linux/s390/bits/stat.h
50357         (struct stat): Rename member pad0 to __glibc_reserved0.
50359         [BZ #16712]
50360         * sysdeps/s390/s390-32/bits/wordsize.h
50361         (__WORDSIZE32_SIZE_ULONG): New define.
50362         * sysdeps/s390/s390-64/bits/wordsize.h
50363         (__WORDSIZE32_SIZE_ULONG): Likewise.
50364         * sysdeps/generic/stdint.h (SIZE_MAX):
50365         Define as UL if __WORDSIZE32_SIZE_ULONG.
50367         [BZ #16713]
50368         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
50369         (__glibc_reserved0): New variable.
50370         (sa_flags): Change type to int.
50372         * posix/Makefile (before-compile): Use += before-compile instead
50373         of a :=.
50375         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50376         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50378 2014-03-20  Andreas Schwab  <schwab@suse.de>
50380         [BZ #16743]
50381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
50382         non-matching result from nscd.
50384 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50386         * scripts/bench.py: Moved to ...
50387         * benchtests/scripts/bench.py: ... here.
50388         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
50390 2014-03-24  Andreas Schwab  <schwab@suse.de>
50392         [BZ #16002]
50393         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
50394         alloca_account and account alloca use for struct in6ailist.
50396 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50398         [BZ #16284]
50399         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
50400         rounding mode to recompute results that overflow to infinity or
50401         underflow to zero.
50402         * math/auto-libm-test-in: Don't mark tests as expected to fail for
50403         bug 16284.
50404         * math/auto-libm-test-out: Regenerated.
50405         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
50406         (ccosh_test): Likewise.
50407         (csin_test_data): Use plus_oflow.
50408         (csin_test): Use ALL_RM_TEST.
50409         (csinh_test_data): Use plus_oflow.
50410         (csinh_test): Use ALL_RM_TEST.
50411         * sysdeps/i386/fpu/libm-test-ulps: Update.
50412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50414 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
50416         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
50417         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
50418         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
50420         [BZ #16731]
50421         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
50422         when x - 1 is zero.
50423         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
50424         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
50425         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50426         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
50427         argument is 1.
50428         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
50429         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
50430         zero.
50431         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
50432         * sysdeps/i386/fpu/libm-test-ulps: Update.
50433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50435 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50437         * scripts/bench.pl: Remove file.
50438         * scripts/bench.py: New benchmark script.
50439         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
50440         * benchtests/README: Mention python dependency.
50441         * scripts/pylintrc: New file.
50442         * scripts/pylint: New file.
50444         * bits/mathdef.h: Use #ifdef instead of #if.
50445         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
50446         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50447         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
50448         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50449         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
50450         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50452 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50453             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50455         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
50456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
50457         and strpbrk-ppc64 objects.
50458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50459         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
50460         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
50461         multiarch strpbrk for POWER7.
50462         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
50463         multiarch strpbrk for PPC64.
50464         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
50465         ifunc selector.
50466         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
50467         strpbrk for POWER7.
50469 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50471         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
50472         (atan_test): Likewise.
50473         (atanh_test_data): Use NO_TEST_INLINE for two tests.
50474         (atanh_test): Use ALL_RM_TEST.
50475         (atan2_test_data): Likewise.
50476         (cabs_test): Likewise.
50477         (cacosh_test): Likewise.
50478         (carg_test): Likewise.
50479         (casin_test): Likewise.
50480         (casinh_test): Likewise.
50481         (cbrt_test): Likewise.
50482         (csqrt_test): Likewise.
50483         (erf_test): Likewise.
50484         (erfc_test): Likewise.
50485         (pow10_test): Likewise.
50486         (exp2_test): Likewise.
50487         (hypot_test): Likewise.
50488         (j0_test): Likewise.
50489         (j1_test): Likewise.
50490         (lgamma_test): Likewise.
50491         (gamma_test): Likewise.
50492         (sincos_test): Likewise.
50493         (tanh_test): Likewise.
50494         (y0_test): Likewise.
50495         (y1_test): Likewise.
50496         * sysdeps/i386/fpu/libm-test-ulps: Update.
50497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50499 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50501         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
50502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
50503         and strcspn-ppc64 objects.
50504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50505         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
50506         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
50507         multiarch strcspn for POWER7.
50508         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
50509         multiarch strcspn for PPC64.
50510         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
50511         ifunc selector.
50512         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
50513         strcspn for POWER7.
50515 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50517         * math/gen-libm-test.pl (generate_testfile): Expect only function
50518         name as argument to AUTO_TESTS_* and pass results for all rounding
50519         modes to parse_args.
50520         (parse_auto_input): Separate inputs of automatic tests from
50521         outputs before storing in %auto_tests.
50522         * math/libm-test.inc (acos_test_data): Update call to
50523         AUTO_TESTS_f_f.
50524         (acos_test): Use ALL_RM_TEST.
50525         (acos_tonearest_test_data): Remove.
50526         (acos_test_tonearest): Likewise.
50527         (acos_towardzero_test_data): Likewise.
50528         (acos_test_towardzero): Likewise.
50529         (acos_downward_test_data): Likewise.
50530         (acos_test_downward): Likewise.
50531         (acos_upward_test_data): Likewise.
50532         (acos_test_upward): Likewise.
50533         (acosh_test_data): Update call to AUTO_TESTS_f_f.
50534         (asin_test_data): Likewise.
50535         (asin_test): Use ALL_RM_TEST.
50536         (asin_tonearest_test_data): Remove.
50537         (asin_test_tonearest): Likewise.
50538         (asin_towardzero_test_data): Likewise.
50539         (asin_test_towardzero): Likewise.
50540         (asin_downward_test_data): Likewise.
50541         (asin_test_downward): Likewise.
50542         (asin_upward_test_data): Likewise.
50543         (asin_test_upward): Likewise.
50544         (asinh_test_data): Update call to AUTO_TESTS_f_f.
50545         (atan_test_data): Likewise.
50546         (atanh_test_data): Likewise.
50547         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
50548         (cabs_test_data): Update call to AUTO_TESTS_c_f.
50549         (carg_test_data): Likewise.
50550         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
50551         (ccos_test_data): Update call to AUTO_TESTS_c_c.
50552         (ccosh_test_data): Likewise.
50553         (cexp_test_data): Likewise.
50554         (clog_test_data): Likewise.
50555         (clog10_test_data): Likewise.
50556         (cos_test_data): Update call to AUTO_TESTS_f_f.
50557         (cos_test): Use ALL_RM_TEST.
50558         (cos_tonearest_test_data): Remove.
50559         (cos_test_tonearest): Likewise.
50560         (cos_towardzero_test_data): Likewise.
50561         (cos_test_towardzero): Likewise.
50562         (cos_downward_test_data): Likewise.
50563         (cos_test_downward): Likewise.
50564         (cos_upward_test_data): Likewise.
50565         (cos_test_upward): Likewise.
50566         (cosh_test_data): Update call to AUTO_TESTS_f_f.
50567         (cosh_test): Use ALL_RM_TEST.
50568         (cosh_tonearest_test_data): Remove.
50569         (cosh_test_tonearest): Likewise.
50570         (cosh_towardzero_test_data): Likewise.
50571         (cosh_test_towardzero): Likewise.
50572         (cosh_downward_test_data): Likewise.
50573         (cosh_test_downward): Likewise.
50574         (cosh_upward_test_data): Likewise.
50575         (cosh_test_upward): Likewise.
50576         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50577         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50578         (ctan_test_data): Likewise.
50579         (ctan_test): Use ALL_RM_TEST.
50580         (ctan_tonearest_test_data): Remove.
50581         (ctan_test_tonearest): Likewise.
50582         (ctan_towardzero_test_data): Likewise.
50583         (ctan_test_towardzero): Likewise.
50584         (ctan_downward_test_data): Likewise.
50585         (ctan_test_downward): Likewise.
50586         (ctan_upward_test_data): Likewise.
50587         (ctan_test_upward): Likewise.
50588         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50589         (ctanh_test): Use ALL_RM_TEST.
50590         (ctanh_tonearest_test_data): Remove.
50591         (ctanh_test_tonearest): Likewise.
50592         (ctanh_towardzero_test_data): Likewise.
50593         (ctanh_test_towardzero): Likewise.
50594         (ctanh_downward_test_data): Likewise.
50595         (ctanh_test_downward): Likewise.
50596         (ctanh_upward_test_data): Likewise.
50597         (ctanh_test_upward): Likewise.
50598         (erf_test_data): Update call to AUTO_TESTS_f_f.
50599         (erfc_test_data): Likewise.
50600         (exp_test_data): Likewise.
50601         (exp_test): Use ALL_RM_TEST.
50602         (exp_tonearest_test_data): Remove.
50603         (exp_test_tonearest): Likewise.
50604         (exp_towardzero_test_data): Likewise.
50605         (exp_test_towardzero): Likewise.
50606         (exp_downward_test_data): Likewise.
50607         (exp_test_downward): Likewise.
50608         (exp_upward_test_data): Likewise.
50609         (exp_test_upward): Likewise.
50610         (exp10_test_data): Update call to AUTO_TESTS_f_f.
50611         (exp10_test): Use ALL_RM_TEST.
50612         (exp10_tonearest_test_data): Remove.
50613         (exp10_test_tonearest): Likewise.
50614         (exp10_towardzero_test_data): Likewise.
50615         (exp10_test_towardzero): Likewise.
50616         (exp10_downward_test_data): Likewise.
50617         (exp10_test_downward): Likewise.
50618         (exp10_upward_test_data): Likewise.
50619         (exp10_test_upward): Likewise.
50620         (exp2_test_data): Update call to AUTO_TESTS_f_f.
50621         (expm1_test_data): Likewise.
50622         (expm1_test): Use ALL_RM_TEST.
50623         (expm1_tonearest_test_data): Remove.
50624         (expm1_test_tonearest): Likewise.
50625         (expm1_towardzero_test_data): Likewise.
50626         (expm1_test_towardzero): Likewise.
50627         (expm1_downward_test_data): Likewise.
50628         (expm1_test_downward): Likewise.
50629         (expm1_upward_test_data): Likewise.
50630         (expm1_test_upward): Likewise.
50631         (fma_test_data): Update call to AUTO_TESTS_fff_f.
50632         (fma_test): Use ALL_RM_TEST.
50633         (fma_towardzero_test_data): Remove.
50634         (fma_test_towardzero): Likewise.
50635         (fma_downward_test_data): Likewise.
50636         (fma_test_downward): Likewise.
50637         (fma_upward_test_data): Likewise.
50638         (fma_test_upward): Likewise.
50639         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
50640         (j0_test_data): Update call to AUTO_TESTS_f_f.
50641         (j1_test_data): Likewise.
50642         (jn_test_data): Update call to AUTO_TESTS_if_f.
50643         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
50644         (log_test_data): Update call to AUTO_TESTS_f_f.
50645         (log10_test_data): Likewise.
50646         (log1p_test_data): Likewise.
50647         (log2_test_data): Likewise.
50648         (pow_test_data): Update call to AUTO_TESTS_ff_f.
50649         (pow_tonearest_test_data): Likewise.
50650         (sin_test_data): Update call to AUTO_TESTS_f_f.
50651         (sin_test): Use ALL_RM_TEST.
50652         (sin_tonearest_test_data): Remove.
50653         (sin_test_tonearest): Likewise.
50654         (sin_towardzero_test_data): Likewise.
50655         (sin_test_towardzero): Likewise.
50656         (sin_downward_test_data): Likewise.
50657         (sin_test_downward): Likewise.
50658         (sin_upward_test_data): Likewise.
50659         (sin_test_upward): Likewise.
50660         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
50661         (sinh_test_data): Update call to AUTO_TESTS_f_f.
50662         (sinh_test): Use ALL_RM_TEST.
50663         (sinh_tonearest_test_data): Remove.
50664         (sinh_test_tonearest): Likewise.
50665         (sinh_towardzero_test_data): Likewise.
50666         (sinh_test_towardzero): Likewise.
50667         (sinh_downward_test_data): Likewise.
50668         (sinh_test_downward): Likewise.
50669         (sinh_upward_test_data): Likewise.
50670         (sinh_test_upward): Likewise.
50671         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
50672         (sqrt_test): Use ALL_RM_TEST.
50673         (sqrt_tonearest_test_data): Remove.
50674         (sqrt_test_tonearest): Likewise.
50675         (sqrt_towardzero_test_data): Likewise.
50676         (sqrt_test_towardzero): Likewise.
50677         (sqrt_downward_test_data): Likewise.
50678         (sqrt_test_downward): Likewise.
50679         (sqrt_upward_test_data): Likewise.
50680         (sqrt_test_upward): Likewise.
50681         (tan_test_data): Update call to AUTO_TESTS_f_f.
50682         (tan_test): Use ALL_RM_TEST.
50683         (tan_tonearest_test_data): Remove.
50684         (tan_test_tonearest): Likewise.
50685         (tan_towardzero_test_data): Likewise.
50686         (tan_test_towardzero): Likewise.
50687         (tan_downward_test_data): Likewise.
50688         (tan_test_downward): Likewise.
50689         (tan_upward_test_data): Likewise.
50690         (tan_test_upward): Likewise.
50691         (tanh_test_data): Update call to AUTO_TESTS_f_f.
50692         (tgamma_test_data): Likewise.
50693         (y0_test_data): Likewise.
50694         (y1_test_data): Likewise.
50695         (yn_test_data): Update call to AUTO_TESTS_if_f.
50696         (main): Do not call removed functions.
50698 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50700         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
50701         (ldexp_test_data): Remove.
50702         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
50703         scalbn_test_data.
50704         (scalb_test): Use ALL_RM_TEST.
50706 2014-03-19  Andreas Schwab  <schwab@suse.de>
50708         * nscd/nscd.service: Also invalidate netgroup cache on reload.
50710 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50712         [BZ #16649]
50713         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50714         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
50715         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
50716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50717         (__ASSUME_PREADV): Undefine.
50718         (__ASSUME_PWRITEV): Likewise.
50720 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50722         * bits/mman-linux.h: Add comment about non-Linux use.
50723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
50724         bits/mman-linux.h resting place.
50726         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
50727         * bits/mman-linux.h: ... here.
50729 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50731         * conform/conformtest.pl: Add standard definition when calling C
50732         preprocessor on data files.
50733         (checknamespace): Remove unused variable.
50735 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50737         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
50738         minus_oflow, plus_uflow and minus_uflow in expected results.
50739         * math/libm-test.inc (scalbn_test_data): Add more tests of
50740         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
50741         minus_uflow.
50742         (scalbn_test): Use ALL_RM_TEST.
50743         (scalbln_test_data): Add more tests of negative arguments.  Use
50744         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
50745         (scalbln_test): Use ALL_RM_TEST.
50747 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50749         * scripts/abilist.awk: Ignore symbols marked with .hidden.
50751 2014-03-18  Will Newton  <will.newton@linaro.org>
50753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
50754         inaccurate comment.
50756 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50758         * Makerules [!subdir] (check-abi): Exit with error status if a
50759         test failed.
50761 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50763         * math/libm-test.inc (nearbyint_test_data): Include all tests used
50764         for rint.  Include results for all rounding modes.
50765         (nearbyint_test): Use ALL_RM_TEST.
50766         (rint_test_data): Include all tests used for nearbyint.
50768 2014-03-17  Will Newton  <will.newton@linaro.org>
50770         * nptl/sysdeps/pthread/pthread.h: Revert previous
50771         change.
50773         * sysdeps/generic/ldsodefs.h: Revert previous
50774         change.
50776         * libio/genops.c: Revert previous change.
50777         * libio/libioP.h: Likewise.
50778         * stdio-common/vfprintf.c: Likewise.
50780         * sysdeps/generic/math_private.h: Revert previous
50781         change.
50783         * sysdeps/generic/math_private.h: Check whether
50784         HAVE_RM_CTX is defined with #ifdef rather
50785         than #if.
50787         * argp/argp-fmtstream.h: Check whether
50788         __STRICT_ANSI__ is defined with #ifdef rather
50789         than #if.
50790         * argp/argp.h: Likewise.
50792         * libio/genops.c: Check whether
50793         _IO_JUMPS_OFFSET is defined with #ifdef rather
50794         than #if.
50795         * libio/libioP.h: Likewise.
50796         * stdio-common/vfprintf.c: Likewise.
50798         * sysdeps/generic/ldsodefs.h: Check whether
50799         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
50800         than #if.
50802         * nptl/sysdeps/pthread/pthread.h: Check
50803         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
50804         its value.
50806 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50808         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
50809         setting O_APPEND.
50810         * libio/tst-ftell-active-handler.c (do_append_test): Add a
50811         test case.
50813         [BZ #16680]
50814         * libio/fileops.c (_IO_file_open): Seek to end of file but
50815         don't cache the offset.
50816         (get_file_offset): Remove function.
50817         (do_ftell): Use cached offset when available.
50818         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
50819         don't cache the offset.
50820         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
50821         case.
50822         (do_one_test): Call it.
50823         (do_ftell_test): Fix up expected old offset for a+ mode.
50824         * libio/wfileops.c (do_ftell_wide): Used cached offset when
50825         available.
50827         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
50828         up test status with function return status.
50829         (do_write_test): Likewise.
50830         (do_append_test): Likewise.
50832         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
50833         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
50834         Remove.
50836 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50838         * math/gen-libm-test.pl (parse_args): Handle results specified for
50839         each rounding mode separately.
50840         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
50841         tests and results from lrint_tonearest_test_data,
50842         lrint_towardzero_test_data, lrint_downward_test_data and
50843         lrint_upward_test_data.
50844         (lrint_test): Use ALL_RM_TEST.
50845         (lrint_tonearest_test_data): Remove.
50846         (lrint_test_tonearest): Likewise.
50847         (lrint_towardzero_test_data): Likewise.
50848         (lrint_test_towardzero): Likewise.
50849         (lrint_downward_test_data): Likewise.
50850         (lrint_test_downward): Likewise.
50851         (lrint_upward_test_data): Likewise.
50852         (lrint_test_upward): Likewise.
50853         (llrint_test_data): Merge in per-rounding-mode tests and results
50854         from llrint_tonearest_test_data, llrint_towardzero_test_data,
50855         llrint_downward_test_data and llrint_upward_test_data.
50856         (llrint_test): Use ALL_RM_TEST.
50857         (llrint_tonearest_test_data): Remove.
50858         (llrint_test_tonearest): Likewise.
50859         (llrint_towardzero_test_data): Likewise.
50860         (llrint_test_towardzero): Likewise.
50861         (llrint_downward_test_data): Likewise.
50862         (llrint_test_downward): Likewise.
50863         (llrint_upward_test_data): Likewise.
50864         (llrint_test_upward): Likewise.
50865         (rint_test_data): Merge in per-rounding-mode tests and results
50866         from rint_tonearest_test_data, rint_towardzero_test_data,
50867         rint_downward_test_data and rint_upward_test_data.  Add
50868         per-rounding-mode results for tests not in those arrays.
50869         (rint_test): Use ALL_RM_TEST.
50870         (rint_tonearest_test_data): Remove.
50871         (rint_test_tonearest): Likewise.
50872         (rint_towardzero_test_data): Likewise.
50873         (rint_test_towardzero): Likewise.
50874         (rint_downward_test_data): Likewise.
50875         (rint_test_downward): Likewise.
50876         (rint_upward_test_data): Likewise.
50877         (rint_test_upward): Likewise.
50878         (main): Don't call removed functions.
50880 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50882         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
50883         "Compiled on ..." crapola.  It is anti-useful.
50885 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
50887         * scripts/evaluate-test.sh: Handle fourth argument to determine
50888         whether test run should stop on failure.
50889         * Makeconfig (stop-on-test-failure): New variable.
50890         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
50891         $(stop-on-test-failure).
50892         * Makefile (tests): Give a summary of results from testing and
50893         exit with failure status if they include an ERROR or FAIL.
50894         (xtests): Likewise.
50895         * manual/install.texi (Configuring and compiling): Mention
50896         stop-on-test-failure=y.
50897         * INSTALL: Regenerated.
50899 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50901         * scripts/versionlist.awk: New file.
50902         * Makerules [$(build-shared) = yes]
50903         (postclean-generated): Add Versions.def, not Versions.def.v and
50904         Versions.def.v.i.
50905         ($(common-objpfx)Versions.def.v.i): Target removed.
50906         ($(common-objpfx)Versions.def): New target.
50907         ($(common-objpfx)Versions.all): Depend on that rather that
50908         $(common-objpfx)Versions.def.v.
50909         * Versions.def: File removed.
50911         * Makeconfig (+gccwarn): Add -Wundef.
50912         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
50913         a dl-sysdep.h breaking its contract.
50914         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
50915         * include/stackinfo.h: New file.
50916         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
50917         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
50918         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
50919         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
50920         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
50921         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
50922         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50923         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50924         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50925         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50926         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50927         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
50928         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50929         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50930         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50932 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50934         [BZ #16707]
50935         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
50936         implementation.
50937         * math/libm-test.inc (round_test_data): Add more tests.
50939         [BZ #16706]
50940         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
50941         implementation.
50942         * math/libm-test.inc (nearbyint_test_data): Add more tests.
50944         [BZ #16701]
50945         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
50946         implementation.
50947         * math/libm-test.inc (ceil_test_data): Add more tests.
50949         * math/libm-test.inc (trunc_test_data): Add more tests related to
50950         BZ#16414.
50952 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50954         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
50955         with #if rather than #ifdef.
50956         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
50958 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
50960         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
50961         first.  Disable AVX-512 GCC support if assembler doesn't support
50962         it.
50963         * sysdeps/x86_64/configure: Regenerated.
50965 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
50967         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
50968         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
50969         (__old_pthread_attr_setstack): Likewise.
50970         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
50971         [!_STACK_GROWS_DOWN]: Likewise.
50973 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
50975         * config.make.in (have-bash2): Delete.
50976         * configure.ac (libc_cv_have_bash2): Delete.
50977         * configure: Regenerate.
50978         * elf/Makefile (common-ldd-rewrite): Rename to ...
50979         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
50980         (sh-ldd-rewrite): Delete.
50981         (bash-ldd-rewrite): Delete.
50982         (have-bash2): Delete checks.
50983         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
50984         ldd-rewrite.
50986         * config.make.in (have-ksh): Delete.
50987         (KSH): Delete.
50988         * configure.ac (libc_cv_have_ksh): Delete.
50989         * configure: Regenerate.
50991         * elf/Makefile: Delete $(have-ksh) check.
50992         ($(objpfx)sotruss): Change KSH to BASH.
50993         * elf/sotruss.ksh: Rename to ...
50994         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
50995         function style to match POSIX.  Drop ksh vim mode setting.
50997         * manual/time.texi (Specifying the Time Zone with TZ): Change
50998         Tuesday to Thursday.
51000         * debug/tst-longjmp_chk2.c: Update header comment.
51001         (stackoverflow_handler): Add comment.  Call assert on pass value.
51003 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51005         [BZ #16194]
51006         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51007         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51008         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51009         (La_x86_64_vector): Add zmm.
51010         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51011         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51012         ($(objpfx)tst-audit10): New target.
51013         ($(objpfx)tst-audit10.out): Likewise.
51014         (tst-audit10-ENV): New.
51015         (AVX512-CFLAGS): Likewise.
51016         (CFLAGS-tst-audit10.c): Likewise.
51017         (CFLAGS-tst-auditmod10a.c): Likewise.
51018         (CFLAGS-tst-auditmod10b.c): Likewise.
51019         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51020         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51021         * sysdeps/x86_64/configure: Regenerated.
51022         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51023         AVX-512 zmm register support.
51024         (_dl_x86_64_save_sse): Likewise.
51025         (_dl_x86_64_restore_sse): Likewise.
51026         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51027         size vector registers.
51028         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51029         (ZMM_SIZE): Likewise.
51030         * sysdeps/x86_64/tst-audit10.c: New file.
51031         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51032         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51034 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51036         * configure.ac (HAVE_EHDR_START): New check.
51037         * configure: Regenerated.
51038         * config.h.in (HAVE_EHDR_START): New #undef.
51039         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51040         assuming the lowest-addressed segment maps the start of the file.
51042 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51044         * INSTALL: Regenerated.
51046 2014-03-13  Will Newton  <will.newton@linaro.org>
51048         * manual/setjmp.texi (System V contexts): Improve
51049         clarity and grammar of documentation.
51051 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51053         [BZ #16381]
51054         * elf/Makefile (tests): Add tst-pie2.
51055         (tests-pie): Add tst-pie2.
51056         * elf/tst-pie2.c: New file.
51057         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51058         for ET_EXEC.
51059         * elf/rtld.c (map_doit): Load executable as lt_executable.
51060         (dl_main): Likewise.
51062 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51064         [BZ #16642]
51065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51066         (__ASSUME_PSELECT): Undefine.
51068 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51070         [BZ #16689]
51071         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51072         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51073         static build.
51074         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51075         selector for static builds.
51077 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51079         [BZ #16695]
51080         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51081         key in the buffer.
51083 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51085         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51086         IFUNC selector for static builds.
51088 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51090         * sysdeps/mips/math_private.h [__mips_hard_float]
51091         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51092         libc_feresetround_mips_ctx.
51093         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51094         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51095         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51097         [BZ #16677]
51098         * math/s_nextafter.c (__nextafter): Do not return value from
51099         overflowing computation.
51100         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51101         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51102         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51103         Likewise.
51104         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51105         Likewise.
51106         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51107         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51109 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51111         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51112         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51113         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51114         the new mov targetting sp.
51116 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51118         [BZ #16683]
51119         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51120         Define it for static builds as well.
51121         (NO_BZERO_IMPL): Likewise.
51123 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51125         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51126         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51127         multiarch strspn for PPC64.
51128         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51129         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51131         (__libc_ifunc_impl_list): Likewise.
51132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51133         multiarch optimizations
51134         * string/strspn.c (strspn): Using macro to redefine symbol name.
51136 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51137             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51139         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51140         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51141         multiarch strncat for PPC64.
51142         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51143         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51145         (__libc_ifunc_impl_list): Likewise.
51146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51147         multiarch optimizations
51149 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51151         [BZ #16639]
51152         * nscd/nscd.service: Make service type forking.
51154 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51156         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51157         sign in non default rounding modes.
51158         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51160 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
51162         * math/libm-test.inc (ALL_RM_TEST): New macro.
51163         (ceil_test): Use ALL_RM_TEST.
51164         (cimag_test): Likewise.
51165         (conj_test): Likewise.
51166         (copysign_test): Likewise.
51167         (cproj_test): Likewise.
51168         (creal_test): Likewise.
51169         (fabs_test): Likewise.
51170         (floor_test): Likewise.
51171         (fmax_test): Likewise.
51172         (fmin_test): Likewise.
51173         (fmod_test): Likewise.
51174         (fpclassify_test): Likewise.
51175         (frexp_test): Likewise.
51176         (ilogb_test): Likewise.
51177         (isfinite_test): Likewise.
51178         (finite_test): Likewise.
51179         (isgreater_test): Likewise.
51180         (isgreaterequal_test): Likewise.
51181         (isinf_test): Likewise.
51182         (isless_test): Likewise.
51183         (islessequal_test): Likewise.
51184         (islessgreater_test): Likewise.
51185         (isnan_test): Likewise.
51186         (isnormal_test): Likewise.
51187         (issignaling_test): Likewise.
51188         (isunordered_test): Likewise.
51189         (logb_test): Likewise.
51190         (logb_downward_test_data): Remove.
51191         (logb_test_downward): Likewise.
51192         (lround_test): Use ALL_RM_TEST.
51193         (llround_test): Likewise.
51194         (modf_test): Likewise.
51195         (nexttoward_test): Likewise.
51196         (remainder_test): Likewise.
51197         (drem_test): Likewise.
51198         (remainder_tonearest_test_data): Likewise.
51199         (remainder_test_tonearest): Likewise.
51200         (drem_test_tonearest): Likewise.
51201         (remainder_towardzero_test_data): Likewise.
51202         (remainder_test_towardzero): Likewise.
51203         (drem_test_towardzero): Likewise.
51204         (remainder_downward_test_data): Likewise.
51205         (remainder_test_downward): Likewise.
51206         (drem_test_downward): Likewise.
51207         (remainder_upward_test_data): Likewise.
51208         (remainder_test_upward): Likewise.
51209         (drem_test_upward): Likewise.
51210         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
51211         (round_test): Use ALL_RM_TEST.
51212         (signbit_test): Likewise.
51213         (trunc_test): Likewise.
51214         (significand_test): Likewise.
51215         (main): Don't call removed functions.
51217 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51219         [BZ #16674]
51220         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51221         || __USE_XOPEN2K8].
51222         (ILL_ILLOPN): Likewise.
51223         (ILL_ILLADR): Likewise.
51224         (ILL_ILLTRP): Likewise.
51225         (ILL_PRVOPC): Likewise.
51226         (ILL_PRVREG): Likewise.
51227         (ILL_COPROC): Likewise.
51228         (ILL_BADSTK): Likewise.
51229         (FPE_INTDIV): Likewise.
51230         (FPE_INTOVF): Likewise.
51231         (FPE_FLTDIV): Likewise.
51232         (FPE_FLTOVF): Likewise.
51233         (FPE_FLTUND): Likewise.
51234         (FPE_FLTRES): Likewise.
51235         (FPE_FLTINV): Likewise.
51236         (FPE_FLTSUB): Likewise.
51237         (SEGV_MAPERR): Likewise.
51238         (SEGV_ACCERR): Likewise.
51239         (BUS_ADRALN): Likewise.
51240         (BUS_ADRERR): Likewise.
51241         (BUS_OBJERR): Likewise.
51242         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51243         (TRAP_TRACE): Likewise.
51244         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51245         __USE_XOPEN2K8].
51246         (CLD_KILLED): Likewise.
51247         (CLD_DUMPED): Likewise.
51248         (CLD_TRAPPED): Likewise.
51249         (CLD_STOPPED): Likewise.
51250         (CLD_CONTINUED): Likewise.
51251         (POLL_IN): Likewise.
51252         (POLL_OUT): Likewise.
51253         (POLL_MSG): Likewise.
51254         (POLL_ERR): Likewise.
51255         (POLL_PRI): Likewise.
51256         (POLL_HUP): Likewise.
51257         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
51258         Likewise.
51259         (ILL_ILLOPN): Likewise.
51260         (ILL_ILLADR): Likewise.
51261         (ILL_ILLTRP): Likewise.
51262         (ILL_PRVOPC): Likewise.
51263         (ILL_PRVREG): Likewise.
51264         (ILL_COPROC): Likewise.
51265         (ILL_BADSTK): Likewise.
51266         (FPE_INTDIV): Likewise.
51267         (FPE_INTOVF): Likewise.
51268         (FPE_FLTDIV): Likewise.
51269         (FPE_FLTOVF): Likewise.
51270         (FPE_FLTUND): Likewise.
51271         (FPE_FLTRES): Likewise.
51272         (FPE_FLTINV): Likewise.
51273         (FPE_FLTSUB): Likewise.
51274         (SEGV_MAPERR): Likewise.
51275         (SEGV_ACCERR): Likewise.
51276         (BUS_ADRALN): Likewise.
51277         (BUS_ADRERR): Likewise.
51278         (BUS_OBJERR): Likewise.
51279         (BUS_MCEERR_AR): Likewise.
51280         (BUS_MCEERR_AO): Likewise.
51281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51282         (TRAP_TRACE): Likewise.
51283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51284         __USE_XOPEN2K8].
51285         (CLD_KILLED): Likewise.
51286         (CLD_DUMPED): Likewise.
51287         (CLD_TRAPPED): Likewise.
51288         (CLD_STOPPED): Likewise.
51289         (CLD_CONTINUED): Likewise.
51290         (POLL_IN): Likewise.
51291         (POLL_OUT): Likewise.
51292         (POLL_MSG): Likewise.
51293         (POLL_ERR): Likewise.
51294         (POLL_PRI): Likewise.
51295         (POLL_HUP): Likewise.
51296         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
51297         (ILL_ILLOPN): Likewise.
51298         (ILL_ILLADR): Likewise.
51299         (ILL_ILLTRP): Likewise.
51300         (ILL_PRVOPC): Likewise.
51301         (ILL_PRVREG): Likewise.
51302         (ILL_COPROC): Likewise.
51303         (ILL_BADSTK): Likewise.
51304         (FPE_INTDIV): Likewise.
51305         (FPE_INTOVF): Likewise.
51306         (FPE_FLTDIV): Likewise.
51307         (FPE_FLTOVF): Likewise.
51308         (FPE_FLTUND): Likewise.
51309         (FPE_FLTRES): Likewise.
51310         (FPE_FLTINV): Likewise.
51311         (FPE_FLTSUB): Likewise.
51312         (SEGV_MAPERR): Likewise.
51313         (SEGV_ACCERR): Likewise.
51314         (BUS_ADRALN): Likewise.
51315         (BUS_ADRERR): Likewise.
51316         (BUS_OBJERR): Likewise.
51317         (BUS_MCEERR_AR): Likewise.
51318         (BUS_MCEERR_AO): Likewise.
51319         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51320         (TRAP_TRACE): Likewise.
51321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51322         __USE_XOPEN2K8].
51323         (CLD_KILLED): Likewise.
51324         (CLD_DUMPED): Likewise.
51325         (CLD_TRAPPED): Likewise.
51326         (CLD_STOPPED): Likewise.
51327         (CLD_CONTINUED): Likewise.
51328         (POLL_IN): Likewise.
51329         (POLL_OUT): Likewise.
51330         (POLL_MSG): Likewise.
51331         (POLL_ERR): Likewise.
51332         (POLL_PRI): Likewise.
51333         (POLL_HUP): Likewise.
51334         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
51335         Likewise.
51336         (ILL_ILLOPN): Likewise.
51337         (ILL_ILLADR): Likewise.
51338         (ILL_ILLTRP): Likewise.
51339         (ILL_PRVOPC): Likewise.
51340         (ILL_PRVREG): Likewise.
51341         (ILL_COPROC): Likewise.
51342         (ILL_BADSTK): Likewise.
51343         (ILL_BADIADDR): Likewise.
51344         (ILL_BREAK): Likewise.
51345         (FPE_INTDIV): Likewise.
51346         (FPE_INTOVF): Likewise.
51347         (FPE_FLTDIV): Likewise.
51348         (FPE_FLTOVF): Likewise.
51349         (FPE_FLTUND): Likewise.
51350         (FPE_FLTRES): Likewise.
51351         (FPE_FLTINV): Likewise.
51352         (FPE_FLTSUB): Likewise.
51353         (FPE_DECOVF): Likewise.
51354         (FPE_DECDIV): Likewise.
51355         (FPE_DECERR): Likewise.
51356         (FPE_INVASC): Likewise.
51357         (FPE_INVDEC): Likewise.
51358         (SEGV_MAPERR): Likewise.
51359         (SEGV_ACCERR): Likewise.
51360         (SEGV_PSTKOVF): Likewise.
51361         (BUS_ADRALN): Likewise.
51362         (BUS_ADRERR): Likewise.
51363         (BUS_OBJERR): Likewise.
51364         (BUS_MCEERR_AR): Likewise.
51365         (BUS_MCEERR_AO): Likewise.
51366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51367         (TRAP_TRACE): Likewise.
51368         (TRAP_BRANCH): Likewise.
51369         (TRAP_HWBKPT): Likewise.
51370         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51371         __USE_XOPEN2K8].
51372         (CLD_KILLED): Likewise.
51373         (CLD_DUMPED): Likewise.
51374         (CLD_TRAPPED): Likewise.
51375         (CLD_STOPPED): Likewise.
51376         (CLD_CONTINUED): Likewise.
51377         (POLL_IN): Likewise.
51378         (POLL_OUT): Likewise.
51379         (POLL_MSG): Likewise.
51380         (POLL_ERR): Likewise.
51381         (POLL_PRI): Likewise.
51382         (POLL_HUP): Likewise.
51383         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
51384         (ILL_ILLOPN): Likewise.
51385         (ILL_ILLADR): Likewise.
51386         (ILL_ILLTRP): Likewise.
51387         (ILL_PRVOPC): Likewise.
51388         (ILL_PRVREG): Likewise.
51389         (ILL_COPROC): Likewise.
51390         (ILL_BADSTK): Likewise.
51391         (FPE_INTDIV): Likewise.
51392         (FPE_INTOVF): Likewise.
51393         (FPE_FLTDIV): Likewise.
51394         (FPE_FLTOVF): Likewise.
51395         (FPE_FLTUND): Likewise.
51396         (FPE_FLTRES): Likewise.
51397         (FPE_FLTINV): Likewise.
51398         (FPE_FLTSUB): Likewise.
51399         (SEGV_MAPERR): Likewise.
51400         (SEGV_ACCERR): Likewise.
51401         (BUS_ADRALN): Likewise.
51402         (BUS_ADRERR): Likewise.
51403         (BUS_OBJERR): Likewise.
51404         (BUS_MCEERR_AR): Likewise.
51405         (BUS_MCEERR_AO): Likewise.
51406         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51407         (TRAP_TRACE): Likewise.
51408         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51409         __USE_XOPEN2K8].
51410         (CLD_KILLED): Likewise.
51411         (CLD_DUMPED): Likewise.
51412         (CLD_TRAPPED): Likewise.
51413         (CLD_STOPPED): Likewise.
51414         (CLD_CONTINUED): Likewise.
51415         (POLL_IN): Likewise.
51416         (POLL_OUT): Likewise.
51417         (POLL_MSG): Likewise.
51418         (POLL_ERR): Likewise.
51419         (POLL_PRI): Likewise.
51420         (POLL_HUP): Likewise.
51421         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
51422         (ILL_ILLOPN): Likewise.
51423         (ILL_ILLADR): Likewise.
51424         (ILL_ILLTRP): Likewise.
51425         (ILL_PRVOPC): Likewise.
51426         (ILL_PRVREG): Likewise.
51427         (ILL_COPROC): Likewise.
51428         (ILL_BADSTK): Likewise.
51429         (FPE_INTDIV): Likewise.
51430         (FPE_INTOVF): Likewise.
51431         (FPE_FLTDIV): Likewise.
51432         (FPE_FLTOVF): Likewise.
51433         (FPE_FLTUND): Likewise.
51434         (FPE_FLTRES): Likewise.
51435         (FPE_FLTINV): Likewise.
51436         (FPE_FLTSUB): Likewise.
51437         (SEGV_MAPERR): Likewise.
51438         (SEGV_ACCERR): Likewise.
51439         (BUS_ADRALN): Likewise.
51440         (BUS_ADRERR): Likewise.
51441         (BUS_OBJERR): Likewise.
51442         (BUS_MCEERR_AR): Likewise.
51443         (BUS_MCEERR_AO): Likewise.
51444         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51445         (TRAP_TRACE): Likewise.
51446         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51447         __USE_XOPEN2K8].
51448         (CLD_KILLED): Likewise.
51449         (CLD_DUMPED): Likewise.
51450         (CLD_TRAPPED): Likewise.
51451         (CLD_STOPPED): Likewise.
51452         (CLD_CONTINUED): Likewise.
51453         (POLL_IN): Likewise.
51454         (POLL_OUT): Likewise.
51455         (POLL_MSG): Likewise.
51456         (POLL_ERR): Likewise.
51457         (POLL_PRI): Likewise.
51458         (POLL_HUP): Likewise.
51459         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
51460         (ILL_ILLOPN): Likewise.
51461         (ILL_ILLADR): Likewise.
51462         (ILL_ILLTRP): Likewise.
51463         (ILL_PRVOPC): Likewise.
51464         (ILL_PRVREG): Likewise.
51465         (ILL_COPROC): Likewise.
51466         (ILL_BADSTK): Likewise.
51467         (FPE_INTDIV): Likewise.
51468         (FPE_INTOVF): Likewise.
51469         (FPE_FLTDIV): Likewise.
51470         (FPE_FLTOVF): Likewise.
51471         (FPE_FLTUND): Likewise.
51472         (FPE_FLTRES): Likewise.
51473         (FPE_FLTINV): Likewise.
51474         (FPE_FLTSUB): Likewise.
51475         (SEGV_MAPERR): Likewise.
51476         (SEGV_ACCERR): Likewise.
51477         (BUS_ADRALN): Likewise.
51478         (BUS_ADRERR): Likewise.
51479         (BUS_OBJERR): Likewise.
51480         (BUS_MCEERR_AR): Likewise.
51481         (BUS_MCEERR_AO): Likewise.
51482         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51483         (TRAP_TRACE): Likewise.
51484         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51485         __USE_XOPEN2K8].
51486         (CLD_KILLED): Likewise.
51487         (CLD_DUMPED): Likewise.
51488         (CLD_TRAPPED): Likewise.
51489         (CLD_STOPPED): Likewise.
51490         (CLD_CONTINUED): Likewise.
51491         (POLL_IN): Likewise.
51492         (POLL_OUT): Likewise.
51493         (POLL_MSG): Likewise.
51494         (POLL_ERR): Likewise.
51495         (POLL_PRI): Likewise.
51496         (POLL_HUP): Likewise.
51497         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
51498         (ILL_ILLOPN): Likewise.
51499         (ILL_ILLADR): Likewise.
51500         (ILL_ILLTRP): Likewise.
51501         (ILL_PRVOPC): Likewise.
51502         (ILL_PRVREG): Likewise.
51503         (ILL_COPROC): Likewise.
51504         (ILL_BADSTK): Likewise.
51505         (ILL_DBLFLT): Likewise.
51506         (ILL_HARDWALL): Likewise.
51507         (FPE_INTDIV): Likewise.
51508         (FPE_INTOVF): Likewise.
51509         (FPE_FLTDIV): Likewise.
51510         (FPE_FLTOVF): Likewise.
51511         (FPE_FLTUND): Likewise.
51512         (FPE_FLTRES): Likewise.
51513         (FPE_FLTINV): Likewise.
51514         (FPE_FLTSUB): Likewise.
51515         (SEGV_MAPERR): Likewise.
51516         (SEGV_ACCERR): Likewise.
51517         (BUS_ADRALN): Likewise.
51518         (BUS_ADRERR): Likewise.
51519         (BUS_OBJERR): Likewise.
51520         (BUS_MCEERR_AR): Likewise.
51521         (BUS_MCEERR_AO): Likewise.
51522         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51523         (TRAP_TRACE): Likewise.
51524         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51525         __USE_XOPEN2K8].
51526         (CLD_KILLED): Likewise.
51527         (CLD_DUMPED): Likewise.
51528         (CLD_TRAPPED): Likewise.
51529         (CLD_STOPPED): Likewise.
51530         (CLD_CONTINUED): Likewise.
51531         (POLL_IN): Likewise.
51532         (POLL_OUT): Likewise.
51533         (POLL_MSG): Likewise.
51534         (POLL_ERR): Likewise.
51535         (POLL_PRI): Likewise.
51536         (POLL_HUP): Likewise.
51537         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
51538         (ILL_ILLOPN): Likewise.
51539         (ILL_ILLADR): Likewise.
51540         (ILL_ILLTRP): Likewise.
51541         (ILL_PRVOPC): Likewise.
51542         (ILL_PRVREG): Likewise.
51543         (ILL_COPROC): Likewise.
51544         (ILL_BADSTK): Likewise.
51545         (FPE_INTDIV): Likewise.
51546         (FPE_INTOVF): Likewise.
51547         (FPE_FLTDIV): Likewise.
51548         (FPE_FLTOVF): Likewise.
51549         (FPE_FLTUND): Likewise.
51550         (FPE_FLTRES): Likewise.
51551         (FPE_FLTINV): Likewise.
51552         (FPE_FLTSUB): Likewise.
51553         (SEGV_MAPERR): Likewise.
51554         (SEGV_ACCERR): Likewise.
51555         (BUS_ADRALN): Likewise.
51556         (BUS_ADRERR): Likewise.
51557         (BUS_OBJERR): Likewise.
51558         (BUS_MCEERR_AR): Likewise.
51559         (BUS_MCEERR_AO): Likewise.
51560         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51561         (TRAP_TRACE): Likewise.
51562         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51563         __USE_XOPEN2K8].
51564         (CLD_KILLED): Likewise.
51565         (CLD_DUMPED): Likewise.
51566         (CLD_TRAPPED): Likewise.
51567         (CLD_STOPPED): Likewise.
51568         (CLD_CONTINUED): Likewise.
51569         (POLL_IN): Likewise.
51570         (POLL_OUT): Likewise.
51571         (POLL_MSG): Likewise.
51572         (POLL_ERR): Likewise.
51573         (POLL_PRI): Likewise.
51574         (POLL_HUP): Likewise.
51575         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51576         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51578         [BZ #16670]
51579         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51580         before #include of <time.h>.
51581         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51582         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51583         (test-xfail-UNIX98/sched.h/conform): Likewise.
51585 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51587         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51588         error absence of trapping exception support.
51589         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51591 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51593         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51594         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51595         * timezone/Makefile (testdata): Move definition above include of
51596         Rules.
51597         (test-zones): New variable.
51598         (tests-special): Add zone files.
51599         (build-testdata): Use $(evaluate-test).
51601         * elf/Makefile (tests-special): Rename tests to end with .out.
51602         ($(objpfx)noload-mem): Likewise.
51603         ($(objpfx)tst-leaks1-mem): Likewise.
51604         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51605         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51606         $(objpfx)test-iconvconfig.out.
51607         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51608         set -e inside subshell and redirect output to file.
51609         * iconvdata/Makefile (generated): Rename tests to end with .out.
51610         Correct type.
51611         (tests-special): Rename tests to end with .out.
51612         ($(objpfx)mtrace-tst-loading): Likewise.
51613         * intl/Makefile (generated): Likewise.
51614         (tests-special): Likewise.
51615         ($(objpfx)mtrace-tst-gettext): Likewise.
51616         * misc/Makefile (generated): Likewise.
51617         (tests-special): Likewise.
51618         ($(objpfx)tst-error1-mem): Likewise.
51619         * nptl/Makefile (tests-special): Likewise.
51620         ($(objpfx)tst-stack3-mem): Likewise.
51621         (generated): Likewise.
51622         * posix/Makefile (generated): Likewise.
51623         (tests-special): Likewise.
51624         (xtests-special): Likewise.
51625         ($(objpfx)tst-fnmatch-mem): Likewise.
51626         ($(objpfx)bug-regex2-mem): Likewise.
51627         ($(objpfx)bug-regex14-mem): Likewise.
51628         ($(objpfx)bug-regex21-mem): Likewise.
51629         ($(objpfx)bug-regex31-mem): Likewise.
51630         ($(objpfx)tst-vfork3-mem): Likewise.
51631         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51632         ($(objpfx)tst-pcre-mem): Likewise.
51633         ($(objpfx)tst-boost-mem): Likewise.
51634         ($(objpfx)bug-ga2-mem): Likewise.
51635         ($(objpfx)bug-glob2-mem): Likewise.
51636         * resolv/Makefile (generate): Likewise.
51637         (tests-special): Likewise.
51638         (xtests-special): Likewise.
51639         (generated): Likewise.
51640         ($(objpfx)mtrace-tst-leaks): Likewise.
51641         ($(objpfx)mtrace-tst-leaks2): Likewise.
51643         * scripts/merge-test-results.sh: New file.
51644         * Makefile (tests-special-notdir): New variable.
51645         (tests): Run merge-test-results.sh.
51646         (xtests): Likewise.
51647         * Rules (tests-special-notdir): New variable.
51648         (xtests-special-notdir): Likewise.
51649         (tests): Run merge-test-results.sh
51650         (xtests): Likewise.
51652         * Makeconfig (test-xfail-name): New variable.
51653         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
51654         compute variable name for expected failures.
51655         * conform/Makefile (conformtest-headers-data): New variable.
51656         (conformtest-standards): Likewise.
51657         (conformtest-headers-ISO): Likewise.
51658         (conformtest-headers-ISO99): Likewise.
51659         (conformtest-headers-ISO11): Likewise.
51660         (conformtest-headers-POSIX): Likewise.
51661         (conformtest-headers-XPG3): Likewise.
51662         (conformtest-headers-XPG4): Likewise.
51663         (conformtest-headers-UNIX98): Likewise.
51664         (conformtest-headers-XOPEN2K): Likewise.
51665         (conformtest-headers-POSIX2008): Likewise.
51666         (conformtest-headers-XOPEN2K8): Likewise.
51667         (conformtest-header-list-base): Likewise.
51668         (conformtest-header-list-tests): Likewise.
51669         (conformtest-header-base): Likewise.
51670         (conformtest-header-tests): Likewise.
51671         (tests-special): Add $(conformtest-header-list-tests).  If
51672         [$(fast-check) && !$(cross-compiling)], add
51673         $(conformtest-header-tests) instead of
51674         $(objpfx)run-conformtest.out.
51675         (generated): Add $(conformtest-header-list-base).  If
51676         [$(fast-check) && !$(cross-compiling)], add
51677         $(conformtest-header-base).  Remove previous setting.
51678         ($(conformtest-header-list-tests)): New target.
51679         (test-xfail-run-conformtest): Remove variable.
51680         ($(objpfx)run-conformtest.out): Remove target.
51681         (test-xfail-ISO11/complex.h/conform): New variable.
51682         (test-xfail-ISO11/stdalign.h/conform): Likewise.
51683         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
51684         (test-xfail-XPG3/varargs.h/conform): Likewise.
51685         (test-xfail-XPG4/varargs.h/conform): Likewise.
51686         (test-xfail-UNIX98/varargs.h/conform): Likewise.
51687         (test-xfail-XPG4/ndbm.h/conform): Likewise.
51688         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
51689         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
51690         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51691         (test-xfail-XPG3/fcntl.h/conform): Likewise.
51692         (test-xfail-XPG3/ftw.h/conform): Likewise.
51693         (test-xfail-XPG3/grp.h/conform): Likewise.
51694         (test-xfail-XPG3/langinfo.h/conform): Likewise.
51695         (test-xfail-XPG3/limits.h/conform): Likewise.
51696         (test-xfail-XPG3/pwd.h/conform): Likewise.
51697         (test-xfail-XPG3/search.h/conform): Likewise.
51698         (test-xfail-XPG3/signal.h/conform): Likewise.
51699         (test-xfail-XPG3/stdio.h/conform): Likewise.
51700         (test-xfail-XPG3/stdlib.h/conform): Likewise.
51701         (test-xfail-XPG3/string.h/conform): Likewise.
51702         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
51703         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
51704         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
51705         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
51706         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
51707         (test-xfail-XPG3/sys/types.h/conform): Likewise.
51708         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
51709         (test-xfail-XPG3/termios.h/conform): Likewise.
51710         (test-xfail-XPG3/time.h/conform): Likewise.
51711         (test-xfail-XPG3/unistd.h/conform): Likewise.
51712         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
51713         (test-xfail-XPG4/fcntl.h/conform): Likewise.
51714         (test-xfail-XPG4/langinfo.h/conform): Likewise.
51715         (test-xfail-XPG4/netdb.h/conform): Likewise.
51716         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
51717         (test-xfail-XPG4/signal.h/conform): Likewise.
51718         (test-xfail-XPG4/stdio.h/conform): Likewise.
51719         (test-xfail-XPG4/stdlib.h/conform): Likewise.
51720         (test-xfail-XPG4/stropts.h/conform): Likewise.
51721         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
51722         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
51723         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
51724         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
51725         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
51726         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
51727         (test-xfail-XPG4/sys/time.h/conform): Likewise.
51728         (test-xfail-XPG4/sys/types.h/conform): Likewise.
51729         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
51730         (test-xfail-XPG4/termios.h/conform): Likewise.
51731         (test-xfail-XPG4/ucontext.h/conform): Likewise.
51732         (test-xfail-XPG4/unistd.h/conform): Likewise.
51733         (test-xfail-XPG4/utmpx.h/conform): Likewise.
51734         (test-xfail-POSIX/sched.h/conform): Likewise.
51735         (test-xfail-POSIX/signal.h/conform): Likewise.
51736         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51737         (test-xfail-POSIX/tar.h/conform): Likewise.
51738         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
51739         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
51740         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
51741         (test-xfail-UNIX98/netdb.h/conform): Likewise.
51742         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
51743         (test-xfail-UNIX98/sched.h/conform): Likewise.
51744         (test-xfail-UNIX98/signal.h/conform): Likewise.
51745         (test-xfail-UNIX98/stdio.h/conform): Likewise.
51746         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
51747         (test-xfail-UNIX98/stropts.h/conform): Likewise.
51748         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
51749         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
51750         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
51751         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
51752         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
51753         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
51754         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
51755         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
51756         (test-xfail-UNIX98/unistd.h/conform): Likewise.
51757         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
51758         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
51759         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
51760         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
51761         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
51762         (test-xfail-XOPEN2K/math.h/conform): Likewise.
51763         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
51764         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
51765         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
51766         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
51767         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
51768         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
51769         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
51770         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51771         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
51772         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
51773         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
51774         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
51775         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
51776         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
51777         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
51778         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
51779         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
51780         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
51781         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
51782         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
51783         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
51784         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
51785         (test-xfail-POSIX2008/signal.h/conform): Likewise.
51786         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
51787         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
51788         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
51789         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
51790         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
51791         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
51792         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
51793         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
51794         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
51795         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
51796         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
51797         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
51798         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
51799         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
51800         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
51801         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
51802         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
51803         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
51804         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
51805         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
51806         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
51807         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
51808         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
51809         (conformtest-cc-flags): Likewise.
51810         ($(conformtest-header-tests): New target.
51811         * conform/check-header-lists.sh: New file.
51812         * conform/run-conformtest.sh: Remove.
51814         * conform/conformtest.pl: Allow ' and \ in values given for
51815         constants.
51816         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
51817         inclusion.
51818         [POSIX] (sys/types.h): Likewise.
51819         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
51820         inclusion.
51821         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
51822         inclusion.
51823         * conform/data/signal.h-data (SIGIO): Remove expectation.
51824         [XPG3] (SIGBUS): Do not expect.
51825         [POSIX || XPG3] (SIGPOLL): Likewise.
51826         [POSIX || XPG3] (SIGPROF): Likewise.
51827         [POSIX || XPG3] (SIGSYS): Likewise.
51828         [XPG3] (SIGTRAP): Likewise.
51829         [POSIX || XPG3] (SIGURG): Likewise.
51830         [POSIX || XPG3] (SIGVTALRM): Likewise.
51831         [POSIX || XPG3] (SIGXCPU): Likewise.
51832         [POSIX || XPG3] (SIGXFSZ): Likewise.
51833         [POSIX] (SA_SIGINFO): Expect.
51834         [XPG3] (siginfo_t): Do not expect type or contents.
51835         [POSIX] (si_pid): Do not expect element.
51836         [POSIX] (si_uid): Likewise.
51837         [POSIX] (si_addr): Likewise.
51838         [POSIX] (si_status): Likewise.
51839         [POSIX] (si_band): Likewise.
51840         [XPG4] (si_value): Likewise.
51841         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
51842         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
51843         [POSIX || XPG3] (ILL_ILLADR): Likewise.
51844         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
51845         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
51846         [POSIX || XPG3] (ILL_PRVREG): Likewise.
51847         [POSIX || XPG3] (ILL_COPROC): Likewise.
51848         [POSIX || XPG3] (ILL_BADSTK): Likewise.
51849         [POSIX || XPG3] (FPE_INTDIV): Likewise.
51850         [POSIX || XPG3] (FPE_INTOVF): Likewise.
51851         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
51852         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
51853         [POSIX || XPG3] (FPE_FLTUND): Likewise.
51854         [POSIX || XPG3] (FPE_FLTRES): Likewise.
51855         [POSIX || XPG3] (FPE_FLTINV): Likewise.
51856         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
51857         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
51858         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
51859         [POSIX || XPG3] (BUS_ADRALN): Likewise.
51860         [POSIX || XPG3] (BUS_ADRERR): Likewise.
51861         [POSIX || XPG3] (BUS_OBJERR): Likewise.
51862         [POSIX || XPG3] (CLD_EXITED): Likewise.
51863         [POSIX || XPG3] (CLD_KILLED): Likewise.
51864         [POSIX || XPG3] (CLD_DUMPED): Likewise.
51865         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
51866         [POSIX || XPG3] (CLD_STOPPED): Likewise.
51867         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
51868         [POSIX || XPG3] (POLL_IN): Likewise.
51869         [POSIX || XPG3] (POLL_OUT): Likewise.
51870         [POSIX || XPG3] (POLL_MSG): Likewise.
51871         [POSIX || XPG3] (POLL_ERR): Likewise.
51872         [POSIX || XPG3] (POLL_PRI): Likewise.
51873         [POSIX || XPG3] (POLL_HUP): Likewise.
51874         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
51875         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
51876         (SIG*): Do not allow.
51877         [XPG3] (si_*): Likewise.
51878         [XPG3] (SI_*): Likewise.
51879         [XPG3 || XPG4] (sigev_*): Likewise.
51880         [XPG3 || XPG4] (SIGEV_*): Likewise.
51881         [XPG3 || XPG4] (sival_*): Likewise.
51882         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
51883         [POSIX || XPG3] (BUS_*): Likewise.
51884         [POSIX || XPG3] (CLD_*): Likewise.
51885         [POSIX || XPG3] (FPE_*): Likewise.
51886         [POSIX || XPG3] (ILL_*): Likewise.
51887         [POSIX || XPG3] (POLL_*): Likewise.
51888         [POSIX || XPG3] (SEGV_*): Likewise.
51889         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
51890         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
51891         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
51892         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
51893         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
51894         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
51895         Specify type and value.
51896         (TVERSLEN): Likewise.
51897         (REGTYPE): Likewise.
51898         (AREGTYPE): Likewise.
51899         (LNKTYPE): Likewise.
51900         (SYMTYPE): Likewise.
51901         (CHRTYPE): Likewise.
51902         (BLKTYPE): Likewise.
51903         (DIRTYPE): Likewise.
51904         (FIFOTYPE): Likewise.
51905         (CONTTYPE): Likewise.
51906         (TSUID): Likewise.
51907         (TSGID): Likewise.
51908         (TSVTX): Likewise.
51909         (TUREAD): Likewise.
51910         (TUWRITE): Likewise.
51911         (TUEXEC): Likewise.
51912         (TGREAD): Likewise.
51913         (TGWRITE): Likewise.
51914         (TGEXEC): Likewise.
51915         (TOREAD): Likewise.
51916         (TOWRITE): Likewise.
51917         (TOEXEC): Likewise.
51918         [POSIX] (TSVTX): Expect constant.
51920 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
51922         * Makefile (tests): Change dependencies to ....
51923         (tests-special): ... additions to this variable.
51924         (tests): Depend on $(tests-special).
51925         * Makerules (check-abi-list): New variable.
51926         (check-abi): Depend on $(check-abi-list).
51927         [$(subdir) = elf] (tests-special): Add
51928         $(objpfx)check-abi-libc.out.
51929         [$(build-shared) = yes && subdir] (tests-special): Add
51930         $(check-abi-list).
51931         [$(build-shared) = yes && subdir] (tests): Do not depend on
51932         check-abi.
51933         * Rules (tests): Depend on $(tests-special).
51934         (xtests): Depend on $(xtests-special).
51935         * catgets/Makefile (tests): Change dependencies to ....
51936         (tests-special): ... additions to this variable.
51937         * conform/Makefile (tests): Change dependencies to ....
51938         (tests-special): ... additions to this variable.
51939         * elf/Makefile (tests): Change dependencies to ....
51940         (tests-special): ... additions to this variable.
51941         * grp/Makefile (tests): Change dependencies to ....
51942         (tests-special): ... additions to this variable.
51943         * iconv/Makefile (xtests): Change dependencies to ....
51944         (xtests-special): ... additions to this variable.
51945         * iconvdata/Makefile (tests): Change dependencies to ....
51946         (tests-special): ... additions to this variable.
51947         * intl/Makefile (tests): Change dependencies to ....
51948         (tests-special): ... additions to this variable.  Also add
51949         $(objpfx)tst-gettext.out.
51950         * io/Makefile (tests): Change dependencies to ....
51951         (tests-special): ... additions to this variable.
51952         * libio/Makefile (tests): Change dependencies to ....
51953         (tests-special): ... additions to this variable.
51954         * malloc/Makefile (tests): Change dependencies to ....
51955         (tests-special): ... additions to this variable.
51956         * misc/Makefile (tests): Change dependencies to ....
51957         (tests-special): ... additions to this variable.
51958         * nptl/Makefile (tests): Change dependencies to ....
51959         (tests-special): ... additions to this variable.
51960         * nptl_db/Makefile (tests): Change dependencies to ....
51961         (tests-special): ... additions to this variable.
51962         * posix/Makefile (tests): Change dependencies to ....
51963         (tests-special): ... additions to this variable.
51964         (xtests): Change dependencies to ....
51965         (xtests-special): ... additions to this variable.
51966         * resolv/Makefile (tests): Change dependencies to ....
51967         (tests-special): ... additions to this variable.
51968         (xtests): Change dependencies to ....
51969         (xtests-special): ... additions to this variable.
51970         * stdio-common/Makefile (tests): Change dependencies to ....
51971         (tests-special): ... additions to this variable.
51972         (do-tst-unbputc): Remove target.
51973         (do-tst-printf): Likewise.
51974         * stdlib/Makefile (tests): Change dependencies to ....
51975         (tests-special): ... additions to this variable.
51976         * string/Makefile (tests): Change dependencies to ....
51977         (tests-special): ... additions to this variable.
51978         * sysdeps/x86/Makefile (tests): Change dependencies to ....
51979         (tests-special): ... additions to this variable.
51981         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
51982         whole file.
51983         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
51984         whole file.
51985         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
51986         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
51988         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
51989         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
51990         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
51991         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
51992         * conform/data/libgen.h-data [XPG3]: Likewise.
51993         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
51994         * conform/data/ndbm.h-data [XPG3]: Likewise.
51995         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51996         * conform/data/netdb.h-data [XPG3]: Likewise.
51997         * conform/data/netinet/in.h-data [XPG3]: Likewise.
51998         * conform/data/poll.h-data [XPG3]: Likewise.
51999         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52000         * conform/data/strings.h-data [XPG3]: Likewise.
52001         * conform/data/stropts.h-data [XPG3]: Likewise.
52002         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52003         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52004         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52005         Likewise.
52006         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52007         * conform/data/sys/time.h-data [XPG3]: Likewise.
52008         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52009         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52010         * conform/data/sys/un.h-data [XPG3]: Likewise.
52011         * conform/data/syslog.h-data [XPG3]: Likewise.
52012         * conform/data/ucontext.h-data [XPG3]: Likewise.
52013         * conform/data/utmpx.h-data [XPG3]: Likewise.
52014         * conform/data/varargs.h-data [UNIX98]: Enable file.
52016         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52018         * math/libm-test.inc (struct test_f_f_data): Move expected results
52019         into structure for each rounding mode.
52020         (struct test_ff_f_data): Likewise.
52021         (struct test_ff_f_data_nexttoward): Likewise.
52022         (struct test_fi_f_data): Likewise.
52023         (struct test_fl_f_data): Likewise.
52024         (struct test_if_f_data): Likewise.
52025         (struct test_fff_f_data): Likewise.
52026         (struct test_c_f_data): Likewise.
52027         (struct test_f_f1_data): Likewise.
52028         (struct test_fF_f1_data): Likewise.
52029         (struct test_ffI_f1_data): Likewise.
52030         (struct test_c_c_data): Likewise.
52031         (struct test_cc_c_data): Likewise.
52032         (struct test_f_i_data): Likewise.
52033         (struct test_ff_i_data): Likewise.
52034         (struct test_f_l_data): Likewise.
52035         (struct test_f_L_data): Likewise.
52036         (struct test_fFF_11_data): Likewise.
52037         (RM_): New macro.
52038         (RM_FE_DOWNWARD): Likewise.
52039         (RM_FE_TONEAREST): Likewise.
52040         (RM_FE_TOWARDZERO): Likewise.
52041         (RM_FE_UPWARD): Likewise.
52042         (RUN_TEST_LOOP_f_f): Update references to expected results.
52043         (RUN_TEST_LOOP_2_f): Likewise.
52044         (RUN_TEST_LOOP_fff_f): Likewise.
52045         (RUN_TEST_LOOP_c_f): Likewise.
52046         (RUN_TEST_LOOP_f_f1): Likewise.
52047         (RUN_TEST_LOOP_fF_f1): Likewise.
52048         (RUN_TEST_LOOP_fI_f1): Likewise.
52049         (RUN_TEST_LOOP_ffI_f1): Likewise.
52050         (RUN_TEST_LOOP_c_c): Likewise.
52051         (RUN_TEST_LOOP_cc_c): Likewise.
52052         (RUN_TEST_LOOP_f_i): Likewise.
52053         (RUN_TEST_LOOP_f_i_tg): Likewise.
52054         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52055         (RUN_TEST_LOOP_f_b): Likewise.
52056         (RUN_TEST_LOOP_f_b_tg): Likewise.
52057         (RUN_TEST_LOOP_f_l): Likewise.
52058         (RUN_TEST_LOOP_f_L): Likewise.
52059         (RUN_TEST_LOOP_fFF_11): Likewise.
52060         * math/gen-libm-test.pl (parse_args): Output four copies of
52061         expected results for each test.
52063         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52064         (__ASSUME_UTIMES): Remove.
52065         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52066         (__ASSUME_UTIMES): Likewise.
52068         * math/gen-auto-libm-tests.c: Update comment on output format.
52069         (output_for_one_input_case): Generate before-rounding and
52070         after-rounding information as conditions on output flags not
52071         floating-point format.
52072         * math/auto-libm-test-out: Regenerated.
52073         * math/gen-libm-test.pl (cond_value): New function.
52074         (or_cond_value): Use cond_value.
52075         (generate_testfile): Handle conditional exceptions.
52077 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52079         * math/libm-test.inc (max_valid_error): New variable.
52080         (init_max_error): Take new argument specifying whether function
52081         results are exactly determined.  Set max_valid_error and bound
52082         other variables for errors based on this argument.
52083         (set_max_error): Do not record results above max_valid_error.
52084         (check_float_internal): Only accept errors of up to 0.5ulps if
52085         also at most max_valid_error.
52086         (START): Take new argument EXACT and pass it to init_max_error.
52087         (acos_test): Update call to START.
52088         (acos_test_tonearest): Likewise.
52089         (acos_test_towardzero): Likewise.
52090         (acos_test_downward): Likewise.
52091         (acos_test_upward): Likewise.
52092         (acosh_test): Likewise.
52093         (asin_test): Likewise.
52094         (asin_test_tonearest): Likewise.
52095         (asin_test_towardzero): Likewise.
52096         (asin_test_downward): Likewise.
52097         (asin_test_upward): Likewise.
52098         (asinh_test): Likewise.
52099         (atan_test): Likewise.
52100         (atanh_test): Likewise.
52101         (atan2_test): Likewise.
52102         (cabs_test): Likewise.
52103         (cacos_test): Likewise.
52104         (cacosh_test): Likewise.
52105         (carg_test): Likewise.
52106         (casin_test): Likewise.
52107         (casinh_test): Likewise.
52108         (catan_test): Likewise.
52109         (catanh_test): Likewise.
52110         (cbrt_test): Likewise.
52111         (ccos_test): Likewise.
52112         (ccosh_test): Likewise.
52113         (ceil_test): Likewise.
52114         (cexp_test): Likewise.
52115         (cimag_test): Likewise.
52116         (clog_test): Likewise.
52117         (clog10_test): Likewise.
52118         (conj_test): Likewise.
52119         (copysign_test): Likewise.
52120         (cos_test): Likewise.
52121         (cos_test_tonearest): Likewise.
52122         (cos_test_towardzero): Likewise.
52123         (cos_test_downward): Likewise.
52124         (cos_test_upward): Likewise.
52125         (cosh_test): Likewise.
52126         (cosh_test_tonearest): Likewise.
52127         (cosh_test_towardzero): Likewise.
52128         (cosh_test_downward): Likewise.
52129         (cosh_test_upward): Likewise.
52130         (cpow_test): Likewise.
52131         (cproj_test): Likewise.
52132         (creal_test): Likewise.
52133         (csin_test): Likewise.
52134         (csinh_test): Likewise.
52135         (csqrt_test): Likewise.
52136         (ctan_test): Likewise.
52137         (ctan_test_tonearest): Likewise.
52138         (ctan_test_towardzero): Likewise.
52139         (ctan_test_downward): Likewise.
52140         (ctan_test_upward): Likewise.
52141         (ctanh_test): Likewise.
52142         (ctanh_test_tonearest): Likewise.
52143         (ctanh_test_towardzero): Likewise.
52144         (ctanh_test_downward): Likewise.
52145         (ctanh_test_upward): Likewise.
52146         (erf_test): Likewise.
52147         (erfc_test): Likewise.
52148         (exp_test): Likewise.
52149         (exp_test_tonearest): Likewise.
52150         (exp_test_towardzero): Likewise.
52151         (exp_test_downward): Likewise.
52152         (exp_test_upward): Likewise.
52153         (exp10_test): Likewise.
52154         (exp10_test_tonearest): Likewise.
52155         (exp10_test_towardzero): Likewise.
52156         (exp10_test_downward): Likewise.
52157         (exp10_test_upward): Likewise.
52158         (pow10_test): Likewise.
52159         (exp2_test): Likewise.
52160         (expm1_test): Likewise.
52161         (expm1_test_tonearest): Likewise.
52162         (expm1_test_towardzero): Likewise.
52163         (expm1_test_downward): Likewise.
52164         (expm1_test_upward): Likewise.
52165         (fabs_test): Likewise.
52166         (fdim_test): Likewise.
52167         (floor_test): Likewise.
52168         (fma_test): Likewise.
52169         (fma_test_towardzero): Likewise.
52170         (fma_test_downward): Likewise.
52171         (fma_test_upward): Likewise.
52172         (fmax_test): Likewise.
52173         (fmin_test): Likewise.
52174         (fmod_test): Likewise.
52175         (fpclassify_test): Likewise.
52176         (frexp_test): Likewise.
52177         (hypot_test): Likewise.
52178         (ilogb_test): Likewise.
52179         (isfinite_test): Likewise.
52180         (finite_test): Likewise.
52181         (isgreater_test): Likewise.
52182         (isgreaterequal_test): Likewise.
52183         (isinf_test): Likewise.
52184         (isless_test): Likewise.
52185         (islessequal_test): Likewise.
52186         (islessgreater_test): Likewise.
52187         (isnan_test): Likewise.
52188         (isnormal_test): Likewise.
52189         (issignaling_test): Likewise.
52190         (isunordered_test): Likewise.
52191         (j0_test): Likewise.
52192         (j1_test): Likewise.
52193         (jn_test): Likewise.
52194         (ldexp_test): Likewise.
52195         (lgamma_test): Likewise.
52196         (gamma_test): Likewise.
52197         (lrint_test): Likewise.
52198         (lrint_test_tonearest): Likewise.
52199         (lrint_test_towardzero): Likewise.
52200         (lrint_test_downward): Likewise.
52201         (lrint_test_upward): Likewise.
52202         (llrint_test): Likewise.
52203         (llrint_test_tonearest): Likewise.
52204         (llrint_test_towardzero): Likewise.
52205         (llrint_test_downward): Likewise.
52206         (llrint_test_upward): Likewise.
52207         (log_test): Likewise.
52208         (log10_test): Likewise.
52209         (log1p_test): Likewise.
52210         (log2_test): Likewise.
52211         (logb_test): Likewise.
52212         (logb_test_downward): Likewise.
52213         (lround_test): Likewise.
52214         (llround_test): Likewise.
52215         (modf_test): Likewise.
52216         (nearbyint_test): Likewise.
52217         (nextafter_test): Likewise.
52218         (nexttoward_test): Likewise.
52219         (pow_test): Likewise.
52220         (pow_test_tonearest): Likewise.
52221         (pow_test_towardzero): Likewise.
52222         (pow_test_downward): Likewise.
52223         (pow_test_upward): Likewise.
52224         (remainder_test): Likewise.
52225         (drem_test): Likewise.
52226         (remainder_test_tonearest): Likewise.
52227         (drem_test_tonearest): Likewise.
52228         (remainder_test_towardzero): Likewise.
52229         (drem_test_towardzero): Likewise.
52230         (remainder_test_downward): Likewise.
52231         (drem_test_downward): Likewise.
52232         (remainder_test_upward): Likewise.
52233         (drem_test_upward): Likewise.
52234         (remquo_test): Likewise.
52235         (rint_test): Likewise.
52236         (rint_test_tonearest): Likewise.
52237         (rint_test_towardzero): Likewise.
52238         (rint_test_downward): Likewise.
52239         (rint_test_upward): Likewise.
52240         (round_test): Likewise.
52241         (scalb_test): Likewise.
52242         (scalbn_test): Likewise.
52243         (scalbln_test): Likewise.
52244         (signbit_test): Likewise.
52245         (sin_test): Likewise.
52246         (sin_test_tonearest): Likewise.
52247         (sin_test_towardzero): Likewise.
52248         (sin_test_downward): Likewise.
52249         (sin_test_upward): Likewise.
52250         (sincos_test): Likewise.
52251         (sinh_test): Likewise.
52252         (sinh_test_tonearest): Likewise.
52253         (sinh_test_towardzero): Likewise.
52254         (sinh_test_downward): Likewise.
52255         (sinh_test_upward): Likewise.
52256         (sqrt_test): Likewise.
52257         (sqrt_test_tonearest): Likewise.
52258         (sqrt_test_towardzero): Likewise.
52259         (sqrt_test_downward): Likewise.
52260         (sqrt_test_upward): Likewise.
52261         (tan_test): Likewise.
52262         (tan_test_tonearest): Likewise.
52263         (tan_test_towardzero): Likewise.
52264         (tan_test_downward): Likewise.
52265         (tan_test_upward): Likewise.
52266         (tanh_test): Likewise.
52267         (tgamma_test): Likewise.
52268         (trunc_test): Likewise.
52269         (y0_test): Likewise.
52270         (y1_test): Likewise.
52271         (yn_test): Likewise.
52272         (significand_test): Likewise.
52274         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
52275         individual tests in comment.
52276         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
52277         (prev_max_error): New variable.
52278         (prev_real_max_error): Likewise.
52279         (prev_imag_max_error): Likewise.
52280         (compare_ulp_data): Don't refer to test names in comment.
52281         (find_test_ulps): Remove function.
52282         (find_function_ulps): Likewise.
52283         (find_complex_function_ulps): Likewise.
52284         (init_max_error): Take function name as argument.  Look up ulps
52285         for that function.
52286         (print_ulps): Remove function.
52287         (print_max_error): Use prev_max_error instead of calling
52288         find_function_ulps.
52289         (print_complex_max_error): Use prev_real_max_error and
52290         prev_imag_max_error instead of calling find_complex_function_ulps.
52291         (check_float_internal): Take max_ulp parameter instead of calling
52292         find_test_ulps.  Don't call print_ulps.
52293         (check_float): Update call to check_float_internal.
52294         (check_complex): Update calls to check_float_internal.
52295         (START): Pass argument to init_max_error.
52296         * math/gen-libm-test.pl (%results): Don't include "kind"
52297         information.
52298         (parse_ulps): Don't handle ulps of individual tests.
52299         (print_ulps_file): Likewise.
52300         (output_ulps): Likewise.
52301         * math/README.libm-test: Update.
52302         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
52303         individual tests.
52304         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
52305         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
52306         * sysdeps/arm/libm-test-ulps: Likewise.
52307         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
52308         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
52309         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
52310         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
52311         * sysdeps/microblaze/libm-test-ulps: Likewise.
52312         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
52313         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
52314         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52315         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
52316         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52317         * sysdeps/sh/libm-test-ulps: Likewise.
52318         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52319         * sysdeps/tile/libm-test-ulps: Likewise.
52320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52322 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
52324         * math/libm-test.inc (print_complex_max_error): Check separately
52325         whether real and imaginary errors are within allowed range and
52326         pass 0 to print_complex_function_ulps instead of value within
52327         allowed range.
52329 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52331         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
52332         formatting.
52333         (get_handles_fopen): Likewise.
52334         (do_write_test): Likewise.
52336         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
52338         * libio/fileops.c (do_ftell): Use cached offset when
52339         available.
52340         * libio/iofwide.c (do_ftell_wide): Likewise.
52341         * libio/iofdopen.c (_IO_new_fdopen): Don't use
52342         _IO_file_attach.
52343         * libio/wfileops.c (_IO_fwide): Don't cache offset.
52345         [BZ #16532]
52346         * libio/libioP.h (get_file_offset): New function.
52347         * libio/fileops.c (get_file_offset): Likewise.
52348         (do_ftell): Likewise.
52349         (_IO_new_file_seekoff): Split out ftell logic.
52350         * libio/wfileops.c (do_ftell_wide): Likewise.
52351         (_IO_wfile_seekoff): Split out ftell logic.
52352         * libio/tst-ftell-active-handler.c: New test case.
52353         * libio/Makefile (tests): Add it.
52355 2014-03-03  Roland McGrath  <roland@hack.frob.com>
52357         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
52358         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
52360 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52362         [BZ #16639]
52363         * nscd/connections.c (nscd_init): Call do_exit.
52364         (start_threads): Call do_exit and notify_parent.
52365         (begin_drop_privileges): Call do_exit.
52366         (finish_drop_privileges): Likewise.
52367         * nscd/selinux.c (preserve_capabilities): Likewise.
52368         (install_real_capabilities): Likewise.
52369         (nscd_selinux_enabled): Likewise.
52370         (avc_create_thread): Likewise.
52371         (avc_alloc_lock): Likewise.
52372         (nscd_avc_init): Likewise.
52373         * nscd/nscd.c (parent_fd): New static variable.
52374         (main): Create a pipe between parent and child processes.
52375         Skip closing parent_fd.
52376         (monitor_child): New function.
52377         (do_exit): Likewise.
52378         (notify_parent): Likewise.
52379         * nscd/nscd.h (notify_parent): Likewise.
52380         (do_exit): Likewise.
52382 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
52384         * malloc/malloc.c (__libc_calloc): Revert last change.
52386 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52390 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52392         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
52393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
52394         implementation.
52395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52396         (__libc_ifunc_impl_list): Likewise.
52397         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
52398         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
52399         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
52400         * string/strrchr.c: Define STRRCHR.
52402 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
52404         * benchtest/bench-strtok.c (simple_strtok): Delete.
52405         (strtok_string): Use as benchmark.
52406         * string/strtok (STRTOK): New macro.
52408 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
52410         * manual/threads.texi: Add header and standard comments to all
52411         functions.
52413         * elf/dl-lookup.c (check_match): New function.
52414         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
52415         (do_lookup_x): Remove nested function check_match. Use non-nested
52416         function check_match.
52418 2014-02-28  Roland McGrath  <roland@hack.frob.com>
52420         * csu/Makefile (generated, before-compile): Use += rather than =.
52421         * catgets/Makefile (generated, generated-dirs): Likewise.
52422         * debug/Makefile (generated): Likewise.
52423         * dlfcn/Makefile (generated): Likewise.
52424         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
52425         * iconvdata/Makefile (before-compile, generated): Likewise.
52426         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
52427         * libio/Makefile (generated): Likewise.
52428         * malloc/Makefile (generated): Likewise.
52429         * manual/Makefile (generated, generated-dirs): Likewise.
52430         * misc/Makefile (generated): Likewise.
52431         * posix/Makefile (generated): Likewise.
52432         * resolv/Makefile (generated): Likewise.
52433         * sunrpc/Makefile (generated, generated-dirs): Likewise.
52434         * timezone/Makefile (generated, generated-dirs): Likewise.
52436         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
52438 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52441         power8 implementation.
52442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
52443         file: POWER8 llround ifunc implementation.
52444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
52445         (__lllround): Add POWER8 implementation.
52446         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
52447         POWER8 llround implementation.
52449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
52450         power8 implementation.
52451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
52452         file: POWER8 llrint ifunc implementation.
52453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
52454         Add POWER8 implementation.
52455         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
52456         POWER8 llrint implementation.
52458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
52459         power8 implementation.
52460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
52461         file: POWER8 finite ifunc implementation.
52462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
52463         Add POWER8 implementation.
52464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
52465         Likewise.
52466         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
52467         POWER8 finite implementation.
52468         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
52470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
52471         power8 implementation.
52472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
52473         file: POWER8 isinf ifunc implementation.
52474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
52475         POWER8 implementation.
52476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
52477         Likewise.
52478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
52479         isinf implementation.
52480         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
52482         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
52483         (INIT_ARCH): Add hwcap2 initialization.
52484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52485         power8 implementation.
52486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
52487         file: POWER8 isnan ifunc implementation.
52488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
52489         POWER8 implementation.
52490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
52491         Likewise.
52492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
52493         isnan implementation.
52494         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
52496 2014-02-27  Joey Ye  <joey.ye@arm.com>
52498         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52499         (_FP_NANFRAC_Q): Set to zero.
52501 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52503         [BZ #16623]
52504         * math/auto-libm-test-in: New test inputs.
52505         * math/auto-libm-test-out: Regenerate.
52506         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
52507         and DA.
52508         (__cos): Likewise.
52509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52511 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
52513         * scripts/evaluate-test.sh: Take new argument indicating whether
52514         failure is expected.
52515         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
52516         indicating whether failure is expected.
52517         * conform/Makefile (test-xfail-run-conformtest): New variable.
52518         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
52519         level.
52520         * posix/Makefile (test-xfail-annexc): New variable.
52521         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
52523 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
52525         * argp/Makefile: Include Makeconfig immediately after defining
52526         subdir.
52527         * assert/Makefile: Likewise.
52528         * benchtests/Makefile: Likewise.
52529         * catgets/Makefile: Likewise.
52530         * conform/Makefile: Likewise.
52531         * crypt/Makefile: Likewise.
52532         * csu/Makefile: Likewise.
52533         (all): Remove target.
52534         * ctype/Makefile: Include Makeconfig immediately after defining
52535         subdir.
52536         * debug/Makefile: Likewise.
52537         * dirent/Makefile: Likewise.
52538         * dlfcn/Makefile: Likewise.
52539         * gmon/Makefile: Likewise.
52540         * gnulib/Makefile: Likewise.
52541         * grp/Makefile: Likewise.
52542         * gshadow/Makefile: Likewise.
52543         * hesiod/Makefile: Likewise.
52544         * hurd/Makefile: Likewise.
52545         (all): Remove target.
52546         * iconvdata/Makefile: Include Makeconfig immediately after
52547         defining subdir.
52548         * inet/Makefile: Likewise.
52549         * intl/Makefile: Likewise.
52550         * io/Makefile: Likewise.
52551         * libio/Makefile: Likewise.
52552         (all): Remove target.
52553         * locale/Makefile: Include Makeconfig immediately after defining
52554         subdir.
52555         * login/Makefile: Likewise.
52556         * mach/Makefile: Likewise.
52557         (all): Remove target.
52558         * malloc/Makefile: Include Makeconfig immediately after defining
52559         subdir.
52560         (all): Remove target.
52561         * manual/Makefile: Include Makeconfig immediately after defining
52562         subdir.
52563         * math/Makefile: Likewise.
52564         * misc/Makefile: Likewise.
52565         * nis/Makefile: Likewise.
52566         * nss/Makefile: Likewise.
52567         * po/Makefile: Likewise.
52568         (all): Remove target.
52569         * posix/Makefile: Include Makeconfig immediately after defining
52570         subdir.
52571         * pwd/Makefile: Likewise.
52572         * resolv/Makefile: Likewise.
52573         * resource/Makefile: Likewise.
52574         * rt/Makefile: Likewise.
52575         * setjmp/Makefile: Likewise.
52576         * shadow/Makefile: Likewise.
52577         * signal/Makefile: Likewise.
52578         * socket/Makefile: Likewise.
52579         * soft-fp/Makefile: Likewise.
52580         * stdio-common/Makefile: Likewise.
52581         * stdlib/Makefile: Likewise.
52582         * streams/Makefile: Likewise.
52583         * string/Makefile: Likewise.
52584         * sunrpc/Makefile: Likewise.
52585         (all): Remove target.
52586         * sysvipc/Makefile: Include Makeconfig immediately after defining
52587         subdir.
52588         * termios/Makefile: Likewise.
52589         * time/Makefile: Likewise.
52590         * timezone/Makefile: Likewise.
52591         (all): Remove target.
52592         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52593         subdir.
52594         * wctype/Makefile: Likewise.
52596 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52598         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52599         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52600         (libc_feholdexcept_setround_mips): Ditto.
52601         (libc_feholdsetround): New.
52602         (libc_feholdsetroundf): New.
52603         (libc_feholdsetroundl): New.
52604         (libc_feupdateenv_test_mips): New.
52605         (libc_feupdateenv_test): New.
52606         (libc_feupdateenv_testf): New.
52607         (libc_feupdateenv_testl): New.
52608         (libc_feresetround): New.
52609         (libc_feresetroundf): New.
52610         (libc_feresetroundl): New.
52611         (libc_fetestexcept_mips): New.
52612         (libc_fetestexcept): New.
52613         (libc_fetestexceptf): New.
52614         (libc_fetestexceptl): New.
52615         (HAVE_RM_CTX): New.
52616         (libc_feholdexcept_setround_mips_ctx): New.
52617         (libc_feholdexcept_setround_ctx): New.
52618         (libc_feholdexcept_setroundf_ctx): New.
52619         (libc_feholdexcept_setroundl_ctx): New.
52620         (libc_fesetenv_mips_ctx): New.
52621         (libc_fesetenv_ctx): New.
52622         (libc_fesetenv_ctxf): New.
52623         (libc_fesetenv_ctxl): New.
52624         (libc_feupdateenv_mips_ctx): New.
52625         (libc_feupdateenv_ctx): New.
52626         (libc_feupdateenvf_ctx): New.
52627         (libc_feupdateenvl_ctx): New.
52628         (libc_feholdsetround_mips_ctx): New.
52629         (libc_feholdsetround_ctx): New.
52630         (libc_feholdsetroundf_ctx): New.
52631         (libc_feholdsetroundl_ctx): New.
52632         (libc_feresetround_mips_ctx): New.
52633         (libc_feresetround_ctx): New.
52634         (libc_feresetroundf_ctx): New.
52635         (libc_feresetroundl_ctx): New.
52637 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
52639         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
52641         * manual/ipc.texi: New file.
52642         * manual/Makefile (chapters): Add ipc.
52643         * manual/job.texi: Add "Inter-Process Communication" to next.
52644         * manual/process.texi: Add "Inter-Process Communication" to prev.
52646 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52650 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
52652         * malloc/malloc.c (__libc_calloc): Simplify implementation.
52654         * manual/arith.texi: Fix spaces after sentences.
52655         * manual/charset.texi: Likewise.
52656         * manual/errno.texi: Likewise.
52657         * manual/install.texi: Likewise.
52658         * manual/llio.texi: Likewise.
52659         * manual/locale.texi: Likewise.
52660         * manual/maint.texi: Likewise.
52661         * manual/math.texi: Likewise.
52662         * manual/memory.texi: Likewise.
52663         * manual/message.texi: Likewise.
52664         * manual/probes.texi: Likewise.
52665         * manual/resource.texi: Likewise.
52666         * manual/signal.texi: Likewise.
52667         * manual/socket.texi: Likewise.
52668         * manual/stdio.texi: Likewise.
52669         * manual/string.texi: Likewise.
52670         * manual/time.texi: Likewise.
52671         * manual/users.texi: Likewise.
52673 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
52675         [BZ #16632]
52676         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
52677         _DEFAULT_SOURCE is defined.
52679 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
52680             Carlos O'Donell  <carlos@redhat.com>
52682         [BZ #16613]
52683         * elf/dl-tls.c (_dl_count_modids): New function.
52684         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
52685         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
52686         audit library and increment generation counter.
52687         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
52688         * elf/tst-audit9.c: New file.
52689         * elf/tst-auditmod9a.c: New file.
52690         * elf/tst-auditmod9b.c: New file.
52691         * elf/Makefile: Add rules to build and run tst-audit9.
52693 2014-02-25  Florian Weimer  <fweimer@redhat.com>
52695         [BZ #15347]
52696         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
52698 2014-02-25  Will Newton  <will.newton@linaro.org>
52700         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
52701         (__longjmp): Restore sp and lr before restoring callee
52702         saved registers.  Add longjmp and longjmp_target
52703         SystemTap probe point.
52704         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
52705         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
52706         Define to zero to match jmpbuf layout.
52707         * sysdeps/arm/setjmp.S: Include stap-probe.h.
52708         (__sigsetjmp): Save sp and lr before saving callee
52709         saved registers.  Add setjmp SystemTap probe point.
52711 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
52713         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52715 2014-02-24  Andreas Schwab  <schwab@suse.de>
52717         [BZ #15804]
52718         * elf/pldd.c (wait_for_ptrace_stop): New function.
52719         (main): Call it after attaching.
52721 2014-02-22  Roland McGrath  <roland@hack.frob.com>
52723         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52724         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
52725         Versions files is now verboten.
52726         * hurd/Versions (libc: GLIBC_2.0):
52727         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
52728         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
52729         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52730         * mach/Versions: Likewise.
52732         * csu/Versions: Remove unused %include.
52733         * resolv/Versions: Likewise.
52735 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
52737         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
52738         ($(objpfx)check-local-headers.out): Likewise.
52739         ($(objpfx)begin-end-check.out): Likewise.
52740         * Makerules (check-abi-%.out): Likewise.
52741         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
52742         ($(objpfx)test2.cat): Likewise.
52743         ($(objpfx)de/libc.cat): Likewise.
52744         ($(objpfx)test-gencat.out): Likewise.
52745         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
52746         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
52747         ($(objpfx)noload-mem): Likewise.
52748         ($(objpfx)tst-pathopt.out): Likewise.
52749         ($(objpfx)tst-rtld-load-self.out): Likewise.
52750         ($(objpfx)tst-array1-cmp.out): Likewise.
52751         ($(objpfx)tst-array1-static-cmp.out): Likewise.
52752         ($(objpfx)tst-array2-cmp.out): Likewise.
52753         ($(objpfx)tst-array3-cmp.out): Likewise.
52754         ($(objpfx)tst-array4-cmp.out): Likewise.
52755         ($(objpfx)tst-array5-cmp.out): Likewise.
52756         ($(objpfx)tst-array5-static-cmp.out): Likewise.
52757         ($(objpfx)check-textrel.out): Likewise.
52758         ($(objpfx)check-execstack.out): Likewise.
52759         ($(objpfx)check-localplt.out): Likewise.
52760         ($(objpfx)order2-cmp.out): Likewise.
52761         ($(objpfx)tst-leaks1-mem): Likewise.
52762         ($(objpfx)tst-leaks1-static-mem): Likewise.
52763         ($(objpfx)tst-initorder-cmp.out): Likewise.
52764         ($(objpfx)tst-initorder2-cmp.out): Likewise.
52765         ($(objpfx)tst-unused-dep.out): Likewise.
52766         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
52767         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
52768         * iconv/Makefile (test-iconvconfig): Likewise.
52769         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
52770         ($(objpfx)iconv-test.out): Likewise.
52771         ($(objpfx)tst-tables.out): Likewise.
52772         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
52773         ($(objpfx)tst-gettext.out): Likewise.
52774         ($(objpfx)tst-translit.out): Likewise.
52775         ($(objpfx)tst-gettext2.out): Likewise.
52776         ($(objpfx)tst-gettext4.out): Likewise.
52777         ($(objpfx)tst-gettext6.out): Likewise.
52778         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
52779         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
52780         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52781         ($(objpfx)tst-fopenloc-mem.out): Likewise.
52782         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
52783         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
52784         * posix/Makefile ($(objpfx)globtest.out): Likewise.
52785         ($(objpfx)wordexp-tst.out): Likewise.
52786         ($(objpfx)annexc.out): Likewise.
52787         ($(objpfx)tst-fnmatch-mem): Likewise.
52788         ($(objpfx)bug-regex2-mem): Likewise.
52789         ($(objpfx)bug-regex14-mem): Likewise.
52790         ($(objpfx)bug-regex21-mem): Likewise.
52791         ($(objpfx)bug-regex31-mem): Likewise.
52792         ($(objpfx)tst-vfork3-mem): Likewise.
52793         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52794         ($(objpfx)tst-pcre-mem): Likewise.
52795         ($(objpfx)tst-boost-mem): Likewise.
52796         ($(objpfx)tst-getconf.out): Likewise.
52797         ($(objpfx)bug-ga2-mem): Likewise.
52798         ($(objpfx)bug-glob2-mem): Likewise.
52799         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
52800         ($(objpfx)mtrace-tst-leaks2): Likewise.
52801         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
52802         ($(objpfx)tst-printf.out): Likewise.
52803         ($(objpfx)tst-setvbuf1.out): Likewise.
52804         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
52805         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
52806         ($(objpfx)tst-fmtmsg.out): Likewise.
52807         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
52808         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
52810         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
52811         * bits/sigaction.h [__USE_MISC]: Likewise.
52812         * bits/waitstatus.h: Update #endif comments.
52813         * ctype/ctype.h: Likewise.
52814         * dirent/dirent.h: Likewise.
52815         [__USE_MISC]: Remove redundant conditionals.
52816         * grp/grp.h: Update #endif comments.
52817         [__USE_GNU]: Remove redundant conditionals.
52818         [__USE_MISC]: Likewise.
52819         * inet/netinet/in.h [__USE_GNU]: Likewise.
52820         * io/sys/stat.h [__USE_MISC]: Likewise.
52821         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
52822         * libio/bits/stdio.h: Update #endif comments.
52823         [__USE_MISC]: Remove redundant conditionals.
52824         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
52825         * libio/stdio.h: Update #endif comments.
52826         [__USE_MISC]: Remove redundant conditionals.
52827         * math/bits/math-finite.h [__USE_MISC]: Likewise.
52828         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
52829         * math/math.h: Update #else and #endif comments.
52830         [__USE_MISC]: Remove redundant conditionals.
52831         * misc/sys/uio.h: Update #endif comments.
52832         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
52833         * posix/glob.h [__USE_MISC]: Likewise.
52834         * posix/sys/types.h: Update #endif comments.
52835         [__USE_MISC]: Remove redundant conditionals.
52836         * posix/sys/wait.h: Update #endif comments.
52837         [__USE_MISC]: Remove redundant conditionals.
52838         * posix/unistd.h: Update #endif comments.
52839         [__USE_MISC]: Remove redundant conditionals.
52840         * pwd/pwd.h [__USE_GNU]: Likewise.
52841         [__USE_MISC]: Likewise.
52842         * resolv/netdb.h [__USE_GNU]: Likewise.
52843         * signal/signal.h: Update #endif comments.
52844         [__USE_MISC]: Remove redundant conditionals.
52845         * stdlib/stdlib.h: Update #else and #endif comments.
52846         [__USE_MISC]: Remove redundant conditionals.
52847         [__USE_GNU]: Likewise.
52848         * string/bits/string2.h [__USE_MISC]: Likewise.
52849         * string/string.h: Update #endif comments.
52850         [__USE_MISC]: Remove redundant conditionals.
52851         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
52852         Likewise.
52853         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
52854         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
52855         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
52856         Likewise.
52857         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
52858         Likewise.
52859         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
52860         comments.
52861         [__USE_MISC]: Remove redundant conditionals.
52862         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
52863         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
52864         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
52865         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
52866         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
52867         Likewise.
52868         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
52869         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
52870         Likewise.
52871         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
52872         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
52873         Likewise.
52874         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
52875         Likewise.
52876         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
52877         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
52878         Likewise.
52879         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
52880         Likewise.
52881         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
52882         * sysdeps/x86/bits/string.h: Update #endif comments.
52883         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
52884         conditionals.
52885         * time/sys/time.h: Update #endif comments.
52886         * time/time.h: Likewise.
52887         [__USE_MISC]: Remove redundant conditionals.
52889 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
52891         [BZ #16600]
52892         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
52894 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
52896         * Versions.def (librt): Add GLIBC_2.17.
52898 2014-02-21  Adam Conrad  <adconrad@0c3.net>
52900         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
52901         synonym for _SYS_AUXV_H to allow direct inclusion.
52902         * sysdeps/sparc/bits/hwcap.h: Likewise.
52903         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
52904         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
52905         * sysdeps/sparc/sysdep.h: Likewise.
52907 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52909         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
52911 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52913         * benchtests/bench-strrchr.c: Print length instead of position.
52915 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
52917         [BZ #16611]
52918         * sysdeps/unix/sysv/linux/kernel-features.h
52919         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
52920         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
52921         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
52922         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
52923         Likewise.
52924         [__i386__ || __powerpc__ || __sh__ || __sparc__]
52925         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52926         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
52927         (__ASSUME_SENDMMSG): Define instead of using previous
52928         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
52929         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52930         (__ASSUME_SENDMMSG_SYSCALL): Define.
52931         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52932         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
52933         Likewise.
52934         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52935         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52936         Likewise.
52937         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52938         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52939         Likewise.
52940         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
52941         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52942         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52943         [__ASSUME_SENDMMSG]: Change conditionals to
52944         [__ASSUME_SENDMMSG_SOCKETCALL].
52945         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52946         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
52947         Define.
52948         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52949         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
52950         Likewise.
52951         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
52952         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52953         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52954         [!__ASSUME_SENDMMSG]: Change conditional to
52955         [!__ASSUME_SENDMMSG_SOCKETCALL].
52956         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52957         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52958         Define.
52960         [BZ #16610]
52961         * sysdeps/unix/sysv/linux/kernel-features.h
52962         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
52963         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
52964         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
52965         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
52966         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
52967         [__i386__ || __sparc__]
52968         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52969         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
52970         (__ASSUME_RECVMMSG): Define instead of using previous
52971         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
52972         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52973         (__ASSUME_RECVMMSG_SYSCALL): Define.
52974         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52975         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52976         Likewise.
52977         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52978         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52979         Likewise.
52980         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52981         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52982         Likewise.
52983         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
52984         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52985         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52986         [__ASSUME_RECVMMSG]: Change condition to
52987         [__ASSUME_RECVMMSG_SOCKETCALL].
52988         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52989         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52990         Define.
52991         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52992         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52993         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52994         Likewise.
52995         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
52996         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52997         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52998         [!__ASSUME_RECVMMSG]: Change condition to
52999         [!__ASSUME_RECVMMSG_SOCKETCALL].
53000         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53001         (__ASSUME_RECVMMSG_SYSCALL): Define.
53003         [BZ #16609]
53004         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53005         __powerpc__ || __s390__ || __sh__ || __sparc__]
53006         (__ASSUME_SOCKETCALL): Define.
53007         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53008         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53009         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53010         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53011         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53012         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53013         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53014         (__ASSUME_ACCEPT4): Define instead of using previous
53015         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53016         __powerpc__ || __sparc__ || __s390__)] condition.
53017         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53018         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53019         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53020         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53021         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53022         [!__ASSUME_ACCEPT4]: Change condition to
53023         [!__ASSUME_ACCEPT4_SOCKETCALL].
53024         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53025         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53026         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53027         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53028         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53029         __ASSUME_ACCEPT4_SYSCALL.
53030         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53031         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53032         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53033         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53034         __ASSUME_ACCEPT4_SYSCALL.
53035         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53036         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53037         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53038         [__ASSUME_ACCEPT4]: Change condition to
53039         [__ASSUME_ACCEPT4_SOCKETCALL].
53040         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53041         (__ASSUME_SOCKETCALL): Define.
53042         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53043         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53044         (__ASSUME_SOCKETCALL): Define.
53045         (__ASSUME_ACCEPT4): Remove.
53046         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53047         Define.
53048         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53049         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53050         Likewise.
53051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53052         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53054         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53055         macro.
53056         (HWCAP_ARM_LPAE): Likewise.
53057         (HWCAP_ARM_EVTSTRM): Likewise.
53058         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53059         Add vpfd32, lpae and evtstrm.
53060         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53061         Increase to 22.
53063 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53065         * math/auto-libm-test-in: Add tests of clog10.
53066         * math/auto-libm-test-out: Regenerated.
53067         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53068         * sysdeps/i386/fpu/libm-test-ulps: Update.
53069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53071 2014-02-18  Andreas Schwab  <schwab@suse.de>
53073         [BZ #16574]
53074         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53075         Store non-zero if the second buffer was newly allocated.
53076         (send_dg): Likewise.
53077         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53078         to send_vc and send_dg.
53079         (res_nsend): Pass NULL for ansp2_malloced.
53080         * resolv/res_query.c (__libc_res_nquery): Add parameter
53081         answerp2_malloced and pass it down to __libc_res_nsend.
53082         (res_nquery): Pass additional NULL to __libc_res_nquery.
53083         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53084         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53085         second answer buffer if answerp2_malloced was set.
53086         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53087         (__libc_res_nquerydomain): Add parameter
53088         answerp2_malloced and pass it down to __libc_res_nquery.
53089         (res_nquerydomain): Pass additional NULL to
53090         __libc_res_nquerydomain.
53091         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53092         additional NULL to __libc_res_nsend and __libc_res_nquery.
53093         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53094         additional NULL to __libc_res_nsearch.
53095         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53096         parameter of __libc_res_nsearch to check for separately allocated
53097         second buffer.
53098         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53099         __libc_res_nquery.
53100         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53101         additional NULL to __libc_res_nquery.
53102         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53103         __libc_res_nsearch.
53104         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53105         * include/resolv.h: Update prototypes of __libc_res_nquery,
53106         __libc_res_nsearch, __libc_res_nsend.
53108 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53110         * math/auto-libm-test-in: Add tests of fma.
53111         * math/auto-libm-test-out: Regenerated.
53112         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53113         (fma_towardzero_test_data): Likewise.
53114         (fma_downward_test_data): Likewise.
53115         (fma_upward_test_data): Likewise.
53116         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53117         mpc_mode.
53118         (rounding_modes): Add values for new field.
53119         (func_calc_method): Add value mpfr_fff_f.
53120         (func_calc_desc): Add mpfr_fff_f union field.
53121         (test_function): Add field exact_args.
53122         (FUNC): Add macro argument EXACT_ARGS.
53123         (FUNC_mpfr_f_f): Update call to FUNC.
53124         (FUNC_mpfr_f_f): Likewise.
53125         (FUNC_mpfr_ff_f): Likewise.
53126         (FUNC_mpfr_if_f): Likewise.
53127         (FUNC_mpc_c_f): Likewise.
53128         (FUNC_mpc_c_c): Likewise.
53129         (test_functions): Add fma.  Update calls to FUNC.
53130         (handle_input_arg): Add argument exact_args.
53131         (add_test): Update call to handle_input_arg.
53132         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
53133         (output_for_one_input_case): Update call to calc_generic_results.
53134         Recalculate exact zero results in each rounding mode.
53136         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53137         non-negative before setting low bit.
53138         * math/auto-libm-test-in: Mark one asin test possibly having
53139         spurious underflow.
53140         * math/auto-libm-test-out: Regenerated.
53141         * sysdeps/i386/fpu/libm-test-ulps: Update.
53142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53144 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
53146         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53147         * sysdeps/unix/sysv/linux/microblaze: Move directory from
53148         ports/sysdeps/unix/sysv/linux/microblaze.
53149         * README: Add missing listing for microblaze*-*-linux-gnu.
53151 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
53153         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53154         duplicate code
53156 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
53158         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53159         * sysdeps/unix/sysv/linux/ia64: Move directory from
53160         ports/sysdeps/unix/sysv/linux/ia64.
53161         * README: Update listing for ia64-*-linux-gnu.
53163 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
53164             Joseph Myers  <joseph@codesourcery.com>
53166         * Makeconfig (test-name): New variable.
53167         (evaluate-test): Likewise.
53168         * Makerules (do-test-clean): Remove .test-result files.
53169         (common-mostlyclean): Likewise.
53170         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53171         * scripts/evaluate-test.sh: New file.
53173 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
53175         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53176         separate $(objpfx)tst-fopenloc-cmp.out and
53177         $(objpfx)tst-fopenloc-mem.out targets.
53178         (tests): Update dependencies.
53179         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53180         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53181         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53182         (tst-rxspencer-no-utf8-ARGS): New variable.
53183         (tst-rxspencer-no-utf8-ENV): Likewise.
53184         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53185         instead of $(objpfx)tst-rxspencer-mem.
53186         ($(objpfx)tst-rxspencer-mem): Change target to
53187         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
53188         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53189         * posix/tst-rxspencer-no-utf8.c: New file.
53191         * elf/Makefile ($(objpfx)order.out): Remove rule.
53192         [$(run-built-tests) = yes] (tests): Depend on
53193         $(objpfx)order-cmp.out.
53194         ($(objpfx)order-cmp.out): New rule.
53195         [$(run-built-tests) = yes] (tests): Depend on
53196         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53197         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53198         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53199         $(objpfx)tst-array5-static-cmp.out.
53200         ($(objpfx)tst-array1.out): Remove rule.
53201         ($(objpfx)tst-array1-cmp.out): New rule.
53202         ($(objpfx)tst-array1-static.out): Remove rule.
53203         ($(objpfx)tst-array1-static-cmp.out): New rule.
53204         ($(objpfx)tst-array2.out): Remove rule.
53205         ($(objpfx)tst-array2-cmp.out): New rule.
53206         ($(objpfx)tst-array3.out): Remove rule.
53207         ($(objpfx)tst-array3-cmp.out): New rule.
53208         ($(objpfx)tst-array4.out): Remove rule.
53209         ($(objpfx)tst-array4-cmp.out): New rule.
53210         ($(objpfx)tst-array5.out): Remove rule.
53211         ($(objpfx)tst-array5-cmp.out): New rule.
53212         ($(objpfx)tst-array5-static.out): Remove rule.
53213         ($(objpfx)tst-array5-static-cmp.out): New rule.
53214         [$(run-built-tests) = yes] (tests): Depend on
53215         $(objpfx)order2-cmp.out.
53216         ($(objpfx)order2.out): Remove rule.
53217         ($(objpfx)order2-cmp.out): New rule.
53218         ($(objpfx)tst-initorder.out): Remove rule.
53219         [$(run-built-tests) = yes] (tests): Depend on
53220         $(objpfx)tst-initorder-cmp.out.
53221         ($(objpfx)tst-initorder-cmp.out): New rule.
53222         ($(objpfx)tst-initorder2.out): Remove rule.
53223         [$(run-built-tests) = yes] (tests): Depend on
53224         $(objpfx)tst-initorder2-cmp.out.
53225         ($(objpfx)tst-initorder2-cmp.out): New rule.
53226         [$(run-built-tests) = yes] (tests): Depend on
53227         $(objpfx)tst-unused-dep-cmp.out.
53228         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53229         ($(objpfx)tst-unused-dep-cmp.out): New rule.
53230         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
53231         on $(objpfx)tst-setvbuf1-cmp.out.
53232         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
53233         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
53234         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
53235         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
53236         ($(objpfx)tst-svc.out): Remove rule.
53237         ($(objpfx)tst-svc-cmp.out): New rule.
53239 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
53241         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
53242         * ctype/ctype.h [__USE_MISC]: Likewise.
53243         * dirent/dirent.h [__USE_MISC]: Likewise.
53244         * grp/grp.h [__USE_MISC]: Likewise.
53245         * io/fcntl.h [__USE_MISC]: Likewise.
53246         * io/sys/stat.h [__USE_MISC]: Likewise.
53247         * libio/stdio.h [__USE_MISC]: Likewise.
53248         * posix/unistd.h [__USE_MISC]: Likewise.
53249         * pwd/pwd.h [__USE_MISC]: Likewise.
53250         * stdlib.h [__USE_MISC]: Likewise.
53251         * string/bits/string2.h [__USE_MISC]: Likewise.
53252         * string/string.h [__USE_MISC]: Likewise.
53253         * time/time.h [__USE_MISC]: Likewise.
53255 2014-02-13  Andreas Schwab  <schwab@suse.de>
53257         [BZ #16574]
53258         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
53259         second answer buffer if it was separately allocated.
53261 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
53263         * sysdeps/mips/math-tests.h: Include <features.h>.
53264         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53265         (ROUNDING_TESTS_long_double): Do not define.
53266         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53267         (EXCEPTION_TESTS_long_double): Likewise.
53268         * sysdeps/mips/mips64/libm-test-ulps: Update.
53270         * include/features.h (__USE_BSD): Remove macro definitions.
53271         (__USE_SVID): Likewise.
53272         (_BSD_SOURCE): Likewise.
53273         (_SVID_SOURCE): Likewise.
53274         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
53275         from definition of _DEFAULT_SOURCE.
53276         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
53277         [_DEFAULT_SOURCE].
53278         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
53279         * bits/mman.h [__USE_BSD]: Likewise.
53280         * bits/termios.h [__USE_BSD]: Likewise.
53281         * bits/waitstatus.h [__USE_BSD]: Likewise.
53282         * ctype/ctype.h [__USE_SVID]: Likewise.
53283         * dirent/dirent.h [__USE_BSD]: Likewise.
53284         * grp/grp.h [__USE_SVID]: Likewise.
53285         [__USE_BSD]: Likewise.
53286         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
53287         * io/fcntl.h [__USE_BSD]: Likewise.
53288         * io/ftw.h [__USE_BSD]: Likewise.
53289         * io/sys/stat.h [__USE_BSD]: Likewise.
53290         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
53291         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
53292         * libio/stdio.h [__USE_SVID]: Likewise.
53293         [__USE_BSD]: Likewise.
53294         * math/math.h [__USE_SVID]: Likewise.
53295         [__USE_BSD]: Likewise.
53296         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
53297         * misc/bits/syslog.h [__USE_BSD]: Likewise.
53298         * misc/search.h [__USE_SVID]: Likewise.
53299         * misc/sys/mman.h [__USE_BSD]: Likewise.
53300         * misc/sys/syslog.h [__USE_BSD]: Likewise.
53301         * misc/sys/uio.h [__USE_BSD]: Likewise.
53302         * posix/bits/unistd.h [__USE_BSD]: Likewise.
53303         * posix/glob.h [__USE_BSD]: Likewise.
53304         * posix/regex.h [__USE_BSD]: Likewise.
53305         * posix/sys/types.h [__USE_BSD]: Likewise.
53306         [__USE_SVID]: Likewise.
53307         * posix/sys/utsname.h [__USE_SVID]: Likewise.
53308         * posix/sys/wait.h [__USE_BSD]: Likewise.
53309         [__USE_SVID]: Likewise.
53310         * posix/unistd.h [__USE_BSD]: Likewise.
53311         [__USE_SVID]: Likewise.
53312         * pwd/pwd.h [__USE_SVID]: Likewise.
53313         * resolv/netdb.h [__USE_BSD]: Likewise.
53314         * setjmp/setjmp.h [__USE_BSD]: Likewise.
53315         * signal/signal.h [__USE_BSD]: Likewise.
53316         [__USE_SVID]: Likewise.
53317         * socket/sys/socket.h [__USE_BSD]: Likewise.
53318         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
53319         * stdlib/stdlib.h [__USE_BSD]: Likewise.
53320         [__USE_SVID]: Likewise.
53321         * string/bits/string2.h [__USE_BSD]: Likewise.
53322         [__USE_SVID]: Likewise.
53323         * string/bits/string3.h [__USE_BSD]: Likewise.
53324         * string/endian.h [__USE_BSD]: Likewise.
53325         * string/string.h [__USE_SVID]: Likewise.
53326         [__USE_BSD]: Likewise.
53327         * string/strings.h [__USE_BSD]: Likewise.
53328         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
53329         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
53330         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
53331         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
53332         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
53333         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
53334         Likewise.
53335         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
53336         Likewise.
53337         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
53338         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
53339         Likewise.
53340         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
53341         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
53342         Likewise.
53343         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
53344         Likewise.
53345         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
53346         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
53347         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
53348         Likewise.
53349         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
53350         Likewise.
53351         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
53352         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
53353         * termios/termios.h [__USE_BSD]: Likewise.
53354         * time/sys/time.h [__USE_BSD]: Likewise.
53355         * time/time.h [__USE_BSD]: Likewise.
53356         [__USE_SVID]: Likewise.
53358         * Makefile (subdir_targets): Remove subdir_lint.out.
53360         * stdio-common/Makefile (do-tst-unbputc): Remove target.
53361         (do-tst-printf): Likewise.
53362         (tests): Depend directly on $(objpfx)tst-unbputc.out and
53363         $(objpfx)tst-printf.out.
53365         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
53367         * Makerules (check-abi-%): Change target to
53368         $(objpfx)check-abi-%.out.
53369         (check-abi target): Update dependencies.
53370         (check-abi-pattern variable): Redirect output of diff to $@.
53371         (check-abi variable): Likewise.
53372         * elf/Makefile (check-abi): Update dependencies.
53374         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
53375         unused.
53376         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
53377         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
53378         subnormal range.
53379         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
53380         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
53381         value has largest subnormal exponent.
53382         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
53383         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
53384         * sysdeps/aarch64/soft-fp/sfp-machine.h
53385         (_FP_TININESS_AFTER_ROUNDING): New macro.
53386         * sysdeps/alpha/soft-fp/sfp-machine.h
53387         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53388         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53389         Likewise.
53390         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
53391         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53392         * sysdeps/mips/soft-fp/sfp-machine.h
53393         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53394         * sysdeps/powerpc/soft-fp/sfp-machine.h
53395         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53396         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53397         Likewise.
53398         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53399         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53400         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53401         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53402         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53403         Likewise.
53405 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
53407         [BZ #16545]
53408         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
53409         model 1.
53411 2014-02-12  Richard Henderson  <rth@redhat.com>
53413         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
53414         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
53415         * sysdeps/unix/sysv/linux/alpha: Move directory from
53416         ports/sysdeps/unix/sysv/linux/alpha.
53417         * README: Update listing for alpha-*-linux-gnu.
53419 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
53421         * include/features.h: Update comment documenting feature test
53422         macros.
53423         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
53424         _DEFAULT_SOURCE.
53425         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
53426         (_SVID_SOURCE): Likewise.
53427         (_DEFAULT_SOURCE): Update description of default features.
53428         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
53429         with _GNU_SOURCE.
53430         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
53431         (S_ISVTX): Likewise.
53432         * manual/math.texi (Mathematical Constants): Likewise.
53433         * manual/signal.texi (Interrupted Primitives): Likewise.
53434         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
53435         * math/test-matherr.c (_SVID_SOURCE): Do not define.
53436         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
53437         Don't refer to _SVID_SOURCE in warning text.
53439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53441         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
53442         already defined.
53443         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
53444         * sysdeps/mips/dl-lookup.c: Remove.
53445         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
53447 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53449         [BZ #16447]
53450         * math/auto-libm-test-in: Add testcase for expl.
53451         * math/auto-libm-test-out: Regenerate.
53452         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
53453         calculation of unsafe.
53454         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
53456 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53458         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
53459         * sysdeps/unix/sysv/linux/aarch64: Move directory from
53460         ports/sysdeps/unix/sysv/linux/aarch64.
53461         * README: Update listing for aarch64*-*-linux-gnu.
53463 2014-02-11  Will Newton  <will.newton@linaro.org>
53465         * manual/probes.texi (Mathematical Function Probes): Use
53466         "triggered" instead of "hit".
53468         * manual/probes.texi (Internal Probes): Add documentation
53469         of setjmp, longjmp and longjmp_target probes.
53471         * include/stap-probe.h: Add comment about probe argument
53472         format.
53474         * malloc/mtrace.c (attribute_hidden): Remove unused macro
53475         definition.  (tr_where, tr_freehook, tr_mallochook,
53476         tr_reallochook, tr_memalignhook): Use ANSI protoype.
53478 2014-02-11  David S. Miller  <davem@davemloft.net>
53480         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
53481         processing int_tests.
53483 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
53485         * sysdeps/mips: Move directory from ports/sysdeps/mips.
53486         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
53487         * sysdeps/unix/sysv/linux/mips: Move directory from
53488         ports/sysdeps/unix/sysv/linux/mips.
53489         * README: Update listing for mips-*-linux-gnu and
53490         mips64-*-linux-gnu.
53492 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
53494         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
53495         * sysdeps/unix/sysv/linux/m68k: Move directory from
53496         ports/sysdeps/unix/sysv/linux/m68k.
53497         * README: Update listing for m68k-*-linux-gnu.
53499 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
53501         * sysdeps/tile: Move directory from ports/sysdeps/tile.
53502         * sysdeps/unix/sysv/linux/generic: Move directory from
53503         ports/sysdeps/unix/sysv/linux/generic.
53504         * sysdeps/unix/sysv/linux/tile: Move directory from
53505         ports/sysdeps/unix/sysv/linux/tile.
53506         * README: Update listing for tile*-*-linux-gnu.
53508 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
53510         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
53511         __builtin_expect.
53512         * benchtests/bench-memmem.c (simple_memmem): Likewise.
53513         * catgets/open_catalog.c (__open_catalog): Likewise.
53514         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
53515         * debug/confstr_chk.c: Likewise.
53516         * debug/fread_chk.c (__fread_chk): Likewise.
53517         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
53518         * debug/getgroups_chk.c: Likewise.
53519         * debug/mbsnrtowcs_chk.c: Likewise.
53520         * debug/mbsrtowcs_chk.c: Likewise.
53521         * debug/mbstowcs_chk.c: Likewise.
53522         * debug/memcpy_chk.c: Likewise.
53523         * debug/memmove_chk.c: Likewise.
53524         * debug/mempcpy_chk.c: Likewise.
53525         * debug/memset_chk.c: Likewise.
53526         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53527         * debug/strcat_chk.c (__strcat_chk): Likewise.
53528         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
53529         * debug/strncat_chk.c (__strncat_chk): Likewise.
53530         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
53531         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
53532         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
53533         * debug/wcpncpy_chk.c: Likewise.
53534         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53535         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53536         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
53537         * debug/wcsncpy_chk.c: Likewise.
53538         * debug/wcsnrtombs_chk.c: Likewise.
53539         * debug/wcsrtombs_chk.c: Likewise.
53540         * debug/wcstombs_chk.c: Likewise.
53541         * debug/wmemcpy_chk.c: Likewise.
53542         * debug/wmemmove_chk.c: Likewise.
53543         * debug/wmempcpy_chk.c: Likewise.
53544         * debug/wmemset_chk.c: Likewise.
53545         * dirent/scandirat.c (SCANDIRAT): Likewise.
53546         * dlfcn/dladdr1.c (dladdr1): Likewise.
53547         * dlfcn/dladdr.c (dladdr): Likewise.
53548         * dlfcn/dlclose.c (dlclose_doit): Likewise.
53549         * dlfcn/dlerror.c (__dlerror): Likewise.
53550         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
53551         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53552         * dlfcn/dlopen.c (dlopen_doit): Likewise.
53553         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
53554         * dlfcn/dlsym.c (dlsym_doit): Likewise.
53555         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
53556         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
53557         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
53558         Likewise.
53559         * elf/dl-conflict.c: Likewise.
53560         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53561         * elf/dl-dst.h: Likewise.
53562         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53563         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53564         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53565         * elf/dl-init.c (call_init, _dl_init): Likewise.
53566         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53567         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53568         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53569         Likewise.
53570         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53571         Likewise.
53572         * elf/dl-minimal.c (__libc_memalign): Likewise.
53573         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53574         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53575         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53576         * elf/dl-sym.c (do_sym): Likewise.
53577         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53578         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53579         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53580         * elf/dl-writev.h (_dl_writev): Likewise.
53581         * elf/ldconfig.c (search_dir): Likewise.
53582         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53583         (dl_main): Likewise.
53584         * elf/setup-vdso.h (setup_vdso): Likewise.
53585         * grp/compat-initgroups.c (compat_call): Likewise.
53586         * grp/fgetgrent.c (fgetgrent): Likewise.
53587         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53588         * grp/putgrent.c (putgrent): Likewise.
53589         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53590         Likewise.
53591         * hurd/hurdinit.c: Likewise.
53592         * iconvdata/8bit-gap.c (struct): Likewise.
53593         * iconvdata/ansi_x3.110.c : Likewise.
53594         * iconvdata/big5.c : Likewise.
53595         * iconvdata/big5hkscs.c : Likewise.
53596         * iconvdata/cp1255.c: Likewise.
53597         * iconvdata/cp1258.c : Likewise.
53598         * iconvdata/cp932.c : Likewise.
53599         * iconvdata/euc-cn.c: Likewise.
53600         * iconvdata/euc-jisx0213.c : Likewise.
53601         * iconvdata/euc-jp.c: Likewise.
53602         * iconvdata/euc-jp-ms.c : Likewise.
53603         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53604         * iconvdata/gb18030.c : Likewise.
53605         * iconvdata/gbbig5.c (const): Likewise.
53606         * iconvdata/gbgbk.c: Likewise.
53607         * iconvdata/gbk.c : Likewise.
53608         * iconvdata/ibm1364.c : Likewise.
53609         * iconvdata/ibm930.c : Likewise.
53610         * iconvdata/ibm932.c: Likewise.
53611         * iconvdata/ibm933.c : Likewise.
53612         * iconvdata/ibm935.c : Likewise.
53613         * iconvdata/ibm937.c : Likewise.
53614         * iconvdata/ibm939.c : Likewise.
53615         * iconvdata/ibm943.c: Likewise.
53616         * iconvdata/iso_11548-1.c: Likewise.
53617         * iconvdata/iso-2022-cn.c : Likewise.
53618         * iconvdata/iso-2022-cn-ext.c : Likewise.
53619         * iconvdata/iso-2022-jp-3.c: Likewise.
53620         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
53621         * iconvdata/iso-2022-kr.c : Likewise.
53622         * iconvdata/iso646.c (gconv_end): Likewise.
53623         * iconvdata/iso_6937-2.c : Likewise.
53624         * iconvdata/iso_6937.c : Likewise.
53625         * iconvdata/iso8859-1.c: Likewise.
53626         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
53627         * iconvdata/shift_jisx0213.c : Likewise.
53628         * iconvdata/sjis.c : Likewise.
53629         * iconvdata/t.61.c : Likewise.
53630         * iconvdata/tcvn5712-1.c : Likewise.
53631         * iconvdata/tscii.c: Likewise.
53632         * iconvdata/uhc.c : Likewise.
53633         * iconvdata/unicode.c (gconv_end): Likewise.
53634         * iconvdata/utf-16.c (gconv_end): Likewise.
53635         * iconvdata/utf-32.c (gconv_end): Likewise.
53636         * iconvdata/utf-7.c (base64): Likewise.
53637         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
53638         * iconv/gconv_close.c (__gconv_close): Likewise.
53639         * iconv/gconv_open.c (__gconv_open): Likewise.
53640         * iconv/gconv_simple.c (internal_ucs4_loop_single)
53641         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
53642         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
53643         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
53644         (ucs4le_internal_loop_single): Likewise.
53645         * iconv/iconv.c (iconv): Likewise.
53646         * iconv/iconv_close.c: Likewise.
53647         * iconv/loop.c (SINGLE): Likewise.
53648         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
53649         * include/atomic.h: Likewise.
53650         * inet/inet6_option.c (option_alloc): Likewise.
53651         * intl/bindtextdom.c (set_binding_values): Likewise.
53652         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
53653         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
53654         * intl/localealias.c (read_alias_file): Likewise.
53655         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
53656         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
53657         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
53658         * libio/fmemopen.c (fmemopen): Likewise.
53659         * libio/iofgets.c (_IO_fgets): Likewise.
53660         * libio/iofgets_u.c (fgets_unlocked): Likewise.
53661         * libio/iofgetws.c (fgetws): Likewise.
53662         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
53663         * libio/iogetdelim.c (_IO_getdelim): Likewise.
53664         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
53665         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
53666         * locale/findlocale.c (_nl_find_locale): Likewise.
53667         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
53668         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
53669         Likewise.
53670         * locale/setlocale.c (setlocale): Likewise.
53671         * login/programs/pt_chown.c (main): Likewise.
53672         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
53673         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
53674         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
53675         (mmap, mmap64, mremap, munmap): Likewise.
53676         * math/e_exp2l.c: Likewise.
53677         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
53678         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
53679         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
53680         * math/s_catan.c (__catan): Likewise.
53681         * math/s_catanf.c (__catanf): Likewise.
53682         * math/s_catanh.c (__catanh): Likewise.
53683         * math/s_catanhf.c (__catanhf): Likewise.
53684         * math/s_catanhl.c (__catanhl): Likewise.
53685         * math/s_catanl.c (__catanl): Likewise.
53686         * math/s_ccosh.c (__ccosh): Likewise.
53687         * math/s_ccoshf.c (__ccoshf): Likewise.
53688         * math/s_ccoshl.c (__ccoshl): Likewise.
53689         * math/s_cexp.c (__cexp): Likewise.
53690         * math/s_cexpf.c (__cexpf): Likewise.
53691         * math/s_cexpl.c (__cexpl): Likewise.
53692         * math/s_clog10.c (__clog10): Likewise.
53693         * math/s_clog10f.c (__clog10f): Likewise.
53694         * math/s_clog10l.c (__clog10l): Likewise.
53695         * math/s_clog.c (__clog): Likewise.
53696         * math/s_clogf.c (__clogf): Likewise.
53697         * math/s_clogl.c (__clogl): Likewise.
53698         * math/s_csin.c (__csin): Likewise.
53699         * math/s_csinf.c (__csinf): Likewise.
53700         * math/s_csinh.c (__csinh): Likewise.
53701         * math/s_csinhf.c (__csinhf): Likewise.
53702         * math/s_csinhl.c (__csinhl): Likewise.
53703         * math/s_csinl.c (__csinl): Likewise.
53704         * math/s_csqrt.c (__csqrt): Likewise.
53705         * math/s_csqrtf.c (__csqrtf): Likewise.
53706         * math/s_csqrtl.c (__csqrtl): Likewise.
53707         * math/s_ctan.c (__ctan): Likewise.
53708         * math/s_ctanf.c (__ctanf): Likewise.
53709         * math/s_ctanh.c (__ctanh): Likewise.
53710         * math/s_ctanhf.c (__ctanhf): Likewise.
53711         * math/s_ctanhl.c (__ctanhl): Likewise.
53712         * math/s_ctanl.c (__ctanl): Likewise.
53713         * math/w_pow.c: Likewise.
53714         * math/w_powf.c: Likewise.
53715         * math/w_powl.c: Likewise.
53716         * math/w_scalb.c (sysv_scalb): Likewise.
53717         * math/w_scalbf.c (sysv_scalbf): Likewise.
53718         * math/w_scalbl.c (sysv_scalbl): Likewise.
53719         * misc/error.c (error_tail): Likewise.
53720         * misc/pselect.c (__pselect): Likewise.
53721         * nis/nis_callback.c (__nis_create_callback): Likewise.
53722         * nis/nis_call.c (__nisfind_server): Likewise.
53723         * nis/nis_creategroup.c (nis_creategroup): Likewise.
53724         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
53725         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
53726         * nis/nis_getservlist.c (nis_getservlist): Likewise.
53727         * nis/nis_lookup.c (nis_lookup): Likewise.
53728         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
53729         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
53730         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
53731         * nis/nis_xdr.c (xdr_endpoint): Likewise.
53732         * nis/nss_compat/compat-grp.c (getgrent_next_file)
53733         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
53734         * nis/nss_compat/compat-initgroups.c (add_group)
53735         (internal_getgrent_r): Likewise.
53736         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
53737         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
53738         * nis/nss_compat/compat-spwd.c (getspent_next_file)
53739         (internal_getspnam_r): Likewise.
53740         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
53741         (_nss_nis_getaliasbyname_r): Likewise.
53742         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
53743         (_nss_nis_getntohost_r): Likewise.
53744         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
53745         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
53746         (_nss_nis_getgrgid_r): Likewise.
53747         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
53748         (internal_nis_gethostent_r, internal_gethostbyname2_r)
53749         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
53750         (_nss_nis_gethostbyname4_r): Likewise.
53751         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
53752         (initgroups_netid): Likewise.
53753         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
53754         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
53755         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
53756         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
53757         (_nss_nis_getprotobynumber_r): Likewise.
53758         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
53759         (_nss_nis_getsecretkey): Likewise.
53760         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
53761         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
53762         (_nss_nis_getpwuid_r): Likewise.
53763         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
53764         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
53765         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
53766         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
53767         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
53768         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
53769         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
53770         Likewise.
53771         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
53772         (_nss_nisplus_getntohost_r): Likewise.
53773         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
53774         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
53775         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
53776         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
53777         Likewise.
53778         * nis/nss_nisplus/nisplus-initgroups.c
53779         (_nss_nisplus_initgroups_dyn): Likewise.
53780         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
53781         (_nss_nisplus_getnetbyaddr_r): Likewise.
53782         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
53783         (_nss_nisplus_getprotobynumber_r): Likewise.
53784         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
53785         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
53786         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
53787         Likewise.
53788         * nis/nss_nisplus/nisplus-service.c
53789         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
53790         (_nss_nisplus_getservbyport_r): Likewise.
53791         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
53792         (_nss_nisplus_getspnam_r): Likewise.
53793         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
53794         Likewise.
53795         * nscd/aicache.c (addhstaiX): Likewise.
53796         * nscd/cache.c (cache_search, prune_cache): Likewise.
53797         * nscd/connections.c (register_traced_file, send_ro_fd)
53798         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
53799         (main_loop_epoll): Likewise.
53800         * nscd/grpcache.c (addgrbyX): Likewise.
53801         * nscd/hstcache.c (addhstbyX): Likewise.
53802         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53803         * nscd/mem.c (gc, mempool_alloc): Likewise.
53804         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
53805         (addinnetgrX): Likewise.
53806         * nscd/nscd-client.h (__nscd_acquire_maplock)
53807         (__nscd_drop_map_ref): Likewise.
53808         * nscd/nscd_getai.c (__nscd_getai): Likewise.
53809         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
53810         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
53811         Likewise.
53812         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
53813         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53814         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
53815         (__nscd_get_map_ref): Likewise.
53816         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
53817         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
53818         Likewise.
53819         * nscd/pwdcache.c (addpwbyX): Likewise.
53820         * nscd/selinux.c (preserve_capabilities): Likewise.
53821         * nscd/servicescache.c (addservbyX): Likewise.
53822         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
53823         * posix/fnmatch.c (fnmatch): Likewise.
53824         * posix/getopt.c (_getopt_internal_r): Likewise.
53825         * posix/glob.c (glob, glob_in_dir): Likewise.
53826         * posix/wordexp.c (exec_comm_child): Likewise.
53827         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
53828         (getanswer_r, gaih_getanswer_slice): Likewise.
53829         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
53830         * resolv/res_init.c: Likewise.
53831         * resolv/res_mkquery.c (res_nmkquery): Likewise.
53832         * resolv/res_query.c (__libc_res_nquery): Likewise.
53833         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
53834         Likewise.
53835         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
53836         * stdio-common/perror.c (perror): Likewise.
53837         * stdio-common/printf_fp.c (___printf_fp): Likewise.
53838         * stdio-common/tmpnam.c (tmpnam): Likewise.
53839         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53840         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
53841         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
53842         Likewise.
53843         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
53844         * stdlib/putenv.c (putenv): Likewise.
53845         * stdlib/setenv.c (__add_to_environ): Likewise.
53846         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53847         * stdlib/strtol_l.c (INTERNAL): Likewise.
53848         * string/memmem.c (memmem): Likewise.
53849         * string/strerror.c (strerror): Likewise.
53850         * string/strnlen.c (__strnlen): Likewise.
53851         * string/test-memmem.c (simple_memmem): Likewise.
53852         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
53853         * sunrpc/pm_getport.c (__get_socket): Likewise.
53854         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
53855         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
53856         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
53857         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
53858         Likewise.
53859         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
53860         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
53861         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
53862         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
53863         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
53864         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
53865         Likewise.
53866         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
53867         Likewise.
53868         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
53869         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
53870         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53871         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
53872         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
53873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
53874         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53875         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
53876         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
53877         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
53878         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53879         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
53880         Likewise.
53881         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
53882         Likewise.
53883         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
53884         Likewise.
53885         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
53886         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53887         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
53888         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
53889         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
53890         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
53891         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53892         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
53893         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
53894         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
53895         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
53896         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53897         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53898         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
53899         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53900         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
53901         Likewise.
53902         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
53903         Likewise.
53904         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
53905         Likewise.
53906         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
53907         Likewise.
53908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53909         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53910         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
53911         Likewise.
53912         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
53913         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
53914         * sysdeps/posix/opendir.c (__opendirat): Likewise.
53915         * sysdeps/posix/sleep.c: Likewise.
53916         * sysdeps/posix/tempname.c: Likewise.
53917         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
53918         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53919         Likewise.
53920         * sysdeps/powerpc/powerpc32/dl-machine.h
53921         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
53922         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53924         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
53925         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
53926         Likewise.
53927         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
53928         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
53929         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53930         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
53931         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53932         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
53933         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
53934         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
53935         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53936         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
53937         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
53938         (elf_machine_lazy_rel): Likewise.
53939         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53940         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
53941         (elf_machine_lazy_rel): Likewise.
53942         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
53943         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
53944         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
53945         * sysdeps/unix/grantpt.c (grantpt): Likewise.
53946         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
53947         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
53948         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
53949         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53950         Likewise.
53951         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
53952         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
53953         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
53954         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
53955         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53956         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53957         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
53958         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
53959         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
53960         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53961         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53962         Likewise.
53963         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
53964         (__posix_fallocate64_l64): Likewise.
53965         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
53966         (posix_fallocate): Likewise.
53967         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
53968         Likewise.
53969         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53970         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
53971         (getifaddrs_internal): Likewise.
53972         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
53973         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
53974         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
53975         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
53976         * sysdeps/unix/sysv/linux/posix_fallocate64.c
53977         (__posix_fallocate64_l64): Likewise.
53978         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
53979         Likewise.
53980         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
53981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
53982         (__get_clockfreq): Likewise.
53983         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
53984         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
53985         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
53986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53988         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
53989         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
53990         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
53991         Likewise.
53992         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
53993         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
53994         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
53995         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
53996         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53997         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
53998         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
53999         Likewise.
54000         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54001         (posix_fallocate): Likewise.
54002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54003         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54004         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54005         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54006         (elf_machine_rela, elf_machine_rela_relative)
54007         (elf_machine_lazy_rel): Likewise.
54008         * time/asctime.c (asctime_internal): Likewise.
54009         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54010         * time/tzset.c (__tzset_parse_tz): Likewise.
54011         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54012         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54013         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54014         * wcsmbs/wcsmbsload.h: Likewise.
54016         [BZ #15894]
54017         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54019         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54020         (arena_get2): Remove THREAD_STATS conditionals.
54021         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54022         (__malloc_stats, int): Likewise.
54024 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54026         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54027         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54029         * manual/setjmp.texi: Fix typos/grammar errors.
54031         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54032         Only return early when n is <= 0.  Delete unused return statement.
54034         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54035         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54036         * debug/tst-longjmp_chk3.c: New file.
54038         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54039         (test_main): Replace code with set_fortify_handler call.
54040         * debug/test-strcpy_chk.c: Likewise.
54041         * debug/tst-chk1.c: Likewise.
54042         * debug/tst-longjmp_chk.c: Likewise.
54043         * test-skeleton.c: Include fcntl.h & paths.h
54044         (set_fortify_handler): Define.
54046         * debug/tst-longjmp_chk.c: Add header comment and include
54047         ../test-skeleton.c.
54048         (do_test): Mark static.
54049         (TEST_FUNCTION): Define.
54051         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54052         (IP_PMTUDISC_INTERFACE): Likewise.
54053         (IP_MULTICAST_IF): Likewise.
54054         (IP_MULTICAST_TTL): Likewise.
54055         (IP_MULTICAST_LOOP): Likewise.
54056         (IP_ADD_MEMBERSHIP): Likewise.
54057         (IP_DROP_MEMBERSHIP): Likewise.
54058         (IP_UNBLOCK_SOURCE): Likewise.
54059         (IP_BLOCK_SOURCE): Likewise.
54060         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54061         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54062         (IP_MSFILTER): Likewise.
54063         (MCAST_JOIN_GROUP): Likewise.
54064         (MCAST_BLOCK_SOURCE): Likewise.
54065         (MCAST_UNBLOCK_SOURCE): Likewise.
54066         (MCAST_LEAVE_GROUP): Likewise.
54067         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54068         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54069         (MCAST_MSFILTER): Likewise.
54070         (IP_MULTICAST_ALL): Likewise.
54071         (IP_UNICAST_IF): Likewise.
54073         * timezone/Makefile: Delete $(have-ksh) check.
54074         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54075         * timezone/tzselect.ksh: Add +x mode bits.
54077         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54078         (ANON_INODE_FS_MAGIC): Likewise.
54079         (BDEVFS_MAGIC): Likewise.
54080         (BINFMTFS_MAGIC): Likewise.
54081         (BTRFS_TEST_MAGIC): Likewise.
54082         (CRAMFS_MAGIC_WEND): Likewise.
54083         (DEBUGFS_MAGIC): Likewise.
54084         (ECRYPTFS_SUPER_MAGIC): Likewise.
54085         (EXT3_SUPER_MAGIC): Likewise.
54086         (EXT4_SUPER_MAGIC): Likewise.
54087         (FUTEXFS_SUPER_MAGIC): Likewise.
54088         (HOSTFS_SUPER_MAGIC): Likewise.
54089         (HUGETLBFS_MAGIC): Likewise.
54090         (MINIX3_SUPER_MAGIC): Likewise.
54091         (MTD_INODE_FS_MAGIC): Likewise.
54092         (NILFS_SUPER_MAGIC): Likewise.
54093         (OPENPROM_SUPER_MAGIC): Likewise.
54094         (PIPEFS_MAGIC): Likewise.
54095         (PSTOREFS_MAGIC): Likewise.
54096         (QNX6_SUPER_MAGIC): Likewise.
54097         (RAMFS_MAGIC): Likewise.
54098         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54099         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54100         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54101         (SECURITYFS_MAGIC): Likewise.
54102         (SELINUX_MAGIC): Likewise.
54103         (SMACK_MAGIC): Likewise.
54104         (SOCKFS_MAGIC): Likewise.
54105         (SQUASHFS_MAGIC): Likewise.
54106         (STACK_END_MAGIC): Likewise.
54107         (TMPFS_MAGIC): Likewise.
54108         (USBDEVICE_SUPER_MAGIC): Likewise.
54109         (V9FS_MAGIC): Likewise.
54110         (XENFS_SUPER_MAGIC): Likewise.
54111         (CRAMFS_MAGIC): Fix typo in comment.
54112         (EXT2_SUPER_MAGIC): Update comment.
54113         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54115 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54117         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54118         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54119         * sysdeps/unix/sysv/linux/arm: Move directory from
54120         ports/sysdeps/unix/sysv/linux/arm.
54121         * README: Update listing for arm-*-linux-gnueabi.
54123         * README: Remove mention of am33.
54125 2014-02-07  Roland McGrath  <roland@hack.frob.com>
54127         * bits/sigset.h (__sigemptyset): Use a statement expression rather
54128         than the comma operator, to avoid "rhs of comma has no effect"
54129         compiler warnings.
54130         (__sigfillset, __sigandset, __sigorset): Likewise.
54131         * include/signal.h (__sigemptyset): Likewise.
54132         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54134 2014-02-07  Allan McRae  <allan@archlinux.org>
54136         * version.h (RELEASE): Set to "development".
54137         (VERSION): Set to "2.19.90"
54138         * NEWS: Add 2.20 section.
54140 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
54142         [BZ #16529]
54143         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54145 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54147         * manual/contrib.texi: Update entry for Carlos O'Donell,
54148         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54150 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
54152         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54154         * sysdeps/unix/sysv/linux/kernel-features.h
54155         [__LINUX_KERNEL_VERSION >= 0x020621]
54156         (__ASSUME_PROC_PID_TASK_COMM): Define.
54158 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54160         [BZ #16398]
54161         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54162         conversion when destination buffer does not have enough space.
54163         * libio/tst-ftell-partial-wide.c: New test case.
54164         * libio/Makefile (tests): Add tst-ftell-partial-wide.
54166         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54167         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
54168         Leonard and Allan McRae.
54170 2014-02-04  David S. Miller  <davem@davemloft.net>
54172         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54173         32-bit.
54175 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54178         New file
54179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54180         New file
54181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54182         New file.
54183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54184         New file.
54185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54186         New file.
54187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54188         New file.
54189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54190         New file.
54191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54192         New file.
54193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54194         New file.
54195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54196         New file.
54197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54198         New file.
54199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54200         New file.
54201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54202         New file.
54204 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54206         * nptl/shlib-versions: Change powerpc*le start to 2.17.
54207         * shlib-versions: Likewise.
54209 2014-02-04  Roland McGrath  <roland@hack.frob.com>
54210             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54212         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54213         (abilist-pattern): New variable, set to %-le.abilist.
54215         * Makerules (abilist-pattern): New variable.
54216         (vpath): Use $(abilist-pattern) in place of %.abilist.
54217         (check-abi-% pattern rule): Likewise.
54218         (check-abi, update-abi): Likewise.
54220 2014-02-04  Eric Wong  <normalperson@yhbt.net>
54222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54224 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
54226         * manual/startup.texi: Add next, previous, and top entries for
54227         the `Program Arguments' and `Environment Variables' nodes.
54229 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
54231         * manual/macros.texi: Add comments before MTASC-safety macros.
54233         * manual/users.texi: Document MTASC-safety properties.
54235         * manual/threads.texi (pthread_key_create, pthread_key_delete)
54236         (pthread_getspecific, pthread_setspecific): Format with
54237         @deftypefun, and add @safety note.
54238         * manual/signal.texi: Move comments that analyze the above
54239         functions to their home place.
54241 2014-02-03  Allan McRae  <allan@archlinux.org>
54243         * po/sl.po: Update Slovenian translation from translation project.
54245 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
54247         * manual/time.texi (timegm): Add missing blank after @c.
54248         Reported by Joseph Myers <joseph@codesourcery.com>.
54250 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
54252         * manual/check-safety.sh: New.
54253         * manual/Makefile ($(objpfx)stamp-summary): Run it.
54255         * manual/terminal.texi: Document MTASC-safety properties.
54257         * manual/filesys.texi: Document MTASC-safety properties.
54259         * manual/errno.texi: Document MTASC-safety properties.
54261         * manual/intro.texi: Document safety identifiers and
54262         conditionals.
54264         * manual/string.texi (wcstok): Fix prototype.
54265         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
54267         * manual/time.texi: Document MTASC-safety properties.
54269         * manual/string.texi: Document MTASC-safety properties.
54271         * manual/threads.texi: Document MTASC-safety properties.
54273         * manual/stdio.texi: Document MTASC-safety properties.
54275         * manual/syslog.texi: Document MTASC-safety properties.
54277         * manual/sysinfo.texi: Document MTASC-safety properties.
54279         * manual/startup.texi: Document MTASC-safety properties.
54281         * manual/socket.texi: Document MTASC-safety properties.
54283         * manual/signal.texi: Document MTASC-safety properties.
54285 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
54287         * manual/setjmp.texi: Document MTASC-safety properties.
54289         * manual/search.texi: Document MTASC-safety properties.
54291         * manual/resource.texi: Document MTASC-safety properties.
54293         * manual/process.texi: Document MTASC-safety properties.
54295         * manual/platform.texi: Document MTASC-safety properties.
54297         * manual/pipe.texi: Document MTASC-safety properties.
54299         * manual/pattern.texi: Document MTASC-safety properties.
54301         * manual/message.texi: Document MTASC-safety properties.
54303         [BZ #12751]
54304         * manual/memory.texi: Document MTASC-safety properties.
54306         * manual/math.texi: Document MTASC-safety properties.
54308         * manual/locale.texi: Document MTASC-safety properties.
54310         * manual/llio.texi: Document MTASC-safety properties.
54312         * manual/libdl.texi: New.
54314         * manual/lang.texi: Document MTASC-safety properties.
54316         * manual/job.texi: Document MTASC-safety properties.
54318         * manual/getopt.texi: Document MTASC-safety properties.
54320         * manual/ctype.texi: Document MTASC-safety properties.
54322 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
54324         [BZ #16046]
54325         * csu/libc-tls.c (static_map): Remove variable.
54326         (__libc_setup_tls): Use main executable's link map for TLS data.
54327         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
54328         casing for LM_ID_BASE and GL(dl_nns).
54329         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
54330         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
54331         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
54332         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
54333         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
54334         member.
54335         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
54336         l_phnum members.
54338 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
54340         * manual/debug.texi: Document MTASC-safety properties.
54342 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
54344         [BZ #16510]
54345         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
54346         of __x86_64__ when disabling x87 inline functions.
54348 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
54350         * manual/charset.texi: Document MTASC-safety properties.
54352         * manual/crypt.texi: Document MTASC-safety properties.
54354         * manual/conf.texi: Document MTASC-safety properties.
54356         * manual/arith.texi: Document MTASC-safety properties.
54358         * manual/argp.texi: Document MTASC-safety properties.
54360         * manual/macros.texi: Introduce macros to document multi
54361         thread, asynchronous signal and asynchronous cancellation
54362         safety properties.
54363         * manual/intro.texi: Introduce the properties themselves.
54365 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54367         * sysdeps/sh/sh4/Makefile: New file.
54369 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
54371         * math/gen-libm-test.pl ($srcdir): New variable.
54372         ($auto_input): Use it.
54374 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54376         [BZ #16506]
54377         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
54378         access beyond array bounds when parsing netgroups file.
54380         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
54381         the old buffer before realloc.
54383 2014-01-27  Allan McRae  <allan@archlinux.org>
54385         * po/fr.po: Update French translation from translation project.
54387 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54389         * sysdeps/sh/libm-test-ulps: Regenerate.
54391 2014-01-24  David S. Miller  <davem@davemloft.net>
54393         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
54395 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54397         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
54398         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
54400 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54402         [BZ #16474]
54403         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
54404         string pointers after reallocation.
54406 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54408         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
54409         __SH4A__ instead of __SH_FPU_ANY__.
54411 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54413         * sysdeps/sh/fpu_control.h: New file.
54414         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
54415         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
54416         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
54417         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
54418         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
54419         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
54420         * sysdeps/sh/sys/ucontext.h: Remove.
54421         * sysdeps/sh/sys: Remove directory.
54423 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54425         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
54426         s390/sys/ucontext.h.
54427         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
54428         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
54430 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
54432         [BZ #15605]
54433         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
54435 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54437         [BZ #16431]
54438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54439         Adjust the vDSO correctly for internal calls.
54440         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
54442 2014-01-20  Allan McRae  <allan@archlinux.org>
54444         * po/ca.po: Update Catalan translation from translation project.
54446 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
54448         * sysdeps/s390/sotruss-lib.c: New file.
54450 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54452         [BZ #16430]
54453         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
54454         (__GI___gettimeofday): Alias for a different internal symbol to avoid
54455         local calls issues by not having a PLT stub required for IFUNC calls.
54456         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
54458 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
54460         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
54461         * math/test-fpucw-static.c: Likewise.
54463 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54465         [BZ #16453]
54466         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
54468 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54470         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
54471         implementation for powerpc.
54473 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
54475         [BZ #14782]
54476         * sysdeps/posix/system.c (__libc_system): Do not enable
54477         asynchronous cancellation.
54479 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54481         [BZ #16427]
54482         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
54483         handling only for numbers special also in the IEEE case.
54485 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54487         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54489 2014-01-11  Allan McRae  <allan@archlinux.org>
54491         * po/bg.po: Update Bulgarian translation from translation project.
54493         * po/de.po: Update German translation from translation project.
54495 2014-01-10  Roland McGrath  <roland@hack.frob.com>
54497         * sysdeps/generic/gcc-compat.h: New file.
54499 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54501         * benchtests/asin-inputs: Correct slow inputs.
54502         * benchtests/acos-inputs: Likewise.
54504 2014-01-10  Allan McRae  <allan@archlinux.org>
54506         * po:sv.po: Update Swedish translation from translation project.
54508         * po/vi.po: Update Vietnamese translation from translation project.
54510         * po/eo.po: Update Esperanto translation from translation project.
54512         * po/cs.po: Update Czech translation from translation project.
54514         * po/nl.po: Update Dutch translation from translation project.
54516         * po/pl.po: Update Polish translation from translation project.
54518         * po/ru.po: Update Russian translation from translation project.
54520         * po/uk.po: Update Ukrainian translation from translation project.
54522 2014-01-08  Brooks Moses  <bmoses@google.com>
54524         * elf/dl-load.c: Fix comment typo.
54526 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
54528         * po/header.pot: Rename to...
54529         * po/pot.header: ... this.
54530         * po/Makefile: Use pot.header.
54532 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
54533             Maxim Kuvyrkov  <maxim@kugelworks.com>
54535         [BZ #16394]
54536         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
54537         SRC and DEST against LEN.
54539 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54541         [BZ #16414]
54542         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
54543         implementation.
54544         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
54546 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54550 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
54552         [BZ #16408]
54553         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
54554         for large positive arguments.
54556 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
54558         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54560         * math/auto-libm-test-in: Mark various tests with
54561         xfail-rounding:ldbl-128ibm.
54562         * math/auto-libm-test-out: Regenerated.
54564         [BZ #16407]
54565         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54566         Increase overflow threshold.
54568 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54570         [BZ #14286]
54571         * stdio-common/vfprintf.c: Check for integer overflow.
54573 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54575         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54576         the first argument and return value of __tls_get_addr_internal.
54578 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54580         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54581         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54583 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54585         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54586         * sysdeps/s390/rtld-global-offsets.sym: New file.
54587         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54588         GLIBC_2.19 symbol.
54589         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54590         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54591         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54592         ... this.
54593         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54594         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54595         ... this.
54596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54597         Regenerate.
54598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54599         Regenerate.
54600         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54601         halfs of GPRs for high_gprs contexts.
54602         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54603         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54604         field.
54605         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54606         uc_flags field.
54607         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54608         64 bit versions:
54609         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54610         for high GPRs (uc_high_gprs) and for future extensions
54611         (__reserved).
54612         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54613         for future extensions (__reserved).
54614         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54615         64 bit versions:
54616         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54617         SC_HIGHGPRS offset definition.
54618         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54619         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
54621         * Versions.def: Add GLIBC_2.19 for libpthread.
54622         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
54623         siglongjmp for libpthread with GLIBC_2.19 symver.
54624         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
54625         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
54626         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
54627         * sysdeps/s390/__longjmp.c: New file.
54628         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
54629         * sysdeps/s390/longjmp.c: New file.
54630         * sysdeps/s390/setjmp.S: New file.
54631         * sysdeps/s390/sigjmp.S: New file.
54632         * sysdeps/s390/v1-longjmp.c: New file.
54633         * sysdeps/s390/v1-setjmp.h: New file.
54634         * sysdeps/s390/v1-sigjmp.c: New file.
54635         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
54636         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
54637         GLIBC_2.19 version.
54638         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
54639         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
54640         versioned symbols for ____longjmp_chk.
54641         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
54642         Likewise.
54643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54644         Regenerate.
54645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54646         Regenerate.
54647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54648         Regenerate.
54649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54650         Regenerate.
54651         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
54652         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
54653         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
54654         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
54655         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
54656         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
54657         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
54658         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
54659         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
54660         * sysdeps/s390/rtld-__longjmp.c: New file.
54661         * sysdeps/s390/rtld-setjmp.S: New file.
54663 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
54665         [BZ #16400]
54666         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54667         Return -__logl (x) for small positive arguments without evaluating
54668         a polynomial.
54670 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
54672         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
54673         Rename to ...
54674         (__ptrace_peeksiginfo_args): ... this.
54675         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54676         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54677         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54679 2014-01-06  Allan McRae  <allan@archlinux.org>
54681         * inet/netinet/in.h: Fix typo in comment.
54683 2014-01-05  Andreas Jaeger  <aj@suse.de>
54685         * sysdeps/i386/fpu/libm-test-ulps: Update.
54687 2014-01-05  Allan McRae  <allan@archlinux.org>
54689         * po/libc.pot: Regenerated.
54691         * malloc/memusagestat.c: Fix gettext call formatting.
54693 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
54695         * nscd/nscd.c: Improve usage() output.
54697 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
54699         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
54700         * sysdeps/unix/sysv/linux/configure: Regenerated.
54701         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
54702         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
54704 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54706         [BZ #16390]
54707         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54708         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
54710 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54712         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
54713         extra tokens at end of #undef directive.
54714         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
54715         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
54716         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
54718 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54720         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54722         * math/auto-libm-test-in: Mark various tests with
54723         xfail-rounding:ldbl-128ibm.
54724         * math/auto-libm-test-out: Regenerated.
54726 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
54728         [BZ #16386]
54729         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
54730         numbers with subnormal high part when calculating exponent.
54732         [BZ #16385]
54733         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
54734         fabs.
54736         [BZ #16384]
54737         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
54738         M_LN2l.
54739         (__ieee754_acoshl): Use __log1pl not __log1p.
54741 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
54743         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
54744         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
54745         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
54746         (grow_heap, heap_trim, _int_new_arena, get_free_list)
54747         (reused_arena, arena_get2): Convert to GNU style.
54748         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
54749         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
54750         (memalign_check, __malloc_set_state): Likewise.
54751         * malloc/mallocbug.c (main): Likewise.
54752         * malloc/malloc.c (__malloc_assert, malloc_init_state)
54753         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
54754         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
54755         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
54756         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
54757         (__posix_memalign, malloc_info): Likewise.
54758         * malloc/malloc.h: Likewise.
54759         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
54760         (mallochook, memalignhook, reallochook, mabort): Likewise.
54761         * malloc/mcheck.h: Likewise.
54762         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
54763         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
54764         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
54765         * malloc/morecore.c (__default_morecore): Likewise.
54766         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
54767         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
54768         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
54769         (print_and_abort): Likewise.
54770         * malloc/obstack.h: Likewise.
54771         * malloc/set-freeres.c (__libc_freeres): Likewise.
54772         * malloc/tst-mallocstate.c (main): Likewise.
54773         * malloc/tst-mtrace.c (main): Likewise.
54774         * malloc/tst-realloc.c (do_test): Likewise.
54776 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54778         [BZ #16366]
54779         * nscd/netgroupcache.c (do_notfound): New function.
54780         (addgetnetgrentX): Use it.
54782         [BZ # 16365]
54783         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
54784         NSS_STATUS_NOTFOUND.
54786 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
54788         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54791 2014-01-01  Allan McRae  <allan@archlinux.org>
54793         * scripts/update-copyrights: Update configure input file suffix.
54795         * NEWS: Update copyright year.
54796         * catgets/gencat.c: Likewise.
54797         * csu/version.c: Likewise.
54798         * debug/catchsegv.sh: Likewise.
54799         * debug/pcprofiledump.c: Likewise.
54800         * debug/xtrace.sh: Likewise.
54801         * elf/ldconfig.c: Likewise.
54802         * elf/ldd.bash.in: Likewise.
54803         * elf/pldd.c: Likewise.
54804         * elf/sotruss.ksh: Likewise.
54805         * elf/sprof.c: Likewise.
54806         * iconv/iconv_prog.c: Likewise.
54807         * iconv/iconvconfig.c: Likewise.
54808         * locale/programs/locale.c: Likewise.
54809         * locale/programs/localedef.c: Likewise.
54810         * login/programs/pt_chown.c: Likewise.
54811         * malloc/memusage.sh: Likewise.
54812         * malloc/memusagestat.c: Likewise.
54813         * malloc/mtrace.pl: Likewise.
54814         * manual/libc.texinfo: Likewise.
54815         * nscd/nscd.c: Likewise.
54816         * nss/getent.c: Likewise.
54817         * nss/makedb.c: Likewise.
54818         * posix/getconf.c: Likewise.
54819         * scripts/test-installation.pl: Likewise.
54821         * All files with FSF copyright notices: Update copyright dates
54822         using scripts/update-copyrights.
54823         * intl/plural.c: Regenerated.
54824         * locale/programs/charmap-kw.h: Likewise.
54825         * locale/programs/locfile-kw.h: Likewise.
54827 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
54829         * sysdeps/unix/sysv/linux/configure: Regenerated.
54830         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
54831         the linux/fanotify.h header.
54832         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
54833         HAVE_LINUX_FANOTIFY_H is defined.
54835 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54837         * benchtests/cos-inputs: New inputs.
54838         * benchtests/sin-inputs: Likewise.
54840         * benchtests/atan-inputs: New inputs. Fix name of multiple
54841         precision fallback inputs.
54843         * benchtests/atanh-inputs: New inputs.
54844         * benchtests/tanh-inputs: Likewise.
54846         * benchtests/acosh-inputs: New inputs.
54847         * benchtests/asinh-inputs: Likewise.
54849         * benchtests/cosh-inputs: New inputs.
54850         * benchtests/sinh-inputs: Likewise.
54852         * benchtests/acos-inputs: Add more inputs.
54853         * benchtests/asin-inputs: Likewise.
54855 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
54857         [BZ #16375]
54858         * manual/arith.texi: Fix spelling.
54859         * manual/charset.texi: Likewise.
54860         * manual/errno.texi: Likewise.
54861         * manual/filesys.texi: Likewise.
54862         * manual/lang.texi: Likewise.
54863         * manual/llio.texi: Likewise.
54864         * manual/locale.texi: Likewise.
54865         * manual/message.texi: Likewise.
54866         * manual/resource.texi: Likewise.
54867         * manual/search.texi: Likewise.
54868         * manual/setjmp.texi: Likewise.
54869         * manual/stdio.texi: Likewise.
54870         * manual/string.texi: Likewise.
54871         * manual/sysinfo.texi: Likewise.
54872         * manual/time.texi: Likewise.
54874 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
54876         * po/sl.po: New file.
54878 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
54880         * .gitignore: Add core/.gdbinit/.gdb_history.
54882 2013-12-27  Allan McRae  <allan@archlinux.org>
54884         [BZ #16369]
54885         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
54886         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
54888 2013-12-24  Brooks Moses  <bmoses@google.com>
54890         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
54891         all compilers that claim C++98 compliance, not just GCC.
54892         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
54893         Likewise.
54895 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54897         * NEWS: Restore accidentally deleted bug-fix entries.
54899 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54900             Ondřej Bílka  <neleai@seznam.cz>
54902         [BZ #15073]
54903         * malloc/malloc.c (_int_free): Perform sanity check only if we
54904         have_lock.
54906 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
54908         [BZ #12986]
54909         * manual/stdio.texi (String Input Conversions): Clarify that character
54910         classes are not supported.
54912 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54916 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
54918         [BZ #16337]
54919         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54920         Calculate results for small negative arguments directly rather
54921         than using reflection formula with special underflow handling.
54923         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
54924         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
54925         sysdeps/unix/bsd/bsd4.4/syscalls.list.
54926         (fchflags): Likewise.
54927         (revoke): Likewise.
54928         (setlogin): Likewise.
54929         (sigaltstack): Likewise.
54930         (wait4): Likewise.
54931         (sigblock): Remove.
54932         (sigsetmask): Likewise.
54933         (wait3): Likewise.
54934         (waitpid): Likewise.
54935         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
54936         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
54937         file.
54938         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
54939         * sysdeps/unix/bsd/Makefile: ... here.
54940         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
54941         * sysdeps/unix/bsd/Versions: ... here.
54942         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
54943         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
54944         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
54945         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
54946         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
54947         * sysdeps/unix/bsd/sigblock.c: ... here.
54948         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
54949         * sysdeps/unix/bsd/sigsetmask.c: ... here.
54950         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
54951         * sysdeps/unix/bsd/sigvec.c: ... here.
54952         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
54953         * sysdeps/unix/bsd/tcdrain.c: ... here.
54954         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
54955         * sysdeps/unix/bsd/tcgetattr.c: ... here.
54956         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
54957         * sysdeps/unix/bsd/tcsetattr.c: ... here.
54958         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
54959         * sysdeps/unix/bsd/wait.c: ... here.
54960         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
54961         * sysdeps/unix/bsd/wait3.c: ... here.
54962         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
54963         * sysdeps/unix/bsd/waitpid.c: ... here.
54965 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
54967         [BZ #16356]
54968         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
54969         round-to-nearest for [!USE_AS_EXPM1L].
54970         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
54971         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
54972         more tests of exp and exp10.  Expect some exp10 tests to miss
54973         exceptions or fail in directed rounding modes.
54974         * math/auto-libm-test-out: Regenerated.
54975         * math/libm-test.inc (exp10_tonearest_test_data): New array.
54976         (exp10_test_tonearest): New function.
54977         (exp10_towardzero_test_data): New array.
54978         (exp10_test_towardzero): New function.
54979         (exp10_downward_test_data): New array.
54980         (exp10_test_downward): New function.
54981         (exp10_upward_test_data): New array.
54982         (exp10_test_upward): New function.
54983         (main): Call the new functions.
54984         * sysdeps/i386/fpu/libm-test-ulps: Update.
54985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54987 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
54989         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
54990         asinh, atan, atan2, atanh, cbrt, cos and cosh.
54991         * math/auto-libm-test-out: Regenerated.
54992         * math/libm-test.inc (acosh_test_data): Add more tests.
54993         (atanh_test_data): Likewise.
54994         (ceil_test_data): Likewise.
54995         (copysign_test_data): Likewise.
54996         * sysdeps/i386/fpu/libm-test-ulps: Update.
54997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54999         * timezone/checktab.awk: Update from tzcode 2013i.
55000         * timezone/private.h: Likewise.
55001         * timezone/scheck.c: Likewise.
55002         * timezone/tzfile.h: Likewise.
55003         * timezone/tzselect.ksh: Likewise.
55004         * timezone/zdump.c: Likewise.
55005         * timezone/zic.c: Likewise.
55007         * math/auto-libm-test-in: Add tests of cpow.
55008         * math/auto-libm-test-out: Regenerated.
55009         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55010         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55011         mpc_cc_c.
55012         (func_calc_desc): Add mpc_cc_c union field.
55013         (test_functions): Add cpow.
55014         (special_fill_2pi): New function.
55015         (special_real_inputs): Add 2pi.
55016         (calc_generic_results): Handle mpc_cc_c.
55017         * sysdeps/i386/fpu/libm-test-ulps: Update.
55018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55020         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55021         csqrt, ctan and ctanh.
55022         * math/auto-libm-test-out: Regenerated.
55023         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55024         (TEST_COND_x86): Likewise.
55025         (ccos_test_data): Use AUTO_TESTS_c_c.
55026         (ccosh_test_data): Likewise.
55027         (cexp_test_data): Likewise.
55028         (clog_test_data): Likewise.
55029         (csqrt_test_data): Likewise.
55030         (ctan_test_data): Likewise.
55031         (ctan_tonearest_test_data): Likewise.
55032         (ctan_towardzero_test_data): Likewise.
55033         (ctan_downward_test_data): Likewise.
55034         (ctan_upward_test_data): Likewise.
55035         (ctanh_test_data): Likewise.
55036         (ctanh_tonearest_test_data): Likewise.
55037         (ctanh_towardzero_test_data): Likewise.
55038         (ctanh_downward_test_data): Likewise.
55039         (ctanh_upward_test_data): Likewise.
55040         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55041         mpc_c_c.
55042         (func_calc_desc): Add mpc_c_c union field.
55043         (FUNC_mpc_c_c): New macro.
55044         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55045         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55046         ctanh.
55047         (special_fill_min_subnorm_p120): New function.
55048         (special_real_inputs): Add min_subnorm_p120.
55049         (calc_generic_results): Handle mpc_c_c.
55050         * sysdeps/i386/fpu/libm-test-ulps: Update.
55051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55053 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55055         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55056         (do_sin_slow): New functions.
55057         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55058         (cslow2, csloww1, csloww2): Use the new functions.
55060         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55061         Use M to change sign of result instead of X.  Assume X is
55062         positive.
55063         (csloww1): Likewise.
55064         (__sin): Adjust.
55065         (__cos): Adjust.
55067         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55068         arguments A and DA.
55069         (__sin): Adjust.
55070         (__cos): Likewise.
55072         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55073         (__cos): Likewise.
55074         (sloww1): Don't adjust sign of DX.
55075         (csloww1): Likewise.
55076         (sloww2): Use X directly and don't adjust sign of DX.
55077         (csloww2): Likewise.
55079 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55081         * math/auto-libm-test-in: Add tests of cabs and carg.
55082         * math/auto-libm-test-out: Regenerated.
55083         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55084         (carg_test_data): Likewise.
55085         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55086         mpc_c_f.
55087         (func_calc_desc): Add mpc_c_f union field.
55088         (test_functions): Add cabs and carg.
55089         (calc_generic_results): Handle mpc_c_f.
55091         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55092         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55093         as a macro and a compat symbol.
55094         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55095         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55096         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55097         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55098         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55099         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55100         not use .hidden.
55101         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55102         Likewise.
55103         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55104         Likewise.
55105         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55106         Likewise.
55107         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55108         Likewise.
55109         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55110         Likewise.
55111         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55112         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55113         from GLIBC_2.3.2.
55115 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55119 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55121         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55122         trailing whitespace removed.
55123         * scripts/config.guess: Update to version 2013-11-29.
55124         * scripts/config.sub: Update to version 2013-10-01.
55126         * math/auto-libm-test-in: Add tests of sincos.
55127         * math/auto-libm-test-out: Regenerated.
55128         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55129         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55130         mpfr_f_11.
55131         (func_calc_desc): Add mpfr_f_11 union field.
55132         (test_functions): Add sincos.
55133         (calc_generic_results): Handle mpfr_f_11.
55134         * sysdeps/i386/fpu/libm-test-ulps: Update.
55135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55137 2013-12-19  Andreas Schwab  <schwab@suse.de>
55139         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55140         CALL_MCOUNT.
55141         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55142         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55143         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55145 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55147         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55148         * sysdeps/i386/fpu/libm-test-ulps: Update.
55149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55151         [BZ #16293]
55152         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55153         round-to-nearest mode when using frndint.
55154         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55155         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55156         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55157         Likewise.
55158         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
55159         sinh test to fail.
55160         * math/auto-libm-test-out: Regenerated.
55161         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55162         (TEST_COND_x86): Likewise.
55163         (expm1_tonearest_test_data): New array.
55164         (expm1_test_tonearest): New function.
55165         (expm1_towardzero_test_data): New array.
55166         (expm1_test_towardzero): New function.
55167         (expm1_downward_test_data): New array.
55168         (expm1_test_downward): New function.
55169         (expm1_upward_test_data): New array.
55170         (expm1_test_upward): New function.
55171         (main): Run the new test functions.
55172         * sysdeps/i386/fpu/libm-test-ulps: Update.
55173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55175         * include/features.h: Update comment documenting feature test
55176         macros.  Mention _DEFAULT_SOURCE in comment.
55177         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55178         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55179         _BSD_SOURCE and _SVID_SOURCE.
55180         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55181         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55182         !_SVID_SOURCE]: Likewise.
55183         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55184         (__USE_POSIX_IMPLICITLY): Define.
55185         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55186         (_POSIX_SOURCE): Undefine and redefine.
55187         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55188         (_POSIX_C_SOURCE): Likewise.
55189         * manual/creature.texi (_DEFAULT_SOURCE): Document.
55190         (Feature Test Macros): Update documentation of default features.
55192 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55194         * benchtests/Makefile: Add bench-strtok.
55195         * benchtests/bench-strtok.c: New file: strtok benchtest.
55197 2013-12-19  Allan McRae  <allan@archlinux.org>
55199         * manual/install.texi: Suppress menu for plain text output.
55200         * INSTALL: Regenerated.
55202 2013-12-18  Brooks Moses  <bmoses@google.com>
55204         [BZ #15846]
55205         * misc/getauxval.c: Include errno.h.
55206         (__getauxval): Set errno to ENOENT if the requested type is not
55207         found.
55208         * misc/sys/auxv.h (getauxval): Document that it may set errno;
55209         don't declare with __attribute_const__.
55210         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55211         * manual/startup.texi: Document that getauxval sets errno.
55213 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55215         * math/auto-libm-test-in: Add tests of jn and yn.
55216         * math/auto-libm-test-out: Regenerated.
55217         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55218         (yn_test_data): Likewise.
55219         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55220         mpfr_if_f.
55221         (func_calc_desc): Add mpfr_if_f union field.
55222         (FUNC_mpfr_if_f): New macro.
55223         (test_functions): Add jn and yn.
55224         (calc_generic_results): Assert type of second input for
55225         mpfr_ff_f.  Handle mpfr_if_f.
55226         (output_for_one_input_case): Disable all checking for arguments
55227         fitting floating-point types in case of an integer argument.
55228         * sysdeps/i386/fpu/libm-test-ulps: Update.
55229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55232         Don't expect fegetround reference in libm.so.
55234 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55236         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
55237         $(config-cflags-nofma).
55239 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55241         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
55242         * math/auto-libm-test-out: Regenerated.
55244         [BZ #16338]
55245         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
55246         to determine exponent and adjust argument to have exponent of -1.
55247         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
55248         log2.
55249         * math/auto-libm-test-out: Regenerated.
55250         * sysdeps/i386/fpu/libm-test-ulps: Update.
55251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55253 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
55255         * manual/probes.texi: Remove cases when per-thread arenas are
55256         disabled.
55258 2013-12-18  Andreas Schwab  <schwab@suse.de>
55260         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
55261         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
55262         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
55263         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
55264         * sysdeps/i386/i686/multiarch/Makefile: Update.
55265         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
55267 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55269         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
55270         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
55272 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
55274         [BZ #15968]
55275         Support TZ transition times < 00:00:00.
55276         This is needed for version-3 tz-format files; it supports time
55277         stamps past 2037 for America/Godthab (the only entry in the tz
55278         database for which this change is relevant).
55279         * manual/time.texi (TZ Variable): Document transition times
55280         from -167:59:59 through -00:00:01.
55281         * time/tzset.c (tz_rule): Time of day is now signed.
55282         (__tzset_parse_tz): Parse negative time of day.
55284         Document TZ transition times >= 25:00:00.
55285         * manual/time.texi (TZ Variable): Document transition times from
55286         25:00:00 through 167:59:59.  These are already supported, and this
55287         support will help with version-3 tz-format files.
55289         * manual/time.texi (TZ Variable): Modernize North America example
55290         to reflect current (i.e., 2007-and-later) daylight saving rules.
55292         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
55294 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55296         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
55297         * sysdeps/unix/bsd/bits/stat.h: Likewise.
55298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
55299         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55300         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
55301         * sysdeps/unix/bsd/bsdstat.h: Likewise.
55302         * sysdeps/unix/bsd/clock.c: Likewise.
55303         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
55304         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
55305         * sysdeps/unix/bsd/init-posix.c: Likewise.
55306         * sysdeps/unix/bsd/poll.c: Likewise.
55307         * sysdeps/unix/bsd/ptsname.c: Likewise.
55308         * sysdeps/unix/bsd/seekdir.c: Likewise.
55309         * sysdeps/unix/bsd/setegid.c: Likewise.
55310         * sysdeps/unix/bsd/seteuid.c: Likewise.
55311         * sysdeps/unix/bsd/setgid.c: Likewise.
55312         * sysdeps/unix/bsd/setrgid.c: Likewise.
55313         * sysdeps/unix/bsd/setruid.c: Likewise.
55314         * sysdeps/unix/bsd/setsid.c: Likewise.
55315         * sysdeps/unix/bsd/setuid.c: Likewise.
55316         * sysdeps/unix/bsd/sigaction.c: Likewise.
55317         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
55318         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
55319         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
55320         * sysdeps/unix/bsd/telldir.c: Likewise.
55321         * sysdeps/unix/bsd/times.c: Likewise.
55322         * sysdeps/unix/bsd/usleep.c: Likewise.
55324         * misc/Makefile (install-lib): Remove libbsd-compat.a.
55325         ($(objpfx)libbsd-compat.a): Remove rule.
55327         * include/features.h (__FAVOR_BSD): Do not define.
55328         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
55329         features conflicting with POSIX.
55330         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
55331         (_BSD_SOURCE): Remove description of not being a subset of other
55332         feature test macros.
55333         * manual/job.texi (getpgrp): Do not document BSD version.
55334         (getpgid): Do not document by reference to BSD getpgrp.
55335         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
55336         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
55337         * signal/signal.h [__FAVOR_BSD]: Likewise.
55338         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
55339         instead of making contents conditional on [__FAVOR_BSD].
55340         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
55342 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55346 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55348         [BZ #16314]
55349         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
55350         values below 2**-450, not 2**-500.
55351         * math/auto-libm-test-in: Don't allow spurious underflow from
55352         hypot.
55353         * math/auto-libm-test-out: Regenerated.
55355         [BZ #16316]
55356         [BZ #16330]
55357         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
55358         values of ha and hb and sort them after adjusting subnormal
55359         arguments.
55360         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
55361         Likewise.
55362         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
55363         values of ea and eb and sort them after adjusting subnormal
55364         arguments.
55365         * math/auto-libm-test-in: Do not expect some hypot tests of
55366         subnormals to fail.  Add more hypot tests.
55367         * math/auto-libm-test-out: Regenerated.
55369 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55371         [BZ #13304]
55372         * sysdeps/sh/s_fma.c: New file.
55373         * sysdeps/sh/s_fmaf.c: New file.
55374         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
55375         version.
55376         * sysdeps/sh/Implies: Add sh/soft-fp.
55378 2013-12-16  Roland McGrath  <roland@hack.frob.com>
55380         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
55381         level of indirection to members `objname', `errstring', `malloced'.
55382         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
55383         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
55384         it as the __longjmp argument (just pass 1 instead).
55385         (_dl_catch_error): Initialize C with argument pointers and address of
55386         volatile local ERRCODE rather than copying values out of C at return.
55388 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
55390         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
55391         * math/auto-libm-test-out: Regenerated.
55392         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
55393         (hypot_test_data): Likewise.
55394         (pow_test_data): Likewise.
55395         (pow_tonearest_test_data): Likewise.
55396         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55397         mpfr_ff_f.
55398         (func_calc_desc): Add mpfr_ff_f union field.
55399         (FUNC_mpfr_ff_f): New macro.
55400         (test_functions): Add atan2, hypot and pow.
55401         (special_fill_min): New function.
55402         (special_fill_minus_min): Likewise.
55403         (special_fill_min_subnorm): Likewise.
55404         (special_fill_minus_min_subnorm): Likewise.
55405         (special_real_inputs): Add min, -min, min_subnorm and
55406         -min_subnorm.
55407         (calc_generic_results): Handle mpfr_ff_f.
55408         * sysdeps/i386/fpu/libm-test-ulps: Update.
55409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55411 2013-12-16  Will Newton  <will.newton@linaro.org>
55413         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
55414         (Aligned Memory Blocks): Add documentation for aligned_alloc
55415         and suggest it as an alternative to posix_memalign.
55416         (Hooks for Malloc): Document __memalign_hook is also called
55417         for aligned_alloc.  (Summary of Malloc): Add summary for
55418         aligned alloc.  Document __memalign_hook is also called
55419         for aligned_alloc.
55421 2013-12-16  Will Newton  <will.newton@linaro.org>
55423         * manual/memory.texi (Malloc Examples): Clarify default
55424         alignment documentation.  Suggest posix_memalign rather
55425         than memalign or valloc.
55426         (Aligned Memory Blocks): Remove suggestion to use memalign
55427         or valloc.  Remove obsolete comment about BSD.
55428         Document memalign errno values and mark the function obsolete.
55429         Document posix_memalign returned error codes.  Mark valloc
55430         as obsolete.  (Hooks for Malloc): __memalign_hook is also
55431         called for posix_memalign and valloc.
55432         (Summary of Malloc): Add posix_memalign to function summary.
55433         __memalign_hook is also called for posix_memalign and valloc.
55435 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55437         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
55438         TAYLOR_SIN.
55439         (__sin): Adjust.
55440         (__cos): Likewise.
55441         (sloww): Use mynumber union.  Expand ternary operator into
55442         if-else statements.
55443         (cslow): use mynumber union.
55445 2013-12-16  Allan McRae  <allan@archlinux.org>
55447         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
55448         * configure: Regenerated.
55450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
55452         [BZ #14120]
55453         * configure.ac: Added --enable-maintainer-mode. Check for
55454         autoconf when enabled.
55455         * configure: Regenerated.
55457         * nscd/nscd.service: New file.
55458         * nscd/nscd.tmpfiles: New file.
55460 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
55462         [BZ #12100]
55463         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
55464         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
55465         * sysdeps/x86_64/multiarch/strstr.c: ... here.
55466         (strstr): Add __strstr_sse2_unaligned ifunc.
55467         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
55468         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
55469         (strcasestr): Remove __strcasestr_sse42 ifunc.
55470         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
55471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55474 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55476         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
55477         * sysdeps/sh/bits/fenv.h: ... here.
55478         * sysdeps/sh/sh4/fpu/bits: Remove directory.
55480 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55482         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
55484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
55485         hypotf multiarch implementations.
55486         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
55487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
55488         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
55489         multiarch hypot for PPC64.
55490         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
55491         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
55492         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
55493         multiarch hypotf for PPC64.
55495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
55496         modff multiarch implementations.
55497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
55498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
55499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
55500         multiarch modf for PPC64.
55501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
55502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
55503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
55504         multiarch modff for PPC64.
55506         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
55507         and logl multiarch implementations.
55508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
55509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
55510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
55511         multiarch logb for PPC64.
55512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
55513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
55514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
55515         multiarch logb for PPC64.
55516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
55517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
55518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
55519         multiarch logb for PPC64.
55521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
55522         isinff multiarch implementation.
55523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
55524         file.
55525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
55526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
55527         multiarch isinf for PPC64.
55528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
55529         file.
55530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
55531         multiarch isinff for PPC64.
55533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
55534         finitef multiarch implementation.
55535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
55536         file.
55537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
55538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
55539         multiarch finite for PPC64.
55540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55541         file.
55542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
55543         multiarch finitef for PPC64.
55545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
55546         lrint multiarch implementation.
55547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
55548         file.
55549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
55550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
55551         multiarch llrint for PPC64.
55552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
55553         multiarch lrint for PPC64.
55555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
55556         copysignf multiarch implementation.
55557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
55558         file.
55559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
55560         file.
55561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55562         multiarch copysign for PPC64.
55563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55564         multiarch copysignf for PPC64.
55566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55567         multiarch implementation.
55568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55569         file.
55570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55571         file.
55572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55573         file.
55574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55575         file.
55576         multiarch llround for PPC64.
55577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55578         multiarch trunc for PPC64.
55579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55580         multiarch truncf for PPC64.
55582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55583         multiarch implementation.
55584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55585         file.
55586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55587         file.
55588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55589         file.
55590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55591         file.
55592         multiarch llround for PPC64.
55593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55594         multiarch round for PPC64.
55595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55596         multiarch roundf for PPC64.
55598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55599         multiarch implementation.
55600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55601         file.
55602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55603         file.
55604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55605         file.
55606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55607         file.
55608         multiarch llround for PPC64.
55609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55610         multiarch floor for PPC64.
55611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55612         multiarch floorf for PPC64.
55614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55615         multiarch implementation.
55616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55617         file.
55618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55619         file.
55620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
55621         file.
55622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
55623         file.
55624         multiarch llround for PPC64.
55625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
55626         multiarch ceil for PPC64.
55627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
55628         multiarch ceilf for PPC64.
55630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55631         multiarch implementation.
55632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
55633         file.
55634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
55635         file.
55636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
55637         file.
55638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
55639         multiarch llround for PPC64.
55640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
55641         multiarch lround for PPC64.
55643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55644         multiarch implementation.
55645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
55646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
55647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
55648         file.
55649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
55650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
55651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
55652         multiarch isnan for PPC64.
55653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
55654         multiarch isnanf for PPC64.
55656         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
55657         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
55658         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
55659         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55660         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
55661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
55663         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
55664         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55666         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
55669         multiarch implementations.
55670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55671         (__libc_ifunc_impl_list): Likewise.
55672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
55673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
55675         multiarch stpcpy for PPC64.
55677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
55678         multiarch implementations.
55679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55680         (__libc_ifunc_impl_list): Likewise.
55681         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
55682         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
55683         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
55684         multiarch strcpy for PPC64.
55686         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
55687         redefine function name.
55688         (_wordcopy_fwd_dest_aligned): Likewise.
55689         (_wordcopy_bwd_aligned): Likewise.
55690         (_wordcopy_bwd_dest_aligned): Likewise.
55691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
55692         multiarch implementations.
55693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55694         (__libc_ifunc_impl_list): Likewise.
55695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
55696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
55697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
55698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
55699         multiarch wcscpy for PPC64.
55701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
55702         multiarch implementations.
55703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55704         (__libc_ifunc_impl_list): Likewise.
55705         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
55706         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
55707         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
55708         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
55709         multiarch wcscpy for PPC64.
55711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55712         multiarch implementations.
55713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55714         (__libc_ifunc_impl_list): Likewise.
55715         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
55716         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
55717         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
55718         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
55719         multiarch wcsrchr for PPC64.
55721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
55722         multiarch implementations.
55723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55724         (__libc_ifunc_impl_list): Likewise.
55725         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
55726         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
55727         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
55728         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
55729         multiarch wcschr for PPC64.
55731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
55732         multiarch implementations.
55733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55734         (__libc_ifunc_impl_list): Likewise.
55735         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
55736         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
55737         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
55738         multiarch strchrnul for PPC64.
55740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
55741         implementations.
55742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55743         (__libc_ifunc_impl_list): Likewise.
55744         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
55745         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
55746         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
55747         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
55748         strchr for PPC64.
55750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
55751         implementations.
55752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55753         (__libc_ifunc_impl_list): Likewise.
55754         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
55755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
55756         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
55757         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
55758         strncmp for PPC64.
55760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
55761         multiarch implementations.
55762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55763         (__libc_ifunc_impl_list): Likewise.
55764         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55765         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
55766         strncasecmp for PPC64.
55767         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
55768         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
55769         multiarch strncasecmp_l for PPC64.
55771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
55772         multiarch implementations.
55773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55774         (__libc_ifunc_impl_list): Likewise.
55775         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
55776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
55777         multiarch strcasecmp for PPC64.
55778         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
55779         file.
55780         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
55781         multiarch strcasecmp_l for PPC64.
55783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
55784         implementations.
55785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55786         (__libc_ifunc_impl_list): Likewise.
55787         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
55788         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
55789         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
55790         strnlen for PPC64.
55792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
55793         implementations.
55794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55795         (__libc_ifunc_impl_list): Likewise.
55796         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
55797         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
55798         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
55799         strlen for PPC64.
55801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
55802         implementations.
55803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55804         (__libc_ifunc_impl_list): Likewise.
55805         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
55806         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
55807         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
55808         rawmemrchr for PPC64.
55810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
55811         implementation.
55812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55813         (__libc_ifunc_impl_list): Likewise.
55814         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
55815         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
55816         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
55817         memrchr for PPC64.
55819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
55820         implementation.
55821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55822         (__libc_ifunc_impl_list): Likewise.
55823         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
55824         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
55825         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
55826         memchr for PPC64.
55828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
55829         implementation.
55830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55831         (__libc_ifunc_impl_list): Likewise.
55832         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
55833         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
55834         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
55835         mempcpy for PPC64.
55837         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
55838         avoid cretion of __bzero symbol.
55839         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
55840         Likewise.
55841         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
55842         Likewise.
55843         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
55844         Likewise.
55845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
55846         multiarch implementations.
55847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55848         (__libc_ifunc_impl_list): Likewise.
55849         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
55850         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
55851         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
55852         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
55853         bzero for PPC32.
55854         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
55855         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
55856         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
55857         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
55858         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
55859         memset for PPC64.
55860         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
55862         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
55863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
55864         implementations.
55865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55866         (__libc_ifunc_impl_list): Likewise.
55867         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
55868         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
55869         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
55870         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
55871         memcmp for PPC64.
55873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
55874         multiarch for POWER/PPC64.
55875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
55876         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
55877         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
55878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
55879         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
55880         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
55881         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
55882         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
55883         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
55884         memcpy for PPC64.
55886         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
55887         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
55888         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
55889         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
55890         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
55891         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
55892         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
55893         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
55894         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
55895         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
55896         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
55897         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
55898         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
55899         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
55900         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
55901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
55902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
55903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
55904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
55905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
55906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
55907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
55909 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55911         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
55913 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55915         * benchtests/Makefile (bench): Add exp2 and log2.
55916         (LDLIBS-bench-exp2): Add -lm.
55917         (LDLIBS-bench-log2): Likewise.
55918         * benchtests/exp2-inputs: New inputs file.
55919         * benchtests/log2-inputs: New inputs file.
55920         * benchtests/log-inputs: Add new inputs.
55921         * benchtests/tan-inputs: Likewise.
55923 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55925         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
55926         definition...
55927         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
55928         (csloww2): ... from here.
55930         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
55931         instead of structures.
55932         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
55933         (POLYNOMIAL): Likewise.
55934         (TAYLOR_SLOW): Likewise.
55935         (__sin): Likewise.
55936         (__cos): Likewise.
55937         (slow1): Likewise.
55938         (slow2): Likewise.
55939         (sloww): Likewise.
55940         (sloww1); Likewise.
55941         (sloww2): Likewise.
55942         (bsloww1): Likewise.
55943         (bsloww2): Likewise.
55944         (cslow2): Likewise.
55945         (csloww): Likewise.
55946         (csloww1): Likewise.
55947         (csloww2): Likewise.
55949 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
55951         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
55952         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
55953         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
55954         * malloc/hooks.c (realloc_check): Likewise.
55956         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
55957         * malloc/arena.c: Remove PER_THREAD conditional.
55958         [!PER_THREAD]: Remove code.
55959         (ptmalloc_unlock_all2): Likewise.
55960         (ptmalloc_init): Likewise.
55961         (_int_new_arena): Likewise.
55962         (arena_get2): Likewise.
55963         * malloc/hooks.c (__malloc_get_state): Likewise.
55964         (__malloc_set_state): Likewise.
55965         * malloc/malloc.c: Likewise.
55966         (struct malloc_state): Likewise.
55967         (struct malloc_par): Likewise.
55968         (__libc_realloc): Likewise.
55969         (__libc_mallopt): Likewise.
55971 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55973         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
55975 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
55977         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
55978         macro to a function.  Check for zero perturb_byte.
55979         (_int_malloc, _int_free): Remove zero perturb_byte checks.
55981         * malloc/malloc.c: (force_reg): Remove.
55982         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
55983         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
55984         force_reg by atomic_forced_read.
55985         * malloc/arena.c (ptmalloc_init): Likewise.
55986         * malloc/hooks.c (top_check): Likewise.
55988 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55992 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
55994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55996 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
55998         * math/auto-libm-test-in: Add tests of lgamma.
55999         * math/auto-libm-test-out: Regenerated.
56000         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56001         (M_LOG_2_SQRT_PIl): Likewise.
56002         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56003         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56004         mpfr_f_f1.
56005         (func_calc_desc): Add mpfr_f_f1 union field.
56006         (ARGS1): New macro.
56007         (ARGS2): Likewise.
56008         (ARGS3): Likewise.
56009         (ARGS4): Likewise.
56010         (RET1): Likewise.
56011         (RET2): Likewise.
56012         (CALC): Likewise.
56013         (FUNC): Likewise.
56014         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56015         (test_functions): Add lgamma.
56016         (calc_generic_results): Handle mpfr_f_f1.
56017         * sysdeps/i386/fpu/libm-test-ulps: Update.
56018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56020 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56022         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56023         __mpn_add_n for PowerPC64/POWER7.
56024         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56025         __mpn_sub_n for PowerPC64/POWER7.
56027         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56028         __mpn_addmul_1 for PowerPC64.
56029         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56030         __mpn_submul_1 for PowerPC64.
56031         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56032         for PowerPC64.
56033         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56034         for PowerPC64.
56036 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56038         [BZ #15089]
56039         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56041 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56043         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56045         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56046         add multiarch folders.
56047         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56048         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56049         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56050         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56051         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56052         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56053         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56054         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56055         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56056         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56057         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56066         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56068         New file.
56069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56070         New file.
56071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56072         multiarch __ieee754_hypot for PowerPC32.
56073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56074         New file.
56075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56076         New file.
56077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56078         multiarch __ieee754_hypotf for PowerPC32.
56080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56081         long_double_symbol only if __logbl is defined.
56082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56083         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56084         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56085         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56086         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56087         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56088         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56089         path for implementation.
56090         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56091         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56093         logb, and logbl multiarch implementations for PowerPC32.
56094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56095         file.
56096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56097         file.
56098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56099         multiarch logb for PowerPC32.
56100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56101         file.
56102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56103         file.
56104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56105         multiarch logbf for PowerPC32.
56106         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56108         file.
56109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56110         multiarch logbl implementation for PowerPC32.
56112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56113         and modff multiarch implementations.
56114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56115         New file.
56116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56117         New file.
56118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56119         multiarch modf for PowerPC32.
56120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56121         New file.
56122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56123         New file.
56124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56125         multiarch modff for PowerPC32.
56127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56128         and lrintf multiarch implementations.
56129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56130         New file.
56131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56132         New file.
56133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56134         multiarch lrint for PowerPC32.
56135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56136         file: multiarch lrintf for PowerPC32.
56138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56139         and lroundf multiarch implementations.
56140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56141         New file.
56142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56143         New file.
56144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56145         New file.
56146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56147         multiarch lround for PowerPC32.
56148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56149         file: multiarch lroundf for PowerPC32.
56151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56152         copysign and copysignf multiarch implementations.
56153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56154         New file.
56155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56156         New file.
56157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56158         file: multiarch copysign for PowerPC32.
56159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56160         file: multiarch copysignf for PowerPC32.
56162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56163         and truncf multiarch implementations.
56164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56165         New file.
56166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56167         file.
56168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56169         multiarch trunc for PowerPC32.
56170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56171         New file.
56172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56173         New file.
56174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56175         multiarch truncf for PowerPC32.
56177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56178         and roundf multiarch implementations.
56179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56180         New file.
56181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56182         file.
56183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56184         multiarch round for PowerPC32.
56185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56186         New file.
56187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56188         New file.
56189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56190         multiarch roundf for PowerPC32.
56192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56193         and floorf multiarch implementations.
56194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56195         New file.
56196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56197         file.
56198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56199         multiarch floor for PowerPC32.
56200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56201         New file.
56202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56203         New file.
56204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56205         multiarch floorf for PowerPC32.
56207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56208         and ceilf multiarch implementations.
56209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56210         New file.
56211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56212         file.
56213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56214         multiarch ceil for PowerPC32.
56215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56216         New file.
56217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56218         file.
56219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56220         multiarch ceilf for PowerPC32.
56222         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56223         is defined.
56224         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56225         FINITEF is defined.
56226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56227         and finitef multiarch implementations.
56228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56229         New file.
56230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
56231         file.
56232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
56233         multiarch finite for PowerPC32.
56234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
56235         New file.
56236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
56237         file: multiarch finitef for PowerPC32.
56239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
56240         and isinff multiarch implementations.
56241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
56242         file.
56243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
56244         file.
56245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
56246         multiarch isinf for PowerPC32.
56247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
56248         New file.
56249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
56250         multiarch isinff for PowerPC32.
56252         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
56253         alias when __isnan is defined.
56254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
56255         and isnanf multiarch implementations.
56256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
56257         file.
56258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
56259         file.
56260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
56261         file.
56262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
56263         file.
56264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
56265         multiarch isnan for PowerPC32.
56266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
56267         New file.
56268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
56269         New file.
56270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
56271         multiarch isnanf for PowerPC32.
56273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
56274         and sqrtf multiarch implementations.
56275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
56276         file.
56277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
56278         file.
56279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
56280         multiarch sqrt for PowerPC32.
56281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
56282         file.
56283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
56284         file.
56285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
56286         multiarch sqrtf for PowerPC32.
56288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
56289         and llroundf multiarch implementations.
56290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
56291         New file.
56292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
56293         New file.
56294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
56295         New file.
56296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
56297         file: multiarch llround for PowerPC32.
56298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
56299         file: multiarch llroundf for PowerPC32.
56301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
56302         multiarch PowerPC32 fpu implementations.
56303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
56304         New file.
56305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
56306         New file.
56307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
56308         multiarch llrint for PowerPC32.
56309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
56310         New file.
56311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
56312         New file.
56313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
56314         file.
56316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
56318         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
56319         file.
56320         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
56321         file.
56322         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
56323         file.
56324         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
56325         multiarch wordcopy for PPC32.
56326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56327         wordcopy objects.
56328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56329         (__libc_ifunc_impl_list): Likewise.
56330         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
56331         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
56332         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
56333         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
56334         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
56335         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
56337         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
56338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
56339         file.
56340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
56341         file.
56342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
56343         file.
56344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
56345         multiarch wcscpy for PPC32.
56346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56347         multiarch objects.
56348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56349         (__libc_ifunc_impl_list): Likewise.
56350         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56351         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56352         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
56353         sysdeps/powerpc/power6/wcscpy.c.
56355         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
56356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
56357         file.
56358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
56359         file.
56360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
56361         file.
56362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
56363         multiarch wcsrchr for PPC32.
56364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56365         multiarch objects.
56366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56367         (__libc_ifunc_impl_list): Likewise.
56368         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56369         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56370         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
56371         sysdeps/powerpc/power6/wcsrchr.c.
56373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
56374         file.
56375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
56376         file.
56377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
56378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
56379         multiarch wcschr for PPc32.
56380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56381         multiarch objects.
56382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56383         (__libc_ifunc_impl_list): Likewise.
56384         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
56385         * sysdeps/powerpc/power6/wcschr.c: ... to here.
56386         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
56387         sysdeps/powerpc/power6/wcschr.c.
56389         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
56390         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
56391         file.
56392         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
56393         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
56394         file: multiarch strchr for PPC32.
56395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
56396         multiarch objects.
56397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56398         (__libc_ifunc_impl_list): Likewise.
56400         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
56401         name.
56402         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
56403         file.
56404         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
56405         file.
56406         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
56407         multiarch strchrnul for PPC32.
56408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
56409         multiarch objects.
56410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56411         (__libc_ifunc_impl_list): Likewise.
56413         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
56414         file.
56415         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
56416         multiarch strncasecmp for PPC32.
56417         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
56418         file.
56419         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
56420         multiarch strncasecmp_l for PPC32.
56421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
56422         strncasecmp multiarch objects.
56423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56424         (__libc_ifunc_impl_list): Likewise.
56426         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
56427         file.
56428         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
56429         multiarch strncasecmp for PPC32.
56430         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
56431         New file.
56432         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
56433         multiarch strcasecmp_l for PPC32.
56434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
56435         multiarch objects.
56436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56437         (__libc_ifunc_impl_list): Likewise.
56439         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
56440         file.
56441         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
56442         file.
56443         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
56444         multiarch strncmp for PPC32.
56445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
56446         multiarch objects.
56447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56448         (__libc_ifunc_impl_list): Likewise.
56450         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
56451         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
56452         file.
56453         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
56454         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
56455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
56456         multiarch objects.
56457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56458         (__libc_ifunc_impl_list): Likewise.
56460         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
56461         file.
56462         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
56463         file.
56464         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
56465         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
56466         multiarch objects.
56467         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56468         (__libc_ifunc_impl_list): Likewise.
56470         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
56471         file.
56472         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
56473         file.
56474         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
56475         multiarch rawmemchr for PPC32.
56476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
56477         multiarch objects.
56478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56479         (__libc_ifunc_impl_list): Likewise.
56481         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
56482         file.
56483         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
56484         file.
56485         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
56486         file: memrchr multiarch for PPC32.
56487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
56488         multiarch objects.
56489         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56490         (__libc_ifunc_impl_list): Likewise.
56492         * string/memchr.c (__memchr): Using macro to redefine symbol name.
56493         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
56494         file.
56495         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
56496         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
56497         multiarch memchr for PPC32.
56498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
56499         multiarch objects.
56500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56501         (__libc_ifunc_impl_list): Likewise.
56503         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
56504         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
56505         file.
56506         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
56507         file.
56508         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
56509         file: multiarch mempcpy for PPC32.
56510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
56511         multiarch objects.
56512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56513         (__libc_ifunc_impl_list): Likewise.
56515         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
56516         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
56517         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
56518         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
56519         multiarch bzero for PPC32.
56520         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
56521         file.
56522         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
56523         file.
56524         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
56525         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
56526         file: multiarch memset for PPC32.
56527         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
56528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
56529         memset multiarch objects.
56530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56531         (__libc_ifunc_impl_list): Likewise.
56533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
56534         file.
56535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
56536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
56537         memcmp for PPC32.
56538         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
56540         multiarch objects.
56541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56542         (__libc_ifunc_impl_list): Likewise.
56544         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
56545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
56546         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
56547         file.
56548         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
56549         file.
56550         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
56551         file.
56552         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
56553         multiarch memcpy for PPC32.
56554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
56555         multiarch objects.
56556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56557         (__libc_ifunc_impl_list): Likewise.
56559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
56560         support multiarch for POWER/PPC32.
56561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56562         Likewise.
56563         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56565         Implies file to make multiarch folder appers before the fpu and
56566         default folder for power4 configuration.
56568 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56570         * scripts/bench.pl: Append volatile keyword to type.
56572 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56574         * sysdeps/sh/sotruss-lib.c: New file.
56575         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56577 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56581 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56583         [BZ #6810]
56584         * math/w_tgamma.c: Include <errno.h>.
56585         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56586         * math/w_tgammaf.c: Include <errno.h>.
56587         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56588         * math/w_tgammal.c: Include <errno.h>.
56589         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56590         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56591         underflow.  Add more tgamma tests.
56592         * math/auto-libm-test-out: Regenerated.
56593         * sysdeps/i386/fpu/libm-test-ulps: Update.
56594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56596         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56597         sin, sinh, tan, tanh, tgamma, y0 and y1.
56598         * math/auto-libm-test-out: Regenerated.
56599         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56600         (TEST_COND_x86): Likewise.
56601         (M_E2l): Remove macro.
56602         (M_E3l): Likewise.
56603         (M_2_SQRT_PIl): Likewise.
56604         (M_SQRT_PIl): Likewise.
56605         (M_1_DIV_El): Likewise.
56606         (log_test_data): Use AUTO_TESTS_f_f.
56607         (log10_test_data): Likewise.
56608         (log1p_test_data): Likewise.
56609         (log2_test_data): Likewise.
56610         (sin_test_data): Likewise.
56611         (sin_tonearest_test_data): Likewise.
56612         (sin_towardzero_test_data): Likewise.
56613         (sin_downward_test_data): Likewise.
56614         (sin_upward_test_data): Likewise.
56615         (sinh_test_data): Likewise.
56616         (sinh_tonearest_test_data): Likewise.
56617         (sinh_towardzero_test_data): Likewise.
56618         (sinh_downward_test_data): Likewise.
56619         (sinh_upward_test_data): Likewise.
56620         (tan_test_data): Likewise.
56621         (tan_tonearest_test_data): Likewise.
56622         (tan_towardzero_test_data): Likewise.
56623         (tan_downward_test_data): Likewise.
56624         (tan_upward_test_data): Likewise.
56625         (tanh_test_data): Likewise.
56626         (tgamma_test_data): Likewise.
56627         (y0_test_data): Likewise.
56628         (y1_test_data): Likewise.
56629         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
56630         (special_real_inputs): Add pi/4.
56631         * sysdeps/i386/fpu/libm-test-ulps: Update.
56632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56634 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56636         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
56637         "longjmp_target" static probes.
56638         (__longjmp): Rename to __longjmp_symbol.
56639         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56640         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
56641         on which longjmp to generate.
56642         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56643         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
56644         probe.
56645         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56646         (__sigjmp_save): Rename to __sigjmp_save_symbol.
56647         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
56648         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
56649         and __sigjmp_save_symbol based on which sigsetjmp to generated.
56650         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
56652         __longjmp_symbol based on which __longjmp to generate.
56653         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
56654         probe.
56655         (setjmp): Rename to setjmp_symbol.
56656         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56657         (_setjmp): Rename to _setjmp_symbol.
56658         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56659         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
56660         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
56661         which setjmp to generate.
56662         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
56663         "longjmp_target" static probes.
56665 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56667         * benchtests/README: Add note about output arguments.
56668         * benchtests/bench-sincos.c: Remove file.
56669         * benchtests/sincos-inputs: New file.
56670         * scripts/bench.pl: Identify output arguments and define
56671         static variables for them.
56673         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
56675         [BZ #15941]
56676         * Makefile (INSTALL): Add install-plain.texi as the primary
56677         dependency.
56678         * manual/install-plain.texi: New file.
56679         * manual/install.texi: Include node directive only for
56680         non-plaintext output.
56682 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
56684         * stdlib/longlong.h: Update from GCC.
56686         [BZ #6807]
56687         [BZ #15901]
56688         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56689         * math/w_j0f.c (y0f): Likewise.
56690         * math/w_j0l.c (__y0l): Likewise.
56691         * math/w_j1.c (y1): Likewise.
56692         * math/w_j1f.c (y1f): Likewise.
56693         * math/w_j1l.c (__y1l): Likewise.
56694         * math/w_jn.c (yn): Likewise.
56695         * math/w_jnf.c (ynf): Likewise.
56696         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
56697         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
56698         value for Bessel function domain errors outside _SVID_ mode.
56699         Adjust sign of return value for yn (negative integer, 0).
56700         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
56701         by zero in return for negative x and set sign appropriately for
56702         negative n.
56703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
56704         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56705         * math/libm-test.inc (y0_test_data): Add more tests and adjust
56706         expectations in error cases.
56707         (y1_test_data): Likewise.
56708         (yn_test_data): Likewise.
56709         * sysdeps/i386/fpu/libm-test-ulps: Update.
56710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56712 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56714         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
56715         "64" to "64-v1".  Add "64-v2".
56716         (abi-64-options): Rename to ...
56717         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
56718         (abi-64-condition): Rename to ...
56719         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
56720         (abi-64-ld-soname): Rename to ...
56721         (abi-64-v1-ld-soname): ... this.
56722         (abi-64-v2-options): Define.
56723         (abi-64-v2-condition): Likewise.
56724         (abi-64-v2-ld-soname): Likewise.
56725         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
56726         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
56727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
56729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
56731 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56732             Alan Modra  <amodra@gmail.com>
56734         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
56735         New versions for use with the ELFv2 ABI.
56736         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56737         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
56738         declaration.
56739         (struct La_ppc64v2_retval): Likewise.
56740         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
56741         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
56742         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
56743         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
56744         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
56745         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56746         Do not save or restore CR.
56747         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
56748         (_dl_profile_resolve): Do no save or restore CR.  Support extended
56749         return values for ELFv2 ABI.  Fix location of FPR return registers.
56750         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
56751         updated values for _CALL_ELF == 2.
56752         (La_regs, La_retval, int_retval): Likewise.
56754 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56756         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
56757         (FRAME_MIN_SIZE_PARM): Likewise.
56758         (FRAME_BACKCHAIN): Likewise.
56759         (FRAME_CR_SAVE): Likewise.
56760         (FRAME_LR_SAVE): Likewise.
56761         (FRAME_TOC_SAVE): Likewise.
56762         (FRAME_PARM_SAVE): Likewise.
56763         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
56764         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
56765         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56766         (call_mcount_parm_offset): New macro.
56767         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
56768         (PROF): Use symbolic stack frame offsets.
56769         (TAIL_CALL_SYSCALL_ERROR): Likewise.
56770         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
56771         Redefine in terms of FRAME_MIN_SIZE.
56772         (_dl_runtime_resolve): Use symbolic stack frame offsets.
56773         (_dl_profile_resolve): Likewise.  Update comment.
56774         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
56775         symbols stack frame offsets.
56776         (__sigsetjmp): Likewise.
56777         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
56778         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
56779         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
56780         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
56782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
56783         (FRAME_BACKCHAIN): Remove.
56784         (FRAME_CR_SAVE): Likewise.
56785         (FRAME_LR_SAVE): Likewise.
56786         (FRAME_COMPILER_DW): Likewise.
56787         (FRAME_LINKER_DW): Likewise.
56788         (FRAME_TOC_SAVE): Likewise.
56789         (FRAME_PARM_SAVE): Likewise.
56790         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
56791         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
56792         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
56794         (CHECK_SP): Use symbolic stack frame offsets.
56795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
56796         zone" instead of caller's parameter save area for temp storage.
56797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56798         Likewise.  Also, use symbolic stack frame offsets.
56799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
56800         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
56801         our own stack frame instead of the caller's.
56802         (__socket): Use symbolic stack frame offsets.
56804 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56805             Alan Modra  <amodra@gmail.com>
56807         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
56808         Define.
56809         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
56810         (PPC64_LOCAL_ENTRY_OFFSET): Define.
56811         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
56812         New function.
56813         (elf_machine_fixup_plt): Call it.
56814         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
56815         reloc arguments.
56816         (elf_machine_rela): Update call to elf_machine_plt_conflict.
56817         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56818         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
56819         r2 before calling target.
56821 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56822             Alan Modra  <amodra@gmail.com>
56824         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
56825         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
56826         versions of macros to support ELFv2 ABI.
56827         (LOCALENTRY): New macro.
56828         (ENTRY, EALIGN): Use it.
56829         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
56830         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
56831         fall through into ENTRY entry point.
56832         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
56833         Only define if _CALL_ELF != 2.
56835         (elf_machine_matches_host): Verify ABI version matches.
56836         (RTLD_START): Use LOCALENTRY.
56837         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
56838         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
56839         (PLT_ENTRY_WORDS): New macro.
56840         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
56841         (elf_machine_runtime_setup): Support ELFv2 ABI.
56842         (elf_machine_fixup_plt): Likewise.
56843         (elf_machine_plt_conflict): Likewise.
56844         (resolve_ifunc): Likewise.
56845         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56846         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56847         Likewise.
56848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
56849         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
56850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56851         (makecontext): Support ELFv2 ABI.
56852         * elf/elf.h (EF_PPC64_ABI): Define.
56854 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56856         * sysdeps/powerpc/powerpc64/sysdep.h
56857         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
56858         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
56859         (ENTRY) [ASSEMBLER]: ... but instead here ...
56860         (EALIGN) [ASSEMBLER]: ... and here.
56861         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
56862         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
56863         (ENTRY_2) [!ASSEMBLER]: Use it.
56864         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
56865         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
56866         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56867         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
56868         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
56869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
56870         Use PPC64_LOAD_FUNCPTR.
56872         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
56874 2013-12-04  Alan Modra  <amodra@gmail.com>
56876         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
56877         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
56878         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
56879         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
56881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
56882         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
56883         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
56884         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
56885         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
56886         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
56888 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56891         (__makecontext): Fix incorrect CFI when backtracing out of
56892         context created via makecontext.
56893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
56894         (__setcontext): Fix incorrect CFI during switch to new context.
56895         (__novec_setcontext): Likewise.
56897 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56899         [BZ #4772]
56900         * time/strptime_l.c (__strptime_internal): Allow modifiers
56901         in strptime.
56902         * time/tst-strptime.c (day_tests): Add testcase.
56904 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56906         * scripts/bench.pl: Skip over blank lines.
56908 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
56910         [BZ #926]
56911         * manual/time.texi (Calendar Time): Clarify what timezone functions
56912         use.
56914 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56918 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56920         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
56921         implementation.
56922         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
56923         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
56924         * debug/memset_chk.c (__memset_chk): Likewise.
56925         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
56926         * debug/strncpy_chk.c: Likewise.
56928 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56930         [BZ #15268]
56931         [BZ #15425]
56932         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
56933         (__ieee754_exp): For possibly underflowing results, check size of
56934         result and force underflow exception if required.
56935         * math/auto-libm-test-in: Add more tests of exp.
56936         * math/auto-libm-test-out: Regenerated.
56937         * sysdeps/i386/fpu/libm-test-ulps: Update.
56938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56940         [BZ #16283]
56941         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
56942         * math/w_exp2f.c (__exp2f): Likewise.
56943         * math/w_exp2l.c (__exp2l): Likewise.
56944         * math/auto-libm-test-in: Do not allow missing errno on exp2
56945         underflow.
56946         * math/auto-libm-test-out: Regenerated.
56948 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
56950         [BZ #16274]
56951         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
56952         handle filename validation.
56953         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
56954         (do_open): Delete.
56956 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56958         [BZ #6786]
56959         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
56960         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
56961         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
56962         <float.h>.
56963         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
56964         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
56965         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56966         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
56967         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
56969         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56970         * math/auto-libm-test-in: Don't allow missing errno from erfc.
56971         Add more erfc tests.
56972         * math/auto-libm-test-out: Regenerated.
56973         * sysdeps/i386/fpu/libm-test-ulps: Update.
56974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56976         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
56977         exp2, expm1, j0 and j1.
56978         * math/auto-libm-test-out: Regenerated.
56979         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
56980         (erfc_test_data): Likewise.
56981         (exp_test_data): Likewise.
56982         (exp_tonearest_test_data): Likewise.
56983         (exp_towardzero_test_data): Likewise.
56984         (exp_downward_test_data): Likewise.
56985         (exp_upward_test_data): Likewise.
56986         (exp10_test_data): Likewise.
56987         (exp2_test_data): Likewise.
56988         (expm1_test_data): Likewise.
56989         (j0_test_data): Likewise.
56990         (j1_test_data): Likewise.
56991         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
56992         (input_flag_type): Add flag_xfail_rounding.
56993         (input_flags): Add xfail-rounding.
56994         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
56995         (output_for_one_input_case): Handle flag_xfail_rounding.
56996         * sysdeps/i386/fpu/libm-test-ulps: Update.
56997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56999 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57001         [BZ #16289]
57002         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57003         division by 0.
57005 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57007         [BZ #16195]
57008         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57009         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57010         (STAP_PROBE0): New macro.
57011         (STAP_PROBE1): Likewise.
57012         (STAP_PROBE2): Likewise.
57013         (STAP_PROBE3): Likewise.
57014         (STAP_PROBE4): Likewise.
57016 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57018         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57020 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57022         * benchtests/Makefile (bench): Add sqrt.
57023         (LDLIBS-bench-sqrt): New.
57024         * benchtests/sqrt-input: New.
57026 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57028         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57029         (GAIH_EAI): Likewise.
57030         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57031         (gaih_inet): Likewise.
57032         (getaddrinfo): Don't use GAIH_EAI.
57034         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57035         (struct gaih): Remove definition.
57037 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57039         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57040         Use HERRNOP directly.
57042 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57046 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57048         * math/gen-auto-libm-tests.c (test_functions): Add more
57049         single-argument functions.
57050         (special_fill_pi_2): New function.
57051         (special_fill_minus_pi_2): Likewise.
57052         (special_fill_pi_6): Likewise.
57053         (special_fill_minus_pi_6): Likewise.
57054         (special_fill_pi_3): Likewise.
57055         (special_fill_2pi_3): Likewise.
57056         (special_fill_e): Likewise.
57057         (special_fill_1_e): Likewise.
57058         (special_fill_e_minus_1): Likewise.
57059         (special_real_inputs): Add more special inputs.
57060         (output_for_one_input_case): Do not require ERANGE on underflow to
57061         zero if round-to-nearest result does not underflow to zero, unless
57062         exact results required.
57063         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57064         atan, atanh, cbrt, cos and cosh.
57065         * math/auto-libm-test-out: Regenerated.
57066         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57067         (acos_tonearest_test_data): Likewise.
57068         (acos_towardzero_test_data): Likewise.
57069         (acos_downward_test_data): Likewise.
57070         (acos_upward_test_data): Likewise.
57071         (acosh_test_data): Likewise.
57072         (asin_test_data): Likewise.
57073         (asin_tonearest_test_data): Likewise.
57074         (asin_towardzero_test_data): Likewise.
57075         (asin_upward_test_data): Likewise.
57076         (asinh_test_data): Likewise.
57077         (atan_test_data): Likewise.
57078         (atanh_test_data): Likewise.
57079         (cbrt_test_data): Likewise.
57080         (cos_test_data): Likewise.
57081         (cos_tonearest_test_data): Likewise.
57082         (cos_towardzero_test_data): Likewise.
57083         (cos_downward_test_data): Likewise.
57084         (cos_upward_test_data): Likewise.
57085         (cosh_test_data): Likewise.
57086         (cosh_tonearest_test_data): Likewise.
57087         (cosh_towardzero_test_data): Likewise.
57088         (cosh_downward_test_data): Likewise.
57089         (cosh_upward_test_data): Likewise.
57090         * sysdeps/i386/fpu/libm-test-ulps: Update.
57091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57093 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57095         [BZ #6787]
57096         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57097         * math/w_exp10f.c (__exp10f): Likewise.
57098         * math/w_exp10l.c (__exp10l): Likewise.
57099         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57100         errno settings in existing tests.
57102         [BZ #14032]
57103         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57104         precision control set to double precision.
57105         * sysdeps/i386/fpu/w_sqrt.c: New file.
57106         * math/auto-libm-test-in: Add more tests.
57107         * math/auto-libm-test-out: Update.
57109         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57110         (sqrt_test_tonearest): New function.
57111         (sqrt_towardzero_test_data): New variable.
57112         (sqrt_test_towardzero): New function.
57113         (sqrt_downward_test_data): New variable.
57114         (sqrt_test_downward): New function.
57115         (sqrt_upward_test_data): New variable.
57116         (sqrt_test_upward): New function.
57117         (main): Call the new functions.
57119         * math/gen-auto-libm-tests.c: New file.
57120         * math/auto-libm-test-in: Likewise.
57121         * math/auto-libm-test-out: New generated file.
57122         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57123         variables.
57124         (%beautify): Add generated representations of zero.
57125         (top level): Set $auto_input and call parse_auto_input.
57126         (beautify): Remove trailing "f" from hex float constants.
57127         (parse_args): Handle XFAIL_TEST.
57128         (convert_condition): New function.
57129         (or_value): Likewise.
57130         (or_cond_value): Likewise.
57131         (generate_testfile): Handle AUTO_TESTS_* lines.
57132         (parse_auto_input): New function.
57133         * math/libm-test.inc (XFAIL_TEST): New macro.
57134         (ERRNO_UNCHANGED): Update value.
57135         (ERRNO_EDOM): Likewise.
57136         (ERRNO_ERANGE): Likewise.
57137         (IGNORE_RESULT): Likewise.
57138         (TEST_COND_flt_32): New macro.
57139         (TEST_COND_dbl_64): Likewise.
57140         (TEST_COND_ldbl_96_intel): Likewise.
57141         (TEST_COND_ldbl_96_m68k): Likewise.
57142         (TEST_COND_ldbl_128): Likewise.
57143         (TEST_COND_ldbl_128ibm): Likewise.
57144         (TEST_COND_long32): Likewise.
57145         (TEST_COND_long64): Likewise.
57146         (TEST_COND_before_rounding): Likewise.
57147         (TEST_COND_after_rounding): Likewise.
57148         (enable_test): Handle XFAIL_TEST flag.
57149         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57150         with finite results.
57151         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57152         auto-libm-test-out.
57154 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57155             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57157         [BZ #16214]
57158         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57159         __tls_get_addr_internal instead of __tls_get_offset in order to
57160         avoid GOT pointer dependency.  Make rtld export
57161         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57162         __tls_get_addr since we are a __tls_get_offset platform.
57163         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57164         GOT pointer being set up before.
57165         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57167 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
57169         * manual/math.texi (Errors in Math Functions): Document accuracy
57170         goals.
57172         [BZ #15004]
57173         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57174         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57175         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57176         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57177         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57178         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57179         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57180         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57181         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57182         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57183         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57184         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57185         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57186         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57187         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57188         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57190         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57191         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57192         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57193         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57194         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57195         Likewise.
57196         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57197         Likewise.
57198         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57199         Likewise.
57200         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57201         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57202         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57203         atomic-feupdateenv and flt-rounds.
57204         * sysdeps/powerpc/nofpu/Versions (libc): Add
57205         __atomic_feholdexcept, __atomic_feclearexcept,
57206         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57207         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57208         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57209         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57210         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57211         here.
57212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57213         Update.
57215         * manual/arith.texi (FP Exceptions): Document that exceptions may
57216         not be raised when matherr is used.
57217         (Math Error Reporting): Document overflow in directed rounding
57218         modes.  Document that errno may not be set when finite values are
57219         returned on overflow.  Document intent to set errno on underflow
57220         only for underflow to zero.
57222         [BZ #16271]
57223         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57224         round-to-nearest then adjust result for other rounding modes.
57225         * include/fenv.h (fegetround): Use libm_hidden_proto.
57226         * math/fegetround.c (fegetround): Use libm_hidden_def.
57227         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57228         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57229         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57230         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
57231         Likewise.
57232         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
57233         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57234         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
57235         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
57237 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57239         [BZ #16077]
57240         * nss/Versions (libnss_files): Add
57241         _nss_files_gethostbyname3_r.
57242         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
57243         New function.
57244         (HOST_DB_LOOKUP): Remove macro.
57245         (_nss_files_gethostbyname_r): Implement function without the
57246         HOST_DB_LOOKUP macro.
57247         (_nss_files_gethostbyname2_r): Likewise.
57249 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
57251         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
57253 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
57255         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
57256         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
57257         warning.
57259 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57261         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
57262         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
57263         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57264         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
57265         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
57266         __fe_nomask_env_priv and attribute_hidden.
57267         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
57268         (libc_feupdateenv_test_ppc): Likewise.
57269         (libc_feresetround_ppc): Likewise.
57270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57271         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
57272         compat_symbol macro.
57273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57274         (__fe_nomask_env): Likewise.
57275         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
57277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57279         * string/Makefile: Remove ifunc tests.
57280         * string/test-string.h: Define TEST_IFUNC.
57281         * string/test-bcopy-ifunc.c: Remove.
57282         * string/test-bzero-ifunc.c: Likewise.
57283         * string/test-memccpy-ifunc.c: Likewise.
57284         * string/test-memchr-ifunc.c: Likewise.
57285         * string/test-memcmp-ifunc.c: Likewise.
57286         * string/test-memcpy-ifunc.c: Likewise.
57287         * string/test-memmem-ifunc.c: Likewise.
57288         * string/test-memmove-ifunc.c: Likewise.
57289         * string/test-mempcpy-ifunc.c: Likewise.
57290         * string/test-memrchr-ifunc.c: Likewise.
57291         * string/test-memset-ifunc.c: Likewise.
57292         * string/test-rawmemchr-ifunc.c: Likewise.
57293         * string/test-stpcpy-ifunc.c: Likewise.
57294         * string/test-stpncpy-ifunc.c: Likewise.
57295         * string/test-strcasecmp-ifunc.c: Likewise.
57296         * string/test-strcasestr-ifunc.c: Likewise.
57297         * string/test-strcat-ifunc.c: Likewise.
57298         * string/test-strchr-ifunc.c: Likewise.
57299         * string/test-strchrnul-ifunc.c: Likewise.
57300         * string/test-strcmp-ifunc.c: Likewise.
57301         * string/test-strcpy-ifunc.c: Likewise.
57302         * string/test-strcspn-ifunc.c: Likewise.
57303         * string/test-strlen-ifunc.c: Likewise.
57304         * string/test-strncasecmp-ifunc.c: Likewise.
57305         * string/test-strncat-ifunc.c: Likewise.
57306         * string/test-strncmp-ifunc.c: Likewise.
57307         * string/test-strncpy-ifunc.c: Likewise.
57308         * string/test-strnlen-ifunc.c: Likewise.
57309         * string/test-strpbrk-ifunc.c: Likewise.
57310         * string/test-strrchr-ifunc.c: Likewise.
57311         * string/test-strspn-ifunc.c: Likewise.
57312         * string/test-strstr-ifunc.c: Likewise.
57314 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57316         * benchtests/Makefile: Remove ifunc tests.
57317         * benchtests/bench-string.h: Define TEST_IFUNC.
57318         * benchtests/bench-bcopy-ifunc.c: Remove.
57319         * benchtests/bench-bzero-ifunc.c: Likewise.
57320         * benchtests/bench-memccpy-ifunc.c: Likewise.
57321         * benchtests/bench-memchr-ifunc.c: Likewise.
57322         * benchtests/bench-memcmp-ifunc.c: Likewise.
57323         * benchtests/bench-memcpy-ifunc.c: Likewise.
57324         * benchtests/bench-memmem-ifunc.c: Likewise.
57325         * benchtests/bench-memmove-ifunc.c: Likewise.
57326         * benchtests/bench-mempcpy-ifunc.c: Likewise.
57327         * benchtests/bench-memrchr-ifunc.c: Likewise.
57328         * benchtests/bench-memset-ifunc.c: Likewise.
57329         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
57330         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
57331         * benchtests/bench-stpcpy-ifunc.c: Likewise.
57332         * benchtests/bench-stpncpy-ifunc.c: Likewise.
57333         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
57334         * benchtests/bench-strcasestr-ifunc.c: Likewise.
57335         * benchtests/bench-strcat-ifunc.c: Likewise.
57336         * benchtests/bench-strchr-ifunc.c: Likewise.
57337         * benchtests/bench-strchrnul-ifunc.c: Likewise.
57338         * benchtests/bench-strcmp-ifunc.c: Likewise.
57339         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
57340         * benchtests/bench-strcpy-ifunc.c: Likewise.
57341         * benchtests/bench-strcspn-ifunc.c: Likewise.
57342         * benchtests/bench-strlen-ifunc.c: Likewise.
57343         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
57344         * benchtests/bench-strncat-ifunc.c: Likewise.
57345         * benchtests/bench-strncmp-ifunc.c: Likewise.
57346         * benchtests/bench-strncpy-ifunc.c: Likewise.
57347         * benchtests/bench-strnlen-ifunc.c: Likewise.
57348         * benchtests/bench-strpbrk-ifunc.c: Likewise.
57349         * benchtests/bench-strrchr-ifunc.c: Likewise.
57350         * benchtests/bench-strsep-ifunc.c: Likewise.
57351         * benchtests/bench-strspn-ifunc.c: Likewise.
57352         * benchtests/bench-strstr-ifunc.c: Likewise.
57354 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57356         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
57358 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57360         * resolv/netdb.h: Use __glibc_reserved instead __unused.
57361         * rt/aio.h: Likewise.
57362         * sysdeps/gnu/bits/utmp.h: Likewise.
57363         * sysdeps/gnu/bits/utmpx.h: Likewise.
57364         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57365         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
57366         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
57367         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
57368         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
57369         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
57370         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
57371         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
57372         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
57373         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
57374         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
57375         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
57376         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
57377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
57378         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57379         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
57380         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
57381         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
57382         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
57383         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
57384         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
57385         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
57386         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
57387         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57388         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
57389         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57390         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
57391         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
57392         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
57393         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
57394         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
57395         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
57396         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
57397         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
57398         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
57399         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
57400         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
57401         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
57402         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
57403         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
57404         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
57405         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57407 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
57409         [BZ #16245]
57410         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
57411         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
57413 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
57415         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
57416         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
57417         Likewise.
57419 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
57422         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
57423         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
57424         (__fesetround): Remove define.
57425         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
57426         rounding and exceptions handling.
57427         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
57428         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
57429         (__fe_nomask_env): Likewise.
57430         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
57431         __fegetround instead of fegetround.
57432         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57433         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
57435 2013-11-21  Roland McGrath  <roland@hack.frob.com>
57437         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
57438         it's there.
57440         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
57442 2013-11-21  Meador Inge  <meadori@codesourcery.com>
57444         [BZ #11157]
57445         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
57446         (encrypt_r): Likewise.
57447         * malloc/obstack.h (obstack_free): Likewise.
57448         * posix/unistd.h (encrypt): Likewise.
57450 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
57452         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
57453         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
57454         DL_CALL_DT_FINI() that call the functions directly.
57455         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
57456         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
57457         * elf/dl-fini.c: Likewise.
57459 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
57461         * malloc/hooks.c (memalign_check): Add alignment rounding.
57462         * malloc/malloc.c (_mid_memalign): New function.
57463         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
57464         Implement by calling _mid_memalign.
57465         * manual/probes.texi (Memory Allocation Probes): Remove
57466         memory_valloc_retry and memory_pvalloc_retry.
57468 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57470         * locale/programs/locarchive.c (open_archive): Add const
57471         qualifier to ARCHIVEFNAME and copy default fname to
57472         DEFAULT_FNAME.
57474         [BZ #15601]
57475         * libio/tst-widetext.input: Rename Oriya to Odia.
57476         * locale/iso-639.def: Likewise.
57478         * manual/probes.texi (Mathematical Function Probes): Add
57479         documentation for sin, cos, asin and acos probes.
57480         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
57481         (__sin32): Add slowasin probe.
57482         (__cos32): Add slowacos probe.
57483         (__mpsin): Add slowsin probe.
57484         (__mpcos): Add slowcos probe.
57486 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
57488         [BZ #15483]
57489         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
57490         thread-local __sim_exceptions_thread and global
57491         __sim_exceptions_global.
57492         (__sim_disabled_exceptions): Change to thread-local
57493         __sim_disabled_exceptions_thread and global
57494         __sim_disabled_exceptions_global.
57495         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57496         and global __sim_round_mode_global.
57497         (__simulate_exceptions): Use thread-local floating-point state and
57498         set global state from it as needed.
57499         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
57500         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
57501         __sim_round_mode_thread.
57502         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
57503         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
57504         and global __sim_exceptions_global.
57505         (__sim_disabled_exceptions): Change to thread-local
57506         __sim_disabled_exceptions_thread and global
57507         __sim_disabled_exceptions_global.
57508         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57509         and global __sim_round_mode_global.
57510         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
57511         (SIM_SET_GLOBAL): Likewise.
57512         * sysdeps/powerpc/soft-fp/sfp-machine.h
57513         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
57514         __sim_round_mode_thread.
57515         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
57516         __sim_disabled_exceptions_thread.
57517         (__sim_exceptions): Change to __sim_exceptions_thread.
57518         (__sim_disabled_exceptions): Change to
57519         __sim_disabled_exceptions_thread.
57520         (__sim_round_mode): Change to __sim_round_mode_thread.
57521         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
57522         thread-local floating-point state and set global state from it as
57523         needed.
57524         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
57525         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
57526         (__sim_disabled_exceptions): Remove extern declaration.
57527         (feenableexcept): Use thread-local floating-point state and set
57528         global state from it as needed.
57529         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
57530         extern declaration.
57531         (__sim_disabled_exceptions): Likewise.
57532         (__sim_round_mode): Likewise.
57533         (__fegetenv): Use thread-local floating-point state.
57534         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
57535         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57536         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
57537         floating-point state and set global state from it as needed.
57538         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
57539         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
57540         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
57541         Likewise.
57542         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
57543         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
57544         Likewise.
57545         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
57546         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
57547         Use __sim_round_mode_thread.
57548         * math/test-fenv-tls.c: New file.
57549         * math/Makefile (tests): Add test-fenv-tls.
57550         ($(objpfx)test-fenv-tls): Depend on
57551         $(common-objpfx)nptl/libpthread.so.
57553 2013-11-19  Andreas Schwab  <schwab@suse.de>
57555         * locale/programs/locale.c (show_info): Decode wordarray elements.
57556         * locale/categories.def (LC_MONETARY): Add element for
57557         _NL_MONETARY_CRNCYSTR.
57558         * locale/C-monetary.c (conversion_rate): New variable.
57559         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
57560         element.
57562 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
57564         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57565         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57567 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57569         * elf/Makefile (tst-auxv): New test.
57570         * elf/tst-auxv.c: New
57571         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57573 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57575         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57576         (hidden_proto): Caller changed.
57577         (hidden_tls_proto): New macro.
57578         (libc_hidden_tls_proto): Likewise.
57579         (rtld_hidden_tls_proto): Likewise.
57580         (libm_hidden_tls_proto): Likewise.
57581         (libresolv_hidden_tls_proto): Likewise.
57582         (librt_hidden_tls_proto): Likewise.
57583         (libdl_hidden_tls_proto): Likewise.
57584         (libnss_files_hidden_tls_proto): Likewise.
57585         (libnsl_hidden_tls_proto): Likewise.
57586         (libnss_nisplus_hidden_tls_proto): Likewise.
57587         (libutil_hidden_tls_proto): Likewise.
57589 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57591         [BZ #10253]
57592         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57593         (decompose_rpath): Defer expansion to fillin_rpath.
57594         (_dl_init_paths): Pass linkmap to fillin_rpath.
57596 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57598         * benchtests/Makefile: Add strsep.
57599         * benchtests/bench-strsep.c: New file: strsep benchtest.
57600         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57602 2013-11-18  Andreas Schwab  <schwab@suse.de>
57604         * locale/programs/locale.c (show_info) [case byte]: Check for
57605         '\377' instead of '\177'.
57606         * locale/C-monetary.c (not_available): Always use "\377".
57607         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57608         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57609         detect unavailable sign_posn locale elements.
57610         * locale/localeconv.c (__localeconv): For grouping and
57611         mon_grouping handle "\177" and "\377" like no grouping.
57612         (INT_ELEM): New macro.  Use it to set all numeric members.
57613         * locale/programs/ld-monetary.c (monetary_read)
57614         <tok_mon_grouping>: Normalize single -1 to the empty string.
57615         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57616         Likewise.
57618 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57620         [BZ #16055]
57621         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
57622         when we match (nil).
57623         * stdio-common/tst-sscanf.c (struct test): Add testcase.
57625 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
57627         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
57628         (NO_TEST_INLINE): Update value.
57629         (ERRNO_UNCHANGED): Likewise.
57630         (ERRNO_EDOM): Likewise.
57631         (ERRNO_ERANGE): Likewise.
57632         (IGNORE_RESULT): Likewise.
57633         (check_float_internal): Check signs of NaN results if
57634         TEST_NAN_SIGN used.
57635         (check_complex): Pass TEST_NAN_SIGN flag through to second
57636         check_float_internal call.
57637         (copysign_test_data): Add tests with quiet NaNs as second
57638         argument.  Use TEST_NAN_SIGN.
57639         (fabs_test_data): Add test of negative quiet NaN argument.  Use
57640         TEST_NAN_SIGN.
57641         (signbit_test_data): Add tests of quiet NaN argument.
57642         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
57644         * math/gen-libm-test.pl (show_exceptions): Take extra argument
57645         $ignore_result.
57646         (parse_args): Handle function results specified as IGNORE.
57647         * math/libm-test.inc (IGNORE_RESULT): New macro.
57648         (check_float_internal): Do not check numerical result if flag
57649         IGNORE_RESULT set.
57650         (check_complex): Pass through IGNORE_RESULT to second
57651         check_float_internal call.
57652         (check_int): Do not check numerical result if flag IGNORE_RESULT
57653         set.
57654         (check_long): Likewise.
57655         (check_bool): Likewise.
57656         (check_longlong): Likewise.
57657         (lrint_test_data): Add tests of infinite and NaN arguments.
57658         (lrint_tonearest_test_data): Likewise.
57659         (lrint_towardzero_test_data): Likewise.
57660         (lrint_downward_test_data): Likewise.
57661         (lrint_upward_test_data): Likewise.
57662         (llrint_test_data): Likewise.
57663         (llrint_tonearest_test_data): Likewise.
57664         (llrint_towardzero_test_data): Likewise.
57665         (llrint_downward_test_data): Likewise.
57666         (llrint_upward_test_data): Likewise.
57667         (lround_test_data): Likewise.
57668         (llround_test_data): Likewise.
57670         * math/libm-test.inc (NO_TEST_INLINE): New macro.
57671         (ERRNO_UNCHANGED): Update value.
57672         (ERRNO_EDOM): Likewise.
57673         (ERRNO_ERANGE): Likewise.
57674         (NO_TEST_INLINE_FLOAT): New macro.
57675         (NO_TEST_INLINE_DOUBLE): Likewise.
57676         (enable_test): New function.
57677         (RUN_TEST_f_f): Check enable_test before running test.
57678         (RUN_TEST_2_f): Likewise.
57679         (RUN_TEST_fff_f): Likewise.
57680         (RUN_TEST_c_f): Likewise.
57681         (RUN_TEST_f_f1): Likewise.
57682         (RUN_TEST_fF_f1): Likewise.
57683         (RUN_TEST_fI_f1): Likewise.
57684         (RUN_TEST_ffI_f1): Likewise.
57685         (RUN_TEST_c_c): Likewise.
57686         (RUN_TEST_cc_c): Likewise.
57687         (RUN_TEST_f_i): Likewise.
57688         (RUN_TEST_f_i_tg): Likewise.
57689         (RUN_TEST_ff_i_tg): Likewise.
57690         (RUN_TEST_f_b): Likewise.
57691         (RUN_TEST_f_b_tg): Likewise.
57692         (RUN_TEST_f_l): Likewise.
57693         (RUN_TEST_f_L): Likewise.
57694         (RUN_TEST_fFF_11): Likewise.
57695         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
57696         conditionals.
57697         (cosh_test_data): Likewise.
57698         (exp_test_data): Likewise.
57699         (expm1_test_data): Likewise.
57700         (hypot_test_data): Likewise.
57701         (pow_test_data): Likewise.
57702         (sinh_test_data): Likewise.
57703         (tanh_test_data): Likewise.
57704         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
57705         flags argument.
57707         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
57708         tests with quiet NaN input and output.
57709         (acosh_test_data): Likewise.
57710         (asin_test_data): Likewise.
57711         (asinh_test_data): Likewise.
57712         (atan_test_data): Likewise.
57713         (atanh_test_data): Likewise.
57714         (atan2_test_data): Likewise.
57715         (cbrt_test_data): Likewise.
57716         (cos_test_data): Likewise.
57717         (cosh_test_data): Likewise.
57718         (erf_test_data): Likewise.
57719         (erfc_test_data): Likewise.
57720         (exp_test_data): Likewise.
57721         (exp10_test_data): Likewise.
57722         (exp2_test_data): Likewise.
57723         (expm1_test_data): Likewise.
57724         (hypot_test_data): Likewise.
57725         (j0_test_data): Likewise.
57726         (j1_test_data): Likewise.
57727         (jn_test_data): Likewise.
57728         (lgamma_test_data): Likewise.
57729         (log_test_data): Likewise.
57730         (log10_test_data): Likewise.
57731         (log1p_test_data): Likewise.
57732         (log2_test_data): Likewise.
57733         (pow_test_data): Likewise.
57734         (scalb_test_data): Likewise.
57735         (sin_test_data): Likewise.
57736         (sincos_test_data): Likewise.
57737         (sinh_test_data): Likewise.
57738         (tan_test_data): Likewise.
57739         (tanh_test_data): Likewise.
57740         (tgamma_test_data): Likewise.
57741         (y0_test_data): Likewise.
57742         (y1_test_data): Likewise.
57743         (yn_test_data): Likewise.
57745         [BZ #16167]
57746         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
57747         argument being NaN and avoid computations with second argument in
57748         that case.
57749         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57750         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
57751         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57753 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
57755         * locale/iso-639.def: Add Chitwani Tharu (the).
57757 2013-11-14  Andreas Schwab  <schwab@suse.de>
57759         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
57760         word instead of empty string.
57762 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57765         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
57766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57767         (__fe_nomask_env): Likewise.
57769 2013-11-13  Steve Ellcey  <sellcey@mips.com>
57771         * benchtests/bench-timing.h: Include time.h.
57773 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
57775         [BZ #15997]
57776         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
57777         to 3.4.0 for x32.
57778         * sysdeps/unix/sysv/linux/configure: Regenerated.
57780 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
57782         [BZ #16151]
57783         * stdlib/strtod_l.c (round_and_return): Do not consider
57784         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
57785         exponent one less than half the least subnormal exponent.
57786         * stdlib/test-strtod-round-data: Add more tests.
57787         * stdlib/tst-strtod-round.c (tests): Regenerated.
57789 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57791         [BZ #14143]
57792         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
57793         (__fe_mask_env): Likewise.
57794         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
57795         libm_hidden_proto and add function prototype.
57796         (__fe_mask_env): Add function prototype.
57797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57798         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57800         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
57801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57802         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
57804 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57806         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
57807         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
57809 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57811         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
57812         of htab_find_slot().
57814 2013-11-11  David S. Miller  <davem@davemloft.net>
57816         [BZ #16150]
57817         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
57818         symbol in the non-vis3 case in static builds.
57819         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
57820         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
57821         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
57822         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
57824 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
57826         [BZ #387]
57827         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
57828         it is empty.
57830 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57832         * benchtests/Makefile: Add bench-strtod.
57833         * benchtests/bench-strtod.c: New file: strtod benchtest
57835 2013-11-11  Andreas Schwab  <schwab@suse.de>
57837         [BZ #16153]
57838         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
57839         terminating NUL in key length.
57841 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57843         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57844         Add artificial ODP entry for vDSO symbol for PPC64.
57845         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
57846         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
57848 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57850         [BZ #15374]
57851         * nss/getent.c (services_keys): Recognize services starting with digit.
57853 2013-11-06  David S. Miller  <davem@davemloft.net>
57855         [BZ #15985]
57856         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
57857         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
57859 2013-11-06  Will Newton  <will.newton@linaro.org>
57861         * manual/memory.texi (Malloc Examples): Remove register
57862         keyword from examples.
57864 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
57866         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
57868 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
57870         [BZ #6981]
57871         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
57872         depending on [__GCC_IEC_559 > 0].
57873         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
57874         depending on [__GCC_IEC_559_COMPLEX > 0].
57876 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
57878         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
57879         to iso-639.def.
57881 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
57883         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
57885 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
57887         [BZ #16112]
57888         * malloc/malloc (malloc_info): Do not handle first bin as
57889         special case.
57891 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
57893         * locale/iso-639.def: Add Central Nahuatl (nhn).
57895 2013-11-01  Bruno Haible  <bruno@clisp.org>
57897         [BZ #7003]
57898         * manual/math.texi (BSD Random): Specify range upper bound as
57899         in POSIX.
57901 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
57903         * locale/iso-639.def: Add Meadow Mari (mhr).
57905 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
57907         [BZ #14752], [BZ #15763]
57908         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
57909         Validate name.
57910         * rt/tst_shm.c: Add test for escaping directory.
57912 2013-10-31  Andreas Schwab  <schwab@suse.de>
57914         [BZ #15917]
57915         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
57916         followed by 'x' as part of digit sequence.
57917         * stdio-common/tst-sscanf.c (double_tests2): New tests.
57919 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
57921         [BZ #16037]
57922         * configure.ac: allow GNU Make 4.0 and greater.
57923         * configure: Regenerated.
57925 2013-10-30  Will Newton  <will.newton@linaro.org>
57927         [BZ #16038]
57928         * malloc/hooks.c (memalign_check): Limit alignment to the
57929         maximum representable power of two.
57930         * malloc/malloc.c (__libc_memalign): Likewise.
57931         * malloc/tst-memalign.c (do_test): Add test for very
57932         large alignment values.
57933         * malloc/tst-posix_memalign.c (do_test): Likewise.
57935 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57937         [BZ #11087]
57938         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
57939         (munmap_chunk): Likewise.
57940         (mremap_chunk): Likewise.
57942 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57944         [BZ #15799]
57945         * stdlib/div.c (div): Remove obsolete code.
57946         * stdlib/ldiv.c (ldiv): Likewise.
57947         * stdlib/lldiv.c (lldiv): Likewise.
57949 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57951         [BZ #16071]
57952         * nss/nss_files/files-XXX.c (get_contents_ret): New
57953         enumerator.
57954         (get_contents): New function.
57955         (internal_getent): Use it.  Expand size of LINEBUFLEN.
57957 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
57959         * configure.in: Moved to ...
57960         * configure.ac: ... here. Change reference to configure.in
57961         to configure.ac.
57962         * sysdeps/arm/preconfigure.ac: ... here.
57963         configure.in to configure.ac.
57964         * sysdeps/gnu/configure.in: Moved to ...
57965         * sysdeps/gnu/configure.ac: ... here.
57966         * sysdeps/i386/configure.in: Moved to ...
57967         * sysdeps/i386/configure.ac: ... here.
57968         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
57969         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
57970         * sysdeps/mach/configure.in: Moved to ...
57971         * sysdeps/mach/configure.ac: ... here.
57972         * sysdeps/mach/hurd/configure.in: Moved to ...
57973         * sysdeps/mach/hurd/configure.ac: ... here.
57974         * sysdeps/powerpc/configure.in: Moved to ...
57975         * sysdeps/powerpc/configure.ac: ... here.
57976         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
57977         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
57978         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
57979         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
57980         * sysdeps/s390/s390-32/configure.in: Moved to ...
57981         * sysdeps/s390/s390-32/configure.ac: ... here.
57982         * sysdeps/s390/s390-64/configure.in: Moved to ...
57983         * sysdeps/s390/s390-64/configure.ac: ... here.
57984         * sysdeps/sh/configure.in: Moved to ...
57985         * sysdeps/sh/configure.ac: ... here.
57986         * sysdeps/sparc/configure.in: Moved to ...
57987         * sysdeps/sparc/configure.ac: ... here.
57988         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
57989         * sysdeps/unix/sysv/linux/configure.ac: ... here.
57990         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
57991         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
57992         * sysdeps/x86_64/configure.in: Moved to ...
57993         * sysdeps/x86_64/configure.ac: ... here.
57994         * sysdeps/x86_64/preconfigure.in: Moved to ...
57995         * sysdeps/x86_64/preconfigure.ac: ... here.
57996         * aclocal.m4: Change reference to configure.in to configure.ac.
57997         * config.h.in: Likewise.
57998         * manual/install.texi: Likewise.
57999         * manual/maint.texi: Likewise.
58000         * Makefile: Likewise.
58001         * malloc/Makefile: Likewise.
58002         * nscd/Makefile: Likewise.
58003         * Makeconfig: Change reference to configure.in and
58004         preconfigure.in to configure.ac and preconfigure.ac
58005         respectively.
58006         * INSTALL: Regenerated.
58007         * configure: Likewise.
58008         * sysdeps/gnu/configure: Likewise.
58009         * sysdeps/i386/configure: Likewise.
58010         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58011         * sysdeps/mach/configure: Likewise.
58012         * sysdeps/mach/hurd/configure: Likewise.
58013         * sysdeps/powerpc/configure: Likewise.
58014         * sysdeps/powerpc/powerpc32/configure: Likewise.
58015         * sysdeps/powerpc/powerpc64/configure: Likewise.
58016         * sysdeps/s390/s390-32/configure: Likewise.
58017         * sysdeps/s390/s390-64/configure: Likewise.
58018         * sysdeps/sh/configure: Likewise.
58019         * sysdeps/sparc/configure: Likewise.
58020         * sysdeps/unix/sysv/linux/configure: Likewise.
58021         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58022         * sysdeps/x86_64/configure: Likewise.
58023         * sysdeps/x86_64/preconfigure: Likewise.
58025 2013-10-29  Andreas Schwab  <schwab@suse.de>
58027         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58029 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58031         * benchtests/pow-inputs: Add new inputs.
58033         * benchtests/exp-inputs: Add new inputs.
58035         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58036         conditional check for return value.
58037         (__cos32): Likewise.
58039 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58041         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58042         to provide a boost for large inputs with word alignment.
58043         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58044         implementation based on optimized PPC64 strcpy.
58045         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58046         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58047         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58048         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58050 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58052         [BZ #2801]
58053         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58055 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58057         [BZ #14876]
58058         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58059         * time/tst-strptime.c (day_tests): Add testcase.
58061 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58063         [BZ #14029]
58064         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58066 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58068         [BZ #16074]
58069         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58070         MAP_FAILED on error.
58072 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58074         [BZ #16072]
58075         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58076         heap for large requests.
58078 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58080         [BZ #9954]
58081         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58082         result if the result has no associated interface.
58083         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58084         interface for all 127.X.Y.Z addresses.
58086 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58088         * locale/iso-639.def: Add Ligurian (lij)
58090 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58092         [BZ #15825]
58093         * sunrpc/rpc_main.c: Document rpcgen -5.
58095 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58097         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58099 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58101         [BZ #10278]
58102         * posix/glob.c: Match only directories when trailing slash is present.
58103         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58104         (main): Add testcase.
58106 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58108         [BZ #15670]
58109         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58111 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58113         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58114         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58115         AUTH_DES and cindex for FIPS 140-2.
58116         (DES Encryption): Add cindex FIPS 46-3.
58118         * locale/locarchive.h (struct locarhandle): Add fname.
58119         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58120         if an optional argument was specified to --list-archive,
58121         otherwise NULL.
58122         * locale/programs/locarchive.c (show_archive_content): Take new
58123         argument fname and pass it via ah.fname to open_archive.
58124         * locale/programs/localedef.h: Update decl.
58125         (open_archive): If AH->fname is non-null, open that file
58126         rather than the default file name, and don't ignore ENOENT.
58127         (create_archive): Set AH.fname to NULL.
58128         (delete_locales_from_archive): Likewise.
58129         (add_locales_to_archive): Likewise.
58130         * locale/programs/locfile.c (write_all_categories): Likewise.
58132 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
58133             Aldy Hernandez  <aldyh@redhat.com>
58135         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58136         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58137         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58138         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58139         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58140         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58142         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58143         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58144         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58145         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58146         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58147         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58148         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58149         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58150         Likewise.
58151         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58152         Likewise.
58153         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58154         Likewise.
58155         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58156         Likewise.
58157         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58158         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58159         Likewise.
58160         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58161         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58162         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58163         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58164         Likewise.
58165         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58166         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58167         * sysdeps/powerpc/preconfigure: Likewise.
58168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58169         Likewise.
58170         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58171         Replace contents of file by #include of <fenv_libc.h>.
58172         * sysdeps/powerpc/soft-fp/sfp-machine.h
58173         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58174         and <sys/prctl.h>.
58175         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58176         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58177         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58180         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58182         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58183         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58184         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58186         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58188         Allow copysignl PLT reference to be missing.
58190 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
58191             Joseph Myers  <joseph@codesourcery.com
58193         [BZ #15948]
58194         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58195         single character.
58196         (add_to_tablewc): Assert sequence of wide characters is nonempty.
58198 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58200         * elf/tst-tls-dlinfo.c: Don't include tls.h.
58201         * elf/tst-tls1.c: Likewise.
58202         * elf/tst-tls10.h: Likewise.
58203         * elf/tst-tls14.c: Likewise.
58204         * elf/tst-tls2.c: Likewise.
58205         * elf/tst-tls3.c: Likewise.
58206         * elf/tst-tls4.c: Likewise.
58207         * elf/tst-tls5.c: Likewise.
58208         * elf/tst-tls6.c: Likewise.
58209         * elf/tst-tls7.c: Likewise.
58210         * elf/tst-tls8.c: Likewise.
58211         * elf/tst-tls9.c: Likewise.
58212         * elf/tst-tlsmod1.c: Likewise.
58213         * elf/tst-tlsmod13.c: Likewise.
58214         * elf/tst-tlsmod13a.c: Likewise.
58215         * elf/tst-tlsmod14a.c: Likewise.
58216         * elf/tst-tlsmod16a.c: Likewise.
58217         * elf/tst-tlsmod16b.c: Likewise.
58218         * elf/tst-tlsmod2.c: Likewise.
58219         * elf/tst-tlsmod3.c: Likewise.
58220         * elf/tst-tlsmod4.c: Likewise.
58221         * elf/tst-tlsmod5.c: Likewise.
58222         * elf/tst-tlsmod6.c: Likewise.
58224 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
58226         [BZ #12486]
58227         * malloc/malloc.c: remove checks for statistics.
58229 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58231         [BZ #15277]
58232         * inet/inet_net.c (inet_network): Detect additional invalid strings.
58233         * inet/tst-network.c: Add testcase.
58235 2013-10-17  Andreas Schwab  <schwab@suse.de>
58237         [BZ #15218]
58238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
58239         to determine canonical name.
58241 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58243         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
58244         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
58245         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58246         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58247         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58248         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58249         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58250         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58251         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58252         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58253         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58254         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58255         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58256         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58257         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58258         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58260         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58261         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58262         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58265         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58266         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
58267         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
58268         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58269         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58270         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
58271         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58272         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
58273         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58275         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58276         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58277         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58278         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58279         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58280         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58281         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58282         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58283         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58284         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58285         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58286         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58287         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58288         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58289         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58290         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58291         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58292         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58293         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58294         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58295         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58296         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58297         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58298         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58299         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58300         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58302 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
58304         [BZ #16041]
58305         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
58306         make result into a quiet NaN.
58308 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
58310         * soft-fp/adddf3.c: Fix horizontal whitespace.
58311         * soft-fp/addsf3.c: Likewise.
58312         * soft-fp/addtf3.c: Likewise.
58313         * soft-fp/divdf3.c: Likewise.
58314         * soft-fp/divsf3.c: Likewise.
58315         * soft-fp/divtf3.c: Likewise.
58316         * soft-fp/double.h: Likewise.
58317         * soft-fp/eqdf2.c: Likewise.
58318         * soft-fp/eqsf2.c: Likewise.
58319         * soft-fp/eqtf2.c: Likewise.
58320         * soft-fp/extenddftf2.c: Likewise.
58321         * soft-fp/extended.h: Likewise.
58322         * soft-fp/extendsfdf2.c: Likewise.
58323         * soft-fp/extendsftf2.c: Likewise.
58324         * soft-fp/extendxftf2.c: Likewise.
58325         * soft-fp/fixdfdi.c: Likewise.
58326         * soft-fp/fixdfsi.c: Likewise.
58327         * soft-fp/fixdfti.c: Likewise.
58328         * soft-fp/fixsfdi.c: Likewise.
58329         * soft-fp/fixsfsi.c: Likewise.
58330         * soft-fp/fixsfti.c: Likewise.
58331         * soft-fp/fixtfdi.c: Likewise.
58332         * soft-fp/fixtfsi.c: Likewise.
58333         * soft-fp/fixtfti.c: Likewise.
58334         * soft-fp/fixunsdfdi.c: Likewise.
58335         * soft-fp/fixunsdfsi.c: Likewise.
58336         * soft-fp/fixunsdfti.c: Likewise.
58337         * soft-fp/fixunssfdi.c: Likewise.
58338         * soft-fp/fixunssfsi.c: Likewise.
58339         * soft-fp/fixunssfti.c: Likewise.
58340         * soft-fp/fixunstfdi.c: Likewise.
58341         * soft-fp/fixunstfsi.c: Likewise.
58342         * soft-fp/fixunstfti.c: Likewise.
58343         * soft-fp/floatdidf.c: Likewise.
58344         * soft-fp/floatdisf.c: Likewise.
58345         * soft-fp/floatditf.c: Likewise.
58346         * soft-fp/floatsidf.c: Likewise.
58347         * soft-fp/floatsisf.c: Likewise.
58348         * soft-fp/floatsitf.c: Likewise.
58349         * soft-fp/floattidf.c: Likewise.
58350         * soft-fp/floattisf.c: Likewise.
58351         * soft-fp/floattitf.c: Likewise.
58352         * soft-fp/floatundidf.c: Likewise.
58353         * soft-fp/floatundisf.c: Likewise.
58354         * soft-fp/floatunditf.c: Likewise.
58355         * soft-fp/floatunsidf.c: Likewise.
58356         * soft-fp/floatunsisf.c: Likewise.
58357         * soft-fp/floatunsitf.c: Likewise.
58358         * soft-fp/floatuntidf.c: Likewise.
58359         * soft-fp/floatuntisf.c: Likewise.
58360         * soft-fp/floatuntitf.c: Likewise.
58361         * soft-fp/fmadf4.c: Likewise.
58362         * soft-fp/fmasf4.c: Likewise.
58363         * soft-fp/fmatf4.c: Likewise.
58364         * soft-fp/gedf2.c: Likewise.
58365         * soft-fp/gesf2.c: Likewise.
58366         * soft-fp/getf2.c: Likewise.
58367         * soft-fp/ledf2.c: Likewise.
58368         * soft-fp/lesf2.c: Likewise.
58369         * soft-fp/letf2.c: Likewise.
58370         * soft-fp/muldf3.c: Likewise.
58371         * soft-fp/mulsf3.c: Likewise.
58372         * soft-fp/multf3.c: Likewise.
58373         * soft-fp/negdf2.c: Likewise.
58374         * soft-fp/negsf2.c: Likewise.
58375         * soft-fp/negtf2.c: Likewise.
58376         * soft-fp/op-1.h: Likewise.
58377         * soft-fp/op-2.h: Likewise.
58378         * soft-fp/op-4.h: Likewise.
58379         * soft-fp/op-8.h: Likewise.
58380         * soft-fp/op-common.h: Likewise.
58381         * soft-fp/quad.h: Likewise.
58382         * soft-fp/single.h: Likewise.
58383         * soft-fp/soft-fp.h: Likewise.
58384         * soft-fp/sqrtdf2.c: Likewise.
58385         * soft-fp/sqrtsf2.c: Likewise.
58386         * soft-fp/sqrttf2.c: Likewise.
58387         * soft-fp/subdf3.c: Likewise.
58388         * soft-fp/subsf3.c: Likewise.
58389         * soft-fp/subtf3.c: Likewise.
58390         * soft-fp/truncdfsf2.c: Likewise.
58391         * soft-fp/trunctfdf2.c: Likewise.
58392         * soft-fp/trunctfsf2.c: Likewise.
58393         * soft-fp/trunctfxf2.c: Likewise.
58394         * soft-fp/unorddf2.c: Likewise.
58395         * soft-fp/unordsf2.c: Likewise.
58396         * soft-fp/unordtf2.c: Likewise.
58398 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
58400         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
58401         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
58403 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
58405         * elf/dl-libc.c: Clear initfini list after freeing.
58407 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
58409         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
58410         * soft-fp/addsf3.c: Likewise.
58411         * soft-fp/addtf3.c: Likewise.
58412         * soft-fp/divdf3.c: Likewise.
58413         * soft-fp/divsf3.c: Likewise.
58414         * soft-fp/divtf3.c: Likewise.
58415         * soft-fp/double.h: Likewise.
58416         * soft-fp/eqdf2.c: Likewise.
58417         * soft-fp/eqsf2.c: Likewise.
58418         * soft-fp/eqtf2.c: Likewise.
58419         * soft-fp/extenddftf2.c: Likewise.
58420         * soft-fp/extended.h: Likewise.
58421         * soft-fp/extendsfdf2.c: Likewise.
58422         * soft-fp/extendsftf2.c: Likewise.
58423         * soft-fp/extendxftf2.c: Likewise.
58424         * soft-fp/fixdfdi.c: Likewise.
58425         * soft-fp/fixdfsi.c: Likewise.
58426         * soft-fp/fixdfti.c: Likewise.
58427         * soft-fp/fixsfdi.c: Likewise.
58428         * soft-fp/fixsfsi.c: Likewise.
58429         * soft-fp/fixsfti.c: Likewise.
58430         * soft-fp/fixtfdi.c: Likewise.
58431         * soft-fp/fixtfsi.c: Likewise.
58432         * soft-fp/fixtfti.c: Likewise.
58433         * soft-fp/fixunsdfdi.c: Likewise.
58434         * soft-fp/fixunsdfsi.c: Likewise.
58435         * soft-fp/fixunsdfti.c: Likewise.
58436         * soft-fp/fixunssfdi.c: Likewise.
58437         * soft-fp/fixunssfsi.c: Likewise.
58438         * soft-fp/fixunssfti.c: Likewise.
58439         * soft-fp/fixunstfdi.c: Likewise.
58440         * soft-fp/fixunstfsi.c: Likewise.
58441         * soft-fp/fixunstfti.c: Likewise.
58442         * soft-fp/floatdidf.c: Likewise.
58443         * soft-fp/floatdisf.c: Likewise.
58444         * soft-fp/floatditf.c: Likewise.
58445         * soft-fp/floatsidf.c: Likewise.
58446         * soft-fp/floatsisf.c: Likewise.
58447         * soft-fp/floatsitf.c: Likewise.
58448         * soft-fp/floattidf.c: Likewise.
58449         * soft-fp/floattisf.c: Likewise.
58450         * soft-fp/floattitf.c: Likewise.
58451         * soft-fp/floatundidf.c: Likewise.
58452         * soft-fp/floatundisf.c: Likewise.
58453         * soft-fp/floatunsidf.c: Likewise.
58454         * soft-fp/floatunsisf.c: Likewise.
58455         * soft-fp/floatuntidf.c: Likewise.
58456         * soft-fp/floatuntisf.c: Likewise.
58457         * soft-fp/floatuntitf.c: Likewise.
58458         * soft-fp/fmadf4.c: Likewise.
58459         * soft-fp/fmasf4.c: Likewise.
58460         * soft-fp/fmatf4.c: Likewise.
58461         * soft-fp/gedf2.c: Likewise.
58462         * soft-fp/gesf2.c: Likewise.
58463         * soft-fp/getf2.c: Likewise.
58464         * soft-fp/ledf2.c: Likewise.
58465         * soft-fp/lesf2.c: Likewise.
58466         * soft-fp/letf2.c: Likewise.
58467         * soft-fp/muldf3.c: Likewise.
58468         * soft-fp/mulsf3.c: Likewise.
58469         * soft-fp/multf3.c: Likewise.
58470         * soft-fp/negdf2.c: Likewise.
58471         * soft-fp/negsf2.c: Likewise.
58472         * soft-fp/negtf2.c: Likewise.
58473         * soft-fp/op-1.h: Likewise.
58474         * soft-fp/op-2.h: Likewise.
58475         * soft-fp/op-4.h: Likewise.
58476         * soft-fp/op-8.h: Likewise.
58477         * soft-fp/op-common.h: Likewise.
58478         * soft-fp/quad.h: Likewise.
58479         * soft-fp/single.h: Likewise.
58480         * soft-fp/soft-fp.h: Likewise.
58481         * soft-fp/sqrtdf2.c: Likewise.
58482         * soft-fp/sqrtsf2.c: Likewise.
58483         * soft-fp/sqrttf2.c: Likewise.
58484         * soft-fp/subdf3.c: Likewise.
58485         * soft-fp/subsf3.c: Likewise.
58486         * soft-fp/subtf3.c: Likewise.
58487         * soft-fp/truncdfsf2.c: Likewise.
58488         * soft-fp/trunctfdf2.c: Likewise.
58489         * soft-fp/trunctfsf2.c: Likewise.
58490         * soft-fp/trunctfxf2.c: Likewise.
58491         * soft-fp/unorddf2.c: Likewise.
58492         * soft-fp/unordsf2.c: Likewise.
58493         * soft-fp/unordtf2.c: Likewise.
58495 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
58497         [BZ #15672]
58498         * misc/error.c (error_tail): Fix possible buffer overflow.
58500 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
58502         [BZ #13028]
58503         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
58504         address.
58506 2013-10-14  P. J. McDermott  <pj@pehjota.net>
58508         [BZ #832]
58509         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
58510         testing pipefail option.
58512 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58514         * soft-fp/double.h: Indent preprocessor directives inside #if.
58515         * soft-fp/extended.h: Likewise.
58516         * soft-fp/op-2.h: Likewise.
58517         * soft-fp/op-4.h: Likewise.
58518         * soft-fp/op-common.h: Likewise.
58519         * soft-fp/quad.h: Likewise.
58520         * soft-fp/single.h: Likewise.
58521         * soft-fp/soft-fp.h: Likewise.
58523 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
58525         * iconv/iconv_prog.c: Fix typos.
58526         * stdio-common/psiginfo-data.h: Likewise.
58528 2013-10-12   Reuben Thomas <rrt@sc3d.org>
58530         [BZ #15764]
58531         * locale/setlocale.c: Fix typo.
58533 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58535         [BZ #16036]
58536         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
58537         signaling NaN arguments.
58538         * soft-fp/unordsf2.c (__unordsf2): Likewise.
58539         * soft-fp/unordtf2.c (__unordtf2): Likewise.
58541         [BZ #14910]
58542         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
58543         unordered operands.
58544         * soft-fp/gesf2.c (__gesf2): Likewise.
58545         * soft-fp/getf2.c (__getf2): Likewise.
58546         * soft-fp/ledf2.c (__ledf2): Likewise.
58547         * soft-fp/lesf2.c (__lesf2): Likewise.
58548         * soft-fp/letf2.c (__letf2): Likewise.
58550         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
58551         * soft-fp/eqsf2.c (__eqsf2): Likewise.
58552         * soft-fp/eqtf2.c (__eqtf2): Likewise.
58553         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
58554         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
58555         * soft-fp/fixdfti.c (__fixdfti): Likewise.
58556         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
58557         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
58558         * soft-fp/fixsfti.c (__fixsfti): Likewise.
58559         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
58560         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58561         * soft-fp/fixtfti.c (__fixtfti): Likewise.
58562         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58563         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58564         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58565         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58566         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58567         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58568         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58569         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58570         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58571         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58572         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58573         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58574         * soft-fp/floattidf.c (__floattidf): Likewise.
58575         * soft-fp/floattisf.c (__floattisf): Likewise.
58576         * soft-fp/floattitf.c (__floattitf): Likewise.
58577         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58578         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58579         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58580         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58581         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58582         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58583         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58584         * soft-fp/gesf2.c (__gesf2): Likewise.
58585         * soft-fp/getf2.c (__getf2): Likewise.
58586         * soft-fp/ledf2.c (__ledf2): Likewise.
58587         * soft-fp/lesf2.c (__lesf2): Likewise.
58588         * soft-fp/letf2.c (__letf2): Likewise.
58590         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58591         Undefine and redefine.
58592         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58593         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58594         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58595         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58596         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58597         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58598         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58599         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58600         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58601         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58602         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58603         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58604         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58605         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58606         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58608         [BZ #16032]
58609         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58610         without decrementing exponent if mantissa >= that for the
58611         denominator, not >.
58612         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58613         denominator, not >.  Decrement exponent in < case instead of
58614         incrementing in >= case.
58615         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58616         without decrementing exponent if mantissa >= that for the
58617         denominator, not >.
58619         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
58620         computing saturated result for unsigned overflow.
58622 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58623             Jeff Law  <law@redhat.com>
58625         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
58626         (atan2Mp): Add systemtap probe marker.
58627         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
58628         (__ieee754_log): Add systemtap probe marker.
58629         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
58630         (atanMp): Add systemtap probe marker.
58631         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
58632         (tanMp): Add systemtap probe marker.
58633         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
58634         (__slowexp): Add systemtap probe marker.
58635         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
58636         (__slowpow): Add systemtap probe marker.
58637         * manual/probes.texi: Document probes.
58639 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
58641         [BZ #15362]
58642         * libio/fileops.c (_IO_new_file_write): Return count of bytes
58643         written.
58644         (_IO_new_file_xsputn): Don't return EOF if nothing has been
58645         written.
58646         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
58647         written to buffer but not flushed.
58648         * libio/iofwrite_u.c:  Likewise.
58649         * libio/iopadn.c:  Return bytes returned even if EOF was
58650         encountered.
58651         * libio/iowpadn.c:  Likewise.
58652         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
58653         if _IO_padn does not write the whole buffer.
58654         [!COMPILE_WPRINTF] (PAD): Likewise.
58656 2013-10-10  David S. Miller  <davem@davemloft.net>
58658         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
58659         directory block.
58661 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58663         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
58664         instead of FSF address.
58665         * soft-fp/fixdfti.c: Likewise.
58666         * soft-fp/fixsfti.c: Likewise.
58667         * soft-fp/fixtfti.c: Likewise.
58668         * soft-fp/fixunsdfti.c: Likewise.
58669         * soft-fp/fixunssfti.c: Likewise.
58670         * soft-fp/fixunstfti.c: Likewise.
58671         * soft-fp/floattidf.c: Likewise.
58672         * soft-fp/floattisf.c: Likewise.
58673         * soft-fp/floattitf.c: Likewise.
58674         * soft-fp/floatuntidf.c: Likewise.
58675         * soft-fp/floatuntisf.c: Likewise.
58676         * soft-fp/floatuntitf.c: Likewise.
58677         * soft-fp/trunctfxf2.c: Likewise.
58679         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
58680         * soft-fp/fixdfti.c: Likewise.
58681         * soft-fp/fixsfti.c: Likewise.
58682         * soft-fp/fixtfti.c: Likewise.
58683         * soft-fp/fixunsdfti.c: Likewise.
58684         * soft-fp/fixunssfti.c: Likewise.
58685         * soft-fp/fixunstfti.c: Likewise.
58686         * soft-fp/floattidf.c: Likewise.
58687         * soft-fp/floattisf.c: Likewise.
58688         * soft-fp/floattitf.c: Likewise.
58689         * soft-fp/floatuntidf.c: Likewise.
58690         * soft-fp/floatuntisf.c: Likewise.
58691         * soft-fp/floatuntitf.c: Likewise.
58692         * soft-fp/trunctfxf2.c: Likewise.
58694 2013-10-10  David S. Miller  <davem@davemloft.net>
58696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58698 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
58700         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58701         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
58702         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
58703         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
58704         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
58705         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
58706         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
58708         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
58709         for NaNs before doing comparisons on argument.
58710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
58711         Likewise.
58713 2013-10-10  Will Newton  <will.newton@linaro.org>
58715         * malloc/hooks.c (memalign_check): Ensure the value of bytes
58716         passed to _int_memalign does not overflow.
58718 2013-10-10  Torvald Riegel  <triegel@redhat.com>
58720         * scripts/bench.pl: Add include-sources directive.
58721         * benchtests/README: Update documentation.
58723 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58725         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
58726         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
58727         instead of FP_INIT_ROUNDMODE.
58728         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
58729         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
58731         [BZ #16034]
58732         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
58733         copy class of input value.
58734         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
58735         not handle exceptions.
58736         * soft-fp/negsf2.c (__negsf2): Likewise.
58737         * soft-fp/negtf2.c (__negtf2): Likewise.
58738         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
58740 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
58742         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
58743         semicolon.  From Linux kernel.
58745 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
58747         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
58749 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
58751         [BZ #156]
58752         * manual/socket.texi: Added statement about buffer
58753         for gethostbyname2_r.
58755 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
58757         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
58758         Use .p2align directive instead, throughout.
58759         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58760         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
58761         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
58762         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58763         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58764         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
58765         * sysdeps/x86_64/strchr.S: Likewise.
58766         * sysdeps/x86_64/strrchr.S: Likewise.
58768 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58770         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
58772         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
58774         * sysdeps/generic/math_private.h (__mpsin1): Remove
58775         declaration.
58776         (__mpcos1): Likewise.
58777         (__mpsin): New argument __range_reduce.
58778         (__mpcos): Likewise.
58779         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58780         (slow): Use __mpsin and __mpcos.
58781         (slow1): Likewise.
58782         (slow2): Likewise.
58783         (sloww): Likewise.
58784         (sloww1): Likewise.
58785         (sloww2): Likewise.
58786         (bsloww): Likewise.
58787         (bsloww1): Likewise.
58788         (bsloww2): Likewise.
58789         (cslow2): Likewise.
58790         (csloww): Likewise.
58791         (csloww1): Likewise.
58792         (csloww2): Likewise.
58793         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
58794         range_reduce.  Merge in __mpsin1.
58795         (__mpcos): Likewise.
58796         (__mpsin1): Remove.
58797         (__mpcos1): Likewise.
58799 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
58801         * locale/loadlocale.c (_nl_intern_locale_data): Use
58802         LOCFILE_ALIGNED_P.
58803         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
58804         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
58805         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58806         obstack data is appropriately aligned.
58807         (obstack_int32_grow_fast): Likewise.
58808         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
58809         * locale/programs/locfile.c (add_locale_uint32): Likewise.
58810         (add_locale_uint32_array): Likewise.
58812 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58814         * benchtests/Makefile: Remove ARGLIST and RET variables.
58815         ($(objpfx)bench-%.c): Pass only function name to the script.
58816         * benchtests/README: Update documentation.
58817         * benchtests/acos-inputs: Add new directives.
58818         * benchtests/acosh-inputs: Likewise.
58819         * benchtests/asin-inputs: Likewise.
58820         * benchtests/asinh-inputs: Likewise.
58821         * benchtests/atan-inputs: Likewise.
58822         * benchtests/atanh-inputs: Likewise.
58823         * benchtests/cos-inputs: Likewise.
58824         * benchtests/cosh-inputs: Likewise.
58825         * benchtests/exp-inputs: Likewise.
58826         * benchtests/log-inputs: Likewise.
58827         * benchtests/pow-inputs: Likewise.
58828         * benchtests/rint-inputs: Likewise.
58829         * benchtests/sin-inputs: Likewise.
58830         * benchtests/sinh-inputs: Likewise.
58831         * benchtests/tan-inputs: Likewise.
58832         * benchtests/tanh-inputs: Likewise.
58833         * scripts/bench.pl: Add support for new directives.
58835 2013-10-07  Alan Modra  <amodra@gmail.com>
58837         * README: Fix careless merge.
58839 2013-10-05  Alan Modra  <amodra@gmail.com>
58841         * NEWS: Mention powerpc64le support and bugs fixed.
58842         * README: Both big-endian and little-endian powerpc64 supported.
58844 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58846         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
58847         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
58848         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
58849         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
58851 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
58853         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
58854         match prototype.
58856 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
58858         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
58859         Move -mhard-float appending from
58860         ports/sysdeps/powerpc/powerpc32/Makefile.
58861         [$(with-fp) = yes] (ASFLAGS): Likewise.
58862         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
58863         * sysdeps/powerpc/nofpu: Move directory from
58864         ports/sysdeps/powerpc/nofpu.
58865         * sysdeps/powerpc/soft-fp: Move directory from
58866         ports/sysdeps/powerpc/soft-fp.
58867         * sysdeps/powerpc/powerpc32/405: Move directory from
58868         ports/sysdeps/powerpc/powerpc32/405.
58869         * sysdeps/powerpc/powerpc32/440: Move directory from
58870         ports/sysdeps/powerpc/powerpc32/440.
58871         * sysdeps/powerpc/powerpc32/464: Move directory from
58872         ports/sysdeps/powerpc/powerpc32/464.
58873         * sysdeps/powerpc/powerpc32/476: Move directory from
58874         ports/sysdeps/powerpc/powerpc32/476.
58875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
58876         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
58877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
58878         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
58879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
58880         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
58881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
58882         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
58883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
58884         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
58885         * README: Update for powerpc-*-linux-gnu software floating point
58886         support in libc.
58888         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
58889         case to powerpc/powerpc32*.
58890         * sysdeps/unix/sysv/linux/configure: Regenerated.
58892         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
58893         (_FPU_MASK_OM): Define as 0x04.
58894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
58895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
58896         0x00c10080.
58897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
58898         0x0000003c.
58899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
58901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
58902         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58903         getcontext_e500.
58904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
58905         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58906         setcontext_e500.
58907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
58908         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
58909         and setcontext_e500.
58911 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
58913         * locale/iso-3166.def: Update iso-1366.def and related occurrences
58915 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58917         * manual/threads.texi (Default Thread Attributes): Fix typo.
58919 2013-10-04  Will Newton  <will.newton@linaro.org>
58921         * malloc/Makefile: Add tst-memalign.
58922         * malloc/tst-memalign.c: New file.
58924         * malloc/tst-posix_memalign.c: Add comments.
58925         (do_test): Add comments and call free on all potentially
58926         allocated pointers. Add space after cast.
58928         * malloc/tst-pvalloc.c: Add comments.
58929         (do_test): Add comments and call free on all potentially
58930         allocated pointers. Remove duplicate check for NULL pointer.
58931         Add space after cast.
58933         * malloc/tst-valloc.c: Add comments.
58934         (do_test): Add comments and call free on all potentially
58935         allocated pointers. Remove duplicate check for NULL pointer.
58936         Add space after cast.
58938 2013-10-04  Alan Modra  <amodra@gmail.com>
58940         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58941         Use stdint types in rather than __attribute__((mode())).
58942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58944 2013-10-04  Alan Modra  <amodra@gmail.com>
58946         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58947         Correct handling of unaligned relocs for little-endian.
58948         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58950 2013-10-04  Alan Modra  <amodra@gmail.com>
58952         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
58953         * configure: Regenerate.
58954         * nptl/shlib-versions: Powerpc*le starts at 2.18.
58955         * shlib-versions: Likewise.
58957 2013-10-04  Alan Modra  <amodra@gmail.com>
58959         * string/tester.c (test_memrchr): Increment reported test cycle.
58961 2013-10-04  Alan Modra  <amodra@gmail.com>
58963         * string/test-memcpy.c (do_one_test): When reporting errors, print
58964         string address and don't overrun end of string.
58966 2013-10-04  Alan Modra  <amodra@gmail.com>
58968         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
58969         insrdi.  Make better use of reg selection to speed exit slightly.
58970         Schedule entry path a little better.  Remove useless "are we done"
58971         checks on entry to main loop.  Handle wrapping around zero address.
58972         Correct main loop count.  Handle single left-over word from main
58973         loop inline rather than by using loop_small.  Remove extra word
58974         case in loop_small caused by wrong loop count.  Add little-endian
58975         support.
58976         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58977         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
58978         cache hint.
58979         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58980         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
58981         support.  Avoid rlwimi.
58982         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
58984 2013-10-04  Alan Modra  <amodra@gmail.com>
58986         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
58987         insrdi.  Formatting.
58988         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
58989         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58990         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
58991         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58992         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58993         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
58995 2013-10-04  Alan Modra  <amodra@gmail.com>
58997         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
58998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58999         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59000         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59001         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59002         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59003         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59004         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59005         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59006         use of regs.  Use power7 mtocrf.  Tidy function tails.
59008 2013-10-04  Alan Modra  <amodra@gmail.com>
59010         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59011         Formatting.  Consistently use rXXX register defines or rN defines.
59012         Use early exit labels that avoid restoring unused non-volatile regs.
59013         Make cr field use more consistent with rWORDn compares.  Rename
59014         regs used as shift registers for unaligned loop, using rN defines
59015         for short lifetime/multiple use regs.
59016         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59017         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59018         addi 1,1,64 to pop stack frame.  Simplify return value code.
59019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59021 2013-10-04  Alan Modra  <amodra@gmail.com>
59023         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59024         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59025         rather than rlwimi.
59026         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59027         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59028         little-endian support.  Correct typos.
59029         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59030         rather than rlwimi.
59031         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59032         in loop and entry code to keep "and." results.
59033         (strchr): Add little-endian support.  Comment.  Move cntlzd
59034         earlier in tail.
59035         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59037 2013-10-04  Alan Modra  <amodra@gmail.com>
59039         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59040         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59041         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59042         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59044 2013-10-04  Alan Modra  <amodra@gmail.com>
59046         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59047         (rTMP): Define as r11.
59048         (strcmp): Add little-endian support.  Optimise tail.
59049         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59050         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59051         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59052         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59053         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59054         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59055         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59057 2013-10-04  Alan Modra  <amodra@gmail.com>
59059         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59060         little-endian support.  Remove unnecessary "are we done" tests.
59061         Handle "s" wrapping around zero and extremely large "size".
59062         Correct main loop count.  Handle single left-over word from main
59063         loop inline rather than by using small_loop.  Correct comments.
59064         Delete "zero" tail, use "end_max" instead.
59065         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59067 2013-10-04  Alan Modra  <amodra@gmail.com>
59069         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59070         support.  Don't branch over align.
59071         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59072         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59073         support.  Rearrange tmp reg use to suit.  Comment.
59074         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59076 2013-10-04  Alan Modra  <amodra@gmail.com>
59078         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59080 2013-10-04  Alan Modra  <amodra@gmail.com>
59082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59083         conditional form of branch and link when obtaining pc.
59084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59086 2013-10-04  Alan Modra  <amodra@gmail.com>
59088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59089         HIWORD/LOWORD.
59090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59093 2013-10-04  Alan Modra  <amodra@gmail.com>
59095         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59096         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59097         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59098         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59099         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59100         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59101         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59102         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59103         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59104         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59106 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59107             Alistair Popple <alistair@ozlabs.au.ibm.com>
59108             Alan Modra <amodra@gmail.com>
59110         [BZ #15723]
59111         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59112         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59113         _dl_hwcap access for little-endian.
59114         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59115         destroy vmx regs when saving unaligned.
59116         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59117         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59118         destroy vmx regs when saving unaligned.
59120 2013-10-04  Alan Modra  <amodra@gmail.com>
59122         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59123         Don't use a union to pack hi/low value.
59125 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59127         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59128         for little-endian.
59129         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59130         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59131         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59132         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59133         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59135 2013-10-04  Alan Modra  <amodra@gmail.com>
59137         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59138         constants to usual value for .cst8 section, and remove redundant
59139         high address load.
59140         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59141         constant for 0x1p52.  Load little-endian words of double from
59142         correct stack offsets.
59144 2013-10-04  Alan Modra  <amodra@gmail.com>
59146         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59147         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59148         words of double from correct stack offsets.
59149         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59150         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59151         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59152         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59153         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59154         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59155         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59156         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59157         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59158         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59159         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59160         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59161         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59162         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59163         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59164         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59165         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59167 2013-10-04  Alan Modra  <amodra@gmail.com>
59169         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59170         64-bit int/double union.
59171         (_FPU_SETCW): Likewise.
59172         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59173         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59175 2013-10-04  Alan Modra  <amodra@gmail.com>
59177         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59178         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59180 2013-10-04  Alan Modra  <amodra@gmail.com>
59182         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59183         use vector int constants.
59184         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59186 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59188         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59189         array with long long.
59190         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59191         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59192         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59193         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59194         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59195         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59196         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59197         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59198         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59199         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59200         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59201         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59202         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59204 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59206         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59207         (__signbit): Likewise.  Correct for little-endian.
59208         (__signbitl): Call __signbit.
59209         (lrint): Correct for little-endian.
59210         (lrintf): Call lrint.
59212 2013-10-04  Alan Modra  <amodra@gmail.com>
59214         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59215         union 32-bit int array member with 64-bit int array.
59216         (t515, tm256): Double rather than long double.
59217         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59219 2013-10-04  Alan Modra  <amodra@gmail.com>
59221         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59222         Delete.
59223         (IEEE854_LONG_DOUBLE_BIAS): Delete.
59224         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59225         version of math_ldbl.h.
59227 2013-10-04  Alan Modra  <amodra@gmail.com>
59229         [BZ #15734], [BZ #15735]
59230         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
59231         all uses of ieee875 long double macros and unions.  Simplify test
59232         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
59233         ldbl_extract_mantissa value for ix,iy exponents.  Properly
59234         normalize after ldbl_extract_mantissa, and don't add hidden bit
59235         already handled.  Don't treat low word of ieee854 mantissa like
59236         low word of IBM long double and mask off bit when testing for
59237         zero.
59238         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
59239         all uses of ieee875 long double macros and unions.  Simplify tests
59240         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
59241         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
59242         two1022, instead use their values.  Recognise that tests for large
59243         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
59244         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
59245         Rewrite all uses of ieee875 long double macros and unions.  Simplify
59246         test for 0.0L and nan.  Correct negation.
59247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
59248         ieee875 long double macros and unions.  Correct output for large
59249         magnitude x.  Correct absolute value calculation.
59250         (__erfcl): Likewise.
59251         * math/libm-test.inc: Add tests for errors discovered in IBM long
59252         double versions of fmodl, remainderl, erfl and erfcl.
59254 2013-10-04  Alan Modra  <amodra@gmail.com>
59256         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
59257         all uses of ieee854 long double macros and unions.  Simplify tests
59258         for long doubles that are fully specified by the high double.
59259         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
59260         Likewise.
59261         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59262         Remove dead code too.
59263         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
59264         (__ieee754_ynl): Likewise.
59265         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
59266         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
59267         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
59268         Remove dead code too.
59269         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
59270         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
59271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
59272         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
59273         Simplify.
59274         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
59275         Simplify.
59276         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59277         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
59278         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
59279         Comment on variable precision.
59280         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
59281         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59282         Likewise.
59283         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
59284         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59285         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59286         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
59287         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
59289 2013-10-04  Alan Modra  <amodra@gmail.com>
59291         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
59292         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
59293         all uses of ieee854 long double macros and unions.
59294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
59295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59296         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
59297         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
59298         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
59299         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59300         Likewise.
59301         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
59302         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59303         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
59304         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59305         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
59306         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
59307         Simplify sign and nan test too.
59308         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
59309         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
59310         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
59311         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
59312         Likewise.
59313         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59314         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
59315         Likewise.
59316         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59317         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
59318         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
59319         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
59320         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
59321         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
59323 2013-10-04  Alan Modra  <amodra@gmail.com>
59325         * stdio-common/printf_size.c (__printf_size): Don't use
59326         union ieee854_long_double in fpnum union.
59327         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
59328         signbit macro to retrieve sign from long double.
59329         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
59330         retrieve sign from long double.
59331         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
59332         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
59333         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
59334         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59335         * math/test-misc.c (main): Don't use union ieee854_long_double.
59337 2013-10-04  Alan Modra  <amodra@gmail.com>
59339         [BZ #15680]
59340         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
59341         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
59342         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
59343         calculation.  Remove unnecessary test for denormal exponent.
59344         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
59345         Correct handling of denormals.  Avoid undefined shift behaviour.
59346         Correct normalisation of low mantissa when low double is denormal.
59347         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
59348         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
59349         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
59350         Correct normalisation of low mantissa.  Test for overflow of high
59351         mantissa and normalise.
59352         (ldbl_nearbyint): Use more readable constant for two52.
59353         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
59354         (__mpn_construct_long_double): Fix test for overflow of high
59355         mantissa and correct normalisation.  Avoid undefined shift.
59357 2013-10-04  Alan Modra  <amodra@gmail.com>
59359         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59360         (union ibm_extended_long_double): Define as an array of ieee754_double.
59361         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
59362         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
59363         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
59364         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59365         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59366         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
59367         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59368         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59369         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59370         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
59371         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59373 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
59375         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
59376         page size instead of calling getpagesize.
59378         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
59379         (LOCFILE_ALIGN_MASK): Likewise.
59380         (LOCFILE_ALIGN_UP): Likewise.
59381         (LOCFILE_ALIGNED_P): Likewise.
59382         * locale/programs/ld-collate.c (collate_output): Use the new
59383         macros instead of __alignof__ (int32_t).
59384         * locale/weight.h (findidx): Likewise.
59386 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
59388         [BZ #431]
59389         * manual/string.texi: Fix strncat and wcsncat.
59391 2013-10-03  Brooks Moses  <bmoses@google.com>
59393         [BZ #15915]
59394         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
59395         * Makerules: ...here, and adjust associated comments.
59397 2013-10-02  Will Newton  <will.newton@linaro.org>
59399         * malloc/Makefile: Add tst-pvalloc.
59400         * malloc/tst-pvalloc.c: New file.
59402 2013-10-02  Will Newton  <will.newton@linaro.org>
59404         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
59405         improve test coverage.
59407 2013-10-02  Will Newton  <will.newton@linaro.org>
59409         * malloc/Makefile: Add tst-posix_memalign.
59410         * malloc/tst-posix_memalign.c: New file.
59412 2013-10-01  Eric Blake  <eblake@redhat.com>
59414         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
59415         Use __THROWNL rather than __THROW on static functions.
59417 2013-09-30  Petr Machata  <pmachata@redhat.com>
59419         * elf/elf.h (R_AARCH64_ABS16): New macro.
59420         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
59421         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
59422         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
59423         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
59424         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
59425         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
59426         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
59427         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
59428         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
59429         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
59430         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
59431         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
59432         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
59433         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
59434         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
59435         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
59436         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
59437         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
59438         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
59439         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
59440         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
59441         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
59442         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
59443         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
59444         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
59445         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
59446         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
59447         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
59448         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
59449         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
59450         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
59451         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
59452         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
59453         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
59454         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
59455         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
59456         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
59457         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
59458         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
59459         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
59460         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
59461         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
59462         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
59463         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
59464         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
59465         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
59466         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
59467         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
59468         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
59469         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
59470         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
59471         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
59472         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
59473         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
59474         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
59475         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
59476         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
59477         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
59478         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
59479         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
59480         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
59481         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
59482         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
59483         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
59484         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
59485         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
59486         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
59487         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
59488         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
59489         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
59490         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
59491         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
59492         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
59493         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
59494         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
59495         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
59496         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
59497         (R_AARCH64_TLSDESC_LDR): Likewise.
59498         (R_AARCH64_TLSDESC_ADD): Likewise.
59499         (R_AARCH64_TLSDESC_CALL): Likewise.
59501 2013-09-30  Andreas Schwab  <schwab@suse.de>
59503         [BZ #15048]
59504         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
59505         the nss database lookup.
59506         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59509 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
59511         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
59513 2013-09-28  P. J. McDermott  <pj@pehjota.net>
59515         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
59516         ${Bash-specific parameter/pattern/string} parameter expansion.
59517         * sysdeps/unix/make-syscalls.sh: Likewise.
59519 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59521         * sysdeps/sh/stackguard-macros.h: New file.
59523 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
59525         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
59527         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
59528         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
59529         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59530         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
59532 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59534         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
59535         Fix thread ID register.
59537 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
59539         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
59540         [POSIX || UNIX98]: Require rather than permitting all symbols from
59541         <time.h>.
59542         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
59543         element of struct sched_param.
59544         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
59545         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
59546         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
59547         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
59548         constant.
59550 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
59552         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
59553         argument calculation.
59555 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59557         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
59558         Expect macro.
59559         [POSIX] (pthread_attr_t): Do not require type.
59560         [POSIX] (pthread_cond_t): Likewise.
59561         [POSIX] (pthread_condattr_t): Likewise.
59562         [POSIX] (pthread_key_t): Likewise.
59563         [POSIX] (pthread_mutex_t): Likewise.
59564         [POSIX] (pthread_mutexattr_t): Likewise.
59565         [POSIX] (pthread_once_t): Likewise.
59566         [POSIX] (pthread_t): Likewise.
59567         [POSIX-based standards] (pthread_atfork): Expect function.
59569 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59570             Richard Sandiford  <richard@codesourcery.com>
59572         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59573         (swap_endianness_p): New extern variable.
59574         (set_big_endian): New inline function.
59575         (maybe_swap_uint32): Likewise.
59576         (maybe_swap_uint32_array): Likewise.
59577         (maybe_swap_uint32_obstack): Likewise.
59578         * locale/programs/locfile.c: Include <stdbool.h>.
59579         (swap_endianness_p): New variable.
59580         (add_locale_uint32): Call maybe_swap_uint32.
59581         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59582         (write_locale_data): Call maybe_swap_uint32_array.
59583         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59584         maybe_swap_uint32.
59585         (obstack_int32_grow_fast): Likewise.
59586         (output_weightwc): Call maybe_swap_uint32_obstack.
59587         (collate_output): Likewise.
59588         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59589         (OPT_LITTLE_ENDIAN): Likewise.
59590         (options): Add --little-endian and --big-endian options.
59591         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59592         * locale/programs/locarchive.c: Include "locfile.h".
59593         (GET): New macro.
59594         (SET): Likewise.
59595         (INC): Likewise.
59596         (create_archive): Use the new macros to access fields of
59597         structures directly mapped from or written to locale archives.
59598         (oldlocrecentcmp): Likewise.
59599         (enlarge_archive): Likewise.
59600         (insert_name): Likewise.
59601         (add_alias): Likewise.
59602         (add_locale): Likewise.
59603         (delete_locales_from_archive): Likewise.
59604         (show_archive_content): Likewise.
59605         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59606         locale data.
59608 2013-09-24  Roland McGrath  <roland@hack.frob.com>
59610         * manual/freemanuals.texi: Updated from (newly) canonical copy at
59611         http://www.gnu.org/doc/freemanuals.texi.
59612         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59614 2013-09-24  Will Newton  <will.newton@linaro.org>
59616         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59617         macro.
59619 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
59621         * locale/hashval.h (compute_hashval): Interpret bytes of key as
59622         unsigned char.
59624 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
59626         * manual/threads.texi (POSIX Threads): Fix a typo.
59628 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59630         [BZ #14547]
59631         * string/tst-strcoll-overflow.c: New test case.
59632         * string/Makefile (xtests): Add tst-strcoll-overflow.
59633         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
59634         cache if string sizes may cause integer overflow.
59636         [BZ #14547]
59637         * string/strcoll_l.c (coll_seq): New members rule, idx,
59638         save_idx and back_us.
59639         (get_next_seq_nocache): New function.
59640         (do_compare_nocache): New function.
59641         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
59642         when malloc fails.
59644 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
59646         [BZ #15754]
59647         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
59648         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
59649         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
59651         [BZ #15754]
59652         * elf/Makefile (tests): Add tst-ptrguard1.
59653         (tests-static): Add tst-ptrguard1-static.
59654         (tst-ptrguard1-ARGS): Define.
59655         (tst-ptrguard1-static-ARGS): Define.
59656         * elf/tst-ptrguard1.c: New file.
59657         * elf/tst-ptrguard1-static.c: New file.
59658         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
59659         * sysdeps/i386/stackguard-macros.h: Likewise.
59660         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59661         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59662         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59663         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59664         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59665         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59667 2013-09-23  Hector Marco  <hecmargi@upv.es>
59668             Ismael Ripoll  <iripoll@disca.upv.es>
59669             Carlos O'Donell  <carlos@redhat.com>
59671         [BZ #15754]
59672         * sysdeps/generic/stackguard-macros.h: Define
59673         __pointer_chk_guard_local and POINTER_CHK_GUARD.
59674         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
59675         Define __pointer_chk_guard_local.
59676         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
59677         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
59679 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
59681         [BZ #15859]
59682         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
59684 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
59686         * include/string.h (__ffs): Declare as hidden.
59687         * string/ffs.c (__ffs): Define as hidden.
59688         * sysdeps/i386/ffs.c (__ffs): Likewise.
59689         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
59690         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
59691         * sysdeps/s390/ffs.c (__ffs): Likewise.
59692         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
59694 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
59696         * NEWS: Mention malloc probes.
59698         * malloc/arena.c (new_heap): New memory_heap_new probe.
59699         (grow_heap): New memory_heap_more probe.
59700         (shrink_heap): New memory_heap_less probe.
59701         (heap_trim): New memory_heap_free probe.
59702         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
59703         (systrim): New memory_sbrk_less probe.
59704         * manual/probes.texi: Document them.
59706         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59707         * manual/probes.texi: Document it.
59709         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
59710         (__libc_realloc): Add memory_realloc_retry probe.
59711         (__libc_memalign): Add memory_memalign_retry probe.
59712         (__libc_valloc): Add memory_valloc_retry probe.
59713         (__libc_pvalloc): Add memory_pvalloc_retry probe.
59714         (__libc_calloc): Add memory_calloc_retry probe.
59715         * manual/probes.texi: Document them.
59717         * malloc/arena.c (get_free_list): Add probe
59718         memory_arena_reuse_free_list.
59719         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
59720         and memory_arena_reuse.
59721         (arena_get2) [!PER_THREAD]: Likewise.
59722         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
59723         memory_arena_reuse_realloc.
59724         * manual/probes.texi: Document them.
59726         * malloc/malloc.c (__libc_free): Add
59727         memory_mallopt_free_dyn_thresholds probe.
59728         (__libc_mallopt): Add multiple memory_mallopt probes.
59729         * manual/probes.texi: Document them.
59731         * malloc/malloc.c: Include stap-probe.h.
59732         (__libc_mallopt): Add memory_mallopt probe.
59733         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
59734         * manual/probes.texi: New.
59735         * manual/Makefile (chapters): Add probes.
59736         * manual/threads.texi: Set next node.
59738 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
59740         [BZ #15963, #13985]
59741         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59742         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
59743         Add `Chinese' to `nan' entry name.
59745 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59747         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
59748         (POLYNOMIAL): Likewise.
59749         (TAYLOR_SINCOS): Likewise.
59750         (TAYLOR_SLOW): Likewise.
59751         (__sin): Use TAYLOR_SINCOS.
59752         (__cos): Likewise.
59753         (slow): Use TAYLOR_SLOW.
59754         (sloww): Likewise.
59755         (bsloww): Likewise.
59756         (csloww): Likewise.
59758 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59760         * stdlib/strtod_l.c: Fix buffer overrun.
59762 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59764         * benchtests/Makefile (bench): Add sincos.
59765         * benchtests/bench-sincos.c: New file.
59767         * math/libm-test.inc (cos_test_data): New test inputs.
59768         (sin_test_data): Likewise.
59770         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
59771         macro.
59772         (__sin): Use it.
59773         (__cos): Likewise.
59774         (slow1): Likewise.
59775         (slow2): Likewise.
59776         (sloww1): Likewise.
59777         (sloww2): Likewise.
59778         (bsloww1): Likewise.
59779         (bsloww2): Likewise.
59780         (cslow2): Likewise.
59781         (csloww1): Likewise.
59782         (csloww2): Likewise.
59784         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
59785         function.
59786         (__sin): Use it.
59787         (__cos): Likewise.
59789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
59790         gotos.
59791         (__cos): Likewise.
59793 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
59795         * config.h.in (HAVE_MIPS_NAN2008): New macro.
59796         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
59797         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
59798         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
59799         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
59800         * elf/cache.c (print_entry): Handle the new cache flags.
59802 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59803             Aldy Hernandez  <aldyh@redhat.com>
59805         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
59806         Change condition to [_SOFT_FLOAT].
59807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
59808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
59809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
59810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
59811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
59812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
59813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
59814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
59815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
59816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
59817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
59818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
59819         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
59820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
59821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
59822         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
59823         declaration.
59825 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59827         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
59828         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59829         (__longjmp): Use LOAD_GP to load saved GPRs.
59830         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
59831         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59832         (__sigsetjmp): Use SAVE_GP to save GPRs.
59834         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
59835         Do not append -msoft-float.
59836         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
59838 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59840         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
59842 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
59844         [BZ #15966]
59845         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
59846         (_FPU_GETCW): Use initial "__" on variable and field names but not
59847         on macro parameter name.
59848         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
59849         parentheses around reference to macro parameter.
59851 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
59853         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
59854         prototype.
59855         (ctype_startup): Use uint32_t in cast and sizeof for
59856         ctype->charnames.
59858 2013-09-11  Jia Liu  <proljc@gmail.com>
59860         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
59861         __daddr_t_defined.
59862         [__FreeBSD__]: Likewise.
59864 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
59866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
59867         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
59868         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
59869         (strchr): Remove __strchr_sse42 ifunc selection.
59870         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
59871         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
59873 2013-09-11  Will Newton  <will.newton@linaro.org>
59875         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
59876         parameter to RES. Remove hardcoded 1000 value.
59877         * benchtests/bench-skeleton.c (main): Pass RES parameter
59878         to TIMING_INIT and multiply result by 1000.
59880 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59884 2013-09-11  Andreas Schwab  <schwab@suse.de>
59886         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
59887         if not defined.
59888         (O_TMPFILE) [__USE_GNU]: Define.
59889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
59890         Define.
59892 2013-09-11  Will Newton  <will.newton@linaro.org>
59894         [BZ #15857]
59895         * malloc/malloc.c (__libc_memalign): Check the value of bytes
59896         does not overflow.
59898 2013-09-11  Will Newton  <will.newton@linaro.org>
59900         [BZ #15856]
59901         * malloc/malloc.c (__libc_valloc): Check the value of bytes
59902         does not overflow.
59904 2013-09-11  Will Newton  <will.newton@linaro.org>
59906         [BZ #15855]
59907         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
59908         does not overflow.
59910 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
59912         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
59913         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59914         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59915         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59916         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59918 2013-09-10  Allan McRae  <allan@archlinux.org>
59920         [BZ #15748]
59921         * manual/arith.texi (Parsing of Floats): Clarify
59922         cross-reference.
59924         [BZ #15849]
59925         * manual/install.texi (Running make install): Mention
59926         --enable-pt-chown.
59927         * INSTALL: Regenerated.
59929 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
59931         * csu/init-first.c (_init): Remove the !SHARED condition around
59932         FPU control word initialization.
59933         * elf/dl-support.c (_dl_fpu_control): New variable.
59934         (_dl_aux_init) <AT_FPUCW>: Initialize it.
59935         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
59936         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
59937         * math/test-fpucw-static.c: New file.
59938         * math/test-fpucw-ieee.c: New file.
59939         * math/test-fpucw-ieee-static.c: New file.
59940         * math/Makefile (tests): Add `test-fpucw-ieee' and
59941         `$(tests-static)'.
59942         (tests-static): New variable.
59943         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
59944         dependency to...
59945         [($(build-shared),yes)]
59946         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
59947         ... this.
59948         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
59949         New dependency.
59951 2013-09-09  Allan McRae  <allan@archlinux.org>
59953         [BZ #15939]
59954         * manual/string.texi (Collation Functions): Fix typo in
59955         strcoll example.
59956         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
59958         [BZ #15893]
59959         * stdlib/isomac.c (get_null_defines): Fix memory leak.
59961         [BZ #15892]
59962         * libio/memstream.c (open_memstream): Fix memory leak.
59963         * libio/wmemstream.c (open_wmemstream): Likewise.
59965         [BZ #15895]
59966         * nscd/netgroupcache.c: Fix nesting of ifdefs.
59968 2013-09-09  Will Newton  <will.newton@linaro.org>
59970         * malloc/Makefile: Add tst-realloc to tests.
59971         * malloc/tst-realloc.c: New file.
59973 2013-09-09  Allan McRae  <allan@archlinux.org>
59975         [BZ #15844]
59976         * COPYING: Update from GNU website to fix FSF address.
59977         * COPYING.LIB: Likewise.
59979 2013-09-06  David S. Miller  <davem@davemloft.net>
59981         * po/zh_TW.po: Update Chinese (traditional) translation from
59982         translation project.
59984 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
59985             Joseph Myers  <joseph@codesourcery.com>
59987         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
59988         "localeinfo.h".
59989         (obstack_chunk_alloc): New macro.
59990         (obstack_chunk_free): Likewise.
59991         (record_offset): New function.
59992         (init_locale_data): Likewise.
59993         (align_locale_data): Likewise.
59994         (add_locale_empty): Likewise.
59995         (add_locale_raw_data): Likewise.
59996         (add_locale_raw_obstack): Likewise.
59997         (add_locale_string): Likewise.
59998         (add_locale_wstring): Likewise.
59999         (add_locale_uint32): Likewise.
60000         (add_locale_uint32_array): Likewise.
60001         (add_locale_char): Likewise.
60002         (start_locale_structure): Likewise.
60003         (end_locale_structure): Likewise.
60004         (start_locale_prelude): Likewise.
60005         (end_locale_prelude): Likewise.
60006         (write_locale_data): Take locale_file structure rather than an
60007         iovec.
60008         * locale/programs/locfile.h: Include "obstack.h".
60009         (struct locale_file): Change to store locale file contents instead
60010         of header.
60011         (init_locale_data): New prototype.
60012         (align_locale_data): Likewise.
60013         (add_locale_empty): Likewise.
60014         (add_locale_raw_data): Likewise.
60015         (add_locale_raw_obstack): Likewise.
60016         (add_locale_string): Likewise.
60017         (add_locale_wstring): Likewise.
60018         (add_locale_uint32): Likewise.
60019         (add_locale_uint32_array): Likewise.
60020         (add_locale_char): Likewise.
60021         (start_locale_structure): Likewise.
60022         (end_locale_structure): Likewise.
60023         (start_locale_prelude): Likewise.
60024         (end_locale_prelude): Likewise.
60025         (write_locale_data): Update prototype.
60026         * locale/programs/3level.h (struct TABLE): Remove result field.
60027         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60028         Use new locale_file interface.
60029         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60030         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60031         * locale/programs/ld-address.c (address_output): Use new
60032         locale_file interface.
60033         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60034         NO_ADD_LOCALE.
60035         (collate_finish): Don't call collseq_table_finalize.
60036         (collate_output): Use new locale_file interface.
60037         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60038         in file.
60039         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60040         (TABLE): Move defines earlier in file.
60041         (ELEMENT): Likewise.
60042         (DEFAULT): Likewise.
60043         (wctrans_table_add): Move macro and inline function earlier in
60044         file.
60045         (struct wctype_table): Move type earlier in file.
60046         (add_locale_wctype_table): New static prototype.
60047         (struct locale_ctype_t): Use logical types instead of struct iovec
60048         pointers for members.
60049         (ctype_output): Use new locale_file interface.
60050         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60051         new locale_file interface.
60052         (allocate_arrays): Update for use of new locale_file interface.
60053         * locale/programs/ld-identification.c (identification_output): Use
60054         new locale_file interface.
60055         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60056         * locale/programs/ld-messages.c (messages_output): Likewise.
60057         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60058         * locale/programs/ld-name.c (name_output): Likewise.
60059         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60060         * locale/programs/ld-paper.c (paper_output): Likewise.
60061         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60062         * locale/programs/ld-time.c (time_output): Likewise.
60064 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60066         * benchtests/Makefile: Add memrchr benchmark.
60067         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60068         benchmark as memrchr.
60069         * benchtests/bench-memrchr-ifunc.c: New file.
60070         * benchtests/bench-memrchr.c: New file.
60072 2013-09-06   Will Newton  <will.newton@linaro.org>
60074         * benchtests/Makefile (string-bench): Add memcpy.
60076 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60077             Cong Wang  <amwang@redhat.com>
60079         [BZ #15850]
60080         * sysdeps/unix/sysv/linux/bits/in.h
60081         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60082         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60083         before __USE_KERNEL_IPV6_DEFS uses.
60084         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60085         IPPROTO_BEETPH.
60086         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60087         sockaddr_in6, or ipv6_mreq.
60089 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60091         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60092         memory access for final bytes in some large inputs.
60093         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60095 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60097         * string/test-memrchr.c: New file.
60098         * string/test-memrchr-ifunc.c: New file.
60099         * string/Makefile: Add new memrchr testcase.
60101 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60103         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60104         fanotify_init returns EPERM.
60106 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60108         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60109         errors.
60110         (top level): Treat second token from macro or constant entries for
60111         allowed headers as allowed.
60112         * include/complex.h: Condition internal declarations on
60113         [!_ISOMAC].
60114         * include/fenv.h: Condition include of <stdbool.h> and internal
60115         declarations on [!_ISOMAC].
60117 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60119         [BZ #15923]
60120         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60122 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60124         * configure.in (--enable-versioning): Remove configure option.
60125         (libc_cv_asm_symver_directive): Remove configure test.
60126         (libc_cv_ld_version_script_option): Likewise.
60127         (VERSIONING): Remove variable and AC_SUBST.
60128         (DO_VERSIONING): Remove AC_DEFINE.
60129         * configure: Regenerated.
60130         * config.h.in (DO_VERSIONING): Remove macro.
60131         * Makerules [$(versioning) = yes]: Change conditionals to
60132         [$(build-shared) = yes].
60133         * config.make.in (versioning): Remove variable.
60134         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60135         [$(build-shared) = yes].
60136         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60137         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60138         * elf/Makefile [$(versioning) = yes]: Change conditionals to
60139         [$(build-shared) = yes].
60140         * extra-lib.mk [$(versioning) = yes]: Likewise.
60141         * hurd/Makefile [$(versioning) = yes]: Likewise.
60142         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60143         [SHARED].
60144         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60145         [SHARED].
60146         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60147         [SHARED && !NO_HIDDEN].
60148         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60149         [SHARED].
60150         [SHARED && DO_VERSIONING]: Likewise..
60151         * libio/Makefile [$(versioning) = yes]: Change conditionals to
60152         [$(build-shared) = yes].
60153         * manual/install.texi (--disable-versioning): Remove
60154         documentation.
60155         * INSTALL: Regenerated.
60156         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60157         to [SHARED].
60158         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60159         [$(build-shared) = yes].
60160         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60161         * sysdeps/i386/i686/multiarch/strstr-c.c
60162         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60163         [SHARED && !NO_HIDDEN].
60164         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60165         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60166         * sysdeps/powerpc/powerpc32/dl-machine.c
60167         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60168         * sysdeps/powerpc/powerpc32/sysdep.h
60169         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60170         to [SHARED && PIC && !NO_HIDDEN].
60171         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60172         conditional to [SHARED].
60174 2013-09-04   Will Newton  <will.newton@linaro.org>
60176         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60177         * benchtests/bench-string.h: Include bench-timing.h instead
60178         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60179         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60180         call to HP_TIMING_DIFF_INIT.
60181         * benchtests/bench-memccpy.c: Use bench-timing.h macros
60182         instead of hp-timing.h macros.
60183         * benchtests/bench-memchr.c: Likewise.
60184         * benchtests/bench-memcmp.c: Likewise.
60185         * benchtests/bench-memcpy.c: Likewise.
60186         * benchtests/bench-memmem.c: Likewise.
60187         * benchtests/bench-memmove.c: Likewise.
60188         * benchtests/bench-memset.c: Likewise.
60189         * benchtests/bench-rawmemchr.c: Likewise.
60190         * benchtests/bench-strcasecmp.c: Likewise.
60191         * benchtests/bench-strcasestr.c: Likewise.
60192         * benchtests/bench-strcat.c: Likewise.
60193         * benchtests/bench-strchr.c: Likewise.
60194         * benchtests/bench-strcmp.c: Likewise.
60195         * benchtests/bench-strcpy.c: Likewise.
60196         * benchtests/bench-strcpy_chk.c: Likewise.
60197         * benchtests/bench-strlen.c: Likewise.
60198         * benchtests/bench-strncasecmp.c: Likewise.
60199         * benchtests/bench-strncat.c: Likewise.
60200         * benchtests/bench-strncmp.c: Likewise.
60201         * benchtests/bench-strncpy.c: Likewise.
60202         * benchtests/bench-strnlen.c: Likewise.
60203         * benchtests/bench-strpbrk.c: Likewise.
60204         * benchtests/bench-strrchr.c: Likewise.
60205         * benchtests/bench-strspn.c: Likewise.
60206         * benchtests/bench-strstr.c: Likewise.
60208 2013-09-04  Will Newton  <will.newton@linaro.org>
60210         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60212 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
60214         [BZ #15427]
60215         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60216         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60217         * math/libm-test.inc (lgamma_test_data): Add more tests.
60218         * sysdeps/i386/fpu/libm-test-ulps: Update.
60219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60221 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
60223         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60225         Add ifunc.
60226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60227         Add strcmp-sse2-unaligned
60228         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
60230 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60232         * Versions.def (libc): Add GLIBC_2.19.
60234 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60236         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
60237         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
60239 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
60241         [BZ #14155]
60242         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
60243         intermediate calculations in recurrence.
60244         (__ieee754_ynf): Likewise.
60245         * math/libm-test.inc (jn_test_data): Do not allow spurious
60246         underflow exception.  Add more tests.
60247         (yn_test_data): Add more tests.
60248         * sysdeps/i386/fpu/libm-test-ulps: Update.
60249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60251 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
60253         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
60255 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60257         * csu/init-first.c: Fix then/than typos.
60258         * locale/programs/ld-collate.c: Likewise.
60259         * locale/programs/linereader.h: Likewise.
60260         * manual/charset.texi: Likewise.
60261         * manual/filesys.texi: Likewise.
60262         * manual/stdio.texi: Likewise.
60263         * manual/string.texi: Likewise.
60264         * stdlib/fmtmsg.c: Likewise.
60265         * sysdeps/i386/stpncpy.S: Likewise.
60266         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60267         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60268         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60269         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60271 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60273         * elf/dl-open.c: Fix typos.
60274         * iconvdata/gbbig5.c: Likewise.
60275         * iconvdata/iso-2022-jp.c: Likewise.
60276         * iconv/gconv_int.h: Likewise.
60277         * iconv/loop.c: Likewise.
60278         * nis/rpcsvc/nis.h: Likewise.
60279         * resolv/ns_name.c: Likewise.
60280         * stdio-common/vfscanf.c: Likewise.
60281         * streams/stropts.h: Likewise.
60282         * sunrpc/rpc_thread.c: Likewise.
60283         * sysdeps/i386/strpbrk.S: Likewise.
60284         * sysdeps/ieee754/k_standard.c: Likewise.
60285         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60286         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60287         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
60288         * sysdeps/mach/hurd/profil.c: Likewise.
60289         * sysdeps/s390/dl-procinfo.h: Likewise.
60290         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
60291         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
60292         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
60293         * sysdeps/x86_64/dl-trampoline.S: Likewise.
60294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60296 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
60298         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
60299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
60301 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
60303         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
60304         aix specific files.
60305         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
60306         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
60307         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
60308         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
60309         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
60310         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
60311         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
60312         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
60314 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60315             Roland McGrath  <roland@hack.frob.com>
60317         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
60318         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
60320 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60322         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
60323         __executable_start symbol instead of _start.
60325 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60327         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
60328         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
60329         Move macros to...
60330         * sysdeps/gnu/ldsodefs.h: ... this new file.
60332         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
60333         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
60334         instead of ELFOSABI_LINUX.
60336         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
60337         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
60338         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
60339         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
60340         Likewise.
60341         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
60342         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
60343         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
60344         Likewise.
60345         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60346         (ibm_extended_long_double): Add ieee_nan member.
60347         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
60348         (do_test): New function.
60350         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
60351         TEST_TRUNC.
60352         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
60353         functions, renamed from truncdfsf_test, trunctfsf_test,
60354         trunctfdf_test.
60355         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
60356         functions.
60357         (do_test): Run all these.
60359 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
60361         * argp/argp-help.c: Fix typos.
60362         * argp/argp-parse.c: Likewise.
60363         * debug/backtracesyms.c: Likewise.
60364         * elf/elf.h: Likewise.
60365         * malloc/malloc.c: Likewise.
60366         * nis/nis_print.c: Likewise.
60367         * resolv/res_comp.c: Likewise.
60368         * stdlib/stdlib.h: Likewise.
60369         * sunrpc/clnt_tcp.c: Likewise.
60370         * sunrpc/clnt_udp.c: Likewise.
60371         * sunrpc/clnt_unix.c: Likewise.
60372         * sysdeps/unix/bsd/ptsname.c: Likewise.
60373         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
60374         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
60375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
60376         Likewise.
60377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
60378         Likewise.
60379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
60380         Likewise.
60381         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60383 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60385         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
60386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60388 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
60390         [BZ #15897]
60391         * dlfcn/Makefile (tests): Add bug-dl-leaf.
60392         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
60393         ($(objpfx)bug-dl-leaf): New rule.
60394         ($(objpfx)bug-dl-leaf.so): Likewise.
60395         ($(objpfx)bug-dl-leaf.out): Likewise.
60396         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
60397         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
60398         * dlfcn/bug-dl-leaf.c: New test.
60399         * dlfcn/bug-dl-leaf-lib.c: Likewise.
60400         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
60401         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
60402         (dlclose): Likewise.
60403         (dlmopen): Likewise.
60405 2013-08-27  Roland McGrath  <roland@hack.frob.com>
60407         * include/netdb.h [!_ISOMAC]:
60408         Don't include <tls.h>.
60409         (h_errno, __libc_h_errno): Move declaration and macros out of
60410         [_LIBC_REENTRANT].
60412         * include/resolv.h [_RESOLV_H_]:
60413         Don't include <tls.h>.
60414         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
60415         * resolv/res_libc.c: Don't include <tls.h>.
60416         (_res): Use __attribute__ ((nocommon)) in place of
60417         __attribute__ ((section (".bss"))).
60419         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
60420         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
60422         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
60424         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
60425         only under [SIOCGIFCONF && SIOCGIFNETMASK].
60427         * resolv/res_mkquery.c: Include <sys/time.h>.
60429         * inet/ifreq.c: Moved to ...
60430         * sysdeps/unix/ifreq.c: ... here.
60431         * inet/ifreq.c: New file, true stub version.
60433         * socket/sa_len.c: New file.
60434         * socket/Makefile (aux): Add it.
60435         * sysdeps/unix/sysv/linux/Makefile
60436         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
60437         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
60438         and #include <socket/sa_len.c>.
60439         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
60440         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
60442         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
60443         * bits/socket.h: ... here.
60445         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
60446         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
60447         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
60449 2013-08-27  Andreas Schwab  <schwab@suse.de>
60451         [BZ #15736]
60452         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
60453         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
60454         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
60455         * string/test-strcasecmp.c (test_main): Run tests in several
60456         locales.
60457         * string/test-strncasecmp.c (test_main): Likewise.
60459         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
60460         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
60461         to __strcasecmp_nonascii and __strncasecmp_nonascii.
60462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
60463         (__strncasecmp_ssse3) [PIC]: Likewise.
60465 2013-08-26  Roland McGrath  <roland@hack.frob.com>
60467         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
60469         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
60470         instead of explicitly declaring xdecrypt.
60471         * nis/nss_nis/nis-publickey.c: Likewise.
60473 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60475         [BZ #15890]
60476         * nscd/aicache.c: Include res_hconf.h.
60477         (addhstaiX): Initialize res_hconf.
60479 2013-08-26  Andreas Schwab  <schwab@suse.de>
60481         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
60482         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
60484 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60486         * nscd/aicache.c (addhstaiX): Fix indentation.
60488 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
60490         * configure.ac: Quote $build_pt_chown test.
60491         * configure: Regenerated.
60493 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
60495         [BZ #15532]
60496         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
60497         * math/s_cexpf.c (__cexpf): Likewise.
60498         * math/s_cexpl.c (__cexpl): Likewise.
60499         * math/libm-test.inc (cexp_test_data): Correct expected return
60500         value for NaN + i0.  Add another test.
60502 2013-08-22  David S. Miller  <davem@davemloft.net>
60504         * po/ca.po: Update Catalan translation from translation project.
60505         * po/uk.po: Add Ukrainian translations from translation project.
60507 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
60509         [BZ #15797]
60510         * math/s_fdim.c (__fdim): Check for infinite arguments if result
60511         is infinite, not alongside NaN test.
60512         * math/s_fdimf.c (__fdimf): Likewise.
60513         * math/s_fdiml.c (__fdiml): Likewise.
60514         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
60515         errno is unchanged.
60517 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
60519         * argp/argp-help.c: Fix typos.
60520         * crypt/speeds.c: Likewise.
60521         * csu/check_fds.c: Likewise.
60522         * elf/dl-load.c: Likewise.
60523         * elf/dl-open.c: Likewise.
60524         * elf/reldep3.c: Likewise.
60525         * elf/reldep.c: Likewise.
60526         * elf/sprof.c: Likewise.
60527         * iconv/iconv_charmap.c: Likewise.
60528         * iconv/skeleton.c: Likewise.
60529         * iconv/strtab.c: Likewise.
60530         * io/lockf64.c: Likewise.
60531         * libio/libioP.h: Likewise.
60532         * resolv/gai_notify.c: Likewise.
60533         * resolv/ns_name.c: Likewise.
60534         * resolv/ns_samedomain.c: Likewise.
60535         * resolv/res_send.c: Likewise.
60536         * stdlib/random.c: Likewise.
60537         * sunrpc/rpc/xdr.h: Likewise.
60538         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
60539         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60540         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60541         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60542         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60543         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60544         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60545         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60546         * sysdeps/mach/hurd/check_fds.c: Likewise.
60547         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60548         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60549         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60550         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60551         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60552         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60553         * sysdeps/pthread/aio_notify.c: Likewise.
60554         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
60555         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
60556         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
60557         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60558         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60560 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60562         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60563         version if bit_Slow_SSE4_2 is set.
60564         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60565         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60567 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60569         [BZ #15867]
60570         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60571         trampoline stack frame information.
60572         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60573         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60574         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60575         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60576         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60577         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60578         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60579         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60580         sa_flags value.
60581         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60582         interrupting a syscall and set with option SA_SIGINFO.
60584 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60586         [BZ #15531]
60587         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60588         argument is infinite.
60589         * math/s_cprojf.c (__cprojf): Likewise.
60590         * math/s_cprojl.c (__cprojl): Likewise.
60591         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60592         * math/libm-test.inc (cproj_test_data): Add more tests.
60594         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60596         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60597         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60598         size.  Use __ffs to determine corresponding shift.
60600 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60601             Roland McGrath  <roland@hack.frob.com>
60603         * Makefile (INSTALL): Remove trailing blank lines from output of
60604         makeinfo.
60606 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60608         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60609         Align 32 bit compat elf_greg to 8 bytes.
60611 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
60613         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60615 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60617         * string/strcoll_l.c (coll_seq): New structure.
60618         (get_next_seq_cached): New function.
60619         (get_next_seq): New function.
60620         (do_compare): New function.
60621         (STRCOLL): Use GNU style definition.  Simplify implementation
60622         by using get_next_seq, get_next_seq_cached and do_compare.
60624 2013-08-16  Florian Weimer  <fweimer@redhat.com>
60626         [BZ #14699]
60627         CVE-2013-4237
60628         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
60629         member.
60630         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
60631         member.
60632         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
60633         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
60634         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
60635         conditional.
60636         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
60637         GETDENTS_64BIT_ALIGNED.
60638         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60639         * manual/filesys.texi (Reading/Closing Directory): Document
60640         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
60641         strongly.
60642         * manual/conf.texi (Limits for Files): Add portability note to
60643         NAME_MAX, PATH_MAX.
60644         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
60646 2013-08-13  Andreas Schwab  <schwab@suse.de>
60648         [BZ #15749]
60649         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
60650         of fabs.
60651         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
60652         LDBL_MAX_EXP >= 16384]: Add tests for it.
60654 2013-08-12  David S. Miller  <davem@davemloft.net>
60656         * version.h (RELEASE): Set to "development".
60657         (VERSION): Set to "2.18.90".
60658         * NEWS: Add 2.19 section.
60660 2013-08-03  David S. Miller  <davem@davemloft.net>
60662         * po/ko.po: Update Korean translation from translation project.
60664 2013-08-01  David S. Miller  <davem@davemloft.net>
60666         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
60667         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
60668         Bilka.
60670 2013-07-30  David S. Miller  <davem@davemloft.net>
60672         * po/fr.po: Update French translation from translation project.
60674 2013-07-28  David S. Miller  <davem@davemloft.net>
60676         * po/cs.po: Update Czech translation from translation project.
60678         * po/sv.po: Update Swedish translation from translation project.
60680 2013-07-27  David S. Miller  <davem@davemloft.net>
60682         * po/eo.po: Update Esperanto translation from translation project.
60684         * po/vi.po: Update Vietnamese translation from translation project.
60686         * po/de.po: Update German translation from translation project.
60688 2013-07-26  David S. Miller  <davem@davemloft.net>
60690         * po/bg.po: Update Bulgarian translation from translation project.
60692         * po/nl.po: Update Dutch translation from translation project.
60693         * po/pl.po: Update Polish translation from translation project.
60694         * po/ru.po: Update Russian translation from translation project.
60696 2013-07-24  David S. Miller  <davem@davemloft.net>
60698         * po/libc.pot: Update.
60700 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60702         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
60703         variable page size.
60704         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60705         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
60706         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
60708 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60710         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
60712 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60713             Andreas Schwab  <schwab@suse.de>
60714             Roland McGrath  <roland@hack.frob.com>
60715             Joseph Myers  <joseph@codesourcery.com>
60716             Carlos O'Donell  <carlos@redhat.com>
60718         [BZ #15755]
60719         * config.h.in: Define HAVE_PT_CHOWN.
60720         * config.make.in (build-pt-chown): New variable.
60721         * configure.in (--enable-pt_chown): New configure option.
60722         * configure: Regenerate.
60723         * login/Makefile: Include Makeconfig.  Build pt_chown only if
60724         build-pt-chown is enabled.
60725         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
60726         pt_chown to fix pty ownership.
60727         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
60728         CLOSE_ALL_FDS.
60729         * manual/install.texi (Configuring and compiling): Mention
60730         --enable-pt_chown. Add @findex for grantpt.
60731         * INSTALL: Regenerate.
60733 2013-07-20  David S. Miller  <davem@davemloft.net>
60735         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
60736         difference between 32-bit and 64-bit.
60738 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
60740         [BZ #15711]
60741         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
60742         Avoid system header dependency with -ffreestanding.
60743         ($(objpfx)bits/syscall%d): Likewise.
60745 2013-07-13  David S. Miller  <davem@davemloft.net>
60747         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
60748         underflows from atanl/atan2l due to bug 15319.
60749         (casinh_test_data): Likewise.
60751 2013-07-07  David S. Miller  <davem@davemloft.net>
60753         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
60755 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
60757         * sysdeps/i386/fpu/libm-test-ulps: Update.
60758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60760 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60762         * configure.in (--enable-lock-elision): Fix message text.
60763         * INSTALL: Regenerate.
60764         * configure: Regenerate.
60766 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60770 2013-07-03  Andreas Jaeger  <aj@suse.de>
60772         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
60773         define.
60774         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
60775         (ptrace_peeksiginfo_args): Add.
60776         (__ptrace_peeksiginfo_flags): Add.
60777         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60778         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60779         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60781 2013-07-03  Allan McRae  <allan@archlinux.org>
60783         * sysdeps/i386/fpu/libm-test-ulps: Update.
60785 2013-07-02  David S. Miller  <davem@davemloft.net>
60787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60789 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
60791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60793 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60795         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
60796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60798 2013-07-02  Andi Kleen <ak@linux.intel.com>
60800         * config.h.in (ENABLE_LOCK_ELISION): Add.
60801         * configure.in (--enable-lock-elision): Add option.
60802         * manual/install.texi: Document --enable lock elision.
60803         * configure: Regenerate
60804         * INSTALL: Regenerate.
60806 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
60808         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
60809         SSE4.2 strcasecmp for libc.a.
60810         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
60812 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60814         [BZ #13304]
60815         * soft-fp/op-common.h (_FP_FMA): New macro.
60816         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
60817         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
60818         (_FP_MUL_MEAT_1_imm): ... here.
60819         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
60820         (_FP_MUL_MEAT_1_wide): ... here.
60821         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
60822         (_FP_MUL_MEAT_1_hard): ... here.
60823         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
60824         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
60825         (_FP_MUL_MEAT_2_wide): ... here.
60826         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
60827         (_FP_MUL_MEAT_2_wide_3mul): ... here.
60828         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
60829         (_FP_MUL_MEAT_2_gmp): ... here.
60830         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
60831         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
60832         (_FP_MUL_MEAT_4_wide): ... here.
60833         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
60834         (_FP_MUL_MEAT_4_gmp): ... here.
60835         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
60836         (_FP_WFRACBITS_DW_S): Likewise.
60837         (_FP_WFRACXBITS_DW_S): Likewise.
60838         (_FP_HIGHBIT_DW_S): Likewise.
60839         (FP_FMA_S): Likewise.
60840         (_FP_FRAC_HIGH_DW_S): Likewise.
60841         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
60842         (_FP_WFRACBITS_DW_D): Likewise.
60843         (_FP_WFRACXBITS_DW_D): Likewise.
60844         (_FP_HIGHBIT_DW_D): Likewise.
60845         (FP_FMA_D): Likewise.
60846         (_FP_FRAC_HIGH_DW_D): Likewise.
60847         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
60848         (_FP_WFRACBITS_DW_E): Likewise.
60849         (_FP_WFRACXBITS_DW_E): Likewise.
60850         (_FP_HIGHBIT_DW_E): Likewise.
60851         (FP_FMA_E): Likewise.
60852         (_FP_FRAC_HIGH_DW_E): Likewise.
60853         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
60854         (_FP_WFRACBITS_DW_Q): Likewise.
60855         (_FP_WFRACXBITS_DW_Q): Likewise.
60856         (_FP_HIGHBIT_DW_Q): Likewise.
60857         (FP_FMA_Q): Likewise.
60858         (_FP_FRAC_HIGH_DW_Q): Likewise.
60859         * soft-fp/fmasf4.c: New file.
60860         * soft-fp/fmadf4.c: Likewise.
60861         * soft-fp/fmatf4.c: Likewise.
60863 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60866         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
60867         Silvermont.
60868         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
60869         macro.
60870         (index_Slow_SSE4_2): Likewise.
60871         (index_Prefer_PMINUB_for_stringop): Likewise.
60872         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
60873         bit_Slow_SSE4_2 is set.
60874         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60875         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60877 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60879         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
60880         rtld_global._dl_hwcap2.
60881         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
60882         POWER8.
60883         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
60884         POWER8 feature descriptions defined in _dl_hwcap2.
60885         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
60886         string handling for POWER8 feature bits.
60887         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
60888         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
60889         _dl_powerpc_cap_flags.
60890         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
60891         * sysdeps/powerpc/rtld-global-offsets.sym
60892         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
60893         _dl_hwcap2 in the rtld_global_ro structure.
60895 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60897         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
60898         hardware capabilities in support of AT_HWCAP2.
60899         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
60900         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
60901         GLRO(dl_hwcap2).
60902         (_dl_show_auxv): Add support for calling _dl_procinfo to display
60903         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
60904         explicitly the unknown a_type display mechanism is used.
60905         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
60906         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
60907         struct member.
60908         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
60909         to macro prototype for AT_HWCAP2 support.
60910         * sysdeps/i386/dl-procinfo.h: Likewise.
60911         * sysdeps/s390/dl-procinfo.h: Likewise.
60912         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
60913         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
60914         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
60915         return -1 for unknown a_type display fallback.
60916         * sysdeps/sparc/dl-procinfo.h: Likewise.
60917         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
60918         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
60920 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
60922         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
60923         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
60925 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
60927         [BZ #12492]
60928         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
60929         mprotect making __stack_prot writable.
60931 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
60932             Joseph Myers  <joseph@codesourcery.com>
60934         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
60935         as being properly aligned.
60937 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
60939         * dlfcn/modstatic5.c: New file.
60940         * dlfcn/tststatic5.c: New file.
60941         * dlfcn/Makefile (tests): Add tststatic5.
60942         (tests-static): Likewise.
60943         (modules-names): Add modstatic5.
60944         (tststatic5-ENV): New variable.
60945         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
60947         [BZ #15022]
60948         * elf/dl-support.c (_dl_main_map): New variable.
60949         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
60950         (_dl_nns, _dl_load_adds): Set to 1.
60951         (_dl_initial_searchlist): Refer to _dl_main_map.
60952         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
60953         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
60954         call to _dl_get_origin.
60955         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
60956         around call_map.
60957         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
60958         * dlfcn/modstatic3.c: New file.
60959         * dlfcn/tststatic3.c: New file.
60960         * dlfcn/tststatic4.c: New file.
60961         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
60962         (tests-static): Likewise.
60963         (modules-names): Add modstatic3.
60964         (tststatic3-ENV, tststatic4-ENV): New variables.
60965         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
60966         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
60968 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
60970         * configure.in (CC): Require GCC version 4.4 or later.
60971         * configure: Regenerated.
60972         * manual/install.texi (Tools for Compilation): Update GCC version
60973         requirement.
60974         * INSTALL: Regenerated.
60976 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60978         [BZ #15674]
60979         * string/test-memcmp.c (check2): New.
60980         (main): Call check2.
60982         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
60984 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
60986         [BZ #15022]
60987         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
60988         over to...
60989         (dl_open_worker) [!SHARED]: ... here.
60991 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60993         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
60995 2013-06-25  Richard Henderson  <rth@redhat.com>
60997         * locale/programs/locarchive.c: Include <libc-internal.h>
60999 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61001         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61002         trailing whitespace removed.
61004 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61006         [BZ #10283]
61007         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61008         * locale/programs/locarchive.c: Include libc-mmap.h.
61009         (prepare_address_space): Take two new outputs (the mmap base and len).
61010         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61011         values.
61012         (create_archive): Declare new mmap base and len values for
61013         prepare_address_space, and store the result in ah.
61014         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61015         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61016         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61017         Declare new mmap base and len values for
61018         prepare_address_space, and store the result in new_ah.
61019         (open_archive): Declare new mmap base and len values for
61020         prepare_address_space, and store the result in ah.
61021         (close_archive): If ah->mmap_base is not NULL, use that and
61022         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61023         * sysdeps/generic/libc-mmap.h: New file.
61025 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61027         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61028         (ALIGN_UP): Likewise.
61029         (PTR_ALIGN_DOWN): Likewise.
61030         (PTR_ALIGN_UP): Likewise.
61032 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61034         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61035         entry mapped to PPC_PLATFORM_POWER8.
61036         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61037         POWER8.
61038         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61039         (_dl_string_platform): Add case for exporting platform position for
61040         POWER8.
61041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61042         search path to sysdeps/powerpc/powerpc32/power8 directory.
61043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61044         search path to sysdeps/powerpc/powerpc64/power8 directory.
61045         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61046         power7 directories.
61047         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61048         power7 directories.
61050 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61052         * INSTALL: Regenerate.
61054         * nscd/connections.c (nscd_init): Fix comment.
61056 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61058         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61060         [BZ #15667]
61061         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61062         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61064 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61066         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61067         DL_DST_REQ_STATIC.
61068         (DL_DST_REQ_STATIC): Remove macro.
61070 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61072         [BZ #7006]
61073         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61074         with a shift of 0 bits.
61076 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61078         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61079         $(tststatic-ENV).
61081 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61083         [BZ #15655]
61084         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61086 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61088         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61089         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61090         accepts -fno-tree-loop-distribute-patterns.
61091         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61092         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61093         recursive call.
61094         * string/memset.c (memset): Likewise.
61095         * string/test-memmove.c (simple_memmove): Disable loop transformation
61096         to library calls.
61097         * string/test-memset.c (simple_memset): Likewise.
61098         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61099         * benchtests/bench-memset.c (simple_memset): Likewise.
61100         * configure: Regenerated.
61102 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61104         * math/test-misc.c (main): Ignore fesetround failure when failures
61105         of subsequent rounding tests would be ignored.
61107         [BZ #15654]
61108         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61109         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61110         * math/fegetenv.c (__fegetenv): Return 0.
61111         * math/fegetexcept.c (fegetexcept): Return 0.
61112         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61113         FE_TONEAREST.
61114         * math/feholdexcpt.c (feholdexcept): Return 0.
61115         * math/fesetenv.c (__fesetenv): Return 0.
61116         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61117         argument FE_TONEAREST.
61118         * math/feupdateenv.c (__feupdateenv): Return 0.
61119         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61121 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61123         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61124         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61125         ($(objpfx)rtld-%.os rules): Use them.
61127 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61129         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61130         fields.
61132 2013-06-17  Roland McGrath  <roland@hack.frob.com>
61134         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61135         length of target pattern, then descending length of dependency pattern.
61136         * configure.in (AWK): Require gawk 3.1.2 or newer.
61137         * manual/install.texi (Tools for Compilation): Say that we do.
61138         * configure: Regenerated.
61140         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61141         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61142         * scripts/sysd-rules.awk: ... this new script.
61143         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61144         than a glob-style pattern.
61146 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
61148         * math/test-misc.c (main): Do not treat incorrectly rounded
61149         conversions as failure unless ROUNDING_TESTS passes.
61151 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
61153         [BZ #15631]
61154         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61155         restore exception state around main square root computation, then
61156         check for inexactness explicitly.
61158         * math/libm-test.inc (fma_test_data): Add another test.
61160 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61162         * manual/threads.texi (Non-POSIX Extensions): New document
61163         node.  Document pthread_getattr_default_np and
61164         pthread_setattr_default_np.
61166         * Versions.def (libpthread): Add GLIBC_2.18.
61167         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61169         Likewise.
61170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61171         Likewise.
61172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61173         Likewise.
61174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61175         Likewise.
61176         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61177         Likewise.
61178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61179         Likewise.
61180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61181         Likewise.
61182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61183         Likewise.
61184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61185         Likewise.
61187 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61190         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61192 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61193             H.J. Lu  <hjl.tools@gmail.com>
61195         [BZ #15627]
61196         * sysdeps/x86_64/rtld-memset.c: Remove file.
61197         * sysdeps/x86_64/rtld-memset.S: New file.
61199 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
61201         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61202         (test_in_one_mode): Take arguments for whether the rounding mode
61203         is supported for each floating-point type.
61204         (do_test): Pass new arguments to test_in_one_mode using
61205         ROUNDING_TESTS.
61207 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61209         * posix/tst-waitid.c (do_test): Distinguish different instances of
61210         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
61211         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61212         before entering the kernel for waitpid.
61214 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61216         * NEWS: Fix note on clock function precision.  Text by Roland
61217         McGrath.
61219 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61221         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61222         it into place only when and if the sanity check passes.
61224 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
61226         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61227         output for whether conversion result is exact.  Take argument
61228         indicating whether type is IBM long double.
61229         (round_for_all): Change need_exact field to ibm_ld.
61230         * stdlib/tst-strtod-round.c (struct exactness): New type.
61231         (struct test): Change bool ld_ok field to struct exactness exact.
61232         (TEST): Update all definitions for change to field.
61233         (tests): Regenerate array contents.
61234         (test_in_one_mode): Take pointer to new field instead of old ld_ok
61235         field value.  Check for IBM long double here.
61236         (do_test): Update calls to test_in_one_mode.
61238 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61240         [BZ #12515]
61241         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
61242         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
61244 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61246         [BZ #15605]
61247         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
61248         generated by the compiler on loop optimizations.
61249         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
61250         general definitions.
61252 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
61254         * math/bug-nextafter.c: Include <math-tests.h>.
61255         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61256         the relevant type.
61257         * math/bug-nexttoward.c: Include <math-tests.h>.
61258         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61259         the relevant type.
61260         * math/test-misc.c: Include <math-tests.h>.
61261         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61262         the relevant type.
61264 2013-06-12  Andreas Jaeger  <aj@suse.de>
61266         * po/ia.po: Update Interlingua translation from translation
61267         project.
61269 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61271         * include/fenv.h: Include stdbool.h.
61272         (struct rm_ctx): New structure.
61273         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61274         Define macro.
61275         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
61276         (SET_RESTORE_ROUNDF): Likewise.
61277         (SET_RESTORE_ROUNDL): Likewise.
61278         (SET_RESTORE_ROUND_NOEX): Likewise.
61279         (SET_RESTORE_ROUND_NOEXF): Likewise.
61280         (SET_RESTORE_ROUND_NOEXL): Likewise.
61281         (SET_RESTORE_ROUND_53BIT): Likewise.
61282         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
61283         (libc_feresetround_noexf_ctx): Likewise.
61284         (libc_feresetround_noexl_ctx): Likewise.
61285         (libc_feholdsetround_53bit_ctx): Likewise.
61286         (libc_feresetround_53bit_ctx): Likewise.
61287         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
61288         (libc_feholdexcept_setround_sse_ctx): New function.
61289         (libc_fesetenv_sse_ctx): Likewise.
61290         (libc_feupdateenv_sse_ctx): Likewise.
61291         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
61292         (libc_feholdexcept_setround_387_ctx): Likewise.
61293         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
61294         (libc_feholdsetround_387_prec_ctx): Likewise.
61295         (libc_feholdsetround_387_ctx): Likewise.
61296         (libc_feholdsetround_387_53bit_ctx): Likewise.
61297         (libc_feholdsetround_sse_ctx): Likewise.
61298         (libc_feresetround_sse_ctx): Likewise.
61299         (libc_feresetround_387_ctx): Likewise.
61300         (libc_feupdateenv_387_ctx): Likewise.
61301         (libc_feholdexcept_setroundf_ctx): Define macro.
61302         (libc_fesetenvf_ctx): Likewise.
61303         (libc_feupdateenvf_ctx): Likewise.
61304         (libc_feholdsetroundf_ctx): Likewise.
61305         (libc_feresetroundf_ctx): Likewise.
61306         (libc_feholdexcept_setround_ctx): Likewise.
61307         (libc_fesetenv_ctx): Likewise.
61308         (libc_feupdateenv_ctx): Likewise.
61309         (libc_feholdsetround_ctx): Likewise.
61310         (libc_feresetround_ctx): Likewise.
61311         (libc_feholdexcept_setroundl_ctx): Likewise.
61312         (libc_feupdateenvl_ctx): Likewise.
61313         (libc_feholdsetroundl_ctx): Likewise.
61314         (libc_feresetroundl_ctx): Likewise.
61315         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
61316         (libc_feresetround_53bit_ctx): Likewise.
61318 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61320         * locale/iso-639.def: Convert to UTF-8.
61322 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
61324         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
61325         (EXCEPTION_TESTS_double): Likewise.
61326         (EXCEPTION_TESTS_long_double): Likewise.
61327         (EXCEPTION_TESTS): Likewise.
61328         * math/libm-test.inc (test_exceptions): Only test exceptions if
61329         EXCEPTION_TESTS (FLOAT).
61331 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61333         * benchtests/Makefile (string-bench): Add strcpy_chk and
61334         stpcpy_chk.
61335         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
61336         * benchtests/bench-stpcpy_chk.c: New file.
61337         * benchtests/bench-strcpy_chk-ifunc.c: New file.
61338         * benchtests/bench-strcpy_chk.c: New file.
61339         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
61340         code.
61341         (do_test): Likewise.
61343 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61345         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
61346         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
61347         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
61348         with tabs where appropriate.
61349         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
61350         dl-procinfo.h.
61351         [PPC_PLATFORM_PPC440]: Likewise.
61352         [PPC_PLATFORM_PPC464]: Likewise.
61353         [PPC_PLATFORM_PPC476]: Likewise.
61354         (_dl_string_platform): Add support for detecting ppc405, ppc440,
61355         ppc464, and ppc476 platform strings merging from ports/
61356         dl-procinfo.h.
61358 2013-06-11  Andreas Schwab  <schwab@suse.de>
61360         [BZ #14991]
61361         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
61362         (from_ucs4_idx): Regenerate.
61363         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
61364         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
61365         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
61366         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
61367         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
61368         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
61369         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
61370         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
61371         from FROM_LOOP and TO_LOOP specific macros.
61372         (BODY): Handle combining characters.
61373         * iconvdata/BIG5HKSCS.irreversible: Update.
61374         * iconvdata/BIG5HKSCS.precomposed: New file.
61375         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
61376         characters.
61377         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
61379 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61381         * include/sys/time.h: Fix indentation and add copyright header.
61383         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
61384         (do_test): Likewise.
61385         * string/test-memchr.c (do_one_test): Likewise.
61386         (do_test): Likewise.
61387         * string/test-memcmp.c (do_one_test): Likewise.
61388         (do_test): Likewise.
61389         * string/test-memcpy.c (do_one_test): Likewise.
61390         (do_test): Likewise.
61391         * string/test-memmem.c (do_one_test): Likewise.
61392         (do_test): Likewise.
61393         (do_random_tests): Likewise.
61394         * string/test-memmove.c (do_one_test): Likewise.
61395         (do_test): Likewise.
61396         * string/test-memset.c (do_one_test): Likewise.
61397         (do_test): Likewise.
61398         * string/test-rawmemchr.c (do_one_test): Likewise.
61399         (do_test): Likewise.
61400         * string/test-strcasecmp.c (do_one_test): Likewise.
61401         (do_test): Likewise.
61402         * string/test-strcasestr.c (do_one_test): Likewise.
61403         (do_test): Likewise.
61404         * string/test-strcat.c (do_one_test): Likewise.
61405         (do_test): Likewise.
61406         * string/test-strchr.c (do_one_test): Likewise.
61407         (do_test): Likewise.
61408         * string/test-strcmp.c (do_one_test): Likewise.
61409         (do_test): Likewise.
61410         * string/test-strcpy.c (do_one_test): Likewise.
61411         (do_test): Likewise.
61412         * string/test-string.h: Likewise.
61413         (test_init): Likewise.
61414         * string/test-strlen.c (do_one_test): Likewise.
61415         (do_test): Likewise.
61416         * string/test-strncasecmp.c (do_one_test): Likewise.
61417         (do_test): Likewise.
61418         * string/test-strncat.c (do_one_test): Likewise.
61419         (do_test): Likewise.
61420         * string/test-strncmp.c (do_one_test): Likewise.
61421         (do_test_limit): Likewise.
61422         (do_test): Likewise.
61423         * string/test-strncpy.c (do_one_test): Likewise.
61424         (do_test): Likewise.
61425         * string/test-strnlen.c (do_one_test): Likewise.
61426         (do_test): Likewise.
61427         * string/test-strpbrk.c (do_one_test): Likewise.
61428         (do_test): Likewise.
61429         * string/test-strrchr.c (do_one_test): Likewise.
61430         (do_test): Likewise.
61431         * string/test-strspn.c (do_one_test): Likewise.
61432         (do_test): Likewise.
61433         * string/test-strstr.c (do_one_test): Likewise.
61434         (do_test): Likewise.
61436         * benchtests/Makefile (string-bench): Add string benchmarks.
61437         * benchtests/bench-bcopy-ifunc.c: New file.
61438         * benchtests/bench-bcopy.c: New file.
61439         * benchtests/bench-bzero-ifunc.c: New file.
61440         * benchtests/bench-bzero.c: New file.
61441         * benchtests/bench-memccpy-ifunc.c: New file.
61442         * benchtests/bench-memccpy.c: New file.
61443         * benchtests/bench-memchr-ifunc.c: New file.
61444         * benchtests/bench-memchr.c: New file.
61445         * benchtests/bench-memcmp-ifunc.c: New file.
61446         * benchtests/bench-memcmp.c: New file.
61447         * benchtests/bench-memmem-ifunc.c: New file.
61448         * benchtests/bench-memmem.c: New file.
61449         * benchtests/bench-memmove-ifunc.c: New file.
61450         * benchtests/bench-memmove.c: New file.
61451         * benchtests/bench-mempcpy-ifunc.c: New file.
61452         * benchtests/bench-mempcpy.c: New file.
61453         * benchtests/bench-memset-ifunc.c: New file.
61454         * benchtests/bench-memset.c: New file.
61455         * benchtests/bench-rawmemchr-ifunc.c: New file.
61456         * benchtests/bench-rawmemchr.c: New file.
61457         * benchtests/bench-stpcpy-ifunc.c: New file.
61458         * benchtests/bench-stpcpy.c: New file.
61459         * benchtests/bench-stpncpy-ifunc.c: New file.
61460         * benchtests/bench-stpncpy.c: New file.
61461         * benchtests/bench-strcasecmp-ifunc.c: New file.
61462         * benchtests/bench-strcasecmp.c: New file.
61463         * benchtests/bench-strcasestr-ifunc.c: New file.
61464         * benchtests/bench-strcasestr.c: New file.
61465         * benchtests/bench-strcat-ifunc.c: New file.
61466         * benchtests/bench-strcat.c: New file.
61467         * benchtests/bench-strchr-ifunc.c: New file.
61468         * benchtests/bench-strchr.c: New file.
61469         * benchtests/bench-strchrnul-ifunc.c: New file.
61470         * benchtests/bench-strchrnul.c: New file.
61471         * benchtests/bench-strcmp-ifunc.c: New file.
61472         * benchtests/bench-strcmp.c: New file.
61473         * benchtests/bench-strcpy-ifunc.c: New file.
61474         * benchtests/bench-strcpy.c: New file.
61475         * benchtests/bench-strcspn-ifunc.c: New file.
61476         * benchtests/bench-strcspn.c: New file.
61477         * benchtests/bench-strlen-ifunc.c: New file.
61478         * benchtests/bench-strlen.c: New file.
61479         * benchtests/bench-strncasecmp-ifunc.c: New file.
61480         * benchtests/bench-strncasecmp.c: New file.
61481         * benchtests/bench-strncat-ifunc.c: New file.
61482         * benchtests/bench-strncat.c: New file.
61483         * benchtests/bench-strncmp-ifunc.c: New file.
61484         * benchtests/bench-strncmp.c: New file.
61485         * benchtests/bench-strncpy-ifunc.c: New file.
61486         * benchtests/bench-strncpy.c: New file.
61487         * benchtests/bench-strnlen-ifunc.c: New file.
61488         * benchtests/bench-strnlen.c: New file.
61489         * benchtests/bench-strpbrk-ifunc.c: New file.
61490         * benchtests/bench-strpbrk.c: New file.
61491         * benchtests/bench-strrchr-ifunc.c: New file.
61492         * benchtests/bench-strrchr.c: New file.
61493         * benchtests/bench-strspn-ifunc.c: New file.
61494         * benchtests/bench-strspn.c: New file.
61495         * benchtests/bench-strstr-ifunc.c: New file.
61496         * benchtests/bench-strstr.c: New file.
61498         * benchtests/Makefile: Disable parallel execution of targets.
61499         (string-bench): Add memcpy.
61500         (benchset): New variable to store a list of benchmark sets.
61501         (bench-func): Renamed from bench.
61502         (bench-set): New target.
61503         (bench): Depend on bench-func and bench-set.
61504         * benchtests/README: Add section on benchmark sets.
61505         * benchtests/bench-memcpy-ifunc.c: New file.
61506         * benchtests/bench-memcpy.c: New file.
61507         * benchtests/bench-string.h: New file.
61509 2013-06-11  Andreas Schwab  <schwab@suse.de>
61511         [BZ #15577]
61512         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
61513         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
61514         values in the triple.
61515         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
61516         terminator in the group key.
61518 2013-06-11  Andreas Jaeger  <aj@suse.de>
61520         * po/zh_TW.po: Update Chinese (traditional) translation from
61521         translation project.
61523 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61525         * include/time.h (__clock_gettime): Add libc_hidden_proto.
61526         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
61527         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
61528         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61529         (clock_getcpuclockid): Likewise.
61530         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
61531         Add weak_alias and libc_hidden_def.
61532         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
61533         * rt/clock_gettime.c (clock_gettime): Rename to
61534         __clock_gettime.  Add weak_alias and libc_hidden_def.
61535         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
61536         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
61537         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
61538         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
61539         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
61540         Likewise.
61541         * rt/clock_settime.c (clock_settime): Rename to
61542         __clock_settime.  Add weak_alias and libc_hidden_def.
61543         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
61545 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
61547         * mach/err_boot.sub: Remove trailing whitespace.
61548         * mach/err_ipc.sub: Likewise.
61549         * mach/err_mach.sub: Likewise.
61551         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
61552         (ROUNDING_TESTS_double): Likewise.
61553         (ROUNDING_TESTS_long_double): Likewise.
61554         (ROUNDING_TESTS): Likewise.
61555         * math/libm-test.inc: Include <math-tests.h>.
61556         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
61557         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61558         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61559         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61561 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61563         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61564         of assigning.
61566 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
61568         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61569         otherwise empty TRANS lines.
61570         * sysdeps/gnu/errlist.c: Regenerated.
61572         * catgets/gencat.c (error_print): Use (void) in function
61573         definition.
61574         * crypt/crypt_util.c (__init_des): Likewise.
61575         * crypt/speeds.c (Stop): Likewise.
61576         (main): Likewise.
61577         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61578         * inet/ruserpass.c (token): Likewise.
61579         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61580         * intl/localealias.c (extend_alias_table): Likewise.
61581         * intl/plural-exp.c (init_germanic_plural): Likewise.
61582         * libio/fcloseall.c (__fcloseall): Likewise.
61583         * libio/genops.c (_IO_flush_all): Likewise.
61584         (_IO_flush_all_linebuffered): Likewise.
61585         (_IO_cleanup): Likewise.
61586         (_IO_iter_begin): Likewise.
61587         (_IO_iter_end): Likewise.
61588         (_IO_list_lock): Likewise.
61589         (_IO_list_unlock): Likewise.
61590         (_IO_list_resetlock): Likewise.
61591         * libio/getchar.c (getchar): Likewise.
61592         * libio/getchar_u.c (getchar_unlocked): Likewise.
61593         * libio/getwchar.c (getwchar): Likewise.
61594         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61595         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61596         * login/getpt.c (__getpt): Likewise.
61597         * login/tst-utmp.c (main): Likewise.
61598         * malloc/hooks.c (__malloc_check_init): Likewise.
61599         * malloc/malloc.c (__malloc_stats): Likewise.
61600         * malloc/mtrace.c (tr_break): Likewise.
61601         (mtrace): Likewise.
61602         (muntrace): Likewise.
61603         * misc/fstab.c (endfsent): Likewise.
61604         * misc/getclktck.c (__getclktck): Likewise.
61605         * misc/getdtsz.c (__getdtablesize): Likewise.
61606         * misc/gethostid.c (gethostid): Likewise.
61607         * misc/getpagesize.c (__getpagesize): Likewise.
61608         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61609         (__get_nprocs): Likewise.
61610         (__get_phys_pages): Likewise.
61611         (__get_avphys_pages): Likewise.
61612         * misc/getttyent.c (getttyent): Likewise.
61613         (setttyent): Likewise.
61614         (endttyent): Likewise.
61615         * misc/getusershell.c (getusershell): Likewise.
61616         (endusershell): Likewise.
61617         (setusershell): Likewise.
61618         (initshells): Likewise.
61619         * misc/hsearch.c (__hdestroy): Likewise.
61620         * misc/sync.c (sync): Likewise.
61621         * misc/syslog.c (closelog_internal): Likewise.
61622         (closelog): Likewise.
61623         * misc/ttyslot.c (ttyslot): Likewise.
61624         * misc/vhangup.c (vhangup): Likewise.
61625         * posix/fork.c (__fork): Likewise.
61626         * posix/getegid.c (__getegid): Likewise.
61627         * posix/geteuid.c (__geteuid): Likewise.
61628         * posix/getgid.c (__getgid): Likewise.
61629         * posix/getpid.c (__getpid): Likewise.
61630         * posix/getppid.c (__getppid): Likewise.
61631         * posix/getuid.c (__getuid): Likewise.
61632         * posix/pause.c (pause): Likewise.
61633         * posix/setpgrp.c (setpgrp): Likewise.
61634         * posix/setsid.c (__setsid): Likewise.
61635         * posix/test-vfork.c (noop): Likewise.
61636         * resolv/gethnamaddr.c (_endhtent): Likewise.
61637         (_gethtent): Likewise.
61638         (ht_endhostent): Likewise.
61639         (gethostent): Likewise.
61640         (dns_service): Likewise.
61641         * stdlib/drand48.c (drand48): Likewise.
61642         * stdlib/lrand48.c (lrand48): Likewise.
61643         * stdlib/mrand48.c (mrand48): Likewise.
61644         * stdlib/rand.c (rand): Likewise.
61645         * stdlib/random.c (__random): Likewise.
61646         * stdlib/setenv.c (clearenv): Likewise.
61647         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
61648         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
61649         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
61650         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
61651         (__get_nprocs): Likewise.
61652         (__get_phys_pages): Likewise.
61653         (__get_avphys_pages): Likewise.
61654         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
61655         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
61656         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
61657         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
61658         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
61659         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
61660         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
61661         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
61662         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
61663         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
61664         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
61665         * sysdeps/mach/hurd/sync.c (sync): Likewise.
61666         * sysdeps/posix/clock.c (clock): Likewise.
61667         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
61668         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
61669         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
61670         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
61671         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
61672         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
61673         (__get_nprocs_conf): Likewise.
61674         (__get_phys_pages): Likewise.
61675         (__get_avphys_pages): Likewise.
61676         * time/clock.c (clock): Likewise.
61677         * time/tzset.c (__tzname_max): Likewise.
61679 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
61681         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
61682         (__bswap_32): Do not use "register".
61683         * crypt/crypt.c (_ufc_doit_r): Likewise.
61684         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
61685         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
61686         * gmon/gmon.c (__monstartup): Likewise.
61687         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
61688         * hurd/hurdmalloc.c (more_memory): Likewise.
61689         (malloc): Likewise.
61690         (free): Likewise.
61691         (realloc): Likewise.
61692         (malloc_fork_prepare): Likewise.
61693         (malloc_fork_parent): Likewise.
61694         (malloc_fork_child): Likewise.
61695         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
61696         (_svcauth_des): Likewise.
61697         * inet/inet_lnaof.c (inet_lnaof): Likewise.
61698         * inet/inet_net.c (inet_network): Likewise.
61699         * inet/inet_netof.c (inet_netof): Likewise.
61700         * inet/rcmd.c (__validuser2_sa): Likewise.
61701         * io/fts.c (fts_open): Likewise.
61702         (fts_load): Likewise.
61703         (fts_close): Likewise.
61704         (fts_read): Likewise.
61705         (fts_children): Likewise.
61706         (fts_build): Likewise.
61707         (fts_stat): Likewise.
61708         (fts_sort): Likewise.
61709         (fts_alloc): Likewise.
61710         (fts_lfree): Likewise.
61711         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
61712         (_IO_file_xsgetn): Likewise.
61713         (_IO_file_xsgetn_mmap): Likewise.
61714         * libio/iofopncook.c (_IO_cookie_read): Likewise.
61715         (_IO_cookie_write): Likewise.
61716         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
61717         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
61718         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
61719         * malloc/obstack.c (_obstack_begin): Likewise.
61720         (_obstack_begin_1): Likewise.
61721         (_obstack_newchunk): Likewise.
61722         (_obstack_allocated_p): Likewise.
61723         (obstack_free): Likewise.
61724         (_obstack_memory_used): Likewise.
61725         * misc/getttyent.c (getttynam): Likewise.
61726         (getttyent): Likewise.
61727         (skip): Likewise.
61728         (value): Likewise.
61729         * misc/getusershell.c (initshells): Likewise.
61730         * misc/syslog.c (__vsyslog_chk): Likewise.
61731         * misc/ttyslot.c (ttyslot): Likewise.
61732         * nis/nis_hash.c (__nis_hash): Likewise.
61733         * posix/fnmatch_loop.c (FCT): Likewise.
61734         * posix/getconf.c (print_all): Likewise.
61735         (main): Likewise.
61736         * posix/getopt.c (exchange): Likewise.
61737         * posix/glob.c (globfree): Likewise.
61738         (prefix_array): Likewise.
61739         (__glob_pattern_type): Likewise.
61740         * resolv/arpa/nameser.h (NS_GET16): Likewise.
61741         (NS_GET32): Likewise.
61742         (NS_PUT16): Likewise.
61743         (NS_PUT32): Likewise.
61744         * resolv/gethnamaddr.c (getanswer): Likewise.
61745         (gethostbyname2): Likewise.
61746         (gethostbyaddr): Likewise.
61747         (_gethtent): Likewise.
61748         (_gethtbyname2): Likewise.
61749         (_gethtbyaddr): Likewise.
61750         * resolv/ns_print.c (dst_s_get_int16): Likewise.
61751         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
61752         * resolv/res_init.c (__res_vinit): Likewise.
61753         (net_mask): Likewise.
61754         * resolv/res_mkquery.c (outchar): Likewise.
61755         (PRINT): Likewise.
61756         * stdio-common/printf_fp.c (outchar): Likewise.
61757         (PRINT): Likewise.
61758         * stdio-common/printf_fphex.c (outchar): Likewise.
61759         (PRINT): Likewise.
61760         * stdio-common/printf_size.c (outchar): Likewise.
61761         (PRINT): Likewise.
61762         * stdio-common/test_rdwr.c (main): Likewise.
61763         * stdio-common/tfformat.c (matches): Likewise.
61764         * stdio-common/vfprintf.c (outchar): Likewise.
61765         (printf_unknown): Likewise.
61766         (buffered_vfprintf): Likewise.
61767         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
61768         * stdio-common/xbug.c (AppendToBuffer): Likewise.
61769         (ReadFile): Likewise.
61770         * stdlib/qsort.c (SWAP): Likewise.
61771         (_quicksort): Likewise.
61772         * stdlib/setenv.c (__add_to_environ): Likewise.
61773         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
61774         * stdlib/strtol_l.c (__strtol_l): Likewise.
61775         * stdlib/tst-strtod.c (main): Likewise.
61776         * stdlib/tst-strtol.c (main): Likewise.
61777         * stdlib/tst-strtoll.c (main): Likewise.
61778         * string/bits/string2.h (__strcmp_cc): Likewise.
61779         (__strcmp_cg): Likewise.
61780         (__strcspn_c1): Likewise.
61781         (__strcspn_c2): Likewise.
61782         (__strcspn_c3): Likewise.
61783         (__strspn_c1): Likewise.
61784         (__strspn_c2): Likewise.
61785         (__strspn_c3): Likewise.
61786         (__strsep_1c): Likewise.
61787         (__strsep_2c): Likewise.
61788         (__strsep_3c): Likewise.
61789         * string/memccpy.c (__memccpy): Likewise.
61790         * string/stpcpy.c (__stpcpy): Likewise.
61791         * string/strcmp.c (strcmp): Likewise.
61792         * string/strrchr.c (strrchr): Likewise.
61793         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
61794         Likewise.
61795         * sysdeps/mach/hurd/getcwd.c
61796         (_hurd_canonicalize_directory_name_internal): Likewise.
61797         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
61798         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
61799         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
61800         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
61801         Likewise, in both definitions.
61802         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
61803         definitions.
61804         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
61805         64] (__bswap_64): Likewise.
61806         * time/test_time.c (main): Likewise.
61807         * time/tzfile.c (__tzfile_read): Likewise.
61808         (__tzfile_compute): Likewise.
61809         * time/tzset.c (__tzset_parse_tz): Likewise.
61810         (tzset_internal): Likewise.
61811         (compute_change): Likewise.
61812         * wcsmbs/wcscat.c (__wcscat): Likewise.
61813         * wcsmbs/wcschr.c (wcschr): Likewise.
61814         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
61815         * wcsmbs/wcscspn.c (wcscspn): Likewise.
61816         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
61817         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
61818         * wcsmbs/wcsspn.c (wcsspn): Likewise.
61819         * wcsmbs/wcsstr.c (wcsstr): Likewise.
61820         * wcsmbs/wmemchr.c (wmemchr): Likewise.
61821         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61822         * wcsmbs/wmemset.c (wmemset): Likewise.
61824 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
61826         * scripts/config.guess: Update to version 2013-05-16.
61827         * scripts/config.sub: Update to version 2013-04-24.
61828         * scripts/install-sh: Update to version 2011-11-20.07.
61829         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
61830         * scripts/move-if-change: Update to version 2012-01-06 07:23.
61832 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
61834         * debug/fgetws_u_chk.c: Fix leading whitespaces.
61835         * elf/sln.c: Likewise.
61836         * hurd/hurd/ioctl.h: Likewise.
61837         * hurd/hurdmalloc.c: Likewise.
61838         * hurd/xattr.c: Likewise.
61839         * include/shlib-compat.h: Likewise.
61840         * inet/ruserpass.c: Likewise.
61841         * libio/iofgets_u.c: Likewise.
61842         * libio/iofgetws_u.c: Likewise.
61843         * locale/programs/ld-identification.c: Likewise.
61844         * locale/programs/ld-time.c: Likewise.
61845         * mach/msg-destroy.c: Likewise.
61846         * nss/nss_files/files-netgrp.c: Likewise.
61847         * resolv/res_data.c: Likewise.
61848         * soft-fp/op-1.h: Likewise.
61849         * soft-fp/op-2.h: Likewise.
61850         * soft-fp/op-4.h: Likewise.
61851         * soft-fp/op-common.h: Likewise.
61852         * stdio-common/printf_fphex.c: Likewise.
61853         * stdlib/strtod_l.c: Likewise.
61854         * sunrpc/rpc/clnt.h: Likewise.
61855         * sysdeps/generic/framestate.c: Likewise.
61856         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61857         * sysdeps/i386/bsd-setjmp.S: Likewise.
61858         * sysdeps/i386/__longjmp.S: Likewise.
61859         * sysdeps/i386/setjmp.S: Likewise.
61860         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61861         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61862         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61863         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61864         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61865         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61866         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61867         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61868         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61869         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61870         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61871         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61872         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61873         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61874         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61875         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61876         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61877         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
61878         * sysdeps/ieee754/support.c: Likewise.
61879         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61880         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
61881         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
61882         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
61883         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
61884         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
61885         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
61886         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
61887         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
61888         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
61889         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
61890         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
61891         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
61892         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
61893         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
61894         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
61895         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
61898 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
61900         * posix/transbug.c: Remove executable mode.
61902 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
61904         * crypt/speeds.c: Remove trailing whitespace.
61905         * dlfcn/default.c: Likewise.
61906         * elf/ifuncdep2.c: Likewise.
61907         * elf/ifuncmain1.c: Likewise.
61908         * elf/ifuncmain1vis.c: Likewise.
61909         * elf/testobj.h: Likewise.
61910         * elf/tst-stackguard1.c: Likewise.
61911         * gmon/sys/gmon.h: Likewise.
61912         * hurd/hurdmsg.c: Likewise.
61913         * hurd/new-fd.c: Likewise.
61914         * hurd/ports-get.c: Likewise.
61915         * iconvdata/ibm1008_420.c: Likewise.
61916         * inet/tst-getni1.c: Likewise.
61917         * inet/tst-getni2.c: Likewise.
61918         * libio/ioungetc.c: Likewise.
61919         * libio/wfiledoalloc.c: Likewise.
61920         * manual/libm-err-tab.pl: Likewise.
61921         * math/w_dremf.c: Likewise.
61922         * misc/ftruncate.c: Likewise.
61923         * posix/bug-glob2.c: Likewise.
61924         * posix/tst-pcre.c: Likewise.
61925         * posix/wait4.c: Likewise.
61926         * resolv/README: Likewise.
61927         * resolv/res_debug.h: Likewise.
61928         * resolv/tst-inet_ntop.c: Likewise.
61929         * setjmp/bug269-setjmp.c: Likewise.
61930         * soft-fp/extended.h: Likewise.
61931         * soft-fp/op-1.h: Likewise.
61932         * soft-fp/op-2.h: Likewise.
61933         * soft-fp/op-4.h: Likewise.
61934         * soft-fp/op-8.h: Likewise.
61935         * soft-fp/testit.c: Likewise.
61936         * stdio-common/bug16.c: Likewise.
61937         * stdlib/random.c: Likewise.
61938         * sunrpc/rpcsvc/rquota.x: Likewise.
61939         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
61940         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61941         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61942         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61943         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61944         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61945         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61946         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61947         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61948         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61949         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61950         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61951         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61952         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61953         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61954         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61955         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61956         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61957         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61958         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61959         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61960         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61961         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
61962         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61963         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61964         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61965         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61966         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61967         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61968         * sysdeps/ieee754/s_lib_version.c: Likewise.
61969         * sysdeps/mach/hurd/check_fds.c: Likewise.
61970         * sysdeps/mach/hurd/getsockname.c: Likewise.
61971         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
61972         * sysdeps/mach/hurd/recvfrom.c: Likewise.
61973         * sysdeps/powerpc/bits/link.h: Likewise.
61974         * sysdeps/powerpc/dl-procinfo.c: Likewise.
61975         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
61976         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
61977         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
61978         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61979         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61980         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
61981         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61982         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
61983         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
61984         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
61985         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61986         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
61987         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
61988         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
61989         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
61990         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61991         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61992         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
61993         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61994         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61995         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
61996         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61997         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61998         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
61999         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62000         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62001         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62002         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62003         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62004         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62005         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62006         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62007         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62008         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62009         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62010         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62011         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62012         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62013         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62014         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62015         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62016         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62017         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62018         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62019         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62020         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62021         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62022         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62023         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62025         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62026         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62027         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62028         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62029         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62030         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62031         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62032         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62033         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62034         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62035         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62036         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62037         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62038         * sysdeps/powerpc/sysdep.h: Likewise.
62039         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62040         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62041         * sysdeps/sh/dl-trampoline.S: Likewise.
62042         * sysdeps/sh/memset.S: Likewise.
62043         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62044         * sysdeps/sh/strlen.S: Likewise.
62045         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62046         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62047         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62048         * sysdeps/sparc/sparc32/rem.S: Likewise.
62049         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62050         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62051         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62052         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62053         * sysdeps/sparc/sparc32/urem.S: Likewise.
62054         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62055         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62056         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62057         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62058         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62059         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62060         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62061         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62062         * sysdeps/unix/bsd/times.c: Likewise.
62063         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62064         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62068         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62069         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62070         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62071         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62072         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62073         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62074         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62075         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62076         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62077         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62078         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62079         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62080         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62081         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62082         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62083         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62084         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62085         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62086         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62087         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62088         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62089         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62090         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62091         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62092         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62093         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62094         * sysdeps/x86_64/strcspn.S: Likewise.
62096 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62098         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62099         generated file.  Regenerate properly from gen-translit.pl.
62100         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62101         locale/C-translit.h.
62103 2013-06-05  Andreas Schwab  <schwab@suse.de>
62105         [BZ #15100]
62106         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62107         week as 6 instead of -1.
62108         * time/tst-strptime.c (day_tests): Add test case.
62110 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62112         * sysdeps/generic/math_private.h
62113         (libc_feholdexcept_setround_53bit): Replace with
62114         libc_feholdsetround_53bit.
62115         (libc_feupdateenv_53bit): Replace with
62116         libc_feresetround_53bit.
62117         (SET_RESTORE_ROUND_53BIT): Adjust.
62119 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62121         * string/test-strchrnul.c: Add copyright header.
62123         * posix/tst-getaddrinfo4.c: Increase test timeout.
62125 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
62127         [BZ #15536]
62128         * math/libm-test.inc (MAX_EXP): Remove
62129         (MIN_EXP): Define.
62130         (ulp): Use MIN_EXP - MANT_DIG.
62131         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62133 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
62135         * po/be.po: Revert last change.
62136         * po/zh_CN.po: Likewise.
62137         * po/header.pot: Likewise.
62139 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
62141         * Makefile ($(common-objpfx)linkobj/libc.so): Define
62142         link-libc-deps to empty as target-specific variable.
62143         * Makerules (link-libc-args): New variable.
62144         (libc-for-link): Likewise.
62145         (link-libc-deps): Likewise.
62146         (lib%.so): Depend on $(link-libc-deps).  Link with
62147         $(link-libc-args).
62148         (build-module): Link with $(link-libc-args).
62149         (build-module-asneeded): Likewise.
62150         (build-module-helper-objlist): Filter out $(link-libc-deps) from
62151         list of objects.
62152         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62153         target-specific variable.
62154         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62155         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62156         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62157         libc.
62158         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62159         libc and ld.so.
62160         ($(objpfx)libpcprofile.so): Likewise.
62161         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62162         libc_nonshared.a.
62163         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62164         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62165         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62166         $(link-libc-deps).
62167         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62168         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62169         * login/Makefile ($(objpfx)libutil.so): Likewise.
62170         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62171         * math/Makefile ($(objpfx)libm.so): Likewise.
62172         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62173         $(objpfx)libnsl.so): Define libc-for-link as target-specific
62174         variable instead of depending directly on libc.
62175         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62176         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62177         $(link-libc-deps).
62178         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62179         libc.
62180         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62181         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62182         ($(objpfx)libanl.so): Likewise.
62183         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62184         ld.so.
62185         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62186         $(link-libc-deps).
62187         * sysdeps/i386/fpu/Makefile: Remove file.
62188         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62189         ($(objpfx)libm.so): Remove dependency on ld.so.
62191 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
62193         [BZ # 15553]
62194         * nis/yp_xdr.c (XDRMAXNAME): Define.
62195         (XDRMAXRECORD): Define.
62196         (xdr_domainname): Use XDRMAXNAME.
62197         (xdr_mapname): Likewise.
62198         (xdr_peername): Likewise.
62199         (xdr_keydat): Use XDRMAXRECORD.
62200         (xdr_valdat): Likewise.
62202 2013-05-30  Jeff Law  <law@redhat.com>
62204         [BZ #14256]
62205         * manual/errno.texi (ESTALE): Update to account for more than
62206         just NFS file systems.
62207         * sysdeps/gnu/errlist.c: Regenerated.
62209 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62211         [BZ #15465]
62212         * elf/Makefile (tests): Add tst-null-argv.
62213         (modules-names):  Add tst-null-argv-lib.
62214         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62215         (tst-null-argv-ENV): Set environment for tst-null-argv.
62216         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62217         (RTLD_PROGNAME): New macro.
62218         * elf/tst-null-argv.c: New test case.
62219         * elf/tst-null-argv-lib.c: Library for test case.
62220         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62221         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62222         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62223         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62224         * elf/dl-init.c (call_init): Likewise.
62225         (_dl_init): Likewise.
62226         * elf/dl-load.c (print_search_path): Likewise.
62227         (_dl_map_object): Likewise.
62228         * elf/dl-lookup.c (do_lookup_x): Likewise.
62229         (add_dependency): Likewise.
62230         (_dl_lookup_symbol_x): Likewise.
62231         (_dl_debug_bindings): Likewise.
62232         * elf/dl-open.c (_dl_show_scope): Likewise.
62233         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
62234         * elf/dl-version.c (match_symbol): Likewise.
62235         (_dl_check_map_versions): Likewise.
62236         * elf/rtld.c (dl_main): Likewise.
62237         (print_unresolved): Use RTLD_PROGNAME.
62238         (print_missing_version): Likewise.
62239         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
62240         (elf_machine_rela): Likewise.
62241         * sysdeps/powerpc/powerpc32/dl-machine.c
62242         (__process_machine_rela): Likewise.
62243         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62244         Likewise.
62245         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62246         Likewise.
62247         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
62248         Likewise.
62249         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
62251         Likewise.
62252         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
62253         Likewise.
62254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62256 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
62258         * po/be.po: Add descriptive title.
62259         * po/zh_CN.po: Likewise.
62260         * po/header.pot: Likewise.
62262 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
62264         * locale/programs/locarchive.c (create_archive): Inlucde fname in
62265         error message.
62266         (enlarge_archive): Likewise.
62268 2013-05-28  Ben North  <ben@redfrontdoor.org>
62270         * manual/arith.texi (frexp): It is the magnitude of the return
62271         value which lies in [0.5, 1), not the return value itself.
62273 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62277 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
62279         * stdio-common/bug26.c (main): Correct fscanf template.
62281         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
62282         declare _dl_skip_args.
62284         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
62285         Don't declare.
62287         * manual/platform.texi: Add missing @end deftypefun.
62289 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62291         [BZ #15529]
62292         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
62293         bit of mantissa of 2^16382.
62294         * math/libm-test.inc (hypot_test_data): Add more tests.
62296         * math/libm-test.inc: Add drem and pow10 to list of tested
62297         functions.
62298         (pow10_test): New function.
62299         (drem_test): Likewise.
62300         (drem_test_tonearest): Likewise.
62301         (drem_test_towardzero): Likewise.
62302         (drem_test_downward): Likewise.
62303         (drem_test_upward): Likewise.
62304         (main): Call the new functions.
62306         * math/libm-test.inc (finite_test_data): Remove.
62307         (finite_test): Run tests from isfinite_test_data.
62308         (gamma_test_data): Remove.
62309         (gamma_test): Run tests from lgamma_test_data.
62310         * sysdeps/i386/fpu/libm-test-ulps: Update.
62311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62313 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62315         * manual/platform.texi: Add PowerPC PPR function set documentation.
62316         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
62317         implementation.
62319 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
62321         * math/libm-test.inc (MAX_EXP): Define.
62322         (ULPDIFF): Define.
62323         (ulp): New function.
62324         (check_float_internal): Use ULPDIFF.
62325         (cpow_test): Disable failing test.
62326         (check_ulp): Test ulp() implementation.
62327         (main): Call check_ulp before starting tests.
62329 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62331         * math/gen-libm-test.pl (generate_testfile): Do not handle
62332         START_DATA and END_DATA.
62333         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
62334         END_DATA.
62335         (acos_tonearest_test_data): Likewise.
62336         (acos_towardzero_test_data): Likewise.
62337         (acos_downward_test_data): Likewise.
62338         (acos_upward_test_data): Likewise.
62339         (acosh_test_data): Likewise.
62340         (asin_test_data): Likewise.
62341         (asin_tonearest_test_data): Likewise.
62342         (asin_towardzero_test_data): Likewise.
62343         (asin_downward_test_data): Likewise.
62344         (asin_upward_test_data): Likewise.
62345         (asinh_test_data): Likewise.
62346         (atan_test_data): Likewise.
62347         (atanh_test_data): Likewise.
62348         (atan2_test_data): Likewise.
62349         (cabs_test_data): Likewise.
62350         (cacos_test_data): Likewise.
62351         (cacosh_test_data): Likewise.
62352         (carg_test_data): Likewise.
62353         (casin_test_data): Likewise.
62354         (casinh_test_data): Likewise.
62355         (catan_test_data): Likewise.
62356         (catanh_test_data): Likewise.
62357         (cbrt_test_data): Likewise.
62358         (ccos_test_data): Likewise.
62359         (ccosh_test_data): Likewise.
62360         (ceil_test_data): Likewise.
62361         (cexp_test_data): Likewise.
62362         (cimag_test_data): Likewise.
62363         (clog_test_data): Likewise.
62364         (clog10_test_data): Likewise.
62365         (conj_test_data): Likewise.
62366         (copysign_test_data): Likewise.
62367         (cos_test_data): Likewise.
62368         (cos_tonearest_test_data): Likewise.
62369         (cos_towardzero_test_data): Likewise.
62370         (cos_downward_test_data): Likewise.
62371         (cos_upward_test_data): Likewise.
62372         (cosh_test_data): Likewise.
62373         (cosh_tonearest_test_data): Likewise.
62374         (cosh_towardzero_test_data): Likewise.
62375         (cosh_downward_test_data): Likewise.
62376         (cosh_upward_test_data): Likewise.
62377         (cpow_test_data): Likewise.
62378         (cproj_test_data): Likewise.
62379         (creal_test_data): Likewise.
62380         (csin_test_data): Likewise.
62381         (csinh_test_data): Likewise.
62382         (csqrt_test_data): Likewise.
62383         (ctan_test_data): Likewise.
62384         (ctan_tonearest_test_data): Likewise.
62385         (ctan_towardzero_test_data): Likewise.
62386         (ctan_downward_test_data): Likewise.
62387         (ctan_upward_test_data): Likewise.
62388         (ctanh_test_data): Likewise.
62389         (ctanh_tonearest_test_data): Likewise.
62390         (ctanh_towardzero_test_data): Likewise.
62391         (ctanh_downward_test_data): Likewise.
62392         (ctanh_upward_test_data): Likewise.
62393         (erf_test_data): Likewise.
62394         (erfc_test_data): Likewise.
62395         (exp_test_data): Likewise.
62396         (exp_tonearest_test_data): Likewise.
62397         (exp_towardzero_test_data): Likewise.
62398         (exp_downward_test_data): Likewise.
62399         (exp_upward_test_data): Likewise.
62400         (exp10_test_data): Likewise.
62401         (exp2_test_data): Likewise.
62402         (expm1_test_data): Likewise.
62403         (fabs_test_data): Likewise.
62404         (fdim_test_data): Likewise.
62405         (finite_test_data): Likewise.
62406         (floor_test_data): Likewise.
62407         (fma_test_data): Likewise.
62408         (fma_towardzero_test_data): Likewise.
62409         (fma_downward_test_data): Likewise.
62410         (fma_upward_test_data): Likewise.
62411         (fmax_test_data): Likewise.
62412         (fmin_test_data): Likewise.
62413         (fmod_test_data): Likewise.
62414         (fpclassify_test_data): Likewise.
62415         (frexp_test_data): Likewise.
62416         (gamma_test_data): Likewise.
62417         (hypot_test_data): Likewise.
62418         (ilogb_test_data): Likewise.
62419         (isfinite_test_data): Likewise.
62420         (isgreater_test_data): Likewise.
62421         (isgreaterequal_test_data): Likewise.
62422         (isinf_test_data): Likewise.
62423         (isless_test_data): Likewise.
62424         (islessequal_test_data): Likewise.
62425         (islessgreater_test_data): Likewise.
62426         (isnan_test_data): Likewise.
62427         (isnormal_test_data): Likewise.
62428         (issignaling_test_data): Likewise.
62429         (isunordered_test_data): Likewise.
62430         (j0_test_data): Likewise.
62431         (j1_test_data): Likewise.
62432         (jn_test_data): Likewise.
62433         (ldexp_test_data): Likewise.
62434         (lgamma_test_data): Likewise.
62435         (lrint_test_data): Likewise.
62436         (lrint_tonearest_test_data): Likewise.
62437         (lrint_towardzero_test_data): Likewise.
62438         (lrint_downward_test_data): Likewise.
62439         (lrint_upward_test_data): Likewise.
62440         (llrint_test_data): Likewise.
62441         (llrint_tonearest_test_data): Likewise.
62442         (llrint_towardzero_test_data): Likewise.
62443         (llrint_downward_test_data): Likewise.
62444         (llrint_upward_test_data): Likewise.
62445         (log_test_data): Likewise.
62446         (log10_test_data): Likewise.
62447         (log1p_test_data): Likewise.
62448         (log2_test_data): Likewise.
62449         (logb_test_data): Likewise.
62450         (logb_downward_test_data): Likewise.
62451         (lround_test_data): Likewise.
62452         (llround_test_data): Likewise.
62453         (modf_test_data): Likewise.
62454         (nearbyint_test_data): Likewise.
62455         (nextafter_test_data): Likewise.
62456         (nexttoward_test_data): Likewise.
62457         (pow_test_data): Likewise.
62458         (pow_tonearest_test_data): Likewise.
62459         (pow_towardzero_test_data): Likewise.
62460         (pow_downward_test_data): Likewise.
62461         (pow_upward_test_data): Likewise.
62462         (remainder_test_data): Likewise.
62463         (remainder_tonearest_test_data): Likewise.
62464         (remainder_towardzero_test_data): Likewise.
62465         (remainder_downward_test_data): Likewise.
62466         (remainder_upward_test_data): Likewise.
62467         (remquo_test_data): Likewise.
62468         (rint_test_data): Likewise.
62469         (rint_tonearest_test_data): Likewise.
62470         (rint_towardzero_test_data): Likewise.
62471         (rint_downward_test_data): Likewise.
62472         (rint_upward_test_data): Likewise.
62473         (round_test_data): Likewise.
62474         (scalb_test_data): Likewise.
62475         (scalbn_test_data): Likewise.
62476         (scalbln_test_data): Likewise.
62477         (signbit_test_data): Likewise.
62478         (sin_test_data): Likewise.
62479         (sin_tonearest_test_data): Likewise.
62480         (sin_towardzero_test_data): Likewise.
62481         (sin_downward_test_data): Likewise.
62482         (sin_upward_test_data): Likewise.
62483         (sincos_test_data): Likewise.
62484         (sinh_test_data): Likewise.
62485         (sinh_tonearest_test_data): Likewise.
62486         (sinh_towardzero_test_data): Likewise.
62487         (sinh_downward_test_data): Likewise.
62488         (sinh_upward_test_data): Likewise.
62489         (sqrt_test_data): Likewise.
62490         (tan_test_data): Likewise.
62491         (tan_tonearest_test_data): Likewise.
62492         (tan_towardzero_test_data): Likewise.
62493         (tan_downward_test_data): Likewise.
62494         (tan_upward_test_data): Likewise.
62495         (tanh_test_data): Likewise.
62496         (tgamma_test_data): Likewise.
62497         (trunc_test_data): Likewise.
62498         (y0_test_data): Likewise.
62499         (y1_test_data): Likewise.
62500         (yn_test_data): Likewise.
62501         (significand_test_data): Likewise.
62503         * math/gen-libm-test.pl (@functions): Remove variable.
62504         (generate_testfile): Don't handle START and END lines.
62505         * math/libm-test.inc (START): New macro.
62506         (END): Likewise.
62507         (END_COMPLEX): Likewise.
62508         (acos_test): Use END macro without arguments.
62509         (acos_test_tonearest): Likewise.
62510         (acos_test_towardzero): Likewise.
62511         (acos_test_downward): Likewise.
62512         (acos_test_upward): Likewise.
62513         (acosh_test): Likewise.
62514         (asin_test): Likewise.
62515         (asin_test_tonearest): Likewise.
62516         (asin_test_towardzero): Likewise.
62517         (asin_test_downward): Likewise.
62518         (asin_test_upward): Likewise.
62519         (asinh_test): Likewise.
62520         (atan_test): Likewise.
62521         (atanh_test): Likewise.
62522         (atan2_test): Likewise.
62523         (cabs_test): Likewise.
62524         (cacos_test): Use END_COMPLEX macro without arguments.
62525         (cacosh_test): Likewise.
62526         (carg_test): Use END macro without arguments.
62527         (casin_test): Use END_COMPLEX macro without arguments.
62528         (casinh_test): Likewise.
62529         (catan_test): Likewise.
62530         (catanh_test): Likewise.
62531         (cbrt_test): Use END macro without arguments.
62532         (ccos_test): Use END_COMPLEX macro without arguments.
62533         (ccosh_test): Likewise.
62534         (ceil_test): Use END macro without arguments.
62535         (cexp_test): Use END_COMPLEX macro without arguments.
62536         (cimag_test): Use END macro without arguments.
62537         (clog_test): Use END_COMPLEX macro without arguments.
62538         (clog10_test): Likewise.
62539         (conj_test): Likewise.
62540         (copysign_test): Use END macro without arguments.
62541         (cos_test): Likewise.
62542         (cos_test_tonearest): Likewise.
62543         (cos_test_towardzero): Likewise.
62544         (cos_test_downward): Likewise.
62545         (cos_test_upward): Likewise.
62546         (cosh_test): Likewise.
62547         (cosh_test_tonearest): Likewise.
62548         (cosh_test_towardzero): Likewise.
62549         (cosh_test_downward): Likewise.
62550         (cosh_test_upward): Likewise.
62551         (cpow_test): Use END_COMPLEX macro without arguments.
62552         (cproj_test): Likewise.
62553         (creal_test): Use END macro without arguments.
62554         (csin_test): Use END_COMPLEX macro without arguments.
62555         (csinh_test): Likewise.
62556         (csqrt_test): Likewise.
62557         (ctan_test): Likewise.
62558         (ctan_test_tonearest): Likewise.
62559         (ctan_test_towardzero): Likewise.
62560         (ctan_test_downward): Likewise.
62561         (ctan_test_upward): Likewise.
62562         (ctanh_test): Likewise.
62563         (ctanh_test_tonearest): Likewise.
62564         (ctanh_test_towardzero): Likewise.
62565         (ctanh_test_downward): Likewise.
62566         (ctanh_test_upward): Likewise.
62567         (erf_test): Use END macro without arguments.
62568         (erfc_test): Likewise.
62569         (exp_test): Likewise.
62570         (exp_test_tonearest): Likewise.
62571         (exp_test_towardzero): Likewise.
62572         (exp_test_downward): Likewise.
62573         (exp_test_upward): Likewise.
62574         (exp10_test): Likewise.
62575         (exp2_test): Likewise.
62576         (expm1_test): Likewise.
62577         (fabs_test): Likewise.
62578         (fdim_test): Likewise.
62579         (finite_test): Likewise.
62580         (floor_test): Likewise.
62581         (fma_test): Likewise.
62582         (fma_test_towardzero): Likewise.
62583         (fma_test_downward): Likewise.
62584         (fma_test_upward): Likewise.
62585         (fmax_test): Likewise.
62586         (fmin_test): Likewise.
62587         (fmod_test): Likewise.
62588         (fpclassify_test): Likewise.
62589         (frexp_test): Likewise.
62590         (gamma_test): Likewise.
62591         (hypot_test): Likewise.
62592         (ilogb_test): Likewise.
62593         (isfinite_test): Likewise.
62594         (isgreater_test): Likewise.
62595         (isgreaterequal_test): Likewise.
62596         (isinf_test): Likewise.
62597         (isless_test): Likewise.
62598         (islessequal_test): Likewise.
62599         (islessgreater_test): Likewise.
62600         (isnan_test): Likewise.
62601         (isnormal_test): Likewise.
62602         (issignaling_test): Likewise.
62603         (isunordered_test): Likewise.
62604         (j0_test): Likewise.
62605         (j1_test): Likewise.
62606         (jn_test): Likewise.
62607         (ldexp_test): Likewise.
62608         (lgamma_test): Likewise.
62609         (lrint_test): Likewise.
62610         (lrint_test_tonearest): Likewise.
62611         (lrint_test_towardzero): Likewise.
62612         (lrint_test_downward): Likewise.
62613         (lrint_test_upward): Likewise.
62614         (llrint_test): Likewise.
62615         (llrint_test_tonearest): Likewise.
62616         (llrint_test_towardzero): Likewise.
62617         (llrint_test_downward): Likewise.
62618         (llrint_test_upward): Likewise.
62619         (log_test): Likewise.
62620         (log10_test): Likewise.
62621         (log1p_test): Likewise.
62622         (log2_test): Likewise.
62623         (logb_test): Likewise.
62624         (logb_test_downward): Likewise.
62625         (lround_test): Likewise.
62626         (llround_test): Likewise.
62627         (modf_test): Likewise.
62628         (nearbyint_test): Likewise.
62629         (nextafter_test): Likewise.
62630         (nexttoward_test): Likewise.
62631         (pow_test): Likewise.
62632         (pow_test_tonearest): Likewise.
62633         (pow_test_towardzero): Likewise.
62634         (pow_test_downward): Likewise.
62635         (pow_test_upward): Likewise.
62636         (remainder_test): Likewise.
62637         (remainder_test_tonearest): Likewise.
62638         (remainder_test_towardzero): Likewise.
62639         (remainder_test_downward): Likewise.
62640         (remainder_test_upward): Likewise.
62641         (remquo_test): Likewise.
62642         (rint_test): Likewise.
62643         (rint_test_tonearest): Likewise.
62644         (rint_test_towardzero): Likewise.
62645         (rint_test_downward): Likewise.
62646         (rint_test_upward): Likewise.
62647         (round_test): Likewise.
62648         (scalb_test): Likewise.
62649         (scalbn_test): Likewise.
62650         (scalbln_test): Likewise.
62651         (signbit_test): Likewise.
62652         (sin_test): Likewise.
62653         (sin_test_tonearest): Likewise.
62654         (sin_test_towardzero): Likewise.
62655         (sin_test_downward): Likewise.
62656         (sin_test_upward): Likewise.
62657         (sincos_test): Likewise.
62658         (sinh_test): Likewise.
62659         (sinh_test_tonearest): Likewise.
62660         (sinh_test_towardzero): Likewise.
62661         (sinh_test_downward): Likewise.
62662         (sinh_test_upward): Likewise.
62663         (sqrt_test): Likewise.
62664         (tan_test): Likewise.
62665         (tan_test_tonearest): Likewise.
62666         (tan_test_towardzero): Likewise.
62667         (tan_test_downward): Likewise.
62668         (tan_test_upward): Likewise.
62669         (tanh_test): Likewise.
62670         (tgamma_test): Likewise.
62671         (trunc_test): Likewise.
62672         (y0_test): Likewise.
62673         (y1_test): Likewise.
62674         (yn_test): Likewise.
62675         (significand_test): Likewise.
62677 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
62679         [BZ #15381]
62680         * libio/genops.c (_IO_no_init): Initialize wide struct info.
62682 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62684         [BZ #14894]
62685         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
62686         __ppc_mdoio and __ppc_mdoom.
62687         * manual/platform.texi: Document new functions __ppc_yield,
62688         __ppc_mdoio and __ppc_mdoom.
62690 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
62692         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
62693         (main): Mention "tls" pseudo-hwcap is legacy.
62694         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
62696 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62698         * math/gen-libm-test.pl (parse_args): Output only string of
62699         arguments as text for test name, not full call or descriptions of
62700         tests for extra outputs.
62701         (generate_testfile): Do not pass function name to parse_args.
62702         Generate this_func variable from START.
62703         * math/libm-test.inc (struct test_f_f_data): Rename test_name
62704         field to arg_str.
62705         (struct test_ff_f_data): Likewise.
62706         (test_ff_f_data_nexttoward): Likewise.
62707         (struct test_fi_f_data): Likewise.
62708         (struct test_fl_f_data): Likewise.
62709         (struct test_if_f_data): Likewise.
62710         (struct test_fff_f_data): Likewise.
62711         (struct test_c_f_data): Likewise.
62712         (struct test_f_f1_data): Likewise.  Remove field extra_name.
62713         (struct test_fF_f1_data): Likewise.
62714         (struct test_ffI_f1_data): Likewise.
62715         (struct test_c_c_data): Rename test_name field to arg_str.
62716         (struct test_cc_c_data): Likewise.
62717         (struct test_f_i_data): Likewise.
62718         (struct test_ff_i_data): Likewise.
62719         (struct test_f_l_data): Likewise.
62720         (struct test_f_L_data): Likewise.
62721         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
62722         and extra2_name.
62723         (COMMON_TEST_SETUP): New macro.
62724         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
62725         (COMMON_TEST_CLEANUP): Likewise.
62726         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
62727         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
62728         macros.
62729         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
62730         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
62731         macros.
62732         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
62733         (RUN_TEST_fff_f): Take argument string.  Call new setup and
62734         cleanup macros.
62735         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
62736         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
62737         macros.
62738         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
62739         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
62740         macros.
62741         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62742         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
62743         cleanup macros.
62744         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62745         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
62746         cleanup macros.
62747         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62748         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
62749         cleanup macros.
62750         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62751         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
62752         macros.
62753         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
62754         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
62755         macros.
62756         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
62757         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
62758         macros.
62759         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
62760         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
62761         cleanup macros.
62762         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
62763         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
62764         cleanup macros.
62765         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
62766         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
62767         macros.
62768         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
62769         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
62770         cleanup macros.
62771         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
62772         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
62773         macros.
62774         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
62775         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
62776         macros.
62777         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
62778         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
62779         cleanup macros.
62780         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
62782 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
62784         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
62785         to _sifields.sigfault.
62786         (si_addr_lsb): Define new macro.
62787         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62788         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62789         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
62791 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
62793         [BZ #15441]
62794         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
62795         returns -1.
62796         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
62797         null return -1.
62798         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
62799         loading the domain.
62801 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62803         * math/gen-libm-test.pl (parse_args): Do not include expected
62804         result in test name.
62805         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
62806         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62807         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62808         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62809         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62812 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62814         * benchtests/Makefile: Sort function entries.
62816         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
62817         tanh, asinh, acosh, atanh.
62818         * benchtests/acos-inputs: New file.
62819         * benchtests/acosh-inputs: New file.
62820         * benchtests/asin-inputs: New file.
62821         * benchtests/asinh-inputs: New file.
62822         * benchtests/atanh-inputs: New file.
62823         * benchtests/cosh-inputs: New file.
62824         * benchtests/log-inputs: New file.
62825         * benchtests/sinh-inputs: New file.
62826         * benchtests/tanh-inputs: New file.
62828 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
62830         [BZ #15339]
62831         * posix/tst-getaddrinfo4.c: New test.
62832         * posix/Makefile (tests): Add it.
62834 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62836         [BZ #15339]
62837         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
62838         when no services were used.
62839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
62840         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
62842 2013-05-21  Andreas Schwab  <schwab@suse.de>
62844         [BZ #15014]
62845         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
62846         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
62847         successful.
62848         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
62849         redundant variable declarations and reallocation of buffer when
62850         parsing as IPv6 address.  Always set NSS status when called from
62851         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
62852         buffer too small.  Correct computation of needed size.
62853         * nss/Makefile (tests): Add test-digits-dots.
62854         * nss/test-digits-dots.c: New test.
62856 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62858         * benchtests/Makefile: Remove instructions for adding
62859         benchmark tests.
62860         * benchtests/README: New file to explain how to execute and
62861         enhance the benchmark tests.
62863 2013-05-21  Andreas Schwab  <schwab@suse.de>
62865         [BZ #15493]
62866         * setjmp/Makefile (tests): Add tst-sigsetjmp.
62867         * setjmp/tst-sigsetjmp.c: New test.
62869 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62871         * sysdeps/x86_64/memset.S (memset): New implementation.
62872         (__bzero): Likewise.
62873         (__memset_tail): New function.
62875 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62877         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
62878         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
62879         __memcpy_sse2_unaligned ifunc selection.
62880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62881         Add memcpy-sse2-unaligned.S.
62882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62883         Add: __memcpy_sse2_unaligned.
62885 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
62887         [BZ #15490]
62888         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62889         math_force_eval before restoring floating-point envrionment.
62890         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
62891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
62892         Likewise.
62893         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
62894         <math_private.h>.
62895         (__nearbyintl): Use math_force_eval before restoring
62896         floating-point environment.
62897         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
62899         * math/gen-libm-test.pl (special_functions): Remove.
62900         (parse_args): Don't handle TEST_extra.  Handle functions with no
62901         return value.
62902         * math/libm-test.inc (struct test_sincos_data): Replace with
62903         struct test_fFF_11_data.
62904         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
62905         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
62906         (sincos_test_data): Change element type to struct
62907         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
62908         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
62909         RUN_TEST_LOOP_sincos.
62910         * math/README.libm-test: Don't mention special handling of
62911         individual functions.
62912         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
62913         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62914         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62915         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62916         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62919         * math/gen-libm-test.pl (get_variable): Remove function.
62920         (parse_args): Don't show pointer parameters to call in test
62921         names.  Use "extra output N" in test names for extra outputs
62922         rather than naming variables.
62924 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
62926         [BZ #15488]
62927         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
62928         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
62929         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
62930         double tests.
62931         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
62932         disable.
62933         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
62934         check_long_double.
62936         * math/gen-libm-test.pl (@tests): Remove variable.
62937         ($count): Likewise.
62938         (new_test): Remove function.
62939         (show_exceptions): New function.
62940         (special_functions): Use show_exceptions instead of new_test.
62941         (parse_args): Likewise.
62942         (generate_testfile): Pass only function name in generated call to
62943         print_max_error or print_complex_max_error.
62944         (get_ulps): Do not handle complex tests specially.
62945         (output_test): Rename to ...
62946         (get_all_ulps_for_test): ... this.  Return a string rather than
62947         printing to a file.  Require ulps to be present.
62948         (output_ulps): Generate arrays rather than #defines.
62949         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
62950         (struct ulp_data): New type.
62951         (BUILD_COMPLEX_ULP): Remove macro.
62952         (compare_ulp_data): New function.
62953         (find_ulps): Likewise.
62954         (find_test_ulps): Likewise.
62955         (find_function_ulps): Likewise.
62956         (find_complex_function_ulps): Likewise.
62957         (print_max_error): Determine allowed ulps using
62958         find_function_ulps.
62959         (print_complex_max_error): Determine allowed ulps using
62960         find_complex_function_ulps.
62961         (check_float_internal): Determine max ulps using find_test_ulps.
62962         (check_float): Do not take max_ulp parameter.  Update call to
62963         check_float_internal.
62964         (check_complex): Likewise.
62965         (check_int): Do not take max_ulp parameter.
62966         (check_long): Likewise.
62967         (check_bool): Likewise.
62968         (check_longlong): Likewise.
62969         (struct test_f_f_data): Remove max_ulp field.
62970         (struct test_ff_f_data): Likewise.
62971         (struct test_ff_f_data_nexttoward): Likewise.
62972         (struct test_fi_f_data): Likewise.
62973         (struct test_fl_f_data): Likewise.
62974         (struct test_if_f_data): Likewise.
62975         (struct test_fff_f_data): Likewise.
62976         (struct test_c_f_data): Likewise.
62977         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
62978         (struct test_fF_f1_data): Likewise.
62979         (struct test_ffI_f1_data): Likewise.
62980         (struct test_c_c_data): Remove max_ulp field.
62981         (struct test_cc_c_data): Likewise.
62982         (struct test_f_i_data): Likewise.
62983         (struct test_ff_i_data): Likewise.
62984         (struct test_f_l_data): Likewise.
62985         (struct test_f_L_data): Likewise.
62986         (struct test_sincos_data): Likewise.
62987         (RUN_TEST_f_f): Do not handle ulps.
62988         (RUN_TEST_LOOP_f_f): Likewise.
62989         (RUN_TEST_2_f): Likewise.
62990         (RUN_TEST_LOOP_2_f): Likewise.
62991         (RUN_TEST_fff_f): Likewise.
62992         (RUN_TEST_LOOP_fff_f): Likewise.
62993         (RUN_TEST_c_f): Likewise.
62994         (RUN_TEST_LOOP_c_f): Likewise.
62995         (RUN_TEST_f_f1): Likewise.
62996         (RUN_TEST_LOOP_f_f1): Likewise.
62997         (RUN_TEST_fF_f1): Likewise.
62998         (RUN_TEST_LOOP_fF_f1): Likewise.
62999         (RUN_TEST_fI_f1): Likewise.
63000         (RUN_TEST_LOOP_fI_f1): Likewise.
63001         (RUN_TEST_ffI_f1): Likewise.
63002         (RUN_TEST_LOOP_ffI_f1): Likewise.
63003         (RUN_TEST_c_c): Likewise.
63004         (RUN_TEST_LOOP_c_c): Likewise.
63005         (RUN_TEST_cc_c): Likewise.
63006         (RUN_TEST_LOOP_cc_c): Likewise.
63007         (RUN_TEST_f_i): Likewise.
63008         (RUN_TEST_LOOP_f_i): Likewise.
63009         (RUN_TEST_f_i_tg): Likewise.
63010         (RUN_TEST_LOOP_f_i_tg): Likewise.
63011         (RUN_TEST_ff_i_tg): Likewise.
63012         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63013         (RUN_TEST_f_b): Likewise.
63014         (RUN_TEST_LOOP_f_b): Likewise.
63015         (RUN_TEST_f_b_tg): Likewise.
63016         (RUN_TEST_LOOP_f_b_tg): Likewise.
63017         (RUN_TEST_f_l): Likewise.
63018         (RUN_TEST_LOOP_f_l): Likewise.
63019         (RUN_TEST_f_L): Likewise.
63020         (RUN_TEST_LOOP_f_L): Likewise.
63021         (RUN_TEST_sincos): Likewise.
63022         (RUN_TEST_LOOP_sincos): Likewise.
63024 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63026         [BZ #15480]
63027         [BZ #15485]
63028         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63029         main case of finite arguments, set rounding mode to FE_TONEAREST
63030         and discard exceptions.
63031         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63032         exceptions.
63033         (remainder_tonearest_test_data): New variable.
63034         (remainder_test_tonearest): New function.
63035         (remainder_towardzero_test_data): New variable.
63036         (remainder_test_towardzero): New function.
63037         (remainder_downward_test_data): New variable.
63038         (remainder_test_downward): New function.
63039         (remainder_upward_test_data): New variable.
63040         (remainder_test_upward): New function.
63041         (main): Call the new test functions.
63043         * math/libm-test.inc (struct test_f_f1_data): Remove field
63044         extra_init.
63045         (struct test_fF_f1_data): Likewise.
63046         (struct test_ffI_f1_data): Likewise.
63047         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63048         based on value of EXTRA_EXPECTED.
63049         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63050         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63051         EXTRA_VAR based on value of EXTRA_EXPECTED.
63052         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63053         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63054         EXTRA_VAR based on value of EXTRA_EXPECTED.
63055         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63056         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63057         EXTRA_VAR based on value of EXTRA_EXPECTED.
63058         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63059         * math/gen-libm-test.pl (parse_args): Don't output initializers
63060         for extra output values.
63062         * math/libm-test.inc (check_int): Expect result to be exactly
63063         equal to expected value and do not handle ulps.
63064         (check_long): Likewise.
63065         (check_longlong): Likewise.
63067         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63068         exceptions.
63069         (cimag_test_data): Likewise.
63070         (conj_test_data): Likewise.
63071         (copysign_test_data): Likewise.
63072         (cproj_test_data): Likewise.
63073         (creal_test_data): Likewise.
63074         (fabs_test_data): Likewise.
63075         (fdim_test_data): Likewise.
63076         (finite_test_data): Likewise.
63077         (floor_test_data): Likewise.
63078         (fmax_test_data): Likewise.
63079         (fmin_test_data): Likewise.
63080         (fmod_test_data): Likewise.
63081         (fpclassify_test_data): Likewise.
63082         (frexp_test_data): Likewise.
63083         (ilogb_test_data): Likewise.
63084         (isfinite_test_data): Likewise.
63085         (isgreater_test_data): Likewise.
63086         (isgreaterequal_test_data): Likewise.
63087         (isinf_test_data): Likewise.
63088         (isless_test_data): Likewise.
63089         (islessequal_test_data): Likewise.
63090         (islessgreater_test_data): Likewise.
63091         (isnan_test_data): Likewise.
63092         (isnormal_test_data): Likewise.
63093         (issignaling_test_data): Likewise.
63094         (isunordered_test_data): Likewise.
63095         (ldexp_test_data): Likewise.
63096         (lrint_test_data): Likewise.
63097         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63098         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63099         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63100         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63101         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63102         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63103         test input.
63104         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63105         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63106         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63107         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63108         that test input.
63109         (lrint_downward_test_data): Test for "inexact" exceptions.
63110         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63111         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63112         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63113         test input.
63114         (lrint_upward_test_data): Test for "inexact" exceptions.
63115         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63116         test input.
63117         (llrint_test_data): Test for "inexact" exceptions.
63118         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63119         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63120         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63121         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63122         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63123         (llrint_downward_test_data): Test for "inexact" exceptions.
63124         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63125         (llrint_upward_test_data): Test for "inexact" exceptions.
63126         (logb_test_data): Likewise.
63127         (logb_downward_test_data): Likewise.
63128         (nextafter_test_data): Likewise.
63129         (nexttoward_test_data): Likewise.
63130         (remainder_test_data): Likewise.
63131         (remquo_test_data): Likewise.
63132         (scalbn_test_data): Likewise.
63133         (scalbln_test_data): Likewise.
63134         (signbit_test_data): Likewise.
63135         (sqrt_test_data): Likewise.
63136         (significand_test_data): Likewise.
63138 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63140         [BZ #15424]
63141         * benchtests/bench-modf.c (struct args): Mark arg0 as
63142         volatile.
63143         * scripts/bench.pl: Mark members of struct args as volatile.
63145 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63147         [BZ # 15497]
63148         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63149         negative infinity on POWER6 or lower.
63150         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63152 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
63154         [BZ #15442]
63155         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63156         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63157         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63158         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63159         (_FP_SETQNAN): New macro.
63160         (_FP_SETQNAN_SEMIRAW): Likewise.
63161         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63162         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63163         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63164         (FP_EXTEND): Use _FP_FRAC_SNANP.
63165         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63166         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63167         into account.
63168         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63169         New macro.
63170         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63171         Likewise.
63173 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63175         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63176         with DIVIDE_BY_ZERO_EXCEPTION.
63177         (gamma_test_data): Likewise.
63178         (lgamma_test_data): Likewise.
63179         (log_test_data): Likewise.
63180         (log10_test_data): Likewise.
63181         (log2_test_data): Likewise.
63182         (tgamma_test_data): Likewise.
63184         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63185         (acos_test_tonearest): Likewise.
63186         (acos_test_towardzero): Likewise.
63187         (acos_test_downward): Likewise.
63188         (acos_test_upward): Likewise.
63189         (acosh_test): Likewise.
63190         (asin_test): Likewise.
63191         (asin_test_tonearest): Likewise.
63192         (asin_test_towardzero): Likewise.
63193         (asin_test_downward): Likewise.
63194         (asin_test_upward): Likewise.
63195         (asinh_test): Likewise.
63196         (atan_test): Likewise.
63197         (atanh_test): Likewise.
63198         (atan2_test): Likewise.
63199         (cabs_test): Likewise.
63200         (cacos_test): Likewise.
63201         (cacosh_test): Likewise.
63202         (casin_test): Likewise.
63203         (casinh_test): Likewise.
63204         (catan_test): Likewise.
63205         (catanh_test): Likewise.
63206         (cbrt_test): Likewise.
63207         (ccos_test): Likewise.
63208         (ccosh_test): Likewise.
63209         (cexp_test): Likewise.
63210         (clog_test): Likewise.
63211         (clog10_test): Likewise.
63212         (cos_test): Likewise.
63213         (cos_test_tonearest): Likewise.
63214         (cos_test_towardzero): Likewise.
63215         (cos_test_downward): Likewise.
63216         (cos_test_upward): Likewise.
63217         (cosh_test): Likewise.
63218         (cosh_test_tonearest): Likewise.
63219         (cosh_test_towardzero): Likewise.
63220         (cosh_test_downward): Likewise.
63221         (cosh_test_upward): Likewise.
63222         (cpow_test): Likewise.
63223         (csin_test): Likewise.
63224         (csinh_test): Likewise.
63225         (csqrt_test): Likewise.
63226         (ctan_test): Likewise.
63227         (ctan_test_tonearest): Likewise.
63228         (ctan_test_towardzero): Likewise.
63229         (ctan_test_downward): Likewise.
63230         (ctan_test_upward): Likewise.
63231         (ctanh_test): Likewise.
63232         (ctanh_test_tonearest): Likewise.
63233         (ctanh_test_towardzero): Likewise.
63234         (ctanh_test_downward): Likewise.
63235         (ctanh_test_upward): Likewise.
63236         (erf_test): Likewise.
63237         (erfc_test): Likewise.
63238         (exp_test): Likewise.
63239         (exp_test_tonearest): Likewise.
63240         (exp_test_towardzero): Likewise.
63241         (exp_test_downward): Likewise.
63242         (exp_test_upward): Likewise.
63243         (exp10_test): Likewise.
63244         (exp2_test): Likewise.
63245         (expm1_test): Likewise.
63246         (fmod_test): Likewise.
63247         (gamma_test): Likewise.
63248         (hypot_test): Likewise.
63249         (j0_test): Likewise.
63250         (j1_test): Likewise.
63251         (jn_test): Likewise.
63252         (lgamma_test): Likewise.
63253         (log_test): Likewise.
63254         (log10_test): Likewise.
63255         (log1p_test): Likewise.
63256         (log2_test): Likewise.
63257         (logb_test_downward): Likewise.
63258         (pow_test): Likewise.
63259         (pow_test_tonearest): Likewise.
63260         (pow_test_towardzero): Likewise.
63261         (pow_test_downward): Likewise.
63262         (pow_test_upward): Likewise.
63263         (remainder_test): Likewise.
63264         (remquo_test): Likewise.
63265         (sin_test): Likewise.
63266         (sin_test_tonearest): Likewise.
63267         (sin_test_towardzero): Likewise.
63268         (sin_test_downward): Likewise.
63269         (sin_test_upward): Likewise.
63270         (sincos_test): Likewise.
63271         (sinh_test): Likewise.
63272         (sinh_test_tonearest): Likewise.
63273         (sinh_test_towardzero): Likewise.
63274         (sinh_test_downward): Likewise.
63275         (sinh_test_upward): Likewise.
63276         (sqrt_test): Likewise.
63277         (tan_test): Likewise.
63278         (tan_test_tonearest): Likewise.
63279         (tan_test_towardzero): Likewise.
63280         (tan_test_downward): Likewise.
63281         (tan_test_upward): Likewise.
63282         (tanh_test): Likewise.
63283         (tgamma_test): Likewise.
63284         (y0_test): Likewise.
63285         (y1_test): Likewise.
63286         (yn_test): Likewise.
63288         * math/gen-libm-test.pl (adjust_arg): Remove function.
63289         (special_function): Remove argument $in_func.  Only handle
63290         generating output for tables of tests, not inside functions.
63291         (parse_args): Likewise.
63292         (generate_testfile): Remove variable $in_func.  Update call to
63293         parse_args.
63294         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
63295         (MINUS_ZERO_INIT): Rename macro to minus_zero.
63296         (PLUS_INFTY_INIT): Rename macro to plus_infty.
63297         (MINUS_INFTY_INIT): Rename macro to minus_infty.
63298         (QNAN_VALUE_INIT): Rename macro to qnan_value.
63299         (MAX_VALUE_INIT): Rename macro to max_value.
63300         (MIN_VALUE_INIT): Rename macro to min_value.
63301         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
63302         (plus_zero): Remove variable.
63303         (minus_zero): Likewise.
63304         (plus_infty): Likewise.
63305         (minus_infty): Likewise.
63306         (qnan_value): Likewise.
63307         (max_value): Likewise.
63308         (min_value): Likewise.
63309         (min_subnorm_value): Likewise.
63311 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63313         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
63314         uint64_t or uint32_t usage.
63315         * crypt/sha256-block.c: Likewise.
63316         * crypt/sha256-crypt.c: Likewise.
63317         * crypt/sha256.c: Likewise.
63318         * crypt/sha512-block.c: Likewise.
63319         * crypt/sha512-crypt.c: Likewise.
63320         * crypt/sha512.c: Likewise.
63321         * debug/backtrace-tst.c: Likewise.
63322         * debug/pcprofiledump.c: Likewise.
63323         * elf/cache.c: Likewise.
63324         * elf/dl-cache.c: Likewise.
63325         * elf/dl-misc.c: Likewise.
63326         * elf/dl-profile.c: Likewise.
63327         * elf/dl-support.c: Likewise.
63328         * elf/ldconfig.c: Likewise.
63329         * elf/sprof.c: Likewise.
63330         * iconv/dummy-repertoire.c: Likewise.
63331         * iconv/iconv_charmap.c: Likewise.
63332         * iconv/skeleton.c: Likewise.
63333         * iconvdata/8bit-generic.c: Likewise.
63334         * iconvdata/cp737.h: Likewise.
63335         * iconvdata/cp775.h: Likewise.
63336         * iconvdata/ibm1008.h: Likewise.
63337         * iconvdata/ibm1025.h: Likewise.
63338         * iconvdata/ibm1046.h: Likewise.
63339         * iconvdata/ibm1097.h: Likewise.
63340         * iconvdata/ibm1112.h: Likewise.
63341         * iconvdata/ibm1122.h: Likewise.
63342         * iconvdata/ibm1123.h: Likewise.
63343         * iconvdata/ibm1124.h: Likewise.
63344         * iconvdata/ibm1129.h: Likewise.
63345         * iconvdata/ibm1130.h: Likewise.
63346         * iconvdata/ibm1132.h: Likewise.
63347         * iconvdata/ibm1133.h: Likewise.
63348         * iconvdata/ibm1137.h: Likewise.
63349         * iconvdata/ibm1140.h: Likewise.
63350         * iconvdata/ibm1141.h: Likewise.
63351         * iconvdata/ibm1142.h: Likewise.
63352         * iconvdata/ibm1143.h: Likewise.
63353         * iconvdata/ibm1144.h: Likewise.
63354         * iconvdata/ibm1145.h: Likewise.
63355         * iconvdata/ibm1146.h: Likewise.
63356         * iconvdata/ibm1147.h: Likewise.
63357         * iconvdata/ibm1148.h: Likewise.
63358         * iconvdata/ibm1149.h: Likewise.
63359         * iconvdata/ibm1153.h: Likewise.
63360         * iconvdata/ibm1154.h: Likewise.
63361         * iconvdata/ibm1155.h: Likewise.
63362         * iconvdata/ibm1156.h: Likewise.
63363         * iconvdata/ibm1157.h: Likewise.
63364         * iconvdata/ibm1158.h: Likewise.
63365         * iconvdata/ibm1160.h: Likewise.
63366         * iconvdata/ibm1161.h: Likewise.
63367         * iconvdata/ibm1162.h: Likewise.
63368         * iconvdata/ibm1163.h: Likewise.
63369         * iconvdata/ibm1164.h: Likewise.
63370         * iconvdata/ibm1166.h: Likewise.
63371         * iconvdata/ibm1167.h: Likewise.
63372         * iconvdata/ibm12712.h: Likewise.
63373         * iconvdata/ibm1390.h: Likewise.
63374         * iconvdata/ibm1399.h: Likewise.
63375         * iconvdata/ibm16804.h: Likewise.
63376         * iconvdata/ibm4517.h: Likewise.
63377         * iconvdata/ibm4899.h: Likewise.
63378         * iconvdata/ibm4909.h: Likewise.
63379         * iconvdata/ibm4971.h: Likewise.
63380         * iconvdata/ibm5347.h: Likewise.
63381         * iconvdata/ibm803.h: Likewise.
63382         * iconvdata/ibm856.h: Likewise.
63383         * iconvdata/ibm901.h: Likewise.
63384         * iconvdata/ibm902.h: Likewise.
63385         * iconvdata/ibm9030.h: Likewise.
63386         * iconvdata/ibm9066.h: Likewise.
63387         * iconvdata/ibm921.h: Likewise.
63388         * iconvdata/ibm922.h: Likewise.
63389         * iconvdata/ibm9448.h: Likewise.
63390         * iconvdata/isiri-3342.h: Likewise.
63391         * iconvdata/jis0201.h: Likewise.
63392         * include/link.h: Likewise.
63393         * include/netdb.h: Likewise.
63394         * inet/check_native.c: Likewise.
63395         * inet/check_pf.c: Likewise.
63396         * inet/getipv4sourcefilter.c: Likewise.
63397         * inet/getnameinfo.c: Likewise.
63398         * inet/getsourcefilter.c: Likewise.
63399         * inet/htonl.c: Likewise.
63400         * inet/setipv4sourcefilter.c: Likewise.
63401         * inet/setsourcefilter.c: Likewise.
63402         * inet/test-inet6_opt.c: Likewise.
63403         * inet/tst-network.c: Likewise.
63404         * locale/C-collate.c: Likewise.
63405         * locale/C-ctype.c: Likewise.
63406         * locale/C-time.c: Likewise.
63407         * locale/C-translit.h: Likewise.
63408         * locale/loadarchive.c: Likewise.
63409         * locale/programs/3level.h: Likewise.
63410         * locale/programs/charmap.c: Likewise.
63411         * locale/programs/charmap.h: Likewise.
63412         * locale/programs/ld-address.c: Likewise.
63413         * locale/programs/ld-collate.c: Likewise.
63414         * locale/programs/ld-ctype.c: Likewise.
63415         * locale/programs/ld-identification.c: Likewise.
63416         * locale/programs/ld-measurement.c: Likewise.
63417         * locale/programs/ld-messages.c: Likewise.
63418         * locale/programs/ld-monetary.c: Likewise.
63419         * locale/programs/ld-name.c: Likewise.
63420         * locale/programs/ld-numeric.c: Likewise.
63421         * locale/programs/ld-paper.c: Likewise.
63422         * locale/programs/ld-telephone.c: Likewise.
63423         * locale/programs/ld-time.c: Likewise.
63424         * locale/programs/linereader.c: Likewise.
63425         * locale/programs/locale.c: Likewise.
63426         * locale/programs/locarchive.c: Likewise.
63427         * locale/programs/locfile.h: Likewise.
63428         * locale/programs/repertoire.c: Likewise.
63429         * locale/programs/simple-hash.c: Likewise.
63430         * locale/programs/simple-hash.h: Likewise.
63431         * malloc/memusage.c: Likewise.
63432         * malloc/memusagestat.c: Likewise.
63433         * nis/nis_defaults.c: Likewise.
63434         * nis/nis_hash.c: Likewise.
63435         * nis/nis_print.c: Likewise.
63436         * nis/nis_xdr.c: Likewise.
63437         * nscd/connections.c: Likewise.
63438         * nscd/hstcache.c: Likewise.
63439         * nscd/nscd_gethst_r.c: Likewise.
63440         * nscd/nscd_getserv_r.c: Likewise.
63441         * nscd/nscd_helper.c: Likewise.
63442         * nscd/servicescache.c: Likewise.
63443         * nss/makedb.c: Likewise.
63444         * nss/nss_db/db-XXX.c: Likewise.
63445         * nss/nss_db/db-initgroups.c: Likewise.
63446         * nss/nss_db/db-netgrp.c: Likewise.
63447         * nss/nss_files/files-network.c: Likewise.
63448         * nss/nss_files/files-parse.c: Likewise.
63449         * posix/bug-regex5.c: Likewise.
63450         * posix/fnmatch_loop.c: Likewise.
63451         * posix/regcomp.c: Likewise.
63452         * posix/regexec.c: Likewise.
63453         * posix/tst-rfc3484-2.c: Likewise.
63454         * posix/tst-rfc3484-3.c: Likewise.
63455         * posix/tst-rfc3484.c: Likewise.
63456         * resolv/nss_dns/dns-canon.c: Likewise.
63457         * resolv/nss_dns/dns-network.c: Likewise.
63458         * resolv/res_init.c: Likewise.
63459         * resolv/res_mkquery.c: Likewise.
63460         * resolv/tst-aton.c: Likewise.
63461         * stdlib/cxa_atexit.c: Likewise.
63462         * stdlib/cxa_finalize.c: Likewise.
63463         * stdlib/gen-fpioconst.c: Likewise.
63464         * stdlib/strtol_l.c: Likewise.
63465         * string/tst-endian.c: Likewise.
63466         * sunrpc/auth_des.c: Likewise.
63467         * sunrpc/clnt_udp.c: Likewise.
63468         * sunrpc/rtime.c: Likewise.
63469         * sunrpc/svcauth_des.c: Likewise.
63470         * sunrpc/xdr.c: Likewise.
63471         * sunrpc/xdr_intXX_t.c: Likewise.
63472         * sunrpc/xdr_rec.c: Likewise.
63473         * sysdeps/generic/ldconfig.h: Likewise.
63474         * sysdeps/generic/ldsodefs.h: Likewise.
63475         * sysdeps/generic/memusage.h: Likewise.
63476         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63477         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
63478         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
63479         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63480         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63481         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63482         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63483         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63484         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63486         * sysdeps/posix/getaddrinfo.c: Likewise.
63487         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63488         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63489         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63490         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63491         * sysdeps/powerpc/test-gettimebase.c: Likewise.
63492         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
63493         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
63494         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
63495         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
63496         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
63497         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63498         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63499         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
63500         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
63501         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
63502         * sysdeps/x86_64/dl-tls.h: Likewise.
63503         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
63504         * time/alt_digit.c: Likewise.
63505         * time/era.c: Likewise.
63506         * wcsmbs/tst-c16c32-1.c: Likewise.
63508 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63510         * math/libm-test.inc (struct test_sincos_data): New type.
63511         (RUN_TEST_LOOP_sincos): New macro.
63512         (sincos_test_data): New variable.
63513         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
63515 2013-05-16  Richard Henderson  <rth@redhat.com>
63517         * math/atest-exp2.c (LIMB64): New macro.
63518         (CONSTSZ): New macro.
63519         (mp_exp1, mp_exp_m1, mp_log2): New variables.
63520         (hexdig): Move ...
63521         (print_mpn_fp): ... to function scope.
63522         (read_mpn_hex): Remove.
63523         (get_log2): Remove.
63524         (exp2_mpn): Use mp_log2.
63525         (main): Use mp_exp1.
63527 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63529         * math/libm-test.inc: Remove comment about not testing "inexact"
63530         exceptions.
63531         (INEXACT_EXCEPTION): New macro.
63532         (NO_INEXACT_EXCEPTION): Likewise.
63533         (INVALID_EXCEPTION_OK): Update value.
63534         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63535         (OVERFLOW_EXCEPTION_OK): Likewise.
63536         (UNDERFLOW_EXCEPTION_OK): Likewise.
63537         (IGNORE_ZERO_INF_SIGN): Likewise.
63538         (ERRNO_UNCHANGED): Likewise.
63539         (ERRNO_EDOM): Likewise.
63540         (ERRNO_ERANGE): Likewise.
63541         (test_exceptions): Handle testing "inexact" exceptions.
63542         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
63543         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
63544         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
63545         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
63546         INEXACT_EXCEPTION.
63547         (rint_towardzero_test_data): Likewise.
63548         (rint_downward_test_data): Likewise.
63549         (rint_upward_test_data): Likewise.
63551         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
63552         with OVERFLOW_EXCEPTION.
63553         (exp10_test_data): Likewise.
63554         (exp2_test_data): Likewise.
63555         (expm1_test_data): Likewise.
63556         (lgamma_test_data): Likewise.
63557         (pow_test_data): Likewise.
63558         (tgamma_test_data): Likewise.
63559         (yn_test_data): Remove duplicate test of overflow.
63561         * math/libm-test.inc (struct test_cc_c_data): New type.
63562         (RUN_TEST_LOOP_cc_c): New macro.
63563         (cpow_test_data): New variable.
63564         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63566         * math/libm-test.inc (struct test_f_L_data): New type.
63567         (RUN_TEST_LOOP_f_L): New macro.
63568         (llrint_test_data): New variable.
63569         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63570         (llrint_tonearest_test_data): New variable.
63571         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63572         (llrint_towardzero_test_data): New variable.
63573         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63574         (llrint_downward_test_data): New variable.
63575         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63576         (llrint_upward_test_data): New variable.
63577         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63578         (llround_test_data): New variable.
63579         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63581 2013-05-13  Peter Collingbourne  <pcc@google.com>
63583         * math/atest-exp2.c (get_log2): Remove const attribute.
63585 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63587         * math/libm-test.inc (struct test_f_l_data): New type.
63588         (RUN_TEST_LOOP_f_l): New macro.
63589         (lrint_test_data): New variable.
63590         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63591         (lrint_tonearest_test_data): New variable.
63592         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63593         (lrint_towardzero_test_data): New variable.
63594         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63595         (lrint_downward_test_data): New variable.
63596         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63597         (lrint_upward_test_data): New variable.
63598         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63599         (lround_test_data): New variable.
63600         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63602 2013-05-15  Peter Collingbourne  <pcc@google.com>
63604         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63605         (EXTRACT_WORDS64) Use where appropriate.
63606         (INSERT_WORDS64) Likewise.
63608         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63609         constraints with x constraints.
63610         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63612         * malloc/obstack.c (_obstack_compat): Add initializer.
63614 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63616         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63617         si_trapno and add si_addr_lsb to _sifields.sigfault.
63618         (si_trapno): Remove macro.
63619         (si_addr_lsb): Define new macro.
63620         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63622 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63624         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
63625         instead of TEST_f_l.
63626         (llrint_test_tonearest): Likewise.
63627         (llrint_test_towardzero): Likewise.
63628         (llrint_test_downward): Likewise.
63629         (llrint_test_upward): Likewise.
63630         (llround_test): Likewise.
63632         * math/libm-test.inc (struct test_f_i_data): Add comment.
63633         (RUN_TEST_LOOP_f_b): New macro.
63634         (RUN_TEST_LOOP_f_b_tg): Likewise.
63635         (finite_test_data): New variable.
63636         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
63637         (isfinite_test_data): New variable.
63638         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63639         (isinf_test_data): New variable.
63640         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63641         (isnan_test_data): New variable.
63642         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63643         (isnormal_test_data): New variable.
63644         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63645         (issignaling_test_data): New variable.
63646         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63647         (signbit_test_data): New variable.
63648         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63650         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
63651         with INVALID_EXCEPTION.
63652         (acosh_test_data): Likewise.
63653         (asin_test_data): Likewise.
63654         (atanh_test_data): Likewise.
63655         (fmod_test_data): Likewise.
63656         (log_test_data): Likewise.
63657         (log10_test_data): Likewise.
63658         (log2_test_data): Likewise.
63659         (pow_test_data): Likewise.
63660         (sqrt_test_data): Likewise.
63661         (y0_test_data): Likewise.
63662         (y1_test_data): Likewise.
63663         (yn_test_data): Likewise.
63665         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
63666         function contents.
63668         * math/libm-test.inc (struct test_ff_i_data): New type.
63669         (RUN_TEST_LOOP_ff_i_tg): New macro.
63670         (isgreater_test_data): New variable.
63671         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63672         (isgreaterequal_test_data): New variable.
63673         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63674         (isless_test_data): New variable.
63675         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63676         (islessequal_test_data): New variable.
63677         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63678         (islessgreater_test_data): New variable.
63679         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63680         (isunordered_test_data): New variable.
63681         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63683 2013-05-14  David S. Miller  <davem@davemloft.net>
63685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63687 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
63689         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
63691         * math/libm-test.inc (struct test_fF_f1_data): Change type of
63692         extra_test to int.
63693         (struct test_f_i_data): Change type of max_ulp to int.
63695         * math/libm-test.inc (test_ffI_f1_data): New type.
63696         (RUN_TEST_LOOP_ffI_f1): New macro.
63697         (remquo_test_data): New variable.
63698         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
63700         * setjmp/tst-setjmp-fp.c: New file.
63701         * setjmp/Makefile (tests): Add tst-setjmp-fp.
63702         (link-libm): New variable.
63703         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
63705         * math/libm-test.inc (struct test_f_i_data): New type.
63706         (RUN_TEST_LOOP_f_i): New macro.
63707         (RUN_TEST_LOOP_f_i_tg): Likewise.
63708         (fpclassify_test_data): New variable.
63709         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
63710         (ilogb_test_data): New variable.
63711         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
63713         * math/libm-test.inc (scalbln_test): Correct function name in END
63714         call.
63716         * math/libm-test.inc (struct test_f_f1_data): Add comment.
63717         (RUN_TEST_LOOP_fI_f1): New macro.
63718         (frexp_test_data): New variable.
63719         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
63721         * math/libm-test.inc (struct test_fF_f1_data): New type.
63722         (RUN_TEST_LOOP_fF_f1): New macro.
63723         (modf_test_data): New variable.
63724         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
63726         * math/libm-test.inc (struct test_f_f1_data): New type.
63727         (RUN_TEST_LOOP_f_f1): New macro.
63728         (gamma_test_data): New variable.
63729         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63730         (lgamma_test_data): New variable.
63731         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63733 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
63735         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
63736         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
63737         (main): Comment "tls" pseudo-hwcap.
63739 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
63741         * math/libm-test.inc (struct test_fl_f_data): New type.
63742         (RUN_TEST_LOOP_fl_f): New variable.
63743         (scalbln_test_data): New variable.
63744         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
63746         * math/libm-test.inc (struct test_fi_f_data): New type.
63747         (RUN_TEST_LOOP_fi_f): New macro.
63748         (ldexp_test_data): New variable.
63749         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
63750         (scalbn_test_data): New variable.
63751         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
63753         * math/libm-test.inc (struct test_c_f_data): New type.
63754         (RUN_TEST_LOOP_c_f): New macro.
63755         (cabs_test_data): New variable.
63756         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
63757         (carg_test_data): New variable.
63758         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
63759         (cimag_test_data): New variable.
63760         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
63761         (creal_test_data): New variable.
63762         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
63764         * math/libm-test.inc (struct test_if_f_data): New type.
63765         (RUN_TEST_LOOP_if_f): New macro.
63766         (jn_test_data): New variable.
63767         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
63768         (yn_test_data): New variable.
63769         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
63771         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
63773 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63775         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63776         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
63778 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63780         * benchtests/Makefile (CPPFLAGS-nonlib): Add
63781         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
63782         (bench-deps): Add bench-timing.h.
63783         * benchtests-bench-skeleton.c: Include bench-timing.h.
63784         (main): Use TIMING_* macros instead of clock_gettime.
63785         * benchtests/bench-timing.h: New file.
63787         [BZ #14582]
63788         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
63789         Renamed from _LIB_VERSION.
63790         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
63792 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
63794         * math/libm-test.inc (struct test_fff_f_data): New type.
63795         (RUN_TEST_LOOP_fff_f): New macro.
63796         (fma_test_data): New variable.
63797         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
63798         (fma_towardzero_test_data): New variable.
63799         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
63800         (fma_downward_test_data): New variable.
63801         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
63802         (fma_upward_test_data): New variable.
63803         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
63805         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
63806         (struct test_c_c_data): New type.
63807         (RUN_TEST_LOOP_c_c): New macro.
63808         (cacos_test_data): New variable.
63809         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
63810         (cacosh_test_data): New variable.
63811         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
63812         (casin_test_data): New variable.
63813         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
63814         (casinh_test_data): New variable.
63815         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
63816         (catan_test_data): New variable.
63817         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
63818         (catanh_test_data): New variable.
63819         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
63820         (ccos_test_data): New variable.
63821         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
63822         (ccosh_test_data): New variable.
63823         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
63824         (cexp_test_data): New variable.
63825         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
63826         (clog_test_data): New variable.
63827         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
63828         (clog10_test_data): New variable.
63829         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
63830         (conj_test_data): New variable.
63831         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
63832         (cproj_test_data): New variable.
63833         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
63834         (csin_test_data): New variable.
63835         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
63836         (csinh_test_data): New variable.
63837         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
63838         (csqrt_test_data): New variable.
63839         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
63840         (ctan_test_data): New variable.
63841         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
63842         (ctan_tonearest_test_data): New variable.
63843         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63844         (ctan_towardzero_test_data): New variable.
63845         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63846         (ctan_downward_test_data): New variable.
63847         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63848         (ctan_upward_test_data): New variable.
63849         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63850         (ctanh_test_data): New variable.
63851         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
63852         (ctanh_tonearest_test_data): New variable.
63853         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63854         (ctanh_towardzero_test_data): New variable.
63855         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63856         (ctanh_downward_test_data): New variable.
63857         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63858         (ctanh_upward_test_data): New variable.
63859         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63860         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
63861         of BUILD_COMPLEX.
63863         * math/libm-test.inc (struct test_ff_f_data): New type.
63864         (struct test_ff_f_data_nexttoward): Likewise.
63865         (RUN_TEST_LOOP_2_f): New macro.
63866         (RUN_TEST_LOOP_ff_f): Likewise.
63867         (atan2_test_data): New variable.
63868         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
63869         (copysign_test_data): New variable.
63870         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
63871         (fdim_test_data): New variable.
63872         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
63873         (fmax_test_data): New variable.
63874         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
63875         (fmin_test_data): New variable.
63876         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
63877         (fmod_test_data): New variable.
63878         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
63879         (hypot_test_data): New variable.
63880         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
63881         (nextafter_test_data): New variable.
63882         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
63883         (nexttoward_test_data): New variable.
63884         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
63885         (pow_test_data): New variable.
63886         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
63887         (pow_tonearest_test_data): New variable.
63888         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
63889         (pow_towardzero_test_data): New variable.
63890         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
63891         (pow_downward_test_data): New variable.
63892         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
63893         (pow_upward_test_data): New variable.
63894         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
63895         (remainder_test_data): New variable.
63896         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
63897         (scalb_test_data): New variable.
63898         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
63899         * sysdeps/i386/fpu/libm-test-ulps: Update.
63901 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
63903         * math/libm-test.inc (fma_test): Use max_value instead of local
63904         variable fltmax.
63905         (nextafter_test): Likewise.
63907         * math/libm-test.inc (acos_towardzero_test_data): New variable.
63908         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63909         (acos_downward_test_data): New variable.
63910         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63911         (acos_upward_test_data): New variable.
63912         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63913         (acosh_test_data): New variable.
63914         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
63915         (asin_test_data): New variable.
63916         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
63917         (asin_tonearest_test_data): New variable.
63918         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63919         (asin_towardzero_test_data): New variable.
63920         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63921         (asin_downward_test_data): New variable.
63922         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63923         (asin_upward_test_data): New variable.
63924         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63925         (asinh_test_data): New variable.
63926         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
63927         (atan_test_data): New variable.
63928         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
63929         (atanh_test_data): New variable.
63930         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
63931         (cbrt_test_data): New variable.
63932         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
63933         (ceil_test_data): New variable.
63934         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
63935         (cos_test_data): New variable.
63936         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
63937         (cos_tonearest_test_data): New variable.
63938         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63939         (cos_towardzero_test_data): New variable.
63940         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63941         (cos_downward_test_data): New variable.
63942         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63943         (cos_upward_test_data): New variable.
63944         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63945         (cosh_test_data): New variable.
63946         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
63947         (cosh_tonearest_test_data): New variable.
63948         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63949         (cosh_towardzero_test_data): New variable.
63950         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63951         (cosh_downward_test_data): New variable.
63952         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63953         (cosh_upward_test_data): New variable.
63954         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63955         (erf_test_data): New variable.
63956         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
63957         (erfc_test_data): New variable.
63958         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
63959         (exp_test_data): New variable.
63960         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
63961         (exp_tonearest_test_data): New variable.
63962         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63963         (exp_towardzero_test_data): New variable.
63964         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63965         (exp_downward_test_data): New variable.
63966         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63967         (exp_upward_test_data): New variable.
63968         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63969         (exp10_test_data): New variable.
63970         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
63971         (exp2_test_data): New variable.
63972         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
63973         (expm1_test_data): New variable.
63974         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
63975         (fabs_test_data): New variable.
63976         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
63977         (floor_test_data): New variable.
63978         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
63979         (j0_test_data): New variable.
63980         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
63981         (j1_test_data): New variable.
63982         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
63983         (log_test_data): New variable.
63984         (log_test): Run tests with RUN_TEST_LOOP_f_f.
63985         (log10_test_data): New variable.
63986         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
63987         (log1p_test_data): New variable.
63988         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
63989         (log2_test_data): New variable.
63990         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
63991         (logb_test_data): New variable.
63992         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
63993         (logb_downward_test_data): New variable.
63994         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63995         (nearbyint_test_data): New variable.
63996         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
63997         (rint_test_data): New variable.
63998         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
63999         (rint_tonearest_test_data): New variable.
64000         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64001         (rint_towardzero_test_data): New variable.
64002         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64003         (rint_downward_test_data): New variable.
64004         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64005         (rint_upward_test_data): New variable.
64006         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64007         (round_test_data): New variable.
64008         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64009         (sin_test_data): New variable.
64010         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64011         (sin_tonearest_test_data): New variable.
64012         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64013         (sin_towardzero_test_data): New variable.
64014         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64015         (sin_downward_test_data): New variable.
64016         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64017         (sin_upward_test_data): New variable.
64018         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64019         (sinh_test_data): New variable.
64020         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64021         (sinh_tonearest_test_data): New variable.
64022         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64023         (sinh_towardzero_test_data): New variable.
64024         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64025         (sinh_downward_test_data): New variable.
64026         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64027         (sinh_upward_test_data): New variable.
64028         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64029         (sqrt_test_data): New variable.
64030         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64031         (tan_test_data): New variable.
64032         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64033         (tan_tonearest_test_data): New variable.
64034         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64035         (tan_towardzero_test_data): New variable.
64036         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64037         (tan_downward_test_data): New variable.
64038         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64039         (tan_upward_test_data): New variable.
64040         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64041         (tanh_test_data): New variable.
64042         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64043         (tgamma_test_data): New variable.
64044         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64045         (trunc_test_data): New variable.
64046         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64047         (y0_test_data): New variable.
64048         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64049         (y1_test_data): New variable.
64050         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64051         (significand_test_data): New variable.
64052         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64054 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64056         [BZ #12387]
64057         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64059 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64061         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64063 2013-05-10  Andreas Jaeger  <aj@suse.de>
64065         [BZ #15448]
64066         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64067         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64069 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64071         * math/gen-libm-test.pl (adjust_arg): New function.
64072         (special_functions): Handle generating output in both functions
64073         and arrays.
64074         (parse_args): Likewise.
64075         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64076         $in_func argument to parse_args.
64077         * math/libm-test.inc (struct test_f_f_data): New type.
64078         (IF_ROUND_INIT_): New macro.
64079         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64080         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64081         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64082         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64083         (ROUND_RESTORE_): Likewise.
64084         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64085         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64086         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64087         (ROUND_RESTORE_FE_UPWARD): Likewise.
64088         (RUN_TEST_LOOP_f_f): New macro.
64089         (acos_test_data): New variable.
64090         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64091         (acos_tonearest_test_data): New variable.
64092         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64094 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64096         * benchtests/bench-skeleton.c (startup): Fix coding style.
64098 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64100         [BZ #6809]
64101         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64102         negative infinity argument.
64103         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64104         negative infinity argument.
64105         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64106         negative infinity argument.
64107         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64108         domain errors.
64110 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64112         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64113         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64114         * iconv/iconv_prog.c (main): Likewise.
64115         * locale/programs/charmap-dir.c (charmap_readdir)
64116         (fopen_uncompressed): Likewise.
64117         * locale/programs/locfile.c (siblings_uncached)
64118         (write_locale_data): Use lstat64 instead of lstat.
64119         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64120         stat.
64122 2013-05-10  Andreas Jaeger  <aj@suse.de>
64124         [BZ #15395]
64125         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64126         localization.
64127         Include <locale.h>.
64129 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
64131         * elf/dl-close.c (_dl_close_worker): Add comments.
64133 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
64135         [BZ #15359]
64136         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64137         high part of pi/2.
64138         (__ieee754_rem_pio2l): Update comments.
64140         [BZ #15429]
64141         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64142         high part of pi/2.
64143         (__ieee754_rem_pio2l): Update comments.
64145         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64146         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64148         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64149         M_PI_4l.
64151         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64152         (M_PI_34_LOG10El): Likewise.
64153         (M_PI2_LOG10El): Likewise.
64154         (M_PI4_LOG10El): Likewise.
64155         (M_PI_LOG10El): Likewise.
64157 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64161 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
64163         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64164         (MINUS_ZERO_INIT): Likewise.
64165         (PLUS_INFTY_INIT): Likewise.
64166         (MINUS_INFTY_INIT): Likewise.
64167         (QNAN_VALUE_INIT): Likewise.
64168         (MAX_VALUE_INIT): Likewise.
64169         (MIN_VALUE_INIT): Likewise.
64170         (MIN_SUBNORM_VALUE_INIT): Likewise.
64171         (plus_zero): Initialize with PLUS_ZERO_INIT.
64172         (minus_zero): Initialize with MINUS_ZERO_INIT.
64173         (plus_infty): Initialize with PLUS_INFTY_INIT.
64174         (minus_infty): Initialize with MINUS_INFTY_INIT.
64175         (qnan_value): Initialize with QNAN_VALUE_INIT.
64176         (max_value): Initialize with MAX_VALUE_INIT.
64177         (min_value): Initialize with MIN_VALUE_INIT.
64178         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64180         * math/libm-test.inc (RUN_TEST_if_f): New macro.
64181         (jn_test): Use TEST_if_f instead of TEST_ff_f.
64182         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64183         (yn_test): Use TEST_if_f instead of TEST_ff_f.
64185         * math/libm-test.inc (RUN_TEST_f_f): New macro.
64186         (RUN_TEST_2_f): Likewise.
64187         (RUN_TEST_ff_f): Likewise.
64188         (RUN_TEST_fi_f): Likewise.
64189         (RUN_TEST_fl_f): Likewise.
64190         (RUN_TEST_fff_f): Likewise.
64191         (RUN_TEST_c_f): Likewise.
64192         (RUN_TEST_f_f1): Likewise.
64193         (RUN_TEST_fF_f1): Likewise.
64194         (RUN_TEST_fI_f1): Likewise.
64195         (RUN_TEST_ffI_f1): Likewise.
64196         (RUN_TEST_c_c): Likewise.
64197         (RUN_TEST_cc_c): Likewise.
64198         (RUN_TEST_f_i): Likewise.
64199         (RUN_TEST_f_i_tg): Likewise.
64200         (RUN_TEST_ff_i_tg): Likewise.
64201         (RUN_TEST_f_b): Likewise.
64202         (RUN_TEST_f_b_tg): Likewise.
64203         (RUN_TEST_f_l): Likewise.
64204         (RUN_TEST_f_L): Likewise.
64205         (RUN_TEST_sincos): Likewise.
64206         * math/gen-libm-test.pl (new_test): Take new argument to indicate
64207         whether to show exceptions.  Do not include ");\n" in return
64208         value.
64209         (special_functions): Output call to RUN_TEST_sincos instead of
64210         check_float calls.  Update calls to new_test.
64211         (parse_args): Output call to single RUN_TEST_* macro instead of
64212         check_* calls and other assignments.  Update calls to new_test.
64214         [BZ #2546]
64215         [BZ #2560]
64216         [BZ #5159]
64217         [BZ #15426]
64218         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64219         input to result for tgamma overflow.
64220         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64221         (gamma_coeff): New variable.
64222         (NCOEFF): New macro.
64223         (gamma_positive): New function.
64224         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64225         underflow here.  Use gamma_positive instead of exp (lgamma) for
64226         other arguments.
64227         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64228         (gamma_coeff): New variable.
64229         (NCOEFF): New macro.
64230         (gammaf_positive): New function.
64231         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
64232         underflow here.  Use gamma_positive instead of exp (lgamma) for
64233         other arguments.
64234         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
64235         (gamma_coeff): New variable.
64236         (NCOEFF): New macro.
64237         (gammal_positive): New function.
64238         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
64239         underflow here.  Use gamma_positive instead of exp (lgamma) for
64240         other arguments.
64241         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
64242         (gamma_coeff): New variable.
64243         (NCOEFF): New macro.
64244         (gammal_positive): New function.
64245         (__ieee754_gammal_r): Handle positive infinity, overflow and
64246         underflow here.  Handle NaN the same as positive infinity.  Remove
64247         check x < 0xffffffff for negative integers.  Use gamma_positive
64248         instead of exp (lgamma) for other arguments.
64249         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
64250         (gamma_coeff): New variable.
64251         (NCOEFF): New macro.
64252         (gammal_positive): New function.
64253         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
64254         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
64255         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
64256         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
64257         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
64258         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
64259         * sysdeps/generic/math_private.h (__gamma_productf): New
64260         prototype.
64261         (__gamma_product): Likewise.
64262         (__gamma_productl): Likewise.
64263         * math/Makefile (libm-calls): Add gamma_product.
64264         * math/libm-test.inc (tgamma_test): Add more tests.
64265         * sysdeps/i386/fpu/libm-test-ulps: Update.
64266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64268 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
64270         * benchtests/bench-skeleton.c (main): Preheat CPU.
64272 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
64274         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64276 2013-05-07  Roland McGrath  <roland@hack.frob.com>
64278         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
64279         and _dl_skip_args_internal.
64281 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
64283         * manual/message.texi (Message Translation): Talk about users.
64284         Message to key mapping impacts design.
64286 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64288         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
64290         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
64292         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
64293         * sysdeps/wordsize-64/glob64.c: ... here.
64295         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
64296         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
64297         New macros.
64299         * debug/getlogin_r_chk.c: Moved to ...
64300         * login/getlogin_r_chk.c: ... here.
64301         * debug/Makefile (routines): Move getlogin_r_chk to ...
64302         * login/Makefile (routines): ... here.
64303         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
64304         * login/Versions (libc: GLIBC_2.4): ... here.
64306         * io/poll.c (__poll): Renamed from poll.
64307         Add libc_hidden_def.
64308         (poll): Define as weak alias.
64310         * debug/ptsname_r_chk.c: Moved to ...
64311         * login/ptsname_r_chk.c: ... here.
64312         * debug/Makefile (routines): Move ptsname_r_chk to ...
64313         * login/Makefile (routines): ... here.
64314         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
64315         * login/Versions (libc: GLIBC_2.4): ... here.
64317         * posix/getlogin.c: Moved to ...
64318         * login/getlogin.c: ... here.
64319         * posix/getlogin_r.c: Moved to ...
64320         * login/getlogin_r.c: ... here.
64321         * posix/getlogin_r.c: Moved to ...
64322         * login/getlogin_r.c: ... here.
64323         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
64324         * login/Makefile (routines): ... here.
64325         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
64326         * login/Versions (libc: GLIBC_2.0): ... here.
64328         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
64329         (setrlimit): Define as weak alias.
64331         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
64332         Call __ names for open, ftruncate, and close.
64333         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
64334         (truncate): Define as weak alias.
64336 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
64338         * math/gen-libm-test.pl (parse_args): Initialize x before each
64339         test of frexp, modf and remquo.
64341         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
64342         test signgam value.
64344 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64346         [BZ #15418]
64347         [BZ #15419]
64348         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
64349         internal tests.
64350         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64352 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64354         * elf/dl-writev.h: New file.
64355         * elf/dl-misc.c: Include it.
64356         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
64357         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
64359 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
64361         * math/libm-test.inc (noXFails): Remove variable.
64362         (noXPasses): Likewise.
64363         (BUILD_COMPLEX_INT): Remove macro.
64364         (print_screen): Remove xfail argument.
64365         (print_screen_max_error): Likewise.
64366         (update_stats): Likewise.
64367         (print_max_error): Likewise.  Update calls to other affected
64368         functions.
64369         (print_complex_max_error): Likewise.
64370         (test_single_exception): Update calls to print_screen.
64371         (test_single_errno): Likewise.
64372         (check_float_internal): Remove xfail argument.  Update calls to
64373         other affected functions.
64374         (check_float): Likewise.
64375         (check_complex): Likewise.
64376         (check_int): Likewise.
64377         (check_long): Likewise.
64378         (check_bool): Likewise.
64379         (check_longlong): Likewise.
64380         (main): Don't print noXFails and noXPasses.
64381         * math/gen-libm-test.pl (top level): Don't mention expected
64382         failure handling in comment.
64383         (new_test): Don't handle expected failures.
64384         (parse_args): Don't mention expected failure handling in comment.
64385         (generate_testfile): Don't handle expected failures.
64386         (parse_ulps): Likewise.
64387         (print_ulps_file): Likewise.
64388         (get_failure): Remove function.
64389         (output_test): Don't handle expected failures.
64390         * make/README.libm-test: Don't mention expected failure handling.
64392         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
64393         (minus_zero): Likewise.
64394         (plus_infty): Likewise.
64395         (minus_infty): Likewise.
64396         (qnan_value): Likewise.
64397         (max_value): Likewise.
64398         (min_value): Likewise.
64399         (min_subnorm_value): Likewise.
64400         (initialize): Do not initialize those variables dynamically.
64402 2013-05-03  Roland McGrath  <roland@hack.frob.com>
64404         * io/open.c (__open_2): Moved to ...
64405         * io/open_2.c: ... this new file.
64406         * io/open64.c (__open64_2): Moved to ...
64407         * io/open64_2.c: ... this new file.
64408         * io/openat.c (__openat_2): Moved to ...
64409         * io/openat_2.c: ... this new file.
64410         * io/openat64.c (__openat64_2): Moved to ...
64411         * io/openat64_2.c: ... this new file.
64412         * io/Makefile (routines): Add them.
64413         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
64414         * sysdeps/unix/sysv/linux/open_2.c: File removed.
64415         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
64416         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
64417         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
64418         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
64419         (__openat64): Add hidden_ver.
64420         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
64421         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
64423         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
64424         Separately conditionalize setting of GLRO(dl_sysinfo) so
64425         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
64426         as well, but the actual setting is only under [NEED_DL_SYSINFO].
64428 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64430         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
64431         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
64432         definition.
64433         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
64434         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64435         (_libc_vdso_platform_setup): Add __vdso_time initialization.
64436         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
64437         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
64439 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
64441         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
64442         test signgam value.
64444         * math/libm-test.inc (hypot_test): Do not use
64445         IGNORE_ZERO_INF_SIGN.
64447 2013-05-03  Andreas Jaeger  <aj@suse.de>
64449         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
64450         Linux 3.9.
64451         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
64452         (PF_MAX): Adjust for VSOCK change.
64454 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64458 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
64460         [BZ #15264]
64461         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
64462         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
64463         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
64465 2013-05-02  David S. Miller  <davem@davemloft.net>
64467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64469 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
64471         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
64473 2013-05-01  Roland McGrath  <roland@hack.frob.com>
64475         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
64477 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
64479         [BZ #14952]
64480         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
64481         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64482         Use __attribute__ ((__gnu_inline__)).
64483         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64484         Don't use __attribute__ ((__gnu_inline__)).
64486 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
64488         [BZ #15423]
64489         * math/s_catan.c (__catan): Handle small real or imaginary part of
64490         input specially to avoid spurious underflow.
64491         * math/s_catanf.c (__catanf): Likewise.
64492         * math/s_catanh.c (__catanh): Likewise.
64493         * math/s_catanhf.c (__catanhf): Likewise.
64494         * math/s_catanhl.c (__catanhl): Likewise.
64495         * math/s_catanl.c (__catanl): Likewise.
64496         * math/libm-test.inc (catan_test): Add more tests.
64497         (catanh_test): Likewise.
64498         * sysdeps/i386/fpu/libm-test-ulps: Update.
64499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64501 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64505 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
64507         [BZ #15416]
64508         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
64509         accurately for denominator in atan2.
64510         * math/s_catanf.c (__catanf): Likewise.
64511         * math/s_catanh.c (__catanh): Likewise.
64512         * math/s_catanhf.c (__catanhf): Likewise.
64513         * math/s_catanhl.c (__catanhl): Likewise.
64514         * math/s_catanl.c (__catanl): Likewise.
64515         * math/libm-test.inc (catan_test): Add more tests.
64516         (catanh_test): Likewise.
64517         * sysdeps/i386/fpu/libm-test-ulps: Update.
64518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64520 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64522         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
64524         * benchtests/Makefile (bench): Remove slow benchmarks.
64525         * benchtests/atan-inputs: Add slow benchmark inputs.
64526         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
64527         (BENCH_FUNC): Accept variant offset.
64528         (VARIANT): Define.
64529         * benchtests/bench-skeleton.c (main): Run benchmark for each
64530         variant.
64531         * benchtests/cos-inputs: Add slow benchmark inputs.
64532         * benchtests/exp-inputs: Likewise.
64533         * benchtests/pow-inputs: Likewise.
64534         * benchtests/sin-inputs: Likewise.
64535         * benchtests/slowatan-inputs: Remove.
64536         * benchtests/slowatan.c: Remove.
64537         * benchtests/slowcos-inputs: Remove.
64538         * benchtests/slowcos.c: Remove.
64539         * benchtests/slowexp-inputs: Remove.
64540         * benchtests/slowexp.c: Remove.
64541         * benchtests/slowpow-inputs: Remove.
64542         * benchtests/slowpow.c: Remove.
64543         * benchtests/slowsin-inputs: Remove.
64544         * benchtests/slowsin.c: Remove.
64545         * benchtests/slowtan-inputs: Remove.
64546         * benchtests/slowtan.c: Remove.
64547         * benchtests/tan-inputs: Add slow benchmark inputs.
64548         * scripts/bench.pl: Parse comments and directives.
64550         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
64551         in CPPFLAGS.
64552         ($(objpfx)bench-%.c): Remove *-ITER.
64553         * benchtests/bench-modf.c: Remove definition of ITER.
64554         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
64555         (main): Loop for DURATION seconds instead of fixed number of
64556         iterations.
64557         * scripts/bench.pl: Don't expect iterations in parameters.
64559 2013-04-29  Roland McGrath  <roland@hack.frob.com>
64561         * io/fchdir.c (__fchdir): Renamed from fchdir.
64562         (fchdir): Define as weak alias.
64564 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64566         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64567         (ERRNO_EDOM): Likewise.
64568         (ERRNO_ERANGE): Likewise.
64569         (noErrnoTests): New variable.
64570         (init_max_error): Set errno to 0.
64571         (test_single_errno): New function.
64572         (test_errno): Likewise.
64573         (check_float_internal): Call test_errno.  Set errno to 0.
64574         (check_complex): Refer to errno tests in comment.
64575         (check_int): Call test_errno.  Set errno to 0.
64576         (check_long): Likewise.
64577         (check_bool): Likewise.
64578         (check_longlong): Likewise.
64579         (cos_test): Use ERRNO_* flags for errno tests instead of
64580         check_int.
64581         (expm1_test): Likewise.
64582         (fmod_test): Likewise.
64583         (ilogb_test): Likewise.
64584         (lgamma_test): Likewise.
64585         (pow_test): Likewise.
64586         (remainder_test): Likewise.
64587         (sin_test): Likewise.
64588         (tan_test): Likewise.
64589         (yn_test): Likewise.
64590         (initialize): Set errno to 0.
64591         (main): Print number of errno tests.
64592         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64594 2013-04-29  Andreas Jaeger  <aj@suse.de>
64596         [BZ #15084]
64597         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64598         and RES_USEVC.
64600         [BZ #15085]
64601         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64602         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64603         unimplemented.
64605         [BZ #15380]
64606         * stdlib/random.c (__initstate): Return NULL if
64607         __initstate fails.
64609         [BZ #15086]
64610         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64611         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64612         RES_SNGLKUPREOP.
64614 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64618 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64620         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
64621         of individual tests.
64622         (casin_test): Likewise.
64623         (casinh_test): Likewise.
64625 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
64627         [BZ #15409]
64628         * math/s_catan.c (__catan): Handle arguments with large real or
64629         imaginary part separately without squaring.
64630         * math/s_catanf.c (__catanf): Likewise.
64631         * math/s_catanh.c (__catanh): Likewise.
64632         * math/s_catanhf.c (__catanhf): Likewise.
64633         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64634         and redefine.
64635         (__catanhl): Handle arguments with large real or imaginary part
64636         separately without squaring.
64637         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64638         and redefine.
64639         (__catanl): Handle arguments with large real or imaginary part
64640         separately without squaring.
64641         * math/libm-test.inc (catan_test): Add more tests.
64642         (catanh_test): Likewise.
64643         * sysdeps/i386/fpu/libm-test-ulps: Update.
64644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64646 2013-04-27  Andreas Jaeger  <aj@suse.de>
64648         [BZ #15007]
64649         * stdlib/stdlib.h: Update guards for qecvt.
64650         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
64651         <stdlib.h>.
64653 2013-04-27  Allan McRae  <allan@archlinux.org>
64655         * sysdeps/i386/fpu/libm-test-ulps: Update.
64657 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
64659         [BZ #15406]
64660         * math/s_catan.c: Include <float.h>.
64661         (__catan): Ensure underflow exception occurs for underflowed
64662         result.
64663         * math/s_catanf.c: Include <float.h>.
64664         (__catanf): Ensure underflow exception occurs for underflowed
64665         result.
64666         * math/s_catanh.c: Include <float.h>.
64667         (__catanh): Ensure underflow exception occurs for underflowed
64668         result.
64669         * math/s_catanhf.c: Include <float.h>.
64670         (__catanhf): Ensure underflow exception occurs for underflowed
64671         result.
64672         * math/s_catanhl.c: Include <float.h>.
64673         (__catanhl): Ensure underflow exception occurs for underflowed
64674         result.
64675         * math/s_catanl.c: Include <float.h>.
64676         (__catanl): Ensure underflow exception occurs for underflowed
64677         result.
64678         * math/libm-test.inc (catan_test): Add more tests.
64679         (catanh_test): Likewise.
64681         [BZ #15405]
64682         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
64683         underflowed result.
64684         * math/s_ccoshf.c (__ccoshf): Likewise.
64685         * math/s_ccoshl.c (__ccoshl): Likewise.
64686         * math/s_csin.c (__csin): Likewise.
64687         * math/s_csinf.c (__csinf): Likewise.
64688         * math/s_csinh.c (__csinh): Likewise.
64689         * math/s_csinhf.c (__csinhf): Likewise.
64690         * math/s_csinhl.c (__csinhl): Likewise.
64691         * math/s_csinl.c (__csinl): Likewise.
64692         * math/libm-test.inc (ccos_test): Add more tests.
64693         (ccosh_test): Likewise.
64694         (csin_test): Likewise.
64695         (csinh_test): Likewise.
64697 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64699         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
64700         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
64701         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
64702         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
64703         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
64704         powerpc/power5+/fpu folders.
64705         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
64708 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64712 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
64714         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
64715         additions to variable.
64716         [$(config-machine) = x86_64] (modules-names): Likewise.
64717         ($(objpfx)tst-audit3): Remove dependency.
64718         ($(objpfx)tst-audit3.out): Likewise.
64719         ($(objpfx)tst-audit4): Likewise.
64720         ($(objpfx)tst-audit4.out): Likewise.
64721         ($(objpfx)tst-audit5): Likewise.
64722         ($(objpfx)tst-audit5.out): Likewise.
64723         ($(objpfx)tst-audit6): Likewise.
64724         ($(objpfx)tst-audit6.out): Likewise.
64725         ($(objpfx)tst-audit7): Likewise.
64726         ($(objpfx)tst-audit7.out): Likewise.
64727         (tst-audit3-ENV): Remove variable.
64728         (tst-audit4-ENV): Likewise.
64729         (tst-audit5-ENV): Likewise.
64730         (tst-audit6-ENV): Likewise.
64731         (tst-audit7-ENV): Likewise.
64732         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
64733         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
64734         addition to variable.
64735         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
64736         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
64737         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
64738         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
64739         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
64740         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
64741         tst-audit3, tst-audit4 and tst-audit5.
64742         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
64743         tst-audit6 and tst-audit7.
64744         [$(subdir) = elf] (modules-names): Add audit modules for those
64745         tests.
64746         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
64747         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
64748         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
64749         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
64750         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
64751         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
64752         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
64753         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
64754         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
64755         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
64756         [$(subdir) = elf] (tst-audit3-ENV): New variable.
64757         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
64758         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
64759         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
64760         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
64761         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
64762         Likewise.
64763         [$(subdir) = elf && $(config-cflags-avx) = yes]
64764         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
64765         [$(subdir) = elf && $(config-cflags-avx) = yes]
64766         (CFLAGS-tst-auditmod4a.c): Likewise.
64767         [$(subdir) = elf && $(config-cflags-avx) = yes]
64768         (CFLAGS-tst-auditmod4b.c): Likewise.
64769         [$(subdir) = elf && $(config-cflags-avx) = yes]
64770         (CFLAGS-tst-auditmod6b.c): Likewise.
64771         [$(subdir) = elf && $(config-cflags-avx) = yes]
64772         (CFLAGS-tst-auditmod6c.c): Likewise.
64773         [$(subdir) = elf && $(config-cflags-avx) = yes]
64774         (CFLAGS-tst-auditmod7b.c): Likewise.
64775         * elf/tst-audit3.c: Move to ...
64776         * sysdeps/x86_64/tst-audit3.c: ... here.
64777         * elf/tst-audit4.c: Move to ...
64778         * sysdeps/x86_64/tst-audit4.c: ... here.
64779         * elf/tst-audit5.c: Move to ...
64780         * sysdeps/x86_64/tst-audit5.c: ... here.
64781         * elf/tst-audit6.c: Move to ...
64782         * sysdeps/x86_64/tst-audit6.c: ... here.
64783         * elf/tst-audit7.c: Move to ...
64784         * sysdeps/x86_64/tst-audit7.c: ... here.
64785         * elf/tst-auditmod3a.c: Move to ...
64786         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
64787         * elf/tst-auditmod3b.c: Move to ...
64788         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
64789         * elf/tst-auditmod4a.c: Move to ...
64790         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
64791         * elf/tst-auditmod4b.c: Move to ...
64792         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
64793         * elf/tst-auditmod5a.c: Move to ...
64794         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
64795         * elf/tst-auditmod5b.c: Move to ...
64796         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
64797         * elf/tst-auditmod6a.c: Move to ...
64798         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
64799         * elf/tst-auditmod6b.c: Move to ...
64800         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
64801         * elf/tst-auditmod6c.c: Move to ...
64802         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
64803         * elf/tst-auditmod7a.c: Move to ...
64804         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
64805         * elf/tst-auditmod7b.c: Move to ...
64806         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
64808 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
64810         [BZ #15366]
64811         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
64812         define unconditionally.
64813         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
64814         define unconditionally.
64815         (INT8_C, INT16_C, etc.): Likewise.
64817 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
64819         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
64820         __ehdr_start with hidden visibility.
64822         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
64824 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
64826         * math/libm-test.inc (cos_test): Use accurate hex constants.
64827         (sincost_test): Likewise.
64829 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
64831         * math/libm-test.inc (catan_test): Add more tests.
64832         (catanh_test): Likewise.
64834         * math/s_catanf.c (__catanf): Use suffixed floating-point
64835         constants.
64836         * math/s_catanhf.c (__catanhf): Likewise.
64837         * math/s_catanhl.c (__catanhl): Likewise.
64838         * math/s_catanl.c (__catanl): Likewise.
64840         [BZ #15394]
64841         * math/s_catan.c (__catan): Calculate imaginary part of result
64842         with log1p not log unless computing log of number close to 0.
64843         * math/s_catanf.c (__catanf): Likewise.
64844         * math/s_catanl.c (__catanl): Likewise.
64845         * math/s_catanh.c (__catanh): Calculate real part of result with
64846         log1p not log unless computing log of number close to 0.
64847         * math/s_catanhf.c (__catanhf): Likewise.
64848         * math/s_catanhl.c (__catanhl): Likewise.
64849         * math/libm-test.inc (catan_test): Add more tests.
64850         (catanh_test): Likewise.
64851         * sysdeps/i386/fpu/libm-test-ulps: Update.
64852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64854 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64856         * benchtests/Makefile: Mention files in which fast and slow
64857         paths of math functions are implemented.
64859 2013-04-23  Roland McGrath  <roland@hack.frob.com>
64861         * sysdeps/posix/timespec_get.c: New file.
64863 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64865         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
64866         POWER.
64867         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
64868         for POWER.
64869         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
64870         powerpc/power5/fpu folders.
64871         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
64872         * benchtests/Makefile: Add modf testcase.
64873         * benchtests/bench-modf.c: New file: Benchmark test for mo
64875 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
64877         [BZ #14888]
64878         * time/Makefile (tests): Add tst-strptime-whitespace.
64879         * time/strptime_l.c (get_number): Use ISSPACE.
64880         (__strptime_internal): Likewise.
64881         * time/tst-strptime-whitespace.c: New test case.
64883 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
64885         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
64886         member.
64887         (_nss_files_init): Set it here.
64889 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
64891         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
64892         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
64893         unsigned.
64895 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
64897         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
64899 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64901         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
64902         size just once.
64904 2013-04-21  David S. Miller  <davem@davemloft.net>
64906         * po/ru.po: Update Russion translation from translation project.
64908 2013-04-17  Adam Conrad  <adconrad@0c3.net>
64910         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
64911         and setfsgid.
64913 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
64915         * configure.in: Remove i386 configure warning. Remove i386 case.
64916         * configure: Regenerate.
64917         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
64918         Add example to error message.
64919         * sysdeps/i386/configure: Regenerate.
64921 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64923         * benchtests/Makefile (bench): Add cos, tan, slowcos and
64924         slowtan.
64925         * benchtests/cos-inputs: New file.
64926         * benchtests/slowcos-inputs: New file.
64927         * benchtests/slowcos.c: New file.
64928         * benchtests/slowtan-inputs: New file.
64929         * benchtests/slowtan.c: New file.
64930         * benchtests/tan-inputs: New file.
64932 2013-04-16  Roland McGrath  <roland@hack.frob.com>
64934         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
64935         considered kosher.
64937 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64939         * benchtests/Makefile: Include cppflags-iterator.mk to add
64940         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
64942         * Makefile.in (bench-clean): New target.
64943         * benchtests/Makefile (bench-clean): Likewise.
64945 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
64947         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
64949 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
64951         * stdio-common/tstdiomisc.c: Fix coding-style violation.
64953 2013-04-15  Andreas Schwab  <schwab@suse.de>
64955         * nscd/grpcache.c (cache_addgr): Properly check for short write.
64956         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64957         * nscd/pwdcache.c (cache_addpw): Likewise.
64958         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
64959         more than recsize.
64961 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64963         * benchtests/Makefile (bench): Write all output to
64964         bench-out.tmp together.
64966 2013-04-15  Andreas Schwab  <schwab@suse.de>
64968         * nscd/nscd.c (main): Don't fork again after closing files.
64970 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64972         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
64974         * benchtests/Rules (bench-deps): Collect dependencies into a
64975         single variable.  Add Makefile to dependencies.
64976         ($(objpfx)bench-%.c): Depend on bench-deps.
64978 2013-04-12  Roland McGrath  <roland@hack.frob.com>
64979             Xavier Roche  <roche+kml2@exalead.com>
64981         [BZ #15361]
64982         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
64983         just that it's a file descriptor.
64984         * manual/llio.texi (Synchronizing AIO Operations): Update description
64985         for EBADF error from aio_fsync.
64987 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64989         * Rules (bench): Move target definition...
64990         * benchtests/Makefile: ... here.
64992 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
64994         * math/libm-test.inc (cos_test): Fix PI/2 test.
64995         (sincos_test): Likewise.
64996         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
64997         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
64999 2013-04-11  Andreas Schwab  <schwab@suse.de>
65001         [BZ #13988]
65002         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65003         accept exponent character only when digits were seen.
65004         * stdio-common/Makefile (tests): Add bug26.
65005         * stdio-common/bug26.c: New file.
65007         [BZ #14293]
65008         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65009         non-freeable.
65011 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65013         * Makeconfig (rtld-prefix): Define built linker prefix.
65014         * Rules (run-bench): Use it.
65015         * math/Makefile (run-regen-ulps): Likewise.
65017         * Rules (bench): Remove eval.
65019 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65020             Roland McGrath  <roland@hack.frob.com>
65021             Ondrej Bilka  <neleai@seznam.cz>
65023         [BZ #15346]
65024         * time/getdate.c: Include ctype.h and alloca.h.
65025         (__getdate_r): Trim leading and trailing spaces of input.
65026         * time/tst-getdate.c (tests): Add tests with leading and
65027         trailing spaces.
65029 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65031         [BZ #14280]
65032         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65033         when computing value.
65035 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65037         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65038         Use testrun.sh to run libm tests.
65040         [BZ #15309]
65041         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65043 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65045         [BZ #15264]
65046         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65048 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65050         * Makefile.in (regen-ulps): New target.
65051         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65052         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65053         [ifneq (no,$(PERL)] (regen-ulps): New target.
65054         [ifeq (no,$(PERL)] (regen-ulps): New target.
65055         * math/libm-test.inc (ulps_file_name): Define.
65056         (output_dir): New variable.
65057         (options): Add "output-dir" option.
65058         (parse_opt): Handle 'o' case.
65059         (main): If output_dir is non-NULL use it as a prefix
65060         otherwise use "".
65061         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65063 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65065         [BZ #10060, #10062]
65066         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65067         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65068         fail configure if __sync_val_compare_and_swap is not inlined.
65069         * sysdeps/i386/configure: Regenerate.
65070         * configure.in: Build for i686 when configured for i386.
65071         * configure: Regenerate.
65072         * README: Remove i386 reference.
65074 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65076         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65077         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65079 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65081         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65082         (lmsnanval): New variables.
65083         (F): Add conversion tests.
65084         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65085         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65087         * stdio-common/tstdiomisc.c (F): Properly collect individual
65088         tests' results.
65090         [BZ #14686, #15336]
65091         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65092         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65093         Instead, use input NaN values or generate a qNaN by arithmetic
65094         operation.  Also fix bugs to comply with the standard.
65095         * math/libm-test.inc (remainder_test): Add more tests.
65097         [BZ #15335, #15342]
65098         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65100         input NaN values or generate a qNaN by arithmetic operation.
65102         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65103         unreachable code.
65105         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65106         definitions.
65108 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65110         [BZ #14478]
65111         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65112         underflowed result.
65113         * math/s_cexpf.c (__cexpf): Likewise.
65114         * math/s_cexpl.c (__cexpl): Likewise.
65115         * math/libm-test.inc (cexp_test): Add more tests.
65117 2013-04-03  Andreas Schwab  <schwab@suse.de>
65119         [BZ #15330]
65120         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65121         order arrays from heap if bigger than alloca cutoff.
65123 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65125         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65126         (SNAN_TESTS_double): Refer to GCC PR56831.
65127         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65128         GCC PR56828.
65130 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65132         * Rules (bench): Move bench.out after the run is complete.
65134         * Rules (bench): Echo currently running benchmark.
65136         * benchtests/Makefile (bench): Add atan and slowatan.
65137         * benchtests/atan-inputs: New file.
65138         * benchtests/slowatan-inputs: New file.
65139         * benchtests/slowatan.c: New file.
65141         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65142         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65143         its value.
65145         [BZ #15305]
65146         * sysdeps/unix/sysv/linux/kernel-features.h
65147         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65148         __ASSUME_XFS_RESTRICTED_CHOWN.
65149         * sysdeps/unix/sysv/linux/pathconf.c
65150         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65151         Save and restore errno.
65153 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
65155         [BZ #15327]
65156         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65157         arguments using __kernel_casinh.
65158         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65159         arguments using __kernel_casinhf.
65160         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65161         arguments using __kernel_casinhl.
65162         * math/libm-test.inc (cacosh_test): Add more tests.
65163         * sysdeps/i386/fpu/libm-test-ulps: Update.
65164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65166 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65168         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65171         * bench/Makefile (bench): Add sin and slowsin.
65172         * benchtests/sin-inputs: New file.
65173         * benchtests/slowsin-inputs: New file.
65174         * benchtests/slowsin.c: New file.
65176         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65177         (bench): Add slowexp and slowpow.
65178         (exp-ITER): Increase iterations.
65179         (pow-ITER): Likewise.
65180         * benchtests/exp-inputs: Change input.
65181         * benchtests/pow-inputs: Likewise.
65182         * benchtests/slowexp-inputs: New file.
65183         * benchtests/slowexp.c: New file.
65184         * benchtests/slowpow-inputs: New file.
65185         * benchtests/slowpow.c: New file.
65187 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65189         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65190         instructions.
65191         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65192         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65193         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65194         * benchtests/Makefile: Add rint benchtest.
65195         * benchtests/rint-inputs: Input for rint benchtest.
65197 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65199         * Versions.def (libm): Add GLIBC_2.18.
65200         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65201         hidden libm prototypes.
65202         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65203         * math/Makefile (libm-calls): Add s_issignaling.
65204         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65205         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
65206         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65207         declaration.
65208         * math/math.h [__USE_GNU] (issignaling): New macro.
65209         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65210         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65211         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65212         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65213         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65214         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65215         * manual/arith.texi (issignaling): New section.
65216         * manual/libm-err-tab.pl (@all_functions): Update comment.
65217         * math/gen-libm-test.pl (parse_args): Apply special handling for
65218         issignaling.
65219         * math/libm-test.inc (print_float, issignaling_test): New
65220         functions.
65221         (check_float_internal): Add issignaling checks.
65222         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65223         default definition.
65224         * sysdeps/powerpc/math-tests.h: New file.
65225         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65226         tests.
65227         * math/test-snan.c (TEST_FUNC): Likewise.
65229 2013-03-30  David S. Miller  <davem@davemloft.net>
65231         * po/de.po: Update from translation team.
65233 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
65235         [BZ #10357]
65236         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65237         imaginary part less than 1.0 and real part less than 0.5
65238         specially.
65239         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65240         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65241         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
65242         (cacos_test): Add more tests.
65243         (casin_test): Likewise.
65244         (casinh_test): Likewise.
65245         * sysdeps/i386/fpu/libm-test-ulps: Update.
65246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65248 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65250         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
65251         ONE with its value.
65253         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
65254         (__pow_mp): Replace ONE and MONE with their values.
65255         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65256         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
65257         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65258         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
65259         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65260         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65262         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
65264         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
65265         (__pow_mp): Replace ZERO and MZERO with their values.
65266         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65267         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65268         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65269         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65270         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65271         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
65272         (__sqr): Likewise.
65274         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
65276         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
65278 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65280         * include/stdlib.h [!SHARED] (__call_tls_dtors):
65281         Declare with __attribute__ ((weak)).
65282         * stdlib/exit.c (__libc_atexit) [!SHARED]:
65283         Call __call_tls_dtors only if it's not NULL.
65285 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65287         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
65288         didn't do it already, then set _dl_phdr and _dl_phnum based on the
65289         magic __ehdr_start linker symbol if it's defined.
65290         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
65291         them up here if it was already done.
65293         * elf/dl-support.c (_dl_phdr): Make pointer to const.
65294         (_dl_aux_init): Use const in cast when setting it.
65295         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
65296         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65297         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
65299         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
65300         Declare them here.
65301         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
65302         * csu/libc-tls.c: Nor here.
65303         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
65305         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
65306         (__libc_message): Never call vsyslog.
65308 2013-03-28  Alan Modra  <amodra@gmail.com>
65310         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
65311         Define as empty.
65312         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
65313         Likewise.
65315 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65317         [BZ #15214]
65318         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
65319         underflow.
65320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65322 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65324         [BZ #15304]
65325         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
65326         Don't add gid passed as argument.
65328         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
65330 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
65332         [BZ #15307]
65333         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65334         imaginary part between 1.0 and 1.5 and real part less than 0.5
65335         specially.
65336         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65337         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65338         * math/libm-test.inc (cacos_test): Add more tests.
65339         (casin_test): Likewise.
65340         (casinh_test): Likewise.
65341         * sysdeps/i386/fpu/libm-test-ulps: Update.
65342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65344 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65346         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
65347         constants.
65348         (norm): Likewise.
65349         (denorm): Likewise.
65350         (__dbl_mp): Likewise.
65351         (add_magnitudes): Likewise.
65352         (sub_magnitudes): Likewise.
65353         (__add): Likewise.
65354         (__sub): Likewise.
65355         (__mul): Likewise.
65356         (__sqr): Likewise.
65357         (__inv): Likewise.
65358         (__dvd): Likewise.
65360         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
65361         commented code.
65362         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
65363         (__dubcos): Likewise.
65364         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
65365         (__ieee754_acos): Likewise.
65366         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65367         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
65368         (__exp1): Likewise.
65369         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65371         (log1): Likewise.
65372         (my_log2): Likewise.
65373         (checkint): Likewise.
65374         * sysdeps/ieee754/dbl-64/e_remainder.c
65375         (__ieee754_remainder): Likewise.
65376         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
65378         (bsloww): Likewise.
65379         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65381         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65382         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
65383         MANTISSA_STORE_T to store computations on mantissa.  Use
65384         macros for rounding and division.
65385         (denorm): Likewise.
65386         (__dbl_mp): Likewise.
65387         (add_magnitudes): Likewise.
65388         (sub_magnitudes): Likewise.
65389         (__mul): Likewise.
65390         (__sqr): Likewise.
65391         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65392         powers of two in terms of TWOPOW macro.
65393         (mp_no): Make type of mantissa as MANTISSA_T.
65394         [!RADIXI]: Define RADIXI.
65395         [!TWO52]: Define TWO52.
65396         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65398 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65400         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
65401         llroundl symbol when building for PPC32.
65403 2013-03-24  Mark H Weaver  <mhw@netris.org>
65405         * manual/arith.texi (Normalization Functions): Fix prototypes for
65406         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
65408 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65410         [BZ #13889]
65411         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
65412         high value to check if expl overflow.
65413         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
65414         to check for underflow and overflow.
65415         * math/libm-test.inc: Add exp test.
65417 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
65419         [BZ #11120]
65420         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
65421         with NOT_IN_libc.
65423 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65425         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
65426         symbol.
65428 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65430         * math/gen-libm-test.pl (parse_args, special_functions): Properly
65431         wrap blocks consisting of several statements.
65433         * sysdeps/generic/math-tests.h: New file.
65434         * sysdeps/i386/fpu/math-tests.h: Likewise.
65435         * math/test-snan.c: Include it.
65436         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
65438 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65440         [BZ #15285]
65441         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
65442         (__ieee754_j0l): Do not improve calculations using cos of twice
65443         input for inputs above LDBL_MAX / 2.0L.
65444         (__ieee754_y0l): Likewise.
65445         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
65446         (__ieee754_j1l): Do not improve calculations using cos of twice
65447         input for inputs above LDBL_MAX / 2.0L.
65448         (__ieee754_y1l): Likewise.
65449         * math/libm-test.inc (j0_test): Add another test.
65450         (j1_test): Likewise.
65451         (y0_test): Likewise.
65452         (y1_test): Likewise.
65453         * sysdeps/i386/fpu/libm-test-ulps: Update.
65455 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65457         * Rules ($(objpfx)bench-%.c): Include code from a C source
65458         file.
65460 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65462         [BZ #15287]
65463         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65464         imaginary part 1.0 and real part less than 0.5 specially.
65465         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65466         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65467         * math/libm-test.inc (cacos_test): Add more tests.
65468         (casin_test): Likewise.
65469         (casinh_test): Likewise.
65470         * sysdeps/i386/fpu/libm-test-ulps: Update.
65471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65473 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65475         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
65476         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
65478 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
65480         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
65481         * config.make.in (config-cflags-sse4): Remove variable.
65482         (config-cflags-avx): Likewise.
65483         (config-cflags-sse2avx): Likewise.
65484         (config-cflags-novzeroupper): Likewise.
65485         (config-asflags-i686): Likewise.
65486         (have-mfma4): Likewise.
65487         (have-as-vis3): Likewise.
65488         (MIG): Likewise.
65489         * configure.in (MIG): Do not AC_SUBST.
65490         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
65491         (libc_cv_cc_sse4): Do not AC_SUBST.
65492         (libc_cv_cc_avx): Likewise.
65493         (libc_cv_cc_sse2avx): Likewise.
65494         (libc_cv_cc_novzeroupper): Likewise.
65495         (libc_cv_cc_fma4): Likewise.
65496         (libc_cv_as_i686): Likewise.
65497         (libc_cv_sparc_as_vis3): Likewise.
65498         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
65499         LIBC_CONFIG_VAR.
65500         (config-asflags-i686): Likewise.
65501         (config-cflags-avx): Likewise.
65502         (config-cflags-sse2avx): Likewise.
65503         (have-mfma4): Likewise.
65504         (config-cflags-novzeroupper): Likewise.
65505         * sysdeps/mach/configure.in (MIG): Likewise.
65506         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
65507         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
65508         LIBC_CONFIG_VAR.
65509         (config-cflags-avx): Likewise.
65510         (config-cflags-sse2avx): Likewise.
65511         (have-mfma4): Likewise.
65512         (config-cflags-novzeroupper): Likewise.
65513         * configure: Regenerated.
65514         * sysdeps/i386/configure: Likewise.
65515         * sysdeps/mach/configure: Likewise.
65516         * sysdeps/sparc/configure: Likewise.
65517         * sysdeps/x86_64/configure: Likewise.
65519 2013-03-20  Roland McGrath  <roland@hack.frob.com>
65521         [BZ #14812]
65522         * locale/programs/localedef.c (options): Put N_ translation marker
65523         on argument names, not just descriptions.
65525 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65527         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
65529 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
65531         [BZ #14176]
65532         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
65534 2013-03-19  Roland McGrath  <roland@hack.frob.com>
65536         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
65537         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
65538         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
65539         [!BEFORE_ABORT] (before_abort): New function.
65540         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
65541         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
65542         (writev_for_fatal): New function.
65543         (WRITEV_FOR_FATAL): New macro; call that.
65544         (backtrace_and_maps): New function.
65545         (BEFORE_ABORT): New macro; call that.
65546         (struct str_list): Type removed.
65547         (__libc_message, __libc_fatal): Functions removed.
65548         Include <sysdeps/posix/libc_fatal.c> instead.
65550 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
65552         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
65553         constants.
65554         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
65555         double constants.
65557 2013-03-19  Andreas Schwab  <schwab@suse.de>
65559         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
65560         * sysdeps/gnu/configure: Regenerate.
65562         * configure.in: Substitute libc_cv_rtlddir.
65563         * configure: Regenerate.
65564         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65565         * Makeconfig (rtlddir, inst_rtlddir): New variables.
65566         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65567         * elf/Makefile (install-others, CFLAGS-interp.c)
65568         (ldso_install, common-ldd-rewrite): Likewise.
65569         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65570         $(inst_slibdir)/$(rtld-installed-name).
65571         * scripts/rellns-sh: Add -p option.
65572         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65573         for source.
65575 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65577         * manual/nptl.texi: Renamed to ...
65578         * manual/threads.texi: ... this.
65579         * manual/Makefile (chapters): Update.
65581 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65583         [BZ #14812]
65584         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65585         on argument names, not just descriptions.
65586         * malloc/memusagestat.c (options): Likewise.
65587         * nss/getent.c (options): Likewise.
65589 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65591         [BZ #14812]
65592         * iconv/iconv_prog.c (options): Put N_ translation marker
65593         on argument names, not just descriptions.
65594         * iconv/iconvconfig.c (options): Likewise.
65596 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65598         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65599         implementation which is faster on all x86_64 architectures.
65600         Tested on AMD, Intel Nehalem, SNB, IVB.
65601         * sysdeps/x86_64/strnlen.S: Likewise.
65603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65604         Remove all multiarch strlen and strnlen versions.
65605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65606         Remove strlen and strnlen related parts.
65608         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65609         Inline strlen part.
65610         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65612         * sysdeps/x86_64/multiarch/strlen.S: Remove.
65613         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65614         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65615         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65616         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65617         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65619 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
65621         * manual/memory.texi (Malloc Tunable Parameters):
65622         Sort parameters alphabetically. Add comments for missing entries.
65624 2013-03-17  David S. Miller  <davem@davemloft.net>
65626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65628 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
65630         [BZ #15283]
65631         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
65632         for arguments at most half maximum finite value.
65633         * math/libm-test.inc (j0_test): Add more tests.
65634         (j1_test): Likewise.
65635         (y0_test): Likewise.
65636         (y1_test): Likewise.
65637         * sysdeps/i386/fpu/libm-test-ulps: Update.
65638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65640         [BZ #14155]
65641         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
65642         1 / x and functions P and Q for arguments above 0x1p256L.
65643         (__ieee754_y0l): Likewise.
65644         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
65645         (__ieee754_y1l): Likewise.
65646         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
65647         (j1_test): Likewise.
65648         (y0_test): Likewise.
65649         (y1_test): Likewise.
65651 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
65653         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
65654         variable.
65656 2013-03-15  Roland McGrath  <roland@hack.frob.com>
65658         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
65659         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
65660         zero since it's initialized to EXEC_PAGESIZE.
65662         * sysdeps/unix/sysv/linux/ldsodefs.h
65663         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
65664         * sysdeps/generic/ldsodefs.h: ... here.
65666 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
65668         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
65670         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
65671         math/test-snan.c.
65672         * math/test-snan.c: Renamed from
65673         sysdeps/powerpc/fpu/test-powerpc-snan.c.
65674         * math/Makefile (tests): Add test-snan.
65675         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
65676         test-powerpc-snan.
65678         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
65679         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
65680         functions.
65681         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
65682         __builtin_nan family of functions.
65683         * math/libm-test.inc (initialize): Initialize qnan_value with
65684         __builtin_nan family of functions.
65685         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
65686         Remove variables.
65687         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
65688         Remove functions.
65689         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
65690         storage class.  Initialize qNaN_var and sNaN_var with
65691         __builtin_nan and __builtin_nans families of functions,
65692         respectively.
65694         * math/libm-test.inc (acosh_test): Also test with qNaN input.
65695         (sqrt_test): Remove duplicate test with qNaN input.
65696         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
65697         (round_test, signbit_test, significand_test): Note missing +/-Inf
65698         as well as qNaN tests.
65700         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
65701         qNaN_var.  Fix a few strings, too.
65702         * math/libm-test.inc (nan_value): Rename to qnan_value.
65703         * math/gen-libm-test.pl (%beautify): Adjust to that.
65704         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
65705         * math/test-misc.c (main): Likewise.
65706         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
65707         to __qnan_bytes, and __qnan_union, respectively.
65708         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
65709         Likewise.
65710         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
65711         and lqnanval, respectively.
65712         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
65713         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
65714         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
65715         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
65717         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
65718         * math/test-misc.c (main) [__x86_64__]: Enable test for long
65719         doubles.
65721         * math/test-misc.c (main): Fix copy'n'pastos.
65722         * misc/tst-efgcvt.c (special): Likewise.
65724         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
65725         Remove declarations.
65727 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65729         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
65730         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
65731         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
65732         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
65734 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65736         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
65737         macro to return vdso values correctly in IFUNC implementations.
65738         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
65739         Optimization by using IFUNC.
65741 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65742             Richard Henderson  <rth@redhat.com>
65743             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65745         * Makefile.in (bench): New target.
65746         * NEWS: Mention the benchmark framework.
65747         * Rules (bench): Likewise.
65748         (binaries-bench): Generate binaries for functions to
65749         benchmark.
65750         * benchtests/Makefile: New makefile for benchmark tests.
65751         * benchtests/bench-skeleton.c: New skeleton file for benchmark
65752         programs.
65753         * benchtests/exp-inputs: New input file for EXP function.
65754         * benchtests/pow-inputs: New input file for POW function.
65755         * scripts/bench.pl: New script to generate source files for
65756         benchmark programs.
65758 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65760         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65761         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
65762         computations on mantissa.  Use macros for rounding and
65763         division.
65764         (denorm): Likewise.
65765         (__dbl_mp): Likewise.
65766         (add_magnitudes): Likewise.
65767         (sub_magnitudes): Likewise.
65768         (__mul): Likewise.
65769         (__sqr): Likewise.
65770         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65771         powers of two in terms of TWOPOW macro.
65772         (mp_no): Make type of mantissa as MANTISSA_T.
65773         [!RADIXI]: Define RADIXI.
65774         [!TWO52]: Define TWO52.
65775         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65777         * manual/nptl.texi (cindex): Modify threads to pthreads.
65779 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
65781         * sysdeps/x86_64/preconfigure: Regenerated.
65783 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
65785         [BZ #14155]
65786         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
65787         0x1p28 and above.
65788         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
65789         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
65790         0x1p28 and above.
65791         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
65792         * math/libm-test.inc (j0_test): Do not allow one spurious
65793         underflow exception.
65794         (y1_test): Likewise.
65796 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65798         * manual/Makefile (chapters): Add nptl.
65799         * manual/debug.texi (Debugging Support): Add link to Threads
65800         chapter.
65801         * manual/nptl.texi: New file.
65803         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
65805 2013-03-14  Petr Baudis  <pasky@ucw.cz>
65807         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
65808         for non-NULL pointer before the memory validity test. Pointed
65809         out by Holger Brunck <holger.brunck@keymile.com>.
65811 2013-03-13  Andreas Schwab  <schwab@suse.de>
65813         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
65814         instead of .os.
65816 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
65818         * timezone/zic.c: Update from tzcode 2013b.
65820 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
65822         * manual/install.texi (Configuring and compiling):
65823         Mention i686 and i586.
65824         * INSTALL: Regenerate.
65826 2013-03-12  Roland McGrath  <roland@hack.frob.com>
65828         * sysdeps/init_array/elf-init.c: New file.
65829         * csu/elf-init.c
65830         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
65831         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
65833         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
65834         __gmon_start__ as global, but as static with a .preinit_array pointer.
65835         * sysdeps/init_array/gmon-start.c: New file.  Use that.
65836         * sysdeps/init_array/crti.S: New file, empty except for comments.
65837         * sysdeps/init_array/crtn.S: Likewise.
65839 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
65841         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
65842         definining bcopy.
65843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65844         Remove Prefer_SSE_for_memop.
65845         * sysdeps/x86_64/multiarch/init-arch.h: Remove
65846         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
65847         HAS_PREFER_SSE_FOR_MEMOP.
65848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
65849         memset-x86-64.
65850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65851         Remove bzero, memset ifunc support.
65852         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
65853         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
65854         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65857 2013-03-11  Andreas Schwab  <schwab@suse.de>
65859         [BZ #15234]
65860         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
65861         by SHLIB_COMPAT.
65862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
65863         (GLIBC_2.16): Remove pthread_atfork.
65865 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
65867         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
65868         (ptestcases.h): Likewise.
65870 2013-03-08  Roland McGrath  <roland@hack.frob.com>
65872         * Makeconfig ($(common-objpfx)config.status): Depend on
65873         sysdeps/*/preconfigure{,.in} too.
65875 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
65877         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
65878         (__free_hook): Use void * instead of __malloc_ptr_t.
65879         (__malloc_hook): Likewise.
65880         (__realloc_hook): Likewise.
65881         (__memalign_hook): Likewise.
65882         (__after_morecore_hook): Likewise.
65883         * malloc/arena.c (save_malloc_hook): Likewise.
65884         (save_free_hook): Likewise.
65885         * malloc/hooks.c (malloc_hook_ini): Likewise.
65886         (realloc_hook_ini): Likewise.
65887         (memalign_hook_ini): Likewise.
65888         * malloc/malloc.c (malloc_hook_ini): Likewise.
65889         (realloc_hook_ini): Likewise.
65890         (memalign_hook_ini): Likewise.
65891         (__free_hook): Likewise.
65892         (__malloc_hook): Likewise.
65893         (__realloc_hook): Likewise.
65894         (__memalign_hook): Likewise.
65895         (__libc_malloc): Likewise.
65896         (__libc_free): Likewise.
65897         (__libc_realloc): Likewise.
65898         (__libc_memalign): Likewise.
65899         (__libc_valloc): Likewise.
65900         (__libc_pvalloc): Likewise.
65901         (__libc_calloc): Likewise.
65902         (__posix_memalign): Likewise.
65903         * malloc/morecore.c (__sbrk): Likewise.
65904         (__default_morecore): Likewise.
65906         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
65908         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
65909         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
65910         __malloc_ptrdiff_t.
65912         * malloc/malloc.h (__malloc_size_t): Remove macro.
65913         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
65914         __malloc_size_t.
65915         (old_memalign_hook): Likewise.
65916         (old_realloc_hook): Likewise.
65917         (struct hdr): Likewise.
65918         (flood): Likewise.
65919         (mallochook): Likewise.
65920         (memalignhook): Likewise.
65921         (reallochook): Likewise.
65922         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
65923         (tr_old_realloc_hook): Likewise.
65924         (tr_old_memalign_hook): Likewise.
65925         (tr_mallochook): Likewise.
65926         (tr_reallochook): Likewise.
65927         (tr_memalignhook): Likewise.
65929 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
65932         default_ldbl_pack and using as default implementation.
65933         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
65934         implementation.
65935         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
65936         redundant definition.
65937         (ldbl_insert_mantissa): Likewise.
65938         (ldbl_canonicalize): Likewise.
65939         (ldbl_nearbyint): Likewise.
65940         (ldbl_pack): Rename to ldbl_pack_ppc.
65941         (ldbl_unpack): Rename to ldbl_unpack_ppc.
65942         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
65943         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
65945 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
65948         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
65949         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
65950         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
65951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
65952         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
65953         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
65954         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
65956 2013-03-07  Andreas Jaeger  <aj@suse.de>
65958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65959         bits/mman-linux.h.
65961 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
65963         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
65964         Include mpa.h and declare __MPEXP.
65965         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
65966         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65967         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
65969         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65970         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65971         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
65973         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
65974         (__slowpow): Use long double EXPL and LOGL functions to
65975         compute POW.
65976         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65977         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65978         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
65979         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65980         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65981         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
65983         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
65984         intermediate variable to calculate exponent.
65985         (__sqr): Likewise.
65986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65987         Likewise.
65988         (__sqr): Likewise.
65990         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
65991         [!NO__SQR]: Define __sqr.
65992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
65993         and NO__SQR.  Remove all code except __mul and __sqr.  Include
65994         sysdeps/ieee754/dbl-64/mpa.c.
65995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65997         [BZ #12723]
65998         * posix/Makefile (tests): Add tst-pathconf.
65999         * posix/tst-pathconf.c: New test case.
66000         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66001         _PC_PIPE_BUF.
66002         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66004 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66006         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66008 2013-03-06  Andreas Jaeger  <aj@suse.de>
66010         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66011         definition via __MAP_ANONYMOUS.
66013         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66014         it's not part of Linux headers.
66016         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66017         (MAP_HUGE_MASK): Define.
66019         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66020         Define.
66021         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66023         Define.
66024         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66025         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66026         Define.
66027         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66028         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66029         Define.
66030         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66032         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66033         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66034         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66035         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66036         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66037         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66039         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66040         Handle f2fs.
66042         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66043         Handle f2fs and efivarfs.
66045         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66046         f2fs.
66048         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66049         (EFIVARFS_MAGIC): Add.
66050         (F2FS_LINK_MAX): Add.
66052 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66054         * stdio-common/vfprintf.c: Replace __builtin_expect with
66055         __glibc_unlikely.
66057 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66059         [BZ #13550]
66060         * sysdeps/generic/bp-sym.h: Remove file.
66061         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66062         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66063         <bp-sym.h> and <bp-asm.h>.
66064         (__longjmp): Don't use BP_SYM.
66065         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66066         and <bp-asm.h>.
66067         (memcpy): Don't use BP_SYM.
66068         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66069         <bp-sym.h> and <bp-asm.h>.
66070         (memcpy): Don't use BP_SYM.
66071         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66072         <bp-asm.h>.
66073         (memcpy): Don't use BP_SYM.
66074         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66075         <bp-asm.h>.
66076         (memset): Don't use BP_SYM.
66077         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66078         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66079         (__bzero): Don't use BP_SYM.
66080         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66081         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66082         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66083         <bp-sym.h> and <bp-asm.h>.
66084         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66085         pointers.
66086         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66087         <bp-sym.h> and <bp-asm.h>.
66088         (memcpy): Don't use BP_SYM.
66089         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66090         <bp-sym.h> and <bp-asm.h>.
66091         (memset): Don't use BP_SYM.
66092         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66093         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66094         (__bzero): Don't use BP_SYM.
66095         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66096         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66097         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66098         <bp-sym.h> and <bp-asm.h>.
66099         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66100         pointers.
66101         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66102         <bp-sym.h> and <bp-asm.h>.
66103         (memcpy): Don't use BP_SYM.
66104         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66105         <bp-sym.h> and <bp-asm.h>.
66106         (memset): Don't use BP_SYM.
66107         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66108         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66109         (__bzero): Don't use BP_SYM.
66110         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66111         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66112         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66113         <bp-sym.h> and <bp-asm.h>.
66114         (__memchr): Don't use BP_SYM.
66115         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66116         <bp-sym.h> and <bp-asm.h>.
66117         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66118         pointers.
66119         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66120         <bp-sym.h> and <bp-asm.h>.
66121         (memcpy): Don't use BP_SYM.
66122         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66123         <bp-sym.h> and <bp-asm.h>.
66124         (__mempcpy): Don't use BP_SYM.
66125         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66126         <bp-sym.h> and <bp-asm.h>.
66127         (__memrchr): Don't use BP_SYM.
66128         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66129         <bp-sym.h> and <bp-asm.h>.
66130         (memset): Don't use BP_SYM.
66131         (__bzero): Likewise.
66132         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66133         <bp-sym.h> and <bp-asm.h>.
66134         (__rawmemchr): Don't use BP_SYM.
66135         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66136         <bp-sym.h> and <bp-asm.h>.
66137         (__STRCMP): Don't use BP_SYM.
66138         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66139         <bp-sym.h> and <bp-asm.h>.
66140         (strchr): Don't use BP_SYM.
66141         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66142         <bp-sym.h> and <bp-asm.h>.
66143         (__strchrnul): Don't use BP_SYM.
66144         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66145         <bp-sym.h> and <bp-asm.h>.
66146         (strlen): Don't use BP_SYM.
66147         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66148         <bp-sym.h> and <bp-asm.h>.
66149         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66150         pointers.
66151         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66152         <bp-sym.h> and <bp-asm.h>.
66153         (__strnlen): Don't use BP_SYM.
66154         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66155         <bp-sym.h> and <bp-asm.h>.
66156         (__GI__setjmp): Don't use BP_SYM.
66157         (_setjmp): Likewise.
66158         (__sigsetjmp): Likewise.
66159         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66160         (L(start_addresses)): Don't use BP_SYM.
66161         (_start): Likewise.
66162         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66163         <bp-asm.h>.
66164         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66165         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66166         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66167         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66168         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66169         <bp-asm.h>.
66170         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66171         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
66172         about bounded pointers.
66173         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66174         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66175         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66176         <bp-asm.h>.
66177         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66178         about bounded pointers.  Remove GKM FIXME comments.
66179         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66180         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66181         <bp-asm.h>.
66182         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66183         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
66184         Remove GKM FIXME comments.
66185         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66186         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66187         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66188         <bp-asm.h>.
66189         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66190         about bounded pointers.  Remove GKM FIXME comment.
66191         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66192         and <bp-asm.h>.
66193         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66194         pointers.
66195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66196         <bp-sym.h> and <bp-asm.h>.
66197         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66199         <bp-sym.h> and <bp-asm.h>.
66200         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66201         comment.
66203 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66205         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66206         call free(NULL).
66208 2013-03-05  David S. Miller  <davem@davemloft.net>
66210         * po/es.po: Update from translation team.
66212 2013-03-05  Andreas Jaeger  <aj@suse.de>
66214         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66215         <bits/mman-linux.h>.
66216         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66217         is fine.
66218         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66219         <bits/mman-linux.h> to end of file.
66220         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66221         is fine.
66222         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66223         <bits/mman-linux.h> to end of file.
66224         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66225         is fine.
66226         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66227         <bits/mman-linux.h> to end of file.
66229         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
66230         (MCL_CURRENT, MCL_FUTURE): Define here.
66232 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66234         [BZ #15232]
66235         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
66236         attribute_hidden.
66237         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66239 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66241         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
66242         fourth parameter needed for rt_sigprocmask syscall.
66243         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
66244         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66245         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
66246         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66247         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66248         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
66250 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
66252         [BZ #13550]
66253         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
66254         comment about bounded pointers.
66255         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
66256         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
66258 2013-03-04  Andreas Jaeger  <aj@suse.de>
66260         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
66261         common definitions.
66263         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
66264         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
66265         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
66266         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66267         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66268         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66270 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66272         [BZ #15055]
66273         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66274         __ieee754_sqrl instead of __sqrl.
66276 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
66278         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
66279         * sysdeps/powerpc/fpu_control.h: ... here.
66280         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
66281         * sysdeps/powerpc/bits/fenvinline.h: ... here.
66282         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
66283         * sysdeps/powerpc/bits/mathinline.h: ... here.
66285 2013-03-01  Roland McGrath  <roland@hack.frob.com>
66287         * elf/dl-hwcaps.c (_dl_important_hwcaps):
66288         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
66289         to just [NEED_DL_SYSINFO_DSO].
66290         * elf/dl-support.c: Likewise.
66291         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
66292         * elf/rtld.c (dl_main): Likewise.
66293         * elf/setup-vdso.h (setup_vdso): Likewise.
66294         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
66295         * sysdeps/unix/sysv/linux/dl-sysdep.c
66296         (_dl_discover_osversion): Likewise.
66298 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
66300         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
66301         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66303 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
66305         * NEWS: Mention libm performance improvements and non-x86 PI
66306         futex support.
66308         * csu/libc-start.c (__pthread_initialize_minimal): Change
66309         function arguments.
66310         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66312 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
66314         [BZ #13550]
66315         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
66316         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
66317         <bp-sym.h> and <bp-asm.h>.
66318         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66319         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
66320         and <bp-asm.h>.
66321         (memcpy): Don't use BP_SYM.
66322         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
66323         <bp-asm.h>.
66324         (__mpn_add_n): Don't use BP_SYM.
66325         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
66326         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
66327         and <bp-asm.h>.
66328         (__mpn_addmul_1): Don't use BP_SYM.
66329         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66330         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
66331         <bp-sym.h>.
66332         (_setjmp): Don't use BP_SYM.
66333         (__novmx_setjmp): Likewise.
66334         (__GI__setjmp): Likewise.
66335         (__vmx_setjmp): Likewise.
66336         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
66337         <bp-sym.h>.
66338         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
66339         (__bzero): Don't use BP_SYM.
66340         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66341         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66342         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
66343         <bp-sym.h> and <bp-asm.h>.
66344         (memcpy): Don't use BP_SYM.
66345         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
66346         <bp-sym.h> and <bp-asm.h>.
66347         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
66349         <bp-sym.h> and <bp-asm.h>.
66350         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66351         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
66352         <bp-asm.h>.
66353         (__mpn_lshift): Don't use BP_SYM.
66354         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66355         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
66356         <bp-asm.h>.
66357         (memset): Don't use BP_SYM.
66358         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66359         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66360         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
66361         <bp-asm.h>.
66362         (__mpn_mul_1): Don't use BP_SYM.
66363         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66364         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
66365         <bp-sym.h> and <bp-asm.h>.
66366         (memcmp): Don't use BP_SYM.
66367         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
66368         <bp-sym.h> and <bp-asm.h>.
66369         (memcpy): Don't use BP_SYM.
66370         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
66371         <bp-sym.h> and <bp-asm.h>.
66372         (memset): Don't use BP_SYM.
66373         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
66374         <bp-sym.h> and <bp-asm.h>.
66375         (strncmp): Don't use BP_SYM.
66376         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
66377         <bp-sym.h> and <bp-asm.h>.
66378         (memcpy): Don't use BP_SYM.
66379         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
66380         <bp-sym.h> and <bp-asm.h>.
66381         (memset): Don't use BP_SYM.
66382         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
66383         <bp-sym.h> and <bp-asm.h>.
66384         (__memchr): Don't use BP_SYM.
66385         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
66386         <bp-sym.h> and <bp-asm.h>.
66387         (memcmp): Don't use BP_SYM.
66388         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
66389         <bp-sym.h> and <bp-asm.h>.
66390         (memcpy): Don't use BP_SYM.
66391         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
66392         <bp-sym.h> and <bp-asm.h>.
66393         (__mempcpy): Don't use BP_SYM.
66394         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
66395         <bp-sym.h> and <bp-asm.h>.
66396         (__memrchr): Don't use BP_SYM.
66397         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
66398         <bp-sym.h> and <bp-asm.h>.
66399         (memset): Don't use BP_SYM.
66400         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
66401         <bp-sym.h> and <bp-asm.h>.
66402         (__rawmemchr): Don't use BP_SYM.
66403         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
66404         <bp-sym.h> and <bp-asm.h>.
66405         (__STRCMP): Don't use BP_SYM.
66406         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
66407         <bp-sym.h> and <bp-asm.h>.
66408         (strchr): Don't use BP_SYM.
66409         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
66410         <bp-sym.h> and <bp-asm.h>.
66411         (__strchrnul): Don't use BP_SYM.
66412         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
66413         <bp-sym.h> and <bp-asm.h>.
66414         (strlen): Don't use BP_SYM.
66415         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
66416         <bp-sym.h> and <bp-asm.h>.
66417         (strncmp): Don't use BP_SYM.
66418         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
66419         <bp-sym.h> and <bp-asm.h>.
66420         (__strnlen): Don't use BP_SYM.
66421         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
66422         <bp-asm.h>.
66423         (__mpn_rshift): Don't use BP_SYM.
66424         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66425         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
66426         <bp-sym.h> and <bp-asm.h>.
66427         (__sigsetjmp): Don't use BP_SYM.
66428         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
66429         (L(start_addresses)): Don't use BP_SYM.
66430         (_start): Likewise.
66431         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
66432         <bp-asm.h>.
66433         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
66434         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66435         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66436         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
66437         <bp-asm.h>.
66438         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
66439         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66440         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66441         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
66442         <bp-asm.h>.
66443         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66444         comments.
66445         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66446         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
66447         <bp-asm.h>.
66448         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
66449         FIXME comments.
66450         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66451         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66452         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
66453         <bp-asm.h>.
66454         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66455         comment.
66456         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
66457         and <bp-asm.h>.
66458         (strncmp): Don't use BP_SYM,
66459         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
66460         <bp-asm.h>.
66461         (__mpn_sub_n): Don't use BP_SYM.
66462         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66463         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
66464         and <bp-asm.h>.
66465         (__mpn_submul_1): Don't use BP_SYM.
66466         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
66468         <bp-sym.h> and <bp-asm.h>.
66469         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
66471         <bp-sym.h> and <bp-asm.h>.
66472         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66473         comment.
66475 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
66478         Use ZK to minimize writes to Z.
66479         (sub_magnitudes): Simplify code a bit.
66480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
66481         Use ZK to minimize writes to Z.
66482         (sub_magnitudes): Simplify code a bit.
66484 2013-02-27  Roland McGrath  <roland@hack.frob.com>
66486         * csu/gmon-start.c: Add special exception to license text.
66488 2013-02-27  Richard Henderson  <rth@redhat.com>
66490         * scripts/config.guess: Update from config.git.
66491         * scripts/config.sub: Likewise.
66493 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66495         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
66497         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
66499         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
66501         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
66503         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
66505 2013-02-26  Roland McGrath  <roland@hack.frob.com>
66507         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
66508         [$(build-shared = yes].
66510 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66512         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
66513         (__mul): Reduce iterations for calculating mantissa.
66515         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
66516         MPTWO.
66517         (__mpranred): Likewise.
66519         [BZ #15160]
66520         * malloc/memusagestat.c (main): Draw graphs for heap and stack
66521         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
66523 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
66525         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
66526         Define __attribute__.
66528 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66530         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
66531         unused.
66532         * posix/regex_internal.h (__attribute): Remove.
66533         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
66534         (re_string_context_at): Likewise.
66535         (bitset_not): Use __attribute__ and mark function as possibly
66536         unused.
66537         (bitset_merge): Likewise.
66538         (bitset_mask): Likewise.
66539         (re_string_char_size_at): Likewise.
66540         (re_string_wchar_at): Likewise.
66541         (re_string_elem_size_at): Likewise.
66543 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66545         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66546         code.
66547         (cc32): Likewise.
66549         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
66550         (__acr): Likewise.
66551         (__cpy): Likewise.
66552         (norm): Likewise.
66553         (denorm): Likewise.
66554         (__dbl_mp): Likewise.
66555         (add_magnitudes): Likewise.
66556         (sub_magnitudes): Likewise.
66557         (__mul): Likewise.
66558         (__inv): Likewise.
66560         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66561         style.
66563         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66564         style.
66566         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66567         code.
66569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66570         up changes with default code.
66571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66572         Likewise.
66574 2013-02-24  Allan McRae  <allan@archlinux.org>
66576         * manual/socket.texi (The Internet Namespace): Order menu items
66577         to match that in the file.
66579         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66580         node listing of the info page menu.
66582 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66584         [BZ #13550]
66585         * sysdeps/i386/bp-asm.h: Remove file.
66586         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66587         (PARMS): Do not use macros from bp-asm.h.
66588         (S1): Likewise.
66589         (S2): Likewise.
66590         (SIZE): Likewise.
66591         (__mpn_add_n): Do not use BP_SYM
66592         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66593         "bp-asm.h".
66594         (PARMS): Do not use macros from bp-asm.h.
66595         (S1): Likewise.
66596         (SIZE): Likewise.
66597         (__mpn_addmul_1): Do not use BP_SYM
66598         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66599         "bp-asm.h".
66600         (PARMS): Do not use macros from bp-asm.h.
66601         (SIGMSK): Likewise.
66602         (_setjmp): Likewise.  Do not use BP_SYM.
66603         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66604         "bp-asm.h".
66605         (PARMS): Do not use macros from bp-asm.h.
66606         (SIGMSK): Likewise.
66607         (setjmp): Likewise.  Do not use BP_SYM.
66608         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66609         "bp-asm.h".
66610         (PARMS): Do not use macros from bp-asm.h.
66611         (__frexp): Do not use BP_SYM.
66612         (frexp): Likewise.
66613         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66614         "bp-asm.h".
66615         (PARMS): Do not use macros from bp-asm.h.
66616         (__frexpf): Do not use BP_SYM.
66617         (frexpf): Likewise.
66618         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66619         "bp-asm.h".
66620         (PARMS): Do not use macros from bp-asm.h.
66621         (__frexpl): Do not use BP_SYM.
66622         (frexpl): Likewise.
66623         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
66624         "bp-asm.h".
66625         (PARMS): Do not use macros from bp-asm.h.
66626         (__remquo): Do not use BP_SYM.
66627         (remquo): Likewise.
66628         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66629         "bp-asm.h".
66630         (PARMS): Do not use macros from bp-asm.h.
66631         (__remquof): Do not use BP_SYM.
66632         (remquof): Likewise.
66633         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
66634         "bp-asm.h".
66635         (PARMS): Do not use macros from bp-asm.h.
66636         (__remquol): Do not use BP_SYM.
66637         (remquol): Likewise.
66638         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66639         "bp-asm.h".
66640         (PARMS): Do not use macros from bp-asm.h.
66641         (DEST): Likewise.
66642         (SRC): Likewise.
66643         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
66644         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
66645         "bp-asm.h".
66646         (PARMS): Do not use macros from bp-asm.h.
66647         (strlen): Do not use BP_SYM.
66648         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
66649         "bp-asm.h".
66650         (PARMS): Do not use macros from bp-asm.h.
66651         (S1): Likewise.
66652         (S2): Likewise.
66653         (SIZE): Likewise.
66654         (__mpn_add_n): Do not use BP_SYM.
66655         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
66656         "bp-asm.h".
66657         (PARMS): Do not use macros from bp-asm.h.
66658         (S1): Likewise.
66659         (SIZE): Likewise.
66660         (__mpn_addmul_1): Do not use BP_SYM.
66661         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
66662         weak_alias.
66663         (bzero): Likewise.
66664         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
66665         "bp-asm.h".
66666         (PARMS): Do not use macros from bp-asm.h.
66667         (S): Likewise.
66668         (SIZE): Likewise.
66669         (__mpn_lshift): Do not use BP_SYM.
66670         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
66671         "bp-asm.h".
66672         (PARMS): Do not use macros from bp-asm.h.
66673         (DEST): Likewise.
66674         (SRC): Likewise.
66675         (LEN): Likewise.
66676         (memcpy): Likewise.  Do not use BP_SYM.
66677         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
66678         libc_hidden_def and weak_alias.
66679         (mempcpy): Do not use BP_SYM in weak_alias.
66680         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
66681         "bp-asm.h".
66682         (PARMS): Do not use macros from bp-asm.h.
66683         (DEST): Likewise.
66684         (LEN): Likewise.
66685         [!BZERO_P] (CHR): Likewise.
66686         (memset): Likewise.  Do not use BP_SYM.
66687         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
66688         "bp-asm.h".
66689         (PARMS): Do not use macros from bp-asm.h.
66690         (S1): Likewise.
66691         (SIZE): Likewise.
66692         (__mpn_mul_1): Do not use BP_SYM.
66693         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
66694         "bp-asm.h".
66695         (PARMS): Do not use macros from bp-asm.h.
66696         (S): Likewise.
66697         (SIZE): Likewise.
66698         (__mpn_rshift): Do not use BP_SYM.
66699         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
66700         "bp-asm.h".
66701         (PARMS): Do not use macros from bp-asm.h.
66702         (STR): Likewise.
66703         (CHR): Likewise.
66704         (strchr): Likewise.  Do not use BP_SYM.
66705         (index): Do not use BP_SYM in weak_alias.
66706         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
66707         "bp-asm.h".
66708         (PARMS): Do not use macros from bp-asm.h.
66709         (DEST): Likewise.
66710         (SRC): Likewise.
66711         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
66712         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
66713         "bp-asm.h".
66714         (PARMS): Do not use macros from bp-asm.h.
66715         (strlen): Do not use BP_SYM.
66716         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
66717         "bp-asm.h".
66718         (PARMS): Do not use macros from bp-asm.h.
66719         (S1): Likewise.
66720         (S2): Likewise.
66721         (SIZE): Likewise.
66722         (__mpn_sub_n): Do not use BP_SYM.
66723         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
66724         "bp-asm.h".
66725         (PARMS): Do not use macros from bp-asm.h.
66726         (S1): Likewise.
66727         (SIZE): Likewise.
66728         (__mpn_submul_1): Do not use BP_SYM.
66729         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
66730         "bp-asm.h".
66731         (PARMS): Do not use macros from bp-asm.h.
66732         (S1): Likewise.
66733         (S2): Likewise.
66734         (SIZE): Likewise.
66735         (__mpn_add_n): Do not use BP_SYM.
66736         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
66737         weak_alias.
66738         (bzero): Likewise.
66739         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
66740         "bp-asm.h".
66741         (PARMS): Do not use macros from bp-asm.h.
66742         (BLK2): Likewise.
66743         (LEN): Likewise.
66744         (memcmp): Do not use BP_SYM.
66745         (bcmp): Do not use BP_SYM in weak_alias.
66746         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
66747         "bp-asm.h".
66748         (PARMS): Do not use macros from bp-asm.h.
66749         (DEST): Likewise.
66750         (SRC): Likewise.
66751         (LEN): Likewise.
66752         (memcpy): Likewise.  Do not use BP_SYM.
66753         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
66754         "bp-asm.h".
66755         (PARMS): Do not use macros from bp-asm.h.
66756         (DEST): Likewise.
66757         (SRC): Likewise.
66758         (LEN): Likewise.
66759         (memmove): Likewise.  Do not use BP_SYM.
66760         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
66761         "bp-asm.h".
66762         (PARMS): Do not use macros from bp-asm.h.
66763         (DEST): Likewise.
66764         (SRC): Likewise.
66765         (LEN): Likewise.
66766         (__mempcpy): Likewise.  Do not use BP_SYM.
66767         (mempcpy): Do not use BP_SYM in weak_alias.
66768         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
66769         "bp-asm.h".
66770         (PARMS): Do not use macros from bp-asm.h.
66771         (DEST): Likewise.
66772         (LEN): Likewise.
66773         [!BZERO_P] (CHR): Likewise.
66774         (memset): Likewise.  Do not use BP_SYM.
66775         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
66776         "bp-asm.h".
66777         (PARMS): Do not use macros from bp-asm.h.
66778         (STR2): Likewise.
66779         (strcmp): Do not use BP_SYM.
66780         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
66781         "bp-asm.h".
66782         (PARMS): Do not use macros from bp-asm.h.
66783         (STR): Likewise.
66784         (DELIM): Likewise.
66785         [USE_AS_STRTOK_R] (SAVE): Likewise.
66786         (FUNCTION): Likewise.  Do not use BP_SYM.
66787         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
66788         aliases.
66789         (strtok_r): Likewise.
66790         (__GI___strtok_r): Likewise.
66791         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66792         (PARMS): Do not use macros from bp-asm.h.
66793         (S): Likewise.
66794         (SIZE): Likewise.
66795         (__mpn_lshift): Do not use BP_SYM.
66796         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66797         (PARMS): Do not use macros from bp-asm.h.
66798         (STR): Likewise.
66799         (CHR): Likewise.
66800         (__memchr): Do not use BP_SYM.
66801         (memchr): Do not use BP_SYM in weak_alias.
66802         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66803         (PARMS): Do not use macros from bp-asm.h.
66804         (BLK2): Likewise.
66805         (LEN): Likewise.
66806         (memcmp): Do not use BP_SYM.
66807         (bcmp): Do not use BP_SYM in weak_alias.
66808         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
66809         (PARMS): Do not use macros from bp-asm.h.
66810         (S1): Likewise.
66811         (SIZE): Likewise.
66812         (__mpn_mul_1): Do not use BP_SYM.
66813         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
66814         "bp-asm.h".
66815         (PARMS): Do not use macros from bp-asm.h.
66816         (STR): Likewise.
66817         (CHR): Likewise.
66818         (__rawmemchr): Do not use BP_SYM.
66819         (rawmemchr): Do not use BP_SYM in weak_alias.
66820         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66821         (PARMS): Do not use macros from bp-asm.h.
66822         (S): Likewise.
66823         (SIZE): Likewise.
66824         (__mpn_rshift): Do not use BP_SYM.
66825         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66826         (PARMS): Do not use macros from bp-asm.h.
66827         (SIGMSK): Likewise.
66828         (__sigsetjmp): Likewise.  Do not use BP_SYM.
66829         * sysdeps/i386/start.S: Do not include "bp-sym.h".
66830         (_start): Do not use BP_SYM.
66831         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
66832         (PARMS): Do not use macros from bp-asm.h.
66833         (DEST): Likewise.
66834         (SRC): Likewise.
66835         (__stpcpy): Likewise.  Do not use BP_SYM.
66836         (stpcpy): Do not use BP_SYM in weak_alias.
66837         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
66838         "bp-asm.h".
66839         (PARMS): Do not use macros from bp-asm.h.
66840         (DEST): Likewise.
66841         (SRC): Likewise.
66842         (LEN): Likewise.
66843         (__stpncpy): Likewise.  Do not use BP_SYM.
66844         (stpncpy): Do not use BP_SYM in weak_alias.
66845         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66846         (PARMS): Do not use macros from bp-asm.h.
66847         (STR): Likewise.
66848         (CHR): Likewise.
66849         (strchr): Likewise.  Do not use BP_SYM.
66850         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
66851         "bp-asm.h".
66852         (PARMS): Do not use macros from bp-asm.h.
66853         (STR): Likewise.
66854         (CHR): Likewise.
66855         (__strchrnul): Likewise.  Do not use BP_SYM.
66856         (strchrnul): Do not use BP_SYM in weak_alias.
66857         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
66858         "bp-asm.h".
66859         (PARMS): Do not use macros from bp-asm.h.
66860         (STOP): Likewise.
66861         (strcspn): Do not use BP_SYM.
66862         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
66863         "bp-asm.h".
66864         (PARMS): Do not use macros from bp-asm.h.
66865         (STR): Likewise.
66866         (STOP): Likewise.
66867         (strpbrk): Likewise.  Do not use BP_SYM.
66868         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
66869         "bp-asm.h".
66870         (PARMS): Do not use macros from bp-asm.h.
66871         (STR): Likewise.
66872         (CHR): Likewise.
66873         (strrchr): Likewise.  Do not use BP_SYM.
66874         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
66875         (PARMS): Do not use macros from bp-asm.h.
66876         (SKIP): Likewise.
66877         (strspn): Do not use BP_SYM.
66878         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
66879         (PARMS): Do not use macros from bp-asm.h.
66880         (STR): Likewise.
66881         (DELIM): Likewise.
66882         (SAVE): Likewise.
66883         (FUNCTION): Likewise.  Do not use BP_SYM.
66884         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
66885         aliases.
66886         (strtok_r): Likewise.
66887         (__GI___strtok_r): Likewise.
66888         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66889         (PARMS): Do not use macros from bp-asm.h.
66890         (S1): Likewise.
66891         (S2): Likewise.
66892         (SIZE): Likewise.
66893         (__mpn_sub_n): Do not use BP_SYM.
66894         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
66895         "bp-asm.h".
66896         (PARMS): Do not use macros from bp-asm.h.
66897         (S1): Likewise.
66898         (SIZE): Likewise.
66899         (__mpn_submul_1): Do not use BP_SYM.
66900         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
66901         <bp-sym.h>.
66902         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
66903         and <bp-asm.h>.
66904         (PARMS): Do not use macros from bp-asm.h.
66905         (FLAGS): Likewise.
66906         (PTID): Likewise.
66907         (TLS): Likewise.
66908         (CTID): Likewise.
66909         (__clone): Do not use BP_SYM.
66910         (clone): Do not use BP_SYM in weak_alias.
66911         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
66912         and <bp-asm.h>.
66913         (PARMS): Do not use macros from bp-asm.h.
66914         (LEN): Likewise.
66915         (__mmap64): Do not use BP_SYM.
66916         (mmap64): Do not use BP_SYM in weak_alias.
66917         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66918         <bp-sym.h> and <bp-asm.h>.
66919         (PARMS): Do not use macros from bp-asm.h.
66920         (__posix_fadvise64_l64): Do not use BP_SYM.
66921         * sysdeps/unix/sysv/linux/i386/semtimedop.S
66922         (PARMS): Do not use macros from bp-asm.h.
66923         (NSOPS): Likewise.
66924         (semtimedop): Do not use BP_SYM.
66925         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
66926         and <bp-asm.h>.
66928 2013-02-21  Allan McRae  <allan@archlinux.org>
66930         * manual/message.texi (Charset conversion in gettext):
66931         Move @end statement to beginning of line.
66933 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
66936         static.
66937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66938         Likewise.
66940         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
66941         (denorm): Likewise.
66942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
66943         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
66945 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66947         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
66948         tail-call to the resolved function if pltexit isn't needed.
66950 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
66953         or Y being zero as being unlikely.
66954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66955         Likewise.
66957 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
66959         * manual/nss.texi (System Databases and Name Service Switch):
66960         Remove frobnicate @pxref.
66962 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66964         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66965         __attribute__ ((unused)) to __attribute__ ((__unused__)).
66967 2013-02-20  Petr Machata  <pmachata@redhat.com>
66969         * elf/elf.h (R_ARM_TARGET1): New macro.
66970         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
66971         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
66972         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
66973         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
66974         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
66975         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
66976         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
66977         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
66978         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
66979         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
66980         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
66981         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
66982         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
66983         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
66984         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
66985         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
66986         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
66987         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
66988         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
66989         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
66990         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
66991         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
66992         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
66993         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
66994         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
66995         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
66996         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
66997         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
66998         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
66999         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67000         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67001         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67002         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67003         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67004         (R_ARM_THM_GOT_BREL12): Likewise.
67005         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67006         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67007         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67008         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67009         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67010         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67011         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67012         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67013         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67015 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67017         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67018         __attribute_used__ to __attribute__ ((unused)).
67020 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67022         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67023         powerpc mpa.c.
67024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67025         comment formatting.
67026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67028 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67030         [BZ #13550]
67031         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67032         Remove macro.
67033         (ENTER): Remove both macro definitions.
67034         (LEAVE): Likewise.
67035         (CHECK_BOUNDS_LOW): Likewise.
67036         (CHECK_BOUNDS_HIGH): Likewise.
67037         (CHECK_BOUNDS_BOTH): Likewise.
67038         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67039         (RETURN_BOUNDED_POINTER): Likewise.
67040         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67041         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67042         (POP_ERRNO_LOCATION_RETURN): Likewise.
67043         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67044         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67045         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67046         macros.
67047         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67048         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67049         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67050         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67051         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67052         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67053         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67054         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67055         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67056         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67057         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67058         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67059         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67060         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67061         removed macros.
67062         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67063         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67064         macros.
67065         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67066         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67067         * sysdeps/i386/i586/memset.S (memset): Likewise.
67068         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67069         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67070         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67071         macros.
67072         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67073         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67074         Change uses of L(2) to L(out).
67075         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67076         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67077         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67078         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67079         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67080         removed macros.
67081         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67082         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67083         macros.
67084         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67085         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67086         (RETURN): Do not use macro LEAVE.
67087         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67088         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67089         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67090         * sysdeps/i386/i686/memset.S (memset): Likewise.
67091         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67092         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67093         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67094         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67095         Likewise.
67096         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67097         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67098         L(1_2) and L(1_3) into L(1).
67099         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67100         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67101         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67102         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67103         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67104         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67105         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67106         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67107         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67108         macros.
67109         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67110         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67111         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67112         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67113         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67114         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67115         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67116         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67117         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67118         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67119         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67120         * sysdeps/i386/strspn.S (strspn): Likewise.
67121         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67122         conditional code.
67123         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67124         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67125         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67126         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
67127         L(1_3) into L(1_1).
67128         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67129         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67130         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67131         macros.
67132         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67134 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
67136         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67137         macro.
67139 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67141         * math/atest-exp.c (exp_mpn): Remove ROUND.
67142         * math/atest-exp2.c (exp_mpn): Likewise.
67143         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67145         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67146         * stdlib/tst-tls-atexit-lib.c: Likewise.
67147         * stdlib/tst-tls-atexit.c: Likewise.
67149 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67151         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67152         and __attribute_alloc_size__.
67154 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67156         * include/programs/xmalloc.h: Change __attribute_alloc_size to
67157         __attribute_alloc_size__.
67158         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67159         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67161 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67163         * include/programs/xmalloc.h: New file.
67164         * catgets/gencat.c: Include it.
67165         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67166         * elf/pldd.c: Likewise.
67167         * iconv/iconv_charmap.c: Likewise.
67168         * iconv/iconvconfig.c: Likewise.
67169         * iconv/strtab.c: Likewise.
67170         * locale/programs/locale.c: Likewise.
67171         * locale/programs/localedef.h: Likewise.
67172         * locale/programs/simple-hash.c: Likewise.
67173         * nscd/nscd.h: Likewise.
67174         * nss/makedb.c: Likewise.
67175         * sysdeps/generic/ldconfig.h: Likewise.
67177 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67179         * Versions.def: Add GLIBC_2.18.
67180         * include/link.h (struct link_map): New member l_tls_dtor_count.
67181         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67182         (__call_tls_dtors): Likewise.
67183         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67184         __cxa_thread_atexit_impl.
67185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67186         Likewise.
67187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67188         Likewise.
67189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67190         Likewise.
67191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67192         Likewise.
67193         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67195         Likewise.
67196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67197         Likewise.
67198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67200         Likewise.
67201         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67202         (tests): Add test case tst-tls-atexit.
67203         (modules-names): Add shared library for tst-tls-atexit.
67204         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67205         (GLIBC_PRIVATE): Add __call_tls_dtors.
67206         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67207         for libstdc++.
67208         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67209         * stdlib/tst-tls-atexit.c: New test case.
67210         * stdlib/tst-tls-atexit-lib.c: New test case.
67212         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67214         * elf/Versions (ld): Add _dl_find_dso_for_object.
67215         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67216         * elf/dl-open.c (_dl_find_dso_for_object): New function.
67217         (dl_open_worker): Use _dl_find_dso_for_object.
67218         * elf/dl-sym.c (do_sym): Likewise.
67219         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67221 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67223         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67224         Syntactic changes only.
67225         (_dl_runtime_profile): Do a tail-call to the resolved function.
67227 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
67229         [BZ #13550]
67230         * sysdeps/x86_64/bp-asm.h: Remove file.
67231         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
67232         <bp-sym.h> and <bp-asm.h>.
67233         (__clone): Do not use BP_SYM.
67234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
67235         <bp-sym.h> and <bp-asm.h>.
67236         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67237         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
67238         "bp-asm.h".
67239         (_setjmp): Do not use BP_SYM.
67240         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
67241         "bp-asm.h".
67242         (setjmp): Do not use BP_SYM.
67243         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
67244         libc_hidden_def.
67245         (mempcpy): Do not use BP_SYM in weak_alias.
67246         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
67247         "bp-asm.h".
67248         (strchr): Do not use BP_SYM.
67249         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
67250         "bp-asm.h".
67251         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
67252         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
67253         (_start): Do not use BP_SYM.
67254         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
67255         "bp-asm.h".
67256         (strcat): Do not use BP_SYM.
67257         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
67258         "bp-asm.h".
67259         (STRCMP): Do not use BP_SYM.
67260         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
67261         "bp-asm.h".
67262         (STRCPY): Do not use BP_SYM.
67263         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
67264         "bp-asm.h".
67265         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
67266         "bp-asm.h".
67267         (FUNCTION): Do not use BP_SYM.
67268         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
67269         weak_alias.
67270         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
67272 2013-02-17  Andreas Jaeger  <aj@suse.de>
67274         * time/Versions: Sort entries.
67275         * string/Versions: Likewise.
67276         * resolv/Versions: Likewise.
67277         * posix/Versions: Likewise.
67278         * iconv/Versions: Likewise.
67279         * elf/Versions: Likewise.
67280         * wcsmbs/Versions: Likewise.
67282 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67284         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
67285         loop termination condition.
67287         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
67288         variable to calculate EZ.
67289         (__sqr): Likewise.
67291         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
67292         the lower precision input.
67294 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
67296         [BZ #13550]
67297         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
67298         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
67299         (run-via-rtld-prefix): Do not handle %-bp tests.
67300         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
67301         (all-object-suffixes): Remove .ob.
67302         (bppfx): Remove variable.
67303         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
67304         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
67305         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
67306         [$(build-bounded) = yes] (libtype.ob): Likewise.
67307         * Makerules (elide-routines.ob): Remove variable.
67308         (do-tests-clean): Do not handle *-bp.out.
67309         (common-mostlyclean): Do not handle *-bp and *-bp.out.
67310         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
67311         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
67312         (tests): Do not include $(tests-bp.out).
67313         (xtests): Do not include $(xtests-bp.out).
67314         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
67315         [$(build-bounded) = yes] ($(addprefix
67316         $(objpfx),$(binaries-bounded))): Remove rule.
67317         ($(objpfx)%-bp.out): Remove rule.
67318         * config.make.in (build-bounded): Remove variable.
67319         * crypt/Makefile [$(build-bounded) = yes]
67320         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
67321         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
67322         append to variable.
67323         [$(build-bounded) = yes] (install-lib): Likewise.
67324         [$(build-bounded) = yes] (generated): Likewise.
67325         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
67326         Remove rule.
67327         * intl/Makefile [$(build-bounded) = yes]
67328         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
67329         * math/Makefile [$(build-bounded) = yes]
67330         ($(tests:%=$(objpfx)%-bp): Likewise.
67331         * misc/Makefile [$(build-bounded) = yes]
67332         ($(objpfx)tst-tsearch-bp): Likewise.
67333         * nptl/Makeconfig (bounded-thread-library): Remove variable.
67334         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
67335         Remove dependency.
67336         * string/Makefile (o-objects.ob): Remove variable.
67337         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
67338         (CFLAGS-.ob): Remove variable.
67339         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
67340         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
67341         both definitions of variable.
67342         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
67343         (ASFLAGS-.ob): Remove variable.
67345 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
67347         [BZ #13550]
67348         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
67349         Remove __BOUNDED_POINTERS__ from condition.
67350         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
67351         * string/bits/string2.h [!__NO_STRING_INLINES &&
67352         !__BOUNDED_POINTERS__]: Likewise.
67353         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
67354         Likewise.
67355         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
67356         Remove conditional code.
67357         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
67358         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
67359         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
67360         condition.
67362         [BZ #13550]
67363         * csu/libc-start.c: Do not include <bp-sym.h>.
67364         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
67365         * elf/dl-open.c: Do not include <bp-sym.h>.
67366         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
67367         * math/fegetenv.c: Do not include <bp-sym.h>.
67368         (fegetenv): Do not use BP_SYM in versioned symbols.
67369         * nptl/sysdeps/pthread/bits/libc-lockP.h
67370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
67371         <bp-sym.h>.
67372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67373         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
67374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67375         (__pthread_mutex_destroy): Likewise.
67376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67377         (__pthread_mutex_lock): Likewise.
67378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67379         (__pthread_mutex_trylock): Likewise.
67380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67381         (__pthread_mutex_unlock): Likewise.
67382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67383         (__pthread_mutexattr_init): Likewise.
67384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67385         (__pthread_mutexattr_destroy): Likewise.
67386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67387         (__pthread_mutexattr_settype): Likewise.
67388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67389         (__pthread_rwlock_init): Likewise.
67390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67391         (__pthread_rwlock_destroy): Likewise.
67392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67393         (__pthread_rwlock_rdlock): Likewise.
67394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67395         (__pthread_rwlock_tryrdlock): Likewise.
67396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67397         (__pthread_rwlock_wrlock): Likewise.
67398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67399         (__pthread_rwlock_trywrlock): Likewise.
67400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67401         (__pthread_rwlock_unlock): Likewise.
67402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67403         (__pthread_key_create): Likewise.
67404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67405         (__pthread_setspecific): Likewise.
67406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67407         (__pthread_getspecific): Likewise.
67408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
67409         Likewise.
67410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67411         (_pthread_cleanup_push_defer): Likewise.
67412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67413         (_pthread_cleanup_pop_restore): Likewise.
67414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67415         (pthread_setcancelstate): Likewise.
67416         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
67417         <bp-sym.h>.
67418         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
67419         (memchr): Do not use BP_SYM in weak_alias.
67420         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
67421         (fegetenv): Do not use BP_SYM in versioned symbols.
67422         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
67423         (fesetenv): Do not use BP_SYM in versioned symbols.
67424         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67425         (feupdateenv): Do not use BP_SYM in versioned symbols.
67426         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67427         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67428         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
67429         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
67430         (open64): Do not use BP_SYM in weak_alias.
67431         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
67432         (fegetenv): Do not use BP_SYM in versioned symbols.
67433         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
67434         (fesetenv): Do not use BP_SYM in versioned symbols.
67435         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67436         (feupdateenv): Do not use BP_SYM in versioned symbols.
67437         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
67438         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
67439         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
67440         (feraiseexcept): Do not use BP_SYM in versioned symbols.
67441         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67442         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67443         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
67444         <bp-sym.h>.
67445         (__libc_start_main): Do not use BP_SYM.
67447 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
67450         redundant return line.
67451         (norm): Likewise.
67452         (denorm): Likewise.
67453         (dbl_mp): Likewise.
67454         (sub_magnitudes): Likewise.
67455         (__add): Likewise.
67456         (__sub): Likewise.
67457         (__mul): Likewise.
67458         (__inv): Likewise.
67459         (__dvd): Likewise.
67460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
67461         (norm): Likewise.
67462         (denorm): Likewise.
67463         (dbl_mp): Likewise.
67464         (sub_magnitudes): Likewise.
67465         (__add): Likewise.
67466         (__sub): Likewise.
67467         (__mul): Likewise.
67468         (__inv): Likewise.
67469         (__dvd): Likewise.
67471         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
67472         instead of __mul.
67473         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67474         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
67475         (cc32): Likewise.
67477         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
67478         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
67479         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
67480         of __mul for squares.
67481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
67482         function
67483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
67484         Likewise.
67485         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
67486         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67488 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
67490         [BZ #13550]
67491         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
67492         code.
67493         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
67494         prototype or function definition.  Rename ubp_* variables and
67495         parameters.  Remove argv definitions conditional on
67496         [__BOUNDED_POINTERS__].
67497         * debug/backtrace.c (__backtrace): Do not use __unbounded.
67498         * elf/dl-runtime.c (_dl_fixup): Likewise.
67499         * include/set-hooks.h (RUN_HOOK): Likewise.
67500         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
67501         definition.
67502         * string/strcpy.c (strcpy): Do not use __unbounded.
67503         * sysdeps/generic/frame.h (struct layout): Likewise.
67504         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
67505         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
67506         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
67507         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
67508         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
67509         (__backtrace): Likewise.
67510         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
67511         use __ptrvalue.
67512         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
67513         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
67514         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
67515         Likewise.
67516         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
67517         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
67518         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
67519         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67520         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
67521         Do not use __unbounded.
67522         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
67523         Rename __unboundedrlimits parameter to rlimits in prototype.
67524         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
67525         Do not use __unbounded.
67526         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
67527         not use __ptrvalue.
67528         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67529         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
67530         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67531         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
67532         __ptrvalue or __unbounded.
67533         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
67534         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
67535         use __unbounded.
67536         (__new_msgctl): Do not use __ptrvalue.
67537         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
67538         __unbounded.
67539         (__libc_msgrcv): Do not use __ptrvalue.
67540         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
67541         startup_info): Do not use __unbounded.
67542         (__libc_start_main): Likewise.  Rename ubp_* variables and
67543         parameters.  Remove argv definitions conditional on
67544         [__BOUNDED_POINTERS__].
67545         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
67546         __ptrvalue.
67547         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
67548         use __unbounded.
67549         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
67550         or __ptrvalue.
67551         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
67552         use __unbounded.
67553         (__new_shmctl): Do not use __ptrvalue.
67554         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
67555         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
67556         Likewise.
67557         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
67558         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
67559         (__libc_sigaction): Likewise.
67560         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67561         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67562         Likewise.
67563         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67565 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
67567         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67569         * string/mempcpy.c: Implement by calling memcpy.
67571 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67575         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67576         evaluation.
67578         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67579         values in the mantissa.
67581         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67582         minimize writes to Z.
67583         (sub_magnitudes): Simplify code a bit.
67585 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67587         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67588         from the message.  The linker prefixes all warnings with that already.
67590 2013-02-12  Andreas Schwab  <schwab@suse.de>
67592         [BZ #15078]
67593         * posix/regexec.c (extend_buffers): Add parameter min_len.
67594         (check_matching): Pass minimum needed length.
67595         (clean_state_log_if_needed): Likewise.
67596         (get_subexp): Likewise.
67597         * posix/Makefile (tests): Add bug-regex34.
67598         (bug-regex34-ENV): Define.
67599         * posix/bug-regex34.c: New file.
67601         [BZ #11561]
67602         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67603         elements compare against the byte sequence of it, not its name.
67604         * posix/Makefile (tests): Add bug-regex35.
67605         (bug-regex35-ENV): Define.
67606         * posix/bug-regex35.c: New file.
67608 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67610         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
67611         comment.
67612         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67613         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67614         (CHECK_EOL): Add undef.
67616 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
67618         * bits/stdlib-bsearch.h: New file.
67619         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
67620         * stdlib/stdlib.h: Likewise.
67622 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67624         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
67625         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
67626         declaration.
67627         * manual/search.texi (Array Search Function): Add missing const in
67628         lfind prototype.
67629         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
67630         declaration to use rlim_t.
67631         (Basic Scheduling Functions): Remove erroneous const from
67632         sched_getparam prototype.  Remove erroneous * from
67633         sched_get_priority_max and sched_get_priority_min prototypes.
67634         (Resource Usage): Fix summary @comment on vtimes to refer to
67635         sys/vtimes.h rather than vtimes.h.
67636         Add missing *s in vtimes prototype.
67637         (Limits on Resources): Fix ulimit prototype to return long int.
67638         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
67639         prototypes to use long int rather than double.
67640         (BSD Random): Fix initstate and setstate to use char *, not void *.
67641         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
67642         prototype to make second argument 'struct aiocb64 *const[]'.
67643         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
67644         (Status of AIO Operations): Remove erroneous const in aio_return and
67645         aio_return64 prototypes.
67646         (Synchronizing I/O): Fix sync prototype to return void.
67647         * manual/startup.texi (Suboptions): Remove an erroneous const in
67648         getsubopt prototype.
67649         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
67650         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
67651         use size_t rather than int.
67652         (Scanning All Users): Likewise for getpwent_r.
67653         (Setting Groups): Add missing const to setgroups prototype.
67654         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
67655         * manual/socket.texi (Host Names): Fix gethostbyaddr and
67656         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
67657         'const void *' rather than 'const char *'.
67658         (Host Address Functions): Likewise for inet_ntop.
67659         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
67660         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
67661         ssize_t for return value.
67662         (Sending Data): Likewise for send, sendto, sendmsg.
67663         (Socket Option Functions): Add a missing const in setsockopt prototype.
67664         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
67665         use wchar_t for the argument.
67666         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
67667         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
67668         take no arguments.
67669         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
67670         double/float/long double for second argument.
67671         Fix return types of significand, significandf, significandl.
67672         * manual/filesys.texi (Setting Permissions): Use mode_t for second
67673         argument in fchmod prototype.
67674         (File Owner): Use uid_t and gid_t in fchown prototype.
67675         (File Times): Add const to utimes, futimes, and lutimes prototypes.
67676         (Making Special Files): Use mode_t and dev_t in mknod prototype.
67677         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
67678         use 'const struct dirent **' as argument types to CMP function pointer
67679         argument.
67680         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
67681         (File Times): Fix summary magic @comment for struct utimbuf and utime
67682         to refer to utime.h, not time.h.
67683         * manual/string.texi (Argz Functions): Add missing const in
67684         argz_extract and argz_next prototypes.
67685         (Finding Tokens in a String): Likewise for basename.
67686         (String/Array Comparison): Fix typo in wcscasecmp prototype.
67687         (Copying and Concatenation): Fix typo in wmemmove prototype.
67688         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
67689         (Signal Stack): Remove erroneous const in sigstack prototype.
67690         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
67691         prototype.
67692         (Simple Calendar Time): Likewise for stime.
67693         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
67694         prototype.
67695         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
67696         say sys/sysctl.h instead.
67697         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
67698         and vsyslog prototypes.
67700 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67702         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
67703         Remove.
67705 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67707         * misc/sys/mman.h: Fix typo in mremap comment.
67709 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67711         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
67712         the '\0' terminator.
67714 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67716         [BZ #13550]
67717         * debug/segfault.c: Don't include <bp-checks.h>.
67718         * sysdeps/generic/bp-checks.h: Remove file.
67719         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
67720         (__GETDENTS): Don't use CHECK_N.
67721         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
67722         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
67723         (__getgroups): Don't use CHECK_N.
67724         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
67725         (setgroups): Don't use CHECK_N.
67726         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
67727         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
67728         (__libc_msgrcv): Don't use CHECK_N.
67729         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
67730         (__libc_msgsnd): Don't use CHECK_N.
67731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
67732         <bp-checks.h>.
67733         (__libc_pread): Don't use CHECK_N.
67734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
67735         include <bp-checks.h>.
67736         (__libc_pread64): Don't use CHECK_N.
67737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
67738         include <bp-checks.h>.
67739         (__libc_pwrite): Don't use CHECK_N.
67740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
67741         include <bp-checks.h>.
67742         (__libc_pwrite64): Don't use CHECK_N.
67743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
67744         <bp-checks.h>.
67745         (__libc_pread): Don't use CHECK_N.
67746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
67747         include <bp-checks.h>.
67748         (__libc_pread64): Don't use CHECK_N.
67749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
67750         include <bp-checks.h>.
67751         (__libc_pwrite): Don't use CHECK_N.
67752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
67753         include <bp-checks.h>.
67754         (__libc_pwrite64): Don't use CHECK_N.
67755         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
67756         (do_pread): Don't use CHECK_N.
67757         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
67758         (do_pread64): Don't use CHECK_N.
67759         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
67760         (do_pwrite): Don't use CHECK_N.
67761         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
67762         (do_pwrite64): Don't use CHECK_N.
67763         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
67764         (__libc_readv): Don't use CHECK_N.
67765         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
67766         (semop): Don't use CHECK_N.
67767         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
67768         <bp-checks.h>.
67769         (semtimedop): Don't use CHECK_N.
67770         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67771         (__libc_pread): Don't use CHECK_N.
67772         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
67773         <bp-checks.h>.
67774         (__libc_pread64): Don't use CHECK_N.
67775         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
67776         <bp-checks.h>.
67777         (__libc_pwrite): Don't use CHECK_N.
67778         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
67779         <bp-checks.h>.
67780         (__libc_pwrite64): Don't use CHECK_N.
67781         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
67782         <bp-checks.h>.
67783         (__libc_msgrcv): Don't use CHECK_N.
67784         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
67785         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
67786         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
67787         (__libc_writev): Don't use CHECK_N.
67789 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67791         * string/strcpy.c: Removed unused variable.
67793         * Makeconfig (+sysdep-includes): Define with := rather than =.
67794         Use an existing include/ subdir of each sysdeps dir before it.
67796 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67798         * nscd/connection.c (register_traced_file): Comment function.
67799         [HAVE_INOTIFY] (union __inev): Define.
67800         [HAVE_INOTIFY] (inotify_check_files): New function.
67801         [HAVE_INOTIFY] (clear_db_cache): Likewise.
67802         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
67803         clear_db_cache.
67804         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
67806 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67808         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
67809         loaded if not already and that a failure is permanent.
67811 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67813         [BZ #15006]
67814         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
67815         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
67817 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67819         [BZ #13550]
67820         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
67821         (CHECK_1_NULL_OK): Likewise.
67822         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
67823         (__fxstat): Do not use CHECK_1.
67824         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
67825         <bp-checks.h>.
67826         (___fxstat64): Do not use CHECK_1.
67827         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
67828         <bp-checks.h>.
67829         (__fxstatat): Do not use CHECK_1.
67830         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
67831         <bp-checks.h>.
67832         (__fxstatat64): Do not use CHECK_1.
67833         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
67834         <bp-checks.h>.
67835         (__fxstat): Do not use CHECK_1.
67836         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
67837         <bp-checks.h>.
67838         (__fxstatat): Do not use CHECK_1.
67839         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67840         <bp-checks.h>.
67841         (__getresgid): Do not use CHECK_1.
67842         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67843         <bp-checks.h>.
67844         (__getresuid): Do not use CHECK_1.
67845         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
67846         <bp-checks.h>.
67847         (__lxstat): Do not use CHECK_1.
67848         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67849         <bp-checks.h>.
67850         (__old_msgctl): Do not use CHECK_1.
67851         (__new_msgctl): Likewise.
67852         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
67853         <bp-checks.h>.
67854         (__new_setrlimit): Do not use CHECK_1.
67855         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67856         <bp-checks.h>.
67857         (__old_shmctl): Do not use CHECK_1.
67858         (__new_shmctl): Likewise.
67859         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
67860         <bp-checks.h>.
67861         (__xstat): Do not use CHECK_1.
67862         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
67863         (__lxstat): Do not use CHECK_1.
67864         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
67865         <bp-checks.h>.
67866         (___lxstat64): Do not use CHECK_1.
67867         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
67868         (__old_msgctl): Do not use CHECK_1.
67869         (__new_msgctl): Likewise.
67870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
67871         <bp-checks.h>.
67872         (__gettimeofday): Do not use CHECK_1.
67873         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
67874         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
67875         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
67876         <bp-checks.h>.
67877         (__gettimeofday): Do not use CHECK_1.
67878         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
67879         (__old_shmctl): Do not use CHECK_1_NULL_OK.
67880         (__new_shmctl): Do not use CHECK_1.
67881         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
67882         <bp-checks.h>.
67883         (do_sigtimedwait): Do not use CHECK_1.
67884         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
67885         <bp-checks.h>.
67886         (do_sigwaitinfo): Do not use CHECK_1.
67887         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
67888         <bp-checks.h>.
67889         (msgctl): Do not use CHECK_1.
67890         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
67891         <bp-checks.h>.
67892         (shmctl): Do not use CHECK_1.
67893         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
67894         (ustat): Do not use CHECK_1.
67895         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
67896         <bp-checks.h>.
67897         (__fxstat): Do not use CHECK_1.
67898         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
67899         <bp-checks.h>.
67900         (__fxstatat): Do not use CHECK_1.
67901         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
67902         <bp-checks.h>.
67903         (__lxstat): Do not use CHECK_1.
67904         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
67905         <bp-checks.h>.
67906         (__xstat): Do not use CHECK_1.
67907         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
67908         (__xstat): Do not use CHECK_1.
67909         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
67910         (___xstat64): Do not use CHECK_1.
67912         [BZ #13550]
67913         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
67914         definitions.
67915         (CHECK_BOUNDS_HIGH): Likewise.
67916         * string/strcpy.c: Do not include <bp-checks.h>.
67917         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
67919 2013-02-07  Roland McGrath  <roland@hack.frob.com>
67921         * nscd/nscd-client.h (__nscd_drop_map_ref):
67922         Add __attribute__ ((unused)).
67923         * nis/nss-nisplus.h (niserr2nss): Likewise.
67925         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
67926         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
67928         * csu/libc-tls.c (init_static_tls, init_slotinfo):
67929         Remove inline keyword.
67930         * include/rounding-mode.h (round_away): Likewise.
67931         * libio/wfileops.c (adjust_wide_data): Likewise.
67932         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
67933         (__m128i_strloadu_tolower): Likewise.
67934         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
67935         (__m128i_strloadu_tolower): Likewise.
67936         * time/mktime.c (ydhms_diff): Likewise.
67937         * locale/elem-hash.h (elem_hash): Likewise.
67938         * locale/setlocale.c (setdata): Likewise.
67939         * posix/regex_internal.h (re_string_char_size_at): Likewise.
67940         (re_string_wchar_at): Likewise.
67941         (bitset_not, bitset_merge, bitset_mask): Likewise.
67942         [!(__GNUC__ > 3)] (inline): Remove macro.
67943         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
67944         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
67945         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
67946         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
67947         * string/memcmp.c (memcmp_bytes): Likewise.
67948         * locale/programs/locarchive.c (compute_hashval): Likewise.
67949         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
67950         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
67951         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
67952         * nss/getent.c (print_rpc, print_protocols): Likewise.
67953         (print_passwd, print_group, print_aliases): Likewise.
67954         * nis/nss-nisplus.h (niserr2nss): Likewise.
67955         * nscd/connections.c (restart_p): Likewise.
67956         Change return type to bool.
67958 2013-02-05  Roland McGrath  <roland@hack.frob.com>
67960         * Makeconfig (all-Depend-files): Add existing
67961         $(sorted-subdirs:=/Depend) files.
67962         (all-subdirs): Remove nss.
67963         * sysdeps/unix/inet/Subdirs: Add it here instead.
67964         * hesiod/Depend: New file.
67966         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
67967         instead of calling alloca.
67969         * io/lseek.c (__lseek): Rename to __libc_lseek.
67970         Define __lseek as an alias.
67972         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
67974 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
67976         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
67977         else clause and remove check for non-standard endianness.
67979 2013-02-04  David S. Miller  <davem@davemloft.net>
67981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67983 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
67985         [BZ #13550]
67986         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
67987         (__ubp_memchr): Remove prototype.
67988         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
67989         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67990         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
67991         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67992         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
67993         Remove alias.
67994         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
67995         (__ubp_memchr): Likewise.
67996         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
67997         (__ubp_memchr): Likewise.
67998         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
67999         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68000         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68001         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68002         CHECK_STRING.
68003         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68004         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68005         (__getcwd): Do not use CHECK_STRING.
68006         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68007         <bp-checks.h>.
68008         (__real_chown): Do not use CHECK_STRING.
68009         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68010         <bp-checks.h>.
68011         (fchownat): Do not use CHECK_STRING.
68012         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68013         CHECK_STRING.
68014         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68015         <bp-checks.h>.
68016         (__lchown): Do not use CHECK_STRING.
68017         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68018         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68019         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68020         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68022         include <bp-checks.h>.
68023         (truncate64): Do not use CHECK_STRING.
68024         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68025         <bp-checks.h>.
68026         (__real_chown): Do not use CHECK_STRING.
68027         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68028         <bp-checks.h>.
68029         (__lchown): Do not use CHECK_STRING.
68030         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68031         <bp-checks.h>.
68032         (__chown): Do not use CHECK_STRING.
68033         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68034         <bp-checks.h>.
68035         (truncate64): Do not use CHECK_STRING.
68036         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68037         Likewise.
68038         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68039         (__xmknod): Do not use CHECK_STRING.
68040         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68041         <bp-checks.h>.
68042         (__xmknodat): Do not use CHECK_STRING.
68043         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68044         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68046 2013-02-04  Andreas Schwab  <schwab@suse.de>
68048         [BZ #14142]
68049         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68050         * include/netdb.h: Likewise for h_errno.
68051         * elf/tst-stackguard1.c: Include <tls.h>.
68053 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68055         * elf/link.h (struct link_map): Extend the l_addr comment.
68056         * include/link.h (struct link_map): Likewise.
68058 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68060         [BZ #13550]
68061         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68062         (BOUNDED_1): Remove macro.
68063         * debug/backtrace.c: Don't include <bp-checks.h>.
68064         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68065         (__backtrace): Likewise.
68066         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68067         <bp-checks.h>.
68068         (__backtrace): Don't use BOUNDED_1.
68069         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68070         <bp-checks.h>.
68071         (__backtrace): Don't use BOUNDED_1.
68072         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68073         (__backtrace): Don't use BOUNDED_1.
68074         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68075         (shmat): Don't use BOUNDED_N.
68077 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68079         [BZ #13550]
68080         * sysdeps/generic/bp-start.h: Remove file.
68081         * csu/libc-start.c: Don't include <bp-start.h>.
68082         (LIBC_START_MAIN): Set up __environ directly instead of using
68083         INIT_ARGV_and_ENVIRON.
68084         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68085         <bp-start.h>.
68087         [BZ #13550]
68088         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68089         definitions.
68090         (CHECK_FCNTL): Likewise.
68091         (CHECK_N_PAGES): Likewise.
68093         [BZ #13550]
68094         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68095         definitions.
68096         (CHECK_SIGSET_NULL_OK): Likewise.
68097         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68098         <bp-checks.h>.
68099         (sigpending): Don't use CHECK_SIGSET.
68100         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68101         <bp-checks.h>.
68102         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68103         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68104         <bp-checks.h>.
68105         (do_sigsuspend): Don't use CHECK_SIGSET.
68106         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68107         use CHECK_SIGSET.
68108         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68109         (do_sigwait): Don't use CHECK_SIGSET.
68110         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68111         use CHECK_SIGSET.
68112         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68113         include <bp-checks.h>.
68114         (sigpending): Don't use CHECK_SIGSET.
68115         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68116         include <bp-checks.h>.
68117         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68118         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68119         <bp-checks.h>.
68120         (sigpending): Don't use CHECK_SIGSET.
68121         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68122         <bp-checks.h>.
68123         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68125         [BZ #13550]
68126         * sysdeps/generic/bp-semctl.h: Remove file.
68127         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68128         <bp-checks.h> and <bp-semctl.h>.
68129         (__old_semctl): Don't use CHECK_SEMCTL.
68130         (__new_semctl): Likewise.
68131         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68132         and <bp-semctl.h>.
68133         (__old_semctl): Don't use CHECK_SEMCTL.
68134         (__new_semctl): Likewise.
68135         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68136         <bp-checks.h> and <bp-semctl.h>.
68137         (__old_semctl): Don't use CHECK_SEMCTL.
68138         (__new_semctl): Likewise.
68139         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68140         <bp-checks.h> and <bp-semctl.h>.
68141         (semctl): Don't use CHECK_SEMCTL.
68143         [BZ #13550]
68144         * Makerules (elide-bp-thunks): Remove variable.
68145         (elide-routines.oS): Don't use $(elide-bp-thunks).
68146         (elide-routines.os): Likewise.
68147         (elide-routines.o): Likewise.
68148         (elide-routines.op): Likewise.
68149         (elide-routines.og): Likewise.
68150         (objects): Don't use $(bp-thunks).
68151         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68152         include.
68153         (common-generated): Do not add s-proto-bp.d.
68154         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68155         (int): Likewise.
68156         (typ): Likewise.
68157         Do not generate makefile rules for bounded-pointer thunks.
68158         * sysdeps/generic/bp-thunks.h: Remove file.
68159         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68160         * sysdeps/unix/s-proto-bp.S: Likewise.
68162         [BZ #15062]
68163         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68164         parts of result separately when argument is not close to line from
68165         -i to i and one part of argument is small.
68166         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68167         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68168         * math/libm-test.inc (cacos_test): Add more tests.
68169         (casin_test): Likewise.
68170         (casinh_test): Likewise.
68171         * sysdeps/i386/fpu/libm-test-ulps: Update.
68172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68174 2013-01-31  David S. Miller  <davem@davemloft.net>
68176         * po/de.po: Update from translation team.
68178 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
68180         * time/tzfile.c: Include stdint.h for SIZE_MAX.
68182 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
68184         * configure.in (_AC_PROG_CC_C89): New definition.
68185         * configure: Regenerate.
68187         * configure.in (AC_PROG_CPP): New definition.
68188         * configure: Regenerate.
68190 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68192         * debug/tst-backtrace.h: New file.
68193         * debug/tst-backtrace2.c: Include tst-backtrace.h.
68194         (ret): Remove variable.
68195         (x): Likewise.
68196         (FAIL): Remove macro.
68197         (NO_INLINE): Likewise.
68198         (fn1): Use match function instead of strstr.
68199         * debug/tst-backtrace3.c: Include tst-backtrace.h.
68200         (ret): Remove variable.
68201         (x): Likewise.
68202         (FAIL): Remove macro.
68203         (NO_INLINE): Likewise.
68204         (fn): Use match function instead of strstr.
68205         * debug/tst-backtrace4.c: Include tst-backtrace.h.
68206         (ret): Remove variable.
68207         (x): Likewise.
68208         (FAIL): Remove macro.
68209         (NO_INLINE): Likewise.
68210         (handle_signal): Use match function instead of strstr.
68211         * debug/tst-backtrace5.c: Include tst-backtrace.h.
68212         (ret): Remove variable.
68213         (x): Likewise.
68214         (FAIL): Remove macro.
68215         (NO_INLINE): Likewise.
68216         (handle_signal): Use match function instead of strstr.
68218 2013-01-23  Roland McGrath  <roland@hack.frob.com>
68220         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68222 2013-01-23  David S. Miller  <davem@davemloft.net>
68224         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68225         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68226         argument of CAS if possible.
68227         * sysdeps/sparc/sparc64/bits/atomic.h
68228         (__arch_compare_and_exchange_val_32_acq): Likewise.
68229         (__arch_compare_and_exchange_val_64_acq): Likewise.
68231 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
68233         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
68234         * sysdeps/posix/ulimit.c: ... this.
68235         Include <limits.h>.
68236         * sysdeps/unix/bsd/ulimit.c: Remove file.
68238 2013-01-23  Adam Conrad  <adconrad@0c3.net>
68240         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
68241         (LDFLAGS-tst-array5): Likewise.
68243 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68245         [BZ #15036]
68246         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
68247         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
68248         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
68249         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
68251 2013-01-21  David S. Miller  <davem@davemloft.net>
68253         * sysdeps/sparc/backtrace.c: New file.
68254         * sysdeps/sparc/sparc32/backtrace.h: New file.
68255         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
68256         * sysdeps/sparc/sparc64/backtrace.h: New file.
68257         * sysdeps/sparc/sparc64/backtrace.c: Delete.
68258         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
68259         -funwind-tables.
68261 2013-01-21  Andreas Schwab  <schwab@suse.de>
68263         [BZ #15020]
68264         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
68265         closed its stdout.
68267 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
68269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
68270         "mpa2.h".
68271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68273 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
68274             Mark Mitchell  <mark@codesourcery.com>
68275             Tom de Vries  <tom@codesourcery.com>
68276             Paul Pluzhnikov  <ppluzhnikov@google.com>
68278         * debug/tst-backtrace2.c: New file.
68279         * debug/tst-backtrace3.c: Likewise.
68280         * debug/tst-backtrace4.c: Likewise.
68281         * debug/tst-backtrace5.c: Likewise.
68282         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
68283         (CFLAGS-tst-backtrace3.c): Likewise.
68284         (CFLAGS-tst-backtrace4.c): Likewise.
68285         (CFLAGS-tst-backtrace5.c): Likewise.
68286         (LDFLAGS-tst-backtrace2): Likewise.
68287         (LDFLAGS-tst-backtrace3): Likewise.
68288         (LDFLAGS-tst-backtrace4): Likewise.
68289         (LDFLAGS-tst-backtrace5): Likewise.
68290         (tests): Add new tests tst-backtrace2, tst-backtrace3,
68291         tst-backtrace4 and tst-backtrace5.
68293 2013-01-18  Anton Blanchard  <anton@samba.org>
68294             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68296         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
68297         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
68298         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
68299         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
68300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68301         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
68302         "+r" and remove output regs list as redundant.  Add explicit inline
68303         asm to specify register of return val to work around compiler codegen
68304         bug.  Remove (int) cast on return value.  Add return type parameter to
68305         use in macro so that this macro does not truncate return value for
68306         64-bit values.
68307         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
68308         pass to INTERNAL_VSYSCALL_NCS.
68309         (INLINE_VSYSCALL): Add 'long int' as return type to
68310         INTERNAL_VSYSCALL_NCS macro invocation.
68311         (INTERNAL_VSYSCALL): Add 'long int' as return type to
68312         INTERNAL_VSYSCALL_NCS macro invocation.
68313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68315 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68317         [BZ #14496]
68318         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
68319         Fix application of SIMD FP exception mask.
68321         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
68322         mp_no from a power of two.
68323         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
68324         __mpexp_twomm1.  Use __pow_mp.
68326         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
68327         multiplication.
68329 2013-01-17  David S. Miller  <davem@davemloft.net>
68331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68333 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68335         [BZ #15023]
68336         * include/complex.h: Condition contents on [!_COMPLEX_H].
68337         (__kernel_casinhf): New prototype.
68338         (__kernel_casinh): Likewise.
68339         (__kernel_casinhl): Likewise.
68340         * math/Makefile (libm_calls): Add k_casinh.
68341         * math/k_casinh.c: New file.
68342         * math/k_casinhf.c: Likewise.
68343         * math/k_casinhl.c: Likewise.
68344         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
68345         finite nonzero arguments.
68346         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
68347         finite nonzero arguments.
68348         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
68349         finite nonzero arguments.
68350         * math/s_casinh.c: Do not include <float.h>.
68351         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
68352         * math/s_casinhf.c: Do not include <float.h>.
68353         (__casinhf): Move code for finite nonzero arguments to
68354         k_casinhf.c.
68355         * math/s_casinhl.c: Do not include <float.h>.
68356         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
68357         redefine.
68358         (__casinhl): Move code for finite nonzero arguments to
68359         k_casinhl.c.
68360         * math/libm-test.inc (cacos_test): Add more tests.
68361         * sysdeps/i386/fpu/libm-test-ulps: Update.
68362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68364 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
68366         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
68367         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
68368         [!HAVE_MREMAP]: Remove [defined linux] case.
68369         * malloc/arena.c: Do not include <malloc-sysdep.h>.
68371 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68373         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
68375 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
68377         * elf/elf.h (R_386_SIZE32): New relocation.
68378         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
68379         R_386_SIZE32.
68380         (elf_machine_rela): Likewise.
68381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68382         R_X86_64_SIZE64 and R_X86_64_SIZE32.
68384 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68386         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
68387         (FP_FAST_FMA): Do not define.
68388         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
68389         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
68390         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
68391         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
68392         !_SOFT_FLOAT]: Likewise.
68393         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
68394         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
68395         value.
68396         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
68397         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
68398         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
68399         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
68400         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
68401         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
68402         file.
68404 2013-01-16  Andreas Schwab  <schwab@suse.de>
68406         [BZ #14327]
68407         * include/stdlib.h (__mktemp): Add declaration.
68408         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
68409         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
68411 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68413         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
68414         definitions.
68415         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68416         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
68417         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
68418         definitions here.
68419         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
68420         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
68421         definitions.
68422         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
68423         and ONE.
68424         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
68425         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
68426         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
68427         definitions.
68428         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
68429         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
68430         definitions.
68431         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68433         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
68435 2013-01-15  David S. Miller  <davem@davemloft.net>
68437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68438         trunc{,f} to libm-sysdep_routes.
68439         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
68441         file.
68442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
68443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
68444         file.
68445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
68446         file.
68447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
68448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
68449         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
68450         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
68451         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
68452         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
68453         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
68454         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
68456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68457         nearbyint{,f} to libm-sysdep_routes.
68458         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
68460         New file.
68461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
68462         file.
68463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
68464         New file.
68465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
68466         file.
68467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
68468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
68469         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
68470         file.
68471         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
68472         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
68473         file.
68474         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
68475         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
68476         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
68478         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
68479         libc_feholdexcept and libc_fesetenv.
68481 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
68483         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
68485 2013-01-14  David S. Miller  <davem@davemloft.net>
68487         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
68488         (SPARC_ASM_VIS2_IFUNC): Likewise.
68489         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
68490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
68491         use of 'siam' instruction.
68492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
68493         Likewise.
68494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
68495         Likewise.
68496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
68497         Likewise.
68498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
68499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
68500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
68501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
68502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
68503         file.
68504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
68505         file.
68506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
68507         file.
68508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
68509         file.
68510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
68511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
68512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
68513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
68514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
68515         new VIS2 routines.
68516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68519         Likewise.
68520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68523         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
68525         routines to libm-sysdep_routines.
68526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68529         fdim/fdimf to libm-sysdep_routines.
68530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
68531         file.
68532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
68533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
68534         file.
68535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
68536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
68537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
68538         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
68539         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
68540         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
68541         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
68543 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68545         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
68546         to optimize copies.
68548         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
68549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
68553         local variable MPTWO.
68554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68555         Likewise.
68557 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68559         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
68560         GLOB_NOESCAPE.
68562 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68564         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68566 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68568         * manual/pattern.texi (glob_t): Document gl_flags.
68569         (glob64_t): Likewise.
68571 2013-01-11  David S. Miller  <davem@davemloft.net>
68573         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68574         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68575         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68576         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68577         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68578         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68579         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68580         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68581         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68582         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68583         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68584         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68585         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68587         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68588         sparc V9 rather than using V8 code.
68589         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68590         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68592         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68593         Move to...
68594         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68595         Here.
68597 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68599         [BZ #14941]
68600         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68601         not in the main loop.
68602         * configure: Regenerated.
68604 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68606         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68607         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68608         to just #else.
68609         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
68610         [!__GLIBC_HAVE_LONG_LONG] case.
68611         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68612         condition to just #else.
68613         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68614         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68615         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68616         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68617         unconditional.
68618         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68619         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68620         #elif condition to just #else.
68621         * sysdeps/unix/sysv/linux/sys/sysmacros.h
68622         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
68623         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68624         #elif condition to just #else.
68626 2013-01-11  Steve Ellcey  <sellcey@mips.com>
68628         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
68629         (EF_MIPS_ARCH_64): Fix value.
68630         (EF_MIPS_ARCH_32R2): New.
68631         (EF_MIPS_ARCH_64R2): New.
68633 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
68635         * Makeconfig (+link-pie-before-libc): New.
68636         (+link-pie-after-libc): Likewise.
68637         (+link-pie-tests): Likewise.
68638         (+link-pie): Rewritten.
68639         (link-before-libc): Remove $(config-LDFLAGS).
68640         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
68641         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
68642         (config-LDFLAGS): Renamed to ...
68643         (rtld-LDFLAGS): This.
68644         (rtld-tests-LDFLAGS): New macro.
68645         (link-libc-rpath-link): Likewise.
68646         (link-libc-tests-rpath-link): Likewise.
68647         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
68648         (link-libc): Prepand $(link-libc-rpath-link).
68649         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
68650         (test-program-prefix): New macro.
68651         (test-via-rtld-prefix): Likewise.
68652         (test-program-cmd): Likewise.
68653         (host-test-program-cmd): Likewise.
68654         * Makefile ($(common-objpfx)testrun.sh): Replace
68655         $(run-program-prefix) with $(test-program-prefix).
68656         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
68657         $(rtld-LDFLAGS).
68658         ($(common-objpfx)shlib.lds): Likewise.
68659         (build-module-helper): Likewise.
68660         ($(common-objpfx)format.lds): Likewise.
68661         * Rules (binaries-pie-tests): New.
68662         (binaries-pie-notests): Likewise.
68663         (binaries-pie): Rewritten.
68664         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
68665         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
68666         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
68667         (make-test-out): Replace $(host-built-program-cmd) with
68668         $(host-test-program-cmd).
68669         * config.make.in (build-hardcoded-path-in-tests): New variable.
68670         * configure.in (--enable-hardcoded-path-in-tests): New configure
68671         option.
68672         (hardcoded_path_in_tests): New AC_SUBST.
68673         * configure: Regenerated.
68674         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
68675         $(built-program-cmd) with $(test-program-cmd).
68676         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
68677         (test_program_cmd): This.
68678         * elf/Makefile ($(objpfx)order.out): Run test with
68679         $(test-program-prefix).
68680         ($(objpfx)order2.out): Likewise.
68681         ($(objpfx)tst-initorder.out): Likewise.
68682         ($(objpfx)tst-initorder2.out): Likewise.
68683         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
68684         $(test-program-cmd).
68685         ($(objpfx)tst-array1-static.out): Likewise.
68686         ($(objpfx)tst-array2.out): Likewise.
68687         ($(objpfx)tst-array3.out): Likewise.
68688         ($(objpfx)tst-array4.out): Likewise.
68689         ($(objpfx)tst-array5.out): Likewise.
68690         ($(objpfx)tst-array5-static.out): Likewise.
68691         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
68692         $(test-program-cmd).
68693         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
68694         $(run-program-prefix) with $(test-program-prefix).
68695         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
68696         (test_program_prefix): This.
68697         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
68698         $(run-program-prefix) with $(test-program-prefix).
68699         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68700         (test_program_prefix): This.
68701         * iconvdata/tst-tables.sh: Likewise.
68702         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
68703         $(run-program-prefix) with $(test-program-prefix).
68704         ($(objpfx)tst-translit.out): Likewise.
68705         ($(objpfx)tst-gettext2.out): Likewise.
68706         ($(objpfx)tst-gettext4.out): Likewise.
68707         ($(objpfx)tst-gettext6.out): Likewise.
68708         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
68709         (test_program_prefix): This.
68710         * intl/tst-gettext2.sh: Likewise.
68711         * intl/tst-gettext4.sh  Likewise.
68712         * intl/tst-gettext6.sh: Likewise.
68713         * intl/tst-translit.sh: Likewise.
68714         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
68715         with $(test-program-cmd).
68716         * libio/Makefile ($(objpfx)test-freopen.out): Replace
68717         $(run-program-prefix) with $(test-program-prefix).
68718         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
68719         (test_program_prefix): This.
68720         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
68721         $(run-program-prefix) with $(test-program-prefix).
68722         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
68723         (test_program_prefix): This.
68724         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
68725         * posix/Makefile ($(objpfx)globtest.out): Replace
68726         $(run-via-rtld-prefix) and $(test-wrapper) with
68727         $(test-program-prefix) and $(test-via-rtld-prefix).
68728         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
68729         $(test-program-prefix).
68730         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
68731         $(host-test-program-cmd).
68732         (tst-spawn-ARGS): Likewise.
68733         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
68734         $(test-program-prefix).
68735         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
68736         (test_via_rtld_prefix): This.
68737         (test_wrapper): Renamed to ...
68738         (test_program_prefix): This.
68739         (run_program_prefix): Replaced by test_program_prefix.
68740         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
68741         (test_program_prefix): This.
68742         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
68743         with $(host-test-program-cmd).
68744         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
68745         $(run-program-prefix) with $(test-program-prefix).
68746         ($(objpfx)tst-printf.out): Likewise.
68747         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
68748         $(test-program-cmd).
68749         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
68750         (test_program_prefix): This.
68751         * stdio-common/tst-unbputc.sh: Likewise.
68752         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
68753         $(run-program-prefix) with $(test-program-prefix).
68754         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
68755         (test_program_prefix): This.
68756         * string/Makefile ($(objpfx)tst-svc.out):  Replace
68757         $(built-program-cmd) with $(test-program-cmd).
68759 2013-01-11  Andreas Jaeger  <aj@suse.de>
68761         [BZ #15003]
68762         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
68763         value. Sync with Linux 3.7.
68765 2013-01-10  David S. Miller  <davem@davemloft.net>
68767         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
68768         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68769         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68771 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68773         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
68774         never set.
68775         * configure: Regenerated.
68777 2013-01-10  David S. Miller  <davem@davemloft.net>
68779         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68780         sparc V9 rather than using V8 code.
68781         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68782         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68784 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68786         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
68787         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
68788         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
68789         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
68790         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
68791         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
68792         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
68793         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
68794         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
68795         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
68796         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
68797         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
68798         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
68799         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
68800         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
68801         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
68802         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
68803         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
68804         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
68805         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
68806         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
68807         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
68808         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
68809         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
68810         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
68811         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
68812         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
68814 2013-01-10  David S. Miller  <davem@davemloft.net>
68816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68818 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68820         * posix/Makefile (tests-static): New variable.
68821         (tests): Add $(tests-static).
68822         (tst-exec-static-ARGS): New variable.
68823         (tst-spawn-static-ARGS): Likewise.
68824         * posix/tst-exec-static.c: New file.
68825         * posix/tst-spawn-static.c: Likewise.
68826         * posix/tst-exec.c: Support run directly.
68827         * posix/tst-spawn.c: Likewise.
68829 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
68831         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
68832         long.
68833         * math/bits/mathcalls.h (llrint): Likewise.
68834         (llround): Likewise.
68835         * stdlib/stdlib.h (struct drand48_data): Likewise.
68836         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
68837         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
68838         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
68839         Likewise.
68840         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
68841         Likewise.
68842         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
68843         (elf_greg_t): Likewise.
68844         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
68845         (__jmp_buf): Likewise.
68846         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
68847         definitions.
68848         (llrint): Likewise, for all definitions.
68849         (llrintl): Likewise.
68851         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
68852         Remove [__GNUC__] condition.
68853         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
68854         condition to just [__USE_ISOC99].
68855         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
68857 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68859         [BZ #14200]
68860         * sysdeps/unix/sysv/linux/x86/bits/environments.h
68861         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
68862         defined.
68863         (_POSIX_V6_ILP32_OFF32): Likewise.
68864         (_XBS5_ILP32_OFF32): Likewise.
68865         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
68866         (__ILP32_OFFBIG_LDFLAGS): Likewise.
68868 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68870         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
68872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
68873         doubles __mpexp_twomm1.  Adjust usage.
68874         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
68875         Remove.
68877 2013-01-10  Andreas Schwab  <schwab@suse.de>
68879         [BZ #14964]
68880         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
68881         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
68883 2013-01-09  David S. Miller  <davem@davemloft.net>
68885         [BZ #15003]
68886         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
68887         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
68888         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
68889         (TCP_FASTOPEN): Define.
68890         (tcp_repair_opt): New structure.
68891         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
68892         enum values.
68893         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
68894         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
68895         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
68896         (tcp_cookie_transactions): New structure.
68898 2013-01-09  Anton Blanchard  <anton@samba.org>
68900         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
68901         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
68902         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
68903         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
68905 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
68907         * include/features.h (__USE_ANSI): Remove.
68909 2013-01-09  Roland McGrath  <roland@hack.frob.com>
68911         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
68913         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
68915 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
68917         * sysdeps/s390/fpu/libm-test-ulps: Update.
68919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68921         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
68922         (__acr): Likewise.
68923         (__cpy): Likewise.
68924         (norm): Likewise.
68925         (denorm): Likewise.
68926         (__mp_dbl): Likewise.
68927         (__dbl_mp): Likewise.
68928         (add_magnitudes): Likewise.
68929         (sub_magnitudes): Likewise.
68930         (__add): Likewise.
68931         (__sub): Likewise.
68932         (__mul): Likewise.
68933         (__inv): Likewise.
68934         (__dvd): Likewise.
68935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
68936         (__acr): Likewise.
68937         (__cpy): Likewise.
68938         (norm): Likewise.
68939         (denorm): Likewise.
68940         (__mp_dbl): Likewise.
68941         (__dbl_mp): Likewise.
68942         (add_magnitudes): Likewise.
68943         (sub_magnitudes): Likewise.
68944         (__add): Likewise.
68945         (__sub): Likewise.
68946         (__mul): Likewise.
68947         (__inv): Likewise.
68948         (__dvd): Likewise.
68949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
68950         (__acr): Likewise.
68951         (__cpy): Likewise.
68952         (norm): Likewise.
68953         (denorm): Likewise.
68954         (__mp_dbl): Likewise.
68955         (__dbl_mp): Likewise.
68956         (add_magnitudes): Likewise.
68957         (sub_magnitudes): Likewise.
68958         (__add): Likewise.
68959         (__sub): Likewise.
68960         (__mul): Likewise.
68961         (__inv): Likewise.
68962         (__dvd): Likewise.
68964 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
68966         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
68967         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
68968         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
68969         2 && __USE_EXTERN_INLINES]: Likewise.
68971 2013-01-08  Andreas Jaeger  <aj@suse.de>
68973         [BZ #14985]
68974         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
68975         Remove.
68976         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68977         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68979 2013-01-07  Anton Blanchard  <anton@samba.org>
68981         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
68982         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
68983         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
68984         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
68985         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
68986         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68987         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
68988         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68990         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68991         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68992         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68993         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68994         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
68995         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
68996         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68997         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
68999         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69000         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69001         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69002         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69003         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69004         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69005         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69006         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69007         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69008         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69009         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69010         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69011         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69013         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69014         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69015         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69017         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69018         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69019         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69020         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69021         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69023         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69025 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69027         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69028         (__MALLOC_PMT): Likewise.
69029         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69030         [__GNUC__], only on [_LIBC].
69031         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69032         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69033         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69034         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69035         forward declaration.
69036         (realloc_hook_ini): Likewise.
69037         (memalign_hook_ini): Likewise.
69038         (__libc_memalign): Do not use __MALLOC_PMT in variable
69039         declaration.
69040         (__libc_valloc): Likewise.
69041         (__libc_pvalloc): Likewise.
69042         (__libc_calloc): Likewise.
69043         (__posix_memalign): Likewise.
69045         [BZ #14996]
69046         * math/s_casinh.c: Include <float.h>.
69047         (__casinh): Do not do computation with squaring and square root
69048         for large arguments.
69049         * math/s_casinhf.c: Include <float.h>.
69050         (__casinhf): Do not do computation with squaring and square root
69051         for large arguments.
69052         * math/s_casinhl.c: Include <float.h>.
69053         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69054         (__casinhl): Do not do computation with squaring and square root
69055         for large arguments.
69056         * math/libm-test.inc (casin_test): Add more tests.
69057         (casinh_test): Likewise.
69058         * sysdeps/i386/fpu/libm-test-ulps: Update.
69059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69061 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69063         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69064         (__x86_64_raw_data_cache_size): Likewise.
69065         (__x86_64_data_cache_size_half): Likewise.
69066         (__x86_64_raw_data_cache_size_half): Likewise.
69067         (__x86_64_shared_cache_size): Likewise.
69068         (__x86_64_raw_shared_cache_size): Likewise.
69069         (__x86_64_shared_cache_size_half): Likewise.
69070         (__x86_64_raw_shared_cache_size_half): Likewise.
69071         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69072         to ...
69073         (__x86_data_cache_size): This.
69074         (__x86_64_raw_data_cache_size): Renamed to ...
69075         (__x86_raw_data_cache_size): This.
69076         (__x86_64_data_cache_size_half): Renamed to ...
69077         (__x86_data_cache_size_half): This.
69078         (__x86_64_raw_data_cache_size_half): Renamed to ...
69079         (__x86_raw_data_cache_size_half): This.
69080         (__x86_64_shared_cache_size): Renamed to ...
69081         (__x86_shared_cache_size): This.
69082         (__x86_64_raw_shared_cache_size): Renamed to ...
69083         (__x86_raw_shared_cache_size): This.
69084         (__x86_64_shared_cache_size_half): Renamed to ...
69085         (__x86_shared_cache_size_half): This.
69086         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69087         (__x86_raw_shared_cache_size_half): This.
69088         * sysdeps/x86_64/memcpy.S: Updated.
69089         * sysdeps/x86_64/memset.S: Likewise.
69090         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69091         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69092         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69094 2013-01-04  David S. Miller  <davem@davemloft.net>
69096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69098 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69100         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69101         1 to avoid redefinition warning.
69102         (__USE_GNU): Don't define.
69103         (init_signaling_nan): Protoize.
69105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69107 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69109         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69111         (__cpymn): Likewise.
69112         (norm): Remove commented code.
69113         (denorm): Likewise.
69114         (__mp_dbl): Likewise.
69115         (__inv): Likewise.
69116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69117         (__cpymn): Likewise.
69118         (norm): Remove commented code.
69119         (denorm): Likewise.
69120         (__mp_dbl): Likewise.
69121         (__inv): Likewise.
69123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69124         mp_no value for 1.0 and 2.0.
69125         (norm): Use RADIXI instead of radixi.d.
69126         (denorm): Likewise.
69127         (__mul): Use 0.0 instead of zero.d.
69128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69129         mp_no value for 1.0 and 2.0.
69130         (norm): Use RADIXI instead of radixi.d.
69131         (denorm): Likewise.
69132         (__mul): Use 0.0 instead of zero.d.
69134 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
69136         [BZ #14994]
69137         * math/s_casinh.c (__casinh): Reduce finite argument to first
69138         quadrant then set signs of results at the end.
69139         * math/s_casinhf.c (__casinhf): Likewise.
69140         * math/s_casinhl.c (__casinhl): Likewise.
69141         * math/libm-test.inc (casin_test): Add more tests.
69142         (casinh_test): Likewise.
69143         * sysdeps/i386/fpu/libm-test-ulps: Update.
69144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69146 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69148         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69150         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69152         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69153         declarations.
69154         (denorm): Likewise.
69155         (__mp_dbl): Likewise.
69156         (__inv): Likewise.
69158         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69159         and adjust the header comment.
69161         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69162         variable name from declaration.
69164 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
69166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69167         Initialize COMMON_CPUID_INDEX_7 element.
69168         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69169         (CPUID_RTM): Likewise.
69170         (HAS_RTM): Likewise.
69171         (COMMON_CPUID_INDEX_7): New enum.
69173 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
69175         [BZ #14981]
69176         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69177         size is zero, record memory as freed.
69179 2013-01-03  Andreas Jaeger  <aj@suse.de>
69181         * po/ia.po: Add new Interlingua translation.
69183 2012-01-03  Allan McRae  <allan@archlinux.org>
69185         * locale/programs/localedef.c: Fix description of '--posix' flag.
69187 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
69189         * NEWS: Update dates in second copyright notice.
69190         * README: Update copyright dates in example.
69191         * manual/libc.texinfo: Update copyright dates.
69192         * scripts/test-installation.pl: Update copyright date in --version
69193         output.
69195         * hurd/ctty-input.c: Fix copyright notice formatting.
69196         * hurd/ctty-output.c: Likewise.
69197         * hurd/dtable.c: Likewise.
69198         * hurd/hurd-raise.c: Likewise.
69199         * hurd/hurdprio.c: Likewise.
69200         * hurd/msgportdemux.c: Likewise.
69201         * misc/sys/file.h: Likewise.
69202         * misc/sys/ioctl.h: Likewise.
69203         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69204         * sysdeps/mach/hurd/chdir.c: Likewise.
69205         * sysdeps/mach/hurd/fchdir.c: Likewise.
69206         * sysdeps/mach/hurd/rename.c: Likewise.
69207         * sysdeps/mach/hurd/rmdir.c: Likewise.
69208         * sysdeps/mach/hurd/seekdir.c: Likewise.
69209         * sysdeps/mach/hurd/setsid.c: Likewise.
69210         * sysdeps/posix/wait3.c: Likewise.
69212         * All files with FSF copyright notices: Update copyright dates
69213         using scripts/update-copyrights.
69214         * intl/plural.c: Regenerated.
69215         * locale/programs/charmap-kw.h: Likewise.
69216         * locale/programs/locfile-kw.h: Likewise.
69218 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69220         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69221         four values.
69223         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69224         calculation loop and add branch prediction.
69226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69227         check access beyond bounds of m1np.
69229         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69230         MPTWO.
69231         (__inv): Remove local variable MPTWO to use the global
69232         constant.
69233         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
69234         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69235         variable MPTWO.
69236         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
69237         MP3HALFS static const.
69239 2013-01-01  David S. Miller  <davem@davemloft.net>
69241         * po/ca.po: Update from translation team.
69243 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
69245         * scripts/update-copyrights: New file.
69246         * Makeconfig: Reformat copyright notice.
69247         * ctype/ctype.h: Likewise.
69248         * debug/swprintf_chk.c: Likewise.
69249         * elf/dl-cache.c: Likewise.
69250         * elf/dl-debug.c: Likewise.
69251         * elf/dl-object.c: Likewise.
69252         * grp/initgroups.c: Likewise.
69253         * hurd/Makefile: Likewise.
69254         * hurd/hurd/signal.h: Likewise.
69255         * hurd/hurdfault.c: Likewise.
69256         * hurd/hurdioctl.c: Likewise.
69257         * hurd/hurdlookup.c: Likewise.
69258         * hurd/intr-msg.c: Likewise.
69259         * iconv/gconv_open.c: Likewise.
69260         * libio/swprintf.c: Likewise.
69261         * locale/lc-ctype.c: Likewise.
69262         * locale/nl_langinfo.c: Likewise.
69263         * mach/Machrules: Likewise.
69264         * mach/Makefile: Likewise.
69265         * malloc/obstack.h: Likewise.
69266         * manual/Makefile: Likewise.
69267         * manual/tsort.awk: Likewise.
69268         * misc/bits/stab.def: Likewise.
69269         * nis/nis_print_group_entry.c: Likewise.
69270         * nis/nis_table.c: Likewise.
69271         * nis/nss_compat/compat-pwd.c: Likewise.
69272         * nis/nss_compat/compat-spwd.c: Likewise.
69273         * po/Makefile: Likewise.
69274         * posix/fnmatch.c: Likewise.
69275         * posix/regex.h: Likewise.
69276         * resolv/Makefile: Likewise.
69277         * resolv/nss_dns/dns-network.c: Likewise.
69278         * resolv/res_hconf.c: Likewise.
69279         * scripts/gen-sorted.awk: Likewise.
69280         * soft-fp/soft-fp.h: Likewise.
69281         * stdio-common/printf.h: Likewise.
69282         * stdlib/monetary.h: Likewise.
69283         * stdlib/random.c: Likewise.
69284         * stdlib/random_r.c: Likewise.
69285         * sysdeps/generic/Makefile: Likewise.
69286         * sysdeps/gnu/Makefile: Likewise.
69287         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69288         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69289         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69291         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69293         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69294         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69295         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69297         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69298         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69299         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69300         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69301         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
69302         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69303         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69305         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69306         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69307         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69308         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69309         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69310         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
69311         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
69312         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69313         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
69314         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
69315         * sysdeps/mach/hurd/errnos.awk: Likewise.
69316         * sysdeps/mach/hurd/fork.c: Likewise.
69317         * sysdeps/mach/hurd/getcwd.c: Likewise.
69318         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
69319         * sysdeps/mach/hurd/mmap.c: Likewise.
69320         * sysdeps/mach/hurd/utimes.c: Likewise.
69321         * sysdeps/mach/hurd/xmknod.c: Likewise.
69322         * sysdeps/posix/profil.c: Likewise.
69323         * sysdeps/posix/readdir_r.c: Likewise.
69324         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69325         * sysdeps/powerpc/bits/setjmp.h: Likewise.
69326         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
69327         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69329         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69330         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69331         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69333         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69334         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69335         * sysdeps/pthread/lio_listio.c: Likewise.
69336         * sysdeps/sparc/dl-procinfo.h: Likewise.
69337         * sysdeps/unix/i386/sysdep.S: Likewise.
69338         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
69339         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
69340         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
69341         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
69342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69343         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
69344         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
69345         * sysdeps/unix/sysv/linux/speed.c: Likewise.
69346         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
69347         * sysdeps/wordsize-32/divdi3.c: Likewise.
69348         * time/sys/time.h: Likewise.
69349         * wcsmbs/Makefile: Likewise.
69351 2013-01-01  David S. Miller  <davem@davemloft.net>
69353         * po/fr.po: Update from translation team.
69355         * catgets/gencat.c: Update copyright year.
69356         * csu/version.c: Likewise.
69357         * debug/catchsegv.sh: Likewise.
69358         * debug/pcprofiledump.c: Likewise.
69359         * debug/xtrace.sh: Likewise.
69360         * elf/ldconfig.c: Likewise.
69361         * elf/ldd.bash.in: Likewise.
69362         * elf/pldd.c: Likewise.
69363         * elf/sotruss.ksh: Likewise.
69364         * elf/sprof.c: Likewise.
69365         * iconv/iconv_prog.c: Likewise.
69366         * iconv/iconvconfig.c: Likewise.
69367         * locale/programs/locale.c: Likewise.
69368         * locale/programs/localedef.c: Likewise.
69369         * login/programs/pt_chown.c: Likewise.
69370         * malloc/memusage.sh: Likewise.
69371         * malloc/memusagestat.c: Likewise.
69372         * malloc/mtrace.pl: Likewise.
69373         * nscd/nscd.c: Likewise.
69374         * nss/getent.c: Likewise.
69375         * nss/makedb.c: Likewise.
69376         * posix/getconf.c: Likewise.
69378 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69380         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
69381         numbers.
69383 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
69385         * math/bits/mathcalls.h (modf): Use __nonnull.
69387 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69389         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
69390         (split): Use macro CN instead of the bare value.
69391         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
69392         could be used.
69393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
69394         instead of the bare value.
69395         (power1): Likewise.
69397 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69399         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
69400         __ATAN_TWOM.
69401         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69403         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
69404         their values.
69405         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69406         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69407         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
69408         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69410 2012-12-28  Andreas Jaeger  <aj@suse.de>
69412         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
69413         values are from Linux 3.7.
69415         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
69416         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
69418 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69420         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
69421         TRUE case.
69423         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
69424         (norm): Likewise.
69425         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
69426         variables with preprocessor constants.
69427         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69428         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69429         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69431 2012-12-27  Bruno Haible  <bruno@clisp.org>
69433         [BZ #14317]
69434         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
69435         only if needed.
69437 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69439         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
69440         and use variable directly.
69441         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
69443         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69444         MPONE.
69445         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
69446         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69447         variable MPONE.
69448         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69450         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
69451         include directive.  Remove local variable MPONE.
69452         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
69453         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
69454         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69456 2012-12-25  David S. Miller  <davem@davemloft.net>
69458         * version.h (RELEASE): Set to "development".
69459         (VERSION): Set to "2.17.90".
69460         * NEWS: Add 2.18 section.
69462 2012-12-21  David S. Miller  <davem@davemloft.net>
69464         * po/hr.po: Update from translation team.
69466 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69468         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
69470 2012-12-19  Steve Ellcey  <sellcey@mips.com>
69472         * NEWS:  Mention new memcpy for MIPS.
69474 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69476         * manual/contrib.texi (Contributors): Spelling correction.
69478 2012-12-15  David S. Miller  <davem@davemloft.net>
69480         * po/ru.po: Update from translation team.
69482 2012-12-13  David S. Miller  <davem@davemloft.net>
69484         * NEWS: Mention IFUNC testsuite enhancements.
69486         * po/pl.po: Update from translation team.
69487         * po/bg.po: Likewise.
69489         * manual/contrib.texi (Contributors): Update entries for Hongjiu
69490         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
69492 2012-12-11  David S. Miller  <davem@davemloft.net>
69494         * po/sv.po: Update from translation team.
69496         * po/vi.po: Update from translation team.
69498         * po/cs.po: Update from translation team.
69500         * po/de.po: Update from translation team.
69501         * po/eo.po: Likewise.
69502         * po/nl.po: Likewise.
69504 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
69506         [BZ #14246]
69507         * manual/argp.texi (Argp Helper Functions): Move node to follow
69508         Argp Parsing State.
69510         [BZ #14872]
69511         * manual/conf.texi (Limits on File System Capacity): Mention if
69512         terminating null is included in the max size.
69514 2012-12-10  Andreas Jaeger  <aj@suse.de>
69516         * po/cs.po: Update from translation team.
69518 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69520         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
69521         void pointer and cast to uintptr_t.
69522         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
69523         path.
69524         * sysdeps/s390/s390-64/memcpy.S: Likewise.
69525         * sysdeps/s390/s390-64/memset.S: Likewise.
69527 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
69529         [BZ #14833]
69530         * menual/message.texi (Message Translation): Fix typos.
69531         (Helper programs for gettext): Likewise.
69533 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
69535         [BZ #14898]
69536         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
69537         Change to -1.
69539 2012-12-07  David S. Miller  <davem@davemloft.net>
69541         * po/libc.pot: Update.
69543 2012-12-07  Richard Henderson  <rth@redhat.com>
69545         [BZ #10114]
69546         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
69547         normal/normal case to before the switch.
69548         (_FP_DIV): Likewise.
69550 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
69551             Mike Frysinger  <vapier@gentoo.org>
69553         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
69554         check for __NR_fadvise64_64.
69556 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
69558         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
69559         0, not just to plain "0" as a statement.
69560         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69561         with cw.
69563 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
69565         * NEWS: Use sourceware.org in Bugzilla URL.
69567 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69570         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69572         * stdio-common/tst-put-error.c (do_test): Add newline to the
69573         padded test to ensure flush.
69575 2012-12-05  Jeff Law  <law@redhat.com>
69577         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69579 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69581         * README: Don't refer to ports add-on as distributed separately.
69582         Mention AArch64 in list of systems supported in the ports add-on.
69584         * LICENSES: Add more non-FSF copyright and license notices.
69586         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69587         ((unused)).
69589         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69591         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69592         10000 as width of padded output.
69594 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69596         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69598         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69599         variable LX with __attribute__ ((unused)).
69600         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69601         Likewise.
69602         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69603         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69604         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69605         with __attribute__ ((unused)).
69607 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69609         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69611 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69613         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69614         (CFLAGS-nldbl-acos.c): New variable.
69615         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69616         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69617         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69618         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69619         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
69620         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
69621         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
69622         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
69623         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
69624         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
69625         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
69626         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
69627         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
69628         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
69629         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
69630         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
69631         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
69632         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
69633         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
69634         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69635         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
69636         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
69637         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
69638         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
69639         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
69640         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
69641         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
69642         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69643         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
69644         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
69645         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
69646         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
69647         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
69648         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
69649         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
69650         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
69651         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
69652         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
69653         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
69654         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
69655         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
69656         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
69657         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
69658         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
69659         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
69660         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
69661         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
69662         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
69663         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69664         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
69665         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
69666         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
69667         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
69668         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
69669         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
69670         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
69671         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
69672         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
69673         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
69674         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69675         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
69676         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
69677         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
69678         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
69679         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
69680         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
69681         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
69682         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
69683         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
69684         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
69685         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
69686         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
69687         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
69688         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
69689         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
69690         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
69691         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
69692         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
69693         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
69694         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
69695         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
69696         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
69697         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
69698         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
69699         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
69700         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
69701         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
69702         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
69703         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
69704         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
69705         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
69706         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
69707         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
69708         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
69709         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
69710         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
69711         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
69713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69714         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69716         [BZ #14914]
69717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
69718         whole low double instead of just low 47 bits when splitting values
69719         into two parts.
69721 2012-12-03  Allan McRae  <allan@archlinux.org>
69723         * manual/stdio.texi (Predefined Printf Handlers): Remove
69724         @hsep and @vsep usage.
69726 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
69728         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
69729         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
69731 2012-12-03  Jeff Law  <law@redhat.com>
69733         * time/sys/time.h (settimeofday): Do not mark TV argument
69734         as __nonnull.
69736 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
69738         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
69739         when currently writing and seek to current position when not.
69740         * libio/Makefile (tests): Remove bug-fclose1.
69741         * libio/bug-fclose1.c: Delete.
69743 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
69745         * manual/arith.texi (feenableexcept): Fix typo.
69746         (fedisableexcept): Likewise.
69748 2012-11-30  Roland McGrath  <roland@hack.frob.com>
69750         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
69751         second, differently-typed declaration, rather than a cast.
69753 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69755         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
69756         * include/rpc/svc.h: ... here.
69758 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
69760         [BZ #13013]
69761         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
69762         depending n and resplen2 to catch cases where answer
69763         equals answerp2.
69765 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
69767         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
69768         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
69770 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
69772         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
69774 2012-11-29  Roland McGrath  <roland@hack.frob.com>
69776         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
69778 2012-11-28  Jeff Law  <law@redhat.com>
69780         [BZ #13761]
69781         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
69782         dataset_temporary.  Track alloca usage into alloca_used.
69783         If dataset is large allocate and release it via malloc/free.
69785 2012-06-04  Florian Weimer  <fweimer@redhat.com>
69787         [BZ #14197]
69788         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
69790 2012-11-28  David S. Miller  <davem@davemloft.net>
69792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69794 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69796         [BZ #14803]
69797         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
69798         of pi/2 rounded to nearest to 64 bits.
69799         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
69800         nearest to 64 bits.
69801         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
69802         bits.
69804 2012-11-28  Jeff Law <law@redhat.com>
69805             Martin Osvald <mosvald@redhat.com>
69807         [BZ #14889]
69808         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
69809         * sunrpc/svc.c: Include time.h.
69810         (__svc_accept_failed): New function.
69811         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
69812         any reason other than EINTR, call __svc_accept_failed.
69813         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
69814         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
69816 2012-11-28  Andreas Schwab  <schwab@suse.de>
69818         * scripts/abilist.awk: Also handle indirect functions in .opd
69819         section.
69821 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69823         [BZ #13881]
69824         * sysdeps/x86/fpu/powl_helper.c: New file.
69825         * sysdeps/x86/fpu/Makefile: Likewise.
69826         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
69827         (p3): New object.
69828         (__ieee754_powl): Use __powl_helper for finite arguments except
69829         integer exponents below 8.
69830         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
69831         (p3): New object.
69832         (__ieee754_powl): Use __powl_helper for finite arguments except
69833         integer exponents below 8.
69834         * math/libm-test.inc (pow_test): Add more tests and enable some
69835         previously disabled tests.
69836         * sysdeps/i386/fpu/libm-test-ulps: Update.
69837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69839 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69840             Carlos O'Donell  <carlos_odonell@mentor.com>
69842         * nss/makedb.c (is_prime): Assert that input is odd and greater
69843         than 4.  Note that fact in a comment too.
69844         (next_prime): Add 4 to input.
69846 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69848         [BZ #11741]
69849         * libio/Makefile (tests): Add test case tst-fwrite-error.
69850         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
69851         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
69852         * libio/tst-fwrite-error.c: New test case.
69854 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
69856         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
69857         before casting to void *.
69858         * include/libc-internal.h (__pointer_type): New macro.
69859         (__integer_if_pointer_type_sub): Likewise.
69860         (__integer_if_pointer_type): Likewise.
69861         (cast_to_integer): Likewise.
69862         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
69863         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
69864         before casting to atomic64_t.
69865         (atomic_exchange_acq): Likewise.
69866         (__arch_exchange_and_add_body): Likewise.
69867         (__arch_add_body): Likewise.
69868         (atomic_add_negative): Likewise.
69869         (atomic_add_zero): Likewise.
69871 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
69873         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
69874         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
69875         (add_fdes): Likewise.
69876         (linear_search_fdes): Likewise.
69877         (binary_search_unencoded_fdes): Likewise.
69879 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
69881         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
69883 2012-11-24  Adam Conrad  <adconrad@0c3.net>
69885         * configure.in: Autodetect C++ header directories.
69886         * configure: Regenerated.
69888 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
69890         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
69892 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
69894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69896 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
69898         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
69899         LDBL_MANT_DIG == 106]: Disable some tests.
69900         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69901         Likewise.
69902         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69903         Likewise.
69905         [BZ #14871]
69906         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
69907         input for small inputs.  Return +/- pi/2 for large inputs.
69908         * math/libm-test.inc (atan_test): Add more tests.
69910         * sysdeps/generic/unwind-dw2-fde-glibc.c
69911         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
69912         __attribute__ ((unused)).
69914         [BZ #14645]
69915         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
69916         x * y if x and y are nonzero and z is zero.
69918         [BZ #14811]
69919         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
69920         nonzero exponents with absolute value below 0x1p-117 to +/-
69921         0x1p-117.
69923         [BZ #14869]
69924         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
69925         up arguments below 2**-450, not just those below 2**-500.
69926         * math/libm-test.inc (hypot_test): Add another test.
69928         [BZ #14868]
69929         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
69930         Return a+b for ratio over 2**120, not 2**60.
69931         * math/libm-test.inc (hypot_test): Add another test.
69933         * math/libm-test.inc (clog_test): Use
69934         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
69935         (clog10_test): Likewise.
69937         [BZ #6778]
69938         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
69940 2012-11-22  Andreas Schwab  <schwab@suse.de>
69942         * sysdeps/i386/fpu/libm-test-ulps: Update.
69944 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
69946         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
69947         printf output with newline.
69949 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
69951         [BZ #14865]
69952         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
69953         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
69954         -z nodlopen, -z initfirst and -z execstack support.
69955         * configure: Regenerated.
69957         * elf/elf.h (DF_1_NODIRECT): New macro.
69958         (DF_1_IGNMULDEF): Likewise.
69959         (DF_1_NOKSYMS): Likewise.
69960         (DF_1_NOHDR): Likewise.
69961         (DF_1_EDITED): Likewise.
69962         (DF_1_NORELOC): Likewise.
69963         (DF_1_SYMINTPOSE): Likewise.
69964         (DF_1_GLOBAUDIT): Likewise.
69965         (DF_1_SINGLETON): Likewise.
69966         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
69967         DT_1_SUPPORTED_MASK bits.
69968         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
69970 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
69972         * sysdeps/unix/make-syscalls.sh: Document prefixes.
69974 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
69976         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
69977         macro.
69979         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
69980         (sendmmsg): Move declarations...
69981         * socket/sys/socket.h: ... here.
69982         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
69983         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
69984         include it from...
69985         * socket/recvmmsg.c: ... this new file.
69986         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
69987         (sendmmsg): Rename to __sendmmsg, create weak alias and make
69988         definition of __sendmmsg hidden.
69989         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
69990         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
69991         Move ENOSYS stub into and include it from...
69992         * socket/sendmmsg.c: ... this new file.
69993         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
69994         (sysdep_routines): Move recvmmsg and sendmmsg...
69995         * socket/Makefile (routines): ... here.
69996         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
69997         (GLIBC_PRIVATE): Add __sendmmsg.
69998         * include/sys/socket.h (__sendmmsg): Add declarations.
69999         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70000         sendmmsg.
70002 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70005         variable I1 with __attribute__ ((unused)).
70006         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70008 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70010         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70011         DUMMY variables with __attribute__ ((unused)).
70013         * bits/byteswap.h: Include <bits/types.h>.
70014         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70016 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70018         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70019         string_t.  Do not manually set errno.
70020         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70021         length with __strnlen.  Make sure to both set errno and return it on
70022         failure.
70024 2012-11-19  David S. Miller  <davem@davemloft.net>
70026         With help from Joseph Myers.
70027         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70028         very large arguments properly.
70029         * math/libm-test.inc (atan_test): New tests.
70030         (atan2_test): New tests.
70031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70034 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70036         [BZ #14856]
70037         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70038         Define to 3.
70040         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70041         [POSIX] (EADDRNOTAVAIL): Likewise.
70042         [POSIX] (EAFNOSUPPORT): Likewise.
70043         [POSIX] (EALREADY): Likewise.
70044         [POSIX] (ECONNABORTED): Likewise.
70045         [POSIX] (ECONNREFUSED): Likewise.
70046         [POSIX] (ECONNRESET): Likewise.
70047         [POSIX] (EDESTADDRREQ): Likewise.
70048         [POSIX] (EDQUOT): Likewise.
70049         [POSIX] (EHOSTUNREACH): Likewise.
70050         [POSIX] (EIDRM): Likewise.
70051         [POSIX] (EISCONN): Likewise.
70052         [POSIX] (ELOOP): Likewise.
70053         [POSIX] (EMULTIHOP): Likewise.
70054         [POSIX] (ENETDOWN): Likewise.
70055         [POSIX] (ENETUNREACH): Likewise.
70056         [POSIX] (ENOBUFS): Likewise.
70057         [POSIX] (ENODATA): Likewise.
70058         [POSIX] (ENOLINK): Likewise.
70059         [POSIX] (ENOMSG): Likewise.
70060         [POSIX] (ENOPROTOOPT): Likewise.
70061         [POSIX] (ENOSR): Likewise.
70062         [POSIX] (ENOSTR): Likewise.
70063         [POSIX] (ENOTCONN): Likewise.
70064         [POSIX] (ENOTSOCK): Likewise.
70065         [POSIX] (EOPNOTSUPP): Likewise.
70066         [POSIX] (EOVERFLOW): Likewise.
70067         [POSIX] (EPROTO): Likewise.
70068         [POSIX] (EPROTONOSUPPORT): Likewise.
70069         [POSIX] (EPROTOTYPE): Likewise.
70070         [POSIX] (ESTALE): Likewise.
70071         [POSIX] (ETIME): Likewise.
70072         [POSIX] (ETXTBSY): Likewise.
70073         [POSIX] (EWOULDBLOCK): Likewise.
70074         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70075         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70076         [POSIX] (SEEK_CUR): Likewise.
70077         [POSIX] (SEEK_END): Likewise.
70078         [POSIX || UNIX98] (mode_t): Do not require.
70079         [POSIX] (off_t): Likewise.
70080         [POSIX] (pid_t): Likewise.
70081         [POSIX] (sys/stat.h): Do not allow header.
70082         [POSIX] (unistd.h): Likewise.
70083         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70084         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70085         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70086         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70087         require.
70088         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70089         sigevent): Specify elements.
70090         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70091         entry.
70092         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70093         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70095         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70096         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70097         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70098         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70099         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70100         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70101         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70102         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70103         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70104         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70105         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70106         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70107         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70108         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70109         Likewise.
70110         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70111         Likewise.
70112         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70113         Likewise.
70114         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70115         Likewise.
70116         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70117         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70118         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70119         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70120         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70121         Specify lower bound on value.
70122         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70123         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70124         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70125         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70126         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70127         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70128         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70129         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70130         value.
70131         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70132         as optional.
70133         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70134         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70135         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70136         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70137         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70138         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70139         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70140         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70141         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70142         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70143         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70144         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70145         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70146         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70147         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70148         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70149         entry.
70150         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70151         optional.
70152         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70153         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70154         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70155         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70156         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70157         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70158         Likewise.
70159         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70160         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70161         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70162         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70163         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
70164         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70165         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70166         as optional.
70167         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70168         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70169         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70170         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70171         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70172         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70173         specify as optional.
70174         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70175         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70176         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70177         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70178         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70179         [XPG3] (NL_LANGMAX): Likewise.
70180         [POSIX || XPG3] (NL_MSGMAX): Likewise.
70181         [POSIX || XPG3] (NL_NMAX): Likewise.
70182         [POSIX || XPG3] (NL_SETMAX): Likewise.
70183         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70184         [XPG3] (NZERO): Likewise.
70185         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70186         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70187         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70188         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70189         (REG_ERANGE): Expect.
70190         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70191         optional-constant.
70192         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70193         Use (void) in prototype.
70194         [POSIX] (*_t): Allow.
70195         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70196         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70197         (WRDE_BADVAL): Expect.
70199         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70200         expect.
70201         [XPG3 || XPG4] (O_RSYNC): Likewise.
70202         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70203         Likewise.
70204         [XPG3 || XPG4] (pthread_sigmask): Likewise.
70205         [XPG3 || XPG4] (sigqueue): Likewise.
70206         [XPG3 || XPG4] (sigtimedwait): Likewise.
70207         [XPG3 || XPG4] (sigwaitinfo): Likewise.
70208         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70209         [XPG3 || XPG4] (vsnprintf): Likewise.
70210         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70211         Likewise.
70212         [XPG3 || XPG4] (blksize_t): Likewise.
70213         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70214         Likewise.
70215         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70216         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70217         [XPG3 || XPG4] (struct itimerspec): Likewise.
70218         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70219         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70220         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70221         [XPG3 || XPG4] (clockid_t): Likewise.
70222         [XPG3 || XPG4] (timer_t): Likewise.
70223         [XPG3 || XPG4] (clock_getres): Likewise.
70224         [XPG3 || XPG4] (clock_gettime): Likewise.
70225         [XPG3 || XPG4] (clock_settime): Likewise.
70226         [XPG3 || XPG4] (nanosleep): Likewise.
70227         [XPG3 || XPG4] (timer_create): Likewise.
70228         [XPG3 || XPG4] (timer_delete): Likewise.
70229         [XPG3 || XPG4] (timer_gettime): Likewise.
70230         [XPG3 || XPG4] (timer_getoverrun): Likewise.
70231         [XPG3 || XPG4] (timer_settime): Likewise.
70232         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
70233         [XPG3 || XPG4] (getlogin_r): Likewise.
70234         [XPG3 || XPG4] (pread): Likewise.
70235         [XPG3 || XPG4] (pthread_atfork): Likewise.
70236         [XPG3 || XPG4] (pwrite): Likewise.
70238         [BZ #14835]
70239         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
70240         <bits/siginfo.h>.
70242 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70244         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
70245         finalizing MALLSTREAM.
70247         * sysdeps/mach/hurd/syncfs.c: New file.
70249 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70251         [BZ #14719]
70252         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
70253         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
70254         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
70255         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
70256         (_nss_dns_gethostbyname4_r): Likewise.
70257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
70258         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
70260 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
70262         [BZ #13763]
70263         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
70265 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
70267         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
70268         * elf/cache.c (print_entry): Print ",AArch64" for
70269         FLAG_AARCH64_LIB64
70271         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
70272         * elf/cache.c (print_entry): Print ",hard-float" for
70273         FLAG_ARM_LIBHF.
70275 2012-11-18  David S. Miller  <davem@davemloft.net>
70277         With help from Joseph Myers.
70278         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
70279         cutoff to 2**-13.
70280         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
70281         cutoff to 2**-25.
70282         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
70283         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
70284         small.
70285         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
70286         * math/libm-test.inc (y0_test): New tests.
70287         (y1_test): New tests.
70288         * sysdeps/i386/fpu/libm-test-ulps: Update.
70289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70292 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
70294         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
70295         64-bit targets.
70296         * configure: Regenerated.
70298 2012-11-17  David S. Miller  <davem@davemloft.net>
70300         [BZ #14811]
70301         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
70302         nonzero exponents with absolute value below 0x1p-128 to +/-
70303         0x1p-128.
70305 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
70307         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
70309         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
70311         * posix/getconf-speclist.c: New file.
70312         * posix/posix-envs.def: Likewise.
70313         * posix/confstr.c (START_ENV_GROUP): New macro.
70314         (END_ENV_GROUP): Likewise.
70315         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70316         (KNOWN_PRESENT_ENV_STRING): Likewise.
70317         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70318         (UNKNOWN_ENVIRONMENT): Likewise.
70319         (confstr): Include posix-envs.def instead of handling
70320         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
70321         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
70322         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
70323         (END_ENV_GROUP): Likewise.
70324         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70325         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70326         (UNKNOWN_ENVIRONMENT): Likewise.
70327         (__sysconf): Include posix-envs.def instead of handling associated
70328         cases directly here.
70329         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
70330         preprocessing getconf-speclist.c rather than running getconf or
70331         generating empty file.
70333 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
70335         * scripts/check-local-headers.sh: Ignore 'mach' headers.
70337 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
70339         [BZ #14672]
70340         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
70342 2012-11-16  David S. Miller  <davem@davemloft.net>
70344         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
70345         smaller than LDBL_EPSILON/2.0L, just return xm1.
70347 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
70349         * elf/tst-array1.c (init): Set constructor priority to 1000.
70350         (fini): Set destructor priority to 1000.
70351         * elf/tst-array2dep.c: Likewise.
70353 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70355         [BZ #11741]
70356         * libio/fileops.c (_IO_new_file_write): Correctly return error.
70357         (_IO_new_file_xsputn): Also return EOF if none of the input
70358         data was written when overflow failed.
70359         * libio/iopadn.c (_IO_padn): Likewise.
70360         * libio/iowpadn.c (_IO_wpadn): Likewise.
70361         * stdio-common/tst-put-error.c: Add copyright notice.
70362         (do_test): Add case for printing padded string.
70363         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
70364         _IO_padn returned error.
70365         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
70366         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
70367         return EOF.
70369 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70371         * libio/libioP.h: Add comment note that the references to C++
70372         bits are now obsolete.
70374 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70376         * math/libm-test.inc (check_complex): Use asprintf.
70378 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
70380         * debug/pcprofiledump.c (print_version): Update copyright year.
70381         * malloc/memusagestat.c (print_version): Likewise.
70383 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
70385         [BZ #14831]
70386         * elf/Makefile (tests): Add tst-audit8.
70387         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
70388         ($(objpfx)tst-audit8.out): New target.
70389         (tst-audit8-ENV): New variable.
70390         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
70391         audit if l_reloc_result is NULL.
70392         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
70393         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
70394         * elf/tst-audit8.c: New file.
70396 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70398         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
70399         * misc/Makefile (CFLAGS-select.c): Define.
70400         * posix/Makefile (CFLAGS-pause.c): Define.
70402 2012-11-13  David S. Miller  <davem@davemloft.net>
70404         * crypt/Makefile: Move test targets after toplevel Rules
70405         inclusion.  Grab any necessary sysdep routines when linking.
70406         * crypt/md5.c (md5_process_block): Remove define, we will always
70407         name it __md5_process_block.
70408         (md5_finish_ctx): Update md5_process_block call.
70409         (md5_stream): Likewise.
70410         (md5_process_bytes): Likewise.
70411         (md5_process_block): Rename to __md5_process_block and move to ...
70412         * crypt/md5-block.c: ... here.
70413         * crypt/sha256.c (sha256_process_block): Move to ...
70414         * crypt/sha256-block.c: ... here.
70415         * crypt/sha512.c (sha512_process_block): Move to ...
70416         * crypt/sha512-block.c: ... here.
70417         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
70418         path.
70419         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
70420         * sysdeps/sparc/sparc64/multiarch/Makefile
70421         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
70422         crypt subdir.
70423         (localedef-aux): Add md5 crypto assembler when in locale subdir.
70424         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
70425         multiarch changes.
70426         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
70427         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
70428         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
70429         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
70430         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
70431         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
70432         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
70433         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
70434         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
70435         file.
70436         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
70437         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
70438         file.
70439         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
70441 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
70443         * timezone/tzselect.ksh: Update from tzcode git revision
70444         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
70445         * timezone/zdump.c: Likewise.
70446         * timezone/zic.c: Likewise.
70447         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
70448         in TZVERSION setting, not $(PKGVERSION).
70449         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
70450         REPORT_BUGS_TO settings.
70452         [BZ #14838]
70453         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
70454         macro.
70456 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70458         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
70459         detection to immediately after _FP_ROUND().
70460         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
70461         bits are 0.
70463 2012-11-11  David S. Miller  <davem@davemloft.net>
70465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
70466         inttypes.h
70467         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
70468         __close rather than their public counterparts.
70470 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
70472         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
70473         file.
70474         [UNIX98] (sem_timedwait): Do not expect.
70475         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
70476         [XPG4 || UNIX98] (sockatmark): Do not expect.
70477         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
70478         (clock_getcpuclockid): Do not expect.
70479         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
70480         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
70481         Do not expect.
70482         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
70483         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
70484         [UNIX98] (vwscanf): Likewise.
70485         [UNIX98] (vswscanf): Likewise.
70487 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
70489         * timezone/version.h: Remove file.
70490         * timezone/README: Do not refer to version.h.
70491         * timezone/Makefile ($(objpfx)zic.o): New dependency on
70492         $(objpfx)version.h.
70493         ($(objpfx)zdump.o): Likewise.
70494         ($(objpfx)version.h): New target.
70496         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
70497         2012i.
70498         * timezone/README: Don't mention modification to tzselect.ksh.
70499         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
70500         work on unmodified tzselect.ksh.  Substitute version numbers in
70501         tzselect.ksh.
70503         * Makefile (format-me): Remove.
70504         (INSTALL): Adjust indentation.  Use commands directly instead of
70505         using $(format-me).
70507         * aclocal.m4 (ACX_PKGVERSION): New macro.
70508         (ACX_BUGURL): Likewise.
70509         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
70510         (PKGVERSION): New AC_DEFINE_UNQUOTED.
70511         (REPORT_BUGS_TO): Likewise.
70512         * configure: Regenerated.
70513         * config.h.in (PKGVERSION): New macro.
70514         (REPORT_BUGS_TO): Likewise.
70515         * config.make.in (PKGVERSION): New variable.
70516         (PKGVERSION_TEXI): Likewise.
70517         (REPORT_BUGS_TO): Likewise.
70518         (REPORT_BUGS_TEXI): Likewise.
70519         * Makefile (format-me): Use -I$(common-objpfx)manual.
70520         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
70521         ($(common-objpfx)manual/%): New target.
70522         (manual/%): Remove target.
70523         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
70524         (print_version): Use PKGVERSION.
70525         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
70526         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
70527         and REPORT_BUGS_TO.
70528         ($(objpfx)xtrace): Likewise.
70529         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
70530         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
70531         (print_version): Use PKGVERSION.
70532         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
70533         (do_version): Use PKGVERSION.
70534         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
70535         REPORT_BUGS_TO.
70536         (common-ldd-rewrite): Likewise.
70537         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
70538         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70539         (print_version): Use PKGVERSION.
70540         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
70541         * elf/pldd.c (argp_program_bug_address): Remove variable.
70542         (more_help): New function.
70543         (argp): Use more_help.
70544         (print_version): Use PKGVERSION.
70545         * elf/sln.c (main): Use PKGVERSION.
70546         (usage): Use REPORT_BUGS_TO.
70547         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
70548         (top level): Use PKGVERSION.
70549         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
70550         (print_version): Use PKGVERSION.
70551         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
70552         (print_version): Use PKGVERSION.
70553         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
70554         (print_version): Use PKGVERSION.
70555         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
70556         (print_version): Use PKGVERSION.
70557         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
70558         (print_version): Use PKGVERSION.
70559         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
70560         (print_version): Use PKGVERSION.
70561         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70562         and BUGURL.
70563         ($(objpfx)memusage): Likewise.
70564         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70565         (do_version): Use PKGVERSION.
70566         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70567         (print_version): Use PKGVERSION.
70568         * malloc/mtrace.pl ($PACKAGE): Remove variable.
70569         ($PKGVERSION): New variable.
70570         ($REPORT_BUGS_TO): Likewise.
70571         (usage): Use $REPORT_BUGS_TO.
70572         (top level): Use $PKGVERSION.
70573         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70574         ($(objpfx)pkgvers.texi): New rule.
70575         ($(objpfx)stamp-pkgvers): Likewise.
70576         * manual/install.texi: Include pkgvers.texi.
70577         (--with-pkgversion): Document new configure option.
70578         (--with-bugurl): Likewise.
70579         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70580         than necessarily for this particular distribution.  Use
70581         REPORT_BUGS_TO for where to report bugs.
70582         * INSTALL: Regenerated.
70583         * manual/libc.texinfo: Include pkgvers.texi.
70584         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70585         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70586         (print_version): Use PKGVERSION.
70587         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70588         (print_version): Use PKGVERSION.
70589         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70590         (print_version): Use PKGVERSION.
70591         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70592         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70593         macro.
70594         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70595         (print_version): Use PKGVERSION.
70596         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70597         (print_version): Use PKGVERSION.
70598         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70599         and PKGVERSION.
70601         * timezone/checktab.awk: Update from tzcode 2012i.
70602         * timezone/ialloc.c: Likewise.
70603         * timezone/private.h: Likewise.
70604         * timezone/scheck.c: Likewise.
70605         * timezone/tzfile.h: Likewise.
70606         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70607         (TZVERSION): Hardcode tzcode version number.
70608         * timezone/zdump.c: Update from tzcode 2012i.
70609         * timezone/zic.c: Likewise.
70610         * timezone/version.h: New file.
70611         * timezone/README: Describe version.h.  Update upstream location.
70613         [BZ #14824]
70614         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70615         (mktemp): Enable declaration.
70616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70618         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
70620         Likewise.
70621         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
70622         Likewise.
70623         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
70624         Likewise.
70625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
70626         Likewise.
70627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
70628         Likewise.
70629         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
70630         Likewise.
70632         [BZ #14821]
70633         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
70634         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
70635         for copies of such integer values.
70636         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70637         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70639 2012-11-09  Andreas Jaeger  <aj@suse.de>
70641         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
70642         definitions and declarations that are provided by
70643         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70645 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70647         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
70648         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
70649         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
70650         definition.
70652 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70654         * elf/elf.h: Update comment before AArch64 relocations.
70656 2012-11-07  David S. Miller  <davem@davemloft.net>
70658         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
70659         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70660         (__start_context): Declare.
70661         (__makecontext_ret): Delete.
70662         (__makecontext): Hook up __start_context instead of
70663         __makecontext_ret.
70664         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
70665         (sysdep_routines): Add __start_context when in stdlib.
70667 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70669         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
70670         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
70671         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
70672         hardcoded "nm".
70673         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
70674         (READELF): New variable.  Use it instead of hardcoded "readelf".
70676 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70678         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
70679         * sysdeps/x86/Makefile: Here.
70680         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
70681         * sysdeps/x86/tst-xmmymm.sh: This.
70683 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70685         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
70686         expectations.
70687         [UNIX98] (pthread_barrier_t): Do not expect.
70688         [UNIX98] (pthread_barrierattr_t): Likewise.
70689         [UNIX98] (pthread_spinlock_t): Likewise.
70690         [UNIX98] (pthread_barrier_destroy): Likewise.
70691         [UNIX98] (pthread_barrier_init): Likewise.
70692         [UNIX98] (pthread_barrier_wait): Likewise.
70693         [UNIX98] (pthread_barrierattr_destroy): Likewise.
70694         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
70695         [UNIX98] (pthread_barrierattr_init): Likewise.
70696         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
70697         [UNIX98] (pthread_getcpuclockid): Likewise.
70698         [UNIX98] (pthread_mutex_timedlock): Likewise.
70699         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
70700         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
70701         [UNIX98] (pthread_sigmask): Likewise.
70702         [UNIX98] (pthread_spin_destroy): Likewise.
70703         [UNIX98] (pthread_spin_init): Likewise.
70704         [UNIX98] (pthread_spin_lock): Likewise.
70705         [UNIX98] (pthread_spin_trylock): Likewise.
70706         [UNIX98] (pthread_spin_unlock): Likewise.
70707         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
70708         Do not expect.
70709         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
70710         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
70711         [XPG3 || XPG4] (pthread_cond_t): Likewise.
70712         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
70713         [XPG3 || XPG4] (pthread_key_t): Likewise.
70714         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
70715         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
70716         [XPG3 || XPG4] (pthread_once_t): Likewise.
70717         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
70718         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
70719         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
70720         [XPG3 || XPG4] (pthread_t): Likewise.
70722         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
70723         not expect.
70724         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
70726         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
70727         Change function return type to int.
70729         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
70730         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
70731         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
70732         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
70733         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
70734         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
70735         [!POSIX] (posix_madvise): Likewise.
70736         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
70737         && !UNIX98].
70738         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
70739         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
70740         (mode_t): Likewise.
70741         (posix_mem_offset): Likewise.
70742         (posix_typed_mem_get_info): Likewise.
70743         (posix_typed_mem_open): Likewise.
70745         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
70746         Change condition to [XOPEN2K8].
70748         * conform/conformtest.pl: Preprocess allow-header data with -x c
70749         instead of from stdin.
70750         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
70751         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70752         [C99-based standards] (cerfc): Likewise.
70753         [C99-based standards] (cexp2): Likewise.
70754         [C99-based standards] (cexpm1): Likewise.
70755         [C99-based standards] (clog10): Likewise.
70756         [C99-based standards] (clog1p): Likewise.
70757         [C99-based standards] (clog2): Likewise.
70758         [C99-based standards] (clgamma): Likewise.
70759         [C99-based standards] (ctgamma): Likewise.
70760         [C99-based standards] (cerff): Likewise.
70761         [C99-based standards] (cerfcf): Likewise.
70762         [C99-based standards] (cexp2f): Likewise.
70763         [C99-based standards] (cexpm1f): Likewise.
70764         [C99-based standards] (clog10f): Likewise.
70765         [C99-based standards] (clog1pf): Likewise.
70766         [C99-based standards] (clog2f): Likewise.
70767         [C99-based standards] (clgammaf): Likewise.
70768         [C99-based standards] (ctgammaf): Likewise.
70769         [C99-based standards] (cerfl): Likewise.
70770         [C99-based standards] (cerfcl): Likewise.
70771         [C99-based standards] (cexp2l): Likewise.
70772         [C99-based standards] (cexpm1l): Likewise.
70773         [C99-based standards] (clog10l): Likewise.
70774         [C99-based standards] (clog1pl): Likewise.
70775         [C99-based standards] (clog2l): Likewise.
70776         [C99-based standards] (clgammal): Likewise.
70777         [C99-based standards] (ctgammal): Likewise.
70778         * conform/data/inttypes.h-data [C99-based standards]: Include
70779         stdint.h-data.  Remove all expectations for stdint.h contents.
70780         [C99-based standards] (PRI*): Do not allow.
70781         [C99-based standards] (SCN*): Likewise.
70782         [C99-based standards] (*_t): Likewise.
70783         [C99-based-standards] (PRId8): Expect macro.
70784         [C99-based-standards] (PRIi8): Likewise.
70785         [C99-based-standards] (PRIo8): Likewise.
70786         [C99-based-standards] (PRIu8): Likewise.
70787         [C99-based-standards] (PRIx8): Likewise.
70788         [C99-based-standards] (PRIX8): Likewise.
70789         [C99-based-standards] (SCNd8): Likewise.
70790         [C99-based-standards] (SCNi8): Likewise.
70791         [C99-based-standards] (SCNo8): Likewise.
70792         [C99-based-standards] (SCNu8): Likewise.
70793         [C99-based-standards] (SCNx8): Likewise.
70794         [C99-based-standards] (PRIdLEAST8): Likewise.
70795         [C99-based-standards] (PRIiLEAST8): Likewise.
70796         [C99-based-standards] (PRIoLEAST8): Likewise.
70797         [C99-based-standards] (PRIuLEAST8): Likewise.
70798         [C99-based-standards] (PRIxLEAST8): Likewise.
70799         [C99-based-standards] (PRIXLEAST8): Likewise.
70800         [C99-based-standards] (SCNdLEAST8): Likewise.
70801         [C99-based-standards] (SCNiLEAST8): Likewise.
70802         [C99-based-standards] (SCNoLEAST8): Likewise.
70803         [C99-based-standards] (SCNuLEAST8): Likewise.
70804         [C99-based-standards] (SCNxLEAST8): Likewise.
70805         [C99-based-standards] (PRIdFAST8): Likewise.
70806         [C99-based-standards] (PRIiFAST8): Likewise.
70807         [C99-based-standards] (PRIoFAST8): Likewise.
70808         [C99-based-standards] (PRIuFAST8): Likewise.
70809         [C99-based-standards] (PRIxFAST8): Likewise.
70810         [C99-based-standards] (PRIXFAST8): Likewise.
70811         [C99-based-standards] (SCNdFAST8): Likewise.
70812         [C99-based-standards] (SCNiFAST8): Likewise.
70813         [C99-based-standards] (SCNoFAST8): Likewise.
70814         [C99-based-standards] (SCNuFAST8): Likewise.
70815         [C99-based-standards] (SCNxFAST8): Likewise.
70816         [C99-based-standards] (PRId16): Likewise.
70817         [C99-based-standards] (PRIi16): Likewise.
70818         [C99-based-standards] (PRIo16): Likewise.
70819         [C99-based-standards] (PRIu16): Likewise.
70820         [C99-based-standards] (PRIx16): Likewise.
70821         [C99-based-standards] (PRIX16): Likewise.
70822         [C99-based-standards] (SCNd16): Likewise.
70823         [C99-based-standards] (SCNi16): Likewise.
70824         [C99-based-standards] (SCNo16): Likewise.
70825         [C99-based-standards] (SCNu16): Likewise.
70826         [C99-based-standards] (SCNx16): Likewise.
70827         [C99-based-standards] (PRIdLEAST16): Likewise.
70828         [C99-based-standards] (PRIiLEAST16): Likewise.
70829         [C99-based-standards] (PRIoLEAST16): Likewise.
70830         [C99-based-standards] (PRIuLEAST16): Likewise.
70831         [C99-based-standards] (PRIxLEAST16): Likewise.
70832         [C99-based-standards] (PRIXLEAST16): Likewise.
70833         [C99-based-standards] (SCNdLEAST16): Likewise.
70834         [C99-based-standards] (SCNiLEAST16): Likewise.
70835         [C99-based-standards] (SCNoLEAST16): Likewise.
70836         [C99-based-standards] (SCNuLEAST16): Likewise.
70837         [C99-based-standards] (SCNxLEAST16): Likewise.
70838         [C99-based-standards] (PRIdFAST16): Likewise.
70839         [C99-based-standards] (PRIiFAST16): Likewise.
70840         [C99-based-standards] (PRIoFAST16): Likewise.
70841         [C99-based-standards] (PRIuFAST16): Likewise.
70842         [C99-based-standards] (PRIxFAST16): Likewise.
70843         [C99-based-standards] (PRIXFAST16): Likewise.
70844         [C99-based-standards] (SCNdFAST16): Likewise.
70845         [C99-based-standards] (SCNiFAST16): Likewise.
70846         [C99-based-standards] (SCNoFAST16): Likewise.
70847         [C99-based-standards] (SCNuFAST16): Likewise.
70848         [C99-based-standards] (SCNxFAST16): Likewise.
70849         [C99-based-standards] (PRId32): Likewise.
70850         [C99-based-standards] (PRIi32): Likewise.
70851         [C99-based-standards] (PRIo32): Likewise.
70852         [C99-based-standards] (PRIu32): Likewise.
70853         [C99-based-standards] (PRIx32): Likewise.
70854         [C99-based-standards] (PRIX32): Likewise.
70855         [C99-based-standards] (SCNd32): Likewise.
70856         [C99-based-standards] (SCNi32): Likewise.
70857         [C99-based-standards] (SCNo32): Likewise.
70858         [C99-based-standards] (SCNu32): Likewise.
70859         [C99-based-standards] (SCNx32): Likewise.
70860         [C99-based-standards] (PRIdLEAST32): Likewise.
70861         [C99-based-standards] (PRIiLEAST32): Likewise.
70862         [C99-based-standards] (PRIoLEAST32): Likewise.
70863         [C99-based-standards] (PRIuLEAST32): Likewise.
70864         [C99-based-standards] (PRIxLEAST32): Likewise.
70865         [C99-based-standards] (PRIXLEAST32): Likewise.
70866         [C99-based-standards] (SCNdLEAST32): Likewise.
70867         [C99-based-standards] (SCNiLEAST32): Likewise.
70868         [C99-based-standards] (SCNoLEAST32): Likewise.
70869         [C99-based-standards] (SCNuLEAST32): Likewise.
70870         [C99-based-standards] (SCNxLEAST32): Likewise.
70871         [C99-based-standards] (PRIdFAST32): Likewise.
70872         [C99-based-standards] (PRIiFAST32): Likewise.
70873         [C99-based-standards] (PRIoFAST32): Likewise.
70874         [C99-based-standards] (PRIuFAST32): Likewise.
70875         [C99-based-standards] (PRIxFAST32): Likewise.
70876         [C99-based-standards] (PRIXFAST32): Likewise.
70877         [C99-based-standards] (SCNdFAST32): Likewise.
70878         [C99-based-standards] (SCNiFAST32): Likewise.
70879         [C99-based-standards] (SCNoFAST32): Likewise.
70880         [C99-based-standards] (SCNuFAST32): Likewise.
70881         [C99-based-standards] (SCNxFAST32): Likewise.
70882         [C99-based-standards] (PRId64): Likewise.
70883         [C99-based-standards] (PRIi64): Likewise.
70884         [C99-based-standards] (PRIo64): Likewise.
70885         [C99-based-standards] (PRIu64): Likewise.
70886         [C99-based-standards] (PRIx64): Likewise.
70887         [C99-based-standards] (PRIX64): Likewise.
70888         [C99-based-standards] (SCNd64): Likewise.
70889         [C99-based-standards] (SCNi64): Likewise.
70890         [C99-based-standards] (SCNo64): Likewise.
70891         [C99-based-standards] (SCNu64): Likewise.
70892         [C99-based-standards] (SCNx64): Likewise.
70893         [C99-based-standards] (PRIdLEAST64): Likewise.
70894         [C99-based-standards] (PRIiLEAST64): Likewise.
70895         [C99-based-standards] (PRIoLEAST64): Likewise.
70896         [C99-based-standards] (PRIuLEAST64): Likewise.
70897         [C99-based-standards] (PRIxLEAST64): Likewise.
70898         [C99-based-standards] (PRIXLEAST64): Likewise.
70899         [C99-based-standards] (SCNdLEAST64): Likewise.
70900         [C99-based-standards] (SCNiLEAST64): Likewise.
70901         [C99-based-standards] (SCNoLEAST64): Likewise.
70902         [C99-based-standards] (SCNuLEAST64): Likewise.
70903         [C99-based-standards] (SCNxLEAST64): Likewise.
70904         [C99-based-standards] (PRIdFAST64): Likewise.
70905         [C99-based-standards] (PRIiFAST64): Likewise.
70906         [C99-based-standards] (PRIoFAST64): Likewise.
70907         [C99-based-standards] (PRIuFAST64): Likewise.
70908         [C99-based-standards] (PRIxFAST64): Likewise.
70909         [C99-based-standards] (PRIXFAST64): Likewise.
70910         [C99-based-standards] (SCNdFAST64): Likewise.
70911         [C99-based-standards] (SCNiFAST64): Likewise.
70912         [C99-based-standards] (SCNoFAST64): Likewise.
70913         [C99-based-standards] (SCNuFAST64): Likewise.
70914         [C99-based-standards] (SCNxFAST64): Likewise.
70915         [C99-based-standards] (PRIdMAX): Likewise.
70916         [C99-based-standards] (PRIiMAX): Likewise.
70917         [C99-based-standards] (PRIoMAX): Likewise.
70918         [C99-based-standards] (PRIuMAX): Likewise.
70919         [C99-based-standards] (PRIxMAX): Likewise.
70920         [C99-based-standards] (PRIXMAX): Likewise.
70921         [C99-based-standards] (SCNdMAX): Likewise.
70922         [C99-based-standards] (SCNiMAX): Likewise.
70923         [C99-based-standards] (SCNoMAX): Likewise.
70924         [C99-based-standards] (SCNuMAX): Likewise.
70925         [C99-based-standards] (SCNxMAX): Likewise.
70926         [C99-based-standards] (PRIdPTR): Likewise.
70927         [C99-based-standards] (PRIiPTR): Likewise.
70928         [C99-based-standards] (PRIoPTR): Likewise.
70929         [C99-based-standards] (PRIuPTR): Likewise.
70930         [C99-based-standards] (PRIxPTR): Likewise.
70931         [C99-based-standards] (PRIXPTR): Likewise.
70932         [C99-based-standards] (SCNdPTR): Likewise.
70933         [C99-based-standards] (SCNiPTR): Likewise.
70934         [C99-based-standards] (SCNoPTR): Likewise.
70935         [C99-based-standards] (SCNuPTR): Likewise.
70936         [C99-based-standards] (SCNxPTR): Likewise.
70937         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
70938         allow.
70939         * conform/data/stdint.h-data: Update comments to clarify
70940         requirements.
70941         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
70942         type.
70943         [C99-based standards] (INT8_MAX): Likewise.
70944         [C99-based standards] (INT16_MIN): Likewise.
70945         [C99-based standards] (INT16_MAX): Likewise.
70946         [C99-based standards] (INT32_MIN): Likewise.
70947         [C99-based standards] (INT32_MAX): Likewise.
70948         [C99-based standards] (INT64_MIN): Likewise.
70949         [C99-based standards] (INT64_MAX): Likewise.
70950         [C99-based standards] (UINT8_MAX): Likewise.
70951         [C99-based standards] (UINT16_MAX): Likewise.
70952         [C99-based standards] (UINT32_MAX): Likewise.
70953         [C99-based standards] (UINT64_MAX): Likewise.
70954         [C99-based standards] (INT_LEAST8_MIN): Likewise.
70955         [C99-based standards] (INT_LEAST8_MAX): Likewise.
70956         [C99-based standards] (INT_LEAST16_MIN): Likewise.
70957         [C99-based standards] (INT_LEAST16_MAX): Likewise.
70958         [C99-based standards] (INT_LEAST32_MIN): Likewise.
70959         [C99-based standards] (INT_LEAST32_MAX): Likewise.
70960         [C99-based standards] (INT_LEAST64_MIN): Likewise.
70961         [C99-based standards] (INT_LEAST64_MAX): Likewise.
70962         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
70963         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
70964         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
70965         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
70966         [C99-based standards] (INT_FAST8_MIN): Likewise.
70967         [C99-based standards] (INT_FAST8_MAX): Likewise.
70968         [C99-based standards] (INT_FAST16_MIN): Likewise.
70969         [C99-based standards] (INT_FAST16_MAX): Likewise.
70970         [C99-based standards] (INT_FAST32_MIN): Likewise.
70971         [C99-based standards] (INT_FAST32_MAX): Likewise.
70972         [C99-based standards] (INT_FAST64_MIN): Likewise.
70973         [C99-based standards] (INT_FAST64_MAX): Likewise.
70974         [C99-based standards] (UINT_FAST8_MAX): Likewise.
70975         [C99-based standards] (UINT_FAST16_MAX): Likewise.
70976         [C99-based standards] (UINT_FAST32_MAX): Likewise.
70977         [C99-based standards] (UINT_FAST64_MAX): Likewise.
70978         [C99-based standards] (INTPTR_MIN): Likewise.
70979         [C99-based standards] (INTPTR_MAX): Likewise.
70980         [C99-based standards] (UINTPTR_MAX): Likewise.
70981         [C99-based standards] (INTMAX_MIN): Likewise.
70982         [C99-based standards] (INTMAX_MAX): Likewise.
70983         [C99-based standards] (UINTMAX_MAX): Likewise.
70984         [C99-based standards] (PTRDIFF_MIN): Likewise.
70985         [C99-based standards] (PTRDIFF_MAX): Likewise.
70986         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
70987         [C99-based standards] (SIZE_MAX): Likewise.
70988         [C99-based standards] (WCHAR_MAX): Likewise.
70989         [C99-based standards] (WINT_MAX): Likewise.
70990         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
70991         constraint on value.
70992         [C99-based standards] (WCHAR_MIN): Likewise.
70993         [C99-based standards] (WINT_MIN): Likewise.
70994         [C99-based standards] (*_t): Allow.
70995         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
70996         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
70997         Include math.h-data and complex.h-data.  Remove all expectations
70998         of math.h and complex.h contents.
70999         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71000         at end of line.
71001         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71002         (struct tm): Expect tag.
71003         [C99-based-standards] (wcstof): Expect function.
71004         [C99-based-standards] (wcstold): Likewise.
71005         [C99-based-standards] (wcstoll): Likewise.
71006         [C99-based-standards] (wcstoull): Likewise.
71007         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71008         macro-int-constant.  Specify type.
71009         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71010         constraint on value.
71011         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71012         Specify type.
71013         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71014         Specify value.
71015         [ISO C standards]: Do not allow headers.
71016         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71017         wcs[abcdefghijklmnopqrstuvwxyz]*.
71018         [ISO C standards] (*_t): Do not allow.
71019         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71020         Expect function.
71021         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71022         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71023         Specify type.
71024         [ISO C standards]: Do not allow headers.
71025         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71026         is[abcdefghijklmnopqrstuvwxyz]*.
71027         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71028         to[abcdefghijklmnopqrstuvwxyz]*.
71029         [ISO C standards] (*_t): Do not allow.
71030         * conform/data/stdalign.h-data: New file.
71031         * conform/data/stdbool.h-data: Likewise.
71032         * conform/data/stdnoreturn.h-data: Likewise.
71034 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71036         [BZ #14815]
71037         * manual/filesys.texi (Directory Entries): Typo fix.
71038         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71040 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71042         * elf/elf.h (EM_AARCH64): New macro.
71043         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71044         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71045         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71046         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71047         (R_AARCH64_TLSDESC): Likewise.
71048         (NT_ARM_TLS): Likewise.
71049         (NT_ARM_HW_BREAK): Likewise.
71050         (NT_ARM_HW_WATCH): Likewise.
71052 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71054         [BZ #14811]
71055         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71056         (__ieee754_powl): Saturate nonzero exponents with absolute value
71057         below 0x1p-79 to +/- 0x1p-79.
71058         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71059         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71060         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71061         nonzero exponents with absolute value below 0x1p-32 to +/-
71062         0x1p-32.
71063         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71064         (__ieee754_powl): Saturate nonzero exponents with absolute value
71065         below 0x1p-79 to +/- 0x1p-79.
71066         * math/libm-test.inc (pow_test): Add more tests.
71068 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71070         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71071         _dl_s390_cap_flags with kernel. Increase string length.
71072         (_dl_s390_platforms): Add z196 and zEC12.
71074 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71076         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71077         Change XOPEN21K to XOPEN2K.
71079 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71081         * string/memmove.c: Use memcpy when possible.
71083 2012-11-06  Andreas Jaeger  <aj@suse.de>
71085         * po/eo.po: Update from translation team.
71087 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71089         [BZ #14793]
71090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71091         exponent and small x and y exponents, scale x or y up.  Increase
71092         by 2 the exponent used in scaling up.
71093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71095         * math/libm-test.inc (fma_test): Add more tests.
71096         (fma_test_towardzero): Likewise.
71097         (fma_test_downward): Likewise.
71098         (fma_test_upward): Likewise.
71100 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71102         [BZ #14805]
71103         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71104         fenv_t *.
71106         [BZ #14801]
71107         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71108         namespace for names of struct fields.
71109         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71110         fenv_t fields.
71111         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71112         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71114 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71116         [BZ #3665]
71117         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71119 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71121         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71122         PTR_DEMANGLE.
71124         [BZ #5246]
71125         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71126         PTR_DEMANGLE.
71128 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
71130         [BZ #14797]
71131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71132         definitely overflow as x * y not x * y + z.
71133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71135         * math/libm-test.inc (fma_test): Add more tests.
71136         (fma_test_towardzero): Likewise.
71137         (fma_test_downward): Likewise.
71138         (fma_test_upward): Likewise.
71140 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71142         [BZ #157]
71144         * include/stub-tag.h: Remove file.
71145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71146         '#include' of it.
71147         * manual/maint.texi (Porting): Don't reference it.
71148         * Makerules ($(objpfx)stubs): Likewise.
71149         * dirent/closedir.c: Don't include <stub-tag.h>.
71150         * dirent/dirfd.c: Likewise.
71151         * dirent/fdopendir.c: Likewise.
71152         * dirent/getdents.c: Likewise.
71153         * dirent/getdents64.c: Likewise.
71154         * dirent/opendir.c: Likewise.
71155         * dirent/readdir.c: Likewise.
71156         * dirent/readdir64.c: Likewise.
71157         * dirent/readdir64_r.c: Likewise.
71158         * dirent/readdir_r.c: Likewise.
71159         * dirent/rewinddir.c: Likewise.
71160         * dirent/seekdir.c: Likewise.
71161         * dirent/telldir.c: Likewise.
71162         * gmon/profil.c: Likewise.
71163         * grp/setgroups.c: Likewise.
71164         * inet/if_index.c: Likewise.
71165         * io/access.c: Likewise.
71166         * io/chdir.c: Likewise.
71167         * io/chmod.c: Likewise.
71168         * io/chown.c: Likewise.
71169         * io/close.c: Likewise.
71170         * io/dup.c: Likewise.
71171         * io/dup2.c: Likewise.
71172         * io/dup3.c: Likewise.
71173         * io/euidaccess.c: Likewise.
71174         * io/faccessat.c: Likewise.
71175         * io/fchdir.c: Likewise.
71176         * io/fchmod.c: Likewise.
71177         * io/fchmodat.c: Likewise.
71178         * io/fchown.c: Likewise.
71179         * io/fchownat.c: Likewise.
71180         * io/fcntl.c: Likewise.
71181         * io/flock.c: Likewise.
71182         * io/fstatfs.c: Likewise.
71183         * io/fstatfs64.c: Likewise.
71184         * io/fstatvfs.c: Likewise.
71185         * io/fstatvfs64.c: Likewise.
71186         * io/futimens.c: Likewise.
71187         * io/fxstat.c: Likewise.
71188         * io/fxstat64.c: Likewise.
71189         * io/fxstatat.c: Likewise.
71190         * io/fxstatat64.c: Likewise.
71191         * io/getcwd.c: Likewise.
71192         * io/isatty.c: Likewise.
71193         * io/lchmod.c: Likewise.
71194         * io/lchown.c: Likewise.
71195         * io/link.c: Likewise.
71196         * io/linkat.c: Likewise.
71197         * io/lseek.c: Likewise.
71198         * io/lseek64.c: Likewise.
71199         * io/lxstat64.c: Likewise.
71200         * io/mkdir.c: Likewise.
71201         * io/mkdirat.c: Likewise.
71202         * io/mkfifo.c: Likewise.
71203         * io/mkfifoat.c: Likewise.
71204         * io/open.c: Likewise.
71205         * io/open64.c: Likewise.
71206         * io/openat.c: Likewise.
71207         * io/openat64.c: Likewise.
71208         * io/pipe.c: Likewise.
71209         * io/pipe2.c: Likewise.
71210         * io/poll.c: Likewise.
71211         * io/posix_fadvise.c: Likewise.
71212         * io/posix_fadvise64.c: Likewise.
71213         * io/posix_fallocate.c: Likewise.
71214         * io/posix_fallocate64.c: Likewise.
71215         * io/read.c: Likewise.
71216         * io/readlink.c: Likewise.
71217         * io/readlinkat.c: Likewise.
71218         * io/rmdir.c: Likewise.
71219         * io/sendfile.c: Likewise.
71220         * io/sendfile64.c: Likewise.
71221         * io/statfs.c: Likewise.
71222         * io/statfs64.c: Likewise.
71223         * io/statvfs.c: Likewise.
71224         * io/statvfs64.c: Likewise.
71225         * io/symlink.c: Likewise.
71226         * io/symlinkat.c: Likewise.
71227         * io/ttyname.c: Likewise.
71228         * io/ttyname_r.c: Likewise.
71229         * io/umask.c: Likewise.
71230         * io/unlink.c: Likewise.
71231         * io/unlinkat.c: Likewise.
71232         * io/utime.c: Likewise.
71233         * io/utimensat.c: Likewise.
71234         * io/write.c: Likewise.
71235         * io/xmknod.c: Likewise.
71236         * io/xmknodat.c: Likewise.
71237         * io/xstat.c: Likewise.
71238         * io/xstat64.c: Likewise.
71239         * login/getpt.c: Likewise.
71240         * login/grantpt.c: Likewise.
71241         * login/unlockpt.c: Likewise.
71242         * math/e_acoshl.c: Likewise.
71243         * math/e_acosl.c: Likewise.
71244         * math/e_asinl.c: Likewise.
71245         * math/e_atan2l.c: Likewise.
71246         * math/e_atanhl.c: Likewise.
71247         * math/e_coshl.c: Likewise.
71248         * math/e_expl.c: Likewise.
71249         * math/e_fmodl.c: Likewise.
71250         * math/e_gammal_r.c: Likewise.
71251         * math/e_hypotl.c: Likewise.
71252         * math/e_j0l.c: Likewise.
71253         * math/e_j1l.c: Likewise.
71254         * math/e_jnl.c: Likewise.
71255         * math/e_lgammal_r.c: Likewise.
71256         * math/e_log10l.c: Likewise.
71257         * math/e_log2l.c: Likewise.
71258         * math/e_logl.c: Likewise.
71259         * math/e_powl.c: Likewise.
71260         * math/e_rem_pio2l.c: Likewise.
71261         * math/e_sinhl.c: Likewise.
71262         * math/e_sqrtl.c: Likewise.
71263         * math/fclrexcpt.c: Likewise.
71264         * math/fedisblxcpt.c: Likewise.
71265         * math/feenablxcpt.c: Likewise.
71266         * math/fegetenv.c: Likewise.
71267         * math/fegetexcept.c: Likewise.
71268         * math/fegetround.c: Likewise.
71269         * math/feholdexcpt.c: Likewise.
71270         * math/fesetenv.c: Likewise.
71271         * math/fesetround.c: Likewise.
71272         * math/feupdateenv.c: Likewise.
71273         * math/fgetexcptflg.c: Likewise.
71274         * math/fraiseexcpt.c: Likewise.
71275         * math/fsetexcptflg.c: Likewise.
71276         * math/ftestexcept.c: Likewise.
71277         * math/k_cosl.c: Likewise.
71278         * math/k_rem_pio2l.c: Likewise.
71279         * math/k_sinl.c: Likewise.
71280         * math/k_tanl.c: Likewise.
71281         * math/s_asinhl.c: Likewise.
71282         * math/s_atanl.c: Likewise.
71283         * math/s_cbrtl.c: Likewise.
71284         * math/s_erfl.c: Likewise.
71285         * math/s_expm1l.c: Likewise.
71286         * math/s_log1pl.c: Likewise.
71287         * math/s_tanhl.c: Likewise.
71288         * misc/acct.c: Likewise.
71289         * misc/brk.c: Likewise.
71290         * misc/chflags.c: Likewise.
71291         * misc/chroot.c: Likewise.
71292         * misc/fchflags.c: Likewise.
71293         * misc/fgetxattr.c: Likewise.
71294         * misc/flistxattr.c: Likewise.
71295         * misc/fremovexattr.c: Likewise.
71296         * misc/fsetxattr.c: Likewise.
71297         * misc/fsync.c: Likewise.
71298         * misc/ftruncate.c: Likewise.
71299         * misc/futimes.c: Likewise.
71300         * misc/futimesat.c: Likewise.
71301         * misc/getdomain.c: Likewise.
71302         * misc/getdtsz.c: Likewise.
71303         * misc/gethostid.c: Likewise.
71304         * misc/gethostname.c: Likewise.
71305         * misc/getloadavg.c: Likewise.
71306         * misc/getpagesize.c: Likewise.
71307         * misc/getsysstats.c: Likewise.
71308         * misc/getxattr.c: Likewise.
71309         * misc/gtty.c: Likewise.
71310         * misc/ioctl.c: Likewise.
71311         * misc/lgetxattr.c: Likewise.
71312         * misc/listxattr.c: Likewise.
71313         * misc/llistxattr.c: Likewise.
71314         * misc/lremovexattr.c: Likewise.
71315         * misc/lsetxattr.c: Likewise.
71316         * misc/lutimes.c: Likewise.
71317         * misc/madvise.c: Likewise.
71318         * misc/mincore.c: Likewise.
71319         * misc/mlock.c: Likewise.
71320         * misc/mlockall.c: Likewise.
71321         * misc/mmap.c: Likewise.
71322         * misc/mprotect.c: Likewise.
71323         * misc/msync.c: Likewise.
71324         * misc/munlock.c: Likewise.
71325         * misc/munlockall.c: Likewise.
71326         * misc/munmap.c: Likewise.
71327         * misc/preadv.c: Likewise.
71328         * misc/preadv64.c: Likewise.
71329         * misc/ptrace.c: Likewise.
71330         * misc/pwritev.c: Likewise.
71331         * misc/pwritev64.c: Likewise.
71332         * misc/readv.c: Likewise.
71333         * misc/reboot.c: Likewise.
71334         * misc/remap_file_pages.c: Likewise.
71335         * misc/removexattr.c: Likewise.
71336         * misc/revoke.c: Likewise.
71337         * misc/select.c: Likewise.
71338         * misc/setdomain.c: Likewise.
71339         * misc/setegid.c: Likewise.
71340         * misc/seteuid.c: Likewise.
71341         * misc/sethostid.c: Likewise.
71342         * misc/sethostname.c: Likewise.
71343         * misc/setregid.c: Likewise.
71344         * misc/setreuid.c: Likewise.
71345         * misc/setxattr.c: Likewise.
71346         * misc/sstk.c: Likewise.
71347         * misc/stty.c: Likewise.
71348         * misc/swapoff.c: Likewise.
71349         * misc/swapon.c: Likewise.
71350         * misc/sync.c: Likewise.
71351         * misc/syncfs.c: Likewise.
71352         * misc/syscall.c: Likewise.
71353         * misc/truncate.c: Likewise.
71354         * misc/ualarm.c: Likewise.
71355         * misc/usleep.c: Likewise.
71356         * misc/ustat.c: Likewise.
71357         * misc/utimes.c: Likewise.
71358         * misc/vhangup.c: Likewise.
71359         * misc/writev.c: Likewise.
71360         * posix/_exit.c: Likewise.
71361         * posix/alarm.c: Likewise.
71362         * posix/execve.c: Likewise.
71363         * posix/fexecve.c: Likewise.
71364         * posix/fork.c: Likewise.
71365         * posix/fpathconf.c: Likewise.
71366         * posix/getaddrinfo.c: Likewise.
71367         * posix/getegid.c: Likewise.
71368         * posix/geteuid.c: Likewise.
71369         * posix/getgid.c: Likewise.
71370         * posix/getgroups.c: Likewise.
71371         * posix/getlogin.c: Likewise.
71372         * posix/getlogin_r.c: Likewise.
71373         * posix/getpgid.c: Likewise.
71374         * posix/getpid.c: Likewise.
71375         * posix/getppid.c: Likewise.
71376         * posix/getresgid.c: Likewise.
71377         * posix/getresuid.c: Likewise.
71378         * posix/getsid.c: Likewise.
71379         * posix/getuid.c: Likewise.
71380         * posix/glob64.c: Likewise.
71381         * posix/nanosleep.c: Likewise.
71382         * posix/pathconf.c: Likewise.
71383         * posix/pause.c: Likewise.
71384         * posix/posix_madvise.c: Likewise.
71385         * posix/pread.c: Likewise.
71386         * posix/pread64.c: Likewise.
71387         * posix/pwrite.c: Likewise.
71388         * posix/pwrite64.c: Likewise.
71389         * posix/sched_getaffinity.c: Likewise.
71390         * posix/sched_getp.c: Likewise.
71391         * posix/sched_gets.c: Likewise.
71392         * posix/sched_primax.c: Likewise.
71393         * posix/sched_primin.c: Likewise.
71394         * posix/sched_rr_gi.c: Likewise.
71395         * posix/sched_setaffinity.c: Likewise.
71396         * posix/sched_setp.c: Likewise.
71397         * posix/sched_sets.c: Likewise.
71398         * posix/sched_yield.c: Likewise.
71399         * posix/setgid.c: Likewise.
71400         * posix/setlogin.c: Likewise.
71401         * posix/setpgid.c: Likewise.
71402         * posix/setresgid.c: Likewise.
71403         * posix/setresuid.c: Likewise.
71404         * posix/setsid.c: Likewise.
71405         * posix/setuid.c: Likewise.
71406         * posix/sleep.c: Likewise.
71407         * posix/spawni.c: Likewise.
71408         * posix/sysconf.c: Likewise.
71409         * posix/times.c: Likewise.
71410         * posix/wait.c: Likewise.
71411         * posix/wait3.c: Likewise.
71412         * posix/wait4.c: Likewise.
71413         * posix/waitpid.c: Likewise.
71414         * resolv/gai_sigqueue.c: Likewise.
71415         * resource/getpriority.c: Likewise.
71416         * resource/getrlimit.c: Likewise.
71417         * resource/getrusage.c: Likewise.
71418         * resource/nice.c: Likewise.
71419         * resource/setpriority.c: Likewise.
71420         * resource/setrlimit.c: Likewise.
71421         * resource/ulimit.c: Likewise.
71422         * rt/aio_cancel.c: Likewise.
71423         * rt/aio_fsync.c: Likewise.
71424         * rt/aio_read.c: Likewise.
71425         * rt/aio_sigqueue.c: Likewise.
71426         * rt/aio_suspend.c: Likewise.
71427         * rt/aio_write.c: Likewise.
71428         * rt/clock_getres.c: Likewise.
71429         * rt/clock_gettime.c: Likewise.
71430         * rt/clock_nanosleep.c: Likewise.
71431         * rt/clock_settime.c: Likewise.
71432         * rt/lio_listio.c: Likewise.
71433         * rt/mq_close.c: Likewise.
71434         * rt/mq_getattr.c: Likewise.
71435         * rt/mq_notify.c: Likewise.
71436         * rt/mq_open.c: Likewise.
71437         * rt/mq_receive.c: Likewise.
71438         * rt/mq_send.c: Likewise.
71439         * rt/mq_setattr.c: Likewise.
71440         * rt/mq_timedreceive.c: Likewise.
71441         * rt/mq_timedsend.c: Likewise.
71442         * rt/mq_unlink.c: Likewise.
71443         * rt/shm_open.c: Likewise.
71444         * rt/shm_unlink.c: Likewise.
71445         * rt/timer_create.c: Likewise.
71446         * rt/timer_delete.c: Likewise.
71447         * rt/timer_getoverr.c: Likewise.
71448         * rt/timer_gettime.c: Likewise.
71449         * rt/timer_settime.c: Likewise.
71450         * setjmp/__longjmp.c: Likewise.
71451         * setjmp/setjmp.c: Likewise.
71452         * signal/kill.c: Likewise.
71453         * signal/killpg.c: Likewise.
71454         * signal/raise.c: Likewise.
71455         * signal/sigaction.c: Likewise.
71456         * signal/sigaltstack.c: Likewise.
71457         * signal/sigblock.c: Likewise.
71458         * signal/sigignore.c: Likewise.
71459         * signal/sigintr.c: Likewise.
71460         * signal/signal.c: Likewise.
71461         * signal/sigpause.c: Likewise.
71462         * signal/sigpending.c: Likewise.
71463         * signal/sigqueue.c: Likewise.
71464         * signal/sigreturn.c: Likewise.
71465         * signal/sigset.c: Likewise.
71466         * signal/sigsetmask.c: Likewise.
71467         * signal/sigstack.c: Likewise.
71468         * signal/sigsuspend.c: Likewise.
71469         * signal/sigtimedwait.c: Likewise.
71470         * signal/sigvec.c: Likewise.
71471         * signal/sigwait.c: Likewise.
71472         * signal/sigwaitinfo.c: Likewise.
71473         * signal/sysv_signal.c: Likewise.
71474         * socket/accept.c: Likewise.
71475         * socket/accept4.c: Likewise.
71476         * socket/bind.c: Likewise.
71477         * socket/connect.c: Likewise.
71478         * socket/getpeername.c: Likewise.
71479         * socket/getsockname.c: Likewise.
71480         * socket/getsockopt.c: Likewise.
71481         * socket/isfdtype.c: Likewise.
71482         * socket/listen.c: Likewise.
71483         * socket/recv.c: Likewise.
71484         * socket/recvfrom.c: Likewise.
71485         * socket/recvmsg.c: Likewise.
71486         * socket/send.c: Likewise.
71487         * socket/sendmsg.c: Likewise.
71488         * socket/sendto.c: Likewise.
71489         * socket/setsockopt.c: Likewise.
71490         * socket/shutdown.c: Likewise.
71491         * socket/sockatmark.c: Likewise.
71492         * socket/socket.c: Likewise.
71493         * socket/socketpair.c: Likewise.
71494         * stdio-common/ctermid.c: Likewise.
71495         * stdio-common/cuserid.c: Likewise.
71496         * stdio-common/remove.c: Likewise.
71497         * stdio-common/rename.c: Likewise.
71498         * stdio-common/renameat.c: Likewise.
71499         * stdio-common/tempname.c: Likewise.
71500         * stdlib/getcontext.c: Likewise.
71501         * stdlib/makecontext.c: Likewise.
71502         * stdlib/setcontext.c: Likewise.
71503         * stdlib/swapcontext.c: Likewise.
71504         * stdlib/system.c: Likewise.
71505         * streams/fattach.c: Likewise.
71506         * streams/fdetach.c: Likewise.
71507         * streams/getmsg.c: Likewise.
71508         * streams/getpmsg.c: Likewise.
71509         * streams/putmsg.c: Likewise.
71510         * streams/putpmsg.c: Likewise.
71511         * sysdeps/unix/bsd/getpt.c: Likewise.
71512         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
71513         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
71514         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
71515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71516         Likewise.
71517         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
71518         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71519         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
71520         * sysvipc/msgctl.c: Likewise.
71521         * sysvipc/msgget.c: Likewise.
71522         * sysvipc/msgrcv.c: Likewise.
71523         * sysvipc/msgsnd.c: Likewise.
71524         * sysvipc/semctl.c: Likewise.
71525         * sysvipc/semget.c: Likewise.
71526         * sysvipc/semop.c: Likewise.
71527         * sysvipc/semtimedop.c: Likewise.
71528         * sysvipc/shmat.c: Likewise.
71529         * sysvipc/shmctl.c: Likewise.
71530         * sysvipc/shmdt.c: Likewise.
71531         * sysvipc/shmget.c: Likewise.
71532         * termios/tcdrain.c: Likewise.
71533         * termios/tcflow.c: Likewise.
71534         * termios/tcflush.c: Likewise.
71535         * termios/tcgetattr.c: Likewise.
71536         * termios/tcgetpgrp.c: Likewise.
71537         * termios/tcsendbrk.c: Likewise.
71538         * termios/tcsetattr.c: Likewise.
71539         * termios/tcsetpgrp.c: Likewise.
71540         * time/adjtime.c: Likewise.
71541         * time/clock.c: Likewise.
71542         * time/getitimer.c: Likewise.
71543         * time/gettimeofday.c: Likewise.
71544         * time/setitimer.c: Likewise.
71545         * time/settimeofday.c: Likewise.
71546         * time/stime.c: Likewise.
71547         * time/time.c: Likewise.
71549 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
71551         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
71552         /usr/old/bin.
71554         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
71555         instead of spaces.
71556         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
71558 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
71560         [BZ #14796]
71561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71562         FE_TONEAREST before applying Dekker multiplication and Knuth
71563         addition.  Clear inexact exceptions and check for exact zero
71564         results afterwards.
71565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71566         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71568         * math/libm-test.inc (fma_test): Add more tests.
71569         (fma_test_towardzero): Likewise.
71570         (fma_test_downward): Likewise.
71571         (fma_test_upward): Likewise.
71572         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71573         function.
71574         (libc_fesetround): New macro.
71575         (libc_fesetroundf): Likewise.
71576         (libc_fesetroundl): Likewise.
71577         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71578         function.
71579         (libc_fesetround_387): Likewise.
71580         (libc_fesetroundf): New macro.
71581         (libc_fesetround): Likewise.
71582         (libc_fesetroundl): Likewise.
71583         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71584         function.
71585         (libc_fesetroundf): New macro.
71586         (libc_fesetround): Likewise.
71587         (libc_fesetroundl): Likewise.
71588         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71589         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71590         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71591         libm_hidden_ver.
71592         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71593         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71594         libm_hidden_def.
71595         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71596         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71597         libm_hidden_ver.
71598         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71599         libm_hidden_def.
71601         [BZ #3439]
71602         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71603         integer constant usable in #if and use that to give value to enum
71604         constant.
71605         (FE_DIVBYZERO): Likewise.
71606         (FE_UNDERFLOW): Likewise.
71607         (FE_OVERFLOW): Likewise.
71608         (FE_INVALID): Likewise.
71609         (FE_INVALID_SNAN): Likewise.
71610         (FE_INVALID_ISI): Likewise.
71611         (FE_INVALID_IDI): Likewise.
71612         (FE_INVALID_ZDZ): Likewise.
71613         (FE_INVALID_IMZ): Likewise.
71614         (FE_INVALID_COMPARE): Likewise.
71615         (FE_INVALID_SOFTWARE): Likewise.
71616         (FE_INVALID_SQRT): Likewise.
71617         (FE_INVALID_INTEGER_CONVERSION): Likewise.
71618         (FE_TONEAREST): Likewise.
71619         (FE_TOWARDZERO): Likewise.
71620         (FE_UPWARD): Likewise.
71621         (FE_DOWNWARD): Likewise.
71622         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
71623         (FE_DIVBYZERO): Likewise.
71624         (FE_OVERFLOW): Likewise.
71625         (FE_UNDERFLOW): Likewise.
71626         (FE_INEXACT): Likewise.
71627         (FE_TONEAREST): Likewise.
71628         (FE_DOWNWARD): Likewise.
71629         (FE_UPWARD): Likewise.
71630         (FE_TOWARDZERO): Likewise.
71631         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
71632         (FE_UNDERFLOW): Likewise.
71633         (FE_OVERFLOW): Likewise.
71634         (FE_DIVBYZERO): Likewise.
71635         (FE_INVALID): Likewise.
71636         (FE_TONEAREST): Likewise.
71637         (FE_TOWARDZERO): Likewise.
71638         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
71639         (FE_OVERFLOW): Likewise.
71640         (FE_UNDERFLOW): Likewise.
71641         (FE_DIVBYZERO): Likewise.
71642         (FE_INEXACT): Likewise.
71643         (FE_TONEAREST): Likewise.
71644         (FE_TOWARDZERO): Likewise.
71645         (FE_UPWARD): Likewise.
71646         (FE_DOWNWARD): Likewise.
71647         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
71648         (FE_DIVBYZERO): Likewise.
71649         (FE_OVERFLOW): Likewise.
71650         (FE_UNDERFLOW): Likewise.
71651         (FE_INEXACT): Likewise.
71652         (FE_TONEAREST): Likewise.
71653         (FE_DOWNWARD): Likewise.
71654         (FE_UPWARD): Likewise.
71655         (FE_TOWARDZERO): Likewise.
71657 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
71659         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
71661 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
71663         * scripts/cross-test-ssh.sh (command): Use newlines to separate
71664         commands.  Quote $PWD.
71665         (blacklist_exports): Don't use remove_newlines.  Replace "declare
71666         -x" by "export".
71667         (remove_newlines): Remove.
71669 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
71671         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
71672         * stdlib/stdlib.h (atof): Moved to ...
71673         * include/bits/stdlib-float.h: Here.  New file.
71674         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
71675         * stdlib/bits/stdlib-float.h: New file.
71676         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
71677         -mno-sse -mno-mmx.
71678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
71679         <xmmintrin.h>.
71681 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71683         * conform/conformtest.pl (@headers): Add fenv.h.
71684         * conform/data/fenv.h-data: New file.
71685         * include/fenv.h [_ISOMAC]: Disable all contents of file except
71686         include of <math/fenv.h>.
71688         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
71689         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
71690         && !UNIX98].  Enables tests for XOPEN2K8.
71691         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
71692         POSIX2008]: Likewise.
71694         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
71695         (struct rusage): Do not expect type or its members.
71697         [BZ #3439]
71698         * math/math.h (FP_NAN): Define macro to integer constant usable in
71699         #if and use that to give value to enum constant.
71700         (FP_INFINITE): Likewise.
71701         (FP_ZERO): Likewise.
71702         (FP_SUBNORMAL): Likewise.
71703         (FP_NORMAL): Likewise.
71705 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
71707         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
71708         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
71709         arguments.
71711 2012-11-02  Roland McGrath  <roland@hack.frob.com>
71713         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
71714         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
71715         autoconf-time if not.
71716         * configure.in: Remove AC_PREREQ.
71718 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71720         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
71721         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
71722         of the internal implementation.
71724 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71726         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71727         except include of <misc/sys/syslog.h>.
71729 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
71732         function returns with a NULL context exit with zero.
71734 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71736         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
71738 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
71740         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
71741         (run_program_cmd): This.
71742         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
71743         (tst_langinfo): New variable.  Use it.
71745 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
71747         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
71748         floating point opcodes.
71750 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71752         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
71753         variable.
71755         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
71757         * sysdeps/mach/hurd/powerpc: Remove directory.
71758         * sysdeps/mach/powerpc: Likewise.
71760 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71762         * scripts/check-local-headers.sh: Ignore c++ headers.
71764 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71766         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
71767         __libc_cleanup_region_start argument.
71769 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
71771         [BZ #14784]
71772         [BZ #14785]
71773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
71774         x * y using scaling, not as x * y + z.
71775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71777         * math/libm-test.inc (fma_test): Add more tests.
71778         (fma_test_towardzero): Likewise.
71779         (fma_test_downward): Likewise.
71780         (fma_test_upward): Likewise.
71782 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71784         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
71786 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71788         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
71789         New variable.
71791 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
71793         * rt/tst-shm.c (worker): Correct checking for mmap failure.
71795 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71798         Fix sort order.
71799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71800         Likewise.
71802 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71805         Fix the order of the list for glibc 2.17.
71806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71807         Likewise.
71809 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71813 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71815         [BZ #14610]
71816         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
71817         for low part of x being zero before using __atanl (y).
71818         * math/libm-test.inc (atan2_test): Add another test.
71820         * manual/install.texi (Configuring and compiling): Document
71821         general use of test-wrapper and test-wrapper-env.
71822         * INSTALL: Regenerated.
71824         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
71825         (__fma): Do not extract and scale down low bits on after-rounding
71826         systems when result rounded to normal precision would have normal
71827         exponent.
71828         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
71829         (__fmal): Do not extract and scale down low bits on after-rounding
71830         systems when result rounded to normal precision would have normal
71831         exponent.
71832         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
71833         (__fmal): Do not extract and scale down low bits on after-rounding
71834         systems when result rounded to normal precision would have normal
71835         exponent.
71836         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
71837         macro.
71838         (fma_test): Add more tests.
71839         (fma_test_towardzero): Likewise.
71840         (fma_test_downward): Likewise.
71841         (fma_test_upward): Likewise.
71843 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
71845         * sysdeps/i386/tininess.h: Renamed to ...
71846         * sysdeps/x86/tininess.h: This.
71847         * sysdeps/x86_64/tininess.h: Removed.
71849 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71851         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
71852         input.  Use $(build-program-cmd).
71853         ($(objpfx)tst-array1-static.out): Likewise.
71854         ($(objpfx)tst-array2.out): Likewise.
71855         ($(objpfx)tst-array3.out): Likewise.
71856         ($(objpfx)tst-array4.out): Likewise.
71857         ($(objpfx)tst-array5.out): Likewise.
71858         ($(objpfx)tst-array5-static.out): Likewise.
71860 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
71862         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
71863         if defined.
71865         * nss/nsswitch.h (nss_interface_function): Provide new
71866         macro for use with NSS functions.
71867         * grp/initgroups.c: Use new macro.
71868         * nss/getXXbyYY.c: Likewise.
71869         * nss/getXXbyYY_r.c: Likewise.
71870         * nss/getXXent.c: Likewise.
71871         * nss/getXXent_r.c: Likewise.
71872         * sysdeps/posix/getaddrinfo.c: Likewise.
71874 2012-10-30  Andreas Jaeger  <aj@suse.de>
71876         * po/ru.po: Update Russion translation from translation project.
71878 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71880         [BZ #14152]
71881         [BZ #14783]
71882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
71883         result and shift together with sticky bit instead of replicating
71884         round-to-nearest rounding.
71885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71887         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
71888         missing underflow exceptions.
71889         (fma_test_towardzero): Add more tests.
71890         (fma_test_downward): Likewise.
71891         (fma_test_upward): Likewise.
71893         [BZ #14047]
71894         * sysdeps/generic/tininess.h: New file.
71895         * sysdeps/i386/tininess.h: Likewise.
71896         * sysdeps/sh/tininess.h: Likewise.
71897         * sysdeps/x86_64/tininess.h: Likewise.
71898         * stdlib/tst-strtod-underflow.c: Likewise.
71899         * stdlib/tst-tininess.c: Likewise.
71900         * stdlib/strtod_l.c: Include <tininess.h>.
71901         (round_and_return): Do not set errno for exact underflow cases.
71902         Force an underflow exception when setting errno for underflow.
71903         Determine underflow based on rounding to normal precision if
71904         TININESS_AFTER_ROUNDING.
71905         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
71906         ERANGE for exact underflow cases.
71907         * stdlib/Makefile (tests): Add tst-tininess and
71908         tst-strtod-underflow.
71909         ($(objpfx)tst-tininess): Use $(link-libm).
71910         ($(objpfx)tst-strtod-underflow): Likewise.
71912 2012-10-30  Andreas Jaeger  <aj@suse.de>
71914         [BZ #14767]
71915         * elf/Makefile (tests): Remove conditional for have-initfini-array
71916         since this is now always required and the variable does not exist
71917         anymore.
71918         (tests-static): Likewise.
71919         (modules-names): Likewise.
71921         * po/eo.po: Add Esperanto translation from translation project.
71923         * elf/tst-array1.c (fini_array): Make writeable so that it can be
71924         merged with constructor/destructor.
71925         (init_array): Likewise.
71926         * elf/tst-array2dep.c (fini_array): Likewise.
71927         (init_array): Likewise.
71929 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
71931         * manual/message.texi: Delete @cartouche tags.
71933 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
71935         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
71936         EOPNOTSUPP.
71937         * sysdeps/mach/hurd/fsync.c: Likewise.
71939         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
71940         [_POSIX_REALTIME_SIGNALS]: Change condition to
71941         [_POSIX_REALTIME_SIGNALS > 0].
71943 2012-10-27  Andreas Jaeger  <aj@suse.de>
71945         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
71946         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
71947         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
71948         [__WORDSIZE != 64]: Likewise.
71950 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
71952         *  iconvdata/tst-table.sh: Remove ${SHELL}.
71953         *  iconvdata/tst-tables.sh: Likewise.
71955 2012-10-25  David S. Miller  <davem@davemloft.net>
71957         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71958         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
71959         of strtoull.
71961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
71962         ifunc-impl-list.c
71963         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71964         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
71965         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
71966         file.
71968 2012-10-25  Roland McGrath  <roland@hack.frob.com>
71970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71971         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
71972         __getdirentries.
71974 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71975             Jim Blandy  <jimb@codesourcery.com>
71977         * scripts/cross-test-ssh.sh: New file.
71978         * manual/install.texi (Configuring and compiling): Document use of
71979         cross-test-ssh.sh.
71980         * INSTALL: Regenerated.
71982 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
71984         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
71985         EOPNOTSUPP.
71987 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71989         * Makeconfig (run-program-prefix): Fix comment.
71991 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71992             Jim Blandy  <jimb@codesourcery.com>
71994         * Makeconfig (test-wrapper): New variable,
71995         (test-wrapper-env): Likewise.
71996         [$(cross-compiling) = yes && $(test-wrapper) != ""]
71997         (run-built-tests): Define to yes.
71998         (run-program-prefix): Use $(test-wrapper).
71999         (built-program-cmd): Likewise.
72000         * Rules (make-test-out): Use $(test-wrapper-env) and
72001         $(host-built-program-cmd).
72002         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72003         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72004         tst-pathopt.sh.
72005         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72006         $(test-wrapper-env) to tst-rtld-load-self.sh.
72007         ($(objpfx)order2.out): Use $(test-wrapper).
72008         ($(objpfx)tst-initorder.out): Likewise.
72009         ($(objpfx)tst-initorder2.out): Likewise.
72010         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72011         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72012         (test_wrapper_env): New variable.  Use it to run ld.so.
72013         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72014         Use it to run ld.so.
72015         (test_wrapper_env): Likewise.
72016         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72017         $(test-wrapper) to run-iconv-test.sh.
72018         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72019         (ICONV): Use $test_wrapper.
72020         * posix/Makefile ($(objpfx)globtest.out): Pass
72021         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72022         globtest.sh, not $(run-program-prefix).
72023         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72024         (test_wrapper): Likewise.
72025         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72026         set together with run_via_rtld_prefix.
72027         (run_program_prefix): Define in terms of test_wrapper and
72028         run_via_rtld_prefix.
72030 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72032         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72033         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72034         Targets removed.
72036         [BZ #14743]
72037         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72038         Declare __clock_getres, __clock_gettime, __clock_settime,
72039         __clock_nanosleep, and __clock_getcpuclockid.
72040         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72041         Remove librt_hidden_def (clock_gettime).
72042         * sysdeps/unix/clock_gettime.c: Likewise.
72043         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72044         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72045         * rt/clock_getres.c: Define __clock_getres as an alias.
72046         * sysdeps/posix/clock_getres.c: Likewise.
72047         * rt/clock_settime.c: Define __clock_settime as an alias.
72048         * sysdeps/unix/clock_settime.c: Likewise.
72049         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72050         * sysdeps/unix/clock_nanosleep.c: Likewise.
72051         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72052         * rt/clock-compat.c: New file.
72053         * rt/Makefile (librt-routines): Add clock-compat and move
72054         $(clock-routines) to ...
72055         (routines): ... here, new variable.
72056         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72057         Don't add get_clockfreq here.
72058         * rt/Versions (libc: GLIBC_2.17): New version set.
72059         Add clock_* symbols here.
72060         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72061         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72062         (GLIBC_2.17): Add clock_* symbols.
72063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72065         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72067         Likewise.
72068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72069         Likewise.
72070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72074         * NEWS: Mention the move.
72076         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72077         Use __open, __read, __close rather than their public counterparts.
72078         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72079         (__get_clockfreq_via_cpuinfo): Likewise.
72080         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72081         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72083         * config.h.in (HAVE_IFUNC): New #undef.
72084         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72085         was successful.
72086         * configure: Regenerated.
72088 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72090         * configure.in: Move READELF check to start of file.
72091         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72092         libc_cv_asm_gnu_indirect_function in the process.
72093         * configure: Regenerated.
72095 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72097         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72098         send the output to /dev/null.
72099         (libc_cv_cc_with_libunwind): Likewise.
72100         (libc_cv_as_noexecstack): Likewise.
72101         * configure: Regenerate.
72103 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72105         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72107         * posix/globtest.sh (TMPDIR): Do not set.
72108         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72109         (testout): Likewise.
72111 2012-10-24  Andreas Jaeger  <aj@suse.de>
72113         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72114         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72115         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72116         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72117         posix_fadvise64, posix_fallocate64.
72119         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72120         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72121         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72122         Likewise.
72123         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72124         Likewise.
72125         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72128         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72129         <bits/fcntl-linux.h>.
72130         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72133         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72134         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72135         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72136         [__WORDSIZE != 64]: Likewise.
72138 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72140         * Makeconfig (run-built-tests): New variable.
72141         * Rules [$(cross-compiling) = yes]: Change condition to
72142         [$(run-built-tests) = no].
72143         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72144         to [$(run-built-tests) = yes].
72145         * elf/Makefile [$(cross-compiling) = no]: Likewise.
72146         * grp/Makefile [$(cross-compiling) = no]: Likewise.
72147         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72148         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72149         * intl/Makefile [$(cross-compiling) = no]: Likewise.
72150         * io/Makefile [$(cross-compiling) = no]: Likewise.
72151         * libio/Makefile [$(cross-compiling) = no]: Likewise.
72152         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72153         * misc/Makefile [$(cross-compiling) = no]: Likewise.
72154         * posix/Makefile [$(cross-compiling) = no]: Likewise.
72155         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72156         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72157         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72158         * string/Makefile [$(cross-compiling) = no]: Likewise.
72160         * posix/Makefile ($(objpfx)globtest.out): Pass
72161         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72162         $(rtld-installed-name).
72163         * posix/globtest.sh (elf_objpfx): Remove variable.
72164         (rtld_installed_name): Likewise.
72165         (library_path): Likewise.
72166         (run_program_prefix): New variable.  Use for running globtest
72167         binary.
72169 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
72170             Joseph Myers  <joseph@codesourcery.com>
72172         * Makeconfig (host-built-program-cmd): New variable.
72173         * elf/Makefile (tst-stackguard1-ARGS): Use
72174         $(host-built-program-cmd).
72175         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72176         (tst-spawn-ARGS): Likewise.
72177         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72179 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72180             Jim Blandy  <jimb@codesourcery.com>
72182         * Makeconfig (run-via-rtld-prefix): New variable.
72183         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72184         (built-program-cmd): Likewise.
72186 2012-10-22  Andreas Jaeger  <aj@suse.de>
72188         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72189         __O_RSYNC if it exists, otherwise to O_SYNC.
72191 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
72192             Joseph Myers  <joseph@codesourcery.com>
72194         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72195         /dev/null.
72196         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72197         from /dev/null
72198         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72199         /dev/null.
72201 2012-10-22  Andreas Jaeger  <aj@suse.de>
72203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72204         Define always.
72205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72208         bits/fcntl-linux.h.
72210         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72211         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72213         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72214         to __O_LARGEFILE.
72215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72216         to __O_LARGEFILE.
72218 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
72219             Joseph Myers  <joseph@codesourcery.com>
72221         * config.make.in (NM): New variable.
72223 2012-10-21  Andreas Jaeger  <aj@suse.de>
72225         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72226         definitions and declarations that are provided by
72227         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72229 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72231         [BZ #14683]
72232         * elf/Makefile (tests-static): Add tst-leaks1-static.
72233         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
72234         ($(objpfx)tst-leaks1-static): New rule.
72235         ($(objpfx)tst-leaks1-static-mem): Likewise.
72236         (tst-leaks1-static-ENV): New macro.
72237         * elf/dl-open.c (dl_open_worker): Check the main application
72238         only if SHARED is defined.
72239         * elf/tst-leaks1-static.c: New file.
72241 2012-10-20  Andreas Jaeger  <aj@suse.de>
72243         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
72244         generic values for Linux.
72245         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
72246         and declarations that are provided by <bits/fcntl-linux.h> and
72247         include <bits/fcntl-linux.h>.
72248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72249         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72251 2012-10-20  Roland McGrath  <roland@hack.frob.com>
72253         * io/fcntl.h: Move include of <bits/types.h> to the top and
72254         include it unconditionally.
72256 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72258         * wcsmbs/Makefile (tests-ifunc): New variable.
72259         (tests): Add $(tests-ifunc).
72260         * wcsmbs/test-wcschr-ifunc.c: New file.
72261         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72262         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
72263         * wcsmbs/test-wcslen-ifunc.c: Likewise.
72264         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
72265         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
72267         * string/Makefile (tests-ifunc): New variable.
72268         (tests): Add $(tests-ifunc).
72269         * string/test-memccpy.c (TEST_NAME): New macro.
72270         * string/test-memchr.c (TEST_NAME): Likewise.
72271         * string/test-memcmp.c (TEST_NAME): Likewise.
72272         * string/test-memcpy.c (TEST_NAME): Likewise.
72273         * string/test-memmem.c (TEST_NAME): Likewise.
72274         * string/test-memmove.c (TEST_NAME): Likewise.
72275         * string/test-memset.c (TEST_NAME): Likewise.
72276         * string/test-rawmemchr.c (TEST_NAME): Likewise.
72277         * string/test-stpcpy.c (TEST_NAME): Likewise.
72278         * string/test-stpncpy.c (TEST_NAME): Likewise.
72279         * string/test-strcasecmp.c (TEST_NAME): Likewise.
72280         * string/test-strcasestr.c (TEST_NAME): Likewise.
72281         * string/test-strcat.c (TEST_NAME): Likewise.
72282         * string/test-strchr.c (TEST_NAME): Likewise.
72283         * string/test-strcmp.c(TEST_NAME): Likewise.
72284         * string/test-strcpy.c (TEST_NAME): Likewise.
72285         * string/test-strcspn.c (TEST_NAME): Likewise.
72286         * string/test-strlen.c (TEST_NAME): Likewise.
72287         * string/test-strncasecmp.c (TEST_NAME): Likewise.
72288         * string/test-strncmp.c (TEST_NAME): Likewise.
72289         * string/test-strncpy.c (TEST_NAME): Likewise.
72290         * string/test-strnlen.c (TEST_NAME): Likewise.
72291         * string/test-strpbrk.c (TEST_NAME): Likewise.
72292         * string/test-strrchr.c (TEST_NAME): Likewise.
72293         * string/test-strspn.c (TEST_NAME): Likewise.
72294         * string/test-strstr.c (TEST_NAME): Likewise.
72295         * string/test-bcopy-ifunc.c: New file.
72296         * string/test-bzero-ifunc.c: Likewise.
72297         * string/test-memccpy-ifunc.c: Likewise.
72298         * string/test-memchr-ifunc.c: Likewise.
72299         * string/test-memcmp-ifunc.c: Likewise.
72300         * string/test-memcpy-ifunc.c: Likewise.
72301         * string/test-memmem-ifunc.c: Likewise.
72302         * string/test-memmove-ifunc.c: Likewise.
72303         * string/test-mempcpy-ifunc.c: Likewise.
72304         * string/test-memset-ifunc.c: Likewise.
72305         * string/test-rawmemchr-ifunc.c: Likewise.
72306         * string/test-stpcpy-ifunc.c: Likewise.
72307         * string/test-stpncpy-ifunc.c: Likewise.
72308         * string/test-strcasecmp-ifunc.c: Likewise.
72309         * string/test-strcasestr-ifunc.c: Likewise.
72310         * string/test-strcat-ifunc.c: Likewise.
72311         * string/test-strchr-ifunc.c: Likewise.
72312         * string/test-strchrnul-ifunc.c: Likewise.
72313         * string/test-strcmp-ifunc.c: Likewise.
72314         * string/test-strcpy-ifunc.c: Likewise.
72315         * string/test-strcspn-ifunc.c: Likewise.
72316         * string/test-strlen-ifunc.c: Likewise.
72317         * string/test-strncasecmp-ifunc.c: Likewise.
72318         * string/test-strncat-ifunc.c: Likewise.
72319         * string/test-strncmp-ifunc.c: Likewise.
72320         * string/test-strncpy-ifunc.c: Likewise.
72321         * string/test-strnlen-ifunc.c: Likewise.
72322         * string/test-strpbrk-ifunc.c: Likewise.
72323         * string/test-strrchr-ifunc.c: Likewise.
72324         * string/test-strspn-ifunc.c: Likewise.
72325         * string/test-strstr-ifunc.c: Likewise.
72327         * debug/Makefile (tests-ifunc): New variable.
72328         (tests): Add $(tests-ifunc).
72329         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
72330         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
72331         * debug/test-stpcpy_chk-ifunc.c: New file.
72332         * debug/test-strcpy_chk-ifunc.c: Likewise.
72334 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
72336         [BZ #13601]
72337         * elf/dl-load.c (open_verify): Retry read if the entire ELF
72338         header is not read in.
72340 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
72342         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
72343         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
72344         directly.  Pass built executable to script as
72345         $(built-program-cmd).
72346         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
72347         $testprogram without using LD_LIBRARY_PATH and $ldso.
72349         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
72350         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
72351         $(rtld-installed-name).
72352         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
72353         (rtld_installed_name): Likewise.
72354         (library_path): Likewise.
72355         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
72356         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
72357         $(run-program-prefix) to tst-tables.sh.
72358         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
72359         it to run tst-table-from and tst-table-to.
72360         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
72361         Pass it to tst-table.sh.
72362         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
72363         $(run-program-prefix) to tst-gettext.sh.
72364         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
72365         tst-translit.sh.
72366         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
72367         tst-gettext2.sh.
72368         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
72369         to run tst-gettext.
72370         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
72371         to run tst-gettext2.
72372         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
72373         to run tst-translit.
72374         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
72375         $(run-program-prefix) to tst-mtrace.sh.
72376         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
72377         to run tst-mtrace.
72378         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
72379         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
72380         $(rtld-installed-name).
72381         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
72382         (rtld_installed_name): Likewise.
72383         (run_program_prefix): New variable.  Use it to run wordexp-test.
72385         * Makeconfig (ARCH): Remove all definitions.
72386         (machine): Likewise.
72387         [ARCH]: Remove conditional code.
72388         [!objdir]: Give error.
72389         [!objdir] (objpfx): Remove.
72390         [!objdir] (common-objpfx): Likewise.
72391         [!objdir] (common-objdir): Likewise.
72392         * configure.in (config_makefile): Remove.  Hardcode Makefile in
72393         AC_CONFIG_FILES call.
72394         * configure: Regenerated.
72396         [BZ #13888]
72397         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
72398         or TMPDIR.
72399         (testout): Likewise.
72401         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
72402         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
72403         $(rtld-installed-name).
72404         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
72405         (rtld_installed_name): Likewise.
72406         (runit): Remove function.
72407         (run_getconf): New variable,  Use it for running getconf binary.
72409 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
72411         [BZ #14716]
72412         * string/test-memmem.c (check_result): New function.
72413         (do_one_test): Use it.
72414         (check1): New function.
72415         (test_main): Use it.
72417 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
72419         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
72421 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
72423         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
72424         (_G_LSEEK64): Likewise.
72425         (_G_MMAP64): Likewise.
72426         (_G_FSTAT64): Likewise.
72427         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
72428         (_G_LSEEK64): Likewise.
72429         (_G_MMAP64): Likewise.
72430         (_G_FSTAT64): Likewise.
72431         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
72432         unconditional.  Call __mmap64 directly.
72433         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
72434         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
72435         __lseek64 directly.
72436         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
72437         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
72438         __mmap64 directly.
72439         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
72440         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72441         __lseek64 directly.
72442         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
72443         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72444         __lseek64 directly.
72445         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
72446         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
72447         __lseek64 directly.
72448         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
72449         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
72450         __fxstat64 directly.
72451         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
72452         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
72453         unconditional.
72454         (freopen64) [!_G_OPEN64]: Remove conditional code.
72455         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
72456         unconditional.
72457         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
72458         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
72459         unconditional.
72460         (ftello64) [!_G_LSEEK64]: Remove conditional code.
72461         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
72462         unconditional.
72463         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72464         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
72465         unconditional.
72466         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
72467         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
72468         unconditional.
72469         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72470         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
72471         unconditional.
72472         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72473         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
72474         unconditional.
72475         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72477 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72479         [BZ #12140]
72480         * manual/memory.texi (Malloc Tunable Parameters): Add note
72481         about free list pointers overwriting some perturb bytes.
72482         Wording suggested by Roland McGrath.
72484 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
72486         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
72487         (lgamma_test): Likewise.
72488         (tgamma_test): Likewise.
72490 2012-10-16  Florian Weimer  <fweimer@redhat.com>
72492         [BZ #14700]
72493         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
72494         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
72496 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
72498         * NEWS: Mention BZ #14716.
72499         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
72500         when removing AVAILABLE1_USES_J macro.
72502 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
72504         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
72505         (__bswap_64): __uint64_t for unsigned 64-bit int.
72507 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
72509         * include/string.h (memmem): Declare libc hidden alias.
72510         * string/memmem.c (memmem): Define libc hidden alias.
72511         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
72512         __read, __close instead of open, read, close.
72514 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
72516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
72517         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
72518         global and hidden.
72519         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
72520         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
72521         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
72522         Likewise.
72523         (__rawmemchr_sse2): Likewise.
72524         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
72525         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
72526         (__strchr_sse2): Likewise.
72527         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
72528         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
72529         (__strcasecmp_sse2): Likewise.
72530         (__strncasecmp_sse2): Likewise.
72531         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
72532         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
72533         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
72534         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
72535         (__strrchr_sse2): Likewise.
72536         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
72537         ifunc-impl-list.c.
72538         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
72539         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
72540         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
72541         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72542         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
72543         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72544         * sysdeps/x86_64/multiarch/memset.S: Likewise.
72545         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
72546         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
72547         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
72548         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
72549         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
72550         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
72551         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
72552         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
72553         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
72554         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
72555         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
72556         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
72557         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
72558         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
72559         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
72560         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72561         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72562         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72563         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72564         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72565         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72566         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72567         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72569         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72570         global and hidden.
72571         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72572         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72573         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72574         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72575         Likewise.
72576         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72577         Likewise.
72578         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72579         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72580         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72581         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72582         ifunc-impl-list.c.
72583         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72584         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72585         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72586         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72587         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72588         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72589         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72590         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72591         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72592         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72593         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72594         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72595         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72596         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72597         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72598         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72599         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72600         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72601         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72602         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72603         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72604         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72605         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72606         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72607         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72608         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72609         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72610         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72611         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72612         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72613         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72614         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72615         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72616         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72617         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72618         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72619         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72620         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72621         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72622         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72623         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
72625         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
72626         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
72627         * include/ifunc-impl-list.h: New file.
72628         * misc/ifunc-impl-list.c: Likewise.
72629         * misc/Makefile (routines): Add ifunc-impl-list.
72630         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
72631         * string/test-string.h: Include <ifunc-impl-list.h>.
72632         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
72633         TEST_NAME]: New variables.
72634         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
72635         are defined.
72636         (test_init): Call __libc_ifunc_impl_list to initialize
72637         func_list if TEST_IFUNC and TEST_NAME are defined.
72639         * string/Makefile (strop-tests): Add bcopy and bzero.
72640         * string/test-bcopy.c: New file.
72641         * string/test-bzero.c: Likewise.
72642         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
72643         defined.
72644         * string/test-memset.c: Support bzero test if TEST_BZERO is
72645         defined.
72646         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
72647         __libc_memmove.
72648         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
72649         __libc_memset.
72650         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
72651         of memset.
72653 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
72655         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
72656         * configure: Regenerated.
72658         * Makeconfig (+link-static-before-libc): Don't include
72659         $(link-static-libc).
72661         * libio/libio.h (_IO_pos_t): Remove.
72663 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72665         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
72666         McGrath.
72668 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72670         * crypt/crypt-entry.c: Include fips-private.h.
72671         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
72672         * crypt/md5c-test.c (main): Tolerate disabled MD5.
72673         * sysdeps/unix/sysv/linux/fips-private.h: New file.
72674         * sysdeps/generic/fips-private.h: New file, dummy fallback.
72676 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72678         * crypt/crypt-private.h: Include stdbool.h.
72679         (_ufc_setup_salt_r): Return bool.
72680         * crypt/crypt-entry.c: Include errno.h.
72681         (__crypt_r): Return NULL with EINVAL for bad salt.
72682         * crypt/crypt_util.c (bad_for_salt): New.
72683         (_ufc_setup_salt_r): Check that salt is long enough and within
72684         the specified alphabet.
72685         * crypt/badsalttest.c: New file.
72686         * crypt/Makefile (tests): Add it.
72687         ($(objpfx)badsalttest): New.
72689 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
72691         * NEWS: Add entry for BZ #14602.
72693 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72695         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
72696         type-generic.
72697         * math/libm-test.inc: Update comment listing what functions and
72698         macros are tested.
72699         (isgreater_test): New function.
72700         (isgreaterequal_test): Likewise.
72701         (isless_test): Likewise.
72702         (islessequal_test): Likewise.
72703         (islessgreater_test): Likewise.
72704         (isunordered_test): Likewise.
72705         (main): Call the new functions.
72707 2012-10-09  Roland McGrath  <roland@hack.frob.com>
72709         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
72710         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
72711         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
72712         * sysdeps/i386/configure: Regenerated.
72713         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
72714         * sysdeps/mach/configure: Regenerated.
72715         * sysdeps/mach/hurd/configure: Regenerated.
72716         * sysdeps/powerpc/configure: Regenerated.
72717         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72718         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72719         * sysdeps/s390/s390-32/configure: Regenerated.
72720         * sysdeps/s390/s390-64/configure: Regenerated.
72721         * sysdeps/sh/configure: Regenerated.
72722         * sysdeps/sparc/configure: Regenerated.
72723         * sysdeps/unix/sysv/linux/configure: Regenerated.
72724         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
72725         * sysdeps/x86_64/configure: Regenerated.
72727         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
72728         defined.  Don't check if MAP is NULL.
72730 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72732         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
72733         (_G_stat64): Likewise.
72734         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
72735         (_G_stat64): Likewise.
72736         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
72737         instead of struct _G_stat64.
72738         * libio/fileops.c (mmap_remap_check): Likewise.
72739         (decide_maybe_mmap): Likewise.
72740         (_IO_new_file_seekoff): Likewise.
72741         (_IO_file_stat): Likewise.
72742         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
72743         _G_off64_t.
72744         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
72745         instead of struct _G_stat64.
72746         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72748 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
72750         [BZ #14602]
72751         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72752         Replace with ...
72753         (CHECK_EOL): New macro.
72754         (two_way_short_needle): Check beginning of haystack for EOL.  Use
72755         CHECK_EOL.
72756         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72757         Replace with CHECK_EOL.
72758         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72759         Replace with CHECK_EOL.
72761 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
72763         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
72764         type-generic.
72765         * math/libm-test.inc: Update comment listing what functions and
72766         macros are tested.
72767         (finite_test): New function.
72768         (isinf_test): Likewise.
72769         (isnan_test): Likewise.
72770         (fpclassify_test): Test subnormal input.
72771         (isfinite_test): Likewise.
72772         (isnormal_test): Likewise.
72773         (main): Call the new functions.
72775 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
72777         [BZ #14660]
72778         * Makerules (%.dynsym): Force C locale when running
72779         $(OBJDUMP) --dynamic-syms.
72781 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
72783         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
72784         <stdint.h>.
72786 2012-10-06  David S. Miller  <davem@davemloft.net>
72788         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
72789         upper 32-bits of the length value in %o2 since we use branch-on-register
72790         tests which consider the entire 64-bit register.
72792 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
72794         * string/test-strstr.c (check2): Add a test for page boundary.
72796 2012-10-05  David S. Miller  <davem@davemloft.net>
72798         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
72799         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
72800         file.
72801         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72802         sysdep_routines.
72803         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72804         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
72805         and bzero when HWCAP_SPARC_CRYPTO is present.
72807 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
72809         [BZ #14602]
72810         * string/test-strstr.c (check2): New function.
72811         (test_main): Call check2.
72813         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
72814         and bug-strchr1.
72815         * string/bug-strcasestr1.c (do_test): Moved to ...
72816         * string/test-strcasestr.c (check1): Here.  New function.
72817         (do_one_test): Break out result checking code into ...
72818         (check_result): This.  New function.
72819         (do_one_test): Call check_result.
72820         (test_main): Call check1.
72821         * string/bug-strchr1.c (do_test): Moved to ...
72822         * string/test-strchr.c (check1): Here.  New function.
72823         (do_one_test): Break out result checking code into ...
72824         (check_result): This.  New function.
72825         (do_one_test): Call check_result.
72826         (test_main): Call check1.
72827         * string/bug-strstr1.c (main): Moved to ...
72828         * string/test-strstr.c (check1): Here.  New function.
72829         (do_one_test): Break out result checking code into ...
72830         (check_result): This.  New function.
72831         (do_one_test): Call check_result.
72832         (test_main): Call check1.
72833         * string/bug-strcasestr1.c: Removed.
72834         * string/bug-strchr1.c: Likewise.
72835         * string/bug-strstr1.c: Likewise.
72837         * elf/Makefile (dl-routines): Add hwcaps.
72838         * elf/dl-support.c (_dl_important_hwcaps): Removed.
72839         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
72840         (_dl_important_hwcaps): Moved to ...
72841         * elf/dl-hwcaps.c: Here.  New file.
72842         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
72844         [BZ #14557]
72845         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
72846         if IS_IN_rtld isn't defined.
72848         * elf/dl-support.c (_dl_sysinfo_map): New.
72849         Include "get-dynamic-info.h" and "setup-vdso.h".
72850         (_dl_non_dynamic_init): Call setup_vdso.
72851         * elf/dynamic-link.h: Don't include <assert.h>.
72852         (elf_get_dynamic_info): Moved to ...
72853         * elf/get-dynamic-info.h: Here.  New file.
72854         * elf/dynamic-link.h: Include "get-dynamic-info.h".
72855         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
72856         * elf/setup-vdso.h: Here.  New file.
72857         * elf/rtld.c: Include "setup-vdso.h".
72858         (dl_main): Call setup_vdso.
72860 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
72862         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
72863         creal in comment listing functions tested.  List finite, isinf,
72864         isnan, isless, islessequal, isgreater, isgreaterequal,
72865         islessgreater, isunordered, lgamma_r and pow10 as functions and
72866         macros not tested.  Mention which functions not tested are aliases
72867         for other functions.  Fix typo.  Note that signs of NaNs are not
72868         tested.
72870         * scripts/config.guess: Update from config.git.
72871         * scripts/config.sub: Likewise.
72873 2012-10-04  Roland McGrath  <roland@hack.frob.com>
72875         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
72876         * misc/madvise.c (madvise): Renamed to __madvise.
72877         Make madvise a weak alias.
72878         * include/sys/mman.h: Declare __madvise.
72879         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
72880         * sysdeps/unix/syscalls.list
72881         (madvise): Make __madvise the strong name, and madvise a weak alias.
72882         * sysdeps/unix/sysv/linux/syscalls.list
72883         (madvise, mmap): Remove redundant entries.
72884         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
72885         * malloc/malloc.c (mtrim): Likewise.
72886         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
72888 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72890         * sysdeps/mach/hurd/dl-cache.c: File removed.
72891         * config.h.in (USE_LDCONFIG): New #undef.
72892         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
72893         * configure: Regenerated.
72894         * elf/Makefile (dl-routines): Add dl-cache only under
72895         [$(use-ldconfig) = yes].
72896         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
72897         cache on [USE_LDCONFIG].
72898         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
72899         [USE_LDCONFIG].
72900         * elf/rtld.c (dl_main): Likewise.
72902 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
72904         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
72905         _SC_LEVEL4_CACHE_LINESIZE.
72907 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72909         * sysdeps/unix/bsd/confstr.h: File removed.
72911 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
72913         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
72914         sys/sdt-config.h.
72916 2012-10-02  Roland McGrath  <roland@hack.frob.com>
72918         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
72919         Make 'mapoff' field ElfW(Off) rather than off_t.
72921 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
72923         * nscd/Makefile: Remove nscd-cflags and all its users.
72924         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
72925         (CFLAGS-nonlib): Add compiler flags for nscd modules.
72927         [BZ #10631]
72928         * malloc.c (malloc_printerr): Clarify error message.
72930 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
72932         [BZ #14648]
72933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72934         Set bit_FMA_Usable if FMA is supported.
72935         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
72936         macro.
72937         (bit_FMA4_Usable): Updated.
72938         (index_FMA_Usable): New macro.
72939         (CPUID_FMA): Likewise.
72940         (HAS_FMA): Defined with bit_FMA_Usable.
72942 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72944         * bits/types.h (__swblk_t): Type removed.
72945         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
72946         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
72947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72948         (__SWBLK_T_TYPE): Likewise.
72949         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72950         (__SWBLK_T_TYPE): Likewise.
72951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72952         (__SWBLK_T_TYPE): Likewise.
72953         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72954         (__SWBLK_T_TYPE): Likewise.
72956 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
72957             Honza Horak <hhorak@redhat.com>
72959         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
72960         (xdr_mapname): Use YPMAXMAP as maxsize.
72961         (xdr_peername): Use YPMAXPEER as maxsize.
72962         (xdr_keydat): Use YPAXRECORD as maxsize.
72963         (xdr_valdat): Use YPMAXRECORD as maxsize.
72965 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72967         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
72969         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
72970         * csu/init-first.c: ... here.
72971         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
72972         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
72973         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
72974         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
72975         * sysdeps/i386/init-first.c: File removed.
72976         * sysdeps/sh/init-first.c: File removed.
72978 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
72980         [BZ #14645]
72981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
72982         if x * y might underflow to zero and z is zero.
72983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72984         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72985         * math/libm-test.inc (min_subnorm_value): New variable.
72986         (fma_test): Add more tests.
72987         (fma_test_towardzero): Likewise.
72988         (fma_test_downward): Likewise.
72989         (fma_test_upward): Likewise.
72990         (initialize): Set min_subnorm_value.
72992 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
72994         [BZ #14638]
72995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
72996         0 + 0.
72997         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
72998         mode for addition resulting in exact zero.
72999         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73001         exact 0 + 0.
73002         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73004         * math/libm-test.inc (fma_test): Add more tests.
73005         (fma_test_towardzero): New function.
73006         (fma_test_downward): Likewise.
73007         (fma_test_upward): Likewise.
73008         (main): Call the new functions.
73010 2012-09-28  David S. Miller  <davem@davemloft.net>
73012         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73014 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73016         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73017         instead of SIGALRM.
73019         * sysdeps/gnu/_G_config.h: Moved to ...
73020         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73021         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73022         * sysdeps/generic/_G_config.h: ... here.
73024         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73026         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73028         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73029         Conditionalize target on [libnss_test1.so-version].
73031         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73033         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73034         (elfobjdir): Move out of conditionals.
73036         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73037         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73038         (__nss_lookup_function): Conditionalize label remove_from_tree on
73039         [!DO_STATIC_NSS || SHARED], matching its only use.
73041 2012-09-28  David S. Miller  <davem@davemloft.net>
73043         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73044         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73045         file.
73046         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73047         sysdep_routines.
73048         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73050         when HWCAP_SPARC_CRYPTO is present.
73052 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73054         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73056 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73058         [BZ #6530]
73059         * stdio-common/vfprintf.c (process_string_arg): Revert
73060         2000-07-22 change.
73062 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73064         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73065         for testcase.
73066         * stdio-common/tst-sprintf.c: Include <locale.h>
73067         (main): Test sprintf's handling of incomplete multibyte
73068         characters.
73070 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73072         * elf/dl-runtime.c (VERSYMIDX): Removed.
73073         * elf/dl-version.c (VERSYMIDX): Likewise.
73074         * elf/do-rel.h (VERSYMIDX): Likewise.
73075         (VALIDX): Likewise.
73076         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73077         * elf/rtld.c (VALIDX): Likewise.
73078         (ADDRIDX): Likewise.
73079         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73080         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73081         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73082         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73083         (VALIDX): Likewise.
73084         (ADDRIDX): Likewise.
73086 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73088         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73090 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73092         [BZ #11438]
73093         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73094         to global scope.
73095         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73096         addresses are in the same scope as 192.0.2/24.
73097         * posix/gai.conf: Document new scope table defaults.
73099 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73101         [BZ #5298]
73102         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73103         for ftell.  Compute offsets from write pointers instead.
73104         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73106 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73108         [BZ #14543]
73109         * libio/Makefile (tests): New test case tst-fseek.
73110         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73111         combination works in wide mode.
73112         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73113         state when the external buffer state changes.
73115 2012-09-27  David S. Miller  <davem@davemloft.net>
73117         [BZ #14376]
73118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73119         pass reloc->r_addend in as the 'high' argument to
73120         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73124 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73126         * rt/tst-aio2.c: Include <pthread.h>.
73127         * rt/tst-aio3.c: Likewise.
73129 2012-09-27  Steve Ellcey  <sellcey@mips.com>
73131         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73133 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
73135         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73136         contents on [SHARED].
73138 2012-09-26  Marek Polacek  <polacek@redhat.com>
73140         [BZ #14530]
73141         [BZ #13741]
73142         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73143         for C++ and GCC <4.3 as well as for non GCC compilers.
73145 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
73147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73149 2012-09-25  Roland McGrath  <roland@hack.frob.com>
73151         * Makefile.in (all, install): Declare with .PHONY.
73152         Reported by Michael Hope <michael.hope@linaro.org>.
73154 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73156         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73157         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73158         system header.
73159         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73160         Likewise.
73161         (sydep_routines): Add the new and the internal functions.
73162         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73163         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73165         (GLIBC_2.17): Add the new function.
73166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73167         (GLIBC_2.17): Likewise.
73168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73169         (GLIBC_2.17): Likewise.
73170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73171         (GLIBC_2.17): Likewise.
73172         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73174 2012-09-25  Alan Modra  <amodra@gmail.com>
73176         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73177         Add release barrier before setting once_control to say
73178         initialisation is done.  Add hints on lwarx.  Use macro in
73179         place of isync.
73180         (clear_once_control): Add release barrier.
73182 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73184         [BZ #13629]
73185         * math/s_clog.c (__clog): Handle more values close to |z| = 1
73186         specially.
73187         * math/s_clog10.c (__clog10): Likewise.
73188         * math/s_clog10f.c (__clog10f): Likewise.
73189         * math/s_clog10l.c (__clog10l): Likewise.
73190         * math/s_clogf.c (__clogf): Likewise.
73191         * math/s_clogl.c (__clogl): Likewise.
73192         * math/Makefile (libm-calls): Add x2y2m1.
73193         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73194         (__x2y2m1): Likewise.
73195         (__x2y2m1l): Likewise.
73196         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73197         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73198         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73199         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73200         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73201         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73202         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73203         * sysdeps/i386/fpu/libm-test-ulps: Update.
73204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73206         [BZ #14621]
73207         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73208         int as type of variable DEPTH.
73209         (glob): Use size_t instead of int as type of variables NEWCOUNT
73210         and OLD_PATHC.
73212 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73214         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73215         Add s_sincosf-sse2.
73216         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73217         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73218         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73219         macros for using routine as __sincosf_ia32.
73220         Use macro for function declaration and weak_alias.
73221         * sysdeps/i386/fpu/libm-test-ulps: Update.
73223         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73226         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73227         subnormal argument.
73228         * math/s_cexpf.c (__cexpf): Likewise.
73229         * math/s_csinf.c (__csinf): Likewise.
73230         * math/s_csinhf.c (__csinhf): Likewise.
73231         * math/s_ctanf.c (__ctanf): Likewise.
73232         * math/s_ctanhf.c (__ctanhf): Likewise.
73233         * math/s_ccosh.c (__ccoshf): Likewise.
73234         * math/s_cexp.c (__cexpl): Likewise.
73235         * math/s_csin.c (__csin): Likewise.
73236         * math/s_csinh.c (__csinh): Likewise.
73237         * math/s_ctan.c (__ctan): Likewise.
73238         * math/s_ctanh.c (ctanh): Likewise.
73239         * math/s_ccoshl.c (__ccoshl): Likewise.
73240         * math/s_cexpl.c (__cexpl): Likewise.
73241         * math/s_csinl.c (__csinl): Likewise.
73242         * math/s_csinhl.c (__csinhl): Likewise.
73243         * math/s_ctanl.c (__ctanl): Likewise.
73244         * math/s_ctanhl.c (__ctanhl): Likewise.
73246 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73248         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
73249         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
73250         (_IO_off_t): Define to __off_t, not _G_off_t.
73251         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
73252         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
73253         (_IO_wint_t): Define to wint_t, not _G_wint_t.
73254         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
73255         type of __dummy and __dummy2 fields.
73256         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
73257         (_G_ssize_t): Likewise.
73258         (_G_off_t): Likewise.
73259         (_G_pid_t): Likewise.
73260         (_G_uid_t): Likewise.
73261         (_G_wchar_t): Likewise.
73262         (_G_wint_t): Likewise.
73263         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
73264         (_G_ssize_t): Likewise.
73265         (_G_off_t): Likewise.
73266         (_G_pid_t): Likewise.
73267         (_G_uid_t): Likewise.
73268         (_G_wchar_t): Likewise.
73269         (_G_wint_t): Likewise.
73270         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
73271         (_G_ssize_t): Likewise.
73272         (_G_off_t): Likewise.
73273         (_G_pid_t): Likewise.
73274         (_G_uid_t): Likewise.
73275         (_G_wchar_t): Likewise.
73276         (_G_wint_t): Likewise.
73278 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73280         * malloc/arena.c: Include malloc-sysdep.h.
73281         (shrink_heap): Use check_may_shrink_heap to decide if madvise
73282         is sufficient to shrink the heap or an unmap is needed.
73283         * sysdeps/generic/malloc-sysdep.h: New file.  Define
73284         new function check_may_shrink_heap.
73285         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
73286         new function check_may_shrink_heap.
73288 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73290         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
73291         comments.
73293 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
73295         * catgets/test-gencat.sh: Add "set -e".
73296         * elf/tst-pathopt.sh: Likewise.
73297         * grp/tst_fgetgrent.sh: Likewise.
73298         * iconvdata/run-iconv-test.sh: Likewise.
73299         * intl/tst-gettext.sh: Likewise.
73300         * intl/tst-gettext2.sh: Likewise.
73301         * intl/tst-gettext4.sh: Likewise.
73302         * intl/tst-gettext6.sh: Likewise.
73303         * intl/tst-translit.sh: Likewise.
73304         * io/ftwtest-sh: Likewise.
73305         * libio/test-freopen.sh: Likewise.
73306         * malloc/tst-mtrace.sh: Likewise.
73307         * posix/globtest.sh: Likewise.
73308         * posix/tst-getconf.sh: Likewise.
73309         * posix/wordexp-tst.sh: Likewise.
73310         * stdio-common/tst-printf.sh: Likewise.
73311         * stdio-common/tst-unbputc.sh: Likewise.
73312         * stdlib/tst-fmtmsg.sh: Likewise.
73313         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73314         * catgets/Makefile: Do not specify -e option when running
73315         testsuite shell scripts.
73316         * elf/Makefile: Likewise.
73317         * grp/Makefile: Likewise.
73318         * iconvdata/Makefile: Likewise.
73319         * intl/Makefile: Likewise.
73320         * io/Makefile: Likewise.
73321         * libio/Makefile: Likewise.
73322         * malloc/Makefile: Likewise.
73323         * posix/Makefile: Likewise.
73324         * stdio-common/Makefile: Likewise.
73325         * stdlib/Makefile: Likewise.
73326         * sysdeps/x86_64/Makefile: Likewise.
73328         * io/ftwtest-sh: Add copyright header.
73329         * posix/globtest.sh: Likewise.
73330         * posix/tst-getconf.sh: Likewise.
73331         * posix/wordexp-tst.sh: Likewise.
73332         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73334 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
73336         [BZ #13679]
73337         * Makeconfig (+link): Defined as $(+link-static) if
73338         $(build-shared) isn't yes.
73339         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
73340         isn't yes.
73341         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
73343         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
73345         [BZ #14562]
73346         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
73347         new chunk size with MALLOC_ALIGN_MASK.
73349 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
73351         [BZ #5044]
73352         * stdio-common/printf_fphex.c: Include <stdbool.h> and
73353         <rounding-mode.h>.
73354         (__printf_fphex): Determine rounding using get_rounding_mode and
73355         round_away.
73356         * stdio-common/tst-printf-round.c (struct hex_test): New
73357         structure.
73358         (hex_tests): New variable.
73359         (test_hex_in_one_mode): New function.
73360         (do_test): Also run tests for hex float output.
73362 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
73364         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73365         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73366         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
73367         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73368         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73369         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
73370         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73371         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73373 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
73375         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
73376         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
73377         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
73378         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
73380 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
73382         [BZ #14579]
73383         * elf/rtld.c (dl_main): Limit the check for self loading to normal
73384         mode only.
73385         * elf/tst-rtld-load-self.sh: New test.
73386         * elf/Makefile: Run it.
73388 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
73390         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
73391         (tst-writev-ENV): Remove.
73392         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
73394 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
73396         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
73398 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
73400         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
73401         unconditional.
73402         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
73403         Likewise.
73404         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
73405         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73406         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
73407         Likewise.
73409 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
73411         [BZ #14587]
73412         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
73413         * config.make.in (have-cpp-asm-debuginfo): Removed.
73414         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
73415         * configure: Regenerated.
73417 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
73419         [BZ #5044]
73420         * stdio-common/printf_fp.c: Include <stdbool.h> and
73421         <rounding-mode.h>.
73422         (___printf_fp): Determine rounding using get_rounding_mode and
73423         round_away.
73424         * stdio-common/tst-printf-round.c: New file.
73425         * stdio-common/Makefile (tests): Add tst-printf-round.
73426         (link-libm): New variable.
73427         ($(objpfx)tst-printf-round): Depend in $(link-libm).
73429 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
73431         [BZ #14576]
73432         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
73433         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
73434         Likewise.
73435         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
73436         Likewise.
73438 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
73440         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
73441         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73442         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73443         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73445 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
73447         [BZ #14518]
73448         * include/rounding-mode.h: New file.
73449         * sysdeps/generic/get-rounding-mode.h: Likewise.
73450         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
73451         * stdlib/strtod_l.c: Include <rounding-mode.h>.
73452         (MAX_VALUE): New macro.
73453         (MIN_VALUE): Likewise.
73454         (overflow_value): New function.
73455         (underflow_value): Likewise.
73456         (round_and_return): Use overflow_value and underflow_value to
73457         determine return values in overflow and underflow cases.  Use
73458         round_away to determine rounding depending on rounding mode.
73459         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
73460         determine return values in overflow and underflow cases.
73461         * stdlib/tst-strtod-round.c: Include <fenv.h>.
73462         (struct test_results): New structure.
73463         (struct test): Use struct test_results to store expected results
73464         for all rounding modes.
73465         (TEST): Include expected results for all rounding modes.
73466         (test_in_one_mode): New function.
73467         (do_test): Use test_in_one_mode to compute and check results.
73468         Check results for all rounding modes.
73469         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
73470         $(link-libm).
73472 2012-12-09  Allan McRae  <allan@archlinux.org>
73474         * sysdeps/i386/fpu/libm-test-ulps: Update
73476 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
73478         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
73479         (_G_int32_t): Likewise.
73480         (_G_uint16_t): Likewise.
73481         (_G_uint32_t): Likewise.
73482         (_G_HAVE_BOOL): Likewise.
73483         (_G_HAVE_ATEXIT): Likewise.
73484         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73485         (_G_HAVE_IO_FILE_OPEN): Likewise.
73486         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
73487         (_G_int32_t): Likewise.
73488         (_G_uint16_t): Likewise.
73489         (_G_uint32_t): Likewise.
73490         (_G_HAVE_BOOL): Likewise.
73491         (_G_HAVE_ATEXIT): Likewise.
73492         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73493         (_G_HAVE_IO_FILE_OPEN): Likewise.
73494         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
73495         (_G_int32_t): Likewise.
73496         (_G_uint16_t): Likewise.
73497         (_G_uint32_t): Likewise.
73498         (_G_HAVE_BOOL): Likewise.
73499         (_G_HAVE_ATEXIT): Likewise.
73500         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73501         (_G_HAVE_IO_FILE_OPEN): Likewise.
73503 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
73505         * csu/libc-tls.c: Update copyright years.
73507 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
73509         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
73510         [!_G_USING_THUNKS]: Remove conditional code.
73511         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
73512         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
73514         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
73515         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
73516         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73517         (_G_VTABLE_LABEL_PREFIX): Likewise.
73518         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73519         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73520         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73521         (_G_VTABLE_LABEL_PREFIX): Likewise.
73522         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73523         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73524         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73525         (_G_VTABLE_LABEL_PREFIX): Likewise.
73526         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73528 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
73530         * libio/Makefile: Include ../Makeconfig before tests.
73531         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
73532         only if $(build-shared) is yes.
73534         * iconv/gconv_db.c: Update copyright years.
73536 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73538         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
73539         unwind info if defined PIC. Fix special cases description.
73540         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
73542         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
73543         DP_HI_MASK entry.
73544         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
73546 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
73548         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
73550         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
73551         is NULL.
73553         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
73554         (LDLIBS-tst-chk4): This.
73555         (LDFLAGS-tst-chk5): Renamed to ...
73556         (LDLIBS-tst-chk5): This.
73557         (LDFLAGS-tst-chk6): Renamed to ...
73558         (LDLIBS-tst-chk6): This.
73559         (LDFLAGS-tst-lfschk4): Renamed to ...
73560         (LDLIBS-tst-lfschk4): This.
73561         (LDFLAGS-tst-lfschk5): Renamed to ...
73562         (LDLIBS-tst-lfschk5): This.
73563         (LDFLAGS-tst-lfschk6): Renamed to ...
73564         (LDLIBS-tst-lfschk6): This.
73566         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73567         on $(common-objpfx)soversions.mk.
73569 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73571         [BZ #10014]
73572         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73573         example host name.
73575 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73577         * malloc/arena.c (arena_get_retry): New function that gets
73578         another arena for the caller to try its request on.
73579         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73580         current arena cannot fulfill the request.
73581         (__libc_memalign): Likewise.
73582         (__libc_memalign): Likewise.
73583         (__libc_pvalloc): Likewise.
73584         (__libc_calloc): Likewise.
73586 2012-09-05  John Tobey  <john.tobey@gmail.com>
73588         [BZ #13542]
73589         * manual/arith.texi (Operations on Complex): Fix description
73590         of carg branch cut.
73592 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73594         [BZ #10014]
73595         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73596         host name.
73598         [BZ #10038]
73599         * manual/memory.texi (Memory): Make order of menu items match
73600         order of sections.
73602 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73604         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73605         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73606         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73608 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73610         * csu/libc-tls.c (static_dtv): Renamed to ...
73611         (_dl_static_dtv): This.  Make it global.
73612         (_dl_initial_dtv): Removed.
73613         (__libc_setup_tls): Updated.
73614         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73615         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73616         DL_INITIAL_DTV.
73618 2012-09-06  Petr Machata  <pmachata@redhat.com>
73620         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
73621         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
73622         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73623         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
73625 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73627         [BZ #14545]
73628         * csu/libc-tls.c (_dl_initial_dtv): New variable.
73629         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
73630         freeing dtv[-1].
73632 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73634         [BZ #14544]
73635         * Makeconfig (link-static-before-libc): Replace $(+prector)
73636         with $(+prectorT).
73637         (link-static-after-libc): Replace $(+postctor) with
73638         $(+postctorT).
73639         (link-bounded): Replace $(+prector)/$(+postctor) with
73640         $(+prectorT)/$(+postctorT).
73641         (+prectorT): New macro.
73642         (+postctorT): Likewise.
73644 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73646         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
73647         (round_str): Handle values above the maximum for IBM long double
73648         as inexact.
73649         * stdlib/tst-strtod-round.c (tests): Regenerated.
73651 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73653         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
73654         assembler flag.
73655         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
73656         zarch_nohighgprs around the zarch optimized routines.
73657         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
73658         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
73659         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
73660         for zarch.
73662 2012-09-05  David S. Miller  <davem@davemloft.net>
73664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73666         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
73667         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
73668         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
73669         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73670         entries.
73672 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73674         * malloc/arena.c: Fold copyright years.
73675         * malloc/mcheck.c, malloc/memusage.c: Likewise.
73677 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73679         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73681 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73683         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
73685 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73687         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
73688         change internal state upon failure.
73690 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73692         * malloc/mcheck.c (mcheck_check_all): Fix typo.
73693         * malloc/memusage.c (mmap): Likewise.
73694         (mmap64, mremap): Likewise.  Adjust name in comment.
73696 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73698         * libio/fileops.c: Fix typos in comments.
73699         * libio/oldfileops.c: Likewise.
73700         * libio/wfileops.c: Likewise.
73702 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73704         [BZ #1349]
73705         * malloc/Makefile (tests): Add tst-malloc-usable test case.
73706         (tst-malloc-usable-ENV): Set environment for test case.
73707         * malloc/hooks.c (malloc_check_get_size): New function to get
73708         requested size.
73709         * malloc/malloc.c (musable): Use malloc_check_get_size.
73710         * malloc/tst-malloc-usable.c: New test case.
73712 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73714         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
73716 2012-09-05  Allan McRae  <allan@archlinux.org>
73718         [BZ #13966]
73719         * configure.in (CXX_SYSINCLUDES): Use compiler output to
73720         determine header location.
73721         * configure: Regenerated.
73723 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73725         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
73726         float format.
73727         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
73728         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
73729         format.
73730         (test): Regenerate.
73732 2012-09-04  David S. Miller  <davem@davemloft.net>
73734         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
73735         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
73736         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
73738 2012-09-04  Florian Weimer  <fweimer@redhat.com>
73740         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
73741         failures.
73743         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73745 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
73747         [BZ #9914]
73748         * libio/iogetdelim.c: Include <limits.h>.
73749         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
73750         + len + 1 would overflow.
73752 2012-09-03  Andreas Jaeger  <aj@suse.de>
73754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73755         * sysdeps/i386/fpu/libm-test-ulps: Update.
73757 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73759         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73760         Add s_sinf-sse2, s_conf-sse2.
73762         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
73763         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
73764         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
73765         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
73767         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
73768         for using routine as __sinf_ia32.
73769         Use macro for function declaration and weak_alias.
73770         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
73771         for using routine as __cosf_ia32.
73772         Use macro for function declaration and weak_alias.
73774         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
73775         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
73777         * sysdeps/x86_64/fpu/s_sinf.S: New file.
73778         * sysdeps/x86_64/fpu/s_cosf.S: New file.
73779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73781         * math/libm-test.inc (cos_test): Add more test cases.
73782         (sin_test): Likewise.
73783         (sincos_test): Likewise.
73785 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73787         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
73788         (IFUNC_RESOLVE): Make pointers to the specialized implementations
73789         hidden.
73790         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
73792 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
73794         [BZ #14538]
73795         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
73796         first element of the GOT.
73797         (elf_machine_load_address): Return the difference between
73798         the runtime address of _DYNAMIC and elf_machine_dynamic ().
73800 2012-09-01  Allan McRae  <allan@archlinux.org>
73802         [BZ #13412]
73803         * configure.in (AWK): Require gawk version 3.0 or later.
73804         * configure: Regenerated.
73806 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
73808         * sysdeps/unix/sysv/linux/kernel-features.h
73809         (__ASSUME_POSIX_CPU_TIMERS): Remove.
73810         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73811         [__NR_clock_getres]: Make code unconditional.
73812         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
73813         (clock_getcpuclockid): Remove code left unreachable by removal of
73814         conditionals.
73815         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
73816         code unconditional.
73817         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73818         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73819         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
73820         Make code unconditional.
73821         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73822         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73823         * sysdeps/unix/sysv/linux/clock_settime.c
73824         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
73825         conditional code.
73826         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
73827         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73829 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
73831         [BZ #14476]
73832         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
73833         scripts/test-installation.pl.
73835         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
73836         and $ld_so_version if it is set.
73838 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73840         [BZ #14516]
73841         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
73842         failure if reading from procfs failed.
73843         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
73845 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73847         * sysdeps/unix/sysv/linux/kernel-features.h
73848         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
73849         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73850         Remove conditional code.
73851         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73852         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
73853         Remove conditional code.
73854         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73855         * sysdeps/unix/sysv/linux/i386/fxstat.c
73856         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73857         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73858         * sysdeps/unix/sysv/linux/i386/fxstatat.c
73859         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73860         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73861         * sysdeps/unix/sysv/linux/i386/lxstat.c
73862         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73863         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73864         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
73865         Remove conditional code.
73866         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73867         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73868         Remove conditional code.
73869         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73870         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
73871         <kernel-features.h>.
73872         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
73873         Remove.
73874         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
73875         Remove conditional code.
73876         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73877         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
73878         Remove conditional.
73880 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
73882         [BZ #5400]
73883         * NEWS: Add fixed bug number.
73885 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73887         [BZ #14519]
73888         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
73889         underflowing exponent in case of negative sign.
73890         * stdlib/tst-strtod-round-data: Add more tests.
73891         * stdlib/tst-strtod-round.c (tests): Regenerated.
73893         [BZ #3479]
73894         * stdlib/strtod_l.c (NDIG): Remove.
73895         (HEXNDIG): Likewise.
73896         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
73897         smallest representable value.
73898         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
73899         lie within an exact representation of 1/2 ulp of the result.
73900         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
73901         unconditionally.
73902         (TENS_P9_IDX): Define unconditionally.
73903         (TENS_P9_SIZE): Likewise.
73904         (TENS_P10_IDX): Likewise.
73905         (TENS_P10_SIZE): Likewise.
73906         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
73907         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
73908         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
73909         entries for 10^2^13 and 10^2^14.
73910         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
73911         (TENS_P13_IDX): Define.
73912         (TENS_P13_SIZE): Likewise.
73913         (TENS_P14_IDX): Likewise.
73914         (TENS_P14_SIZE): Likewise.
73915         (_fpioconst_pow10): Change array size to
73916         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
73917         unconditional.
73918         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
73919         1024]: Add entries for 10^2^13 and 10^2^14.
73920         [LAST_POW10 > _LAST_POW10]: Remove #error.
73921         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
73922         (_fpioconst_pow10): Change array size to
73923         FPIOCONST_POW10_ARRAY_SIZE.
73924         * stdlib/gen-fpioconst.c: New file.
73925         * stdlib/gen-tst-strtod-round.c: Likewise.
73926         * stdlib/tst-strtod-round-data: Likewise.
73927         * stdlib/tst-strtod-round.c: Likewise.
73928         * stdlib/Makefile (tests): Add tst-strtod-round.
73930         [BZ #14459]
73931         * stdlib/strtod_l.c: Include <stdint.h>.
73932         (NDEBUG): Do not define.
73933         (round_and_return): Change EXPONENT parameter to type intmax_t.
73934         Rearrange calculations to avoid internal overflow possibilities.
73935         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
73936         Rearrange calculations to avoid internal overflow possibilities.
73937         Assert that number fits inside MPNSIZE limbs.
73938         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
73939         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
73940         calculations and add assertions to avoid internal overflow
73941         possibilities.  Add casts to avoid signed/unsigned operations.
73942         * stdlib/tst-strtod-overflow.c: New file.
73943         * stdlib/Makefile (tests): Add tst-strtod-overflow.
73945 2012-08-25  Marek Polacek  <polacek@redhat.com>
73947         * time/time.h: Fix some typos in comments.
73949 2012-08-23  Roland McGrath  <roland@hack.frob.com>
73951         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
73952         * posix/tst-rfc3484-2.c: Likewise.
73953         * posix/tst-rfc3484-3.c: Likewise.
73955 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
73957         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
73958         (EF_ARM_ABI_FLOAT_HARD): Likewise.
73960 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
73962         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
73963         #include of fxstatat64.c.
73965 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73967         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
73968         * shadow/getspent_r.c: Likewise.
73969         * shadow/getspnam.c: Likewise.
73970         * shadow/getspnam_r.c: Likewise.
73971         * gshadow/getsgent.c: Likewise.
73972         * gshadow/getsgent_r.c: Likewise.
73973         * gshadow/getsgnam.c: Likewise.
73974         * gshadow/getsgnam_r.c: Likewise.
73975         * inet/getnetbyad.c: Likewise.
73976         * inet/getnetbyad_r.c: Likewise.
73977         * inet/getnetbynm.c: Likewise.
73978         * inet/getnetbynm_r.c: Likewise.
73979         * inet/getnetent.c: Likewise.
73980         * inet/getnetent_r.c: Likewise.
73981         * inet/getproto.c: Likewise.
73982         * inet/getproto_r.c: Likewise.
73983         * inet/getprtent.c: Likewise.
73984         * inet/getprtent_r.c: Likewise.
73985         * inet/getprtname.c: Likewise.
73986         * inet/getprtname_r.c: Likewise.
73987         * inet/getrpcbyname.c: Likewise.
73988         * inet/getrpcbyname_r.c: Likewise.
73989         * inet/getrpcbynumber.c: Likewise.
73990         * inet/getrpcbynumber_r.c: Likewise.
73991         * inet/getrpcent.c: Likewise.
73992         * inet/getrpcent_r.c: Likewise.
73993         * inet/getaliasent.c: Likewise.
73994         * inet/getaliasent_r.c: Likewise.
73995         * inet/getaliasname.c: Likewise.
73996         * inet/getaliasname_r.c: Likewise.
73997         * nscd/getgrgid_r.c: Likewise.
73998         * nscd/getgrnam_r.c: Likewise.
73999         * nscd/gethstbyad_r.c: Likewise.
74000         * nscd/gethstbynm3_r.c: Likewise.
74001         * nscd/getpwnam_r.c: Likewise.
74002         * nscd/getpwuid_r.c: Likewise.
74003         * nscd/getsrvbynm_r.c: Likewise.
74004         * nscd/getsrvbypt_r.c: Likewise.
74005         * nscd/gai.c: Likewise.
74007         * configure.in (build_nscd): New substituted variable, set
74008         by --disable-build-nscd and defaults to $use_nscd.
74009         * configure: Regenerated.
74010         * config.make.in (build-nscd): New substituted variable.
74011         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74012         Change conditional to require [$(build-nscd) = yes] as well.
74013         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74015         [BZ #13696]
74016         * configure.in (use_nscd): New substituted variable, set by
74017         --disable-nscd.  If enabled, define USE_NSCD.
74018         * configure: Regenerated.
74019         * config.h.in: Add USE_NSCD.
74020         * config.make.in (use-nscd): New substituted variable.
74021         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74022         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74023         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74024         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74025         (CFLAGS-getgrnam_r.c): Likewise.
74026         (CFLAGS-initgroups.c): Likewise.
74027         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74028         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74029         Variables removed.
74030         * inet/getnetgrent_r.c
74031         (nscd_setnetgrent): New function, broken out of ...
74032         (setnetgrent): ... here.  Call it.
74033         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74034         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74035         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74036         * nscd/Makefile (routines, aux): Move definitions after include of
74037         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74038         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74039         Conditionalize on [USE_NSCD].
74040         (is_nscd, nscd_init_cb): Likewise.
74041         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74042         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74043         * nss/nss_db/db-init.c: Likewise.
74044         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74045         [USE_NSCD].
74046         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74047         (make_request): Use it.
74048         (cache_valid_p): New function.
74049         (__check_pf): Use it.
74050         * NEWS: Add item for --disable-nscd.
74052 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74054         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74055         to support sed >= 4.2.1-20-ga9bf076.
74056         * configure: Regenerated.
74058 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74060         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74061         Conditionalize whole body on [IREL].
74063 2012-08-22  Jeff Law <law@redhat.com>
74065         [BZ #14505]
74066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74067         if the family is PF_UNSPEC.
74069 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74071         * Makerules (lib-version): Rename from V.
74072         (install-lib-nosubdir): Change V to lib-version.
74074 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74076         [BZ #14252]
74077         * powerpc32/power6/wcschr.c: New file.
74078         * powerpc32/power6/wcscpy.c: New file.
74079         * powerpc32/power6/wcsrchr.c: New file.
74080         * powerpc64/power6/wcschr.c: New file.
74081         * powerpc64/power6/wcscpy.c: New file.
74082         * powerpc64/power6/wcsrchr.c: New file.
74084 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74086         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74087         (two_way_short_needle): Use it.
74088         * string/strstr.c (AVAILABLE1_USES_J): Define.
74089         * string/strcasestr.c: Likewise.
74091         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74092         array references.
74093         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74095         [BZ #11607]
74096         * NEWS: Add an entry.
74097         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74098         define their defaults.
74099         (two_way_short_needle): Detect end-of-string on-the-fly.
74100         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74101         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74102         * string/bug-strcasestr1.c: New test.
74103         * string/Makefile: Run it.
74105 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74107         [BZ #11607]
74108         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74109         the first character.
74111 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74113         * csu/elf-init.c (__libc_csu_irel): Function removed.
74114         * csu/libc-start.c (apply_irel): New function.
74115         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74117 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74119         * sysdeps/unix/sysv/linux/kernel-features.h
74120         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74121         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74122         <kernel-features.h>.
74123         [__NR_fadvise64_64]: Make code unconditional.
74124         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74125         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74126         !__NR_fadvise64_64)]: Likewise.
74127         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74128         !__NR_fadvise64_64))]: Likewise.
74129         [__NR_fadvise64]: Make code unconditional.
74130         [!__NR_fadvise64]: Remove conditional code.
74131         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74132         <kernel-features.h>.
74133         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74134         unconditional.
74135         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74136         conditional code.
74137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74138         not include <kernel-features.h>.
74139         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74140         unconditional.
74141         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74142         conditional code.
74143         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74144         include <kernel-features.h>.
74145         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74146         unconditional.
74147         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74148         conditional code.
74150 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74152         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74153         slight instruction rearrangements per scrollpipe analysis.
74154         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74156 2012-08-20  Roland McGrath  <roland@hack.frob.com>
74158         * manual/syslog.texi (syslog; vsyslog, closelog):
74159         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74160         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74162         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74163         DSOCAPS to match condition on defining it.
74165 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
74167         * sysdeps/unix/sysv/linux/kernel-features.h
74168         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74170         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74171         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74173         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74174         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74176         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74177         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74179         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74180         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74182         * sysdeps/unix/sysv/linux/kernel-features.h
74183         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74184         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74185         unconditional.
74186         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74187         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74188         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74189         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74190         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74191         Make code unconditional.
74192         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74193         (__mmap64) [!__NR_mmap2]: Likewise.
74194         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74195         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74196         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74197         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74198         [__NR_mmap2]: Make code unconditional.
74199         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74200         (__mmap64) [!__NR_mmap2]: Likewise.
74202 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74204         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74206 2012-08-18  Andreas Jaeger  <aj@suse.de>
74208         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74210 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74212         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74213         * include/unistd.h (__have_sock_cloexec): Likewise.
74214         (__have_pipe2): Likewise.
74215         (__have_dup3): Likewise.
74217 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74219         [BZ #9685]
74220         * include/unistd.h (__have_pipe2): Change define into an extern int.
74221         (__have_dup3): Likewise.
74222         * socket/have_sock_cloexec.c: Include fcntl.h.
74223         (__have_pipe2): New variable.
74224         (__have_dup3): Likewise.
74226 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
74228         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74230 2012-08-17  Marek Polacek  <polacek@redhat.com>
74232         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
74233         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
74235 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74237         * configure.in: Add AC_SUBST for sysheaders.
74238         * configure: Regenerated.
74239         * config.make.in (sysheaders): New substituted variable.
74241         * sysdeps/unix/mkfifo.c: Moved ...
74242         * sysdeps/posix/mkfifo.c: ... here.
74243         * sysdeps/unix/mkfifoat.c: Moved ...
74244         * sysdeps/posix/mkfifoat.c: ... here.
74246         * sysdeps/unix/utime.c: Moved ...
74247         * sysdeps/posix/utime.c: ... here.
74249         * sysdeps/unix/time.c: Moved ...
74250         * sysdeps/posix/time.c: ... here.
74251         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
74252         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
74254         * sysdeps/unix/nice.c: Moved ...
74255         * sysdeps/posix/nice.c: ... here.
74257         * sysdeps/unix/alarm.c: Moved ...
74258         * sysdeps/posix/alarm.c: ... here.
74260         * intl/Makefile ($(codeset_mo)): Depend on the input file.
74262 2012-08-17  Jeff Law <law@redhat.com>
74264         * intl/Makefile (codeset_mo): New variable.
74265         ($(codeset_mo)): New target.
74266         (tst-codeset.out): Depend on that.  Remove explicit rule.
74267         (tst-gettext3.out, tst-gettext5.out): Likewise.
74268         (LOCPATH-ENV, tst-codeset-ENV): New variables.
74269         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
74270         * intl/tst-codeset.sh: Remove.
74271         * intl/tst-gettext3.sh: Likewise.
74272         * intl/tst-gettext5.sh: Likewise.
74274 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74276         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
74277         * sysdeps/unix/syscalls.list: ... here.
74279         * sysdeps/posix/getaddrinfo.c
74280         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
74281         (gaiconf_init, gaiconf_reload): Use them.
74282         [!_STATBUF_ST_NSEC]
74283         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
74284         Define using time_t rather than struct timespec.
74286         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
74287         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
74288         Macros removed.
74289         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
74290         [!NO_THREADS].
74291         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
74292         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
74293         Likewise.
74295         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
74296         __libc_cleanup_push argument.
74298         * bits/param.h: New file.
74299         * misc/sys/param.h: New file.
74300         * include/sys/param.h: New file.
74301         * misc/Makefile (headers): Add bits/param.h.
74302         * sysdeps/generic/sys/param.h: File removed.
74303         * sysdeps/unix/sysv/linux/bits/param.h: New file.
74304         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
74305         * sysdeps/mach/hurd/bits/param.h: New file.
74306         * sysdeps/mach/hurd/sys/param.h: File removed.
74308         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
74309         last change.
74311         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
74312         [_IO_MTSAFE_IO].
74313         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
74314         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
74315         New macros.
74317         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
74318         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
74319         rather than -D_IO_MTSAFE_IO conditionally.
74320         * stdio-common/Makefile (CPPFLAGS): Likewise.
74321         * wcsmbs/Makefile (CPPFLAGS): Likewise.
74322         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
74323         Use $(libio-mtsafe).
74324         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
74325         of -D_IO_MTSAFE_IO.
74326         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
74327         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
74328         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
74329         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
74330         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
74331         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
74332         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
74333         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
74334         (CFLAGS-fread_u_chk.c): Likewise.
74335         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
74336         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
74337         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
74338         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
74339         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
74340         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
74341         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
74342         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
74343         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
74345         * libio/Makefile: Test [$(libc-reentrant) = yes]
74346         instead of [$(filter %REENTRANT, $(defines)) nonempty].
74348         * Makeconfig
74349         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
74350         * sysdeps/pthread/configure: File removed.
74351         * sysdeps/pthread/Makeconfig: New file.
74352         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
74353         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
74355 2012-08-16  Gary Benson  <gbenson@redhat.com>
74357         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
74358         unmapping the first object in a namespace.
74360 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74362         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
74363         (__internal_setnetgrent): ... this.  Add internal_function to
74364         definition.  Add libc_hidden_def.
74365         (setnetgrent): Update caller.
74366         (internal_endnetgrent): Renamed to ...
74367         (__internal_endnetgrent): ... this.  Add internal_function to
74368         definition.  Add libc_hidden_def.
74369         (endnetgrent): Update caller.
74370         (internal_getnetgrent_r): Renamed to ...
74371         (__internal_getnetgrent_r): ... this.  Add internal_function to
74372         definition.  Add libc_hidden_def.
74373         (__getnetgrent_r): Update caller.
74374         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
74376 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74378         * stdlib/longlong.h: Update from GCC.
74380 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74382         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
74383         on _QL, which is set by umul_ppmm but never used.
74384         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
74385         variables, which are set by GMP macros but never used.
74386         * stdio-common/_itowa.c (_itowa): Likewise.
74387         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
74388         * stdlib/mod_1.c (mpn_mod_1): Likewise.
74390 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
74392         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
74393         struct La_sh_regs is not constant.
74394         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
74395         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
74396         and struct La_sparc64_regs are not constant.
74398 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74400         * sysdeps/unix/sysv/linux/kernel-features.h
74401         (__ASSUME_POSIX_TIMERS): Remove.
74402         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74403         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74404         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
74405         Make code unconditional.
74406         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74407         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
74408         Make code unconditional.
74409         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74410         * sysdeps/unix/sysv/linux/clock_nanosleep.c
74411         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
74412         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74413         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
74414         Make code unconditional.
74415         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74416         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
74417         (__libc_missing_posix_timers): Remove.
74419 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74421         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
74422         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
74424         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
74426         * elf/dl-sym.c: Include <stdlib.h>.
74428         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
74429         constants, which avoids warnings in 32-bit builds.
74431         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
74432         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
74434         * misc/lseek.c: File moved to ...
74435         * io/lseek.c: ... here.
74437         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
74439         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
74440         shifting LEN more than 31 bits at once.
74442 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74444         [BZ #14195]
74445         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
74446         segmentation fault for a case of two empty input strings.
74447         * string/test-strncasecmp.c (check1): Renamed to...
74448         (bz12205): ...this.
74449         (bz14195): Add new testcase for two empty input strings and N > 0.
74450         (test_main): Call new testcase, adapt for renamed function.
74452 2012-08-15  Andreas Jaeger  <aj@suse.de>
74454         [BZ #14090]
74455         * crypt/md5test2.c: New test, based on test supplied by Serge
74456         Belyshev <belyshev@depni.sinp.msu.ru>.
74457         * crypt/Makefile (xtests): Add md5test-giant..
74458         * crypt/Makefile ($(objpfx)md5test-giant): Add.
74460 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
74462         [BZ #14090]
74463         * crypt/md5.c (md5_process_block): Don't assume the buffer
74464         length is less than 2**32.
74465         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
74466         length is less than 2**64.
74468 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74470         * string/str-two-way.h: Include <sys/param.h>.
74471         (MAX): Macro removed.
74473         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
74474         Move #define and #undef of memmove to just before and after
74475         including <string.h>.
74477         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
74478         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
74479         and after including <string.h>.  Move declarations of
74480         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
74481         to before #include "string/memmove.c".
74483         * include/dirent.h: Declare __getdirentries.
74485         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
74486         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
74488 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
74490         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
74491         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
74492         * sysdeps/i386/configure: Regenerated.
74493         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
74494         STABS_CURRENT_FILE, and STABS_FUN.
74495         (END): Remove call to STABS_FUN_END.
74496         (STABS_CURRENT_FILE1): Delete.
74497         (STABS_CURRENT_FILE): Likewise.
74498         (STABS_FUN): Likewise.
74499         (STABS_FUN_END): Likewise.
74500         (STABS_FUN2): Likewise.
74501         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
74502         * sysdeps/x86_64/configure: Regenerated.
74504 2012-08-14  Roland McGrath  <roland@hack.frob.com>
74506         * elf/dl-open.c: Include <atomic.h>.
74507         * elf/dl-lookup.c: Likewise.
74509 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
74511         * sysdeps/unix/sysv/linux/kernel-features.h
74512         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
74513         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
74514         unconditionally.
74515         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
74516         unconditionally.
74517         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
74518         condition on __ASSUME_CLONE_THREAD_FLAGS.
74520 2012-08-14  Andreas Jaeger  <aj@suse.de>
74522         * sysdeps/i386/fpu/libm-test-ulps: Update.
74524 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
74526         * include/atomic.h (atomic_exchange_and_add): Split into ...
74527         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
74528         New atomic macros.
74530 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
74532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74534 2012-08-13  Jeff Law <law@redhat.com>
74536         * manual/stdio.texi (snprintf): Clarify handling of the trailing
74537         null byte in the output string.
74539 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
74541         * sysdeps/unix/sysv/linux/kernel-features.h
74542         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
74543         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74544         (__ASSUME_ARG_MAX_STACK_BASED): Define.
74545         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
74546         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
74547         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
74548         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
74550 2012-08-09  Jeff Law <law@redhat.com>
74552         [BZ #13939]
74553         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74554         When avoid_arena is set, don't retry in the that arena.  Pick the
74555         next one, whatever it might be.
74556         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
74557         (arena_lock): Pass in new parameter to arena_get2.
74558         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
74559         arena_get2.
74560         (__libc_malloc): Unify retrying after main arena failure with
74561         __libc_memalign version.
74562         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74564 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
74566         [BZ #14166]
74567         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74568         to __redirect_strstr.
74569         (__strstr_sse42): Use typeof __redirect_strstr.
74570         (__strstr_ia32): Likewise.
74571         (__libc_strstr): New prototype.
74572         (strstr): Renamed to ...
74573         (__libc_strstr): This.
74574         (strstr): New strong alias of __libc_strstr.
74575         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74576         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74577         __redirect_time.
74578         Include <time.h>.
74579         (__libc_time): New prototype.
74580         (time_ifunc): Replace time with __libc_time.
74581         (time): New strong alias and hidden definition of __libc_time.
74582         (__GI_time): Remove strong alias.
74583         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74584         Include <stddef.h>.
74585         (memmove): Redefined to __redirect_memmove.
74586         (__memmove_sse2): Use typeof __redirect_memmove.
74587         (__memmove_ssse3): Likewise.
74588         (__memmove_ssse3_back): Likewise.
74589         (__libc_memmove): New prototype.
74590         (memmove): Renamed to ...
74591         (__libc_memmove): This.
74592         (memmove): New strong alias of __libc_memmove.
74594 2012-08-08  Mark Salter  <msalter@redhat.com>
74596         * elf/elf.h
74597         (R_MN10300_TLS_GD): Define.
74598         (R_MN10300_TLS_LD): Likewise.
74599         (R_MN10300_TLS_LDO): Likewise.
74600         (R_MN10300_TLS_GOTIE): Likewise.
74601         (R_MN10300_TLS_IE): Likewise.
74602         (R_MN10300_TLS_LE): Likewise.
74603         (R_MN10300_TLS_DTPMOD): Likewise.
74604         (R_MN10300_TLS_DTPOFF): Likewise.
74605         (R_MN10300_TLS_TPOFF): Likewise.
74606         (R_MN10300_SYM_DIFF): Likewise.
74607         (R_MN10300_ALIGN): Likewise.
74608         (R_MN10300_NUM): Update.
74610 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
74612         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74613         Remove.
74615 2012-08-08  Roland McGrath  <roland@hack.frob.com>
74617         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74619         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
74620         sysdeps/unix -> sysdeps/posix move.
74621         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
74623 2012-08-07      Allan McRae     <allan@archlinux.org>
74625         [BZ #14303]
74626         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
74627         (SUNOS_CPP): Likewise.
74628         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
74629         not found.
74630         (open_input): Call CPP using execvp.
74632 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74634         * sysdeps/unix/sysv/linux/kernel-features.h
74635         (__ASSUME_PROT_GROWSUPDOWN): Remove.
74636         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74637         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74638         (__ASSUME_WAITID_SYSCALL): Likewise.
74639         * sysdeps/unix/sysv/linux/dl-execstack.c
74640         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
74641         code unconditional.
74642         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
74643         conditional code.
74644         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
74645         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
74646         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
74647         code.
74648         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
74649         unconditional.
74650         [__ASSUME_WAITID_SYSCALL]: Likewise.
74651         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
74653 2012-08-07  Roland McGrath  <roland@hack.frob.com>
74655         * sysdeps/unix/closedir.c: Renamed to ...
74656         * sysdeps/posix/closedir.c: ... here.
74657         * sysdeps/unix/dirfd.c: Renamed to ...
74658         * sysdeps/posix/dirfd.c: ... here.
74659         * sysdeps/unix/dirstream.h: Renamed to ...
74660         * sysdeps/posix/dirstream.h: ... here.
74661         * sysdeps/unix/fdopendir.c: Renamed to ...
74662         * sysdeps/posix/fdopendir.c: ... here.
74663         * sysdeps/unix/opendir.c: Renamed to ...
74664         * sysdeps/posix/opendir.c: ... here.
74665         * sysdeps/unix/readdir.c: Renamed to ...
74666         * sysdeps/posix/readdir.c: ... here.
74667         * sysdeps/unix/readdir_r.c: Renamed to ...
74668         * sysdeps/posix/readdir_r.c: ... here.
74669         * sysdeps/unix/rewinddir.c: Renamed to ...
74670         * sysdeps/posix/rewinddir.c: ... here.
74671         * sysdeps/unix/seekdir.c: Renamed to ...
74672         * sysdeps/posix/seekdir.c: ... here.
74673         * sysdeps/unix/telldir.c: Renamed to ...
74674         * sysdeps/posix/telldir.c: ... here.
74675         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
74676         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
74677         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
74678         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
74680         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
74681         * bits/fcntl.h: ... here.
74683         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
74684         not 0.
74685         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
74686         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
74687         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74688         (struct flock): Move l_start, l_len to the beginning.
74689         Use __pid_t for l_pid.
74690         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
74691         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
74692         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
74693         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
74694         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
74695         [__USE_LARGEFILE64] (struct flock64): New type.
74696         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
74698         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
74699         * bits/dirent.h: ... here.
74701         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
74702         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
74704 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74706         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74707         Change from 2.6.0 to 2.6.16.
74708         * sysdeps/unix/sysv/linux/configure: Regenerated.
74709         * sysdeps/unix/sysv/linux/kernel-features.h
74710         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
74711         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
74712         version.
74713         (__ASSUME_UTIMES): Likewise.
74714         (__ASSUME_CLONE_STOPPED): Remove.
74715         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
74716         architectures, not kernel version.
74717         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
74718         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74719         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74720         (__ASSUME_WAITID_SYSCALL): Likewise.
74721         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
74722         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
74723         * README: State 2.6.16 as minimum Linux kernel version.  Do not
74724         refer to older versions.
74726 2012-08-06  Roland McGrath  <roland@hack.frob.com>
74728         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
74729         Define alphasort64 as an alias.
74730         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
74731         Define versionsort64 as an alias.
74732         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
74733         Define scandir64 as an alias.
74734         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
74735         Define scandirat64 as an alias.
74736         * dirent/alphasort64.c (alphasort64):
74737         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
74738         * dirent/versionsort64.c: Likewise.
74739         * dirent/scandir64.c: Likewise.
74740         * dirent/scandirat64.c: Likewise.
74741         * sysdeps/wordsize-64/alphasort.c: File removed.
74742         * sysdeps/wordsize-64/alphasort64.c: File removed.
74743         * sysdeps/wordsize-64/scandir.c: File removed.
74744         * sysdeps/wordsize-64/scandir64.c: File removed.
74745         * sysdeps/wordsize-64/scandirat.c: File removed.
74746         * sysdeps/wordsize-64/scandirat64.c: File removed.
74747         * sysdeps/wordsize-64/versionsort.c: File removed.
74748         * sysdeps/wordsize-64/versionsort64.c: File removed.
74749         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
74750         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
74751         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
74752         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
74753         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
74754         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
74755         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
74756         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
74758         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
74759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74760         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
74761         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74762         [defined __arch64__ || defined __sparcv9]
74763         (__INO_T_MATCHES_INO64_T): New macro.
74764         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74765         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
74766         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
74767         * sysdeps/unix/sysv/linux/bits/dirent.h
74768         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74769         (_DIRENT_MATCHES_DIRENT64): New macro.
74771         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
74772         Define lockf64 as an alias.
74773         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
74774         Define fseeko64 as an alias.
74775         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
74776         Define ftello64 as an alias.
74777         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
74778         Define _IO_fgetpos64 and fgetpos64 as aliases.
74779         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
74780         Define _IO_fsetpos64 and fsetpos64 as aliases.
74781         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
74782         Conditionalize body on this.
74783         * libio/fseeko64.c: Likewise.
74784         * libio/ftello64.c: Likewise.
74785         * libio/iofgetpos64.c: Likewise.
74786         * libio/iofsetpos64.c: Likewise.
74787         * sysdeps/wordsize-64/lockf.c: File removed.
74788         * sysdeps/wordsize-64/lockf64.c: File removed.
74789         * sysdeps/wordsize-64/fseeko.c: File removed.
74790         * sysdeps/wordsize-64/fseeko64.c: File removed.
74791         * sysdeps/wordsize-64/ftello.c: File removed.
74792         * sysdeps/wordsize-64/ftello64.c: File removed.
74793         * sysdeps/wordsize-64/iofgetpos.c: File removed.
74794         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
74795         * sysdeps/wordsize-64/iofsetpos.c: File removed.
74796         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
74797         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
74798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
74799         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
74800         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
74801         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
74802         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
74803         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
74804         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
74805         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
74806         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
74808         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74810         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
74811         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74812         [defined __arch64__ || defined __sparcv9]
74813         (__OFF_T_MATCHES_OFF64_T): New macro.
74814         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74815         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74817         (__OFF_T_MATCHES_OFF64_T): New macro.
74819 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74821         * stdlib/secure-getenv.c (__secure_getenv): Replace
74822         GLIBC_2_16 with GLIBC_2_17.
74824 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74826         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
74827         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74829 2012-08-03  David S. Miller  <davem@davemloft.net>
74831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74833 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74835         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
74836         Remove.
74837         (__ASSUME_CORRECT_SI_PID): Likewise.
74838         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
74839         (__ASSUME_TMPFS_NAME): Likewise.
74840         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
74841         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
74842         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
74843         (HAVE_AUX_SECURE): Make definition unconditional.
74844         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
74845         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
74847 2012-08-03  Roland McGrath  <roland@hack.frob.com>
74849         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
74850         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
74851         * sysdeps/mach/hurd/eloop-threshold.h: New file.
74852         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74853         __eloop_threshold instead of SYMLOOP_MAX.
74855         * sysdeps/generic/eloop-threshold.h: New file.
74856         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
74857         of MAXSYMLINKS.
74858         * elf/chroot_canon.c (chroot_canon): Likewise.
74860 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74862         [BZ #13717]
74863         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74864         Change to 2.6.0 everywhere.
74865         * sysdeps/unix/sysv/linux/configure: Regenerated.
74866         * sysdeps/unix/sysv/linux/kernel-features.h
74867         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
74868         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
74869         kernel versions.
74870         (__ASSUME_POSIX_TIMERS): Define unconditionally.
74871         (__ASSUME_FUTEX_REQUEUE): Remove.
74872         (__ASSUME_STATFS64): Define unconditionally.
74873         (__ASSUME_AT_SECURE): Likewise.
74874         (__ASSUME_CORRECT_SI_PID): Likewise.
74875         (__ASSUME_TGKILL): Define without depending on kernel version for
74876         i386.
74877         (__ASSUME_UTIMES): Likewise.
74878         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
74879         kernel version.
74880         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
74881         (__ASSUME_TMPFS_NAME): Likewise.
74882         * README: Update reference to Linux kernel versions.
74884 2012-08-02  Marek Polacek  <polacek@redhat.com>
74886         [BZ #14150]
74887         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
74888         libc_cv_asm_type_prefix with %.
74889         * configure: Regenerated.
74890         * include/libc-symbols.h: Remove comment about
74891         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74892         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
74893         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
74894         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
74895         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
74896         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74897         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
74898         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
74899         * elf/tst-unique2mod1.c: Likewise.
74900         * elf/tst-unique1mod2.c: Likewise.
74901         * elf/tst-unique1mod1.c: Likewise.
74902         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
74903         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
74904         Replace ASM_TYPE_DIRECTIVE with .type.
74905         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74906         * sysdeps/i386/sysdep.h: Likewise.
74907         * sysdeps/x86_64/sysdep.h: Likewise.
74908         * sysdeps/sh/sysdep.h: Likewise.
74909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74910         Do not define ASM_TYPE_DIRECTIVE.
74911         * sysdeps/powerpc/sysdep.h: Likewise.
74912         * sysdeps/powerpc/powerpc32/sysdep.h:
74913         Replace ASM_TYPE_DIRECTIVE with .type.
74914         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74915         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74916         * sysdeps/i386/fpu/e_powf.S: Likewise.
74917         * sysdeps/i386/fpu/e_expl.S: Likewise.
74918         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74919         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74920         * sysdeps/i386/fpu/e_pow.S: Likewise.
74921         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74922         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74923         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74924         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74925         * sysdeps/i386/fpu/e_log2.S: Likewise.
74926         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74927         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74928         * sysdeps/i386/fpu/e_powl.S: Likewise.
74929         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74930         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74931         * sysdeps/i386/fpu/e_logl.S: Likewise.
74932         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74933         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74934         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74935         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74936         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74937         * sysdeps/i386/fpu/e_log.S: Likewise.
74938         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74939         * sysdeps/i386/fpu/e_logf.S: Likewise.
74940         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74941         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74942         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74943         * sysdeps/i386/fpu/e_log10.S: Likewise.
74944         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74945         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74946         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74947         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74948         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74949         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
74950         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74951         * sysdeps/i386/i686/strtok.S: Likewise.
74952         * sysdeps/i386/i386-mcount.S: Likewise.
74953         * sysdeps/i386/strtok.S: Likewise.
74954         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
74955         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74956         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74957         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74958         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74959         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74960         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74961         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74962         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74963         * sysdeps/x86_64/_mcount.S: Likewise.
74964         * sysdeps/x86_64/strtok.S: Likewise.
74965         * sysdeps/sh/_mcount.S: Likewise.
74967 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74969         * libio/iofopen.c: Include <fcntl.h>.
74970         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
74971         (_IO_fopen64, fopen64): Define as aliases.
74972         * libio/iofopen64.c: Include <fcntl.h>.
74973         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
74974         Conditionalize body on this.
74975         * sysdeps/wordsize-64/iofopen.c: File removed.
74976         * sysdeps/wordsize-64/iofopen64.c: File removed.
74978 2012-08-01  Marek Polacek  <polacek@redhat.com>
74980         * libc/Makeconfig: Use elf in place of binfmt-subdir.
74981         Use dlfcn directly instead of a variable.
74982         (binfmt-subdir): Do not define.
74983         (dlfcn): Likewise.
74985 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
74987         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
74988         Remove all definitions.
74989         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
74990         <kernel-features.h>.
74991         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74992         (miss_F_GETOWN_EX): Remove all definitions.
74993         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
74994         macro definition.
74995         [!__ASSUME_FCNTL64]: Remove conditional code.
74996         [__ASSUME_FCNTL64]: Make code unconditional.
74997         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
74998         <kernel-features.h>.
74999         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75000         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75001         (lockf64) [__NR_fcntl64]: Make code unconditional.
75002         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75004         * sysdeps/unix/sysv/linux/kernel-features.h
75005         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75006         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75007         Make code unconditional.
75008         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75009         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75011         [__NR_vfork]: Make code unconditional.
75012         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75013         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75015         [__NR_vfork]: Make code unconditional.
75016         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75017         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75019 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75021         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75022         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75024         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75025         Define mkstemp64 as an alias.
75026         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75027         Define mkstemps64 as an alias.
75028         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75029         Define mkostemp64 as an alias.
75030         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75031         Define mkostemps64 as an alias.
75032         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75033         Conditionalize body on this.
75034         * misc/mkostemp64.c: Likewise.
75035         * misc/mkostemps64.c: Likewise.
75036         * misc/mkstemps64.c: Likewise.
75037         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75038         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75039         * sysdeps/wordsize-64/mkostemp.c: File removed.
75040         * sysdeps/wordsize-64/mkstemp.c: File removed.
75041         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75042         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75043         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75044         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75046         [BZ #14138]
75047         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75048         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75049         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75050         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75052         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75053         compat_symbol macros from <shlib-compat.h> rather than the underlying
75054         default_symbol_version and symbol_version macros, so that DEFAULT
75055         lines in shlib-versions are respected.
75056         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75058 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75060         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75061         Declare with warn_unused_result.
75062         (setgid, setregid, setegid, setresgid): Likewise.
75063         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75064         Likewise.
75065         * WUR-REPORT: Remove set*id functions.
75067 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75069         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75071 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75073         [BZ #10191]
75074         * include/sys/socket.h (__libc_accept, __libc_accept4):
75075         Add attribute_hidden.
75076         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75078         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75079         use of PTR_MANGLE.
75080         * inet/getnetgrent_r.c (setup): Likewise.
75082         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75084 2012-07-31  David S. Miller  <davem@davemloft.net>
75086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75088 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75090         [BZ #13629]
75091         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75092         value between 1.0 and 2.0 and smaller part has absolute value less
75093         than 1.0.
75094         * math/s_clog10.c (__clog10): Likewise.
75095         * math/s_clog10f.c (__clog10f): Likewise.
75096         * math/s_clog10l.c (__clog10l): Likewise.
75097         * math/s_clogf.c (__clogf): Likewise.
75098         * math/s_clogl.c (__clogl): Likewise.
75099         * math/libm-test.inc (clog_test): Add more tests.
75100         (clog10_test): Likewise.
75101         * sysdeps/i386/fpu/libm-test-ulps: Update.
75102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75104 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75106         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75107         Exit with zero in case no suitable GID is found, and write a
75108         message to standard error.
75110 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75112         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75113         rather than to 1.
75114         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75115         (MAXPATHLEN): Removed.
75116         (NOGROUP, NODEV): New macros.
75117         (setbit, clrbit, isset, isclr): New macros.
75118         (howmany, roundup, powerof2): New macros.
75119         (DEV_BSIZE): New macro.
75121         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75122         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75124         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75125         definition on [!__NO_LONG_DOUBLE_MATH].
75127         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75128         PTR_MANGLE and PTR_DEMANGLE.
75130         * socket/accept4.c (accept4): Rename to __libc_accept4.
75131         Define accept4 as a weak alias.
75133         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75134         on [_DIRENT_HAVE_D_TYPE].
75135         * io/ftw.c (ftw_dir): Likewise.
75137         * io/xmknod.c (__xmknod): Don't check PATH for being null.
75139         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75141         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75142         Use the BSD numbers rather than the arbitrary ones we had.
75143         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75144         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75145         (SIGXCPU, SIGXFSZ): New macros.
75146         (_NSIG): Now 32.
75148         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75149         initializer on [_LIBC_REENTRANT].
75151         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75152         definitions inside [_POSIX_MAPPED_FILES].
75154         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75156         * dirent/opendir.c: Include <fcntl.h>.
75158         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75159         (__libc_getspecific): Likewise.
75160         (__libc_key_create): Likewise.
75162         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75163         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75164         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75165         (tmpfile64): Define as alias.
75166         * sysdeps/wordsize-64/tmpfile.c: File removed.
75167         * sysdeps/wordsize-64/tmpfile64.c: File removed.
75168         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75169         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75171         * stdio-common/vfscanf.c: Include <stdbool.h>.
75172         * nss/makedb.c: Likewise.
75173         * stdio-common/_i18n_number.h: Likewise.
75174         * argp/argp-help.c: Likewise.
75175         * posix/wordexp.c: Likewise.
75176         * sysdeps/posix/spawni.c: Likewise.
75177         * nss/nss_files/files-initgroups.c: Likewise.
75178         * stdio-common/reg-modifier.c: Include <stdlib.h>.
75179         * nss/nss_files/files-initgroups.c: Likewise.
75180         * nss/nss_db/db-netgrp.c: Likewise.
75181         * nss/nss_db/db-initgroups.c: Likewise.
75182         * io/fchmodat.c: Include <sys/stat.h>.
75184         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75185         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75187         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75188         [HAVE_MMAP].
75190         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75191         Add multiple inclusion protection.
75193 2012-07-27  David S. Miller  <davem@davemloft.net>
75195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75197 2012-07-27  Gary Benson  <gbenson@redhat.com>
75199         [BZ #14298]
75200         * elf/rtld.c: Include <stap-probe.h>.
75201         (dl_main): Added static probes "init_start" and "init_complete".
75202         * elf/dl-load.c: Include <stap-probe.h>.
75203         (lose): Take new parameter "nsid".
75204         Added static probe "map_failed".
75205         (_dl_map_object_from_fd): Pass namespace id to lose.
75206         Added static probe "map_start".
75207         (open_verify): Pass namespace id to lose.
75208         * elf/dl-open.c: Include <stap-probe.h>.
75209         (dl_open_worker) Added static probes "map_complete", "reloc_start"
75210         and "reloc_complete".
75211         * elf/dl-close.c: Include <stap-probe.h>.
75212         (_dl_close_worker): Added static probes "unmap_start" and
75213         "unmap_complete".
75214         * elf/rtld-debugger-interface.txt: New file documenting the above.
75216 2012-07-26  Roland McGrath  <roland@hack.frob.com>
75218         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75219         rather than a string variable.
75220         * sunrpc/rpc_main.c (h_output): Likewise.
75221         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75223 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
75225         * inet/check_native.c: New file.
75227 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
75229         [BZ #13629]
75230         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
75231         if larger part has absolute value 1.0.
75232         * math/s_clog10.c (__clog10): Likewise.
75233         * math/s_clog10f.c (__clog10f): Likewise.
75234         * math/s_clog10l.c (__clog10l): Likewise.
75235         * math/s_clogf.c (__clogf): Likewise.
75236         * math/s_clogl.c (__clogl): Likewise.
75237         * math/libm-test.inc (clog_test): Add more tests.
75238         (clog10_test): Likewise.
75239         * sysdeps/i386/fpu/libm-test-ulps: Update.
75240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75242         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
75243         (pltexit): Likewise.
75244         (La_regs): Likewise.
75245         (La_retval): Likewise.
75246         (int_retval): Likewise.
75247         Update #error for removed macros to refer only to definitions in
75248         tst-audit.h.
75249         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
75250         macro.
75251         (pltexit): Likewise.
75252         (La_regs): Likewise.
75253         (La_retval): Likewise.
75254         (int_retval): Likewise.
75255         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
75256         macro.
75257         (pltexit): Likewise.
75258         (La_regs): Likewise.
75259         (La_retval): Likewise.
75260         (int_retval): Likewise.
75261         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
75262         macro.
75263         (pltexit): Likewise.
75264         (La_regs): Likewise.
75265         (La_retval): Likewise.
75266         (int_retval): Likewise.
75267         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
75268         macro.
75269         (pltexit): Likewise.
75270         (La_regs): Likewise.
75271         (La_retval): Likewise.
75272         (int_retval): Likewise.
75273         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
75274         macro.
75275         (pltexit): Likewise.
75276         (La_regs): Likewise.
75277         (La_retval): Likewise.
75278         (int_retval): Likewise.
75279         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
75280         macro.
75281         (pltexit): Likewise.
75282         (La_regs): Likewise.
75283         (La_retval): Likewise.
75284         (int_retval): Likewise.
75285         * sysdeps/generic/tst-audit.h: Update comment to refer only to
75286         macro definitions in tst-audit.h.
75287         * sysdeps/i386/tst-audit.h: New file.
75288         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
75289         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
75290         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
75291         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
75292         * sysdeps/sh/tst-audit.h: Likewise.
75293         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
75294         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
75295         * sysdeps/x86_64/tst-audit.h: Likewise.
75297 2012-07-26  Andreas Jaeger  <aj@suse.de>
75299         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
75300         ptrace.
75302         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
75303         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
75304         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
75305         PTRACE_O_MASK.
75306         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
75307         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
75308         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
75310         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
75311         value.
75313         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
75314         _sigsys.
75315         (si_call_addr, si_syscall, si_arch): Define new macro.
75316         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
75317         _sigsys.
75318         (si_call_addr, si_syscall, si_arch): Define new marcro.
75319         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
75320         _sigsys.
75321         (si_call_addr, si_syscall, si_arch): Define new macro.
75322         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
75323         _sigsys.
75324         (si_call_addr, si_syscall, si_arch): Define new macro.
75326 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75328         [BZ #13717]
75329         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75330         Change to 2.4.21 where previously 2.4.1.
75331         * sysdeps/unix/sysv/linux/configure: Regenerated.
75332         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
75333         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
75334         Linux kernel version.
75335         (__ASSUME_STD_AUXV): Remove.
75336         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
75337         kernel version.
75338         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
75339         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
75340         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
75341         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
75342         (__ASSUME_NETLINK_SUPPORT): Likewise.
75343         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
75344         (__no_netlink_support): Remove conditional definition.
75345         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
75346         Remove.
75347         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75348         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
75349         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
75350         (if_nameindex_ioctl): Remove.
75351         (if_nameindex_netlink): Do not handle __no_netlink_support.
75352         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75353         code.
75354         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
75355         Remove conditional code.
75356         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75357         code.
75358         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
75359         unconditional.
75360         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75361         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
75362         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
75363         Remove.
75364         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
75365         [!__ASSUME_STD_AUXV]: Remove conditional code.
75366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
75367         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
75368         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
75369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
75370         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
75371         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75372         code.
75373         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
75375         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
75376         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75377         conditional code.
75378         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
75380         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75381         code.
75382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
75383         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75384         conditional code.
75385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
75386         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75387         code unconditional.
75388         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75389         conditional code.
75390         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75391         unconditional.
75392         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75393         conditional code.
75394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75395         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75396         unconditional.
75397         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75398         conditional code.
75399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
75400         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75401         code unconditional.
75402         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75403         conditional code.
75404         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75405         unconditional.
75406         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75407         conditional code.
75408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
75409         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75410         code unconditional.
75411         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75412         conditional code.
75413         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75414         unconditional.
75415         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75416         conditional code.
75418 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
75420         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
75421         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
75422         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
75423         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
75424         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
75425         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
75426         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
75427         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
75428         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
75429         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
75430         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
75431         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
75432         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
75433         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
75434         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
75435         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
75436         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
75437         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
75438         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
75439         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
75440         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
75441         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
75442         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75444 2012-07-25  Florian Weimer  <fweimer@redhat.com>
75446         * Versions.def: Add GLIBC_2.17.
75447         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
75448         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
75449         Introduce __libc_secure_getenv.
75450         * stdlib/Versions (2.17): Add secure_getenv
75451         (GLIBC_PRIVATE): Add __libc_secure_getenv.
75452         * stdlib/secure-getenv.c: Rename __secure_getenv to
75453         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
75454         symbol __secure_getenv for GLIBC_2.0.
75455         * stdlib/tst-secure-getenv.c: New.
75456         * stdlib/Makefile (tests): Add testcase.
75457         * manual/startup.texi (Environment Access): Document
75458         secure_getenv.
75459         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
75460         __libc_secure_getenv.
75461         * inet/ruserpass.c (ruserpass): Likewise.
75462         * malloc/mtrace.c (mtrace): Likewise.
75463         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
75464         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
75465         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
75466         * sysdeps/posix/tempname.c: Likewise.  Evaluate
75467         HAVE_SECURE_GETENV.
75468         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
75469         __secure_getenv to __libc_secure_getenv.
75470         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
75471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75472         Likewise.
75473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75474         Likewise.
75475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75477         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75483 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75485         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
75486         (struct La_i86_retval): Likewise.
75487         (struct La_x86_64_regs): Likewise.
75488         (struct La_x86_64_retval): Likewise.
75489         (struct La_x32_regs): Likewise.
75490         (struct La_x32_retval): Likewise.
75491         (struct La_ppc32_regs): Likewise.
75492         (struct La_ppc32_retval): Likewise.
75493         (struct La_ppc64_regs): Likewise.
75494         (struct La_ppc64_retval): Likewise.
75495         (struct La_sh_regs): Likewise.
75496         (struct La_sh_retval): Likewise.
75497         (struct La_s390_32_regs): Likewise.
75498         (struct La_s390_32_retval): Likewise.
75499         (struct La_s390_64_regs): Likewise.
75500         (struct La_s390_64_retval): Likewise.
75501         (struct La_sparc32_regs): Likewise.
75502         (struct La_sparc32_retval): Likewise.
75503         (struct La_sparc64_regs): Likewise.
75504         (struct La_sparc64_retval): Likewise.
75505         (struct audit_ifaces): Remove architecture-specific pltenter and
75506         pltexit members.
75507         * sysdeps/i386/ldsodefs.h: New file.
75508         * sysdeps/powerpc/ldsodefs.h: Likewise.
75509         * sysdeps/s390/ldsodefs.h: Likewise.
75510         * sysdeps/sh/ldsodefs.h: Likewise.
75511         * sysdeps/sparc/ldsodefs.h: Likewise.
75512         * sysdeps/x86_64/ldsodefs.h: Likewise.
75514 2012-07-25  Marek Polacek  <polacek@redhat.com>
75516         [BZ #6808]
75517         * math/libm-test.inc (yn_test): Add another test.
75518         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
75519         to ERANGE when the result is +-Inf.
75520         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
75521         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
75522         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
75523         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
75525 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
75527         * conform/data/time.h-data (NULL): Use macro-constant.  Require
75528         equal to 0.
75529         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
75530         clock_t.
75531         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
75533 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
75535         * configure.in <sysdeps resolving>: Correct printing
75536         Implies_before.
75537         * configure: Regenerate.
75539 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
75541         * math/w_ilogb.c: Include <limits.h>.
75542         * math/w_ilogbl.c: Likewise.
75544 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75546         * manual/lang.texi (__va_copy): Document primarily as ISO C99
75547         va_copy.  Document allowing for unavailable va_copy only as
75548         pre-C99 compatibility.
75549         * manual/string.texi (Copying and Concatenation): Use va_copy
75550         instead of __va_copy in concat example.
75552 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
75554         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
75555         (__sendto): Use create_address_port.  Initialize APORT and deallocate
75556         it if not null.
75558         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
75559         with O_NOLINK passed to __file_name_lookup.
75561         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75562         with O_NOLINK passed to __file_name_lookup.
75564         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75565         negative N or less than NGIDS.
75567         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75568         type to string_t.  Set ERANGE as errno and return it if NAME is not big
75569         enough.  Use memcpy instead of strncpy.
75571 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75573         * elf/Makefile (check-data): Remove.
75574         (localplt.data): New vpath directive.
75575         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75576         instead of $(check-data).
75577         * scripts/data/localplt-generic.data: Move to ...
75578         * sysdeps/generic/localplt.data: ... here.
75579         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75580         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75581         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75583         ... here.
75584         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75586         ... here.
75587         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75589         ... here.
75590         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75592         ... here.
75593         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75595         ... here.
75596         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75598         ... here.
75600 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75602         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75603         PPC32 and PPC64 files.
75604         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75605         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75607 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75609         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75610         __makecontext_ret to ...
75611         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75612         ... here and call exit if uc_link is NULL.  New file.
75613         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75614         __makecontext_ret.S.
75615         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75616         __makecontext_ret to ...
75617         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75618         ... here and call exit if uc_link is NULL.  New file.
75619         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
75620         __makecontext_ret.S.
75622 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75624         * elf/elf.h (R_390_IRELATIVE): New definition.
75625         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75626         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
75627         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
75628         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
75629         (elf_machine_lazy_rel): Likewise.
75630         * sysdeps/s390/dl-irel.h: New file.
75631         * sysdeps/s390/s390-64/memcpy.S: New asm code.
75632         * sysdeps/s390/s390-64/memset.S: New asm code.
75633         * sysdeps/s390/s390-64/memcmp.S: New asm code.
75634         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
75635         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
75636         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
75637         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
75638         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
75639         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
75640         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
75641         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
75642         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
75643         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
75644         * sysdeps/s390/s390-32/memcpy.S: New asm code.
75645         * sysdeps/s390/s390-32/memset.S: New asm code.
75646         * sysdeps/s390/s390-32/memcmp.S: New asm code.
75648 2012-07-17  Marek Polacek  <polacek@redhat.com>
75650         [BZ #14349]
75651         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
75652         * sysdeps/s390/s390-64/configure.in: Likewise.
75653         * sysdeps/sparc/configure.in: Likewise.
75654         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
75655         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
75656         * sysdeps/i386/configure.in: Likewise.
75657         * sysdeps/x86_64/configure.in: Likewise.
75658         * sysdeps/sh/configure.in: Likewise.
75659         * sysdeps/s390/s390-32/configure: Regenerated.
75660         * sysdeps/s390/s390-64/configure: Likewise.
75661         * sysdeps/x86_64/configure: Likewise.
75662         * sysdeps/sh/configure: Likewise.
75663         * sysdeps/powerpc/powerpc64/configure: Likewise.
75664         * sysdeps/powerpc/powerpc32/configure: Likewise.
75665         * sysdeps/sparc/configure: Likewise.
75666         * sysdeps/i386/configure: Likewise.
75668         * elf/dl-open.c: Comment fixes.
75670 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
75672         * Makefile [CXX] (check-data): Remove.
75673         [CXX] (c++-types.data): New vpath directive.
75674         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
75675         vpath.  Do not allow for C++ type data being missing.
75676         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
75677         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
75678         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
75679         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
75680         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75681         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
75682         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
75683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
75684         ... here.
75685         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
75686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
75687         ... here.
75688         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
75689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
75690         ... here.
75691         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
75692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
75693         ... here.
75694         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
75695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
75696         ... here.
75697         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
75698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
75699         ... here.
75700         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
75701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
75702         ... here.
75703         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
75704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
75706         * elf/tls-macros.h (TLS_LE): Move architecture-specific
75707         definitions to architecture-specific files.
75708         (TLS_IE): Likewise.
75709         (TLS_LD): Likewise.
75710         (TLS_GD): Likewise.
75711         * sysdeps/i386/tls-macros.h: New file.
75712         * sysdeps/powerpc/tls-macros.h: Likewise.
75713         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
75714         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
75715         * sysdeps/sh/tls-macros.h: Likewise.
75716         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
75717         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
75718         * sysdeps/x86_64/tls-macros.h: Likewise.
75720 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75722         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
75723         zero value for regular exit case.
75725         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
75726         (__start_context): Preserve zero value for regular exit case.
75728 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75729             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75731         * manual/setjmp.texi (setcontext): Clarify normal process
75732         termination when uc_link is the null pointer.
75733         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
75734         exit call.
75736 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
75738         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
75739         preprocessor.  Test for each exception mask separately.
75741 2012-07-16  Andreas Jaeger  <aj@suse.de>
75743         * po/ru.po: Update from translation team.
75745 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
75747         * conform/data/string.h-data (NULL): Use macro-constant.  Require
75748         equal to 0.
75749         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75750         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75751         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
75752         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
75753         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75755 2012-07-13  Andreas Jaeger  <aj@suse.de>
75757         * po/fr.po: Update from translation team.
75759 2012-07-12  Marek Polacek  <polacek@redhat.com>
75761         [BZ #14173]
75762         * math/libm-test.inc (yn_test): Add test for BZ #14173.
75763         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
75764         loop condition.
75766 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
75768         [BZ #13717]
75769         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75770         Change to 2.4.1 where previously 2.4.0.
75771         * sysdeps/unix/sysv/linux/configure: Regenerated.
75772         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
75773         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
75774         version.
75775         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
75776         (__ASSUME_AT_CLKTCK): Remove.
75777         (__ASSUME_AT_PAGESIZE): Likewise.
75778         (__ASSUME_AT_XID): Likewise.
75779         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
75780         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
75781         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
75782         unconditionally.
75783         (HAVE_AUX_PAGESIZE): Likewise.
75784         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
75785         [__ASSUME_AT_CLKTCK]: Make code unconditional.
75786         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
75788 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
75790         [BZ #14307]
75791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
75792         the temporary buffer used to invoke __gethostbyname2_r,
75793         __gethostbyaddr_r and gethostbyname4_r to make room for struct
75794         host_data / struct gaih_addrtuple.
75795         * resolv/nss_dns/dns-host.c (global scope): Move definition of
75796         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
75797         header file nss/nsswitch.h.
75798         * nss/nsswitch.h (global scope): Add definition of implementation
75799         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
75800         resolv/nss_dns/dns-host.c).
75802 2012-07-11  Andreas Jaeger  <aj@suse.de>
75804         * po/fr.po: Update from translation team.
75806         * po/sv.po: Update from translation team
75807         * po/fr.po: Another update from translation team.
75809 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75811         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
75812         for subnormals or multiply small sinh result by itself.
75813         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75816 2012-07-11  David S. Miller  <davem@davemloft.net>
75818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75820 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
75822         [BZ #14347]
75823         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
75824         (INTERNAL_MARK): Shift it here.
75826 2012-07-10  Marek Polacek  <polacek@redhat.com>
75828         [BZ #14151]
75829         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
75830         libc_cv_asm_global_directive with .globl.
75831         * configure: Regenerated.
75832         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
75833         with .globl.
75834         * sysdeps/i386/configure: Regenerated.
75835         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
75836         with .globl.
75837         * sysdeps/x86_64/configure: Regenerated.
75838         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
75839         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
75840         * elf/tst-unique2mod2.c: Likewise.
75841         * elf/tst-unique2mod1.c: Likewise.
75842         * elf/tst-unique1mod2.c: Likewise.
75843         * elf/tst-unique1mod1.c: Likewise.
75844         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75845         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75846         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75847         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75848         * sysdeps/mach/sysdep.h: Likewise.
75849         * sysdeps/i386/sysdep.h: Likewise.
75850         * sysdeps/i386/i386-mcount.S: Likewise.
75851         * sysdeps/x86_64/_mcount.S: Likewise.
75852         * sysdeps/x86_64/sysdep.h: Likewise.
75853         * sysdeps/sh/_mcount.S: Likewise.
75854         * sysdeps/sh/sysdep.h: Likewise.
75855         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
75856         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
75857         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
75858         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75859         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
75860         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
75861         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
75862         * locale/localeinfo.h: Likewise.
75863         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
75864         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
75866 2012-07-09  Roland McGrath  <roland@hack.frob.com>
75868         [BZ #14336]
75869         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
75870         system".
75871         * manual/message.texi (The Uniforum approach): Likewise.
75872         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
75873         (glibc iconv Implementation): Likewise.
75875 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
75877         [BZ #14337]
75878         * math/s_clog.c (__clog): Avoid scaling a value down where that
75879         could result in underflow.
75880         * math/s_clog10.c (__clog10): Likewise.
75881         * math/s_clog10f.c (__clog10f): Likewise.
75882         * math/s_clog10l.c (__clog10l): Likewise.
75883         * math/s_clogf.c (__clogf): Likewise.
75884         * math/s_clogl.c (__clogl): Likewise.
75885         * math/libm-test.inc (clog_test): Add more tests.
75886         (clog10_test): Likewise.
75887         * sysdeps/i386/fpu/libm-test-ulps: Update.
75888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75890 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
75892         [BZ #14283]
75893         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
75894         by 7 not 8 to examine high bit of fractional part.
75896         [BZ #14042]
75897         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
75898         for call to __mcount_internal.
75899         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
75900         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
75901         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
75903 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
75905         [BZ #14154]
75906         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
75907         approximation for values within 0x1p-13f of an odd multiple of
75908         pi/4.
75909         * math/libm-test.inc (tan_test): Do not allow spurious underflow
75910         exception.  Add more tests.
75911         * sysdeps/i386/fpu/libm-test-ulps: Update.
75913         [BZ #6778]
75914         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
75915         inputs and return -1 for them.  Do not check for +Inf in case not
75916         reachable for +Inf.
75917         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
75918         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
75919         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75920         and return -1 for them.  Do not check for +Inf in case not
75921         reachable for +Inf.
75922         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
75923         define.
75924         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75925         and return -1 for them.  Do not check for +Inf in case not
75926         reachable for +Inf.
75927         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
75928         spurious underflow.
75929         * sysdeps/i386/fpu/libm-test-ulps: Update.
75930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75932 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
75934         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
75936 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
75938         [BZ #14157]
75939         [BZ #14331]
75940         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
75941         could result in spurious underflow.  Scale down values above
75942         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
75943         * math/s_csqrtf.c (__csqrtf): Likewise.
75944         * math/s_csqrtl.c (__csqrtl): Likewise.
75945         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
75946         spurious underflow.
75947         * sysdeps/i386/fpu/libm-test-ulps: Update.
75948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75950 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
75952         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
75953         xopen-msg.sed.
75954         * catgets/xopen-msg.awk: New file.
75955         * catgets/xopen-msg.sed: Removed.
75957         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
75958         po2text.sed.
75959         * intl/po2test.awk: New file.
75960         * intl/po2test.sed: Removed.
75962 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
75964         [BZ #14328]
75965         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
75966         or multiply small sinh result by itself.
75967         * math/s_ctanf.c (__ctanf): Likewise.
75968         * math/s_ctanh.c (__ctanh): Likewise.
75969         * math/s_ctanhf.c (__ctanhf): Likewise.
75970         * math/s_ctanhl.c (__ctanhl): Likewise.
75971         * math/s_ctanl.c (__ctanl): Likewise.
75972         * math/libm-test.inc (ctan_test_tonearest): New function.
75973         (ctan_test_towardzero): Likewise.
75974         (ctan_test_downward): Likewise.
75975         (ctan_test_upward): Likewise.
75976         (ctanh_test_tonearest): Likewise.
75977         (ctanh_test_towardzero): Likewise.
75978         (ctanh_test_downward): Likewise.
75979         (ctanh_test_upward): Likewise.
75980         (main): Call these new functions.
75981         * sysdeps/i386/fpu/libm-test-ulps: Update.
75982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75984 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
75986         * .gitignore: Delete /ports entry.
75988 2012-07-03  Andreas Jaeger  <aj@suse.de>
75990         * po/bg.po: Update from translation team.
75991         * po/cs.po: Likewise.
75992         * po/de.po: Likewise.
75993         * po/hr.po: Likewise.
75994         * po/nl.pl: Likewise.
75995         * po/pl.po: Likewise.
75996         * po/vi.po: Likewise.
75998 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76000         * Makeconfig [!+link] (+link-before-libc): New variable.
76001         [!+link] (+link-after-libc): Likewise.
76002         [!+link] (+link-tests): Likewise.
76003         [!+link] (+link): Define in terms of $(+link-before-libc) and
76004         $(+link-after-libc).
76005         [!+link-static] (+link-static-before-libc): New variable.
76006         [!+link-static] (+link-static-after-libc): Likewise.
76007         [!+link-static] (+link-static-tests): Likewise.
76008         [!+link-static] (+link-static): Define in terms of
76009         $(+link-static-before-libc) and $(+link-static-after-libc).
76010         [build-shared] (link-libc-before-gnulib): New variable.
76011         [build-shared] (link-libc-tests): Likewise.
76012         [build-shared] (link-libc): Define in terms of
76013         $(link-libc-before-gnulib).
76014         [!build-shared] (link-libc-tests): New variable.
76015         (link-libc-static-tests): New variable.
76016         [!gnulib] (gnulib-arch): New variable.
76017         [!gnulib] (gnulib-tests): Likewise.
76018         [!gnulib] (static-gnulib-arch): Likewise.
76019         [!gnulib] (static-gnulib-tests): Likewise.
76020         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76021         Define with "=" instead of ":=".
76022         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76023         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76024         * Rules (binaries-all-notests): New variable.
76025         (binaries-all-tests): Likewise.
76026         (binaries-static-notests): Likewise.
76027         (binaries-static-tests): Likewise.
76028         (binaries-all): Define using $(binaries-all-notests) and
76029         $(binaries-all-tests).
76030         (binaries-static): Define using $(binaries-static-notests) and
76031         $(binaries-static-tests).
76032         (binaries-shared-tests): New variable.
76033         (binaries-shared-notests): Likewise.
76034         (binaries-shared): Remove variable.
76035         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76036         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76037         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76038         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76039         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76040         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76041         * elf/Makefile (sln-modules): New variable.
76042         (extra-objs): Add $(sln-modules:=.o).
76043         (ldconfig-modules): Add static-stubs.
76044         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76045         * elf/static-stubs.c: New file.
76047         [BZ #14283]
76048         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76049         by 7 not 8 to examine high bit of fractional part.  Use volatile
76050         variables when splitting into final array of floats if
76051         __FLT_EVAL_METHOD__ != 0.
76052         * math/libm-test.inc (cos_test): Add another test.
76053         (sin_test): Likewise.
76054         * sysdeps/i386/fpu/libm-test-ulps: Update.
76056         [BZ #14273]
76057         * math/libm-test.inc (cosh_test): Add more tests.
76059         * version.h (RELEASE): Set to "development".
76060         (VERSION): Set to "2.16.90".
76062 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76064         * NEWS: Update copyright. Remove last-updated date.
76065         Mention math library bug fixes and timezone data changes.
76066         * README: Mention GNU/Hurd, x32, and HPPA support status.
76068 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76070         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76072 2012-06-27  Andreas Jaeger  <aj@suse.de>
76074         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76076 2012-06-25  Andreas Jaeger  <aj@suse.de>
76078         * sysdeps/s390/fpu/libm-test-ulps: Update.
76080 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76081             Thomas Schwinge  <thomas@codesourcery.com>
76083         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76084         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76085         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76086         fanotify_mark.
76088 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76090         * sysdeps/mach/start.c: Remove file.
76091         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76092         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76093         * sysdeps/sh/init-first.c: Likewise.
76095         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76096         registers for frame unwinding purposes, add CFI directives.
76097         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76098         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76099         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76100         Likewise.
76102         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76103         __fortify_fail returning.
76104         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76106         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76107         sysdeps/sh/____longjmp_chk.S.
76108         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76109         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76110         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76111         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76113         * sysdeps/sh/abort-instr.h: New file.
76114         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76115         process in case exit returns.
76117         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76118         initialize the GOT register before use.
76120         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76121         calculation of ARGC > 4.
76123         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76124         meaningful names to some local labels.
76126 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76127             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76129         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76130         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76131         (__arch_compare_and_exchange_val_16_acq): Likewise.
76132         (__arch_compare_and_exchange_val_32_acq): Likewise.
76133         (atomic_exchange_and_add): Fix gUSA sequence.
76134         (atomic_add): Likewise.
76135         (atomic_add_negative): Likewise.
76136         (atomic_add_zero): Likewise.
76137         (atomic_bit_test_set): Likewise.
76139 2012-06-22  Andreas Schwab  <schwab@redhat.com>
76141         [BZ #13579]
76142         * include/link.h (struct link_map): Add l_free_initfini.
76143         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76144         l_initfini.
76145         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76146         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76147         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76148         set.
76150 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
76152         * configure.in: Use AC_LANG_SOURCE.
76153         * configure: Regenerate.
76155 2012-06-22  Roland McGrath  <roland@hack.frob.com>
76157         * configure.in (libc_cv_localstatedir): New substituted variable.
76158         * configure: Regenerated.
76159         * config.make.in (localstatedir): New variable, substituted from
76160         libc_cv_localstatedir.
76161         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76162         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76163         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76164         * sysdeps/gnu/configure: Regenerated.
76166 2012-06-21  Jeff Law  <law@redhat.com>
76168         [BZ #14277]
76169         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76170         free.  Simplify list management for _LIBC case.
76172 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
76174         [BZ #14273]
76175         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76176         Clear sign bit of 64-bit integer value before comparing against
76177         overflow value.
76179         * sysdeps/mach/configure: Regenerated.
76181 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
76183         [BZ #14278]
76184         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76186 2012-06-21  Jeff Law  <law@redhat.com>
76188         [BZ #13882]
76189         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
76190         uint16_t for elements in the "seen" array to avoid char overflows.
76191         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76192         * elf/dl-open.c (dl_open_worker): Likewise.
76194 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
76196         * scripts/list-sources.sh: Scan PORTS for translations.
76197         * po/libc.pot: Regenerated.
76199 2012-06-21  Andreas Jaeger  <aj@suse.de>
76201         [BZ #12194]
76202         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76203         warning.
76204         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76205         * bits/byteswap-16.h (__bswap_16): Likewise.
76206         * bits/byteswap.h (__bswap_constant_16): Likewise.
76208 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
76210         [BZ #14117]
76211         * sysdeps/i386/fpu_control.h: Removed.
76212         * sysdeps/x86_64/fpu_control.h: Moved to ...
76213         * sysdeps/x86/fpu_control.h: Here.
76215         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76216         (_FPU_SETCW): Likewise.
76218 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
76220         [BZ #14117]
76221         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76222         * sysdeps/x86/fpu/bits/mathinline.h: This.
76223         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76225         [BZ #14050]
76226         [BZ #14117]
76227         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76228         functions if __x86_64__ is defined.
76230 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
76232         * string/endian.h: Add !__ASSEMBLER__ condition for including
76233         conversion interfaces.
76235 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
76237         [BZ #14241]
76238         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
76239         of ABS(x) in calculating zero to negative powers other than odd
76240         integers.
76241         * math/libm-test.inc (pow_test): Add more tests.
76243 2012-06-15  Andreas Jaeger  <aj@suse.de>
76245         * manual/contrib.texi (Contributors): Update entry of Liubov
76246         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
76247         Machado Filho.
76249 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
76251         * string/string.h: Add __wur to GNU version of strerror_r.
76253 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
76255         [BZ #14229]
76256         * string/Makefile (tests): Add tst-strtok_r.
76257         * string/tst-strtok_r.c: New file.
76258         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
76259         RAX_LP/RDX_LP on SAVE_PTR.
76261 2012-06-14  Roland McGrath  <roland@hack.frob.com>
76263         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
76265 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
76267         * libm_test.inc (csqrt_test): Allow more spurious underflow
76268         exceptions.
76269         (j0_test): Likewise.
76270         (j1_test): Likewise.
76271         (y0_test): Likewise.
76272         (y1_test): Likewise.
76274 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
76276         * po/Makefile (libc.pot): Use UTF-8 charset.
76278 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
76280         [BZ #14210]
76281         Suppress sign-conversion warning from FD_SET.
76282         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76283         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
76284         not unsigned long int.
76285         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
76287 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
76289         [BZ #14050]
76290         [BZ #14117]
76291         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
76292         __extern_always_inline instead of __extern_inline.
76293         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
76294         (__signbit): Likewise.
76295         (__signbitl): Support C++ namespace.
76296         (lrintf): New inline function.
76297         (lrint): Likewise.
76298         (llrintf): Likewise.
76299         (llrint): Likewise.
76300         (fmaxf): Likewise.
76301         (fmax): Likewise.
76302         (fminf): Likewise.
76303         (fmin): Likewise.
76304         (rint): Likewise.
76305         (rintf): Likewise.
76306         (ceil): Likewise.
76307         (ceilf): Likewise.
76308         (floor): Likewise.
76309         (floorf): Likewise.
76310         (nearbyint): Likewise.
76311         (nearbyintf): Likewise.
76313 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
76315         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
76316         non-default versions.
76318 2012-06-11  Roland McGrath  <roland@hack.frob.com>
76320         [BZ #14218]
76321         * manual/argp.texi (Argp): Reword argp_parse description slightly.
76323 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
76325         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
76326         (FE_UPWARD, FE_DOWNWARD): Don't define.
76327         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
76328         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76330         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
76331         reading it.
76332         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76333         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76335 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76337         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
76339         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
76340         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
76342 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
76344         [BZ #14117]
76345         * sysdeps/i386/fpu/bits/fenv.h: Removed.
76346         * sysdeps/i386/fpu/Implies: New file.
76347         * sysdeps/x86_64/fpu/Implies: Likewise.
76348         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
76349         * sysdeps/x86/fpu/bits/fenv.h: This.
76351         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
76352         __SSE_MATH__.
76354 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
76356         [BZ #14134]
76357         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
76358         character 0xffff that matches the last element of the
76359         conversion table.
76361 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76363         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
76364         fmodl commit.
76366 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76368         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
76369         values higher than 25.6283.
76371 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76373         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
76374         subnormal exponent extraction and add some __builtin_expect.
76375         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
76376         Fix for subnormal mantissa calculation.
76378 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
76380         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
76381         cpu2 is -1 and errno is not ENOSYS.
76383 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
76385         [BZ #14117]
76386         * sysdeps/i386/i486/bits/string.h: Renamed to ...
76387         * sysdeps/x86/bits/string.h: This.
76388         * sysdeps/x86_64/bits/string.h: Removed.
76390         * sysdeps/i386/i486/bits/string.h: Define inline functions only
76391         if not compiling for x86-64, but compiling for >= i486.
76393         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
76394         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
76396         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
76397         New macro from Linux kernel 3.4.0.
76398         (FP_XSTATE_MAGIC2): Likewise.
76399         (FP_XSTATE_MAGIC2_SIZE): Likewise.
76400         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
76401         (struct _fpx_sw_bytes): New struct.
76402         (struct _xsave_hdr): Likewise.
76403         (struct _ymmh_state): Likewise.
76404         (struct _xstate): Likewise.
76406         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
76407         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
76408         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
76409         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
76410         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
76411         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
76413         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
76414         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
76415         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
76416         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
76417         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
76418         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
76420 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76422         [BZ #13743]
76423         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
76424         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
76425         (sysdep_headers): Include sys/platform/ppc.h.
76426         * sysdeps/powerpc/test-gettimebase.c: Test for
76427         __ppc_get_timebase() to catch future ISA opcode/insn changes.
76428         * manual/Makefile (appendices): Include platform.texi.
76429         * manual/contrib.texi (Contributors): Update @node pointers.
76430         * manual/maint.texi (Maintenance): Likewise.
76431         (Platform): New node.
76432         * manual/platform.texi: New file.  Document the new features.
76434 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
76435             Jakub Jelinek  <jakub@redhat.com>
76437         [BZ #14188]
76438         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
76439         where __builtin_expect is unavailable.
76441 2012-06-03  David S. Miller  <davem@davemloft.net>
76443         * stdlib/longlong.h: Updated from GCC.
76445 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
76447         [BZ #14042]
76448         * sysdeps/powerpc/powerpc32/mcount.c: New file.
76449         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
76450         __mcount_internal.
76451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76452         (GLIBC_2.16): Likewise.
76454 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76456         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
76458 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
76461         (default-abi): New variable.
76462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
76463         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
76464         variable.
76465         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
76466         Likewise.
76467         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
76468         Likewise.
76469         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
76470         Likewise.
76472         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
76473         definition.  Document in comment.
76475 2012-06-01  David S. Miller  <davem@davemloft.net>
76477         * stdlib/longlong.h: Updated from GCC.
76479 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76481         [BZ #14117]
76482         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
76483         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
76484         sys/debugreg.h sys/io.h here.
76485         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
76486         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
76487         sys/io.h.
76488         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
76489         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
76490         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
76491         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
76492         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
76493         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
76495         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
76496         Define only if __x86_64__ is defined.
76498 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76500         [BZ #14048]
76501         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
76502         Use int64_t for variable i.
76503         * math/libm-test.inc (fmod_test): Add more tests.
76505         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
76506         z computation is not scheduled after fetestexcept.
76507         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
76508         Use math_force_eval instead of asm to ensure calculation scheduled
76509         before exception test.
76510         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
76511         Ensure a1 + u.d computation is not scheduled after fetestexcept.
76513 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
76515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
76516         computation is not scheduled after fetestexcept.
76518 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76520         [BZ #14117]
76521         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
76522         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
76524 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76526         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
76527         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76529 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76531         [BZ #14117]
76532         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
76533         <bits/wordsize.h>.
76534         (__WCHAR_MIN): Support __WORDSIZE == 64.
76535         (__WCHAR_MAX): Likewise.
76537         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
76538         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
76540         [BZ #14183]
76541         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
76542         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
76544         [BZ #14117]
76545         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
76546         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
76548         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
76549         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
76551         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
76552         Defined to 1 if __x86_64__ isn't defined.
76553         (_STAT_VER_LINUX_OLD): New.
76554         (st_atime): Remove duplicate.
76555         (st_mtime): Likewise.
76556         (st_ctime): Likewise.
76558 2012-05-31  David S. Miller  <davem@davemloft.net>
76560         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76561         entries.
76563 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
76565         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76566         gen-libm-test.pl.
76568         [BZ #14132]
76569         * elf/dl-reloc.c: Include <_itoa.h>.
76570         (_dl_reloc_bad_type): Remove use of INTUSE.
76571         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76572         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76573         * stdio-common/psiginfo.c (psiginfo): Likewise.
76574         * stdio-common/psignal.c (psignal): Likewise.
76575         * string/strsignal.c (strsignal): Likewise.
76576         * include/signal.h (_sys_siglist): Declare hidden proto.
76577         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76578         INTVARDEF with libc_hidden_data_def.
76579         * stdio-common/itoa-udigits.c: Likewise.
76580         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76581         (_itoa_lower_digits_internal): Remove declaration.
76582         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76583         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76584         (_sys_sigabbrev_internal): Remove aliases.
76585         (_sys_siglist): Define hidden alias.
76587 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76590         bits/sysctl.h.
76592 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76594         [BZ #14117]
76595         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76596         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76598         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76599         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76600         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76601         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76602         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76603         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76605         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76606         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76607         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76609         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76610         with __addr.
76611         (insw): Likewise.
76612         (insl): Likewise.
76613         (outsb): Likewise.
76614         (outsw): Likewise.
76615         (outsl): Likewise.
76617         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76618         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76619         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
76621         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
76622         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
76624         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
76625         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
76626         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
76628         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
76629         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
76631         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
76632         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
76634         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
76635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
76636         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
76638         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
76639         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
76640         to ...
76641         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
76643         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
76644         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
76645         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
76647         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
76648         for x86-64.
76649         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
76651 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
76653         * math/math.h (M_El): Use two more decimal places.
76654         (M_LOG2El): Likewise.
76655         (M_LOG10El): Likewise.
76656         (M_LN2l): Likewise.
76657         (M_LN10l): Likewise.
76658         (M_PIl): Likewise.
76659         (M_PI_2l): Likewise.
76660         (M_PI_4l): Likewise.
76661         (M_1_PIl): Likewise.
76662         (M_2_PIl): Likewise.
76663         (M_2_SQRTPIl): Likewise.
76664         (M_SQRT2l): Likewise.
76665         (M_SQRT1_2l): Likewise.
76667 2012-05-31  David S. Miller  <davem@davemloft.net>
76669         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
76670         values between float registers.
76671         * sysdeps/sparc/sparc64/memset.S: Likewise.
76672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76674 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
76676         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
76677         -D_FORTIFY_SOURCE=1.
76678         (CPPFLAGS-tst-longjmp_chk.c): Define.
76679         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
76680         (CPPFLAGS-tst-longjmp_chk2.c): Define.
76681         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
76682         CFLAGS-tst-wchar-h.c.
76684 2012-05-31  Marek Polacek  <polacek@redhat.com>
76686         [BZ #14132]
76687         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
76688         __endmntent_internal): Remove declaration.
76689         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
76690         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
76691         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76693 2012-05-30  David S. Miller  <davem@davemloft.net>
76695         * sysdeps/sparc/sparc32/soft-fp/q_util.c
76696         (___Q_simulate_exceptions): Use real FP ops rather than writing
76697         into the %fsr.
76698         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
76699         Likewise.
76701 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76703         [BZ #14117]
76704         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
76705         * sysdeps/x86/bits/xtitypes.h: This.
76707         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
76708         * sysdeps/x86/bits/wordsize.h: This.
76710         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
76711         * sysdeps/x86/bits/huge_vall.h: This.
76713         * sysdeps/i386/bits/select.h: Removed.
76714         * sysdeps/x86_64/bits/select.h: Renamed to ...
76715         * sysdeps/x86/bits/select.h: This.
76717         * sysdeps/i386/bits/setjmp.h: Removed.
76718         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76719         * sysdeps/x86/bits/setjmp.h: This.
76721         * sysdeps/i386/bits/mathdef.h: Removed.
76722         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
76723         * sysdeps/x86/bits/mathdef.h: This.
76725 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
76727         [BZ #14132]
76728         * include/sys/socket.h (__connect_internal)
76729         (__libc_sa_len_internal): Remove declaration.
76730         (__connect, __libc_sa_len): Declare hidden_proto.
76731         (SA_LEN): Remove use of INTUSE.
76732         * socket/connect.c: Add libc_hidden_def.
76733         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
76734         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
76735         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
76736         alias.
76737         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
76738         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
76739         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
76740         of adding _internal alias.
76742 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76744         [BZ #14117]
76745         * sysdeps/i386/bits/link.h: Removed.
76746         * sysdeps/i386/bits/linkmap.h: Likewise.
76747         * sysdeps/x86_64/bits/link.h: Renamed to ...
76748         * sysdeps/x86/bits/link.h: This.
76749         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
76750         * sysdeps/x86/bits/linkmap.h: This.
76752         * sysdeps/i386/bits/endian.h: Removed.
76753         * sysdeps/x86_64/bits/endian.h: Renamed to ...
76754         * sysdeps/x86/bits/endian.h: This.
76756         * sysdeps/i386/bits/byteswap.h: Removed.
76757         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76758         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
76759         * sysdeps/x86/bits/byteswap.h: This.
76760         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
76761         * sysdeps/x86/bits/byteswap-16.h: This.
76762         * sysdeps/i386/Implies: Add x86.
76763         * sysdeps/x86_64/Implies: Likewise.
76765 2012-05-30  David S. Miller  <davem@davemloft.net>
76767         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
76768         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
76769         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
76770         (FP_TRAPPING_EXCEPTIONS): Define.
76771         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
76772         (FP_TRAPPING_EXCEPTIONS): Define.
76773         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
76774         subnormals only when inexact has been signalled or underflow
76775         exceptions are enabled.
76776         (_FP_PACK_CANONICAL): Likewise.
76778 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76780         [BZ #14183]
76781         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
76782         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
76784 2012-05-30  Richard Henderson  <rth@twiddle.net>
76786         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
76787         with #ifndef NOT_IN_libc.
76789         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
76790         marked to avoid plt entry.
76792 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76794         [BZ #14112]
76795         * Makeconfig (default-abi): New macro.
76796         (abi-includes): Likewise.
76797         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
76798         $(abi-$(default-abi)-lib-soname) for soname if defined.
76799         ($(common-objpfx)gnu/lib-names.stmp): Generate from
76800         abi-variants.
76801         * Makefile (installed-stubs): Likewise.
76802         * include/stubs-biarch.h: Removed.
76803         * scripts/lib-names.awk: Only handle one library at a time.
76804         * scripts/soversions.awk: Remove WORDSIZE support.
76805         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
76806         entries.
76807         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
76808         Removed.
76809         (syscall-list-default-condition): Likewise.
76810         (syscall-list-default-condition): Likewise.
76811         (syscall-list-includes): Likewise.
76812         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
76813         syscall-list-* with abi-*.  Handle undefined abi-variants.
76814         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
76815         * sysdeps/unix/sysv/linux/i386/Implies: New file.
76816         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
76817         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
76818         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
76819         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
76820         Removed.
76821         (syscall-list-32-options): Likewise.
76822         (syscall-list-32-condition): Likewise.
76823         (syscall-list-64-options): Likewise.
76824         (syscall-list-64-condition): Likewise.
76825         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
76826         macro.
76827         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
76828         Renamed to ...
76829         (abi-*): This.
76830         (abi-64-ld-soname): New macro.
76831         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
76832         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
76833         Renamed to ...
76834         (abi-*): This.
76835         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
76836         * sysdeps/x86_64/x32/shlib-versions: Likewise.
76838 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
76840         * sysdeps/unix/sysv/linux/kernel-features.h
76841         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
76842         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
76843         include <kernel-features.h>.
76844         [!__NR_ftruncate64]: Remove conditional code.
76845         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76846         [__NR_ftruncate64]: Make code unconditional.
76847         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76848         * sysdeps/unix/sysv/linux/truncate64.c: Do not
76849         include <kernel-features.h>.
76850         [!__NR_ftruncate64]: Remove conditional code.
76851         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76852         [__NR_ftruncate64]: Make code unconditional.
76853         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
76855         include <kernel-features.h>.
76856         [!__NR_ftruncate64]: Remove conditional code.
76857         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76858         [__NR_ftruncate64]: Make code unconditional.
76859         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
76861         include <kernel-features.h>.
76862         [!__NR_ftruncate64]: Remove conditional code.
76863         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76864         [__NR_ftruncate64]: Make code unconditional.
76865         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76867         * configure.in (libc_cv_fpie): Weaken to a compile test using
76868         LIBC_TRY_CC_OPTION.
76869         * configure: Regenerated.
76871 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
76874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
76875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
76876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76877         Refreshed.
76878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
76879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
76880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
76881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
76882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
76883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76884         Refreshed.
76886 2012-05-27  David S. Miller  <davem@davemloft.net>
76888         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
76889         (___Q_zero): New.
76890         (__Q_simulate_exceptions): Return void.  Change to simulate
76891         exceptions by writing into the %fsr.
76892         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
76893         (__Qp_handle_exceptions): Likewise.
76894         (numbers): Delete.
76895         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
76896         __Qp_handle_exceptions.
76897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
76898         __Qp_handle_exceptions.
76899         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76900         as unused and give dummy FP_RND_NEAREST initializer.
76901         (FP_INHIBIT_RESULTS): Define.
76902         (___Q_simulate_exceptions): Update declaration.
76903         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
76904         formatting.
76905         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76906         as unused and give dummy FP_RND_NEAREST initializer.
76907         (__Qp_handle_exceptions): Update declaration.
76908         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
76909         formatting.
76911 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
76913         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
76914         the temporary FPU control word.
76915         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
76916         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
76917         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
76918         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76919         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
76920         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
76921         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
76922         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76923         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
76924         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
76925         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76927 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76929         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
76930         fields.
76932 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
76934         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
76935         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
76936         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
76937         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
76938         Likewise.
76939         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
76940         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
76941         Likewise.
76943 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
76945         * po/h.po: Update from translation team.
76947 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
76949         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
76951         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
76952         handling of denormals.
76953         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76954         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
76955         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76956         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76958         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
76959         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
76960         Likewise.
76962 2012-05-26  Marek Polacek  <polacek@redhat.com>
76964         [BZ #14152]
76965         * math/libm-test.inc (fma_test): Don't always expect underflow
76966         exception.
76968 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76970         [BZ #12416]
76971         * elf/tst-execstack.c: Include stackinfo.h.
76972         (do_test): Adjust test case to ensure that pthread_getattr_np
76973         behaviour remains the same after marking stack executable.
76975 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76977         * sysdeps/unix/sysv/linux/kernel-features.h
76978         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
76979         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
76980         kernel-features.h.
76981         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76982         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76983         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
76984         kernel-features.h.
76985         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76986         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76988 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
76990         * configure.in: Define the default includes to being none.
76991         * configure: Regenerated.
76993 2012-05-25  Roland McGrath  <roland@hack.frob.com>
76995         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
76996         * sysdeps/x86_64/setjmp.S: Likewise.
76997         * sysdeps/i386/bsd-setjmp.S: Likewise.
76998         * sysdeps/i386/bsd-_setjmp.S: Likewise.
76999         * sysdeps/i386/setjmp.S: Likewise.
77000         * sysdeps/i386/__longjmp.S: Likewise.
77001         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77002         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77004         * include/stap-probe.h: New file.
77005         * configure.in: Handle --enable-systemtap.
77006         * configure: Regenerated.
77007         * config.h.in (USE_STAP_PROBE): New #undef.
77008         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77009         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77010         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77012 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77014         [BZ #13717]
77015         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77016         to 2.4.0 where earlier.
77017         * sysdeps/unix/sysv/linux/configure: Regenerated.
77018         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77019         <kernel-features.h>.
77020         [__ASSUME_32BITUIDS]: Make code unconditional.
77021         [!__ASSUME_32BITUIDS]: Remove conditional code.
77022         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77023         <kernel-features.h>.
77024         [__ASSUME_32BITUIDS]: Make code unconditional.
77025         [!__ASSUME_32BITUIDS]: Remove conditional code.
77026         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77027         [__ASSUME_32BITUIDS]: Make code unconditional.
77028         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77029         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77030         <kernel-features.h>.
77031         [__ASSUME_32BITUIDS]: Make code unconditional.
77032         [!__ASSUME_32BITUIDS]: Remove conditional code.
77033         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77034         <kernel-features.h>.
77035         [__ASSUME_32BITUIDS]: Make code unconditional.
77036         [!__ASSUME_32BITUIDS]: Remove conditional code.
77037         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77038         <kernel-features.h>.
77039         [__ASSUME_32BITUIDS]: Make code unconditional.
77040         [!__ASSUME_32BITUIDS]: Remove conditional code.
77041         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77042         <kernel-features.h>.
77043         [__ASSUME_32BITUIDS]: Make code unconditional.
77044         [!__ASSUME_32BITUIDS]: Remove conditional code.
77045         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77046         <kernel-features.h>.
77047         [__ASSUME_32BITUIDS]: Make code unconditional.
77048         [!__ASSUME_32BITUIDS]: Remove conditional code.
77049         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77050         <kernel-features.h>.
77051         [__ASSUME_32BITUIDS]: Make code unconditional.
77052         [!__ASSUME_32BITUIDS]: Remove conditional code.
77053         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77054         <kernel-features.h>.
77055         [__ASSUME_32BITUIDS]: Make code unconditional.
77056         [!__ASSUME_32BITUIDS]: Remove conditional code.
77057         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77058         <kernel-features.h>.
77059         [__ASSUME_32BITUIDS]: Make code unconditional.
77060         [!__ASSUME_32BITUIDS]: Remove conditional code.
77061         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77062         <kernel-features.h>.
77063         [__ASSUME_32BITUIDS]: Make code unconditional.
77064         [!__ASSUME_32BITUIDS]: Remove conditional code.
77065         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77066         <kernel-features.h>.
77067         [__ASSUME_32BITUIDS]: Make code unconditional.
77068         [!__ASSUME_32BITUIDS]: Remove conditional code.
77069         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77070         <kernel-features.h>.
77071         [__NR_setresgid] (__setresgid): Do not declare.
77072         [__ASSUME_32BITUIDS]: Make code unconditional.
77073         [!__ASSUME_32BITUIDS]: Remove conditional code.
77074         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77075         <kernel-features.h>.
77076         [__NR_setresuid] (__setresuid): Do not declare.
77077         [__ASSUME_32BITUIDS]: Make code unconditional.
77078         [!__ASSUME_32BITUIDS]: Remove conditional code.
77079         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77080         <kernel-features.h>.
77081         [__ASSUME_32BITUIDS]: Make code unconditional.
77082         [!__ASSUME_32BITUIDS]: Remove conditional code.
77083         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
77084         <kernel-features.h>.
77085         [__ASSUME_32BITUIDS]: Make code unconditional.
77086         [!__ASSUME_32BITUIDS]: Remove conditional code.
77087         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
77088         <kernel-features.h>.
77089         [__ASSUME_32BITUIDS]: Make code unconditional.
77090         [!__ASSUME_32BITUIDS]: Remove conditional code.
77091         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77092         <kernel-features.h>.
77093         [__ASSUME_32BITUIDS]: Make code unconditional.
77094         [!__ASSUME_32BITUIDS]: Remove conditional code.
77095         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77096         <kernel-features.h>.
77097         [__ASSUME_32BITUIDS]: Make code unconditional.
77098         [!__ASSUME_32BITUIDS]: Remove conditional code.
77099         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77100         <kernel-features.h>.
77101         [__ASSUME_32BITUIDS]: Make code unconditional.
77102         [!__ASSUME_32BITUIDS]: Remove conditional code.
77103         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77104         <kernel-features.h>.
77105         [__ASSUME_32BITUIDS]: Make code unconditional.
77106         [!__ASSUME_32BITUIDS]: Remove conditional code.
77107         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77108         <kernel-features.h>.
77109         [__ASSUME_32BITUIDS]: Make code unconditional.
77110         [!__ASSUME_32BITUIDS]: Remove conditional code.
77111         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77112         <kernel-features.h>.
77113         [__ASSUME_32BITUIDS]: Make code unconditional.
77114         [!__ASSUME_32BITUIDS]: Remove conditional code.
77115         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77116         <kernel-features.h>.
77117         [__ASSUME_32BITUIDS]: Make code unconditional.
77118         [!__ASSUME_32BITUIDS]: Remove conditional code.
77119         * sysdeps/unix/sysv/linux/kernel-features.h
77120         (__ASSUME_SETRESUID_SYSCALL): Remove.
77121         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77122         (__ASSUME_32BITUIDS): Likewise.
77123         (__ASSUME_LDT_WORKS): Likewise.
77124         (__ASSUME_O_DIRECTORY): Likewise.
77125         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77126         architecture but not kernel version.
77127         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77128         (__ASSUME_MMAP2_SYSCALL): Likewise.
77129         (__ASSUME_STAT64_SYSCALL): Likewise.
77130         (__ASSUME_IPC64): Likewise.
77131         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77132         <kernel-features.h>.
77133         [__ASSUME_32BITUIDS]: Make code unconditional.
77134         [!__ASSUME_32BITUIDS]: Remove conditional code.
77135         * sysdeps/unix/sysv/linux/opendir.c: Do not include
77136         <kernel-features.h>.
77137         [__ASSUME_O_DIRECTORY]: Make code unconditional.
77138         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77139         132096]: Remove conditional code.
77140         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77141         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77142         <kernel-features.h>.
77143         [__ASSUME_32BITUIDS]: Make code unconditional.
77144         [!__ASSUME_32BITUIDS]: Remove conditional code.
77145         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77146         <kernel-features.h>.
77147         [__ASSUME_32BITUIDS]: Make code unconditional.
77148         [!__ASSUME_32BITUIDS]: Remove conditional code.
77149         * sysdeps/unix/sysv/linux/setegid.c: Do not include
77150         <kernel-features.h>.
77151         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77152         unconditional.
77153         (__setresgid): Do not declare.
77154         [__ASSUME_32BITUIDS]: Make code unconditional.
77155         [!__ASSUME_32BITUIDS]: Remove conditional code.
77156         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77157         <kernel-features.h>.
77158         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77159         unconditional.
77160         (__setresuid): Do not declare.
77161         [__ASSUME_32BITUIDS]: Make code unconditional.
77162         [!__ASSUME_32BITUIDS]: Remove conditional code.
77163         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
77164         <kernel-features.h>.
77165         [__ASSUME_32BITUIDS]: Make code unconditional.
77166         [!__ASSUME_32BITUIDS]: Remove conditional code.
77167         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
77168         <kernel-features.h>.
77169         [__ASSUME_32BITUIDS]: Make code unconditional.
77170         [!__ASSUME_32BITUIDS]: Remove conditional code.
77172 2012-05-25  Richard Henderson  <rth@twiddle.net>
77174         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77175         dl_hwcap to ifunc resolver.
77176         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77177         elf_ifunc_invoke.
77178         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77179         dl_hwcap to ifunc resolver.
77180         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77182 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77184         [BZ #14153]
77185         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77186         for |x| <= 2**-26, not 2**-57.
77187         * math/libm-test.inc (acos_test): Do not allow spurious underflow
77188         exception.
77190 2012-05-24  Jeff Law  <law@redhat.com>
77192         * stdio-common/Makefile (tests): Add bug25.
77193         * stdio-common/bug25.c: New test.
77195 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77197         [BZ #13576]
77198         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77199         multiple of MALLOC_ALIGNMENT in size.
77200         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77202 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77204         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77205         Require >= 256.
77206         (FILENAME_MAX): Use macro-int-constant.
77207         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
77208         (_IOFBF): Use macro-int-constant.
77209         (_IOLBF): Likewise.
77210         (_IONBF): Likewise.
77211         (SEEK_CUR): Likewise.
77212         (SEEK_END): Likewise.
77213         (SEEK_SET): Likewise.
77214         (TMP_MAX): Likewise.
77215         (EOF): Use macro-int-constant.  Require < 0.
77216         (NULL): Use macro-constant.  Require == 0.
77217         (stdin): Require type to be FILE *.
77218         (stdout): Likewise.
77219         (stderr): Likewise.
77220         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77221         macro-int-constant.
77222         (EXIT_SUCCESS): Likewise.
77223         (NULL): Use macro-constant.  Require == 0.
77224         (RAND_MAX): Use macro-int-constant.
77225         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77226         [C99-based standards] (strtof): Require function.
77227         [C99-based standards] (strtold): Likewise.
77228         [C99-based standards] (strtoll): Likewise.
77229         [C99-based standards] (strtoull): Likewise.
77230         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77231         [ISO || ISO99 || ISO11] (limits.h): Likewise.
77232         [ISO || ISO99 || ISO11] (math.h): Likewise.
77233         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
77234         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77235         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77237 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
77239         [BZ #14132]
77240         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
77241         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
77242         * intl/dgettext.c (DCGETTEXT): Likewise.
77243         * intl/gettext.c (DCGETTEXT): Likewise.
77244         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
77245         * posix/regex_internal.h (gettext): Likewise.
77246         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
77247         Remove declaration.
77248         * include/argz.h (__argz_count_internal)
77249         (__argz_stringify_internal): Remove declaration.
77250         (__argz_count, __argz_stringify): Declare hidden proto.
77251         * intl/dcgettext.c: Remove use of INTDEF.
77252         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
77253         * string/argz-stringify.c: Likewise.
77254         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77255         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77256         Declare hidden proto.
77257         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77258         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77259         Declare hidden proto.
77260         * include/stdio.h (__asprintf_internal): Don't declare.
77261         (__asprintf): Don't define as macro.  Declare hidden proto.
77262         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
77263         (__fsetlocking): Declare hidden proto.
77264         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
77265         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77266         hidden proto.
77267         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
77268         (_IO_setlinebuf): Remove use of INTUSE.
77269         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
77270         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77271         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
77272         Remove declaration.
77273         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
77274         (_IO_do_flush): Remove use of INTUSE.
77275         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
77276         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
77277         (_IO_adjust_column, _IO_least_wmarker)
77278         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
77279         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
77280         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
77281         (_IO_default_doallocate, _IO_wdefault_doallocate)
77282         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
77283         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
77284         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
77285         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
77286         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
77287         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
77288         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
77289         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
77290         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
77291         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
77292         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
77293         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
77294         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
77295         proto.
77296         (_IO_flush_all_internal, _IO_adjust_column_internal)
77297         (_IO_default_uflow_internal, _IO_default_finish_internal)
77298         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
77299         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
77300         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
77301         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
77302         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
77303         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
77304         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
77305         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
77306         (_IO_file_close_internal, _IO_file_close_it_internal)
77307         (_IO_file_underflow_internal, _IO_file_overflow_internal)
77308         (_IO_file_init_internal, _IO_file_attach_internal)
77309         (_IO_file_fopen_internal, _IO_file_read_internal)
77310         (_IO_file_sync_internal, _IO_file_seek_internal)
77311         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
77312         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
77313         (_IO_str_underflow_internal, _IO_str_overflow_internal)
77314         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
77315         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
77316         (_IO_list_all_internal, _IO_link_in_internal)
77317         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
77318         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
77319         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
77320         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
77321         (_IO_do_write_internal, _IO_padn_internal)
77322         (_IO_getline_info_internal, _IO_getline_internal)
77323         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
77324         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
77325         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
77326         (_IO_vfscanf_internal, _IO_vfprintf_internal)
77327         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
77328         (_IO_init_internal, _IO_un_link_internal): Don't declare.
77329         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
77330         with libc_hidden_ver, remove use of INTUSE.
77331         * libio/genops.c: Likewise.
77332         * libio/freopen.c: Likewise.
77333         * libio/freopen64.c: Likewise.
77334         * libio/iofclose.c: Likewise.
77335         * libio/iofdopen.c: Likewise.
77336         * libio/iofflush.c: Likewise.
77337         * libio/iofflush_u.c: Likewise.
77338         * libio/iofgets.c: Likewise.
77339         * libio/iofgets_u.c: Likewise.
77340         * libio/iofopen.c: Likewise.
77341         * libio/iofopncook.c: Likewise.
77342         * libio/iofread.c: Likewise.
77343         * libio/iofread_u.c: Likewise.
77344         * libio/ioftell.c: Likewise.
77345         * libio/iofwrite.c: Likewise.
77346         * libio/iogetline.c: Likewise.
77347         * libio/iogets.c: Likewise.
77348         * libio/iogetwline.c: Likewise.
77349         * libio/iopadn.c: Likewise.
77350         * libio/iopopen.c: Likewise.
77351         * libio/ioseekoff.c: Likewise.
77352         * libio/ioseekpos.c: Likewise.
77353         * libio/iosetbuffer.c: Likewise.
77354         * libio/iosetvbuf.c: Likewise.
77355         * libio/ioungetc.c: Likewise.
77356         * libio/ioungetwc.c: Likewise.
77357         * libio/iovdprintf.c: Likewise.
77358         * libio/iovsprintf.c: Likewise.
77359         * libio/iovsscanf.c: Likewise.
77360         * libio/memstream.c: Likewise.
77361         * libio/obprintf.c: Likewise.
77362         * libio/oldfileops.c: Likewise.
77363         * libio/oldiofclose.c: Likewise.
77364         * libio/oldiofdopen.c: Likewise.
77365         * libio/oldiofopen.c: Likewise.
77366         * libio/oldiopopen.c: Likewise.
77367         * libio/oldstdfiles.c: Likewise.
77368         * libio/putc.c: Likewise.
77369         * libio/setbuf.c: Likewise.
77370         * libio/setlinebuf.c: Likewise.
77371         * libio/stdfiles.c: Likewise.
77372         * libio/strops.c: Likewise.
77373         * libio/vasprintf.c: Likewise.
77374         * libio/vscanf.c: Likewise.
77375         * libio/vsnprintf.c: Likewise.
77376         * libio/vswprintf.c: Likewise.
77377         * libio/wfiledoalloc.c: Likewise.
77378         * libio/wfileops.c: Likewise.
77379         * libio/wgenops.c: Likewise.
77380         * libio/wmemstream.c: Likewise.
77381         * libio/wstrops.c: Likewise.
77382         * libio/__fpurge.c: Likewise.
77383         * libio/__fsetlocking.c: Likewise.
77384         * assert/assert.c: Likewise.
77385         * debug/fgets_chk.c: Likewise.
77386         * debug/fgets_u_chk.c: Likewise.
77387         * debug/fread_chk.c: Likewise.
77388         * debug/fread_u_chk.c: Likewise.
77389         * debug/gets_chk.c: Likewise.
77390         * debug/obprintf_chk.c: Likewise.
77391         * debug/vasprintf_chk.c: Likewise.
77392         * debug/vdprintf_chk.c: Likewise.
77393         * debug/vsnprintf_chk.c: Likewise.
77394         * debug/vsprintf_chk.c: Likewise.
77395         * malloc/mtrace.c: Likewise.
77396         * misc/error.c: Likewise.
77397         * misc/syslog.c: Likewise.
77398         * stdio-common/asprintf.c: Likewise.
77399         * stdio-common/fxprintf.c: Likewise.
77400         * stdio-common/getw.c: Likewise.
77401         * stdio-common/isoc99_fscanf.c: Likewise.
77402         * stdio-common/isoc99_scanf.c: Likewise.
77403         * stdio-common/isoc99_vfscanf.c: Likewise.
77404         * stdio-common/isoc99_vscanf.c: Likewise.
77405         * stdio-common/isoc99_vsscanf.c: Likewise.
77406         * stdio-common/printf-prs.c: Likewise.
77407         * stdio-common/printf_fp.c: Likewise.
77408         * stdio-common/printf_fphex.c: Likewise.
77409         * stdio-common/printf_size.c: Likewise.
77410         * stdio-common/putw.c: Likewise.
77411         * stdio-common/scanf.c: Likewise.
77412         * stdio-common/sprintf.c: Likewise.
77413         * stdio-common/tmpfile.c: Likewise.
77414         * stdio-common/vfprintf.c: Likewise.
77415         * stdio-common/vfscanf.c: Likewise.
77416         * stdlib/strfmon_l.c: Likewise.
77417         * sunrpc/openchild.c: Likewise.
77418         * sunrpc/xdr_stdio.c: Likewise.
77419         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
77420         * sysdeps/mach/hurd/tmpfile.c: Likewise.
77422 2012-05-24  Roland McGrath  <roland@hack.frob.com>
77424         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77426         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
77427         in the third column, to generate for the shared library an IFUNC
77428         that uses _dl_vdso_vsym.
77429         * Makerules (COMPILE.c, compile-stdin.c): New variables.
77430         * Makeconfig (object-suffixes-noshared): New variable.
77432         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
77433         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
77434         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
77435         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
77437         [BZ #14132]
77438         * include/sys/time.h (__gettimeofday): Remove macro.
77439         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
77440         * time/gettimeofday.c (__gettimeofday): Remove #undef.
77441         Remove INTDEF.
77442         (__gettimeofday): Add libc_hidden_def.
77443         (gettimeofday): Add libc_hidden_weak.
77444         * sysdeps/mach/gettimeofday.c: Likewise.
77445         * sysdeps/posix/gettimeofday.c: Likewise.
77446         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
77447         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
77448         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
77449         (__gettimeofday_internal): Remove strong_alias.
77450         (__gettimeofday): Add libc_hidden_def.
77451         (gettimeofday): Add libc_hidden_weak.
77452         * sysdeps/unix/syscalls.list (gettimeofday):
77453         Remove __gettimeofday_internal alias.
77455 2012-05-24  Daniel Jacobowitz  <drow@false.org>
77456             H.J. Lu  <hongjiu.lu@intel.com>
77458         [BZ #12495]
77459         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
77460         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
77461         (largebin_index_32_big): New.
77462         (largebin_index): Use it for 16-byte alignment.
77463         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
77464         correction with front_misalign.
77466 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
77469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
77470         Likewise.
77471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
77472         Likewise.
77473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
77474         Likewise.
77475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
77476         Likewise.
77477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
77478         Likewise.
77479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
77480         Likewise.
77481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
77482         Likewise.
77483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
77484         Likewise.
77485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
77486         Likewise.
77487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
77488         Likewise.
77489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
77490         Likewise.
77491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
77492         Likewise.
77494         * scripts/data/c++-types-x32-linux-gnu.data: New file.
77495         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
77497 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77499         [BZ #10846]
77500         [BZ #14036]
77501         * math/libm-test.inc (exp_test): Add test from bug 14036.
77502         (pow_test): Add test from bug 10846.
77504         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
77505         and other flags.
77506         (special_function): Do not include flags in test name.
77507         (parse_args): Likewise.
77508         * sysdeps/i386/fpu/libm-test-ulps: Update.
77509         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77510         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
77511         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
77512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77514         * math/gen-libm-test.pl (%beautify): Add entries for underflow
77515         exceptions.
77516         * math/libm-test.inc ("Philosophy"): Update comment about
77517         exception testing.
77518         (UNDERFLOW_EXCEPTION): New macro.
77519         (UNDERFLOW_EXCEPTION_OK): Likewise.
77520         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
77521         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
77522         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
77523         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
77524         (INVALID_EXCEPTION_OK): Update value.
77525         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77526         (OVERFLOW_EXCEPTION_OK): Likewise.
77527         (IGNORE_ZERO_INF_SIGN): Likewise.
77528         (test_exceptions): Handle underflow exceptions.
77529         (acos_test): Update for underflow exception expectations.
77530         (cexp_test): Likewise.
77531         (clog_test): Likewise.
77532         (clog10_test): Likewise.
77533         (csqrt_test): Likewise.
77534         (ctan_test): Likewise.
77535         (ctanh_test): Likewise.
77536         (exp_test): Likewise.
77537         (exp10_test): Likewise.
77538         (exp2_test): Likewise.
77539         (expm1_test): Likewise.
77540         (fma_test): Likewise.
77541         (j0_test): Likewise.
77542         (jn_test): Likewise.
77543         (nexttoward_test): Likewise.
77544         (pow_test): Likewise.
77545         (scalbn_test): Likewise.
77546         (scalbln_test): Likewise.
77547         (tan_test): Likewise.
77548         (y1_test): Likewise.
77549         * sysdeps/i386/fpu/libm-test-ulps: Update.
77550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77552 2012-05-23  David S. Miller  <davem@davemloft.net>
77554         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77555         (__libc_sigaction): Remove unused local variables.
77557 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77559         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77561 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
77563         mktime: avoid signed integer overflow
77564         * time/mktime.c (__mktime_internal): Do not mishandle the case
77565         where diff == INT_MIN.
77567         mktime: simplify computation of average
77568         * time/mktime.c (ranged_convert): Use new time_t_avg function
77569         instead of rolling our own (probably-slower) code.
77571         mktime: do not assume signed right shift propagates sign bit
77572         * time/mktime.c (isdst_differ): New static function.
77573         (__mktime_internal): No need to normalize tm_isdst now.
77574         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77575         tm_isdst values.
77577         mktime: merge another wrapv change from gnulib
77578         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77579         from some compilers.
77581         mktime: remove incorrect attempt at unusual arithmetics
77582         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77583         The code didn't really work on such machines anyway.
77584         (TYPE_MINIMUM): Assume two's complement.
77585         (twos_complement_arithmetic): Verify that long_int and time_t
77586         are two's complement (or unsigned, in the latter case).
77588         mktime: check signed shifts on long_int and time_t, too
77589         * time/mktime.c (SHR): Check that shifts work as desired
77590         on the types long_int and time_t too, as SHR is used on
77591         such types.
77593         mktime: do not assume 'long' is wide enough
77594         * time/mktime.c (verify): Move decl up.
77595         (long_int): New type.
77596         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77597         to remove assumption in the code that 'long' is wide enough to
77598         store year values.  This assumption is not true on x32 and on
77599         some non-glibc platforms.
77601         mktime: merge wrapv change from gnulib
77602         * time/mktime.c (WRAPV): New macro.
77603         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77604         (guess_time_tm, __mktime_internal): Do not assume that signed
77605         integer overflow wraps around; modern compilers generate code
77606         where this assumption is no longer valid.
77608 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77610         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77611         Replace "jmp L(pseudo_end)" with "ret".
77612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77613         Likewise.
77615 2012-05-23  Andreas Jaeger  <aj@suse.de>
77617         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77618         * sysdeps/unix/sysv/linux/poll.c: Remove file.
77620 2012-05-23  Andreas Jaeger  <aj@suse.de>
77621             Maximilian Attems  <max@stro.at>
77623         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
77624         New macros.
77626 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77628         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
77629         code so that pseudo_end is just ret and the stack pointer is
77630         correct also for static library in error case.
77632 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
77634         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
77635         move to syscalls.list.
77636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
77637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
77638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
77639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
77641         * manual/install.texi (Running make install): Do not mention Linux
77642         kernel version for which pt_chown is not needed.
77643         (Linux): Do not mention problems with nscd with 2.0 kernels.
77644         * INSTALL: Regenerated.
77646 2012-05-23  Andreas Jaeger  <aj@suse.de>
77648         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
77649         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
77650         macro.
77651         * sysdeps/unix/sysv/linux/s390/bits/mman.h
77652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77653         * sysdeps/unix/sysv/linux/sh/bits/mman.h
77654         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77655         * sysdeps/unix/sysv/linux/i386/bits/mman.h
77656         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77657         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
77658         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77659         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
77660         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77661         * sysdeps/unix/sysv/linux/bits/in.h
77662         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
77664 2012-05-22  Roland McGrath  <roland@hack.frob.com>
77666         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
77667         (PREPARE_VERSION): Just use assert instead, it will be elided
77668         under [NDEBUG] anyway.
77670 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77672         * sysdeps/unix/sysv/linux/Makefile: Include
77673         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
77674         (sysdep_routines): Remove sysctl.
77675         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
77676         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
77677         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
77678         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
77679         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
77681 2012-05-22  Andreas Jaeger  <aj@suse.de>
77683         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77684         that pseudo_end is just ret and the stack pointer is correct also
77685         for static library in error case.
77687 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
77689         [BZ #14122]
77690         * nss/nsswitch.c (defconfig_entries): New variable.
77691         (__nss_database_lookup): Don't leak defconfig entries.
77692         (nss_parse_service_list): Don't leak on error paths.
77693         (free_database_entries): New function.
77694         (free_defconfig): New function.
77695         (free_mem): Move common code to free_database_entries.
77697 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77699         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
77700         Add arch_prctl.
77701         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
77703         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
77704         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
77705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
77706         New macro.
77707         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
77708         (INTERNAL_SYSCALL_TYPES): Likewise.
77709         (LOAD_ARGS_TYPES_[1-6]): Likewise.
77710         (LOAD_REGS_TYPES_[1-6]): Likewise.
77711         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
77712         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
77714 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77716         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
77717         copysignl for GLIBC_2_0.
77718         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
77719         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
77720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
77721         logbl for GLIBC_2_0.
77722         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
77723         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
77725 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77727         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
77728         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77730         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77731         Use "neg %eax".
77733         * time/mktime.c: Update copyright years.
77735 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
77737         mktime: merge comment-quoting-style change from gnulib
77738         * time/mktime.c: Quote 'like this' in comments.
77739         The GNU coding standards suggest that we no longer quote `like this',
77740         as "`" and "'" are typically rendered asymmetrically nowadays.
77741         The typical gnulib style is to quote 'like this' when quoting
77742         code, and "like this" when quoting English.
77744         * time/mktime.c (compile-command): Add "-I.".
77746         mktime: merge mktime-internal.h change from gnulib
77747         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
77749         mktime: merge time_r change from gnulib
77750         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
77752         mktime: merge DEBUG change from gnulib
77753         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
77754         case system <time.h> has a #define.
77756         mktime: merge <sys/types.h> change from gnulib
77757         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
77758         since <time.t> is now guaranteed to define time_t.
77760         mktime: merge HAVE_CONFIG_H change from gnulib
77761         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
77763 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77766         Use "neg %eax".
77768         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
77769         __rlim_t cast.
77770         (struct rusage): Use anonymous union to pad each field to
77771         __syscall_slong_t.
77773 2012-05-21  David S. Miller  <davem@davemloft.net>
77775         * Makefules (o-iterator): Remove .s cases.
77776         (compile-command.s): Delete.
77777         (COMPILE.s): Delete.
77778         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
77780 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
77782         * configure.in (libc_cv_predef_stack_protector): Only consider
77783         "foobar" and "__stack_chk_fail" lines in libc_undefs.
77784         * configure: Regenerated.
77786 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77789         New macro.  Use R*LP on int and pointer.
77790         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
77791         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
77792         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
77793         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
77795         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
77796         [__WORDSIZE_TIME64_COMPAT32] instead of
77797         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
77798         (struct utmp): Likewise.
77799         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
77800         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
77801         Renamed to ...
77802         (__WORDSIZE_TIME64_COMPAT32): This.
77803         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
77804         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
77805         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
77806         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77807         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
77808         (__WORDSIZE_TIME64_COMPAT32): New macro.
77810 2012-05-21  Andreas Jaeger  <aj@suse.de>
77812         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
77813         only if [SHARED]. Add prototype for __wcschr_ia32.
77815 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77817         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
77818         of %rbp unmolested in the jmp_buf while mangling the low bits.
77819         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
77820         unmolested high bits of %rbp while demangling the low bits.
77821         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77823 2012-05-21  Andreas Jaeger  <aj@suse.de>
77825         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
77826         * sunrpc/svc_simple.c: Use it for registerrpc.
77827         * sunrpc/xcrypt.c: Use it for passwd2des.
77829         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
77831 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77833         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
77834         Don't define if [__SYSCALL_WORDSIZE != 32].
77835         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
77836         New macro.
77838 2012-05-21  Bruno Haible  <bruno@clisp.org>
77839             Andreas Jaeger  <aj@suse.de>
77841         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
77842         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
77843         inptr and inend for must_buffer_ch.
77844         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
77845         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
77846         * stdio-common/Makefile (tests): Remove bug15.
77847         (bug15-ENV): Remove macro.
77848         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
77849         anymore.
77851 2012-05-19  Andreas Jaeger  <aj@suse.de>
77852             Roland McGrath  <roland@hack.frob.com>
77854         * manual/contrib.texi: Completely rewritten. It contains now an
77855         alphabetical list of contributors and their contributions.
77857 2012-05-21  Richard Henderson  <rth@twiddle.net>
77859         * misc/getauxval.c (__getauxval): Use unsigned long int.
77860         * misc/sys/auxv.h: Include <sys/cdefs.h>.
77861         (getauxval): Use unsigned long int.
77863 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77865         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77867 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77869         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
77870         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
77871         __alignof__ (long double).
77873 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77877 2012-05-20  Richard Henderson  <rth@twiddle.net>
77879         * misc/getauxval.c: New file.
77880         * misc/sys/auxv.h: New file.
77881         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
77882         (routines): Add getauxval.
77883         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
77884         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
77885         * elf/dl-sysdep.c (_dl_auxv): Remove.
77886         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
77887         * elf/dl-support.c (_dl_auxv): New variable.
77888         (_dl_aux_init): Initialize it.
77889         * manual/startup.texi (Auxiliary Vector): New node.
77890         * sysdeps/generic/bits/hwcap.h: New file.
77891         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
77892         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
77893         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
77894         * sysdeps/sparc/sysdep.h: ... here.  Include it.
77895         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
77896         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
77897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77898         Update.
77899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
77900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
77901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
77902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
77903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
77906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
77908 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77912 2012-05-19  David S. Miller  <davem@davemloft.net>
77914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77916 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77918         [BZ #14123]
77919         * math/s_ccosh.c: Include <float.h>
77920         (__ccosh): Avoid internal overflow calculating sinh and cosh
77921         values before multiplying by sin and cos values.
77922         * math/s_ccoshf.c: Likewise.
77923         * math/s_ccoshl.c: Likewise.
77924         * math/s_csin.c: Likewise.
77925         * math/s_csinf.c: Likewise.
77926         * math/s_csinl.c: Likewise.
77927         * math/s_csinh.c: Likewise.
77928         * math/s_csinhf.c: Likewise.
77929         * math/s_csinhl.c: Likewise.
77930         * math/libm-test.inc (ccos_test): Add more tests.
77931         (ccosh_test): Likewise.
77932         (csin_test): Likewise.
77933         (csinh_test): Likewise.
77934         * sysdeps/i386/fpu/libm-test-ulps: Update.
77935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77937 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
77939         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
77940         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
77942         * sysdeps/x86_64/x32/_itoa.h: Add comment.
77944 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77946         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
77947         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
77948         * sysdeps/powerpc/soft-fp/Versions: Likewise.
77949         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
77950         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
77951         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
77952         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
77953         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
77954         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
77955         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
77956         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
77957         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
77958         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
77959         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
77960         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
77961         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
77962         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
77963         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
77964         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
77965         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
77966         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
77967         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
77968         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
77969         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
77970         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
77971         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
77972         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
77973         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
77974         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
77975         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
77976         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
77978 2012-05-18  Andreas Jaeger  <aj@suse.de>
77980         * csu/.gitignore: Delete.
77982 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77984         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
77985         (timex): Use __syscall_slong_t.
77987 2012-05-18  Andreas Jaeger  <aj@suse.de>
77988             Carlos O'Donell  <carlos_odonell@mentor.com>
77990         * manual/install.texi (Configuring and compiling): Update
77991         description about files modified in the source directory.
77992         * INSTALL: Regenerated.
77994 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77996         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
77997         value.  Use "or" to set return value to -1.
77998         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
77999         negate return value.
78001 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78003         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78004         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78005         failure if the compiler has Graphite support disabled.
78006         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78007         Likewise.
78008         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78009         (CFLAGS-memmove.c): Likewise.
78010         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78011         Likewise.
78013 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78015         * sysdeps/x86_64/x32/_itoa.h: New file.
78017         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78018         getdents system call only if kernel and user dirents have the
78019         same d_ino and d_off.
78021         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78022         LLONG_MAX != LONG_MAX.
78023         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78024         (_fitoa_word): Likewise.
78026         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78027         years.
78028         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78029         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78030         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78032         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78033         include <bits/wordsize.h>.  Check __x86_64__ instead of
78034         __WORDSIZE.
78035         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78036         if __x86_64__ is defined.  Use anonymous union on fpstate.
78038         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78039         anonymous union.
78041 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78043         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78044         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78045         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78046         Refer to _rtld_local_ro instead of _rtld_global_ro.
78047         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78048         Likewise.
78049         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78050         Likewise.
78051         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78052         Likewise.
78053         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78054         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78055         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78057         [BZ #10882]
78058         * sysdeps/powerpc/powerpc32/dl-machine.c
78059         (__elf_machine_runtime_setup) [PROF]: Don't reference
78060         _dl_prof_resolve.
78062 2012-05-18  Andreas Jaeger  <aj@suse.de>
78064         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78065         function only available for GCCs before 3.4 since GCC 3.4
78066         introduced a builtin.
78067         (lrint): Likewise.
78068         (llrintf): Likewise.
78069         (llrint): Likewise.
78070         (fmaxf): Likewise.
78071         (fmax): Likewise.
78072         (fminf): Likewise.
78073         (fmin): Likewise.
78074         (rint): Likewise.
78075         (rintf): Likewise.
78076         (nearbyint): Likewise.
78077         (nearbyintf): Likewise.
78078         (ceil): Likewise.
78079         (ceilf): Likewise.
78080         (floor): Likewise.
78081         (floorf): Likewise.
78083 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78085         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78086         on both fields and cast pointer to __syscall_ulong_t.
78088         * bits/types.h (__fsword_t): New type.
78089         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78090         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78092         (__FSWORD_T_TYPE): Likewise.
78093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78094         (__FSWORD_T_TYPE): Likewise.
78095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78096         (__FSWORD_T_TYPE): Likewise.
78097         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78098         (__FSWORD_T_TYPE): Likewise.
78099         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78100         __SWORD_TYPE with __fsword_t.
78101         (statfs64): Likewise.
78103 2012-05-17  David S. Miller  <davem@davemloft.net>
78105         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78107 2012-05-17  Andreas Jaeger  <aj@suse.de>
78109         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78110         warning.
78112 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78114         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78116 2012-05-17  Andreas Jaeger  <aj@suse.de>
78118         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78119         when it is used.
78121 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78123         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78125 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78127         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78128         * sysdeps/x86_64/tst-mallocalign1.c: New file.
78130 2012-05-17  Andreas Jaeger  <aj@suse.de>
78131             Carlos O'Donell  <carlos_odonell@mentor.com>
78133         [BZ #14059]
78134         * sysdeps/x86_64/multiarch/init-arch.h
78135         (bit_YMM_Usable): Rename to...
78136         (bit_AVX_Usable): ... this.
78137         (bit_FMA4_Usable): New macro.
78138         (bit_XMM_state): New macro.
78139         (bit_YMM_state): New macro.
78140         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78141         [__ASSEMBLER__] (index_AVX_Usable): ... this.
78142         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78143         (CPUID_OSXSAVE): New macro.
78144         (CPUID_AVX): New macro.
78145         (CPUID_FMA4): New macro.
78146         (index_YMM_Usable): Rename to...
78147         (index_AVX_Usable): ... this.
78148         (HAS_AVX): Use HAS_ARCH_FEATURE.
78149         (HAS_FMA4): Likewise.
78150         (HAS_YMM_USABLE): Remove.
78151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78152         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78153         are present.
78154         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78155         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78156         * sysdeps/x86_64/multiarch/Makefile: Likewise.
78157         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78158         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78160 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78162         * math/libm-test.c: Support platforms without multiple rounding modes.
78163         * math/bug-nextafter.c: Support platforms without FP exceptions.
78164         * math/bug-nexttoward.c: Likewise.
78165         * math/test-fenv.c: Likewise.
78166         * math/test-misc.c: Likewise.
78167         * stdlib/bug-getcontext.c: Likewise.
78169 2012-05-17  Andreas Jaeger  <aj@suse.de>
78171         * manual/examples/search.c (critter_cmp): Change signature to
78172         avoid warnings.
78173         * manual/string.texi (Collation Functions): Likewise.
78175 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78177         * bits/types.h: Fold copyright years.
78178         * bits/typesizes.h: Likewise.
78179         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78181         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78183         * time/time.h: Likewise.
78185 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
78187         [BZ #208]
78188         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78189         in instead of returning them.  Return void.
78190         (__libc_mallinfo): Accumulate over all arenas.
78191         (__malloc_stats): Adjust for change in int_mallinfo interface.
78193 2012-05-16  Roland McGrath  <roland@hack.frob.com>
78195         [BZ #10375]
78196         * configure.in (NM): Add AC_CHECK_TOOL for it.
78197         (libc_extra_cflags): New substituted variable.
78198         Check for -fstack-protector being used implicitly.
78199         * configure: Regenerated.
78200         * config.make.in (config-extra-cflags): New variable,
78201         gets @libc_extra_cflags@.
78202         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78204         [BZ #10375]
78205         * configure.in: Check for _FORTIFY_SOURCE being predefined.
78206         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78207         * configure: Regenerated.
78208         * config.make.in (CPPUNDEFS): New substituted variable.
78209         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78210         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78211         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78213 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78215         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78216         (mq_attr): Use __syscall_slong_t.
78218 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78220         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78221         Check __x86_64__ instead of __WORDSIZE.
78222         (_STAT_VER_LINUX): Likewise.
78223         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
78224         __syscall_ulong_t and __syscall_slong_t.
78225         (stat64): Likewise.
78227 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78229         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
78231 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78233         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
78235 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78237         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
78238         __syscall_ulong_t.
78240         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
78241         include <bits/wordsize.h>.  Check __x86_64__ instead of
78242         __WORDSIZE.
78243         (greg_t): Use "__extension__ long long int" if __x86_64__ is
78244         defined.
78245         (mcontext_t): Replace "unsigned long" with "unsigned long long".
78247         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
78248         include <bits/wordsize.h>.  Check __x86_64__ instead of
78249         __WORDSIZE.
78250         (user_regs_struct): Use "__extension__ unsigned long long"
78251         instead of "unsigned long" if __x86_64__ is defined.
78252         (user): Likewise.  Pad after pointer field if __ILP32__ is
78253         defined.
78255 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
78257         * configure.in (makeinfo): Require version 4.5 or later.  Allow
78258         versions 5 to 9.
78259         * configure: Regenerated.
78260         * manual/install.texi (texinfo): Increase version requirement to
78261         4.5 or later.
78262         * INSTALL: Regenerated.
78264         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
78266 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78268         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
78270         * sysdeps/x86_64/x32/ffs.c: New file.
78272         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
78273         __syscall_ulong_t.
78274         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
78275         defined.  Use __syscall_ulong_t.
78276         (shminfo): Use __syscall_ulong_t.
78277         (shm_info): Likewise.
78279         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
78280         __syscall_ulong_t.
78282         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78283         <bits/wordsize.h>.
78284         (msgqnum_t): Use __syscall_ulong_t.
78285         (msglen_t): Likewise.
78286         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
78287         __syscall_ulong_t.
78289         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78290         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78292         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
78294         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
78295         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
78297         * sysvipc/sys/msg.h (msgbuf): Replace long int with
78298         __syscall_slong_t.
78300         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
78301         include <bits/wordsize.h>.  Check __x86_64__ instead of
78302         __WORDSIZE.
78304         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
78305         "unsigned long long int" if __x86_64__ is defined.
78306         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
78308         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
78309         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78310         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
78312         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
78313         <stdint.h>.
78314         (GET_PC): Cast to uintptr_t first.
78315         (GET_FRAME): Likewise.
78316         (GET_STACK): Likewise.
78318         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
78319         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
78320         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
78321         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
78322         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
78323         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
78324         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
78325         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
78326         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
78327         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
78328         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
78329         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
78330         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78331         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
78332         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
78333         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
78334         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
78335         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
78336         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
78337         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
78338         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
78339         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
78340         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
78341         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
78342         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
78343         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
78344         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
78345         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
78346         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
78348 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
78350         * Makerules (+depfiles): Also collect depfiles from .oS in
78351         $(extra-objs).
78352         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
78353         .oS, $(libnldbl-routines)).
78355         * Makerules (native-compile-mkdep-flags): Define.
78356         * sunrpc/Makefile (extra-objs): Add $(addprefix
78357         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
78358         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
78359         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
78360         calling $(make-target-directory).
78362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78364         * bits/types.h (__snseconds_t): Removed.
78365         * time/time.h (struct timespec): Replace __snseconds_t with
78366         __syscall_slong_t.
78367         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
78368         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
78369         Likewise.
78370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78371         (__SNSECONDS_T_TYPE): Likewise.
78372         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78373         (__SNSECONDS_T_TYPE): Likewise.
78374         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78375         (__SNSECONDS_T_TYPE): Likewise.
78377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78379         * sysdeps/mach/hurd/bits/typesizes.h
78380         (__SYSCALL_SLONG_TYPE): New macro.
78381         (__SYSCALL_ULONG_TYPE): Likewise.
78383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78385         * bits/types.h (__syscall_slong_t): New type.
78386         (__syscall_ulong_t): Likewise.
78388         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
78389         (__SYSCALL_ULONG_TYPE): Likewise.
78390         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78391         (__SYSCALL_SLONG_TYPE): Likewise.
78392         (__SYSCALL_ULONG_TYPE): Likewise.
78393         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78394         (__SYSCALL_SLONG_TYPE): Likewise.
78395         (__SYSCALL_ULONG_TYPE): Likewise.
78396         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78397         (__SYSCALL_SLONG_TYPE): Likewise.
78398         (__SYSCALL_ULONG_TYPE): Likewise.
78400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78402         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
78403         Add sigaltstack-offsets.sym.
78404         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
78405         <sigaltstack-offsets.h>.
78406         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
78407         longjmp_msg pointer.
78408         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
78409         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
78410         signal stack.
78411         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
78413 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78415         * elf/stackguard-macros.h: Remove file.
78416         * sysdeps/generic/stackguard-macros.h: New file.
78417         * sysdeps/i386/stackguard-macros.h: Likewise.
78418         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
78419         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
78420         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
78421         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
78422         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
78423         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
78424         * sysdeps/x86_64/stackguard-macros.h: Likewise.
78425         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
78426         <elf/stackguard-macros.h>.
78428         [BZ #14109]
78429         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
78430         __aligned__ in attribute.
78431         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
78432         (gregset_t): Likewise.
78434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78436         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
78437         * sysdeps/x86_64/64/Implies-after: Here.  New file.
78438         * sysdeps/x86_64/x32/Implies-after: New file.
78440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78442         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
78443         and access return value for _dl_profile_fixup.  Use R10_LP to
78444         load frame size.
78446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78448         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
78450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78452         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
78453         * sysdeps/x86_64/x32/sysdep.h: New file.
78455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78457         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
78458         * sysdeps/x86_64/setjmp.S: Likewise.
78460 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78462         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
78463         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
78464         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
78465         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
78466         remove unused global constant.
78468 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
78470         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
78471         include of <not-cancel.h>.
78473 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78475         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
78477 2012-05-15  Jeff Law  <law@redhat.com>
78478             Andreas Jaeger  <aj@suse.de>
78480         [BZ #13594]
78481         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
78482         out from...
78483         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
78484         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
78485         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
78486         code changing __hst_map_handle.map.
78488 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78490         * configure.in (sysnames): Look for Implies-before and Implies-after
78491         files.
78492         * configure: Regenerated.
78494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78496         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
78497         8-byte data alignment with LP_SIZE alignment.
78499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78501         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
78502         into R10_LP.
78504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78506         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
78508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78510         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
78511         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
78512         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
78513         Likewise.
78514         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78518         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
78519         (stackinfo_sub_sp): Likewise.
78521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78523         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
78524         RAX_LP.
78526 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78528         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
78529         into R*_LP.
78531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78533         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
78534         sizes into R*_LP.
78536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78538         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
78540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78542         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
78543         into R11_LP and load __x86_64_shared_cache_size_half into
78544         R8_LP.
78546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78548         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
78549         R8_LP.
78551 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78553         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
78554         logb for POWER7.
78555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
78556         logbf for POWER7.
78557         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
78558         logbl for POWER7.
78559         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
78560         powerpc32/power7/fpu/s_logb.c via #include.
78561         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78562         powerpc32/power7/fpu/s_logbf.c via #include.
78563         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78564         powerpc32/power7/fpu/s_logbl.c via #include.
78566 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78568         * README.libm: Remove file.
78570 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78572         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78573         count for x32.  Use R*_LP and omit operand-size suffix.
78575 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78577         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78578         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78579         * sysdeps/x86_64/x32/shlib-versions: New file.
78581 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78583         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78584         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78585         Use _dl_fatal_printf instead.
78587 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78589         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78590         set if not set by the user.  Do not allow for being unset.
78591         * sysdeps/unix/sysv/linux/configure: Regenerated.
78593 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78595         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78596         the `q' suffix from lea and replace .quad with ASM_ADDR.
78598 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78601         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78602         instead of $17.
78603         (PTR_DEMANGLE): Likewise.
78605 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78607         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78608         (LP_OP): Likewise.
78609         (ASM_ADDR): Likewise.
78610         (RAX_LP): Likewise.
78611         (RBP_LP): Likewise.
78612         (RBX_LP): Likewise.
78613         (RCX_LP): Likewise.
78614         (RDI_LP): Likewise.
78615         (RSI_LP): Likewise.
78616         (RSP_LP): Likewise.
78617         (R8_LP): Likewise.
78618         (R9_LP): Likewise.
78619         (R10_LP): Likewise.
78620         (R10_LP): Likewise.
78621         (R11_LP): Likewise.
78622         (R12_LP): Likewise.
78623         (R13_LP): Likewise.
78624         (R14_LP): Likewise.
78625         (R15_LP): Likewise.
78627 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78629         * sysdeps/x86_64/x32/dl-machine.h: New file.
78631 2012-05-14  Andreas Jaeger  <aj@suse.de>
78633         * manual/Makefile (subdir): Remove export of subdir.
78634         (all): Remove target.
78635         (.PHONY): Remove all from list.
78636         (mkinstalldirs): Remove.
78637         (.PHONY): Remove installdirs from list.
78638         ($(inst_infodir)/libc.info): Use make-target-directory.
78639         (installdirs): Remove.
78640         (subdir_%): Remove.
78641         (glibc-targets): Remove.
78642         (lib): Remove.
78643         (stubs): Remove.
78644         ($(objpfx)stubs ../po/manual.pot): Remove.
78645         ($(objpfx)stamp%): Remove.
78646         (make-target-directory): Remove.
78647         (subdir_install): Remove.
78648         (routines): Remove.
78649         (aux): Remove.
78650         (sources): Remove.
78651         (objects): Remove.
78652         (headers): Remove.
78654         [BZ #13750]
78655         * manual/.gitignore: Remove, it's not needed anymore.
78656         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
78657         all files in it.
78658         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
78659         directory.
78660         (texis): Renamed to $(objpfx)texis.
78661         (texis-path): New, contains path to generated files.
78662         (chapters.%): Use texis-path for complete path, add extra argument
78663         libc-texinfo.sh.
78664         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
78665         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
78666         (summary,texi, stamp-summary): Use complete path of
78667         files. Generate files in build dir.
78668         (dir-add.texi): Build in build dir.
78669         (libm-err.texi,stamp-libm-err): Likewise.
78670         (version.texi, stamp-version): Likewise.
78671         (.%c.texi): Likewise.
78672         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
78673         (mostlyclean): Remove target.
78674         (realclean): Remove target.
78675         (generated): Add new variable with contents from mostlyclean and
78676         realclean, remove entries duplicated in common-mostlyclean, add
78677         stamp-libm-err and stamp-version.
78678         (generated-dirs): Add libc directory.
78679         ($(inst_infodir)/libc.info): Install files from build dir.
78681         * manual/install.texi (Configuring and compiling): Adjust since
78682         the info files are not part of the tar ball anymore.
78684 2012-05-14  Andreas Jaeger  <aj@suse.de>
78686         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
78687         variable.
78689 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78691         [BZ #13717]
78692         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78693         to 2.2.0 where earlier.
78694         * sysdeps/unix/sysv/linux/configure: Regenerated.
78695         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
78696         Remove conditional code.
78697         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
78698         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
78699         Remove conditional code.
78700         [!__NR_lchown]: Likewise.
78701         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78702         [__NR_lchown]: Likewise.
78703         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
78704         comment referencing __ASSUME_LCHOWN_SYSCALL.
78705         * sysdeps/unix/sysv/linux/i386/sigaction.c
78706         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78707         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78708         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
78709         Remove conditional code.
78710         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
78711         (__protocol_available): Remove #if 0 code.
78712         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
78713         conditional code.
78714         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
78715         * sysdeps/unix/sysv/linux/kernel-features.h
78716         (__ASSUME_GETCWD_SYSCALL): Don't define.
78717         (__ASSUME_REALTIME_SIGNALS): Likewise.
78718         (__ASSUME_PREAD_SYSCALL): Likewise.
78719         (__ASSUME_PWRITE_SYSCALL): Likewise.
78720         (__ASSUME_POLL_SYSCALL): Likewise.
78721         (__ASSUME_LCHOWN_SYSCALL): Likewise.
78722         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
78723         non-SPARC.
78724         (__ASSUME_SIOCGIFNAME): Don't define.
78725         (__ASSUME_MSG_NOSIGNAL): Likewise.
78726         (__ASSUME_SENDFILE): Define unconditionally.
78727         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
78728         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
78729         conditional code.
78730         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
78731         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
78732         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78733         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78734         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
78735         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78736         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
78738         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
78741         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78742         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
78744         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
78747         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
78750         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
78753         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78754         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
78756         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78757         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
78759         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78760         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78761         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
78762         Remove conditional code.
78763         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78764         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78765         Remove conditional code.
78766         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78767         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
78768         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
78769         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78770         Remove conditional code.
78771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78772         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
78773         Remove conditional code.
78774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78775         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
78776         Remove conditional code.
78777         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78778         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78779         Remove conditional code.
78780         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78781         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78782         Remove conditional code.
78783         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78784         * sysdeps/unix/sysv/linux/sh/pwrite64.c
78785         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78786         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78787         * sysdeps/unix/sysv/linux/sigaction.c
78788         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78789         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78790         * sysdeps/unix/sysv/linux/sigpending.c
78791         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78792         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78793         * sysdeps/unix/sysv/linux/sigprocmask.c
78794         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78795         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78796         * sysdeps/unix/sysv/linux/sigsuspend.c
78797         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78798         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78799         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78800         (__libc_missing_rt_sigs): Remove.
78801         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
78802         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
78803         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
78804         Remove conditional code.
78805         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
78806         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
78807         return 1.
78808         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
78809         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
78810         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
78811         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
78813 2012-05-14  Andreas Jaeger  <aj@suse.de>
78815         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
78816         it's not used in glibc.
78817         (__coshm1): Likewise.
78818         (__acosh1p): Likewise.
78819         (__sgn): Likewise.
78821         * manual/string.texi (Copying and Concatenation): Add missing
78822         variable in concat example.
78823         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
78825 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78827         [BZ #14103]
78828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
78829         __builtin_clzl with __builtin_clzll.
78831 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78833         [BZ #14104]
78834         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
78835         libc_freeres_ptr.
78837 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78839         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
78840         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
78841         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
78842         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
78844 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
78846         * NEWS: Update ia64 info.
78848 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
78850         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
78851         used as bcopy.
78853 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
78855         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
78856         * sysdeps/unix/syscalls.list (dup3): Likewise.
78857         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
78858         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
78860 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78862         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
78863         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
78865 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78867         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
78868         thread pointer.
78869         (TLS_IE): Use mov/add instead of movq/addq to load thread
78870         pointer.
78871         (TLS_GD_PREFIX): New.
78872         (TLS_GD): Use it.
78874 2012-05-11  David S. Miller  <davem@davemloft.net>
78876         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
78877         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
78878         (_FPU_SETCW): Likewise.
78880 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78882         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
78883         is 32-byte aligned.
78885 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
78887         [BZ #11837]
78888         * iconvdata/gb18030.c: Update tables.
78889         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
78890         characters specially.
78891         (BODY for TO_LOOP): Add encoding of missing ranges.
78893 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
78895         [BZ #13673]
78896         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
78897         * sysdeps/mach/hurd/dup3.c: Likewise.
78898         * sysdeps/mach/hurd/readlinkat.c: Likewise.
78899         * sysdeps/powerpc/memmove.c:: Likewise.
78901 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78903         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
78904         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
78906 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78908         * elf/elf.h (R_X86_64_RELATIVE64): New.
78909         (R_X86_64_NUM): Updated.
78910         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
78911         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
78912         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
78913         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
78914         tst-quad1pie tst-quad2pie
78915         (modules-names): Add tst-quadmod1 tst-quadmod2.
78916         ($(objpfx)tst-quad1): New dependency.
78917         ($(objpfx)tst-quad2): Likewise.
78918         ($(objpfx)tst-quad1pie): Likewise.
78919         ($(objpfx)tst-quad2pie): Likewise.
78920         * sysdeps/x86_64/tst-quad1.c: New file.
78921         * sysdeps/x86_64/tst-quad1pie.c: New file.
78922         * sysdeps/x86_64/tst-quad2.c: Likewise.
78923         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
78924         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
78925         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
78926         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
78927         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
78929 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78931         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
78932         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
78933         * streams/stropts.h (t_scalar_t): Define type.
78935         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
78936         (_PATH_PRESERVE): Set to "/var/lib".
78937         (_PATH_RWHODIR): Set to "/var/spool/rwho".
78939         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
78940         instead of int.
78942         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
78943         if __dir_mkfile succeeded.
78945         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
78946         checking for _hurd_dtablesize.  Unlock it right after having
78947         finished _hurd_dtable allocation.
78949 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78951         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
78952         * sysdeps/mach/hurd/configure: Regenerated.
78953         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
78954         special-casing to...
78955         * sysdeps/gnu/configure.in: ... this new file.
78956         * sysdeps/unix/sysv/linux/configure: Regenerated.
78957         * sysdeps/gnu/configure: New generated file.
78959         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
78960         for Linux: use nsec instead of usec, as well as:
78961         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
78962         members of type struct timespec.
78963         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
78964         New macros.
78965         (struct stat64): Likewise.
78966         (_STATBUF_ST_NSEC): New macro.
78967         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
78969         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78970         __strtoul_internal rather than strtoul.
78972 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78974         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
78975         and reject them.
78977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78979         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
78980         which preserves existing values.
78981         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
78983 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78985         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
78986         TIMEOUT values.  Return EINVAL for NFDS values either negative or
78987         greater than FD_SETSIZE.
78989 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78991         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
78992         allocated, call __vm_protect to finish enabling the existing space, and
78993         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
78994         allocate the remainder.
78996 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78998         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
78999         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79001 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79003         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79004         sysdeps/mach/hurd/readlink.c.
79006         * posix/tst-sysconf.c (posix_options): Only use
79007         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79008         _POSIX_SYNCHRONIZED_IO when they are defined
79009         * sysdeps/mach/hurd/bits/posix_opt.h:
79010         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79011         (_XOPEN_REALTIME): Undefine macro.
79012         (_XOPEN_REALTIME_THREADS): Undefine macro.
79013         (_XOPEN_SHM): Undefine macro.
79014         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79015         macro to -1.
79016         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79017         macro to -1.
79018         (_POSIX_ASYNC_IO): Undefine macro.
79019         (_POSIX_PRIORITIZED_IO): Undefine macro.
79020         (_POSIX_SPIN_LOCKS): Define macro to -1.
79022         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79023         SA_NODEFER, SA_RESETHAND.
79024         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79025         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79026         F_DUPFD_CLOEXEC.
79028 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79030         * elf/Makefile (pldd-modules): Define unconditionally.
79032 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79034         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79038         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79039         Return ENOENT when name is empty.
79040         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79044         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79046         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79050         Fix mlock in all cases except non-readable pages.
79051         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79052         instead of VM_PROT_ALL as parameter to __vm_wire function.
79054         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79055         (__mkdir): When path is `/', just fail with EEXIST.
79056         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79058 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79060         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79061         <sys/uio.h> (for writev).
79062         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79063         and <sys/param.h> (for MIN).
79065 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79067         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79068         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79069         if interrupted.
79071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79073         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79074         Depend on against $(link-rpcuserlibs).
79076 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79078         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79079         (__libc_stack_end): Do not use attribute_relro.
79080         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79081         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79082         to libthread-provided value.
79083         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79084         attribute_relro.
79086 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79088         [BZ #3748]
79089         * bits/libc-lock.h (__libc_once_get): New macro.
79090         * sysdeps/mach/bits/libc-lock.h: Likewise.
79091         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79092         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79093         instead of using implementation details.
79095         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79096         * libio/freopen.c: Likewise.
79097         * libio/freopen64.c: Likewise.
79098         * misc/syslog.c: Likewise.
79099         * nscd/connections.c: Likewise.
79100         * nscd/netgroupcache.c: Likewise.
79101         * sysdeps/posix/getcwd.c: Likewise.
79103 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79105         * math/w_ilogbf.c: Add #include <limits.h>.
79107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79109         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79110         path instead of returning without unlocking.
79112         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79113         immediate-write ioctls.
79114         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79118         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79119         __builtin_frame_address instead of making assumptions about the
79120         location of the return address relative to DATA.  Force early load of
79121         the return address.
79122         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79123         __builtin_frame_address.
79125         dup3 for GNU Hurd.
79126         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79127         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
79128         implement dup3 and do some further code clean-ups.
79129         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79130         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79134         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79136         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79137         HURD_CRITICAL_END around holding _hurd_dtable_lock.
79138         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79139         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79140         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79141         d->port.lock.
79143         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79144         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
79145         when handler == SIG_ERR, not when handler != SIG_ERR.
79147 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79149         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79150         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79151         definitions.
79153         accept4 for GNU Hurd.
79154         * include/sys/socket.h (__libc_accept4): New prototype.
79155         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
79156         to implement __libc_accept4.
79157         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79158         __libc_accept4.
79159         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79161         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79162         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79163         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79164         signal-defines.sym.
79166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79168         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79170 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79172         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79173         assertion on O_CLOEXEC flag.
79174         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79175         * hurd/intern-fd.c: Likewise.
79176         * hurd/port2fd.c: Likewise.
79178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79180         [BZ #3906]
79181         * bits/in.h (IPV6_PKTINFO): Define new macro.
79182         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79184 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79186         [BZ #13954]
79187         [BZ #13955]
79188         [BZ #13956]
79189         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79190         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79191         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79192         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79193         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79194         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79195         * math/libm-test.inc (logb_test) : Additional logb tests.
79197 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
79198             Andreas Jaeger  <aj@suse.de>
79200         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79201         * configure: Regenerated.
79202         * config.h.in (LINK_OBSOLETE_RPC): New macro.
79203         * config.make.in (link-obsolete-rpc): New substituted variable.
79204         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79205         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79206         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79207         (shared-only-routines): Don't set it under [link-obsolete-rpc],
79208         so that libc.a contains the symbols.
79209         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79210         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79211         * sunrpc/auth_none.c: Likewise.
79212         * sunrpc/auth_unix.c: Likewise.
79213         * sunrpc/authdes_prot.c: Likewise.
79214         * sunrpc/authuxprot.c: Likewise.
79215         * sunrpc/clnt_gen.c: Likewise.
79216         * sunrpc/clnt_perr.c: Likewise.
79217         * sunrpc/clnt_raw.c: Likewise.
79218         * sunrpc/clnt_simp.c: Likewise.
79219         * sunrpc/clnt_tcp.c: Likewise.
79220         * sunrpc/clnt_udp.c: Likewise.
79221         * sunrpc/clnt_unix.c: Likewise.
79222         * sunrpc/des_crypt.c: Likewise.
79223         * sunrpc/des_soft.c: Likewise.
79224         * sunrpc/get_myaddr.c: Likewise.
79225         * sunrpc/key_call.c: Likewise.
79226         * sunrpc/key_prot.c: Likewise.
79227         * sunrpc/netname.c: Likewise.
79228         * sunrpc/pm_getmaps.c: Likewise.
79229         * sunrpc/pm_getport.c: Likewise.
79230         * sunrpc/pmap_clnt.c: Likewise.
79231         * sunrpc/pmap_prot.c: Likewise.
79232         * sunrpc/pmap_prot2.c: Likewise.
79233         * sunrpc/pmap_rmt.c: Likewise.
79234         * sunrpc/publickey.c: Likewise.
79235         * sunrpc/rpc_cmsg.c: Likewise.
79236         * sunrpc/rpc_common.c: Likewise.
79237         * sunrpc/rpc_dtable.c: Likewise.
79238         * sunrpc/rpc_prot.c: Likewise.
79239         * sunrpc/rpc_thread.c: Likewise.
79240         * sunrpc/rtime.c: Likewise.
79241         * sunrpc/svc.c: Likewise.
79242         * sunrpc/svc_auth.c: Likewise.
79243         * sunrpc/svc_raw.c: Likewise.
79244         * sunrpc/svc_run.c: Likewise.
79245         * sunrpc/svc_tcp.c: Likewise.
79246         * sunrpc/svc_udp.c: Likewise.
79247         * sunrpc/svc_unix.c: Likewise.
79248         * sunrpc/svcauth_des.c: Likewise.
79249         * sunrpc/xcrypt.c: Likewise.
79250         * sunrpc/xdr.c: Likewise.
79251         * sunrpc/xdr_array.c: Likewise.
79252         * sunrpc/xdr_float.c: Likewise.
79253         * sunrpc/xdr_intXX_t.c: Likewise.
79254         * sunrpc/xdr_mem.c: Likewise.
79255         * sunrpc/xdr_rec.c: Likewise.
79256         * sunrpc/xdr_ref.c: Likewise.
79257         * sunrpc/xdr_sizeof.c: Likewise.
79258         * sunrpc/xdr_stdio.c: Likewise.
79260 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79262         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
79263         change.  Update copyright years.
79265 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79267         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
79269 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
79270             Joseph Myers  <joseph@codesourcery.com>
79271             Paul Pluzhnikov  <ppluzhnikov@google.com>
79273         [BZ #14012]
79274         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79275         requiring rpcgen.
79276         [cross-compiling] (extra-libs): Likewise.
79277         [cross-compiling] (extra-libs-others): Likewise.
79278         [cross-compiling] (librpcsvc-routines): Likewise.
79279         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
79280         [cross-compiling] (omit-deps): Likewise.
79281         (sunrpc-CPPFLAGS): New variable.
79282         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
79283         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
79284         (cross-rpcgen-objs): New variable.
79285         (extra-objs): Append $(cross-rpcgen-objs).
79286         ($(cross-rpcgen-objs)): New rule.
79287         ($(objpfx)cross-rpcgen): Likewise.
79288         (rpcgen-cmd): Define to use $(built-program-file).  Expand
79289         comment.
79290         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
79291         ($(objpfx)x%.stmp): Likewise.
79292         * sunrpc/proto.h [IS_IN_build] (_): Define.
79293         [IS_IN_build] (_libc_intl_domainname): Likewise.
79295 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79297         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
79298         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
79299         and R_X86_64_TPOFF64.
79301 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79303         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
79304         sysdeps/unix/sysv/syscalls.list.
79305         (stime): Likewise.
79306         (utime): Likewise.
79307         * sysdeps/unix/sysv/syscalls.list: Remove file.
79309 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
79311         [BZ #3440]
79312         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
79313         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
79314         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
79315         (__LC_IDENTIFICATION): Make these macros useful in #if
79316         expressions, as required by C99.
79318 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
79320         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
79321         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
79322         after this.
79324 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
79326         * stdlib/longlong.h: Updated from GCC.
79328 2012-05-09  Andreas Jaeger  <aj@suse.de>
79330         * nscd/nscd.c (run_modes): Make named enum, reorder so that
79331         default is first entry.
79332         (run_mode): Set type.
79333         (main): Remove informal message about syslog.
79334         (options): Fix typo.
79336         [BZ #14053]
79337         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
79338         to asm.
79339         (lrint): Likewise.
79340         (llrintf): Likewise.
79341         (llrint): Likewise.
79342         (rint): Likewise.
79343         (rintf): Likewise.
79344         (nearbyint): Likewise.
79345         (nearbyintf): Likewise.
79347 2012-05-09  Andreas Jaeger  <aj@suse.de>
79348             Pedro Alves  <palves@redhat.com>
79350         * nscd/nscd.c (run_mode): Use enum.
79351         (main): Cleanup coding style issue.
79353 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
79354             Andreas Jaeger  <aj@suse.de>
79356         * nscd/nscd.c (go_background): Replaced with...
79357         (run_mode): ... this.
79358         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
79359         (options): Add -F --foreground.
79360         (main): Implement it.
79361         (parse_opt): Parse it.
79363 2012-05-09  Andreas Jaeger  <aj@suse.de>
79365         [BZ #14083]
79366         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
79367         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
79368         -Wconversion warning.
79369         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
79370         Likewise.
79372 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
79374         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
79375         == 0.
79376         (LC_ALL): Use macro-int-constant.
79377         (LC_COLLATE): Likewise.
79378         (LC_CTYPE): Likewise.
79379         (LC_MESSAGES): Likewise.
79380         (LC_MONETARY): Likewise.
79381         (LC_NUMERIC): Likewise.
79382         (LC_TIME): Likewise.
79383         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
79384         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79385         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79386         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
79387         Specify type.
79388         [C99-based standards] (float_t): Expect type.
79389         [C99-based standards] (double_t): Expect type.
79390         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
79391         type.
79392         [C99-based standards] (HUGE_VALL): Likewise.
79393         [C99-based standards] (INFINITY): Likewise.
79394         [C99-based standards] (NAN): Likewise.
79395         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
79396         [C99-based standards] (FP_NAN): Likewise.
79397         [C99-based standards] (FP_NORMAL): Likewise.
79398         [C99-based standards] (FP_SUBNORMAL): Likewise.
79399         [C99-based standards] (FP_ZERO): Likewise.
79400         [C99-based standards] (FP_FAST_FMA): Use
79401         optional-macro-int-constant.  Specify type.  Require == 1.
79402         [C99-based standards] (FP_FAST_FMAF): Likewise.
79403         [C99-based standards] (FP_FAST_FMAL): Likewise.
79404         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
79405         [C99-based standards] (FP_ILOGBNAN): Likewise.
79406         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
79407         Specify type.
79408         [C99-based standards] (MATH_ERREXCEPT): Likewise.
79409         [C99-based standards] (math_errhandling): Specify type.
79410         [ISO99 || ISO11] (signgam): Do not allow.
79411         [non-C99-based standards] (copysignf): Do not allow.
79412         [non-C99-based standards] (exp2f): Likewise.
79413         [non-C99-based standards] (log2f): Likewise.
79414         [non-C99-based standards] (modff): Allow.
79415         [non-C99-based standards] (erff): Do not allow.
79416         [non-C99-based standards] (erfcf): Likewise.
79417         [non-C99-based standards] (gammaf): Likewise.
79418         [non-C99-based standards] (hypotf): Likewise.
79419         [non-C99-based standards] (j0f): Likewise.
79420         [non-C99-based standards] (j1f): Likewise.
79421         [non-C99-based standards] (jnf): Likewise.
79422         [non-C99-based standards] (lgammaf): Likewise.
79423         [non-C99-based standards] (tgammaf): Likewise.
79424         [non-C99-based standards] (y0f): Likewise.
79425         [non-C99-based standards] (y1f): Likewise.
79426         [non-C99-based standards] (ynf): Likewise.
79427         [non-C99-based standards] (isnanf): Likewise.
79428         [non-C99-based standards] (acoshf): Likewise.
79429         [non-C99-based standards] (asinhf): Likewise.
79430         [non-C99-based standards] (atanhf): Likewise.
79431         [non-C99-based standards] (cbrtf): Likewise.
79432         [non-C99-based standards] (expm1f): Likewise.
79433         [non-C99-based standards] (ilogbf): Likewise.
79434         [non-C99-based standards] (log1pf): Likewise.
79435         [non-C99-based standards] (logbf): Likewise.
79436         [non-C99-based standards] (nextafterf): Likewise.
79437         [non-C99-based standards] (remainderf): Likewise.
79438         [non-C99-based standards] (rintf): Likewise.
79439         [non-C99-based standards] (scalbf): Likewise.
79440         [non-C99-based standards] (copysignl): Likewise.
79441         [non-C99-based standards] (exp2l): Likewise.
79442         [non-C99-based standards] (log2l): Likewise.
79443         [non-C99-based standards] (modfl): Allow.
79444         [non-C99-based standards] (erfl): Do not allow.
79445         [non-C99-based standards] (erfcl): Likewise.
79446         [non-C99-based standards] (gammal): Likewise.
79447         [non-C99-based standards] (hypotl): Likewise.
79448         [non-C99-based standards] (j0l): Likewise.
79449         [non-C99-based standards] (j1l): Likewise.
79450         [non-C99-based standards] (jnl): Likewise.
79451         [non-C99-based standards] (lgammal): Likewise.
79452         [non-C99-based standards] (tgammal): Likewise.
79453         [non-C99-based standards] (y0l): Likewise.
79454         [non-C99-based standards] (y1l): Likewise.
79455         [non-C99-based standards] (ynl): Likewise.
79456         [non-C99-based standards] (isnanl): Likewise.
79457         [non-C99-based standards] (acoshl): Likewise.
79458         [non-C99-based standards] (asinhl): Likewise.
79459         [non-C99-based standards] (atanhl): Likewise.
79460         [non-C99-based standards] (cbrtl): Likewise.
79461         [non-C99-based standards] (expm1l): Likewise.
79462         [non-C99-based standards] (ilogbl): Likewise.
79463         [non-C99-based standards] (log1pl): Likewise.
79464         [non-C99-based standards] (logbl): Likewise.
79465         [non-C99-based standards] (nextafterl): Likewise.
79466         [non-C99-based standards] (remainderl): Likewise.
79467         [non-C99-based standards] (rintl): Likewise.
79468         [non-C99-based standards] (scalbl): Likewise.
79469         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79470         [non-C99-based standards] (FP_*): Do not allow.
79471         [C99-based standards] (FP_*): Change to
79472         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79473         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79474         allow.
79475         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
79476         (SIG_ERR): Likewise.
79477         [X/Open-based standards] (SIG_HOLD): Likewise.
79478         (SIG_IGN): Likewise.
79479         (SIGABRT): Use macro-int-constant.  Specify type.  Require
79480         positive value.
79481         (SIGFPE): Likewise.
79482         (SIGILL): Likewise.
79483         (SIGINT): Likewise.
79484         (SIGSEGV): Likewise.
79485         (SIGTER): Likewise.
79486         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
79487         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
79488         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
79489         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
79490         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
79491         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
79492         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
79493         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
79494         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
79495         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
79496         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
79497         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
79498         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
79499         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
79500         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
79501         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
79502         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
79503         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
79504         [X/Open-based standards] (SIGTRAP): Likewise.
79505         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
79506         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
79507         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
79508         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
79509         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79510         allow.
79512 2012-05-08  Ian Wienand  <ianw@vmware.com>
79514         [BZ #14080]
79515         * time/tzset.c (__tzset_parse_tz): Update default rules for
79516         daylight time changes in the Energy Policy Act of 2005.
79518 2012-05-09  Andreas Jaeger  <aj@suse.de>
79520         [BZ #13983]
79521         * elf/ldconfig.c (parse_conf): Change string to make clear that
79522         ldconfig only issued a warning if ld.so.conf does not exist.
79524 2012-05-08  David S. Miller  <davem@davemloft.net>
79526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
79527         movxtod instead of popping the value on the stack.
79529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79531 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
79533         * config.h.in: Add HAVE_ARM_PCS_VFP.
79535 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
79537         [BZ #13979]
79538         * include/features.h: Warn if user requests __FORTIFY_SOURCE
79539         checking but the checks are disabled for any reason.
79541 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
79543         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
79544         and ELF64_R_TYPE with ELFW(R_TYPE).
79546 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
79548         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
79549         (ulimit): Likewise.
79551         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
79552         (settimeofday): Likewise.
79554 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
79556         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
79557         a struct th_u2 inside the union, and move tu_block/tu_code into
79558         a new th_u3 union of tu_block/tu_code inside of that.  Move
79559         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
79560         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
79561         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79562         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79563         (th_stuff): Change to th_u1.tu_stuff.
79564         (th_data): Define.
79565         (th_msg): Change to th_u1.th_u2.tu_data.
79567 2012-05-07  David S. Miller  <davem@davemloft.net>
79569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79571         [BZ #14074]
79572         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79573         (SETUP_PIC_REG): Use it.
79574         (SETUP_PIC_REG_LEAF): Use it.
79576 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79578         [BZ #13885]
79579         [BZ #13923]
79580         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79581         USE_AS_EXPM1L.
79582         (EXPL_FINITE): Likewise.
79583         (FLDLOG): Likewise.
79584         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79585         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79586         e_expl.S.
79587         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79588         USE_AS_EXPM1L.
79589         (EXPL_FINITE): Likewise.
79590         (FLDLOG): Likewise.
79591         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79592         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79593         e_expl.S.
79594         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79595         test of -max_value argument for long double.
79596         * sysdeps/i386/fpu/libm-test-ulps: Update.
79597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79599 2012-05-06  David S. Miller  <davem@davemloft.net>
79601         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79602         quad soft-float symbols whose references which are compiler
79603         generated.
79604         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79606 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79608         [BZ #13884]
79609         [BZ #13914]
79610         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79611         USE_AS_EXP10L.
79612         (EXPL_FINITE): Likewise.
79613         (FLDLOG): Likewise.
79614         (c0): Likewise.
79615         (c1): Likewise.
79616         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79617         Adjust comments for base varying.
79618         (__expl_finite): Change alias to EXPL_FINITE.
79619         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
79620         e_expl.S.
79621         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
79622         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
79623         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
79624         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
79625         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79626         USE_AS_EXP10L.
79627         (EXPL_FINITE): Likewise.
79628         (FLDLOG): Likewise.
79629         (c0): Likewise.
79630         (c1): Likewise.
79631         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79632         Adjust comments for base varying.
79633         (__expl_finite): Change alias to EXPL_FINITE.
79634         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
79635         tests for bugs.
79636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79638         [BZ #14064]
79639         * math/libm-test.inc (check_float_internal): Correct ulp
79640         calculation for subnormal expected results.
79642 2012-05-06  Andreas Jaeger  <aj@suse.de>
79644         * Makeconfig (+math-flags): New, set to -frounding-math.
79645         (+cflags): Add +math-flags so that all of glibc gets compiled with
79646         it.
79648         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
79650 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
79652         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79653         Disable one test.
79655         [BZ #13787]
79656         [BZ #13922]
79657         [BZ #14036]
79658         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
79659         (__ieee754_expl): Allow for and saturate large arguments.
79660         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
79661         (u_threshold): Likewise.
79662         (__exp): Call __ieee754_exp before checking for overflow and
79663         underflow.
79664         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
79665         (u_threshold): Likewise.
79666         (__expf): Call __ieee754_expf before checking for overflow and
79667         underflow.
79668         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
79669         (u_threshold): Likewise.
79670         (__expl): Call __ieee754_expl before checking for overflow and
79671         underflow.
79672         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
79673         (__ieee754_expl): Allow for and saturate large arguments.
79674         * math/libm-test.inc (exp_test): Add another test.  Do not allow
79675         missing overflow exception on overflow.
79676         (expm1_test): Do not allow missing overflow exception on overflow.
79678         * sysdeps/i386/fpu/e_expl.c: Move to ...
79679         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
79680         rather than using inline asm.
79681         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
79682         * sysdeps/x86_64/fpu/e_expl.S: Copy from
79683         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
79685         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
79686         (nice): Likewise.
79687         (poll): Likewise.
79688         (signal): Likewise.
79689         (time): Likewise.
79690         (times): Likewise.
79692 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79694         * sysdeps/unix/syscalls.list (adjtime): Add entry from
79695         sysdeps/unix/common/syscalls.list.
79696         (fchmod): Likewise.
79697         (fchown): Likewise.
79698         (ftruncate): Likewise.
79699         (getrusage): Likewise.
79700         (gettimeofday): Likewise.
79701         (setpgid): Likewise.
79702         (setregid): Likewise.
79703         (setreuid): Likewise.
79704         (sigaction): Likewise.
79705         (truncate): Likewise.
79706         (vhangup): Likewise.
79707         * sysdeps/unix/common/syscalls.list: Remove file.
79708         * sysdeps/unix/bsd/Implies: Don't include unix/common.
79709         * sysdeps/unix/sysv/linux/Implies: Likewise.
79711 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
79713         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
79714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
79715         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
79716         Moved to ...
79717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
79718         Here.
79719         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
79720         to ...
79721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
79722         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
79723         to ...
79724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
79725         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
79726         to ...
79727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
79728         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
79729         to ...
79730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79731         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
79732         to ...
79733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
79734         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
79735         to ...
79736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
79737         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
79738         to ...
79739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79740         Here.
79741         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
79742         to ...
79743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
79744         Here.
79745         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
79746         to ...
79747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
79748         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
79749         Moved to ...
79750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
79751         Here.
79752         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
79753         to ...
79754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
79756 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79758         * sysdeps/unix/common/bits/dirent.h: Remove file.
79759         * sysdeps/unix/common/bits/fcntl.h: Likewise.
79761         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
79762         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
79763         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
79764         * sysdeps/unix/bsd/isatty.c: Likewise.
79765         * sysdeps/unix/bsd/tcdrain.c: Likewise.
79766         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
79767         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
79769 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79771         [BZ #13563]
79772         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
79773         long double comparison inaccuracies.
79774         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
79775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79777 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
79779         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
79780         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
79782 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79784         [BZ #14049]
79785         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
79786         nonzero digits before rounding a hex value.
79787         * stdlib/tst-strtod.c (tests): Add another test.
79789 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79791         * sysdeps/s390/fpu/libm-test-ulps: Update.
79793 2012-05-03  Andreas Jaeger  <aj@suse.de>
79795         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
79796         does not get optimized out.
79797         (malloc_opt_barrier): New.
79799 2012-05-03  Andreas Jaeger  <aj@suse.de>
79800             Roland McGrath  <roland@hack.frob.com>
79802         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
79803         intermediate file deletion.
79804         (generated): Add .symlist files.
79806 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
79808         [BZ #13775]
79809         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
79810         Redirect under this condition.
79811         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79812         [__USE_GNU] (__dprintf_chk): Not under this condition.
79813         [__USE_GNU] (__vdprintf_chk): Likewise.
79814         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
79815         under this condition.
79816         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79817         [__USE_XOPEN2K8] (dprintf): Define under this condition.
79818         [__USE_XOPEN2K8] (vdprintf): Likewise.
79819         [__USE_GNU] (__dprintf_chk): Not under this condition.
79820         [__USE_GNU] (__vdprintf_chk): Likewise.
79821         [__USE_GNU] (dprintf): Likewise.
79822         [__USE_GNU] (vdprintf): Likewise.
79824 2012-05-03  Roland McGrath  <roland@hack.frob.com>
79826         * elf/Makefile (common-generated): Set this instead of generated for
79827         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
79828         $(all-built-dso)-derived lists.
79830 2012-05-03  Andreas Jaeger  <aj@suse.de>
79832         * sysdeps/i386/fpu/libm-test-ulps: Update.
79834         * FAQ: Removed.
79835         * FAQ.in: Likewise.
79836         * scripts/gen-FAQ.pl: Likewise.
79837         * manual/install.texi (Installation): Point to online location of
79838         FAQ.
79839         * Makefile (files-for-dist): Remove FAQ.
79840         (FAQ): Remove.
79842 2012-05-02  Allan McRae  <allan@archlinux.org>
79844         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
79845         (LDFLAGS-reldepmod5.so): Likewise.
79846         (LDFLAGS-reldep6mod1.so): Likewise.
79847         (LDFLAGS-reldep6mod4.so): Likewise.
79848         (LDFLAGS-reldep8mod3.so): Likewise.
79849         (LDFLAGS-unload4mod1.so): Likewise.
79850         (LDFLAGS-unload4mod2.so): Likewise.
79851         (LDFLAGS-tst-initorder): Likewise.
79852         (LDFLAGS-tst-initordera2.so): Likewise.
79853         (LDFLAGS-tst-initordera3.so): Likewise.
79854         (LDFLAGS-tst-initordera4.so): Likewise.
79855         (LDFLAGS-tst-initorderb2.so): Likewise.
79856         (LDFLAGS-noload): Likewise.
79857         (LDFLAGS-next): Likewise.
79858         (LDFLAGS-order2mod1.so): Likewise.
79859         (LDFLAGS-order2mod2.so): Likewise.
79860         (LDFLAGS-tst-initorder2): Likewise.
79861         (LDFLAGS-tst-initorder2a.so): Likewise.
79862         (LDFLAGS-tst-initorder2b.so): Likewise.
79863         (LDFLAGS-tst-initorder2c.so): Likewise.
79864         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
79866 2012-05-02  David S. Miller  <davem@davemloft.net>
79868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79870 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
79872         [BZ #14055]
79873         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
79875 2012-05-02  Andreas Jaeger  <aj@suse.de>
79877         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
79878         since we manipulate rounding mode.
79879         (CPPFLAGS-test-idouble.c): Likewise.
79880         (CPPFLAGS-test-ifloat.c): Likewise.
79881         (CFLAGS-test-ldouble.c): Likewise.
79882         (CFLAGS-test-double.c): Likewise.
79883         (CFLAGS-test-float.c): Likewise.
79884         (CFLAGS-test-misc.c): Likewise.
79885         (CFLAGS-test-test-fenv.c): Likewise.
79887 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79889         [BZ #2550]
79890         [BZ #2570]
79891         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
79892         comparisons to determine direction to adjust input.
79894 2012-05-01  Roland McGrath  <roland@hack.frob.com>
79896         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
79897         output to the target.
79899         * scripts/localplt.awk: New file.
79900         * elf/Makefile ($(objpfx)check-localplt): Target removed.
79901         (check-localplt-CFLAGS): Variable removed.
79902         ($(all-built-dso:=.jmprel)): New static pattern rule.
79903         (generated): Add those targets.
79904         (localplt-built-dso): New variable.
79905         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
79907         * elf/check-localplt.c: File removed.
79909         * scripts/check-execstack.awk: New file.
79910         * elf/Makefile ($(objpfx)check-execstack): Target removed.
79911         (check-execstack-CFLAGS): Variable removed.
79912         ($(objpfx)check-execstack.h): Target removed.
79913         ($(objpfx)execstack-default): New target.
79914         (generated): Add that instead of check-execstack.h.
79915         ($(all-built-dso:=.phdr)): New static pattern rule.
79916         (generated): Add those targets.
79917         * elf/check-execstack.c: File removed.
79919         * scripts/check-textrel.awk: New file.
79920         * elf/Makefile ($(objpfx)check-textrel): Target removed.
79921         (check-textrel-CFLAGS): Variable removed.
79922         (all-built-dso): Use := to define.o
79923         ($(all-built-dso:=.dyn)): New static pattern rule.
79924         (generated): Add those targets.
79925         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
79926         * config.make.in (READELF): New substituted variable.
79927         * elf/check-textrel.c: File removed.
79929 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79931         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79932         allow.
79933         * conform/data/ctype.h-data [C99-based standards] (isblank):
79934         Expect function.
79935         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
79936         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
79937         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79938         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
79939         Specify type.  Require positive value.
79940         (EILSEQ): Likewise.
79941         (ERANGE): Likewise.
79942         [ISO || POSIX] (EILSEQ): Do not expect.
79943         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
79944         Specify type.  Require positive value.
79945         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
79946         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
79947         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
79948         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
79949         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
79950         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
79951         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
79952         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
79953         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
79954         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
79955         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
79956         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
79957         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
79958         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
79959         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
79960         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
79961         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
79962         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
79963         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
79964         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
79965         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
79966         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
79967         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
79968         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
79969         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
79970         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
79971         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
79972         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
79973         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
79974         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
79975         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
79976         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
79977         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
79978         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
79979         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
79980         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
79981         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
79982         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
79983         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
79984         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
79985         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
79986         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
79987         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
79988         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
79989         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
79990         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
79991         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
79992         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
79993         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
79994         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
79995         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
79996         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
79997         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
79998         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
79999         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80000         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80001         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80002         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80003         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80004         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80005         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80006         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80007         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80008         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80009         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80010         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80011         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80012         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80013         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80014         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80015         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80016         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80017         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80018         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80019         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80020         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80021         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80022         Require >= 2.
80023         (FLT_ROUNDS): Expect as macro, not constant.
80024         (FLT_MANT_DIG): Use macro-int-constant.
80025         (DBL_MANT_DIG): Likewise.
80026         (LDBL_MANT_DIG): Likewise.
80027         (FLT_DIG): Likewise.
80028         (DBL_DIG): Likewise.
80029         (LDBL_DIG): Likewise.
80030         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80031         (DBL_MIN_EXP): Likewise.
80032         (LDBL_MIN_EXP): Likewise.
80033         (FLT_MAX_EXP): Use macro-int-constant.
80034         (DBL_MAX_EXP): Likewise.
80035         (LDBL_MAX_EXP): Likewise.
80036         (FLT_MAX_10_EXP): Likewise.
80037         (DBL_MAX_10_EXP): Likewise.
80038         (LDBL_MAX_10_EXP): Likewise.
80039         (FLT_MAX): Use macro-constant.
80040         (DBL_MAX): Likewise.
80041         (LDBL_MAX): Likewise.
80042         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80043         (DBL_EPSILON): Likewise.
80044         (LDBL_EPSILON): Likewise.
80045         (FLT_MIN): Likewise.
80046         (DBL_MIN): Likewise.
80047         (LDBL_MIN): Likewise.
80048         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80049         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80050         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80051         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80052         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80053         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80054         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80055         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80056         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80057         [ISO11] (FLT_TRUE_MIN): Likewise.
80058         [ISO11] (LDBL_TRUE_MIN): Likewise.
80059         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80060         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80061         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80062         (SCHAR_MAX): Likewise.
80063         (UCHAR_MAX): Likewise.
80064         (CHAR_MIN): Likewise.
80065         (CHAR_MAX): Likewise.
80066         (MB_LEN_MAX): Use macro-int-constant.
80067         (SHRT_MIN): Use macro-int-constant.  Specify type.
80068         (SHRT_MAX): Likewise.
80069         (USHRT_MAX): Likewise.
80070         (INT_MAX): Likewise.
80071         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80072         bound negative.
80073         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80074         bound with "U".
80075         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80076         bound with "L".
80077         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80078         bound negative.  Suffix upper bound with "L".
80079         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80080         bound with "UL".
80081         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80082         Specify type.
80083         [C99-based standards] (LLONG_MAX): Likewise.
80084         [C99-based standards] (ULLONG_MAX): Likewise.
80085         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80086         == 0.
80087         [ISO11] (max_align_t): Require type.
80088         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80090         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80091         from $CFLAGS, without defining away __attribute__ calls.
80092         (checknamespace): Use $CFLAGS_namespace.
80094         * conform/conformtest.pl (@keywords): Only include C99 keywords
80095         for standards based on C99 or C11.
80097         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80098         Disable tests.
80099         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80100         UNIX98]: Likewise.
80102         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80103         usability of symbols in #if.
80105         * conform/conformtest.pl: If macro or constant types start
80106         "promoted:", expect the symbol to be of the following type
80107         promoted by the integer promotions.
80109         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80110         in one place.  Also handle "macro-constant".
80112         * conform/conformtest.pl: Only accept expected macro values with
80113         "==".  Parse all "macro" lines in one place.
80114         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80116         * conform/conformtest.pl: Handle braced types on "constant" lines
80117         instead of handling "typed-constant".
80118         * conform/data/signal.h-data: Use "constant" instead of
80119         "typed-constant".
80121         * conform/conformtest.pl: Handle "optional-" at start of lines in
80122         one place rather than duplicating several cases.  Handle each
80123         format of "macro" line with initial "optional-".
80125         * conform/conformtest.pl: Only accept expected constant or
80126         optional-constant values with "==".  Parse all "constant" lines in
80127         one place.  Parse all "optional-constant" lines in one place.
80128         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80129         * conform/data/fmtmsg.h-data: Likewise.
80130         * conform/data/netinet/in.h-data: Likewise.
80131         * conform/data/tar.h-data: Likewise.
80132         * conform/data/limits.h-data: Use "==" form on "constant" and
80133         "optional-constant" lines.
80135         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80136         Use -std=c99 for XOPEN2K.
80137         (@knownproblems): Remove.
80138         (newtoken): Don't check %isknown.
80140         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80141         Do not expect macro.
80142         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80143         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80144         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80145         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80146         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80147         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80148         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80149         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80150         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80151         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80152         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80153         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80154         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80155         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80156         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80157         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80158         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80159         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80160         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80161         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80162         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80163         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80164         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80165         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80166         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80167         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80168         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80169         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80170         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80171         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80172         [XPG3] (acosh): Likewise.
80173         [XPG3] (asinh): Likewise.
80174         [XPG3] (atanh): Likewise.
80175         [XPG3] (cbrt): Likewise.
80176         [XPG3] (expm1): Likewise.
80177         [XPG3] (ilogb): Likewise.
80178         [XPG3] (log1p): Likewise.
80179         [XPG3] (logb): Likewise.
80180         [XPG3] (nextafter): Likewise.
80181         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80182         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80183         [XPG3] (remainder): Likewise.
80184         [XPG3] (rint): Likewise.
80185         [XPG3 || XPG4 || UNIX98] (round): Likewise.
80186         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80187         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80188         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80189         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80190         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80191         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80192         [UNIX98 || XOPEN2K] (scalb): Expect.
80193         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80194         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80195         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80196         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80197         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80198         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80199         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80200         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80201         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80202         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80203         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80204         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80205         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80206         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80207         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80208         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80209         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80210         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80211         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80212         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80213         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80214         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80215         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80216         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80217         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80218         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80219         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80220         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80221         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80222         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80223         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80224         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80225         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80226         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80227         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80228         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80229         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
80230         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
80231         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
80232         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
80233         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
80234         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
80235         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
80236         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
80237         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
80238         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
80239         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
80240         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
80241         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
80242         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
80243         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
80244         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
80245         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
80246         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
80247         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
80248         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
80249         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
80250         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
80251         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
80252         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
80253         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
80254         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
80255         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
80256         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
80257         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
80258         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
80259         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
80260         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
80261         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
80262         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
80263         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
80264         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
80265         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
80266         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
80267         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
80268         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
80269         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
80270         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
80271         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
80272         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
80273         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
80274         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
80275         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
80276         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
80277         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
80278         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
80279         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
80280         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
80281         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
80282         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
80283         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
80284         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
80285         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
80286         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
80287         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
80288         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
80289         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
80290         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
80291         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
80292         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
80293         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
80294         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
80295         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
80296         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
80297         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
80298         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
80299         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
80300         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
80301         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
80302         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
80303         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
80304         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
80305         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
80306         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
80307         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
80308         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
80309         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
80310         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
80311         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
80312         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
80313         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
80314         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
80315         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
80316         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
80317         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
80318         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
80319         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
80320         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
80321         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
80322         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
80323         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
80324         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
80325         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
80326         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
80327         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
80328         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
80329         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
80331         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
80332         _XOPEN_SOURCE_EXTENDED for XPG4.
80334         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
80336         * Makeconfig (localtime): Remove variable.
80337         (inst_localtime-file): Likewise.
80339 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
80342         Update.
80343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80344         Update.
80345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
80346         Update.
80347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
80348         Update.
80349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
80350         Update.
80351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
80352         Update.
80353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
80354         Update.
80355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
80356         Update.
80357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80358         Update.
80360 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80362         [BZ #2550]
80363         [BZ #2570]
80364         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
80365         comparisons to determine direction to adjust input.
80366         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
80367         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
80368         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
80369         Likewise.
80370         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
80371         Likewise.
80372         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
80373         Likewise.
80374         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
80375         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
80376         Likewise.
80377         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
80378         Likewise.
80379         * math/libm-test.inc (nexttoward_test): Add more tests.
80381 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80383         [BZ #14040]
80384         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
80385         in version GLIBC_2.1, not GLIBC_2.0.
80386         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
80387         Likewise.
80389 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
80391         [BZ #13942]
80392         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
80393         (1 - x) * (1 + x).
80394         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80395         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
80396         * math/libm-test.inc (acos_test): Add more tests.
80397         (asin_test): Likewise.
80398         * sysdeps/i386/fpu/libm-test-ulps: Update.
80399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80401         [BZ #14034]
80402         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
80403         of square root.
80404         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
80405         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80406         * math/libm-test.inc (acos_test_tonearest): New function.
80407         (acos_test_towardzero): Likewise.
80408         (acos_test_downward): Likewise.
80409         (acos_test_upward): Likewise.
80410         (asin_test_tonearest): Likewise.
80411         (asin_test_towardzero): Likewise.
80412         (asin_test_downward): Likewise.
80413         (asin_test_upward): Likewise.
80414         (main): Call the new functions.
80415         * sysdeps/i386/fpu/libm-test-ulps: Update.
80416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80418         [BZ #13884]
80419         [BZ #13924]
80420         * math/e_exp10.c: Include <float.h>.
80421         (__ieee754_exp10): Handle underflow here rather than multiplying
80422         large negative argument by M_LN10.
80423         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
80424         of __ieee754_expf.
80425         * math/e_exp10l.c: Include <float.h>.
80426         (__ieee754_exp10l): Handle underflow here rather than multiplying
80427         large negative argument by M_LN10l.
80428         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
80429         spurious overflow exception on underflow.
80431 2012-04-29  Marek Polacek  <polacek@redhat.com>
80433         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
80434         (__fortify_function): New macro.
80435         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
80436         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
80437         __extern_always_inline.
80438         * libio/bits/stdio2.h: Likewise.
80439         * libio/bits/stdio.h: Likewise.
80440         * string/string.h: Likewise.
80441         * string/bits/string3.h: Likewise.
80442         * include/stdio.h: Likewise.
80443         * stdlib/bits/stdlib.h: Likewise.
80444         * stdlib/stdlib.h: Likewise.
80445         * rt/bits/mqueue2.h: Likewise.
80446         * rt/mqueue.h: Likewise.
80447         * posix/bits/unistd.h: Likewise.
80448         * posix/unistd.h: Likewise.
80449         * io/bits/poll2.h: Likewise.
80450         * io/bits/fcntl2.h: Likewise.
80451         * io/fcntl.h: Likewise.
80452         * io/sys/poll.h: Likewise.
80453         * misc/bits/syslog.h: Likewise.
80454         * misc/bits/syslog-ldbl.h: Likewise.
80455         * misc/sys/syslog.h: Likewise.
80456         * socket/bits/socket2.h: Likewise.
80457         * socket/sys/socket.h: Likewise.
80458         * debug/tst-chk1.c: Likewise.
80459         * wcsmbs/bits/wchar2.h: Likewise.
80460         * wcsmbs/bits/wchar-ldbl.h: Likewise.
80461         * wcsmbs/wchar.h: Likewise.
80463 2012-04-29  Andreas Jaeger  <aj@suse.de>
80465         * Makerules (tests): Remove enable-check-abi protection.
80466         (check-abi-warn): Remove.
80467         (check-abi-%): Remove check-abi-warn usage.
80469         * configure.in: Remove check-abi configure option.
80470         * configure: Regenerated.
80471         * config.make.in (enable-check-abi): Remove.
80473 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
80475         [BZ #14033]
80476         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
80477         double functions to double *_finite functions.
80479         [BZ #13941]
80480         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
80481         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
80482         LDBL_MIN_EXP.
80483         * stdio-common/Makefile (tests): Add tst-sprintf3.
80484         * stdio-common/tst-sprintf3.c: New file.
80486         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
80487         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
80489 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80491         * conform/conformtest.pl: Remove duplicate typed-constant
80492         handling.
80494 2012-04-28  David S. Miller  <davem@davemloft.net>
80496         * Makerules (%.abilist): Add vpath on sysdep_dirs.
80497         (check-abi-%): Remove AWK script prerequisite and explicit
80498         abilist directory.
80499         (check-abi): Rewrite to just diff the symlist with the abilist.
80500         (config-tls, config-abi-config): Delete, no longer used.
80501         (update-abi-%): Remove AWK script and explicit abilist directory.
80502         (update-abi): Rewrite to simply compare and conditionally copy the
80503         symlist and the sysdep abilist file.  Remove update-abi-config
80504         checks.
80505         * abilist/ld.abilist: Remove.
80506         * abilist/libBrokenLocale.abilist: Remove.
80507         * abilist/libanl.abilist: Remove.
80508         * abilist/libcrypt.abilist: Remove.
80509         * abilist/libdl.abilist: Remove.
80510         * abilist/librt.abilist: Remove.
80511         * abilist/libthread_db.abilist: Remove.
80512         * abilist/libutil.abilist: Remove.
80513         * scripts/extract-abilist.awk: Remove.
80514         * scripts/merge-abilist.awk: Remove.
80515         * sysdeps/generic/libcidn.abilist: New file.
80516         * sysdeps/generic/libnss_compat.abilist: New file.
80517         * sysdeps/generic/libnss_db.abilist: New file.
80518         * sysdeps/generic/libnss_dns.abilist: New file.
80519         * sysdeps/generic/libnss_files.abilist: New file.
80520         * sysdeps/generic/libnss_hesiod.abilist: New file.
80521         * sysdeps/generic/libnss_nis.abilist: New file.
80522         * sysdeps/generic/libnss_nisplus.abilist: New file.
80523         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
80524         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
80525         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
80526         file.
80527         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
80528         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
80529         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
80530         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
80531         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
80532         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
80533         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
80534         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
80535         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
80536         file.
80537         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
80538         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
80539         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
80540         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
80541         file.
80542         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80543         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
80544         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
80545         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
80546         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
80547         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
80548         file.
80549         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
80550         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
80551         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
80552         file.
80553         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
80554         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
80555         New file.
80556         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
80557         New file.
80558         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
80559         New file.
80560         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80561         New file.
80562         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80563         New file.
80564         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80565         New file.
80566         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80567         New file.
80568         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80569         New file.
80570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80571         New file.
80572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80573         New file.
80574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80575         New file.
80576         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80577         New file.
80578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80579         New file.
80580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80581         file.
80582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80583         New file.
80584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80585         New file.
80586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80587         file.
80588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80589         New file.
80590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80591         New file.
80592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80593         file.
80594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80595         New file.
80596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80597         New file.
80598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80599         New file.
80600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80601         New file.
80602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80603         New file.
80604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80605         New file.
80606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80608         file.
80609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80610         New file.
80611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80612         file.
80613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80614         file.
80615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80616         file.
80617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80618         file.
80619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
80620         file.
80621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80622         New file.
80623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
80624         file.
80625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
80626         file.
80627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
80628         New file.
80629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
80630         file.
80631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
80632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
80633         file.
80634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
80635         New file.
80636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
80637         file.
80638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
80639         file.
80640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
80641         file.
80642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
80643         file.
80644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
80645         file.
80646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80647         New file.
80648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
80649         file.
80650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
80651         file.
80652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
80653         New file.
80654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
80655         file.
80656         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80657         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
80658         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
80659         file.
80660         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
80661         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
80662         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
80663         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
80664         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
80665         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
80666         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
80667         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
80668         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
80669         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
80670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
80671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
80672         file.
80673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80674         New file.
80675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
80676         file.
80677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
80678         file.
80679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
80680         file.
80681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
80682         file.
80683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
80684         file.
80685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
80686         New file.
80687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
80688         New file.
80689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
80690         file.
80691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
80692         New file.
80693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
80694         file.
80695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
80696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
80697         file.
80698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
80699         New file.
80700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
80701         file.
80702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
80703         file.
80704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
80705         file.
80706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
80707         file.
80708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
80709         file.
80710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
80711         New file.
80712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
80713         New file.
80714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
80715         file.
80716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
80717         New file.
80718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
80719         file.
80721 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80723         * conform/conformtest.pl: Fix typo in handling typed-constant from
80724         allow-header.
80726 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80728         * README: Cut down references to pre-2.6 Linux kernels and
80729         Linuxthreads.  Update lists of configurations in libc and ports
80730         and sort alphabetically.  Say "or newer" with Linux kernel version
80731         requirements.
80733         * config.h.in [IS_IN_build]: Allow compiling without optimization.
80735 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
80737         [BZ #887]
80738         * math/libm-test.inc (logb_test_downward): New test to expose
80739         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
80740         rounding mode.
80742 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80744         [BZ #14027]
80745         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
80746         to be done.
80747         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
80748         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
80750 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
80752         * sysdeps/unix/i386/brk.S: Remove file.
80753         * sysdeps/unix/i386/dl-brk.S: Likewise.
80754         * sysdeps/unix/i386/pipe.S: Likewise.
80755         * sysdeps/unix/i386/sigreturn.S: Likewise.
80756         * sysdeps/unix/i386/syscall.S: Likewise.
80757         * sysdeps/unix/i386/vfork.S: Likewise.
80758         * sysdeps/unix/i386/wait.S: Likewise.
80760         * sysdeps/unix/common/tcsendbrk.c: Move to ...
80761         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
80763         * configure.in (arm*-none*): Do not allow without
80764         --enable-hacker-mode.
80765         (netbsd*): Remove case setting base_os.
80766         (386bsd*): Likewise.
80767         (freebsd*): Likewise.
80768         (bsdi*): Likewise.
80769         (osf*): Likewise.
80770         (sunos*): Likewise.
80771         (ultrix*): Likewise.
80772         (newsos*): Likewise.
80773         (dynix*): Likewise.
80774         (*bsd*): Likewise.
80775         (sysv*): Likewise.
80776         (isc*): Likewise.
80777         (esix*): Likewise.
80778         (sco*): Likewise.
80779         (minix*): Likewise.
80780         (irix4*): Likewise.
80781         (irix6*): Likewise.
80782         (solaris[2-9]*): Likewise.
80783         (none): Likewise.
80784         * configure: Regenerated.
80786 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80788         [BZ #11521]
80789         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
80790         overflow or cancellation in calculating denominator.
80791         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
80792         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
80793         down expression to avoid unexpected rounding in newer GCCs.
80794         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
80796 2012-04-26  David S. Miller  <davem@davemloft.net>
80798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
80799         long-double compat symbols.
80800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
80804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
80806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
80807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
80808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
80809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
80810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
80811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
80812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80814 2012-04-25  David S. Miller  <davem@davemloft.net>
80816         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
80817         HWCAP_* values only after the memory barriers have been defined.
80818         (atomic_full_barrier): Define.
80819         (atomic_read_barrier): Define.
80820         (atomic_write_barrier): Define.
80822 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80824         * shlib-versions: Add libgcc_s version information.
80825         * sysdeps/generic/libgcc_s.h: Remove.
80826         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
80827         libgcc_s.h.
80828         * sysdeps/gnu/unwind-resume.c: Likewise.
80829         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
80831 2012-04-25  David S. Miller  <davem@davemloft.net>
80833         * sysdeps/unix/sparc/brk.S: Delete.
80834         * sysdeps/unix/sparc/dl-brk.S: Delete.
80835         * sysdeps/unix/sparc/pipe.S: Delete.
80836         * sysdeps/unix/sparc/sysdep.S: Delete.
80837         * sysdeps/unix/sparc/sysdep.h: Delete.
80838         * sysdeps/unix/sparc/vfork.S: Delete.
80839         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
80840         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
80841         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
80842         (ret_ERRVAL, r0, r1, MOVE): Define.
80843         (JUMPTARGET): Remove.
80844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
80845         sysdeps/unix/sparc/sysdep.h
80846         (ENTRY, END): Remove.
80847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80849 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
80851         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
80852         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
80853         -DIS_IN_build.
80855         * timezone/README: Update upstream location and email address for
80856         tzcode and tzdata.
80857         * timezone/zdump.c: Update from tzcode 2012b.
80858         * timezone/zic.c: Likewise.
80860         * configure.in (libc_cv_as_needed): Remove test.
80861         * configure: Regenerated.
80862         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
80863         conditional definition.
80864         [$(have-as-needed) != yes] (no-as-needed): Likewise.
80865         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
80866         * config.make.in (have-as-needed): Remove variable.
80868 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
80869             Paul Pluzhnikov  <ppluzhnikov@google.com>
80871         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
80872         strings correctly.
80874 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
80876         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
80877         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
80878         * sysdeps/sh/strlen.S: Likewise.
80880 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80882         * sysdeps/unix/fork.S: Remove file.
80883         * sysdeps/unix/i386/fork.S: Likewise.
80884         * sysdeps/unix/sparc/fork.S: Likewise.
80886         * sysdeps/unix/system.c: Remove file.
80887         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
80889         * sysdeps/unix/getegid.S: Remove file.
80890         * sysdeps/unix/geteuid.S: Likewise.
80892 2012-04-24  Roland McGrath  <roland@hack.frob.com>
80894         * scripts/check-localplt.awk: New file.
80895         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
80896         of diff.
80897         * scripts/data/localplt-generic.data: Add a comment.
80899         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
80900         NODE when __dir_mkfile failed.
80901         * sysdeps/mach/hurd/symlinkat.c: Likewise.
80902         Reported by Ludovic Courtès <ludo@gnu.org>.
80904 2012-04-24  Andreas Jaeger  <aj@suse.de>
80906         * Makerules (common-clean): Also remove gen-as-const-headers
80907         files.
80909 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80911         * Makerules (native-compile): Do not change working directory for
80912         build.  Use $(OUTPUT_OPTION) in command.
80913         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
80915 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80917         [BZ #13886]
80918         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
80919         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
80920         * math/libm-test.inc (floor_test): Add more tests.
80921         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
80923 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80925         * sysdeps/unix/getdents.c: Remove file.
80926         * sysdeps/unix/sysv/getdents.c: Likewise.
80927         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
80929         * sysdeps/unix/syscalls.list (madvise): Add syscall from
80930         sysdeps/unix/mman/syscalls.list.
80931         (mmap): Likewise.
80932         (mprotect): Likewise.
80933         (msync): Likewise.
80934         (munmap): Likewise.
80935         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
80936         * sysdeps/unix/mman/syscalls.list: Remove.
80937         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
80939         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
80940         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
80941         * configure: Regenerated.
80942         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
80943         $(libgcc_s_suffix).
80944         * config.make.in (libgcc_s_suffix): Remove variable.
80946 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
80948         * sysdeps/unix/sysv/gethostname.c: Move to ...
80949         * sysdeps/posix/gethostname.c: ... here.
80951         * sysdeps/unix/execve.S: Remove file.
80953         * sysdeps/unix/_exit.S: Remove file.
80955 2012-04-23  Andreas Jaeger  <aj@suse.de>
80957         [BZ #13739]
80958         * manual/Makefile: Remove make dist support, there's no
80959         need for a stand-alone documentation tar ball.
80960         (TEXI2DVI): Define always, it's not in Makeconfig.
80961         (dist): Removed.
80962         (tar-it): Removed.
80963         (edition): Removed.
80964         (glibc-doc-$(edition).tar): Removed
80965         (%.Z): Removed.
80966         (%.gz): Removed.
80967         (%.uu): Removed.
80968         (ETAGS): Remove, it's in Makeconfig.
80969         (move-if-change): Remove, it's in Makeconfig.
80971 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
80973         [BZ #13970]
80974         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
80975         (strtod, strtof, strtold, strtol, strtoul, strtoq)
80976         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
80977         (strtod_l, strtof_l, strtold_l): Remove __wur.
80978         It is not necessarily an error to ignore strtol's return value.
80979         One can reliably look at the stored endptr to decide whether
80980         the number had valid syntax.
80982 2012-04-21  Andreas Jaeger  <aj@suse.de>
80984         [BZ #13739]
80985         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
80987 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
80989         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
80990         * sysdeps/unix/sysv/Versions: Remove file.
80992 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
80994         [BZ #13927]
80995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80997 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
80999         [BZ #7064]
81000         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81001         version from __vm86.
81003 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81005         * sysdeps/unix/common/lxstat.c: Remove file.
81006         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81008         * sysdeps/unix/sysv/Makefile: Remove file.
81010         * sysdeps/unix/sysv/direct.h: Remove file.
81012         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81013         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81014         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81015         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81016         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81017         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81018         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81020         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81022         * sysdeps/unix/xmknod.c: Remove file.
81023         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81025         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81027         * sysdeps/unix/sysv/i386/time.S: Remove file.
81029         * sysdeps/unix/fxstat.c: Remove file.
81030         * sysdeps/unix/xstat.c: Likewise.
81031         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81033         * sysdeps/unix/sysv/sigaction.c: Remove file.
81035         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81036         (sysdep_headers): Remove variable.
81037         [termio.h not in sysdep_headers] (generated): Likewise.
81038         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81039         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81040         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81041         * sysdeps/unix/sysv/tcflow.c: Likewise.
81042         * sysdeps/unix/sysv/tcflush.c: Likewise.
81043         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81044         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81045         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81046         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81047         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81049         * sysdeps/unix/siglist.c: Remove file.
81051         * sysdeps/unix/getppid.S: Remove file.
81053         * sysdeps/unix/mkdir.c: Remove file.
81054         * sysdeps/unix/rmdir.c: Likewise.
81056 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81058         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81059         ERR_MAX value.
81060         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81061         errlist-compat value.
81063 2012-04-18  David S. Miller  <davem@davemloft.net>
81065         * sysdeps/generic/memcopy.h (reg_char): Delete.
81066         * debug/strcat_chk.c: Use char, not reg_char.
81067         * debug/strcpy_chk.c: Likewise.
81068         * debug/strncat_chk.c: Likewise.
81069         * debug/strncpy_chk.c: Likewise.
81070         * string/memchr.c: Likewise.
81071         * string/memrchr.c: Likewise.
81072         * string/rawmemchr.c: Likewise.
81073         * string/strcat.c: Likewise.
81074         * string/strchr.c: Likewise.
81075         * string/strchrnul.c: Likewise.
81076         * string/strcmp.c: Likewise.
81077         * string/strcpy.c: Likewise.
81078         * string/strncat.c: Likewise.
81079         * string/strncmp.c: Likewise.
81080         * string/strncpy.c: Likewise.
81082 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81084         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81085         __builtin_memcopy is called when src and dest ranges are known to not
81086         overlap.
81088 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81090         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81091         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81092         fwd_align_merge macro call.
81093         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81094         bwd_align_merge macro call.
81095         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81097 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81099         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81100         bwd_align_merge macros.
81101         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81102         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81103         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81105 2012-04-18  David S. Miller  <davem@davemloft.net>
81107         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81109 2012-04-18  Andreas Jaeger  <aj@suse.de>
81111         [BZ #6794]
81112         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81113         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81114         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81116         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81117         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81118         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81120         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81121         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81122         Adjust for changed ldbl-128 files.
81124         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81125         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81126         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81128 2012-04-17  David S. Miller  <davem@davemloft.net>
81130         * sysdeps/sparc/sparc32/memcopy.h: Delete.
81132 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
81134         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81135         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81136         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81137         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81138         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81139         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81141 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81143         [BZ #6794]
81144         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81145         * math/libm-test.inc: Add ilogb errno and exception tests.
81146         * math/w_ilogb.c: New file: ilogb wrapper.
81147         * math/w_ilogbf.c: New file: ilogbf wrapper.
81148         * math/w_ilogbl.c: New file: ilogbl wrapper.
81149         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81150         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81151         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81152         exception being thrown with 0.0 as argument.
81153         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81154         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81155         exception being thrown with 0.0 as argument.
81156         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81157         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81158         exception being thrown with 0.0 as argument.
81159         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81160         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81161         exception being thrown with 0.0 as argument.
81162         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81163         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81164         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81165         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81166         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81167         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81168         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81169         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81170         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81172 2012-04-17  Petr Baudis  <pasky@ucw.cz>
81174         * include/sys/uio.h: Change __vector to __iovec to avoid clash
81175         with altivec.
81177 2012-04-16  Marek Polacek  <polacek@redhat.com>
81179         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81181 2012-04-16  Marek Polacek  <polacek@redhat.com>
81183         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81184         operands of fdivp instruction.
81186 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81188         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81189         * elf/tst-auditmod3b.c: Likewise.
81190         * elf/tst-auditmod4b.c: Likewise.
81191         * elf/tst-auditmod5b.c: Likewise.
81192         * elf/tst-auditmod6b.c: Likewise.
81193         * elf/tst-auditmod6c.c: Likewise.
81194         * elf/tst-auditmod7b.c: Likewise.
81195         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81196         * sysdeps/x86_64/preconfigure.in: Likewise.
81197         * sysdeps/x86_64/preconfigure: Regenerated.
81199 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81201         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81202         __ILP32__.
81204 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
81206         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81207         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81209 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
81211         [BZ #13973]
81212         * locale/iso-639.def: Fix gl language name. Spotted by
81213         Yaron Shahrabani.
81215 2012-04-12  Roland McGrath  <roland@hack.frob.com>
81217         [BZ #2074]
81218         * libio/libio.h (__io_write_fn): Update comment.
81220 2012-04-12  Petr Baudis  <pasky@ucw.cz>
81222         [BZ #2074]
81223         * stdio.texi (Hook Functions): The user provided writer function
81224         is not allowed to return -1.
81226 2012-04-11  David S. Miller  <davem@davemloft.net>
81228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81230 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
81232         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
81233         Add a leading slash to rtkaio.
81235 2012-04-11  Jim Meyering  <meyering@redhat.com>
81237         [BZ #11959]
81238         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
81239         It is not necessarily an error to ignore fwrite's return
81240         value.  One can reliably use ferror to test for errors after
81241         the fact.
81243 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81245         * bits/types.h (__snseconds_t): New type.
81246         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
81248         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
81249         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81250         (__SNSECONDS_T_TYPE): Likewise.
81251         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81252         (__SNSECONDS_T_TYPE): Likewise.
81253         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81254         (__SNSECONDS_T_TYPE): Likewise.
81256 2012-04-10  Andreas Jaeger  <aj@suse.de>
81258         [BZ #2636]
81259         * manual/time.texi (Processor Time): Return type of times is
81260         elapsed real time since an arbitrary point in the past.
81261         (CPU Time): Move CLK_TCK from here...
81262         (Processor Time): ...to here.  Correct description.
81263         * manual/conf.texi (Constants for Sysconf): Correct description of
81264         _SC_CLK_TCK.
81266 2012-04-10  David S. Miller  <davem@davemloft.net>
81268         [BZ #13967]
81269         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
81270         where the is a gap between DT_REL(A) and DT_JMPREL.
81272 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81274         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
81275         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81276         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81278 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
81280         * elf/dl-support.c (_dl_inhibit_cache): New variable.
81281         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
81282         (dl_main): Handle --inhibit-cache.
81283         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
81284         _dl_inhibit_cache.
81285         * elf/dl-load.c (_dl_map_object): Use it.
81286         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
81288 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81290         [BZ #13872]
81291         * sysdeps/i386/fpu/e_powl.S (p78): New object.
81292         (__ieee754_powl): Saturate large exponents rather than testing for
81293         overflow of y*log2(x).
81294         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81295         * math/libm-test.inc (pow_test): Do not permit spurious overflow
81296         exceptions.
81298         [BZ #11521]
81299         * math/s_ctan.c: Include <float.h>.
81300         (__ctan): Avoid internal overflow or cancellation in calculating
81301         denominator.
81302         * math/s_ctanf.c: Likewise.
81303         * math/s_ctanl.c: Likewise.
81304         * math/s_ctanh.c: Likewise.
81305         * math/s_ctanhf.c: Likewise.
81306         * math/s_ctanhl.c: Likewise.
81307         * math/libm-test.inc (ctan_test): Add more tests.
81308         (ctanh_test): Likewise.
81309         * sysdeps/i386/fpu/libm-test-ulps: Update.
81310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81312 2012-04-09  Andreas Jaeger  <aj@suse.de>
81314         [BZ #6894]
81315         * manual/filesys.texi (Directory Entries): Mention that d_namlen
81316         is an optional BSD extension.
81318         [BZ #10254]
81319         * manual/stdio.texi (Opening Streams): Document additional fopen
81320         parameters.
81322 2012-04-09  Roland McGrath  <roland@hack.frob.com>
81324         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
81325         %eax without telling the compiler.
81327 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
81329         [BZ # 13963]
81330         * manual/install.texi: Use sourceware.org.
81332 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81334         [BZ #13873]
81335         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
81336         (__ieee754_pow): Generate overflow and underflow using huge*huge
81337         and tiny*tiny rather than just returning constant infinity or zero
81338         for large exponents.
81339         * math/libm-test.inc (pow_test): Require overflow exceptions for
81340         applicable cases of large exponents.
81342         [BZ #706]
81343         * sysdeps/i386/fpu/e_pow.S (p10): New object.
81344         (__ieee754_pow): Use iterative multiplication algorithm only for
81345         integer exponents with absolute value below 1024.  Check for odd
81346         integer exponents when using algorithm for real exponents.
81347         * math/libm-test.inc (pow_test): Add more tests.
81348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81350 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
81352         [BZ #13705]
81353         * math/libm-test.inc (exp_test): Do not allow overflow exception
81354         on underflow test.
81356 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
81358         [BZ #13705]
81359         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
81360         instead of __kernel_standard_f.
81362 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
81364         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
81365         * sysdeps/x86_64/memset_chk.S: Likewise.
81367 2012-04-08  Andreas Jaeger  <aj@suse.de>
81369         [BZ #10153]
81370         * manual/startup.texi (Environment Access): Describe return value
81371         for putenv and setenv.
81373         [BZ #6895]
81374         * manual/filesys.texi (Directory Entries): Add description for
81375         DT_LNK.
81377         [BZ #6890]
81378         * manual/filesys.texi (Directory Entries): Clarify that it's file
81379         system not operating system in the description of DT_UNKNOWN.
81381         [BZ #6578]
81382         * manual/syslog.texi (closelog): Fix reference, it's openlog.
81384 2012-04-08  Stephen Compall  <s11@member.fsf.org>
81386         [BZ #6649]
81387         * manual/llio.texi (Opening and Closing Files): Add cross
81388         reference to explain mode argument.
81390 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
81392         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
81393         * sysdeps/x86_64/memset_chk.S: Likewise.
81395 2012-04-07  David S. Miller  <davem@davemloft.net>
81397         * elf/elf.h (R_SPARC_WDISP10): Define.
81398         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
81399         R_SPARC_SIZE32.
81400         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
81401         R_SPARC_SIZE64 and R_SPARC_H34.
81403 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
81405         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
81406         conditions and remove no longer applicable assertion.
81408 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81410         * bits/byteswap.h: Include <features.h>.
81411         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81412         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81414 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81416         * bits/byteswap.h (__bswap_16): Removed.
81417         Include <bits/byteswap-16.h> to get __bswap_16.
81418         * sysdeps/i386/bits/byteswap.h: Likewise.
81419         * sysdeps/s390/bits/byteswap.h: Likewise.
81420         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81421         * bits/byteswap-16.h: New file.
81422         * sysdeps/i386/bits/byteswap-16.h: Likewise.
81423         * sysdeps/s390/bits/byteswap-16.h: Likewise.
81424         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
81425         * string/Makefile (headers): Add bits/byteswap-16.h.
81427 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81429         [BZ #13895]
81430         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
81431         extra indirection.
81432         * nss/Makefile (tests-static, tests): Add tst-nss-static.
81433         * nss/tst-nss-static.c: New.
81435 2012-04-06  Robert Millan  <rmh@gnu.org>
81437         [BZ #6486]
81438         * manual/llio.texi (File Position Primitive): lseek
81439         refers to WHENCE when it really means OFFSET.
81441 2012-04-06  Andreas Jaeger  <aj@suse.de>
81443         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
81444         strncmp declarations.
81446         * abilist/libc.abilist: Add __poll and __ppoll.
81448 2012-04-05  David S. Miller  <davem@davemloft.net>
81450         * scripts/check-local-headers.sh: Accept a host triplet in the
81451         path matched by the exclude regexp.
81453         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
81454         definition.
81455         * sysdeps/powerpc/powerpc32/dl-machine.h
81456         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
81457         * sysdeps/s390/s390-32/dl-machine.h
81458         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81459         * sysdeps/sparc/sparc32/dl-machine.h
81460         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81461         * sysdeps/sparc/sparc64/dl-machine.h
81462         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81464         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
81465         lazy binding.
81466         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
81467         undefined symbol errors.
81469         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
81470         DT_NEEDED entries.
81472 2012-04-05  Michael Matz  <matz@suse.de>
81474         [BZ #13592]
81475         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
81477 2012-04-05  Andreas Jaeger  <aj@suse.de>
81479         [BZ #13908]
81480         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
81481         comment.
81483 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81485         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
81486         which ROUND is no valid rounding mode.
81488 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81490         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
81491         read again.
81492         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
81494 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81496         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
81497         an exception using FPU order intentionally.
81499 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81501         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
81502         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
81503         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
81504         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
81506 2012-04-05  Simon Josefsson  <simon@josefsson.org>
81508         [BZ #12340]
81509         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
81510         EINVAL when BUFLEN is too smal.
81512 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
81514         [BZ #13553]
81515         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
81516         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
81518 2012-04-03  Andreas Jaeger  <aj@suse.de>
81520         [BZ #13938]
81521         * manual/setjmp.texi (System V contexts): Fix sentence.
81523         [BZ #13926]
81524         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
81525         New macro for this case.
81526         [!__GNUC__] (__bswap_64): New inline function for this case.
81527         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81528         * bits/byteswap.h: Likewise.
81529         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
81530         ull, guard with __GLIBC_HAVE_LONG_LONG.
81532         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
81533         __GLIBC_HAVE_LONG_LONG.
81535         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
81536         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
81538 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81540         [BZ #13691]
81541         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81542         inptr and inend, rather than using last_ch.
81544 2012-04-02  David S. Miller  <davem@davemloft.net>
81546         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
81547         * stdio-common/printf-parse.h (read_int): Change return type to
81548         'int', return -1 on INT_MAX overflow.
81549         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
81550         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
81551         overflows INT_MAX.  Check for overflow of in-format-string precision
81552         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
81553         SIZE_MAX not INT_MAX for integer overflow test.
81554         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
81555         skip the construct in the format string but do not record anything.
81556         * stdio-common/bug22.c: Adjust to test both width/prevision
81557         INT_MAX overflow as well as total length INT_MAX overflow.  Check
81558         explicitly for proper errno values.
81560 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
81562         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81563         CHAR_MAX.
81564         * string/test-strcmp.c [! WIDE]: Likewise.
81565         * time/tst-mktime2.c: Likewise for INT_MAX.
81566         * string/test-string.h: #include <sys/param.h> for MIN.
81568         * csu/init-first.c (__libc_init_first): Call __ctype_init.
81569         * sysdeps/i386/init-first.c (init): Likewise.
81570         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81571         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81572         * sysdeps/sh/init-first.c (init): Likewise.
81574 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81576         * po/ru.po: Update from translation team.
81577         * po/vi.po: Likewise.
81579 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81581         * resolv/nss_dns/dns-host.c: Merge copyright years.
81583 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81585         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81586         Optimize memcpy with prefetch if
81587         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81588         src, dst pointers have unequal 16 byte alignments.
81590 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81592         [BZ #13928]
81593         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81594         from a CNAME entry and return the minimum ttl for the query.
81595         (gaih_getanswer_slice): Likewise.
81597 2012-03-30  Jeff Law  <law@redhat.com>
81599         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81600         due to long keys.
81601         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81602         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81604         * resolv/nss_dns/dns-host.c: Update copyright year.
81606 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81608         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81609         requests to save a system call.  Fix check that all bytes are sent.
81611         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81612         comments for sendmmsg.
81614 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81616         [BZ #13691]
81617         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81618         with only 1 character between 0x0041 and 0x01b0.
81619         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
81620         * wcsmbs/tst-mbsnrtowcs.c: New file.
81622 2012-03-29  David S. Miller  <davem@davemloft.net>
81624         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
81625         small copies by hand.
81627 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
81629         [BZ #13761]
81630         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
81631         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
81632         group memberships.
81634 2012-03-28  David S. Miller  <davem@davemloft.net>
81636         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
81637         that branches into memcpy.
81638         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
81639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
81640         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
81641         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
81642         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
81643         bits.
81644         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
81645         implementation too.
81646         * sysdeps/sparc/mempcpy.S: New file.
81648         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
81649         the IFUNC routine in the libc case.
81650         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81652         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
81653         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
81654         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81655         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
81656         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
81657         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
81658         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81659         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
81661         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
81662         loop to 256 bytes instead of 64 bytes and fix test signedness.
81664         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
81665         * sysdeps/sparc/sparc32/Makefile: rather than here...
81666         * sysdeps/sparc/sparc64/Makefile: and here.
81668 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
81670         * malloc/mallocbug.c: Avoid warnings about unused variables.
81672 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
81674         [BZ #13760]
81675         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
81676         in the right place. Discard and retry query if response is
81677         larger than input buffer size.
81679 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
81681         [BZ #369]
81682         [BZ #2678]
81683         [BZ #3866]
81684         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
81685         x for large integer exponent.
81686         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
81687         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
81688         sign of result as needed afterwards.
81689         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
81690         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
81691         result for underflowing pow the same as for overflow.
81692         (__kernel_standard_l): Handle powl overflow and underflow here
81693         rather than calling __kernel_standard.
81694         * math/libm-test.inc (pow_test): Add more tests.
81696         [BZ #3868]
81697         [BZ #13879]
81698         [BZ #13910]
81699         [BZ #13911]
81700         [BZ #13912]
81701         [BZ #13913]
81702         [BZ #13915]
81703         [BZ #13916]
81704         [BZ #13917]
81705         [BZ #13918]
81706         [BZ #13919]
81707         [BZ #13920]
81708         [BZ #13921]
81709         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
81710         * sysdeps/ieee754/k_standard.c: Include <float.h>.
81711         (__kernel_standard_l): New function.
81712         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
81713         __kernel_standard.
81714         * math/w_acosl.c (__acosl): Likewise.
81715         * math/w_asinl.c (__asinl): Likewise.
81716         * math/w_atan2l.c (__atan2l): Likewise.
81717         * math/w_atanhl.c (__atanhl): Likewise.
81718         * math/w_coshl.c (__coshl): Likewise.
81719         * math/w_exp10l.c (__exp10l): Likewise.
81720         * math/w_exp2l.c (__exp2l): Likewise.
81721         * math/w_fmodl.c (__fmodl): Likewise.
81722         * math/w_hypotl.c (__hypotl): Likewise.
81723         * math/w_j0l.c (__j0l, __y0l): Likewise.
81724         * math/w_j1l.c (__j1l, __y1l): Likewise.
81725         * math/w_jnl.c (__jnl, __ynl): Likewise.
81726         * math/w_lgammal.c (__lgammal): Likewise.
81727         * math/w_log10l.c (__log10l): Likewise.
81728         * math/w_log2l.c (__log2l): Likewise.
81729         * math/w_logl.c (__logl): Likewise.
81730         * math/w_powl.c (__powl): Likewise.
81731         * math/w_remainderl.c (__remainderl): Likewise.
81732         * math/w_scalbl.c (sysv_scalbl): Likewise.
81733         * math/w_sinhl.c (__sinhl): Likewise.
81734         * math/w_sqrtl.c (__sqrtl): Likewise.
81735         * math/w_tgammal.c (__tgammal): Likewise.
81736         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
81737         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
81738         * math/libm-test.inc (acos_test): Add more tests.
81739         (acosh_test): Likewise.
81740         (asin_test): Likewise.
81741         (atanh_test): Likewise.
81742         (exp_test): Likewise.
81743         (exp10_test): Likewise.
81744         (exp2_test): Likewise.
81745         (expm1_test): Likewise.
81746         (lgamma_test): Likewise.
81747         (log_test): Likewise.
81748         (log10_test): Likewise.
81749         (log1p_test): Likewise.
81750         (log2_test): Likewise.
81751         (pow_test): Do not allow some spurious overflow exceptions.
81752         (sqrt_test): Add more tests.
81753         (tgamma_test): Likewise.
81754         (y0_test): Likewise.
81755         (y1_test): Likewise.
81756         (yn_test): Likewise.
81758 2012-03-27  Anton Blanchard  <anton@samba.org>
81760         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
81761         MAP_HUGETLB.
81762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81763         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81766 2012-03-27  David S. Miller  <davem@davemloft.net>
81768         * conform/Makefile: Run run-conformtest.sh using $(BASH).
81770         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
81771         have-as-vis3 check.
81773 2012-03-27  Andreas Jaeger  <aj@suse.de>
81775         * sysdeps/x86_64/elf/configure.in: Moved to ...
81776         * sysdeps/x86_64/configure.in: ... here.
81777         * sysdeps/x86_64/elf/start.S: Moved to ...
81778         * sysdeps/x86_64/start.S: ... here.
81779         * sysdeps/x86_64/elf/configure: Delete.
81781         * sysdeps/x86_64/configure.in: Merge contents from
81782         sysdeps/i386/configure.in (without i686 check).
81784         * sysdeps/i386/elf/Versions: Merge into ...
81785         * sysdeps/i386/Versions: ... this.
81786         * sysdeps/i386/elf/Versions: Delete file.
81787         * sysdeps/i386/elf/start.S: Moved to ...
81788         * sysdeps/i386/start.S: ...here.
81789         * sysdeps/i386/elf/configure.in: Merge into...
81790         * sysdeps/i386/configure.in: ...here.
81791         * sysdeps/i386/elf/configure.in: Delete file.
81792         * sysdeps/i386/elf/configure: Delete file.
81794         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
81795         * debug/backtracesyms.c: ... here.
81796         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
81797         * debug/backtracesymsfd.c: ... here.
81798         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
81799         * sysdeps/generic/ifunc-sel.h: ... here.
81801         * sysdeps/unix/i386/start.c: Delete file.
81802         * sysdeps/unix/sparc/start.c: Delete file.
81803         * sysdeps/unix/start.c: Delete file.
81805         * sysdeps/sh/elf/configure.in: Moved to ...
81806         * sysdeps/sh/configure.in: ... here.
81807         * sysdeps/sh/elf/start.S: Moved to ...
81808         * sysdeps/sh/start.S: ... here.
81809         * sysdeps/sh/elf/configure: Delete file.
81811         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
81812         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
81813         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
81814         * sysdeps/powerpc/powerpc64/entry.h: ... here.
81815         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
81816         * sysdeps/powerpc/powerpc64/start.S: here.
81817         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
81818         * sysdeps/powerpc/powerpc64/Makefile: ... this.
81819         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
81820         * sysdeps/powerpc/powerpc64/configure.in: ... this.
81821         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
81823         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
81824         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
81825         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
81826         * sysdeps/powerpc/powerpc32/start.S: ... here.
81827         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
81828         * sysdeps/powerpc/powerpc32/configure.in: ... this.
81829         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
81831         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
81832         * sysdeps/powerpc/ifunc-sel.h: ... here.
81833         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
81834         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
81836         * sysdeps/sparc/elf/configure.in: Moved to ...
81837         * sysdeps/sparc/configure.in: ... here.
81838         * sysdeps/sparc/elf/configure: Delete file.
81839         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
81840         * sysdeps/sparc/sparc32/start.S: ... here.
81841         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
81842         * sysdeps/sparc/sparc64/start.S: ... here.
81843         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
81844         * sysdeps/sparc/sparc32/Makefile: ... this.
81845         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
81846         * sysdeps/sparc/sparc64/Makefile: ... this.
81848         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
81849         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
81850         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
81851         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
81852         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
81853         * sysdeps/s390/s390-32/setjmp.S: ... here.
81854         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
81855         * sysdeps/s390/s390-32/configure.in: ... here.
81856         * sysdeps/s390/s390-32/elf/configure: Delete file.
81857         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
81858         * sysdeps/s390/s390-32/start.S: ... here.
81860         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
81861         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
81862         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
81863         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
81864         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
81865         * sysdeps/s390/s390-64/setjmp.S: ... here.
81866         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
81867         * sysdeps/s390/s390-64/configure.in: ... here
81868         * sysdeps/s390/s390-64/elf/configure: Delete file.
81869         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
81870         * sysdeps/s390/s390-64/start.S: ... here.
81871         * sysdeps/s390/s390-64/elf/configure: Delete.
81873         * configure.in: Remove support for elf directories in sysdeps.
81875         * configure: Regenerated.
81876         * sysdeps/i386/configure: Regenerated.
81877         * sysdeps/powerpc/powerpc32/configure: Regenerated.
81878         * sysdeps/powerpc/powerpc64/configure: Regenerated.
81879         * sysdeps/s390/s390-32/configure: Regenerated.
81880         * sysdeps/s390/s390-64/configure: Regenerated.
81881         * sysdeps/sh/configure: Regenerated.
81882         * sysdeps/sparc/configure: Regenerated.
81883         * sysdeps/x86_64/configure: Regenerated.
81885 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
81887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
81890         denormal result into account.
81892 2012-03-25  Roland McGrath  <roland@hack.frob.com>
81894         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
81895         Reported by Allan McRae <allan@archlinux.org>.
81897 2012-03-23  Jeff Law  <law@redhat.com>
81899         * nss/getnssent.c (__nss_getent): Fix typo.
81901 2012-03-23  David S. Miller  <davem@davemloft.net>
81903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81905 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
81907         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
81908         to pad to uint64_t for each field.
81909         (dl_tls_index): Replace unsigned long with uint64_t.
81911 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
81912         Paul Pluzhnikov  <ppluzhnikov@google.com>
81914         [BZ #6528]
81915         * grp/Makefile (otherlibs): Don't set it.
81916         * inet/Makefile (otherlibs): Likewise.
81917         * login/Makefile (otherlibs): Likewise.
81918         * nscd/Makefile (otherlibs): Likewise.
81919         * posix/Makefile (otherlibs): Likewise.
81920         * pwd/Makefile (otherlibs): Likewise.
81921         * rt/Makefile (otherlibs): Likewise.
81922         * sunrpc/Makefile (otherlibs): Likewise.
81923         * nss/Makefile (otherlibs): Likewise.
81924         Add libnss_files to routines and static-only-routines.
81925         ($(objpfx)getent): Remove rule.
81926         * resolv/Makefile: Add libnss_dns and libresolv to routines and
81927         static-only-routines.
81929 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81931         [BZ #13892]
81932         * math/s_cexp.c: Include <float.h>.
81933         (__cexp): Handle exp result overflowing not necessarily
81934         overflowing both real and imaginary parts of result.
81935         * math/s_cexpf.c: Likewise.
81936         * math/s_cexpl.c: Likewise.
81937         * math/libm-test.inc (cexp_test): Add more tests.
81938         * sysdeps/i386/fpu/libm-test-ulps: Update.
81939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81941 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81943         * include/link.h (ELFW): New macro.
81944         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
81945         Replace ELF64_R_TYPE with ELFW(R_TYPE).
81947 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81949         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
81950         with uint64_t.
81952 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81954         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
81955         declaration.
81956         (struct La_x32_retval): Likewise.
81958 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81960         * sysdeps/x86_64/preconfigure.in: New file.
81961         * sysdeps/x86_64/preconfigure: New generated file.
81963 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81965         [BZ #13824]
81966         * math/e_exp2l.c: Include <float.h>.
81967         (__ieee754_exp2l): Handle overflow and underflow cases
81968         separately.  Only pass fractional part of argument to
81969         __ieee754_expl.
81970         * math/libm-test.inc (exp2_test): Add more tests.
81972         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
81973         negating x to take absolute value.
81974         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
81975         Likewise.
81976         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
81977         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
81978         Likewise.
81979         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
81980         computing low part if x was negated.
81981         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
81983 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81985         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
81986         la_x32_gnu_pltexit.
81987         (pltexit): Cast int_retval to ptrdiff_t.
81988         * elf/tst-auditmod3b.c: Likewise.
81989         * elf/tst-auditmod4b.c: Likewise.
81990         * elf/tst-auditmod5b.c: Likewise.
81991         * elf/tst-auditmod6b.c: Likewise.
81992         * elf/tst-auditmod6c.c: Likewise.
81993         * elf/tst-auditmod7b.c: Likewise.
81995         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
81996         and x32_gnu_pltexit.
81998         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
81999         __ELF_NATIVE_CLASS.
82000         (La_x32_regs): New macro.
82001         (La_x32_retval): Likewise.
82002         (la_x32_gnu_pltenter): New function prototype.
82003         (la_x32_gnu_pltexit): Likewise.
82005 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82007         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82008         exponent.
82010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82012         * configure.in (libc_cv_cc_nofma): Check for option to disable
82013         generation of FMA instructions.
82014         * configure: Regenerate.
82015         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82016         * sysdeps/ieee754/dbl-64/Makefile: New file.
82017         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82018         Remove brandred-fma4.
82019         (CFLAGS-brandred-fma4.c): Remove.
82020         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82021         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82022         define.
82023         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82024         define.
82026 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82028         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82029         LLONG_MAX != LONG_MAX.
82030         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82031         (_fitoa_word): Likewise.
82032         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82033         LLONG_MAX != LONG_MAX.
82034         * stdio-common/_itowa.h: Include <_itoa.h>.
82035         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82036         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82037         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82038         only if not defined.
82039         (_ITOA_WORD_TYPE): Likewise.
82040         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82041         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82043 2012-03-21  David S. Miller  <davem@davemloft.net>
82045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82047 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82049         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82050         of x86_64 when setting libc_cv_slibdir, libdir and
82051         libc_cv_localedir.
82052         * sysdeps/unix/sysv/linux/configure: Regenerated.
82054 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82056         * manual/lang.texi (Old Varargs): Remove section.
82057         (How Variadic): Update menu.
82058         (va_start): Do not mention varargs.h.
82060 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82061             Joseph Myers  <joseph@codesourcery.com>
82063         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82064         link test.
82065         * configure: Regenerated.
82067 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82069         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82070         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82071         conformtest.pl
82073 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82075         * NOTES: Remove.
82076         * Makefile (files-for-dist): Remove NOTES.
82077         (NOTES): Remove rule.
82078         * README: Don't refer to NOTES.
82079         * manual/creature.texi: Don't include macros.texi.
82080         * manual/intro.texi (creature.texi): Remove comment referring to
82081         NOTES.
82083         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82084         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82085         * configure: Regenerated.
82086         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82087         LIBC_TRY_CC_OPTION.
82088         (libc_cv_as_i686): Likewise.
82089         (libc_cv_cc_avx): Likewise.
82090         (libc_cv_cc_sse2avx): Likewise.
82091         (libc_cv_cc_fma4): Likewise.
82092         (libc_cv_cc_novzeroupper): Likewise.
82093         * sysdeps/i386/configure: Regenerated.
82095         [BZ #13883]
82096         * sysdeps/i386/fpu/s_cexp.S: Remove.
82097         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82098         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82099         * math/libm-test.inc (cexp_test): Add more tests.
82100         * sysdeps/i386/fpu/libm-test-ulps: Update.
82101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82103 2012-03-21  Allan McRae  <allan@archlinux.org>
82105         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82107 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82109         [BZ #13871]
82110         * math/w_exp2.c: Do not include <float.h>.
82111         (o_threshold, u_threshold): Remove.
82112         (__exp2): Calculate result before checking finiteness and calling
82113         __kernel_standard.
82114         * math/w_exp2f.c: Likewise.
82115         * math/w_exp2l.c: Likewise.
82116         * math/libm-test.inc (exp2_test): Require overflow exception for
82117         1e6 input.
82119         [BZ #3866]
82120         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82121         range of signed 64-bit integers before using fistpll.  Remove
82122         checks for whether integers fit in mantissa bits.
82123         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82124         the range of signed 32-bit integers before using fistpl.  Remove
82125         checks for whether integers fit in mantissa bits.
82126         * sysdeps/i386/fpu/e_powl.S (p64): New object.
82127         (__ieee754_powl): Test for y outside the range of signed 64-bit
82128         integers before using fistpll.  Reduce 64-bit values to 63-bit
82129         ones as needed.
82130         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82131         divide-by-zero is raised for zero to large negative powers.
82132         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82133         (__ieee754_powl): Test for y outside the range of signed 64-bit
82134         integers before using fistpll.  Reduce 64-bit values to 63-bit
82135         ones as needed.
82136         * math/libm-test.inc (pow_test): Add more tests.
82138 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82140         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82141         <stdio-common/_itoa.h>.
82142         * debug/segfault.c: Likewise.
82143         * elf/dl-cache.c: Likewise.
82144         * elf/dl-minimal.c: Likewise.
82145         * elf/dl-misc.c: Likewise.
82146         * elf/dl-sysdep.c: Likewise.
82147         * elf/dl-version.c: Likewise.
82148         * elf/rtld.c: Likewise.
82149         * hurd/hurdsock.c: Likewise.
82150         * hurd/lookup-retry.c: Likewise.
82151         * malloc/malloc.c: Likewise.
82152         * malloc/mtrace.c: Likewise.
82153         * nscd/nscd_getgr_r.c: Likewise.
82154         * nscd/nscd_getpw_r.c: Likewise.
82155         * nscd/nscd_getserv_r.c: Likewise.
82156         * posix/getopt_init.c: Likewise.
82157         * posix/wordexp.c: Likewise.
82158         * stdio-common/_itoa.c: Likewise.
82159         * stdio-common/printf_fphex.c: Likewise.
82160         * stdio-common/vfprintf.c: Likewise.
82161         * string/_strerror.c: Likewise.
82162         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82163         * sysdeps/i386/i686/hp-timing.h: Likewise.
82164         * sysdeps/mach/_strerror.c: Likewise.
82165         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82166         * sysdeps/mach/hurd/sethostid.c: Likewise.
82167         * sysdeps/mach/hurd/xmknodat.c: Likewise.
82168         * sysdeps/mach/xpg-strerror.c: Likewise.
82169         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82170         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82171         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82172         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82173         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82174         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82175         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82176         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82177         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82178         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82179         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82180         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82181         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82182         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82183         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82184         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82185         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82186         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82187         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82188         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82189         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82191         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82193         * stdio-common/_itoa.h: Moved to ...
82194         * sysdeps/generic/_itoa.h: Here.
82196         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82198         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82199         instead of "_itoa.h" and "_itowa.h".
82200         * stdio-common/vfprintf.: Likewise.
82202 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82204         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82205         <bits/wordsize.h>.
82206         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82207         (__signbit): Likewise.
82208         (llrintf): Likewise.
82209         (llrint): Likewise.
82211 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82213         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82214         __WORDSIZE != 64.
82216 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
82218         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82219         OVERFLOW_EXCEPTION_OK.
82220         * math/libm-test.inc ("Philosophy"): Update comment about
82221         exception testing.
82222         (OVERFLOW_EXCEPTION): Define.
82223         (OVERFLOW_EXCEPTION_OK): Likewise.
82224         (INVALID_EXCEPTION_OK): Renumber.
82225         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82226         (IGNORE_ZERO_INF_SIGN): Likewise.
82227         (test_exceptions): Handle FE_OVERFLOW.
82228         (exp10_test): Expect overflow exceptions.
82229         (exp2_test): Likewise.
82230         (expm1_test): Likewise.
82231         (nextafter_test): Likewise.
82232         (pow_test): Likewise.
82233         (scalbn_test): Likewise.
82234         (scalbln_test): Likewise.
82236 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82238         * sysdeps/x86_64/bits/atomic.h
82239         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
82240         64bit integer.
82241         (atomic_exchange_acq): Likewise.
82242         (__arch_exchange_and_add_body): Likewise.
82243         (__arch_add_body): Likewise.
82244         (atomic_add_negative): Likewise.
82245         (atomic_add_zero): Likewise.
82247 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82249         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
82250         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
82252 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82254         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
82255         Check __x86_64__ instead of __WORDSIZE.
82257 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82259         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
82261 2012-03-19  David S. Miller  <davem@davemloft.net>
82263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82265         * sysdeps/sparc/fpu/fenv_private.h: New file.
82266         * sysdeps/sparc/fpu/math_private.h: Use it.
82267         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
82268         Remove.
82269         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
82270         (libc_feholdexcept_setroundl): Remove.
82271         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
82272         Remove.
82273         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
82274         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
82276 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82278         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
82279         int64_t instead of long int.
82280         (INSERT_WORDS64): Likewise.
82282 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82284         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
82285         _Unwind_GetCFA return to _Unwind_Ptr first.
82287 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
82289         [BZ #13629]
82290         * math/s_clog.c: Include <float.h>.
82291         (__clog): Scale large or subnormal inputs.
82292         * math/s_clogf.c: Likewise.
82293         * math/s_clogl.c: Likewise.
82294         * math/s_clog10.c: Include <float.h>.
82295         (M_LOG10_2): Define.
82296         (__clog10): Scale large or subnormal inputs.
82297         * math/s_clog10f.c: Likewise.
82298         * math/s_clog10l.c: Likewise.
82299         * math/libm-test.inc (clog_test): Add more tests.
82300         (clog10_test): Likewise.
82301         * sysdeps/i386/fpu/libm-test-ulps: Update.
82302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82304         [BZ #11451]
82305         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
82306         x and y.
82307         * math/libm-test.inc (atan2_test): Add another test.
82309         * Makerules (common-objdir-compile): Remove.
82310         * sysdeps/unix/Makefile (config-generated): Do not add
82311         $(unix-generated) to variable.
82312         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
82313         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
82314         Remove rule.
82315         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
82316         Likewise.
82317         [generic bits/local_lim.h] (before-compile): Do not append to
82318         variable.
82319         [generic bits/local_lim.h] (common-generated): Likewise.
82320         [generic sys/param.h] (before-compile): Do not append to variable.
82321         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
82322         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
82323         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
82324         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
82325         include.
82326         [generic sys/param.h] (sys/param.h-includes): Remove variable.
82327         [generic sys/param.h] (sys/param.h-includes): Remove rule.
82328         [generic sys/param.h] ($(addprefix
82329         $(common-objpfx),$(sys/param.h-includes))): Likewise.
82330         [generic sys/param.h] (common-generated): Do not append to
82331         variable.
82332         [generic sys/param.h] (sysdep_headers): Likewise.
82333         [generic bits/errno.h] (before-compile): Do not append to
82334         variable.
82335         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
82336         rule.
82337         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
82338         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
82339         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
82340         [generic bits/errno.h] (common-generated): Do not append to
82341         variable.
82342         [generic bits/ioctls.h] (before-compile): Do not append to
82343         variable.
82344         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
82345         rule.
82346         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
82347         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
82348         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
82349         rule.
82350         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
82351         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
82352         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
82353         [generic bits/ioctls.h] (common-generated): Do not append to
82354         variable.
82355         [generic sys/syscall.h] (syscall.h): Remove variable.
82356         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
82357         rule.
82358         [generic sys/syscall.h] (before-compile): Do not append to
82359         variable.
82360         [generic sys/syscall.h] (common-generated): Likewise.
82361         * sysdeps/unix/errnos-tmpl.c: Remove file.
82362         * sysdeps/unix/errnos.awk: Likewise.
82363         * sysdeps/unix/ioctls-tmpl.c: Likewise.
82364         * sysdeps/unix/ioctls.awk: Likewise.
82365         * sysdeps/unix/mk-local_lim.c: Likewise.
82366         * sysdeps/unix/snarf-ioctls: Likewise.
82368 2012-03-19  Richard Henderson  <rth@twiddle.net>
82370         * sysdeps/i386/fpu/fenv_private.h: New file.
82371         * sysdeps/i386/fpu/math_private.h: Use it.
82372         (math_opt_barrier, math_force_eval): Remove.
82373         (libc_feholdexcept_setround_53bit): Remove.
82374         (libc_feupdateenv_53bit): Remove.
82375         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82376         (math_opt_barrier, math_force_eval): Remove.
82377         (libc_feholdexcept): Remove.
82378         (libc_feholdexcept_setround): Remove.
82379         (libc_fetestexcept, libc_fesetenv): Remove.
82380         (libc_feupdateenv_test): Remove.
82381         (libc_feupdateenv, libc_feholdsetround): Remove.
82382         (libc_feresetround): Remove.
82384         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
82385         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
82387         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
82388         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
82389         (libc_feupdateenv_testl): New.
82390         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
82391         (libc_feupdateenv_testf): New.
82392         (libc_feupdateenv): Use libc_feupdateenv_test.
82393         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
82394         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
82396         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
82397         (libc_feholdsetroundf, libc_feholdsetroundl): New.
82398         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
82399         (libc_feresetround_noex): New.
82400         (libc_feresetround_noexf): New.
82401         (libc_feresetround_noexl): New.
82402         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
82403         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
82404         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
82405         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
82406         SET_RESTORE_ROUND.
82407         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
82408         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
82409         (__cos): Likewise.
82410         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
82411         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
82412         SET_RESTORE_ROUND_NOEX.
82413         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
82414         SET_RESTORE_ROUND_NOEXF.
82415         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
82416         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
82417         (libc_feholdsetroundf): New.
82418         (libc_feresetround, libc_feresetroundf): New.
82420         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
82421         (libc_feholdexcept_setround_53bit): Convert from macro to function.
82422         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
82424         * sysdeps/generic/math_private.h: Include <fenv.h>.
82425         (default_libc_feholdexcept): New.
82426         (default_libc_feholdexcept_setround): New.
82427         (default_libc_fesetenv, default_libc_feupdateenv): New.
82428         (libc_feholdexcept): Only define if undefined.
82429         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
82430         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
82431         (libc_feholdexcept_setroundl): Likewise.
82432         (libc_feholdexcept_setround_53bit): Likewise.
82433         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
82434         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
82435         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
82436         (libc_feupdateenv_53bit): Likewise.
82437         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
82438         (libc_feholdexcept): Convert from macro to inline function.
82439         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
82440         (libc_fesetenv, libc_feupdateenv): Likewise.
82442         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
82443         not previously defined.
82444         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
82445         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
82446         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
82447         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
82448         * sysdeps/ieee754/flt-32/math_private.h: New file.
82449         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
82450         math_private.h below SET_FLOAT_WORD.
82451         (__isnan, __isinf_ns, __finite): Remove.
82452         (__isnanf, __isinf_nsf, __finitef): Remove.
82454 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
82456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82458 2012-03-17  David S. Miller  <davem@davemloft.net>
82460         [BZ #6471]
82461         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
82462         for 2.16.
82464 2012-03-16  David S. Miller  <davem@davemloft.net>
82466         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
82467         warnings.
82469         [BZ #6471]
82470         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
82471         properly.
82472         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
82473         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
82474         sysdep_routines when subdir is sysvipc.
82475         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
82476         __getshmlba helper.
82478         * sysdeps/sparc/fpu/libm-test/ulps: Update.
82480 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82482         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
82483         [__LP64__].
82485 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82487         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
82488         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
82489         (__lround): Renamed to ...
82490         (__llround): This.  Replace long int with long long int.
82491         Define lround functions as aliases of llround functions.
82492         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
82494 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82496         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
82497         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
82498         adresses to uintptr_t.  Replace "long int" and "unsigned long
82499         int" with "greg_t" on va_arg.
82501 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82503         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
82504         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
82506         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
82507         Move e_machine check before EI_CLASS check.  Handle x32
82508         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
82509         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
82510         SKIP_EM_IA_64 and include
82511         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
82513         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
82514         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
82515         (add_system_dir): New macro.
82517         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
82518         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
82520 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82522         [BZ #2551]
82523         [BZ #2552]
82524         [BZ #2553]
82525         [BZ #2554]
82526         [BZ #2562]
82527         [BZ #2563]
82528         [BZ #2565]
82529         [BZ #2566]
82530         [BZ #2576]
82531         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
82532         (y0): Likewise.
82533         * math/w_j0f.c (j0f): Likewise.
82534         (y0f): Likewise.
82535         * math/w_j0l.c (__j0l): Likewise.
82536         (__y0l): Likewise.
82537         * math/w_j1.c (j1): Likewise.
82538         (y1): Likewise.
82539         * math/w_j1f.c (j1f): Likewise.
82540         (y1f): Likewise.
82541         * math/w_j1l.c (__j1l): Likewise.
82542         (__y1l): Likewise.
82543         * math/w_jn.c (jn): Likewise.
82544         (yn): Likewise.
82545         * math/w_jnf.c (jnf): Likewise.
82546         (ynf): Likewise.
82547         * math/w_jnl.c (__jnl): Likewise.
82548         (__ynl): Likewise.
82549         * math/libm-test.inc (j0_test): Add more tests.
82550         (j1_test): Likewise.
82551         (jn_test): Likewise.  Add trailing semicolon to existing test.
82552         (y0_test): Likewise.
82553         (y1_test): Likewise.
82554         * sysdeps/i386/fpu/libm-test-ulps: Update.
82555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82557         [BZ #13851]
82558         [BZ #13854]
82559         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
82560         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82561         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82562         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82563         (__tanl): Set errno for infinite argument.
82564         * sysdeps/i386/fpu/mptan.c: Remove.
82565         * sysdeps/i386/fpu/s_tan.S: Likewise.
82566         * sysdeps/i386/fpu/s_tanl.S: Likewise.
82567         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82568         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82569         * math/libm-test.inc (tan_test): Add more tests and enable more
82570         tests for double and long double.
82571         * sysdeps/i386/fpu/libm-test-ulps: Update.
82572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82574 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82576         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82577         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82579 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82581         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82582         * configure.in: Use it for both main tree and add-ons.
82583         * configure: Regenerated.
82585 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82587         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82589 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82591         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82592         in comment.
82594         [BZ #13851]
82595         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82596         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82597         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82598         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82599         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82600         infinite argument.
82601         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82602         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82603         != 0 for prec == 2.
82604         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82605         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82606         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82607         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82608         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82609         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82610         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82611         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82612         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82613         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82614         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82615         * math/libm-test.inc (cos_test): Add more tests and enable more
82616         tests for long double.
82617         (sin_test): Likewise.
82618         (sincos_test): Likewise.
82619         * sysdeps/i386/fpu/libm-test-ulps: Update.
82620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82622 2012-03-16  David S. Miller  <davem@davemloft.net>
82624         * sysdeps/sparc/fpu/math_private.h: New file.
82626 2012-03-15  David S. Miller  <davem@davemloft.net>
82628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
82629         file.
82630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
82631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
82632         file.
82633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
82634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
82635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
82636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
82637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
82638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
82639         sysdep routines.
82640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82642         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
82643         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
82645         * sysdeps/sparc/sparc-ifunc.h: New file.
82646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
82647         sparc-ifunc.h
82648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
82649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
82650         Likewise.
82651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
82652         Likewise.
82653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
82654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
82655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
82657         Likewise.
82658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
82660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
82662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
82663         Likewise.
82664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
82665         Likewise.
82666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
82668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
82669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
82670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
82671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
82672         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
82673         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
82674         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
82675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
82676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
82677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
82679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
82680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
82681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
82682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
82683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
82684         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
82685         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
82686         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
82687         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
82688         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
82689         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
82691 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82693         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
82694         scaling.
82695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82697 2012-03-15  Andreas Jaeger  <aj@suse.de>
82699         [BZ #13852]
82700         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
82701         ieee754/flt-32 implementation for sin, cos and sincos.
82702         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
82703         * sysdeps/i386/fpu/s_cosf.S: Likewise.
82704         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
82705         * sysdeps/i386/fpu/s_sinf.S: Likewise.
82706         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
82707         ieee754/flt-32 implementation for tan.
82709         * math/libm-test.inc (cos_test): Enable some large input tests for
82710         float as well
82711         (sin_test): Likewise.
82712         (sincos_test): Likewise.
82713         (tan_test): Add tests for large input.
82715         * sysdeps/i386/fpu/libm-test-ulps: Update.
82717 2012-03-15  Andreas Jaeger  <aj@suse.de>
82719         [BZ #13658]
82720         * math/libm-test.inc (cos_test): Add more test cases.
82721         (sin_test): Likewise.
82722         (sincos_test): Likewise.
82724 2012-03-15  Andreas Jaeger  <aj@suse.de>
82726         [BZ #13837]
82727         * math/libm-test.inc (cos_test): Add a test case for large input
82728         value.
82729         (sin_test): Likewise.
82730         (sincos_test): Likewise.
82732 2012-03-15  Andreas Jaeger  <aj@suse.de>
82733             Joseph Myers  <joseph@codesourcery.com>
82735         [BZ #13658]
82736         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
82737         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
82738         * sysdeps/i386/fpu/branred.c: Likewise.
82739         * sysdeps/i386/fpu/dosincos.c: Likewise.
82740         * sysdeps/i386/fpu/mpa.c: Likewise.
82741         * sysdeps/i386/fpu/s_cos.S: Likewise.
82742         * sysdeps/i386/fpu/s_sin.S: Likewise.
82743         * sysdeps/i386/fpu/s_sincos.S: Likewise.
82744         * sysdeps/i386/fpu/sincos32.c: Likewise.
82746         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
82747         Define.
82748         (libc_feupdateenv_53bit): Define.
82749         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
82750         Define.
82751         (libc_feupdateenv_53bit): Define.
82753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
82754         53 bit (without extend i386 double precision).
82756         * math/libm-test.inc (sincos_test): Add tests for large input.
82757         (sin): Likewise.
82758         (cos): Likewise.
82760         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
82762 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82766 2012-03-15  David S. Miller  <davem@davemloft.net>
82768         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
82769         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
82770         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
82771         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
82772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
82773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
82774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
82775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
82776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
82777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
82778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
82779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
82780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
82781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
82782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
82783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
82784         file.
82785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
82786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
82787         file.
82788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
82789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
82790         file.
82791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
82792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
82793         file.
82794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
82795         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
82796         fmin/fmax sysdep routines.
82797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82799 2012-03-14  David S. Miller  <davem@davemloft.net>
82801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
82802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
82803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
82804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
82805         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
82806         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
82807         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
82808         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
82809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
82810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
82811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
82812         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
82813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
82814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
82815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
82816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
82817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
82818         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
82819         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
82820         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
82821         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
82822         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
82823         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
82824         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
82825         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
82826         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
82827         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
82828         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
82829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
82830         routines.
82831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
82832         file.
82833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
82834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
82835         file.
82836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
82837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
82838         file.
82839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
82840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
82841         file.
82842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
82843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
82844         file.
82845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
82846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
82847         file.
82848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
82849         file.
82850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
82851         file.
82852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
82853         file.
82854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
82855         New file.
82856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
82857         file.
82858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
82859         file.
82860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
82861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
82862         file.
82863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
82864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
82865         file.
82866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
82867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
82868         file.
82869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
82870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
82871         VIS3 routines.
82873         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
82874         New file.
82876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82878         * sysdeps/sparc/configure.in: New file.
82879         * sysdeps/sparc/configure: Generate.
82880         * configure.in (libc_cv_sparc_as_vis3): Substitute.
82881         * configure: Regenerate.
82882         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
82883         * config.make.in (have-as-vis3): New.
82884         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
82885         available use -Av9d instead of -Av9a.
82886         * sysdeps/sparc/sparc64/Makefile: Likewise.
82887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
82888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
82889         New file.
82890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
82891         file.
82892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
82893         New file.
82894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
82895         file.
82896         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
82897         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
82898         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
82899         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
82900         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
82902         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
82903         fzeros/fnegs to load 0x80000000 into a float register instead of
82904         using the stack.
82905         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
82907 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82910         bits/syscall.h.
82911         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
82912         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
82913         ($(inst_includedir)/bits/syscall.h): Remove rule.
82914         ($(objpfx)bits/syscall.d): Include instead of
82915         $(objpfx)syscall-list.d.
82916         (generated): Change syscall-list.h and syscall-list.d to
82917         bits/syscall.h and bits/syscall.d.
82919 2012-03-14  Roland McGrath  <roland@hack.frob.com>
82921         [BZ #13846]
82922         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
82924 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82926         [BZ #13841]
82927         * math/s_csqrt.c: Include <float.h>.
82928         (__csqrt): Scale large or subnormal inputs.
82929         * math/s_csqrtf.c: Likewise.
82930         * math/s_csqrtl.c: Likewise.
82931         * math/libm-test.inc (csqrt_test): Add more tests.
82932         * sysdeps/i386/fpu/libm-test-ulps: Update.
82933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82935         [BZ #13840]
82936         * math/libm-test.inc (hypot_test): Add more tests.
82938 2012-03-13  David S. Miller  <davem@davemloft.net>
82940         [BZ #13840]
82941         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
82942         double-precision for the calculation instead of scaling.
82944 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
82946         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
82947         manipulate bits before adding and subtracting TWO52[sx].
82948         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
82949         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
82950         Likewise.
82951         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
82953 2012-03-13  David S. Miller  <davem@davemloft.net>
82955         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
82956         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
82957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
82958         rtld-global-offsets.h
82959         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82961         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
82962         large parameters.
82964         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
82966         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
82967         'err' in the ifdef scope in which it is actually used.
82969         * nss/nss_db/db-init.c: Include string.h
82971 2012-03-12  David S. Miller  <davem@davemloft.net>
82973         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82974         masking out of the most significant byte of random value used.
82975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82976         Fix coding style in previous change.
82978         * sysdeps/unix/sysv/linux/kernel-features.h
82979         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
82980         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
82981         expression.
82982         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
82983         later.
82985 2012-03-11  David S. Miller  <davem@davemloft.net>
82987         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
82988         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
82989         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
82990         for 'resultvar' otherwise things get truncated on 64-bit.
82992         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82993         Fix masking out of the most significant byte of random value used.
82995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82997 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
82999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83001 2012-03-09  David S. Miller  <davem@davemloft.net>
83003         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83004         variables with appropriate CPP guards.
83005         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83006         from the frame pointer, not the stack pointer.  Correct layout
83007         comments.  Fix test on resulting framesize and the management of
83008         the outregs buffer for pltexit.  Preserve floating point return
83009         values across _dl_call_pltexit call.
83010         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83011         framesize and the management of the outregs buffer for pltexit.
83012         Preserve floating point return values across _dl_call_pltexit
83013         call.
83014         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83015         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83016         (la_sparc64_gnu_pltexit): New functions.
83017         (print_exit): Fix format string for return register value.
83019 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83021         * sunrpc/Makefile (others): Add rpcgen.
83022         ($(objpfx)rpcgen): Remove special build rule and dependency on
83023         libc.
83024         * sunrpc/rpcgen.c: New file.
83026 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83028         [BZ #13673]
83029         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83030         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83031         * sysdeps/i386/crti.S: Likewise.
83032         * sysdeps/i386/crtn.S: Likewise.
83033         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83034         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83035         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83036         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83037         * sysdeps/sh/crti.S: Likewise.
83038         * sysdeps/sh/crtn.S: Likewise.
83039         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83041         [BZ #13673]
83042         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83043         with URL.
83044         * locale/programs/locfile-kw.gperf: Likewise.
83045         * locale/programs/charmap-kw.h: Regenerated.
83046         * locale/programs/locfile-kw.h: Likewise.
83048         [BZ #13673]
83049         * intl/plural.y: Replace FSF snail mail address with URL.
83050         * intl/plural.c: Regenerated.
83052 2012-03-09  Richard Henderson  <rth@twiddle.net>
83054         * include/math_private.h: Remove file.
83055         * math/math_private.h: Move file ...
83056         * sysdeps/generic/math_private.h: ... here.
83058         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83059         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83060         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83062         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83063         and <math_private.h>.
83064         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83065         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83066         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83067         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83068         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83069         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83070         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83072         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83073         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83075         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83076         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83077         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83078         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83079         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83080         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83081         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83082         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83083         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83084         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83085         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83086         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83087         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83088         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83089         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83090         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83091         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83092         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83093         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83094         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83095         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83096         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83097         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83098         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83099         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83100         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83101         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83102         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83103         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83104         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83105         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83106         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83107         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83108         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83109         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83110         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83111         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83112         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83113         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83114         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83115         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83116         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83117         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83118         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83119         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83120         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83121         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83122         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83123         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83124         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83125         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83126         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83127         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83128         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83129         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83130         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83131         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83132         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83133         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83134         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83135         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83136         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83137         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83138         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83139         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83140         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83142         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83143         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83144         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83145         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83146         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83147         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83148         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83149         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83150         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83151         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83152         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83153         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83154         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83155         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83156         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83157         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83158         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83159         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83160         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83161         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83162         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83163         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83164         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83165         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83166         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83167         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83168         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83169         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83170         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83171         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83172         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83173         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83174         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83175         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83176         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83177         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83178         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83179         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83180         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83181         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83182         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83183         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83184         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83185         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83186         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83187         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83188         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83189         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83190         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83191         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83192         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83193         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83194         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83195         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83196         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83197         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83198         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83199         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83200         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83201         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83202         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83203         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83204         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83205         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83206         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83207         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83208         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83209         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83210         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83211         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83212         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83213         * sysdeps/ieee754/k_standard.c: Likewise.
83214         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83215         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83216         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83217         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83218         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83219         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83220         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83221         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83222         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83223         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83224         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83225         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83226         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83227         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83228         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83229         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83230         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
83231         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83232         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83233         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
83234         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
83235         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
83236         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83237         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83238         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
83239         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
83240         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83241         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83242         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83243         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83244         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
83245         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83246         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83247         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83248         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
83249         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83250         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83251         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
83252         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
83253         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83254         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
83255         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83256         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
83257         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83258         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
83259         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
83260         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83261         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83262         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83263         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83264         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83265         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
83266         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83267         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
83268         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83269         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83270         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
83271         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
83272         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83273         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83274         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83275         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
83276         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83277         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83278         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83279         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83280         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83281         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83282         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83283         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83284         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83285         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83286         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83287         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83288         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83289         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83290         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
83291         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83292         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83293         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
83294         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
83295         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
83296         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83297         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83298         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
83299         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83300         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83301         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
83302         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
83303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83304         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
83305         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83306         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
83307         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
83308         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83309         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83310         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
83311         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
83312         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
83313         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
83314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83315         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83316         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83317         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83318         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
83319         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83321         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
83322         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
83323         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83324         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83325         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83326         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83327         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83328         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83329         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83330         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83331         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83332         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83333         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83334         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83335         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83336         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83337         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83338         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83339         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
83340         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83341         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83342         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83343         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83344         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83345         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83346         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83347         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
83348         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83349         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83350         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
83351         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
83352         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83353         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
83354         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
83355         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83356         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
83357         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
83358         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83359         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83360         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83361         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83362         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83363         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
83364         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83365         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83366         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83367         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83368         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
83369         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
83370         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83371         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83372         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83373         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
83374         * sysdeps/ieee754/s_lib_version.c: Likewise.
83375         * sysdeps/ieee754/s_matherr.c: Likewise.
83376         * sysdeps/ieee754/s_signgam.c: Likewise.
83377         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83378         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83379         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
83380         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
83381         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
83382         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
83383         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
83384         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
83385         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
83386         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
83387         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
83388         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
83389         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83390         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83391         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
83392         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
83393         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
83394         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
83395         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
83396         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83397         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83399 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83401         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
83402         * sunrpc/rpc_main.c: Likewise.
83403         * sunrpc/rpc_svcout.c: Likewise.
83405 2012-03-09  David S. Miller  <davem@davemloft.net>
83407         * include/math_private.h: New file.
83409 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83411         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
83412         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
83413         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
83414         from <bits/socket_type.h>.
83415         (enum __socket_type): Don't define here.
83416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
83417         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83418         bits/socket_type.h.
83420         [BZ #13566]
83421         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
83422         checking __USE_GNU.
83424         * Makerules ($(inst_includedir)/%.h): New rule.
83425         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
83426         (install-others): Remove variable setting.
83427         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
83429 2012-03-08  Richard Henderson  <rth@twiddle.net>
83431         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
83432         from macro to inline function; merge with the
83433         !__LIBC_INTERNAL_MATH_INLINES version.
83434         (__ieee754_sqrtf): Likewise.
83436         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
83437         to inline function.
83438         (__rintf, __floor, __floorf): Likewise.
83440         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
83441         macro to inline function.
83442         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
83444         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
83445         not <math/math_private.h>.
83447 2012-03-08  David S. Miller  <davem@davemloft.net>
83449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
83450         copyright year.
83451         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
83453 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
83455         * resolv/gai_misc.c (handle_requests): Fix struct timespec
83456         normalization.
83457         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
83458         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
83460 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
83462         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
83463         be defined individually, they must be defined as a block.  Define
83464         S for printing a string instead of hidint the different by using a
83465         macro for adding the 'l'.
83466         * stdio-common/tst-fphex-wide.c: Adjust.
83468 2012-03-07  Marek Polacek  <polacek@redhat.com>
83470         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
83472 2012-03-08  Marek Polacek  <polacek@redhat.com>
83474         [BZ #13806]
83475         * stdio-common/Makefile (tests): Add tst-fphex-wide.
83476         * stdio-common/tst-fphex.c: Define a few macros to make the
83477         test reusable.  Use them.
83478         * stdio-common/tst-fphex-wide.c: New file.
83480 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
83482         [BZ #6911]
83483         * manual/macros.texi (gnusystems): New macro.
83484         (nongnusystems): Likewise.
83485         (gnulinuxhurdsystems): Likewise.
83486         (gnuhurdsystems): Likewise..
83487         (gnulinuxsystems): Likewise.
83488         * manual/charset.texi: Use new macros or @theglibc{} to refer to
83489         variants of the GNU system, not "GNU system".
83490         * manual/conf.texi: Likewise.
83491         * manual/errno.texi: Likewise.  Update example of errno macro
83492         expansion.
83493         * manual/filesys.texi: Likewise.
83494         (getumask): Document as specific to GNU/Hurd.
83495         * manual/install.texi: Likewise.  Reword some references to
83496         GNU/Linux.
83497         * manual/intro.texi: Likewise.
83498         * manual/io.texi: Likewise.
83499         (File Name Portability): Detail which constraints are inapplicable
83500         to all GNU systems and which are only inapplicable to GNU/Hurd.
83501         * manual/job.texi: Likewise.
83502         * manual/llio.texi: Likewise.
83503         (O_NOCTTY): Document as present on GNU/Linux.
83504         * manual/maint.texi: Likewise.
83505         * manual/memory.texi: Likewise.
83506         * manual/pattern.texi: Likewise.
83507         * manual/pipe.texi: Likewise.
83508         * manual/process.texi: Likewise.
83509         * manual/resource.texi: Likewise.
83510         (RUSAGE_CHILDREN): Remove statement about specifying a particular
83511         child on GNU/Hurd.
83512         * manual/setjmp.texi: Likewise.
83513         * manual/signal.texi: Likewise.
83514         * manual/startup.texi: Likewise.
83515         * manual/stdio.texi: Likewise.
83516         * manual/terminal.texi: Likewise.
83517         (ONLCR): Document as POSIX.
83518         (OXTABS): Document availability on GNU/Linux as XTABS.
83519         (ONOEOT): Document availability separately from other bits.
83520         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
83521         * manual/time.texi: Likewise.
83522         * manual/users.texi: Likewise.
83523         * INSTALL: Regenerated.
83524         * sysdeps/gnu/errlist.c: Regenerated.
83526         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
83527         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
83528         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
83529         puts.
83530         * configure: Regenerated.
83532 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
83534         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
83535         default includes instead of AC_HEADER_CHECK.
83536         * sysdeps/i386/configure: Regenerated.
83538         [BZ #10716]
83539         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
83540         * math/s_cacoshf.c (__cacoshf): Likewise.
83541         * math/s_cacoshl.c (__cacoshl): Likewise.
83542         * math/s_casinh.c (__casinh): Set signs of result from argument.
83543         * math/s_casinhf.c (__casinhf): Likewise.
83544         * math/s_casinhl.c (__casinhl): Likewise.
83545         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
83546         (casinh_test): Add more tests.
83547         * sysdeps/i386/fpu/libm-test-ulps: Update.
83548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83550 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
83552         * po/zh_TW.po: Update from translation team.
83554         * login/Makefile (distribute): Remove variable.
83555         * catgets/Makefile: Likewise.
83556         * mach/Makefile: Likewise.
83557         * malloc/Makefile: Likewise.
83558         * misc/Makefile: Likewise.
83559         * iconv/Makefile: Likewise.
83560         * nscd/Makefile: Likewise.
83561         * hurd/Makefile: Likewise.
83562         * manual/Makefile: Likewise.
83563         * locale/Makefile: Likewise.
83564         * intl/Makefile: Likewise.
83565         * conform/Makefile: Likewise.
83566         * nss/Makefile: Likewise.
83567         * time/Makefile: Likewise.
83568         * soft-fp/Makefile: Likewise.
83569         * dirent/Makefile: Likewise.
83570         * gmon/Makefile: Likewise.
83571         * po/Makefile: Likewise.
83572         * rt/Makefile: Likewise.
83573         * socket/Makefile: Likewise.
83574         * math/Makefile: Likewise.
83575         * signal/Makefile: Likewise.
83576         * debug/Makefile: Likewise.
83577         * elf/Makefile: Likewise.
83578         * timezone/Makefile: Likewise.
83579         * stdlib/Makefile: Likewise.
83580         * iconvdata/Makefile: Likewise.
83581         * sunrpc/Makefile: Likewise.
83582         * io/Makefile: Likewise.
83583         * argp/Makefile: Likewise.
83584         * inet/Makefile: Likewise.
83585         * hesiod/Makefile: Likewise.
83586         * grp/Makefile: Likewise.
83587         * csu/Makefile: Likewise.
83588         * wctype/Makefile: Likewise.
83589         * crypt/Makefile: Likewise.
83590         * libio/Makefile: Likewise.
83591         * string/Makefile: Likewise.
83592         * nis/Makefile: Likewise.
83593         * resolv/Makefile: Likewise.
83594         * stdio-common/Makefile: Likewise.
83595         * wcsmbs/Makefile: Likewise.
83596         * dlfcn/Makefile: Likewise.
83597         * posix/Makefile: Likewise.
83599         [BZ #6959]
83600         * timezone/Makefile: Don't install timezone files, just the programs
83601         and scripts.
83603 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83605         * nss/databases.def: Add missing gshadow entry.
83607         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83609 2012-03-06  Marek Polacek  <polacek@redhat.com>
83611         [BZ #13726]
83612         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83613         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83614         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83615         * stdio-common/tst-long-dbl-fphex.c: New file.
83617 2012-03-06  David S. Miller  <davem@davemloft.net>
83619         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83620         (set_obp_int): New function.
83621         (get_obp_int): New function.
83622         (__get_clockfreq_via_dev_openprom): Likewise.
83623         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
83624         Avoid unused variable warnings on 'val' and use builtin_expect.
83625         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
83626         __builtin_expect.
83627         (INLINE_CLONE_SYSCALL): Likewise.
83629 2012-03-05  David S. Miller  <davem@davemloft.net>
83631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83633 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
83635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83637         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
83638         only for |x| >= 40.
83639         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83641 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
83643         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
83644         Replace gettimeofday with __vdso_gettimeofday.
83646         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83647         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
83648         __vdso_clock_gettime and __vdso_getcpu.
83650         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
83651         time with __vdso_time.
83653 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83655         * manual/lang.texi (size_t): Note types to which size_t may be
83656         equivalent with the GNU C Library, but do not describe when
83657         differences between them are significant.
83659 2012-03-05  Andreas Jaeger  <aj@suse.de>
83661         * sysdeps/i386/fpu/libm-test-ulps: Update.
83663 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83665         [BZ #3976]
83666         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
83667         (__ieee754_pow): Save and restore rounding mode and use
83668         round-to-nearest for main computations.
83669         * math/libm-test.inc (pow_test_tonearest): New function.
83670         (pow_test_towardzero): Likewise.
83671         (pow_test_downward): Likewise.
83672         (pow_test_upward): Likewise.
83673         (main): Call the new functions.
83674         * sysdeps/i386/fpu/libm-test-ulps: Update.
83675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83677         [BZ #3976]
83678         * math/libm-test.inc (cosh_test_tonearest): New function.
83679         (cosh_test_towardzero): Likewise.
83680         (cosh_test_downward): Likewise.
83681         (cosh_test_upward): Likewise.
83682         (sinh_test_tonearest): Likewise.
83683         (sinh_test_towardzero): Likewise.
83684         (sinh_test_downward): Likewise.
83685         (sinh_test_upward): Likewise.
83686         (main): Call the new functions.
83687         * sysdeps/i386/fpu/libm-test-ulps: Update.
83688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83690 2012-03-05  Tom de Vries  <tom@codesourcery.com>
83692         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
83693         default stack guard is set in last bytes.
83694         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
83696 2012-03-05  Kees Cook  <keescook@chromium.org>
83698         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
83700         [BZ #13656]
83701         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
83702         possibly allocate from heap instead of stack.
83703         * stdio-common/bug-vfprintf-nargs.c: New file.
83704         * stdio-common/Makefile (tests): Add nargs overflow test.
83706 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
83708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83710 2012-03-03  Marek Polacek  <polacek@redhat.com>
83712         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
83713         * math/math_private.h: Likewise.
83714         * stdlib/tst-strtod.c: Likewise.
83715         * sysdeps/i386/i486/bits/atomic.h: Likewise.
83716         * sysdeps/x86_64/bits/atomic.h: Likewise.
83718 2012-03-02  David S. Miller  <davem@davemloft.net>
83720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
83721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
83722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
83724         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
83725         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
83726         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
83727         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
83729 2012-03-02  Roland McGrath  <roland@hack.frob.com>
83731         [BZ #13792]
83732         * manual/examples/README: New file, says the example source files
83733         can be used under GPL>=2.
83734         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83735         line containing just "*/".
83736         * manual/examples/add.c: Add copyright header (GPL>=2).
83737         * manual/examples/argp-ex1.c: Likewise.
83738         * manual/examples/argp-ex2.c: Likewise.
83739         * manual/examples/argp-ex3.c: Likewise.
83740         * manual/examples/argp-ex4.c: Likewise.
83741         * manual/examples/atexit.c: Likewise.
83742         * manual/examples/db.c: Likewise.
83743         * manual/examples/dir.c: Likewise.
83744         * manual/examples/dir2.c: Likewise.
83745         * manual/examples/execinfo.c: Likewise.
83746         * manual/examples/filecli.c: Likewise.
83747         * manual/examples/filesrv.c: Likewise.
83748         * manual/examples/fmtmsgexpl.c: Likewise.
83749         * manual/examples/genpass.c: Likewise.
83750         * manual/examples/inetcli.c: Likewise.
83751         * manual/examples/inetsrv.c: Likewise.
83752         * manual/examples/isockad.c: Likewise.
83753         * manual/examples/longopt.c: Likewise.
83754         * manual/examples/memopen.c: Likewise.
83755         * manual/examples/memstrm.c: Likewise.
83756         * manual/examples/mkfsock.c: Likewise.
83757         * manual/examples/mkisock.c: Likewise.
83758         * manual/examples/mygetpass.c: Likewise.
83759         * manual/examples/pipe.c: Likewise.
83760         * manual/examples/popen.c: Likewise.
83761         * manual/examples/rprintf.c: Likewise.
83762         * manual/examples/search.c: Likewise.
83763         * manual/examples/select.c: Likewise.
83764         * manual/examples/setjmp.c: Likewise.
83765         * manual/examples/sigh1.c: Likewise.
83766         * manual/examples/sigusr.c: Likewise.
83767         * manual/examples/stpcpy.c: Likewise.
83768         * manual/examples/strdupa.c: Likewise.
83769         * manual/examples/strftim.c: Likewise.
83770         * manual/examples/strncat.c: Likewise.
83771         * manual/examples/subopt.c: Likewise.
83772         * manual/examples/swapcontext.c: Likewise.
83773         * manual/examples/termios.c: Likewise.
83774         * manual/examples/testopt.c: Likewise.
83775         * manual/examples/testpass.c: Likewise.
83776         * manual/examples/timeval_subtract.c: Likewise.
83778         [BZ #13792]
83779         * manual/time.texi (Elapsed Time): Move timeval_subtract example
83780         function to ...
83781         * manual/timeval_subtract.c.texi: ... here, new file.
83783 2012-03-02  David S. Miller  <davem@davemloft.net>
83785         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
83787 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
83789         [BZ #3976]
83790         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
83791         (__sin): Save and restore rounding mode and use round-to-nearest
83792         for all computations.
83793         (__cos): Save and restore rounding mode and use round-to-nearest
83794         for all computations.
83795         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
83796         <fenv.h>.
83797         (tan): Save and restore rounding mode and use round-to-nearest for
83798         all computations.
83799         * math/libm-test.inc (cos_test_tonearest): New function.
83800         (cos_test_towardzero): Likewise.
83801         (cos_test_downward): Likewise.
83802         (cos_test_upward): Likewise.
83803         (sin_test_tonearest): Likewise.
83804         (sin_test_towardzero): Likewise.
83805         (sin_test_downward): Likewise.
83806         (sin_test_upward): Likewise.
83807         (tan_test_tonearest): Likewise.
83808         (tan_test_towardzero): Likewise.
83809         (tan_test_downward): Likewise.
83810         (tan_test_upward): Likewise.
83811         (main): Call the new functions.
83812         * sysdeps/i386/fpu/libm-test-ulps: Update.
83813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83815         [BZ #10135]
83816         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
83817         small n, then large n, before computing and testing k+n.
83818         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
83819         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
83820         Likewise.
83821         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
83822         Likewise.
83823         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
83824         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
83825         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
83826         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
83827         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
83828         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
83829         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
83830         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
83831         * math/libm-test.inc (scalbn_test): Add more tests.
83832         (scalbln_test): Likewise.
83834         * manual/filesys.texi (mode_t): Describe constraints on size and
83835         signedness, not exact equivalence to a particular type.
83836         (ino_t): Likewise.
83837         (ino64_t): Likewise.
83838         (dev_t): Likewise.
83839         (nlink_t): Likewise.
83840         (blkcnt_t): Likewise.
83841         (blkcnt64_t): Likewise.
83842         * manual/llio.texi (off_t): Likewise.
83844         [BZ #3976]
83845         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
83846         (__ieee754_exp): Save and restore rounding mode and use
83847         round-to-nearest for all computations.
83848         * math/libm-test.inc (exp_test_tonearest): New function.
83849         (exp_test_towardzero): Likewise.
83850         (exp_test_downward): Likewise.
83851         (exp_test_upward): Likewise.
83852         (main): Call the new functions.
83853         * sysdeps/i386/fpu/libm-test-ulps: Update.
83854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83856 2012-03-01  Chris Demetriou  <cgd@google.com>
83858         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
83859         have predictable order.
83861 2012-03-01  David S. Miller  <davem@davemloft.net>
83863         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
83865         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
83866         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
83867         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
83868         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
83870         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
83871         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
83872         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
83873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
83874         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
83875         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
83876         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
83877         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
83878         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
83880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83882         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
83883         * sysdeps/sparc/fpu/libm-test-ulps: to here.
83884         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
83886         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
83887         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83888         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83889         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
83890         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
83891         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
83892         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
83893         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83894         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83895         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
83896         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
83897         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83899         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83900         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83902         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
83903         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
83904         * sysdeps/sparc/elf/configure: Regenerated.
83906 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
83908         * configure.in (AS, LD): Require binutils 2.20 or later.
83909         * configure: Regenerated.
83910         * manual/install.texi (Tools for Compilation): Give binutils 2.20
83911         as required minimum version.
83912         * INSTALL: Regenerated.
83914         [BZ #2541]
83915         [BZ #4108]
83916         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
83917         before squaring exponent.
83918         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
83919         bottom long double and 27 bits of top long double before squaring
83920         exponent.
83921         * math/libm-test.inc (erfc_test): Add more tests.
83922         * sysdeps/i386/fpu/libm-test-ulps: Update.
83923         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83926 2012-03-01  Kai Tietz  <ktietz@redhat.com>
83928         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
83929         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
83930         containing bit-fields.
83931         * soft-fp/extended.h (_FP_UNION_E): Likewise.
83932         * soft-fp/single.h (_FP_UNION_S): Likewise.
83933         * soft-fp/double.h (_FP_UNION_D): Likewise.
83935 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83937         [BZ #13786]
83938         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
83939         not include ../strcmp.S.
83940         [USE_AS_STRNCASECMP_L]: Likewise.
83941         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
83942         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
83943         * sysdeps/i386/i686/multiarch/strncase_l-c.c
83944         (__strncasecmp_l_ia32): Define as alias to
83945         __strncasecmp_l_nonascii.
83947         [BZ #5794]
83948         * math/libm-test.inc (expm1_test): Add test for bug 5794.
83949         * sysdeps/i386/fpu/libm-test-ulps: Update.
83950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83952         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
83953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83955 2012-02-29  Jeff Law  <law@redhat.com>
83957         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
83958         out of bounds read.
83960 2012-02-29  Marek Polacek  <polacek@redhat.com>
83962         [BZ #13706]
83963         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
83964         * elf/Makefile: Add rules to run tst-unused-dep.out.
83966 2012-02-28  David S. Miller  <davem@davemloft.net>
83968         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
83969         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
83970         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
83971         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
83972         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
83973         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
83975 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83977         * math/libm-test.inc (llround_test): Move one test from
83978         lround_test.  Use TEST_f_L in moved test.
83979         (lround_test): Move misplaced test to llround_test.  Add testcase
83980         from bug 2561.
83982 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
83984         * sysdeps/x86_64/fpu/e_expf.S: New file.
83985         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
83987 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
83989         [BZ #13637]
83990         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
83991         of remain_len that may cause incomplete multi-byte character and
83992         false match.
83993         * posix/bug-regex33.c: New file.
83994         * posix/Makefile (tests): Add bug-regex33.
83996 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
83998         * manual/macros.texi: New file.
83999         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84000         * manual/libc.texinfo: Include macros.texi.
84001         * manual/creatute.texi: Likewise.
84002         * manual/install.texi: Likewise.
84003         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84004         @glibcadj{} in references to the GNU C Library.
84005         * manual/charset.texi: Likewise.
84006         * manual/conf.texi: Likewise.
84007         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84008         when not using those macros.
84009         * manual/creature.texi: Likewise.
84010         * manual/crypt.texi: Likewise.
84011         * manual/errno.texi: Likewise.
84012         * manual/filesys.texi: Likewise.
84013         * manual/header.texi: Likewise.
84014         * manual/install.texi: Likewise.
84015         * manual/intro.texi: Likewise.
84016         * manual/io.texi: Likewise.
84017         * manual/job.texi: Likewise.
84018         * manual/lang.texi: Likewise.
84019         * manual/libc.texiinfo: Likewise.
84020         * manual/llio.texi: Likewise.
84021         * manual/locale.texi: Likewise.
84022         * manual/maint.texi: Likewise.
84023         * manual/math.texi: Likewise.
84024         * manual/memory.texi: Likewise.
84025         * manual/message.texi: Likewise.
84026         * manual/nss.texi: Likewise.
84027         * manual/pattern.texi: Likewise.
84028         * manual/process.texi: Likewise.
84029         * manual/resource.texi: Likewise.
84030         * manual/search.texi: Likewise.
84031         * manual/setjmp.texi: Likewise.
84032         * manual/signal.texi: Likewise.
84033         * manual/socket.texi: Likewise.
84034         * manual/startup.texi: Likewise.
84035         * manual/stdio.texi: Likewise.
84036         * manual/string.texi: Likewise.
84037         * manual/sysinfo.texi: Likewise.
84038         * manual/syslog.texi: Likewise.
84039         * manual/terminal.texi: Likewise.
84040         * manual/time.texi: Likewise.
84041         * manual/users.texi: Likewise.
84042         * INSTALL: Regenerated.
84043         * NOTES: Regenerated.
84044         * sysdeps/gnu/errlist.c: Regenerated.
84046 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84048         * include/dirent.h: Include <dirstream.h> before
84049         <dirent/dirent.h>.
84051 2012-02-28  David S. Miller  <davem@davemloft.net>
84053         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84054         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84055         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84056         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84058 2012-02-27  David S. Miller  <davem@davemloft.net>
84060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84062         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84063         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84066         frame pointer instead of stack pointer relative arg slot.
84067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84068         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84069         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84071 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84073         [BZ #3992]
84074         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84076 2012-02-27  David S. Miller  <davem@davemloft.net>
84078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84082         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84083         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84084         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84085         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84087 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84089         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84090         later.  Allow versions 5-9.
84091         * configure: Regenerated.
84092         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84093         required minimum version and 4.6 as recommended version.  Do not
84094         mention bugs in GCC 2.7 and 2.8.
84095         * INSTALL: Regenerated.
84097 2012-02-27  David S. Miller  <davem@davemloft.net>
84099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84103         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84104         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84105         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84106         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84108         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84109         manipulate bits before adding and subtracting TWO112[sx].
84110         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84112 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84114         [BZ #13775]
84115         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84116         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84117         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84118         being in POSIX, because they are in 1003.1-2008.
84120         * rt/tst-aio.c: Include <fcntl.h>.
84121         * rt/tst-aio7.c: Likewise.
84122         * rt/tst-aio64.c: Likewise.
84124         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84126 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84128         * manual/install.texi (--with-headers): Describe headers as
84129         interface headers, not private headers.
84130         (Specific advice for GNU/Linux systems): Describe use of headers
84131         from "make headers_install", not private headers from older
84132         kernels.
84133         * INSTALL: Regenerated.
84134         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84135         Change to 2.6.19.
84136         * sysdeps/unix/sysv/linux/configure: Regenerated.
84138         * manual/llio.texi (fclean): Remove documentation.
84140         * manual/Makefile (libc-texi-generated): New variable.  Include
84141         version.texi.
84142         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84143         $(libc-texi-generated), not duplicated list of files.
84144         (version.texi, stamp-version): New rules.
84145         (realclean): Remove $(libc-texi-generated), not individual files
84146         from that list.  Do not remove dir-add.texinfo.
84147         * manual/libc.texinfo: Comment out uses of edition numbers and
84148         references to printed manual.  Remove last-updated dates.
84149         (EDITION): Comment out.
84150         (ISBN): Likewise.
84151         (VERSION, UPDATED): Remove.
84152         (version.texi): Include.
84154 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
84156         * sysdeps/posix/spawni.c: Include <signal.h>.
84157         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84158         * sysdeps/pthread/aio_fsync.c: Likewise.
84160 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
84162         * conform/Makefile (tests): Run only when not cross-compiling and
84163         when fast-check is not defined.
84165         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84166         * conform/data/limits.h-data: Fixes for POSIX2008.
84167         * conform/run-conformtest.sh: Run all tests.
84168         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84169         headers.
84170         * include/bits/dlfcn.h: Likewise.
84171         * include/langinfo.h: Likewise.
84172         * include/monetary.h: Likewise.
84173         * include/sys/poll.h: Likewise.
84175         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84176         for __USE_GNU.
84177         * posix/spawn.h: Define __need_sigset_t.
84178         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84179         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84180         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
84181         to get sigevent_t only.
84182         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84183         only for __USE_GNU.
84184         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84185         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84186         process_vm_writev only for __USE_GNU.
84187         * termios/termios.h: Declare tcgetsid also for POSIX2008.
84189         * conform/Makefile: For now ignore errors from run-conformtest.
84190         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
84191         POSIX to avoid namespace pollution.  Don't prepend headers.
84192         * conform/data/aio.h-data: Fixes for POSIX testing.
84193         * conform/data/fcntl.h-data: Likewise.
84194         * conform/data/glob.h-data: Likewise.
84195         * conform/data/grp.h-data: Likewise.
84196         * conform/data/pthread.h-data: Likewise.
84197         * conform/data/pwd.h-data: Likewise.
84198         * conform/data/signal.h-data: Likewise.
84199         * conform/data/spawn.h-data: Likewise.
84200         * conform/data/stdio.h-data: Likewise.
84201         * conform/data/stdlib.h-data: Likewise.
84202         * conform/data/stropts.h-data: Likewise.
84203         * conform/data/sys/mman.h-data: Likewise.
84204         * conform/data/sys/stat.h-data: Likewise.
84205         * conform/data/sys/types.h-data: Likewise.
84206         * conform/data/sys/wait.h-data: Likewise.
84207         * conform/data/time.h-data: Likewise.
84208         * conform/data/unistd.h-data: Likewise.
84209         * conform/data/utime.h-data: Likewise.
84211         * io/sys/stat.h: fchmod was always in POSIX.
84212         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84213         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84214         * rt/aio.h: Define __need_timespec before including <time.h>.
84215         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84216         struct.  Add forward declaration of pthread_attr_t and use it in
84217         sigevent.
84218         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84219         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84220         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84221         always remove CLK_TCK definition.
84223 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
84225         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84227 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
84229         * conform/run-conformtest.sh: New file.
84230         * conform/Makefile: Run run-conformtest for tests.
84231         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
84232         support.
84234         * conform/data/uchar.h-data: New file.
84235         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
84236         * conform/data/arpa/inet.h-data: Likewise.
84237         * conform/data/assert.h-data: Likewise.
84238         * conform/data/complex.h-data: Likewise.
84239         * conform/data/cpio.h-data: Likewise.
84240         * conform/data/ctype.h-data: Likewise.
84241         * conform/data/dirent.h-data: Likewise.
84242         * conform/data/dlfcn.h-data: Likewise.
84243         * conform/data/errno.h-data: Likewise.
84244         * conform/data/fcntl.h-data: Likewise.
84245         * conform/data/float.h-data: Likewise.
84246         * conform/data/fmtmsg.h-data: Likewise.
84247         * conform/data/fnmatch.h-data: Likewise.
84248         * conform/data/ftw.h-data: Likewise.
84249         * conform/data/glob.h-data: Likewise.
84250         * conform/data/grp.h-data: Likewise.
84251         * conform/data/iconv.h-data: Likewise.
84252         * conform/data/inttypes.h-data: Likewise.
84253         * conform/data/langinfo.h-data: Likewise.
84254         * conform/data/libgen.h-data: Likewise.
84255         * conform/data/limits.h-data: Likewise.
84256         * conform/data/locale.h-data: Likewise.
84257         * conform/data/math.h-data: Likewise.
84258         * conform/data/monetary.h-data: Likewise.
84259         * conform/data/mqueue.h-data: Likewise.
84260         * conform/data/ndbm.h-data: Likewise.
84261         * conform/data/net/if.h-data: Likewise.
84262         * conform/data/netdb.h-data: Likewise.
84263         * conform/data/netinet/in.h-data: Likewise.
84264         * conform/data/nl_types.h-data: Likewise.
84265         * conform/data/poll.h-data: Likewise.
84266         * conform/data/pthread.h-data: Likewise.
84267         * conform/data/pwd.h-data: Likewise.
84268         * conform/data/regex.h-data: Likewise.
84269         * conform/data/sched.h-data: Likewise.
84270         * conform/data/search.h-data: Likewise.
84271         * conform/data/semaphore.h-data: Likewise.
84272         * conform/data/setjmp.h-data: Likewise.
84273         * conform/data/signal.h-data: Likewise.
84274         * conform/data/spawn.h-data: Likewise.
84275         * conform/data/stdarg.h-data: Likewise.
84276         * conform/data/stdio.h-data: Likewise.
84277         * conform/data/stdlib.h-data: Likewise.
84278         * conform/data/string.h-data: Likewise.
84279         * conform/data/strings.h-data: Likewise.
84280         * conform/data/stropts.h-data: Likewise.
84281         * conform/data/sys/ipc.h-data: Likewise.
84282         * conform/data/sys/mman.h-data: Likewise.
84283         * conform/data/sys/msg.h-data: Likewise.
84284         * conform/data/sys/resource.h-data: Likewise.
84285         * conform/data/sys/select.h-data: Likewise.
84286         * conform/data/sys/sem.h-data: Likewise.
84287         * conform/data/sys/shm.h-data: Likewise.
84288         * conform/data/sys/socket.h-data: Likewise.
84289         * conform/data/sys/stat.h-data: Likewise.
84290         * conform/data/sys/statvfs.h-data: Likewise.
84291         * conform/data/sys/time.h-data: Likewise.
84292         * conform/data/sys/timeb.h-data: Likewise.
84293         * conform/data/sys/times.h-data: Likewise.
84294         * conform/data/sys/types.h-data: Likewise.
84295         * conform/data/sys/uio.h-data: Likewise.
84296         * conform/data/sys/un.h-data: Likewise.
84297         * conform/data/sys/utsname.h-data: Likewise.
84298         * conform/data/sys/wait.h-data: Likewise.
84299         * conform/data/syslog.h-data: Likewise.
84300         * conform/data/tar.h-data: Likewise.
84301         * conform/data/termios.h-data: Likewise.
84302         * conform/data/utime.h-data: Likewise.
84303         * conform/data/utmpx.h-data: Likewise.
84304         * conform/data/varargs.h-data: Likewise.
84305         * conform/data/wchar.h-data: Likewise.
84306         * conform/data/wctype.h-data: Likewise.
84307         * conform/data/wordexp.h-data: Likewise.
84309         * include/stropts.h: New file.
84310         * include/uchar.h: New file.
84311         * include/aio.h: Changes to allow conformtest.pl to use the headers.
84312         * include/assert.h: Likewise.
84313         * include/ctype.h: Likewise.
84314         * include/dirent.h: Likewise.
84315         * include/dlfcn.h: Likewise.
84316         * include/fcntl.h: Likewise.
84317         * include/fnmatch.h: Likewise.
84318         * include/glob.h: Likewise.
84319         * include/grp.h: Likewise.
84320         * include/libio.h: Likewise.
84321         * include/locale.h: Likewise.
84322         * include/math.h: Likewise.
84323         * include/net/if.h: Likewise.
84324         * include/netdb.h: Likewise.
84325         * include/netinet/in.h: Likewise.
84326         * include/pthread.h: Likewise.
84327         * include/pwd.h: Likewise.
84328         * include/regex.h: Likewise.
84329         * include/sched.h: Likewise.
84330         * include/search.h: Likewise.
84331         * include/setjmp.h: Likewise.
84332         * include/signal.h: Likewise.
84333         * include/stdio.h: Likewise.
84334         * include/stdlib.h: Likewise.
84335         * include/string.h: Likewise.
84336         * include/sys/cdefs.h: Likewise.
84337         * include/sys/mman.h: Likewise.
84338         * include/sys/msg.h: Likewise.
84339         * include/sys/resource.h: Likewise.
84340         * include/sys/select.h: Likewise.
84341         * include/sys/socket.h: Likewise.
84342         * include/sys/stat.h: Likewise.
84343         * include/sys/statvfs.h: Likewise.
84344         * include/sys/time.h: Likewise.
84345         * include/sys/times.h: Likewise.
84346         * include/sys/uio.h: Likewise.
84347         * include/sys/utsname.h: Likewise.
84348         * include/sys/wait.h: Likewise.
84349         * include/termios.h: Likewise.
84350         * include/time.h: Likewise.
84351         * include/ulimit.h: Likewise.
84352         * include/unistd.h: Likewise.
84353         * include/utime.h: Likewise.
84354         * include/wchar.h: Likewise.
84355         * include/wctype.h: Likewise.
84356         * include/wordexp.h: Likewise.
84358         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
84360         * time/time.h: TIME_UTC must be a macro.
84361         Make timespec_get available for ISO C11 only as well.
84363 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
84365         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
84366         Reported by Peng Haitao <penght@cn.fujitsu.com>.
84368 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84370         * configure.in: Use -o not -a in test for unsupported multi-arch.
84372 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84374         * manual/texinfo.tex: Update to version 2012-01-19.16.
84376 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84378         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
84380 2012-02-24  Roland McGrath  <roland@hack.frob.com>
84382         [BZ #13738]
84383         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
84384         * manual/fdl-1.3.texi: New file.
84385         * manual/fdl-1.1.texi: File removed.
84387         [BZ #13738]
84388         * manual/libc.texinfo (FDL_VERSION): New @set.
84389         Use it for mention of FDL in cover text.
84390         (Documentation License): Use it in @include file name.
84392 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84393             Roland McGrath  <roland@hack.frob.com>
84395         [BZ #5461]
84396         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
84397         (not LONG_LONG_MAX and LONG_LONG_MIN.
84398         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
84399         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
84400         name.
84401         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
84403 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84405         [BZ #2547]
84406         [BZ #11365]
84407         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
84408         manipulate bits before adding and subtracting TWO23[sx].
84409         * math/libm-test.inc (nearbyint_test): Add more tests.
84411 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84413         [BZ #2548]
84414         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
84415         bits before adding and subtracting TWO23[sx].
84416         * math/libm-test.inc (rint_test): Add more tests.
84417         (rint_test_tonearest): Likewise.
84418         (rint_test_towardzero): Likewise.
84419         (rint_test_downward): Likewise.
84420         (rint_test_upward: Likewise.
84422 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84424         [BZ #10110]
84425         * include/stdc-predef.h: New file.  Extracted from features.h.
84426         * include/features.h: Include stdc-predef.h.
84427         * Makefile (headers): Add stdc-predef.h.
84428         * CONFORMANCE (Compiler limitations): Update.
84430 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84432         * manual/libc.texinfo (VERSION, UPDATED): Revert.
84434 2012-02-21  David S. Miller  <davem@davemloft.net>
84436         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
84437         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84439 2012-02-20  David S. Miller  <davem@davemloft.net>
84441         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
84442         using a normal save/restore sequence, rather than allocating a
84443         dummy stack frame just to store a frame pointer and restore.
84444         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84446 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84448         * manual/install.texi: Fix stray word in line-wrapped comment.
84450 2012-02-20  David S. Miller  <davem@davemloft.net>
84452         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
84453         both binutils and gcc support GOTDATA.
84455         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
84456         "rd %pc" in the PIC register setup sequences.
84458         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
84459         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
84460         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84461         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
84462         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84464         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84465         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
84467         (SYSCALL_ERROR_HANDLER): Likewise.
84468         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84469         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
84471         (SYSCALL_ERROR_HANDLER): Likewise.
84473         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
84474         (HAVE_GCC_GOTDATA): New.
84475         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
84476         relocation support in both binutils and gcc.
84477         * sysdeps/sparc/elf/configure: Regenerate.
84479         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
84480         * sysdeps/sparc/sparc32/elf/configure: Delete.
84481         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
84482         * sysdeps/sparc/sparc64/elf/configure: Delete.
84483         * sysdeps/sparc/elf/configure.in: New file.
84484         * sysdeps/sparc/elf/configure: Generate.
84486         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
84487         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
84488         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84489         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
84490         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
84492 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84494         * manual/install.texi: Do not mention specific glibc version
84495         numbers.
84496         * manual/libc.texinfo (VERSION, UPDATED): Update.
84497         (@copying): Use @copyright{} and range of years.
84499 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84501         [BZ #13695]
84502         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
84503         [crti.S not in sysdirs] (generated): Do not append.
84504         [crti.S not in sysdirs] (omit-deps): Likewise.
84505         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
84506         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
84507         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
84508         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
84509         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
84510         Likewise.
84511         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
84512         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
84513         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
84514         * csu/defs.awk: Remove file.
84515         * sysdeps/generic/initfini.c: Likewise.
84516         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
84517         variable.
84518         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
84519         Likewise.
84521 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84523         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
84524         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
84525         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
84526         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
84527         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84528         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
84529         <bits/epoll.h>.
84530         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
84531         (__EPOLL_PACKED): Define to empty if not defined by
84532         <bits/epoll.h>.
84533         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
84534         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84535         bits/epoll.h.
84537 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84539         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
84540         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
84541         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
84542         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
84543         <bits/timerfd.h>.
84544         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
84545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84546         bits/timerfd.h.
84548 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84550         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
84551         in C locale.
84552         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84553         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
84554         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
84555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84557 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
84559         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84560         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84562 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
84564         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84565         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84566         defined.
84567         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84568         Likewise.
84569         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84570         entry for 2.16.
84572 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84574         * math/w_acos.c: Use non-signaling floating-point comparisons.
84575         * math/w_acosf.c: Likewise.
84576         * math/w_acosh.c: Likewise.
84577         * math/w_acoshf.c: Likewise.
84578         * math/w_acoshl.c: Likewise.
84579         * math/w_acosl.c: Likewise.
84580         * math/w_asin.c: Likewise.
84581         * math/w_asinf.c: Likewise.
84582         * math/w_asinl.c: Likewise.
84583         * math/w_atanh.c: Likewise.
84584         * math/w_atanhf.c: Likewise.
84585         * math/w_atanhl.c: Likewise.
84586         * math/w_exp2.c: Likewise.
84587         * math/w_exp2f.c: Likewise.
84588         * math/w_exp2l.c: Likewise.
84589         * math/w_j0.c: Likewise.
84590         * math/w_j0f.c: Likewise.
84591         * math/w_j0l.c: Likewise.
84592         * math/w_j1.c: Likewise.
84593         * math/w_j1f.c: Likewise.
84594         * math/w_j1l.c: Likewise.
84595         * math/w_jn.c: Likewise.
84596         * math/w_jnf.c: Likewise.
84597         * math/w_log.c: Likewise.
84598         * math/w_log10.c: Likewise.
84599         * math/w_log10f.c: Likewise.
84600         * math/w_log10l.c: Likewise.
84601         * math/w_log2.c: Likewise.
84602         * math/w_log2f.c: Likewise.
84603         * math/w_log2l.c: Likewise.
84604         * math/w_logf.c: Likewise.
84605         * math/w_logl.c: Likewise.
84606         * math/w_sqrt.c: Likewise.
84607         * math/w_sqrtf.c: Likewise.
84608         * math/w_sqrtl.c: Likewise.
84609         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84610         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84611         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84612         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84613         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84615 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84617         [BZ #9739]
84618         * manual/string.texi (strnlen): Use correct parameter name in
84619         equivalent expression.
84621 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84623         [BZ #11174]
84624         * manual/users.texi (seteuid): Consistently use neweuid for
84625         argument name.
84627 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84629         [BZ #13704]
84630         * manual/nss.texi (Services in the NSS configuration): Correct
84631         list of services in example configuration file.
84633 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
84635         [BZ #11322]
84636         * manual/arith.texi: Remove statements about negative zero
84637         behaving identically to zero.
84639 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84641         [BZ #5993]
84642         * manual/install.texi: Do not document upgrading from libc5.
84644 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84646         [BZ #4596]
84647         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
84649 2012-02-18  David S. Miller  <davem@davemloft.net>
84651         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
84652         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
84653         %o7 across the call.
84654         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
84655         instead.
84656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
84657         SETUP_PIC_REG_LEAF.
84658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84659         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
84660         * sysdeps/sparc/crtn.S: Likewise.
84662 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
84664         * aout/Makefile: Remove.
84666 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
84668         [BZ #13058]
84669         * manual/examples/argp-ex1.c (main): Format definition in GNU
84670         style.
84671         * manual/examples/argp-ex2.c (main): Likewise.
84672         * manual/examples/argp-ex3.c (main): Likewise.
84673         * manual/examples/argp-ex4.c (main): Likewise.
84674         * manual/examples/longopt.c (main): Use new-style prototype
84675         definition.
84676         * manual/examples/strncat.c (main): Specify return type and use
84677         (void) for arguments.
84678         * manual/examples/subopt.c (main): Use char **argv argument.
84680 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84682         [BZ #5077]
84683         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
84684         rounding modes.
84686 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
84688         [BZ #6907]
84689         * manual/string.texi (strchr): Change when strchrnul is
84690         recommended.
84692 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
84694         [BZ #174]
84695         * manual/locale.texi (setlocale): Document LOCPATH.
84697 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84699         [BZ #10210]
84700         * manual/process.texi (execle): Move @dots{} before last argument.
84702 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
84704         [BZ #12047]
84705         * manual/charset.texi (Generic Charset Conversion): Fix typo
84706         (LC_TYPE -> LC_CTYPE).
84708 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
84710         [BZ #5805]
84711         * manual/arith.texi (scalbn): Use @var{} on parameter names.
84712         (scalbnf): Likewise.
84713         (scalbnl): Likewise.
84714         (scalbln): Likewise.
84715         (scalblnf): Likewise.
84716         (scalblnl): Likewise.
84717         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
84718         (vwarnx): Likewise.
84719         (verr): Likewise.
84720         (verrx): Likewise.
84721         * manual/filesys.texi (telldir): Use braces around return type.
84722         * manual/llio.texi (mmap): Add space after comma.
84723         (mmap64): Likewise.
84724         * manual/math.texi (jn): Use @var{} on parameter names.
84725         (jnf): Likewise.
84726         (jnl): Likewise.
84727         (yn): Likewise.
84728         (ynf): Likewise.
84729         (ynl): Likewise.
84730         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
84731         line.
84732         * manual/resource.texi (ulimit): Use @dots{} instead of literal
84733         "...".
84734         (sched_get_priority_min): Remove semicolon on @deftypefun line.
84735         (sched_get_priority_max): Likewise.
84736         * manual/signal.texi (sigvec): Add space after comma.
84737         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
84738         names.
84739         (if_indextoname): Likewise.
84740         (if_freenameindex): Likewise.
84741         (sendto): Use ',' instead of '.' in prototype.
84742         * manual/startup.texi (syscall): Use @dots{} instead of literal
84743         "...".
84744         * manual/stdio.texi (__fpending): Separate initial words of
84745         paragraph from @deftypefun line.
84746         * manual/syslog.texi (syslog): Use @dots{} instead of literal
84747         "...".
84748         (vsyslog): Use @var{} on parameter names.
84749         * manual/terminal.texi (stty): Use @var{} on parameter names.
84750         * manual/users.texi (getutmp): Use @var{} on parameter names.
84751         (getutmpx): Likewise.
84753 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84755         [BZ #6884]
84756         * manual/stdio.texi (fopen): Fix typos in description of
84757         ",ccs=STRING".
84759 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
84761         [BZ #4026]
84762         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
84763         get clock_id definition.
84765 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
84767         [BZ #4822]
84768         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
84769         (madvise): Cast every argument to void on its own.
84771 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84773         [BZ #9902]
84774         * manual/startup.texi (Exit Status): Fix typo.
84776 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84778         [BZ #10140]
84779         * manual/examples/argp-ex1.c: Include <stdlib.h>.
84780         * manual/examples/argp-ex2.c: Likewise.
84781         * manual/examples/argp-ex3.c: Likewise.
84783 2012-02-16  Richard Henderson  <rth@redhat.com>
84785         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
84786         * sysdeps/s390/s390-32/initfini.c: Remove.
84787         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
84788         * sysdeps/s390/s390-64/initfini.c: Remove.
84790 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
84792         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
84793         compiler output for sysdeps/generic/initfini.c.
84794         * sysdeps/sh/elf/initfini.c: Remove file.
84796 2012-02-16  David S. Miller  <davem@davemloft.net>
84798         [BZ #11494]
84799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
84801         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
84802         * sysdeps/sparc/crti.S: New file.
84803         * sysdeps/sparc/crtn.S: New file.
84804         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
84805         * sysdeps/sparc/sparc64/Makefile: Likewise.
84807 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
84809         [BZ #3335]
84810         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
84812 2012-02-15  Roland McGrath  <roland@hack.frob.com>
84814         [BZ #4822]
84815         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
84817         * mach/devstream.c (cookie_io_functions_t): Macro removed.
84818         (write, read, close): Likewise.
84819         Patch by Aurelien Jarno <aurelien@aurel32.net>.
84821 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
84823         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
84824         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
84825         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
84826         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
84827         <bits/signalfd.h>.
84828         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
84829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84830         bits/signalfd.h.
84832 2012-02-14  Marek Polacek  <polacek@redhat.com>
84834         * sysdeps/x86_64/crti.S: New file.
84835         * sysdeps/x86_64/crtn.S: New file.
84836         * sysdeps/x86_64/elf/initfini.c: Remove file.
84838 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84840         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
84841         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
84842         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
84843         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
84844         <bits/inotify.h>.
84845         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
84846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84847         bits/inotify.h.
84849 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84851         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
84852         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
84853         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
84854         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
84855         <bits/eventfd.h>.
84856         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
84857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84858         bits/eventfd.h.
84860 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
84862         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
84863         __feraiseexcept instead of feraiseexcept.
84865         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
84866         nanosleep invocations.
84867         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
84868         strings, and add error checking for a nanosleep invocations.
84870 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
84872         Replace FSF snail mail address with URLs, as per GNU coding standards.
84873         Most of the snail mail addresses were wrong anyway, and omitting
84874         them makes the source code easier to maintain.  Almost all of the
84875         changes are to license notices and to locale LC_IDENTIFICATION
84876         addresses, except for this one:
84877         * manual/libc.texinfo: In "Published by", give the FSF's URL,
84878         not its snail mail address.
84880 2012-02-09  Richard Henderson  <rth@twiddle.net>
84882         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
84883         of kernel-features.h.
84885         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
84887 2012-02-08  Marek Polacek  <polacek@redhat.com>
84889         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
84890         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
84891         * sysdeps/gnu/_G_config.h: Likewise.
84892         * sysdeps/generic/_G_config.h: Likewise.
84894 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
84896         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
84897         tests.
84898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84900         * sysdeps/powerpc/powerpc32/crti.S: New file.
84901         * sysdeps/powerpc/powerpc32/crtn.S: New file.
84902         * sysdeps/powerpc/powerpc64/crti.S: New file.
84903         * sysdeps/powerpc/powerpc64/crtn.S: New file.
84905         * Makeconfig (have-initfini): Don't set.
84906         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
84907         * configure.in (nopic_initfini): Don't substitute.
84908         * config.h.in (HAVE_INITFINI): Don't #undef.
84909         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
84910         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
84912 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
84914         Support crti.S and crtn.S provided directly by architectures.
84915         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
84916         [crti.S in sysdirs] (omit-deps): Likewise.
84917         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
84918         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
84919         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
84920         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
84921         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
84922         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
84923         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
84924         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
84925         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
84926         compiler output for sysdeps/generic/initfini.c.
84927         * sysdeps/i386/elf/Makefile: Remove file.
84928         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
84930 2012-02-07  Marek Polacek  <polacek@redhat.com>
84932         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
84933         * sysdeps/gnu/_G_config.h: Likewise.
84934         * sysdeps/mach/hurd/_G_config.h: Likewise.
84936 2012-02-07  Marek Polacek  <polacek@redhat.com>
84938         * math/Makefile (tests): Add tst-CMPLX2.
84939         * math/tst-CMPLX2.c: New file.
84941 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
84943         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84945         * math/libm-test.inc (jn_test): Add missing L suffix.
84947 2012-02-06  Marek Polacek  <polacek@redhat.com>
84949         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
84950         * sysdeps/i386/fpu/e_powf.S: Likewise.
84951         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84952         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84953         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84954         * sysdeps/i386/fpu/e_pow.S: Likewise.
84955         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
84956         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84957         * sysdeps/i386/fpu/s_expm1.S: Likewise.
84958         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
84959         * sysdeps/i386/fpu/e_log2.S: Likewise.
84960         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84961         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84962         * sysdeps/i386/fpu/e_powl.S: Likewise.
84963         * sysdeps/i386/fpu/s_log1p.S: Likewise.
84964         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84965         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
84966         * sysdeps/i386/fpu/e_logl.S: Likewise.
84967         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
84968         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
84969         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
84970         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
84971         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84972         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84973         * sysdeps/i386/fpu/e_log.S: Likewise.
84974         * sysdeps/i386/fpu/s_cexp.S: Likewise.
84975         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84976         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
84977         * sysdeps/i386/fpu/e_logf.S: Likewise.
84978         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84979         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84980         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
84981         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
84982         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84983         * sysdeps/i386/fpu/e_log10.S: Likewise.
84984         * sysdeps/i386/fpu/s_frexp.S: Likewise.
84985         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84986         * sysdeps/i386/fpu/s_asinh.S: Likewise.
84987         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
84988         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84989         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
84990         * sysdeps/i386/asm-syntax.h: Likewise.
84991         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84992         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84993         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84994         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
84995         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
84996         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84997         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
84998         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
84999         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85000         * sysdeps/powerpc/sysdep.h: Likewise.
85001         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85002         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85004 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85006         [BZ #411]
85007         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85009 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85011         * sysdeps/i386/sysdep.h: Include <features.h>.
85012         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85013         version.
85015 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85017         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85018         Define.
85019         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85020         LOAD_PIC_REG_STR.
85022 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85024         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85025         (SETUP_PIC_REG): Use GET_PC_THUNK.
85026         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85027         macro.
85029 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85031         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85032         for non-PIC compilation.
85033         (SETUP_PIC_REG): Add .p2align directive.
85034         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85035         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85036         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85037         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85038         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85039         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85040         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85041         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85042         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85043         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85044         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85045         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85046         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85047         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85048         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85049         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85050         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85051         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85052         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85053         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85054         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85055         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85056         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85057         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85058         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85060         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85061         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85062         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85063         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85064         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85065         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85066         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85067         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85068         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85069         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85070         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85071         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85072         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85073         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85074         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85076 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85078         * math/tst-CMPLX.c: Include <stdio.h>.
85080 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85082         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85083         float.
85084         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85085         * sysdeps/sparc/bits/mathdef.h: Likewise.
85087 2012-01-31  Marek Polacek  <polacek@redhat.com>
85089         * libio/libio.h: Don't define _PARAMS.
85090         * locale/programs/config.h: Don't define PARAMS.
85091         * stdlib/strtol_l.c: Likewise.
85092         (__strtol_l): Remove PARAMS from the prototype.
85094 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85096         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85097         names.  Just use the correct names.  Remove unnecessary wrapper
85098         functions.
85099         * malloc/arena.c: Likewise.
85100         * malloc/hooks.c: Likewise.
85102         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85103         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85104         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85106 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85108         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85109         into tail calls.
85110         (update_get_addr): New function.
85111         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85112         GET_ADDR_MODULE parameter.
85114 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85116         * crypt/cert.c: Remove __STDC__ conditionals.
85117         * crypt/crypt-entry.c: Likewise.
85118         * crypt/crypt_util.c: Likewise.
85119         * libio/filedoalloc.c: Likewise.
85120         * libio/fileops.c: Likewise.
85121         * libio/genops.c: Likewise.
85122         * libio/iofclose.c: Likewise.
85123         * libio/iofdopen.c: Likewise.
85124         * libio/iofopen.c: Likewise.
85125         * libio/iofopen64.c: Likewise.
85126         * libio/iogetdelim.c: Likewise.
85127         * libio/iopopen.c: Likewise.
85128         * libio/obprintf.c: Likewise.
85129         * libio/oldfileops.c: Likewise.
85130         * libio/oldiofclose.c: Likewise.
85131         * libio/oldiofdopen.c: Likewise.
85132         * libio/oldiofopen.c: Likewise.
85133         * libio/oldiopopen.c: Likewise.
85134         * libio/wfiledoalloc.c: Likewise.
85135         * libio/wgenops.c: Likewise.
85136         * locale/programs/xmalloc.c: Likewise.
85137         * misc/syslog.c: Likewise.
85138         * stdio-common/xbug.c: Likewise.
85139         * string/memchr.c: Likewise.
85140         * string/memcmp.c: Likewise.
85141         * string/memrchr.c: Likewise.
85142         * string/rawmemchr.c: Likewise.
85143         * sysdeps/posix/getcwd.c: Likewise.
85144         * time/strftime_l.c: Likewise.
85146 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85148         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85149         * config.make.in (config-cflags-sse2avx): Define.
85150         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85151         Fix typo.
85153 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
85155         * scripts/config.guess: Update from upstream config git repository.
85156         * scripts/config.sub: Likewise.
85158 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
85160         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85161         (EM_NUM): Update.
85162         (R_TILEPRO_*, R_TILEGX_*): New macros.
85164         * scripts/firstversions.awk: Fix bug in version range handling.
85166         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85168         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85170         * include/sys/epoll.h: New file.
85171         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85172         libc_hidden_def.
85174 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
85176         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85177         Avoid unnecessary __WORDSIZE == 64 test.
85178         (fmaxf): Use VEX format if possible.
85179         (fmax): Likewise.
85180         (fminf): Likewise.
85181         (fmin): Likewise.
85183         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85184         * math/math_private.h: Remove libc_fegetround* and
85185         libc_fesetround*.
85186         * sysdeps/i386/configure.in: Check for -msse2avx.
85187         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85188         also if SSE2AVX is defined.
85189         Remove libc_fegetround* and libc_fesetround*.
85190         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85191         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
85192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85193         of HAS_YMM_USABLE.
85194         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85195         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85196         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85197         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85198         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85200         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85202 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85204         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85205         size is not set.
85206         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85208 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
85210         [BZ #13618]
85211         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85212         relocation.
85213         * Makeconfig (libm): Define.
85214         * elf/Makefile: Add rules to build and run tst-relsort1.
85215         * elf/tst-relsort1.c: New file.
85216         * elf/tst-relsort1mod1.c: New file.
85217         * elf/tst-relsort1mod2.c: New file.
85219 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
85221         * math/s_ldexp.c: Remove __STDC__ conditionals.
85222         * math/s_ldexpf.c: Likewise.
85223         * math/s_ldexpl.c: Likewise.
85224         * math/s_nextafter.c: Likewise.
85225         * math/s_nexttowardf.c: Likewise.
85226         * math/s_significand.c: Likewise.
85227         * math/s_significandf.c: Likewise.
85228         * math/s_significandl.c: Likewise.
85229         * math/w_jnl.c: Likewise.
85230         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85231         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85232         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85233         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85234         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85235         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85236         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
85237         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85238         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85239         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85240         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85241         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85242         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85243         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85244         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85245         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85246         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85247         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85248         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85249         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85250         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85251         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85252         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85253         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85254         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85255         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85256         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85257         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85258         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85259         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85260         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85261         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85262         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85263         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85264         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85265         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85266         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85267         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85268         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85269         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85270         * sysdeps/ieee754/k_standard.c: Likewise.
85271         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85272         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85273         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85274         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85275         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85276         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85277         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85278         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85279         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85280         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85281         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85282         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85283         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85284         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85285         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85286         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85287         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85288         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85289         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85290         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85291         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85292         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85293         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85294         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85295         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85296         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85297         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85298         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85299         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85300         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85301         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85302         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
85303         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85304         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85305         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85306         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85307         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
85308         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85309         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85310         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
85311         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
85312         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85313         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
85314         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
85315         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85316         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
85317         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
85318         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85319         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85320         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
85321         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
85322         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85323         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85324         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85326         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85327         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
85328         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85329         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85330         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85331         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85332         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85333         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85334         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85335         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85336         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85337         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85338         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85339         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85340         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85341         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85342         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85343         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85344         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85345         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85346         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85347         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85348         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85349         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85350         * sysdeps/ieee754/s_matherr.c: Likewise.
85351         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85352         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85353         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85354         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85356 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85358         * crypt/md5.h: Remove __STDC__ conditionals.
85359         * libio/libioP.h: Likewise.
85360         * locale/programs/config.h: Likewise.
85361         * sysdeps/generic/sysdep.h: Likewise.
85362         * sysdeps/i386/asm-syntax.h: Likewise.
85363         * sysdeps/s390/asm-syntax.h: Likewise.
85364         * sysdeps/unix/sysdep.h: Likewise.
85365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
85366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
85368 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85370         * libio/libio.h: Remove __STDC__ conditionals.
85371         * malloc/obstack.h: Likewise.
85372         * math/complex.h: Likewise.
85373         * math/math.h: Likewise.
85374         * sysdeps/generic/_G_config.h: Likewise.
85375         * sysdeps/gnu/_G_config.h: Likewise.
85376         * sysdeps/mach/hurd/_G_config.h: Likewise.
85377         * sysdeps/powerpc/bits/mathdef.h: Likewise.
85378         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85379         * sysdeps/sparc/bits/mathdef.h: Likewise.
85381 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
85383         [BZ #13583]
85384         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
85385         Clean up HAS_* macros.
85386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
85387         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
85388         possible.
85389         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
85390         HAS_AVX.
85391         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85392         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85393         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85394         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85395         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85397 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
85399         * elf/tst-unique3.cc (gets): Remove declaration.
85400         * elf/tst-unique3lib.cc (gets): Likewise.
85401         * elf/tst-unique3lib2.cc (gets): Likewise.
85402         * elf/tst-unique4.cc (gets): Likewise.
85404 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
85406         * include/stdio.h: Add C++ protection.  Add gets declarations and
85407         definitions.
85408         * debug/tst-chk1.c: Don't declare gets here.
85409         * stdio-common/tst-gets.c: Likewise.
85411 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85413         * posix/glob: Remove directory.
85415 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85417         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
85419 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
85421         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
85422         of the non-standard EPFNOSUPPORT.
85424 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85426         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
85427         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
85428         ANYWHERE set to 1 only on KERN_NO_SPACE error.
85430 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
85432         * wcsmbs/uchar.h: Test __STDC_VERSION__.
85434 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
85436         * nscd/aicache.c (addhstaiX): Do not cache negative results of
85437         transient errors.
85438         * nscd/grpcache.c (cache_addgr): Likewise.
85439         * nscd/hstcache.c (cache_addhst): Likewise.
85440         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85441         * nscd/pwdcache.c (cache_addpw): Likewise.
85442         * nscd/servicescache.c (cache_addserv): Likewise.
85444 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
85446         * malloc/malloc.c: Various cleanups.
85447         * malloc/hooks.c: Likewise.
85449         * stdlib/Makefile (tests): Add bug-fmtmsg1.
85450         * stdlib/bug-fmtmsg1.c: New file.
85452         * stdlib/fmtmsg.c (init): Add missing unlock.
85453         Patch by Peng Haitao <penght@cn.fujitsu.com>.
85455 2012-01-12  Marek Polacek  <polacek@redhat.com>
85457         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
85458         and _GNU_SOURCE.
85460 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85462         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
85463         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
85464         macro to ensure uniqueness of label name.
85465         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85466         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85468 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
85470         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
85472         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
85473         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85474         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85475         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
85477 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
85479         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
85481         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
85482         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85483         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85485         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
85487         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
85488         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85489         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85490         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
85492         * math/bits/math-finite.h: Add ldexp support.
85494 2012-01-10  Marek Polacek  <polacek@redhat.com>
85496         * locale/programs/localedef.h (show_archive_content): Add noreturn
85497         attribute.
85499 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
85501         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
85503 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85505         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
85507         * io/Makefile (headers): Add bits/poll2.h.
85509 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
85511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
85512         typo #include statement.
85514 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85516         * include/sys/cdefs.h: Define __attribute_alloc_size.
85517         * catgets/gencat.c: Add alloc_size attribute and apply consistently
85518         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
85519         * elf/pldd.c: Likewise.
85520         * iconv/iconv_charmap.c: Likewise.
85521         * iconv/iconvconfig.c: Likewise.
85522         * iconv/strtab.c: Likewise.
85523         * locale/programs/locale.c: Likewise.
85524         * locale/programs/localedef.h: Likewise.
85525         * locale/programs/simple-hash.c: Likewise.
85526         * nscd/nscd.h: Likewise.
85527         * nss/makedb.c: Likewise.
85528         * sysdeps/generic/ldconfig.h: Likewise.
85529         * locale/programs/localedef.c: Remove xmalloc prototype.
85530         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
85532 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85534         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
85535         appropriate.
85537 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85539         * math/Makefile (tests): Add tst-CMPLX.
85540         * math/tst-CMPLX.c: New file.
85542         * math/complex.h (CMPLXL): Fix typo.
85544         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
85545         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
85546         GLIBC_2.16.
85547         * debug/tst-chk1.c: Add poll and ppoll tests.
85548         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
85549         * include/sys/poll.h: Add hidden proto for ppoll.
85550         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
85551         * sysdeps/mach/hurd/ppoll.c: Likewise.
85552         * io/ppoll.c: Likewise.
85553         * debug/poll_chk.c: New file.
85554         * debug/ppoll_chk.c: New file.
85555         * include/bits/poll2.h: New file.
85556         * io/bits/poll2.h: New file.
85558         [BZ #1350]
85559         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85561         * configure.in: static is always set to yes.  Remove.
85562         * config.make.in: Don't set build-static.
85563         * Makeconfig: Remove use of build-static.
85564         * dlfcn/Makefile: Likewise.
85565         * elf/Makefile: Likewise.
85566         * math/Makefile: Likewise.
85567         * misc/Makefile: Likewise.
85568         * nptl/Makefile: Likewise.
85569         * sysdeps/mach/hurd/Makefile: Likewise.
85571         * configure.in: PWD_P is not used anymore.
85572         * config.make.in: Remove PWD_P entry.
85574         * configure.in: Remove last remnants of RANLIB.
85575         No need to check for signed size_t anymore.
85576         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85577         and IA-64.
85578         Remove __builtin_expect test because we require at least gcc 3.4.
85579         * aclocal.m4: Likewise.
85581         * wcsmbs/mbrtoc16.c: Implement using towc function.
85582         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85583         * wcsmbs/wcsmbsload.c: Likewise.
85584         * iconv/gconv_simple.c: Likewise.
85585         * iconv/gconv_int.h: Likewise.
85586         * iconv/gconv_builtin.h: Likewise.
85587         * iconv/iconv_prog.c: Remove CHAR16 handling.
85589         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85591         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85593         * configure.in: Remove --with-elf and --enable-bounded options.
85594         Dont set base_machine for ia64.  More non-ELF conditions removed.
85595         Remove testing and setting of leading underscore information.
85596         * config.make.in (build-bounded): Set to no.
85597         * config.h.in: Remove NO_UNDERSCORES entry.
85598         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85599         them.
85600         * csu/start.c: Remove !NO_UNDERSCORE code.
85601         * locale/localeinfo.h: Likewise.
85602         * sysdeps/generic/machine-gmon.h: Likewise.
85603         * sysdeps/generic/sysdep.h: Likewise.
85604         * sysdeps/i386/sysdep.h: Likewise.
85605         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85606         * sysdeps/mach/sysdep.h: Likewise.
85607         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85608         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85609         * sysdeps/sh/sysdep.h: Likewise.
85610         * sysdeps/sparc/sparc32/alloca.S: Likewise.
85611         * sysdeps/unix/i386/sysdep.S: Likewise.
85612         * sysdeps/unix/sparc/start.c: Likewise.
85613         * sysdeps/unix/sparc/sysdep.S: Likewise.
85614         * sysdeps/unix/sparc/sysdep.h: Likewise.
85615         * sysdeps/unix/start.c: Likewise.
85616         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85617         * sysdeps/x86_64/sysdep.h: Likewise.
85619 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
85621         [BZ #13553]
85622         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
85623         for non-gcc.
85624         * argp/argp-fmtstream.h: Use const instead __const.
85625         * argp/argp.h: Likewise.
85626         * assert/assert.h: Likewise.
85627         * bits/fenv.h: Likewise.
85628         * bits/sched.h: Likewise.
85629         * bits/sigset.h: Likewise.
85630         * bits/sigthread.h: Likewise.
85631         * catgets/nl_types.h: Likewise.
85632         * conform/data/pthread.h-data: Likewise.
85633         * crypt/crypt-private.h: Likewise.
85634         * crypt/crypt.h: Likewise.
85635         * crypt/crypt_util.c: Likewise.
85636         * ctype/ctype.h: Likewise.
85637         * debug/execinfo.h: Likewise.
85638         * debug/mbsnrtowcs_chk.c: Likewise.
85639         * debug/mbsrtowcs_chk.c: Likewise.
85640         * debug/wcsnrtombs_chk.c: Likewise.
85641         * debug/wcsrtombs_chk.c: Likewise.
85642         * debug/wcstombs_chk.c: Likewise.
85643         * dirent/dirent.h: Likewise.
85644         * dlfcn/dlfcn.h: Likewise.
85645         * elf/neededtest4.c: Likewise.
85646         * grp/grp.h: Likewise.
85647         * gshadow/gshadow.h: Likewise.
85648         * iconv/gconv.h: Likewise.
85649         * iconv/gconv_int.h: Likewise.
85650         * iconv/gconv_simple.c: Likewise.
85651         * iconv/iconv.h: Likewise.
85652         * iconv/loop.c: Likewise.
85653         * iconv/skeleton.c: Likewise.
85654         * include/aio.h: Likewise.
85655         * include/aliases.h: Likewise.
85656         * include/argz.h: Likewise.
85657         * include/arpa/inet.h: Likewise.
85658         * include/assert.h: Likewise.
85659         * include/dirent.h: Likewise.
85660         * include/dlfcn.h: Likewise.
85661         * include/execinfo.h: Likewise.
85662         * include/fcntl.h: Likewise.
85663         * include/fenv.h: Likewise.
85664         * include/glob.h: Likewise.
85665         * include/grp.h: Likewise.
85666         * include/libintl.h: Likewise.
85667         * include/mntent.h: Likewise.
85668         * include/netdb.h: Likewise.
85669         * include/pwd.h: Likewise.
85670         * include/rpc/netdb.h: Likewise.
85671         * include/sched.h: Likewise.
85672         * include/search.h: Likewise.
85673         * include/shadow.h: Likewise.
85674         * include/signal.h: Likewise.
85675         * include/stdio.h: Likewise.
85676         * include/stdlib.h: Likewise.
85677         * include/string.h: Likewise.
85678         * include/sys/socket.h: Likewise.
85679         * include/sys/stat.h: Likewise.
85680         * include/sys/statfs.h: Likewise.
85681         * include/sys/statvfs.h: Likewise.
85682         * include/sys/syslog.h: Likewise.
85683         * include/sys/time.h: Likewise.
85684         * include/sys/uio.h: Likewise.
85685         * include/time.h: Likewise.
85686         * include/unistd.h: Likewise.
85687         * include/utmp.h: Likewise.
85688         * include/wchar.h: Likewise.
85689         * include/wctype.h: Likewise.
85690         * inet/aliases.h: Likewise.
85691         * inet/arpa/inet.h: Likewise.
85692         * inet/netinet/ether.h: Likewise.
85693         * inet/netinet/in.h: Likewise.
85694         * intl/libintl.h: Likewise.
85695         * io/bits/fcntl2.h: Likewise.
85696         * io/fcntl.h: Likewise.
85697         * io/ftw.h: Likewise.
85698         * io/sys/poll.h: Likewise.
85699         * io/sys/stat.h: Likewise.
85700         * io/sys/statfs.h: Likewise.
85701         * io/sys/statvfs.h: Likewise.
85702         * io/utime.h: Likewise.
85703         * libio/bits/stdio.h: Likewise.
85704         * libio/bits/stdio2.h: Likewise.
85705         * libio/libio.h: Likewise.
85706         * libio/libioP.h: Likewise.
85707         * libio/stdio.h: Likewise.
85708         * locale/lc-ctype.c: Likewise.
85709         * locale/locale.h: Likewise.
85710         * login/utmp.h: Likewise.
85711         * malloc/arena.c: Likewise.
85712         * malloc/malloc.c: Likewise.
85713         * malloc/malloc.h: Likewise.
85714         * malloc/mcheck.c: Likewise.
85715         * malloc/mtrace.c: Likewise.
85716         * math/bits/mathcalls.h: Likewise.
85717         * math/fenv.h: Likewise.
85718         * math/math_private.h: Likewise.
85719         * misc/bits/error.h: Likewise.
85720         * misc/bits/syslog.h: Likewise.
85721         * misc/err.h: Likewise.
85722         * misc/error.h: Likewise.
85723         * misc/fstab.h: Likewise.
85724         * misc/mntent.h: Likewise.
85725         * misc/regexp.h: Likewise.
85726         * misc/search.h: Likewise.
85727         * misc/sgtty.h: Likewise.
85728         * misc/sys/mman.h: Likewise.
85729         * misc/sys/syslog.h: Likewise.
85730         * misc/sys/uio.h: Likewise.
85731         * misc/sys/xattr.h: Likewise.
85732         * misc/ttyent.h: Likewise.
85733         * nis/rpcsvc/ypclnt.h: Likewise.
85734         * nss/nss.h: Likewise.
85735         * posix/bits/unistd.h: Likewise.
85736         * posix/fnmatch.h: Likewise.
85737         * posix/glob.h: Likewise.
85738         * posix/sched.h: Likewise.
85739         * posix/spawn.h: Likewise.
85740         * posix/sys/wait.h: Likewise.
85741         * posix/unistd.h: Likewise.
85742         * posix/wordexp.h: Likewise.
85743         * pwd/pwd.h: Likewise.
85744         * resolv/netdb.h: Likewise.
85745         * resource/sys/resource.h: Likewise.
85746         * rt/aio.h: Likewise.
85747         * rt/bits/mqueue2.h: Likewise.
85748         * rt/mqueue.h: Likewise.
85749         * shadow/shadow.h: Likewise.
85750         * signal/signal.h: Likewise.
85751         * socket/send.c: Likewise.
85752         * socket/sendto.c: Likewise.
85753         * socket/sys/socket.h: Likewise.
85754         * stdio-common/printf.h: Likewise.
85755         * stdlib/bits/stdlib.h: Likewise.
85756         * stdlib/fmtmsg.h: Likewise.
85757         * stdlib/monetary.h: Likewise.
85758         * stdlib/stdlib.h: Likewise.
85759         * stdlib/ucontext.h: Likewise.
85760         * streams/stropts.h: Likewise.
85761         * string/argz.h: Likewise.
85762         * string/bits/string2.h: Likewise.
85763         * string/string.h: Likewise.
85764         * string/strings.h: Likewise.
85765         * sunrpc/rpc/auth.h: Likewise.
85766         * sunrpc/rpc/auth_des.h: Likewise.
85767         * sunrpc/rpc/clnt.h: Likewise.
85768         * sunrpc/rpc/netdb.h: Likewise.
85769         * sunrpc/rpc/pmap_clnt.h: Likewise.
85770         * sunrpc/rpc/xdr.h: Likewise.
85771         * sysdeps/generic/inttypes.h: Likewise.
85772         * sysdeps/generic/net/if.h: Likewise.
85773         * sysdeps/generic/sys/swap.h: Likewise.
85774         * sysdeps/gnu/net/if.h: Likewise.
85775         * sysdeps/gnu/utmpx.h: Likewise.
85776         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
85777         * sysdeps/i386/i486/bits/string.h: Likewise.
85778         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
85779         * sysdeps/s390/bits/string.h: Likewise.
85780         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
85781         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
85782         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
85783         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
85784         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
85785         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
85786         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
85787         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
85788         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
85789         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
85790         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
85791         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
85792         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
85793         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
85794         * sysdeps/unix/sysv/linux/readv.c: Likewise.
85795         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
85796         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
85797         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85798         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
85799         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
85800         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85801         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
85802         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
85803         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
85804         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
85805         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
85806         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
85807         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85808         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
85809         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
85810         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
85811         * sysvipc/sys/ipc.h: Likewise.
85812         * sysvipc/sys/msg.h: Likewise.
85813         * sysvipc/sys/sem.h: Likewise.
85814         * sysvipc/sys/shm.h: Likewise.
85815         * termios/termios.h: Likewise.
85816         * time/sys/time.h: Likewise.
85817         * time/time.h: Likewise.
85818         * wcsmbs/bits/wchar2.h: Likewise.
85819         * wcsmbs/uchar.h: Likewise.
85820         * wcsmbs/wchar.h: Likewise.
85821         * wctype/wctype.h: Likewise.
85823         [BZ #13551]
85824         * Makeconfig: Remove all but ELF support including AIX support.
85825         * Makerules: Likewise.
85826         * config.h.in: Likewise.
85827         * config.make.in: Likewise.
85828         * configure: Likewise.
85829         * configure.in: Likewise.
85830         * csu/Makefile: Likewise.
85831         * csu/version.c: Likewise.
85832         * debug/Makefile: Likewise.
85833         * dlfcn/Makefile: Likewise.
85834         * elf/Makefile: Likewise.
85835         * extra-lib.mk: Likewise.
85836         * iconv/Makefile: Likewise.
85837         * include/libc-symbols.h: Likewise.
85838         * include/shlib-compat.h: Likewise.
85839         * resolv/Makefile: Likewise.
85840         * resolv/res_libc.c: Likewise.
85841         * rt/Makefile: Likewise.
85842         * sysdeps/i386/asm-syntax.h: Likewise.
85843         * sysdeps/i386/sysdep.h: Likewise.
85844         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85845         * sysdeps/mach/sysdep.h: Likewise.
85846         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
85847         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
85848         * sysdeps/s390/asm-syntax.h: Likewise.
85849         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85850         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85851         * sysdeps/sh/sysdep.h: Likewise.
85852         * sysdeps/unix/sparc/sysdep.h: Likewise.
85853         * sysdeps/wordsize-32/divdi3.c: Likewise.
85854         * sysdeps/x86_64/sysdep.h: Likewise.
85856         * argp/Versions: Remove _argp_unlock_xxx.
85858         [BZ #13559]
85859         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
85860         * abilist/libBrokenLocale.abilist: Likewise.
85861         * abilist/libanl.abilist: Likewise.
85862         * abilist/libc.abilist: Likewise.
85863         * abilist/libcrypt.abilist: Likewise.
85864         * abilist/libdl.abilist: Likewise.
85865         * abilist/libm.abilist: Likewise.
85866         * abilist/libnsl.abilist: Likewise.
85867         * abilist/libpthread.abilist: Likewise.
85868         * abilist/libresolv.abilist: Likewise.
85869         * abilist/librt.abilist: Likewise.
85870         * abilist/libthread_db.abilist: Likewise.
85871         * abilist/libutil.abilist: Likewise.
85872         * abilist/libnss_db.abilist: New file.
85874         * scripts/abilist.awk: Add support for indirect functions.
85876         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
85878         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
85880         * shlib-versions: Remove entries for ports architectures.
85882         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
85883         files in ports.
85884         * elf/stackguard-macros.h: Remove support for IA-64.
85885         * elf/tst-auditmod1.c: Likewise.
85886         * sysdeps/generic/ldsodefs.h: Likewise.
85888         * sysdeps/unix/sysv/linux/configure.in: Ports should define
85889         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
85890         configure files.
85892         [BZ #13552]
85893         * configure.in: Remove --enable-omitfp support.
85894         * FAQ.in: Adjust.
85895         * config.make.in: Likewise.
85896         * Makeconfig: Likewise.
85897         * manual/install.texi: Likewise.
85899         In case anyone cares, the IA-64 architecture could move to ports.
85900         * sysdeps/ia64/*: Removed.
85901         * sysdeps/unix/sysv/linux/ia64/*: Removed.
85902         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
85904         [BZ #13555]
85905         * configure.in: Remove entries for unsupported architectures.
85907         [BZ #13533]
85908         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
85909         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
85910         routines.
85911         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
85912         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
85913         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
85914         fall back to using wcrtomb.
85915         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
85916         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
85917         renaming.
85918         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
85919         * wcsmbs/tst-c16c32-1.c: New file.
85921         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
85922         local variable.
85924         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
85926         * elf/tst-unique3.cc: Add explicit declaration of gets.
85927         * elf/tst-unique3lib.cc: Likewise.
85928         * elf/tst-unique3lib2.cc: Likewise.
85929         * elf/tst-unique4.cc: Likewise.
85931         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
85933 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
85935         [BZ #13566]
85936         * assert/assert.h (static_assert): Don't define for C++.
85937         * libio/stdio.h (gets): Do declare for C++ <= C++11.
85938         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
85940 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
85942         * iconv/loop.c (single loop): Fix assertion in storing of
85943         remaining bytes.
85945         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
85947 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
85949         * posix/getconf.c: Update copyright year.
85950         * nss/getent.c: Likewise.
85951         * nss/makedb.c: Likewise.
85952         * iconv/iconvconfig.c: Likewise.
85953         * iconv/iconv_prog.c: Likewise.
85954         * elf/ldconfig.c: Likewise.
85955         * elf/pldd.c: Likewise.
85956         * elf/sotruss.ksh: Likewise.
85957         * catgets/gencat.c: Likewise.
85958         * csu/version.c: Likewise.
85959         * elf/ldd.bash.in: Likewise.
85960         * elf/sprof.c (print_version): Likewise.
85961         * locale/programs/locale.c: Likewise.
85962         * locale/programs/localedef.c: Likewise.
85963         * login/programs/pt_chown.c: Likewise.
85964         * nscd/nscd.c (print_version): Likewise.
85965         * debug/xtrace.sh: Likewise.
85966         * malloc/memusage.sh: Likewise.
85967         * malloc/mtrace.pl: Likewise.
85968         * debug/catchsegv.sh: Likewise.
85970 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
85972         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
85973         pure attribute.
85975 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
85977         [BZ #13533]
85978         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
85979         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
85980         transformations.
85981         * iconv/gconv_int.h: Likewise.
85982         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
85983         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
85984         from libc for GLIBC_2.16.
85985         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
85986         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
85987         * wcsmbs/uchar.h: Really define mbstate_t.
85988         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
85989         * wcsmbs/c16rtomb.c: New file.
85990         * wcsmbs/mbrtoc16.c: New file.
85991         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
85992         for C/POSIX locale.
85993         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
85994         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
85996         * wcsmbs/wchar.h: Add missing __restrict.
85998 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86000         [BZ #13532]
86001         * time/Makefile (routines): Add timespec_get.
86002         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86003         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86004         timespec for ISO C11.
86005         * time/timespec_get.c: New file.
86006         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86007         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86009         [BZ #13531]
86010         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86011         * stdlib/stdlib.h: Declare aligned_alloc.
86012         * Versions.def: Add GLIBC_2.16 for libc.
86013         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86015         [BZ 13527]
86016         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86017         ISO C11.
86019         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86020         code.
86022         [BZ #13528]
86023         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86025         [BZ #13529]
86026         * assert/assert.h (static_assert): Define.
86028         * version.h: Update for 2.16 development version.
86030         [BZ #13526]
86031         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86032         _ISOC11_SOURCE.
86034         * version.h (RELEASE): Bump for 2.15 release.
86035         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86037         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86038         Patch by Marek Polacek <mpolacek@redhat.com>.
86040         * bits/byteswap.h: Protect long long constants with __extension__.
86041         * sysdeps/i386/bits/byteswap.h: Likewise.
86042         * sysdeps/ia64/bits/byteswap.h: Likewise.
86043         * sysdeps/s390/bits/byteswap.h: Likewise.
86044         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86046 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86048         [BZ #13540]
86049         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86050         destination buffer.
86051         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86053 2011-12-23  Marek Polacek  <polacek@redhat.com>
86055         * elf/dl-addr.c (determine_info): Add inline keyword.
86056         * elf/tst-auditmod4b.c (check_avx): Likewise.
86057         * elf/tst-auditmod6b.c (check_avx): Likewise.
86058         * elf/tst-auditmod6c.c (check_avx): Likewise.
86059         * elf/tst-auditmod7b.c (check_avx): Likewise.
86061 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86063         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86064         !__SSE_MATH__.
86066 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86068         [BZ #13540]
86069         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86070         processing for last bytes.
86072 2011-08-06  Bruno Haible  <bruno@clisp.org>
86074         [BZ #13061]
86075         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86076         U+0385, not to U+1FEE.
86078         [BZ #13062]
86079         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86080         entry for U+00A5 U+0301.
86082 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86084         [BZ #13166]
86085         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86086         buffer for the output is too small.
86088         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86089         optimization.
86091         [BZ #13185]
86092         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86093         SSE flags if possible.
86095 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86097         [BZ #13540]
86098         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86099         processing for last bytes.
86101 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86103         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86104         (syscall-list-default-options, syscall-list-default-condition)
86105         (syscall-list-includes): Define.
86106         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86107         list of ABIs and options and #if conditions for each ABI.  Do not
86108         handle common syscalls between ABIs specially.
86109         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86110         Remove.
86111         (syscall-list-variants, syscall-list-32bit-options)
86112         (syscall-list-32bit-condition, syscall-list-64bit-options)
86113         (syscall-list-64bit-condition): Define.
86114         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86115         (syscall-list-variants, syscall-list-32bit-options)
86116         (syscall-list-32bit-condition, syscall-list-64bit-options)
86117         (syscall-list-64bit-condition): Define.
86118         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86119         Remove.
86120         (syscall-list-variants, syscall-list-32bit-options)
86121         (syscall-list-32bit-condition, syscall-list-64bit-options)
86122         (syscall-list-64bit-condition): Define.
86123         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86124         Remove.
86125         (syscall-list-variants, syscall-list-32bit-options)
86126         (syscall-list-32bit-condition, syscall-list-64bit-options)
86127         (syscall-list-64bit-condition): Define.
86129 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86131         * locale/iso-639.def: Add brx entry.
86133         [BZ #13328]
86134         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86135         Proposed by Mariusz_Cukr <marcukr@op.pl>.
86137         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86138         __feraiseexcept_renamed.
86140 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86142         [BZ #13538]
86143         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86144         EPOLLET with unsigned values.
86145         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86146         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86148         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86149         to large cancellation.
86150         * math/s_cacoshf.c: Likewise.
86151         * math/s_cacoshl.c: Likewise.
86153 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
86155         [BZ #13305]
86156         [BZ #12786]
86157         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86158         * math/s_cacoshf.c: Likewise.
86159         * math/s_cacoshl.c: Likewise.
86161 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86163         [BZ #13439]
86164         * iconv/gconv.h: Define __GCONV_SWAP.
86165         * iconvdata/unicode.c: The swap bit must be stored in __flags.
86166         * iconvdata/utf-16.c: Likewise.
86167         * iconvdata/utf-32.c: Likewise.
86169 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
86171         [BZ #13524]
86172         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86173         numerator after shifting it by one limb.
86175 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
86177         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86178         under [__USE_EXTERN_INLINES].
86180 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86182         [BZ #13446]
86183         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86185 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86187         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86188         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86189         optimized code.
86190         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86191         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86192         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86193         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86194         for strncasecmp/strncasecmp_l compilation.
86195         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86196         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86198 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
86200         [BZ #13484]
86201         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86202         of __asm__.
86204 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86206         [BZ #13506]
86207         * time/tzfile.c (__tzfile_read): Check values from file header.
86209 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
86211         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86212         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86213         * powerpc/powerpc32/dl-start.S: Likewise.
86214         * powerpc/powerpc32/elf/start.S: Likewise.
86215         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86216         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86217         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86218         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86219         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86220         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86221         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86222         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86223         * powerpc/powerpc32/fpu/s_round.S: Likewise.
86224         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86225         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86226         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86227         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86228         * powerpc/powerpc32/memset.S: Likewise.
86229         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
86230         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
86231         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
86232         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
86233         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
86234         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
86235         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
86236         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86237         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
86238         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
86239         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
86240         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86241         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86243 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86245         * math/libm-test.inc: Added more nearbyint tests.
86246         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
86247         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
86248         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
86249         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
86251 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
86253         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86254         FD_CLOEXEC.
86256 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86258         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
86259         Add wcscpy-ssse3 wcscpy-c.
86260         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
86261         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
86262         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
86263         * sysdeps/x86_64/wcschr.S: New file.
86264         * sysdeps/x86_64/wcsrchr.S: New file.
86265         * string/test-strcmp.c: Remove checking of wcscmp function for
86266         wrong alignments.
86267         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
86268         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
86269         wcsrchr-sse2 wcsrchr-c.
86270         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
86271         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
86272         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
86273         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
86274         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
86275         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
86276         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
86277         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
86278         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
86279         * wcsmbc/wcschr.c (WCSCHR): New macro.
86281 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86283         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
86284         * wcsmbs/test-wcsrchr.c: New file.
86285         * string/test-strrchr.c: Add wcsrchr support.
86286         (WIDE): New macro.
86287         * wcsmbs/test-wcscpy.c: New file.
86288         * string/test-strcpy.c: Add wcscpy support.
86289         (WIDE): New macro.
86291 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
86293         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
86294         the inner loop.
86296 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
86298         [BZ #13472]
86299         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
86301 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
86303         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
86304         Minor optimizations.
86306         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
86307         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
86308         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
86310 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
86312         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
86313         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
86314         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
86315         for gcc to avoid warnings.
86316         * inet/Makefile (tests): Add tst-checks.
86317         * inet/tst-checks.c: New file.
86319         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
86320         warning.
86322         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
86323         __wmemcmp_sse2.
86325         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
86326         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
86328         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
86330 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
86332         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
86333         problem.
86335         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
86337 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
86339         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
86340         conditional on GCC version.
86341         (__arch_compare_and_exchange_val_8_acq)
86342         (__arch_compare_and_exchange_val_16_acq)
86343         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
86344         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
86345         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
86347 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
86349         * sysdeps/sh/backtrace.c: New file.
86351 2011-12-02  Andreas Schwab  <schwab@redhat.com>
86353         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
86354         parenthesis.
86356 2011-12-01  Andreas Schwab  <schwab@redhat.com>
86358         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
86359         falling back to utime.
86361 2011-11-30  Andreas Schwab  <schwab@redhat.com>
86363         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
86364         expectations for float.
86366 2011-11-29  Andreas Schwab  <schwab@redhat.com>
86368         * locale/weight.h (findidx): Add parameter len.
86369         * locale/weightwc.h (findidx): Likewise.
86370         * posix/fnmatch_loop.c (FCT): Adjust caller.
86371         * posix/regcomp.c (build_equiv_class): Likewise.
86372         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
86373         * posix/regexec.c (check_node_accept_bytes): Likewise.
86374         * string/strcoll_l.c (STRCOLL): Likewise.
86375         * string/strxfrm_l.c (STRXFRM): Likewise.
86377 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
86379         * Makefile.in: Remove CVSOPT handling.
86380         * configure.in: Remove use of AC_REVISION.
86381         * iconvdata/Makefile (distribute): No need to filter out CVS.
86382         * scripts/list-sources.sh: Remove CVS, subversion and monotone
86383         handling.
86385 2011-11-16  Andreas Schwab  <schwab@redhat.com>
86387         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
86388         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
86389         [USE_AS_STRNCASECMP_L]: Likewise.
86390         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
86391         NO_TLS_DIRECT_SEG_REFS.
86392         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
86393         Fix argument offsets for non-PIC.
86394         [USE_AS_STRNCASECMP_L]: Likewise.
86395         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
86396         NO_TLS_DIRECT_SEG_REFS.
86398 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86400         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
86401         O_CLOEXEC.
86402         * locale/loadlocale.c (_nl_load_locale): Likewise.
86404 2011-11-15  Andreas Schwab  <schwab@redhat.com>
86406         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
86407         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
86408         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
86409         (SYSCALL_GETTIME): Set errno on error.
86411         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
86412         count references to noai6ai_cached.
86414 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86416         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
86418         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
86419         FD_CLOEXEC for /proc/self/maps.
86421         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
86422         FD_CLOEXEC for /proc/meminfo.
86424         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
86425         gai.conf.
86427         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
86428         FD_CLOEXEC for given file.
86430         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
86432         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
86433         FD_CLOEXEC for /etc/hosts.
86434         (_gethtent): Likewise.
86436         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
86438         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
86439         cancellation and set FD_CLOEXEC for /etc/netgroup.
86441         * nss/nss_files/files-key.c (search): Don't allow cancellation when
86442         reading /etc/publickey.
86444         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
86445         allow cancellation when reading /etc/group.
86447         * nss/nss_files/files-alias.c (internal_setent): Don't allow
86448         cancellation.
86449         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
86451         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
86452         when using data file.
86454         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
86456         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
86457         (write_nis_obj): Use "c" and "e" in fopen.
86459         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
86461         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
86463         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
86465         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
86467         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
86468         locale.alias.
86470         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
86472         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
86474         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
86476         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
86477         file parsing and set FD_CLOEXEC.
86479 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86481         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
86483 2011-11-14  Andreas Schwab  <schwab@redhat.com>
86485         * malloc/arena.c (arena_get2): Don't call reused_arena when
86486         _int_new_arena failed.
86488 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86490         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
86491         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
86492         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
86493         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86494         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86495         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
86496         to compile strcasecmp and strncasecmp.
86497         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
86498         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
86500         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
86502 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
86504         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
86505         locale-defines.sym to gen-as-const-headers.
86506         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
86507         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
86508         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
86509         to compile strcasecmp and strncasecmp.
86510         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
86511         strcasecmp_l and strncasecmp_l.
86512         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
86513         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
86514         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
86515         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
86516         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
86517         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
86518         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
86519         * sysdeps/i386/i686/multiarch/strncase.S: New file.
86520         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
86521         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
86522         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
86524 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
86526         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
86527         result of SYSDEP_GETTIME_CPU to retval.
86528         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
86529         parameter list to macro.  Remove trailing semicolon.  Adjust users.
86531         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
86532         variable.
86534         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
86535         mantissa words.
86536         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
86538         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
86539         from unused variable.
86541         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
86542         DWARF definitions.
86543         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
86544         for assembling.
86546         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
86547         over namespaces.
86549         * sunrpc/rpc_prot.c (rejected): Fix case value.
86551         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
86552         unsigned long long int to avoid warnings in shift.
86554         * posix/regex_internal.c (re_string_reconstruct): Actually use result
86555         of use of trans.
86556         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
86557         variable tmp.
86559         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
86560         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86561         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86563         * nis/nis_table.c (nis_list): Use variable of correct type for
86564         result of __follow_path call.
86566 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86568         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86569         of math functions ceil, trunc, floor, round, and sqrt, when
86570         avaliable on the platform.
86571         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86572         name clash.
86573         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86574         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86575         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86577 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86579         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86580         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86582 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86584         * include/unistd.h: Fix __readlink return type.
86585         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86587 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86589         * stdlib/ucontext.h: Undo last change for makecontext.
86591 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86593         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86595         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86596         * setjmp/setjmp.h: Mark functions as non-leaf.
86597         * setjmp/bits/setjmp2.h: Likewise.
86598         * stdlib/ucontext.h: Likewise.
86600 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86602         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86603         (reused_arena): Don't check arena limit.
86604         (arena_get2): Atomically check arena limit.
86606 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86608         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86609         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86611         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86612         instructions.
86614 2011-11-07  Andreas Schwab  <schwab@redhat.com>
86616         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86617         handler when locking.
86619         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86620         Fix size of allocated buffer.
86622 2011-11-04  Andreas Schwab  <schwab@redhat.com>
86624         [BZ #10103]
86625         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
86626         declarations for long double functions.
86627         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
86629         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
86631 2011-11-03  Andreas Schwab  <schwab@redhat.com>
86633         * nscd/nscd.c (main): Don't start AVC thread until credentials are
86634         installed.
86636         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
86637         is disabled.
86639 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86641         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
86643 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
86645         * include/alloca.h (stackinfo_alloca_round): Define.
86646         (extend_alloca): Use it.
86647         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
86648         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
86649         here.
86651         * scripts/check-local-headers.sh: Ignore libaudit.h.
86653         * nscd/Makefile (extra-objs): Make recursively expanded.
86655 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
86657         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
86658         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
86660         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
86661         * posix/tst-rfc3484-2.c: Likewise.
86662         * posix/tst-rfc3484-3.c: Likewise.
86664         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86665         process_vm_writev.
86666         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
86667         process_vm_writev.
86668         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
86669         process_vm_writev from libc using GLIBC_2.15 version.
86671         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
86673 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
86675         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
86676         stack usage.
86678 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
86680         [BZ #13367]
86681         * nss/getent.c (initgroups_keys): Show error message in case no group
86682         names are given.
86684         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
86685         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
86686         __bump_nl_timestamp.
86687         * nscd/connections (nscd_init): When host database is served open
86688         netlink socket and request notification about configuration changes.
86689         (main_loop_poll): Track netlink file descriptor and bump timestamp
86690         in case data becomes available.
86691         (main_loop_epoll): Likewise.
86692         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
86693         (database_pers_head): Add extra_data fileds.
86694         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
86695         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
86696         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
86697         Adjust caller.
86698         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
86699         in6ai data, call __free_in6ai.
86700         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
86701         Add -DHAVE_NETLINK.
86702         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
86703         interface information.  Reuse previous data if netlink timestamp
86704         is not changed.
86705         (__bump_nl_timestamp): New function.
86706         (__free_in6ai): New function.
86708 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
86710         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
86711         close_not_cancel_no_status here.
86712         (__check_pf): Reorganize code a bit to not call close twice if OOM.
86714 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86716         [BZ #13276]
86717         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
86718         return value.
86720         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
86721         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
86722         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
86724 2011-07-03  Andreas Jaeger  <aj@suse.de>
86726         [BZ #10709]
86727         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
86728         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
86729         * math/libm-test.inc (sin_test): Add test case.
86731 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86733         [BZ #13337]
86734         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
86735         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86737         * elf/chroot_canon.c (chroot_canon): Cleanups.
86739         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
86741         [BZ #13335]
86742         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
86743         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86745         * string/test-strchr.c: Make usable for strchrnul testing.
86746         * string/test-strchrnul.c: New file.
86747         * string/Makefile (strop-tests): Add strchrnul.
86749         * po/it.po: Update from translation team.
86750         * po/es.po: Likewise.
86752 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
86754         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
86755         the three constants needed as parameters.  Drop the others.
86756         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
86757         __m128i_strloadu_tolower.
86758         Create and initialize variable zero and use it in all the places
86759         where _mm_setzero_si128 was used.
86761         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
86762         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
86763         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
86764         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
86765         anymore.
86766         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
86767         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
86768         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
86769         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
86770         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
86771         __mpranred, __mptan.
86772         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
86773         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
86774         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
86775         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
86776         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
86777         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
86778         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
86779         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
86780         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
86782 2011-10-28  Andreas Schwab  <schwab@redhat.com>
86784         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
86785         redefine if SHARED.
86786         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
86788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
86789         wide char related routines to wcsmbs subdir.
86791 2011-10-27  Andreas Schwab  <schwab@redhat.com>
86793         [BZ #13344]
86794         * misc/sys/cdefs.h (__THROWNL): Define.
86795         * posix/unistd.h: Use __THREADNL instead of __THREAD
86796         for memory synchronization functions.
86798 2011-10-26  Roland McGrath  <roland@hack.frob.com>
86800         [BZ #13349]
86801         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
86802         doesn't exist.
86803         * manual/stdio.texi (Obstack Streams): Node removed.
86805 2011-10-26  Andreas Schwab  <schwab@redhat.com>
86807         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
86808         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86809         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86811         * math/math_private.h (math_force_eval): Allow non-addressable
86812         arguments.
86813         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
86815 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86817         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
86818         file is not needed.
86820         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
86821         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
86822         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86823         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86824         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86825         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86826         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86827         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
86828         Add AVX variants.
86829         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
86830         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
86831         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
86832         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
86833         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
86834         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
86835         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
86836         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
86837         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
86838         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
86839         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
86840         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
86841         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
86842         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
86843         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
86844         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
86845         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
86846         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
86847         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
86849         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
86850         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
86852         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
86853         place.  Use VEX encoding when compiling for AVX.
86855 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86857         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
86858         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
86860         * string/test-strchr.c (do_test): Don't generate NUL bytes.
86862 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86864         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
86865         useless if() expression.
86866         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86867         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86868         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86869         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86870         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86871         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86872         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86873         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86874         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86875         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86876         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86877         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86878         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86879         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86880         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86881         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86882         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86883         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86884         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86886         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
86888 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86890         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
86891         condition.
86892         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86894 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86896         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
86897         .text section.  Avoid duplicate constants.
86898         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86899         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86900         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86901         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86902         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86903         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86904         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86905         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86906         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
86907         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
86908         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
86909         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
86910         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
86911         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
86912         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
86913         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
86914         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
86915         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
86916         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86918         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86919         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86920         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86921         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
86922         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
86923         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
86924         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
86925         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
86926         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
86927         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
86928         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
86929         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
86930         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
86931         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
86932         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
86933         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
86934         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
86935         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
86936         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
86937         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
86938         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
86939         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
86940         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
86941         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
86942         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
86944 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
86946         * sysdeps/x86_64/dla.h: Move to ...
86947         * sysdeps/x86_64/fpu/dla.h: ...here.
86948         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
86949         situations.  Use __builtin_fma only for gcc 4.6 and up.
86951         * config.make.in: Add have-mfma4 entry.
86952         * configure.in: Substitute libc_cv_cc_fma4.
86953         * math/Makefile (dbl-only-routines): Add sincostab.
86954         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
86955         Use __sincostab not sincos.
86956         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
86957         name is a macro.
86958         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86959         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86960         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86961         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
86962         using __copysign.
86963         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
86964         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
86965         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
86966         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
86967         and __inv.
86968         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
86969         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
86970         __copysign.
86971         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
86972         define aliases when function name is a macro.
86973         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
86974         sysdeps/ieee754/dbl-64/sincos.tbl.
86975         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
86976         fma4-enabled routines.
86977         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
86978         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
86979         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
86980         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
86981         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
86982         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
86983         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
86984         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
86985         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
86986         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
86987         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
86988         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
86989         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
86990         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
86991         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
86992         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
86993         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
86994         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
86995         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
86996         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
86997         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
86998         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
86999         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87000         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87001         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87002         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87003         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87004         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87005         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87006         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87008         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87009         rename.
87010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87011         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87016         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87017         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87019 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87021         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87023 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87025         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87027         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87028         prediction.
87029         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87031         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87032         Remove unused variable magic_bits.
87033         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87035         * string/strnlen.c: Define and use STRNLEN macro.
87036         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87037         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87039         * wcsmbs/wcslen.c: Define and use WCSLEN.
87040         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87041         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87042         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87043         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87044         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87045         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87046         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87048 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87051         strnlen-sse2-no-bsf.
87052         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87053         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87054         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87055         Add strnlen support.
87056         (USE_AS_STRNLEN): New macro.
87057         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87058         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87059         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87060         * sysdeps/x86_64/wcslen.S: New file.
87062 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87064         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87065         XMM-moves are used for copying on small sizes.
87067 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87069         * wcsmbs/Makefile (strop-tests): Add wcschr.
87070         * wcsmbs/test-wcschr.c: New file.
87071         * string/test-strchr.c: Update.
87072         Add wcschr support.
87073         (WIDE): New macro.
87075 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87077         * wcsmbs/Makefile (strop-tests): Add wcslen.
87078         * wcsmbs/test-wcslen.c: New file.
87079         * string/test-strlen.c: Update.
87080         Add wcslen support.
87081         (WIDE): New macro.
87083 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87085         * po/it.po: Update from translation team.
87087 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87089         * sysdeps/x86_64/wcscmp.S: Update.
87090         Fix wrong comparison semantics.
87091         wcscmp shall use signed comparison not unsigned.
87092         Don't use substraction to avoid overflow bug.
87093         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87094         * wcsmbc/wcscmp.c: Likewise.
87095         * string/test-strcmp.c: Likewise.
87096         Add new tests to check cases with negative values.
87098 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87100         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87101         * sysdeps/x86_64/dla.h: ...here.  New file.
87102         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87103         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87104         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87105         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87106         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87107         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87109         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87110         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87112 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87115         __ynl_finite aliases.
87117 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87121         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87122         define DLA_FMA.
87123         [DLA_FMA] (EMULV): Use DLA_FMA.
87124         [DLA_FMA] (MUL12): Use EMULV.
87125         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87126         that are not needed.
87127         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87128         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87130         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87131         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87132         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87133         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87135 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
87137         * math/s_nan.c: Undef __nan.
87138         * math/s_nanf.c: Undef __nanf.
87139         * math/s_nanl.c: Undef __nanl.
87140         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87141         "math_private.h".
87143 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87145         * math/s_catan.c: Add branch predictions.
87146         * math/s_catanf.c: Likewise.
87147         * math/s_catanh.c: Likewise.
87148         * math/s_catanhf.c: Likewise.
87149         * math/s_catanhl.c: Likewise.
87150         * math/s_catanl.c: Likewise.
87151         * math/s_cexp.c: Likewise.
87152         * math/s_cexpf.c: Likewise.
87153         * math/s_cexpl.c: Likewise.
87154         * math/s_clog.c: Likewise.
87155         * math/s_clog10.c: Likewise.
87156         * math/s_clog10f.c: Likewise.
87157         * math/s_clog10l.c: Likewise.
87158         * math/s_clogf.c: Likewise.
87159         * math/s_clogl.c: Likewise.
87160         * math/s_csqrt.c: Likewise.
87161         * math/s_csqrtf.c: Likewise.
87162         * math/s_csqrtl.c: Likewise.
87163         * math/s_ctanf.c: Likewise.
87164         * math/s_ctanh.c: Likewise.
87165         * math/s_ctanhf.c: Likewise.
87166         * math/s_ctanhl.c: Likewise.
87167         * math/s_ctanl.c: Likewise.
87169         * math/math_private.h: Define __nan, __nanf, __nanl.
87170         * math/s_cacosh.c: Include <math_private.h>.
87171         * math/s_cacoshl.c: Likewise.
87172         * math/s_casinh.c: Likewise.
87173         * math/s_casinhf.c: Likewise.
87174         * math/s_casinhl.c: Likewise.
87175         * math/s_ccos.c: Rely entire on ccosh.
87176         * math/s_ccosf.c: Rely entire on ccoshf.
87177         * math/s_ccosl.c: Rely entirely on ccoshl.
87178         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
87179         Remove tests for FE_INVALID.
87180         * math/s_ccoshf.c: Likewise.
87181         * math/s_ccoshl.c: Likewise.
87182         * math/s_csin.c: Likewise.
87183         * math/s_csinf.c: Likewise.
87184         * math/s_csinh.c Likewise.
87185         * math/s_csinhf.c: Likewise.
87186         * math/s_csinhl.c: Likewise.
87187         * math/s_csinl.c: Likewise.
87188         * math/s_ctan.c: Likewise.
87189         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87190         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87191         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87193 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
87195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87196         compilation problems.
87198         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87199         __builtin_expect.
87201 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
87203         * sysdeps/i386/configure.in: Test for -mfma4 option.
87204         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87205         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87206         COMMON_CPUID_INDEX_80000001.
87207         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87208         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87209         use it if FMA3 is not supported.
87210         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87212         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87213         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87215 2011-10-20  Andreas Schwab  <schwab@redhat.com>
87217         [BZ #12892]
87218         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87219         it would create a cycle with a link time dependency.
87221 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
87223         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87224         instruction.
87225         * string/Makefile (strop-tests): Add rawmemchr.
87226         * string/test-rawmemchr.c: New file.
87228         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87229         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
87230         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
87231         when compiling str{,n}casecmp and when AVX is available.  Hook up
87232         new optimized code in initializers.
87234 2011-10-19  Andreas Schwab  <schwab@redhat.com>
87236         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
87237         __feraiseexcept instead of feraiseexcept.
87239 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
87241         * math/math_private.h: Define defaults for libc_fetestexcept and
87242         libc_feupdateenv.
87243         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
87244         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
87245         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87246         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87247         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87248         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87249         libc_fetestexcept and libc_feupdateenv.
87251         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
87252         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
87253         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
87254         * sysdeps/x86_64/fpu/math_private.h: Define special version of
87255         libc_feholdexcept_setround.
87257         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
87258         Add s_nearbyint-c and s_nearbyintf-c.
87259         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
87260         nearbyintf inlines.
87261         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
87262         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
87263         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
87264         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
87266         * math/math_private.h: Define defaults for libc_fegetround,
87267         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
87268         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
87269         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
87270         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
87271         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
87272         standard functions.
87273         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87274         Remove comments and hacks for old compiler versions.
87275         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87276         libc_fegetround, libc_fesetround, libc_feholdexcept, and
87277         libc_feholdexceptl.
87279 2011-10-18  Andreas Schwab  <schwab@redhat.com>
87281         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
87282         (__feraiseexcept_renamed): Add __NTH.
87283         (feraiseexcept): Add __NTH.  Rename local variables to fix
87284         namespace violations.
87286 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
87288         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
87290         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
87292         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
87293         recently added interfaces.
87294         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
87296         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
87297         about macro parameter expansion.
87299         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
87300         __NO_MATH_INLINES is defined.  Cleanups.
87302         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
87303         and __floorf is target has SSE4.1.
87304         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
87305         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
87306         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
87307         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
87309         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
87310         name.
87311         (floorf): Likewise.
87313         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
87315 2011-10-17  Andreas Schwab  <schwab@redhat.com>
87317         * misc/sys/cdefs.h: Fix last change.
87319         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
87320         database lookup.
87322 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
87324         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
87326         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
87327         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87328         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87329         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87331         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87332         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87333         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87334         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87335         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
87336         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
87337         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
87338         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
87339         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
87340         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
87341         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
87342         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
87343         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
87344         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
87345         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
87346         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
87347         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
87349         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
87350         ceil, ceilf, floor, floorf.
87352         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
87353         Perform IRELATIVE relocations last.
87355         * elf/do-rel.h: Add another parameter nrelative, replacing the
87356         local variable with the same name.  Change name of the function
87357         to end in Rel or Rela (uppercase).
87358         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
87359         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
87360         elf_dynamic_do_##reloc function.
87362 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87364         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
87365         is sufficient, at least on modern CPUs.
87367         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
87369         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
87370         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
87372         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
87373         __expl_finite.
87374         * math/bits/math-finite.h: Add entries for exp.
87375         * math/e_expl.c: Add __*_finite alias.
87376         * sysdeps/i386/fpu/e_exp.S: Likewise.
87377         * sysdeps/i386/fpu/e_expf.S: Likewise.
87378         * sysdeps/i386/fpu/e_expl.c: Likewise.
87379         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87380         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87381         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
87382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
87383         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
87384         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87385         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87387         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
87388         is sufficient, at least on modern CPUs.
87390         * ctype/ctype-info.c (__ctype_init): Define.
87391         * include/ctype.h (__ctype_init): Declare.
87392         (__ctype_b_loc): The variable is always initialized.
87393         (__ctype_toupper_loc): Likewise.
87394         (__ctype_tolower_loc): Likewise.
87395         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
87396         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
87398 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
87400         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
87402         * configure.in: Also look in $cxxmachine/include for C++ system
87403         headers.
87405 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87407         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
87408         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
87409         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
87410         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
87411         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
87412         (USE_AS_WMEMCMP): New macro.
87413         Fixing indents.
87414         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
87415         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
87416         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
87417         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
87418         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87419         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
87420         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
87421         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
87422         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
87423         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
87424         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
87425         (USE_AS_WMEMCMP): New macro.
87426         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
87427         * sysdeps/string/test-memcmp.c: Update.
87428         Fix simple_wmemcmp.
87429         Add new tests.
87430         * wcsmbs/wmemcmp.c: Update.
87431         (WMEMCMP): New macro.
87432         Fix overflow bug.
87434 2011-10-12  Andreas Jaeger  <aj@suse.de>
87436         [BZ #13268]
87437         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
87439 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87441         * libio/iofwide.c (do_length): Avoid warning.
87443         * ctype/ctype.h (__isctype_f): Add missing __THROW.
87445 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
87447         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
87449         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
87450         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
87451         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
87452         * sysdeps/i386/i686/fpu/e_log.S: New file.
87453         * sysdeps/i386/i686/fpu/e_logf.S: New file.
87454         * sysdeps/i386/i686/fpu/e_logl.S: New file.
87456         * ctype/ctype.h: Add support for inlined isXXX functions when
87457         compiling C++ code.
87459 2011-10-14  Andreas Schwab  <schwab@redhat.com>
87461         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87463         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
87465 2011-10-13  Roland McGrath  <roland@hack.frob.com>
87467         [BZ #13291]
87468         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
87470 2011-10-13  Andreas Schwab  <schwab@redhat.com>
87472         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
87473         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
87474         feraiseexcept.
87476         * sysdeps/x86_64/memrchr.S: Check for zero size.
87478         * string/stratcliff.c: Add memrchr tests.
87480 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87483         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
87484         rawmemchr-sse2 rawmemchr-sse2-bsf.
87485         * sysdeps/i386/i686/multiarch/memchr.S: New file.
87486         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
87487         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
87488         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
87489         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
87490         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
87491         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
87492         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
87493         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
87494         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
87495         * string/memrchr.c (MEMRCHR): New macro.
87497 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
87499         Add integration with gcc's -ffinite-math-only and optimize wrapper
87500         functions in libm.
87501         * Versions.def: Define GLIBC_2.15 version for libm.
87502         * math/Makefile (headers): Add bits/math-finite.h.
87503         * math/bits/math-finite.h: New file.
87504         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
87505         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
87506         * math/e_acoshl.c: Add __*_finite alias.
87507         * math/e_acosl.c: Likewise.
87508         * math/e_asinl.c: Likewise.
87509         * math/e_atan2l.c: Likewise.
87510         * math/e_atanhl.c: Likewise.
87511         * math/e_coshl.c: Likewise.
87512         * math/e_exp10.c: Likewise.
87513         * math/e_exp10f.c: Likewise.
87514         * math/e_exp10l.c: Likewise.
87515         * math/e_exp2l.c: Likewise.
87516         * math/e_fmodl.c: Likewise.
87517         * math/e_gammal_r.c: Likewise.
87518         * math/e_hypotl.c: Likewise.
87519         * math/e_j0l.c: Likewise.
87520         * math/e_j1l.c: Likewise.
87521         * math/e_jnl.c: Likewise.
87522         * math/e_lgammal_r.c: Likewise.
87523         * math/e_log10l.c: Likewise.
87524         * math/e_log2l.c: Likewise.
87525         * math/e_logl.c: Likewise.
87526         * math/e_powl.c: Likewise.
87527         * math/e_sinhl.c: Likewise.
87528         * math/e_sqrtl.c: Likewise.
87529         * math/e_scalb.c: Completely rewritten and optimized.
87530         * math/e_scalbf.c: Likewise.
87531         * math/e_scalbl.c: Likewise.
87532         * math/w_acos.c: Likewise.
87533         * math/w_acosf.c: Likewise.
87534         * math/w_acosl.c: Likewise.
87535         * math/w_acosh.c: Likewise.
87536         * math/w_acoshf.c: Likewise.
87537         * math/w_acoshl.c: Likewise.
87538         * math/w_asin.c: Likewise.
87539         * math/w_asinf.c: Likewise.
87540         * math/w_asinl.c: Likewise.
87541         * math/w_atan2.c: Likewise.
87542         * math/w_atan2f.c: Likewise.
87543         * math/w_atan2l.c: Likewise.
87544         * math/w_atanh.c: Likewise.
87545         * math/w_atanhf.c: Likewise.
87546         * math/w_atanhl.c: Likewise.
87547         * math/w_exp10.c: Likewise.
87548         * math/w_exp10f.c: Likewise.
87549         * math/w_exp10l.c: Likewise.
87550         * math/w_fmod.c: Likewise.
87551         * math/w_fmodf.c: Likewise.
87552         * math/w_fmodl.c: Likewise.
87553         * math/w_j0.c: Likewise.
87554         * math/w_j0f.c: Likewise.
87555         * math/w_j0l.c: Likewise.
87556         * math/w_j1.c: Likewise.
87557         * math/w_j1f.c: Likewise.
87558         * math/w_j1l.c: Likewise.
87559         * math/w_jn.c: Likewise.
87560         * math/w_jnf.c: Likewise.
87561         * math/w_log.c: Likewise.
87562         * math/w_logf.c: Likewise.
87563         * math/w_logl.c: Likewise.
87564         * math/w_log10.c: Likewise.
87565         * math/w_log10f.c: Likewise.
87566         * math/w_log10l.c: Likewise.
87567         * math/w_log2.c: Likewise.
87568         * math/w_log2f.c: Likewise.
87569         * math/w_log2l.c: Likewise.
87570         * math/w_pow.c: Likewise.
87571         * math/w_powf.c: Likewise.
87572         * math/w_powl.c: Likewise.
87573         * math/w_remainder.c: Likewise.
87574         * math/w_remainderf.c: Likewise.
87575         * math/w_remainderl.c: Likewise.
87576         * math/w_scalb.c: Likewise.
87577         * math/w_scalbf.c: Likewise.
87578         * math/w_scalbl.c: Likewise.
87579         * math/w_sqrt.c: Likewise.
87580         * math/w_sqrtf.c: Likewise.
87581         * math/w_sqrtl.c: Likewise.
87582         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87583         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87584         used.
87585         * math/math_private.h: Declare __kernel_standard_f.
87586         * math/w_cosh.c: Remove cruft and optimize a bit.
87587         * math/w_coshf.c: Likewise.
87588         * math/w_coshl.c: Likewise.
87589         * math/w_exp2.c: Likewise.
87590         * math/w_exp2f.c: Likewise.
87591         * math/w_exp2l.c: Likewise.
87592         * math/w_hypot.c: Likewise.
87593         * math/w_hypotf.c: Likewise.
87594         * math/w_hypotl.c: Likewise.
87595         * math/w_lgamma.c: Likewise.
87596         * math/w_lgamma_r.c: Likewise.
87597         * math/w_lgammaf.c: Likewise.
87598         * math/w_lgammaf_r.c: Likewise.
87599         * math/w_lgammal.c: Likewise.
87600         * math/w_lgammal_r.c: Likewise.
87601         * math/w_sinh.c: Likewise.
87602         * math/w_sinhf.c: Likewise.
87603         * math/w_sinhl.c: Likewise.
87604         * math/w_tgamma.c: Likewise.
87605         * math/w_tgammaf.c: Likewise.
87606         * math/w_tgammal.c: Likewise.
87607         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87608         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87609         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87610         Minor optimizations.  Pretty printing.  Remove cruft.
87611         * sysdeps/i386/fpu/e_acosf.S: Likewise.
87612         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87613         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87614         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87615         * sysdeps/i386/fpu/e_acosl.c: Likewise.
87616         * sysdeps/i386/fpu/e_asin.S: Likewise.
87617         * sysdeps/i386/fpu/e_asinf.S: Likewise.
87618         * sysdeps/i386/fpu/e_atan2.S: Likewise.
87619         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
87620         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
87621         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87622         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87623         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87624         * sysdeps/i386/fpu/e_exp10.S: Likewise.
87625         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
87626         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
87627         * sysdeps/i386/fpu/e_exp2.S: Likewise.
87628         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
87629         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
87630         * sysdeps/i386/fpu/e_fmod.S: Likewise.
87631         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
87632         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
87633         * sysdeps/i386/fpu/e_hypot.S: Likewise.
87634         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
87635         * sysdeps/i386/fpu/e_log.S: Likewise.
87636         * sysdeps/i386/fpu/e_log10.S: Likewise.
87637         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87638         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87639         * sysdeps/i386/fpu/e_log2.S: Likewise.
87640         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87641         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87642         * sysdeps/i386/fpu/e_logf.S: Likewise.
87643         * sysdeps/i386/fpu/e_logl.S: Likewise.
87644         * sysdeps/i386/fpu/e_pow.S: Likewise.
87645         * sysdeps/i386/fpu/e_powf.S: Likewise.
87646         * sysdeps/i386/fpu/e_powl.S: Likewise.
87647         * sysdeps/i386/fpu/e_remainder.S: Likewise.
87648         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
87649         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
87650         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87651         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87652         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87653         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
87654         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
87655         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
87656         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87657         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87659         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87660         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87661         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87662         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
87663         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87664         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87665         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87666         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87667         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87668         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87669         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87670         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87672         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87673         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87674         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87675         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87676         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87677         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87678         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87679         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87680         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87681         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87682         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87683         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87684         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87685         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87686         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87687         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87688         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87689         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87690         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87691         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87692         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87693         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87694         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87695         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87696         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87697         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87698         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87699         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87700         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87701         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87702         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87703         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87704         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87705         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
87706         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87707         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87708         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87709         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87710         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87711         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87712         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87713         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87714         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87715         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87716         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87717         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87718         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87719         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87720         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87721         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87722         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87723         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87724         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
87725         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87726         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87727         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87728         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87729         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87730         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87731         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87732         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87733         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87734         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87735         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87736         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87737         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87738         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
87739         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87740         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87741         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87742         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87743         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87744         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87745         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87746         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87747         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87748         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87749         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
87750         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87751         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87752         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87753         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
87754         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
87755         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
87756         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
87757         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
87758         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
87759         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
87760         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87761         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87762         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87763         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87764         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
87765         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87766         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
87767         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
87768         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
87769         (__isnanf): Likewise.
87770         (__isinf_ns): Likewise.
87771         (__isinf_nsf): Likewise.
87772         (__finite): Likewise.
87773         (__finitef): Likewise.
87774         (__ieee754_sqrt): Define as macro.
87775         (__ieee754_sqrtf): Define as macro.
87776         (__ieee754_sqrtl): Define as macro.
87777         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
87778         inlined copy.
87779         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
87780         __FINITE_MATH_ONLY__ consistent.
87781         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
87783 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
87785         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
87786         of rawmemchr.
87788         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
87790 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
87792         * po/ja.po: Update from translation team.
87794 2011-10-08  Roland McGrath  <roland@hack.frob.com>
87796         * locale/programs/locarchive.c (prepare_address_space): New function.
87797         (create_archive, enlarge_archive, open_archive): Use it.
87799         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
87800         inside [SHARED], where it is used.
87802         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
87804         * nss/getent.c (netgroup_keys): Remove unused variable.
87805         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87807 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
87809         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
87810         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
87811         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
87812         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
87813         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
87814         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
87815         * math/Makefile (libm-calls): Add s_isinf_ns.
87816         * math/divtc3.c: Use __isinf_nsl instead of isinf.
87817         * math/multc3.c: Likewise.
87818         * math/s_casin.c: Likewise.
87819         * math/s_casinf.c: Likewise.
87820         * math/s_casinl.c: Likewise.
87821         * math/s_ccos.c: Likewise.
87822         * math/s_ccosf.c: Likewise.
87823         * math/s_ccosl.c: Likewise.
87824         * math/s_ctan.c: Likewise.
87825         * math/s_ctanf.c: Likewise.
87826         * math/s_ctanh.c: Likewise.
87827         * math/s_ctanhf.c: Likewise.
87828         * math/s_ctanhl.c: Likewise.
87829         * math/s_ctanl.c: Likewise.
87830         * math/w_fmod.c: Likewise.
87831         * math/w_fmodf.c: Likewise.
87832         * math/w_fmodl.c: Likewise.
87833         * math/w_remainder.c: Likewise.
87834         * math/w_remainderf.c: Likewise.
87835         * math/w_remainderl.c: Likewise.
87836         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
87837         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
87838         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
87839         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
87840         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
87841         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
87842         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
87843         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
87845         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
87846         of the number.
87847         * stdio-common/printf_fphex.c: Likewise.
87848         * stdio-common/printf_size.c: Likewise.
87850         * math/e_exp10.c: Include math_private.h using <...> not "...".
87851         * math/e_exp10f.c: Likewise.
87852         * math/e_exp10l.c: Likewise.
87853         * math/e_exp2l.c: Likewise.
87854         * math/e_j0l.c: Likewise.
87855         * math/e_j1l.c: Likewise.
87856         * math/e_jnl.c: Likewise.
87857         * math/e_lgammal_r.c: Likewise.
87858         * math/e_rem_pio2l.c: Likewise.
87859         * math/e_scalb.c: Likewise.
87860         * math/e_scalbf.c: Likewise.
87861         * math/e_scalbl.c: Likewise.
87862         * math/k_cosl.c: Likewise.
87863         * math/k_sinl.c: Likewise.
87864         * math/k_tanl.c: Likewise.
87865         * math/s_cacoshf.c: Likewise.
87866         * math/s_catan.c: Likewise.
87867         * math/s_catanf.c: Likewise.
87868         * math/s_catanh.c: Likewise.
87869         * math/s_catanhf.c: Likewise.
87870         * math/s_catanhl.c: Likewise.
87871         * math/s_catanl.c: Likewise.
87872         * math/s_ccosh.c: Likewise.
87873         * math/s_ccoshf.c: Likewise.
87874         * math/s_ccoshl.c: Likewise.
87875         * math/s_cexp.c: Likewise.
87876         * math/s_cexpf.c: Likewise.
87877         * math/s_cexpl.c: Likewise.
87878         * math/s_clog.c: Likewise.
87879         * math/s_clog10.c: Likewise.
87880         * math/s_clog10f.c: Likewise.
87881         * math/s_clog10l.c: Likewise.
87882         * math/s_clogf.c: Likewise.
87883         * math/s_clogl.c: Likewise.
87884         * math/s_csin.c: Likewise.
87885         * math/s_csinf.c: Likewise.
87886         * math/s_csinh.c: Likewise.
87887         * math/s_csinhf.c: Likewise.
87888         * math/s_csinhl.c: Likewise.
87889         * math/s_csinl.c: Likewise.
87890         * math/s_csqrt.c: Likewise.
87891         * math/s_csqrtf.c: Likewise.
87892         * math/s_csqrtl.c: Likewise.
87893         * math/s_ctan.c: Likewise.
87894         * math/s_ctanf.c: Likewise.
87895         * math/s_ctanh.c: Likewise.
87896         * math/s_ctanhf.c: Likewise.
87897         * math/s_ctanhl.c: Likewise.
87898         * math/s_ctanl.c: Likewise.
87899         * math/s_ldexp.c: Likewise.
87900         * math/s_ldexpf.c: Likewise.
87901         * math/s_ldexpl.c: Likewise.
87902         * math/s_significand.c: Likewise.
87903         * math/s_significandf.c: Likewise.
87904         * math/s_significandl.c: Likewise.
87905         * math/w_acos.c: Likewise.
87906         * math/w_acosf.c: Likewise.
87907         * math/w_acosh.c: Likewise.
87908         * math/w_acoshf.c: Likewise.
87909         * math/w_acoshl.c: Likewise.
87910         * math/w_acosl.c: Likewise.
87911         * math/w_asin.c: Likewise.
87912         * math/w_asinf.c: Likewise.
87913         * math/w_asinl.c: Likewise.
87914         * math/w_atan2.c: Likewise.
87915         * math/w_atan2f.c: Likewise.
87916         * math/w_atan2l.c: Likewise.
87917         * math/w_atanh.c: Likewise.
87918         * math/w_atanhf.c: Likewise.
87919         * math/w_atanhl.c: Likewise.
87920         * math/w_cosh.c: Likewise.
87921         * math/w_coshf.c: Likewise.
87922         * math/w_coshl.c: Likewise.
87923         * math/w_dremf.c: Likewise.
87924         * math/w_exp10.c: Likewise.
87925         * math/w_exp10f.c: Likewise.
87926         * math/w_exp10l.c: Likewise.
87927         * math/w_exp2.c: Likewise.
87928         * math/w_exp2f.c: Likewise.
87929         * math/w_fmod.c: Likewise.
87930         * math/w_fmodf.c: Likewise.
87931         * math/w_fmodl.c: Likewise.
87932         * math/w_hypot.c: Likewise.
87933         * math/w_hypotf.c: Likewise.
87934         * math/w_hypotl.c: Likewise.
87935         * math/w_j0.c: Likewise.
87936         * math/w_j0f.c: Likewise.
87937         * math/w_j0l.c: Likewise.
87938         * math/w_j1.c: Likewise.
87939         * math/w_j1f.c: Likewise.
87940         * math/w_j1l.c: Likewise.
87941         * math/w_jn.c: Likewise.
87942         * math/w_jnf.c: Likewise.
87943         * math/w_jnl.c: Likewise.
87944         * math/w_lgamma.c: Likewise.
87945         * math/w_lgamma_r.c: Likewise.
87946         * math/w_lgammaf.c: Likewise.
87947         * math/w_lgammaf_r.c: Likewise.
87948         * math/w_lgammal.c: Likewise.
87949         * math/w_lgammal_r.c: Likewise.
87950         * math/w_log.c: Likewise.
87951         * math/w_log10.c: Likewise.
87952         * math/w_log10f.c: Likewise.
87953         * math/w_log10l.c: Likewise.
87954         * math/w_log2.c: Likewise.
87955         * math/w_log2f.c: Likewise.
87956         * math/w_log2l.c: Likewise.
87957         * math/w_logf.c: Likewise.
87958         * math/w_logl.c: Likewise.
87959         * math/w_pow.c: Likewise.
87960         * math/w_powf.c: Likewise.
87961         * math/w_powl.c: Likewise.
87962         * math/w_remainder.c: Likewise.
87963         * math/w_remainderf.c: Likewise.
87964         * math/w_remainderl.c: Likewise.
87965         * math/w_scalb.c: Likewise.
87966         * math/w_scalbf.c: Likewise.
87967         * math/w_scalbl.c: Likewise.
87968         * math/w_sinh.c: Likewise.
87969         * math/w_sinhf.c: Likewise.
87970         * math/w_sinhl.c: Likewise.
87971         * math/w_sqrt.c: Likewise.
87972         * math/w_sqrtf.c: Likewise.
87973         * math/w_sqrtl.c: Likewise.
87974         * math/w_tgamma.c: Likewise.
87975         * math/w_tgammaf.c: Likewise.
87976         * math/w_tgammal.c: Likewise.
87978         * po/ja.po: Update from translation team.
87980 2011-09-29  Andreas Jaeger  <aj@suse.de>
87982         [BZ #13179]
87983         * sunrpc/netname.c (netname2host): Fix logic.
87985         [BZ #6779]
87986         [BZ #6783]
87987         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
87988         correctly.
87989         * math/w_remainder.c (__remainder): Likewise.
87990         * math/w_remainderf.c (__remainderf): Likewise.
87991         * math/libm-test.inc (remainder_test): Add test cases.
87993 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87995         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
87996         sdiv_qrnnd.
87998 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88000         * string/test-memcmp.c: Avoid unncessary #defines.
88001         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88003 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88005         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88006         Use new sse2 version for core i3 - i7 as it's faster
88007         than sse42 version.
88008         (bit_Prefer_PMINUB_for_stringop): New.
88009         * sysdeps/x86_64/rawmemchr.S: Update.
88010         Replace with faster SSE2 version.
88011         * sysdeps/x86_64/memrchr.S: New file.
88012         * sysdeps/x86_64/memchr.S: Update.
88013         Replace with faster SSE2 version.
88015 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88017         * elf/dl-load.c (lose): Add cast to avoid warning.
88019 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88021         * po/ca.po: Update from translation team.
88023         * inet/getnetgrent_r.c: Hook up nscd.
88024         * nscd/Makefile (routines): Add nscd_netgroup.
88025         (nscd-modules): Add netgroupcache.
88026         (CFLAGS-netgroupcache.c): Define.
88027         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88028         (cache_search): Add const to second parameter.
88029         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88030         INNETGR.
88031         (dbs): Add netgrdb entry.
88032         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88033         (verify_persistent_db): Handle netgrdb.
88034         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88035         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88036         GETFDNETGR.
88037         (netgroup_response_header): Define.
88038         (innetgroup_response_header): Define.
88039         (datahead): Add netgroup_response_header and innetgroup_response_header
88040         elements.
88041         * nscd/nscd.conf: Add entries for netgroup cache.
88042         * nscd/nscd.h (dbtype): Add netgrdb.
88043         (_PATH_NSCD_NETGROUP_DB): Define.
88044         (netgroup_iov_disabled): Declare.
88045         (xmalloc, xcalloc, xrealloc): Move declarations here.
88046         (cache_search): Adjust prototype.
88047         Add netgroup-related prototypes.
88048         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88049         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88050         (__nscd_innetgr): Declare.
88051         * nscd/selinux.c (perms): Use access_vector_t as element type and
88052         add netgroup-related initializers.
88053         * nscd/netgroupcache.c: New file.
88054         * nscd/nscd_netgroup.c: New file.
88055         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88056         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88057         For four parameters use innetgr.
88058         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88059         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88060         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88061         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88063         * nscd/connections.c (register_traced_file): Don't register file
88064         for disabled databases.
88066 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88068         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88070         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88071         from tree and freeing node.
88073 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88075         * nss/nsswitch.c (__nss_database_lookup): Handle
88076         nss_parse_service_list out of memory case.
88078 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88080         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88081         out of memory case.
88083 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88085         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88086         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88087         pass it down.
88088         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88089         elf_machine_rela, elf_machine_lazy_rel.
88090         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88091         (ELF_DYNAMIC_DO_REL): Likewise.
88092         (ELF_DYNAMIC_DO_RELA): Likewise.
88093         (ELF_DYNAMIC_RELOCATE): Likewise.
88094         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88095         to ELF_DYNAMIC_DO_REL.
88096         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88097         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88098         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88099         elf_machine_rela.
88100         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88101         skip_ifunc, don't call ifunc function if non-zero.
88102         (elf_machine_rela): Likewise.
88103         (elf_machine_lazy_rel): Likewise.
88104         (elf_machine_lazy_rela): Likewise.
88105         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88106         (elf_machine_lazy_rel): Likewise.
88107         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88108         Likewise.
88109         (elf_machine_lazy_rel): Likewise.
88110         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88111         Likewise.
88112         (elf_machine_lazy_rel): Likewise.
88113         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88114         (elf_machine_lazy_rel): Likewise.
88115         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88116         (elf_machine_lazy_rel): Likewise.
88117         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88118         (elf_machine_lazy_rel): Likewise.
88119         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88120         (elf_machine_lazy_rel): Likewise.
88121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88122         (elf_machine_lazy_rel): Likewise.
88123         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88124         (elf_machine_lazy_rel): Likewise.
88126 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
88128         * nss/nss_files/files-init.c (_nss_files_init): Use static
88129         initialization for all the *_traced_file variables.
88131 2011-09-28  Andreas Schwab  <schwab@redhat.com>
88133         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88135 2011-09-27  Roland McGrath  <roland@hack.frob.com>
88137         [BZ #13226]
88138         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88140 2011-09-27  Andreas Schwab  <schwab@redhat.com>
88142         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88143         Reread the line before reparsing it.
88145 2011-09-26  Andreas Schwab  <schwab@redhat.com>
88147         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88149 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
88150             Maxim Kuvyrkov  <maxim@codesourcery.com>
88151             Joseph Myers  <joseph@codesourcery.com>
88153         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88154         if needed for __stack_chk_guard.
88156 2011-09-19  Roland McGrath  <roland@hack.frob.com>
88158         * sysdeps/posix/spawni.c (script_execute): Always define it.
88159         It will be optimized away if unused.
88160         (maybe_script_execute): New function.
88161         (__spawni): Call it.
88163         * Makerules: Don't include tls.make.
88164         (config-tls): Always set to thread.
88165         * tls.make.c: File removed.
88167 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
88169         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88170         * config.make.in (CPPFLAGS-config): New substituted variable.
88172 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88174         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88176         [BZ #13192]
88177         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88178         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88180 2011-09-15  Roland McGrath  <roland@hack.frob.com>
88182         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88183         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88184         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88185         (CALL_FAIL): Likewise.
88186         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88187         (CALL_FAIL): Macro removed.
88188         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88190 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88192         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88193         for __FINITE_MATH_ONLY__ == 1.
88195 2011-09-15  Andreas Schwab  <schwab@redhat.com>
88197         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88198         __ieee754_sqrt instead of sqrt.
88199         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88200         __ieee754_sqrtf instead of sqrtf.
88201         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88202         __floorf instead of floorf.
88203         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88204         __floorf, __truncf instead of floorf, truncf.
88206 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
88208         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88210         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88211         __extern_always_inline.
88212         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88213         32-bit.
88215 2011-09-14  Andreas Schwab  <schwab@redhat.com>
88217         * elf/rtld.c (dl_main): Also relocate in dependency order when
88218         doing symbol dependency testing.
88220 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
88222         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88223         Always define `refsym'.
88225 2011-09-13  Andreas Schwab  <schwab@redhat.com>
88227         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88228         (__FD_ELT): Renamed from __FDELT.
88229         * misc/bits/select2.h (__FD_ELT): Likewise.
88230         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
88231         __FD_MASK instead of __FDELT, __FDMASK.
88232         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88233         Likewise.
88234         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88235         Likewise.
88237         * elf/Makefile (gen-ldd): Fix pattern.
88239         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
88240         (init_tls): Likewise.
88242 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
88244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
88246 2011-09-12  Andreas Schwab  <schwab@redhat.com>
88248         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
88249         `struct cmsghdr *' instead of `void *'.
88250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
88251         Likewise.
88253 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
88255         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
88256         if non-absolute.
88257         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
88258         ldd_rewrite_script.
88260 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
88262         * configure.in: Remove --with-tls option.
88263         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
88264         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
88265         out in case it is missing.
88266         * sysdeps/ia64/elf/configure.in: Likewise.
88267         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
88268         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
88269         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
88270         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
88271         * sysdeps/sh/elf/configure.in: Likewise.
88272         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
88273         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88274         * sysdeps/x86_64/elf/configure.in: Likewise.
88275         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
88276         * sysdeps/mach/hurd/tls.h: Likewise.
88278         [BZ #13067]
88279         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
88281         [BZ #13090]
88282         * configure.in: Fix use of AC_INIT.
88284         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
88286 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
88288         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
88289         __set_errno.
88290         * malloc/hooks.c: Likewise.
88292         [BZ #11929]
88293         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
88294         variables statically.
88295         (narenas): Initialize.
88296         (list_lock): Initialize.
88297         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
88298         initializtion of main_arena and list_lock.  Small cleanups.
88299         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
88300         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
88301         Add initializers to main_arena and mp_.
88302         (malloc_state): Remove pagesize member.  Change all users to use
88303         GLRO(dl_pagesize).
88305         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
88306         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
88307         is always initialized.
88309         * malloc/malloc.c: Removed unused configurations and dead code.
88310         * malloc/arena.c: Likewise.
88311         * malloc/hooks.c: Likewise.
88312         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
88314         * include/tls.h: Removed.  USE___THREAD must always be defined.
88315         * bits/libc-tsd.h: Don't handle !USE___THREAD.
88316         * elf/dl-libc.c: Likewise.
88317         * elf/dl-tsd.c: Likewise.
88318         * include/errno.h: Likewise.
88319         * include/netdb.h: Likewise.
88320         * include/resolv.h: Likewise.
88321         * inet/herrno-loc.c: Likewise.
88322         * inet/herrno.c: Likewise.
88323         * malloc/arena.c: Likewise.
88324         * malloc/hooks.c: Likewise.
88325         * malloc/malloc.c: Likewise.
88326         * resolv/res-state.c: Likewise.
88327         * resolv/res_libc.c: Likewise.
88328         * sysdeps/i386/dl-machine.h: Likewise.
88329         * sysdeps/ia64/dl-machine.h: Likewise.
88330         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
88331         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
88332         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
88333         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
88334         * sysdeps/sh/dl-machine.h: Likewise.
88335         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
88336         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
88337         * sysdeps/unix/i386/sysdep.S: Likewise.
88338         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
88339         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
88340         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
88341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
88342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
88343         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
88344         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
88345         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
88346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
88348         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88349         * sysdeps/x86_64/dl-machine.h: Likewise.
88350         * tls.make.c: Likewise.
88352         * configure.in: Remove --with-__thread option.  Make tests for
88353         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
88354         tls_model attribute fail if no support is available.  Remove
88355         USE_IN_LIBIO.
88356         * Makeconfig: Adjust for dropped configure option.  All features are
88357         now mandatory.
88358         * Makerules: Likewise.
88359         * Versions.def: Likewise.
88360         * argp/argp-fmtstream.c: Likewise.
88361         * argp/argp-fmtstream.h: Likewise.
88362         * argp/argp-help.c: Likewise.
88363         * assert/assert.c: Likewise.
88364         * config.h.in: Likewise.
88365         * config.make.in: Likewise.
88366         * configure: Likewise.
88367         * configure.in: Likewise.
88368         * csu/Versions: Likewise.
88369         * csu/init.c: Likewise.
88370         * elf/tst-audit2.c: Likewise.
88371         * elf/tst-tls10.c: Likewise.
88372         * elf/tst-tls10.h: Likewise.
88373         * elf/tst-tls11.c: Likewise.
88374         * elf/tst-tls12.c: Likewise.
88375         * elf/tst-tls14.c: Likewise.
88376         * elf/tst-tlsmod11.c: Likewise.
88377         * elf/tst-tlsmod12.c: Likewise.
88378         * elf/tst-tlsmod13.c: Likewise.
88379         * elf/tst-tlsmod13a.c: Likewise.
88380         * elf/tst-tlsmod14a.c: Likewise.
88381         * elf/tst-tlsmod15b.c: Likewise.
88382         * elf/tst-tlsmod16a.c: Likewise.
88383         * elf/tst-tlsmod16b.c: Likewise.
88384         * elf/tst-tlsmod7.c: Likewise.
88385         * elf/tst-tlsmod8.c: Likewise.
88386         * elf/tst-tlsmod9.c: Likewise.
88387         * gmon/gmon.c: Likewise.
88388         * grp/fgetgrent_r.c: Likewise.
88389         * grp/putgrent.c: Likewise.
88390         * hurd/fopenport.c: Likewise.
88391         * include/libc-symbols.h: Likewise.
88392         * include/tls.h: Likewise.
88393         * intl/gettextP.h: Likewise.
88394         * intl/loadinfo.h: Likewise.
88395         * locale/global-locale.c: Likewise.
88396         * locale/localeinfo.h: Likewise.
88397         * mach/devstream.c: Likewise.
88398         * malloc/arena.c: Likewise.
88399         * malloc/set-freeres.c: Likewise.
88400         * misc/err.c: Likewise.
88401         * misc/getttyent.c: Likewise.
88402         * misc/mntent_r.c: Likewise.
88403         * posix/getopt.c: Likewise.
88404         * posix/wordexp.c: Likewise.
88405         * pwd/fgetpwent_r.c: Likewise.
88406         * resolv/Versions: Likewise.
88407         * resolv/res_hconf.c: Likewise.
88408         * shadow/fgetspent_r.c: Likewise.
88409         * shadow/putspent.c: Likewise.
88410         * stdio-common/printf_fphex.c: Likewise.
88411         * stdio-common/tmpfile.c: Likewise.
88412         * stdlib/abort.c: Likewise.
88413         * stdlib/fmtmsg.c: Likewise.
88414         * sunrpc/auth_unix.c: Likewise.
88415         * sunrpc/clnt_perr.c: Likewise.
88416         * sunrpc/clnt_tcp.c: Likewise.
88417         * sunrpc/clnt_udp.c: Likewise.
88418         * sunrpc/clnt_unix.c: Likewise.
88419         * sunrpc/openchild.c: Likewise.
88420         * sunrpc/svc_simple.c: Likewise.
88421         * sunrpc/svc_tcp.c: Likewise.
88422         * sunrpc/svc_udp.c: Likewise.
88423         * sunrpc/svc_unix.c: Likewise.
88424         * sunrpc/xdr.c: Likewise.
88425         * sunrpc/xdr_array.c: Likewise.
88426         * sunrpc/xdr_rec.c: Likewise.
88427         * sunrpc/xdr_ref.c: Likewise.
88428         * sunrpc/xdr_stdio.c: Likewise.
88430 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88432         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88434 2011-07-03  Andreas Jaeger  <aj@suse.de>
88436         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
88437         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
88438         regenerate with gen-libm-tests.pl.
88440 2010-05-12  Petr Baudis  <pasky@suse.cz>
88442         [BZ #11589]
88443         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
88444         around j0() zero points by switching to j1().
88445         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88446         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88448         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88450 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88452         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
88453         instead of 0.
88454         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
88455         instead of 0.
88456         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88457         Patch in part by Pavel Roskin <proski@gnu.org>.
88459         [BZ #13138]
88460         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
88461         realloc.
88462         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
88463         Free memory block if necessary.
88465         [BZ #12847]
88466         * libio/genops.c (INTDEF): For string streams the _lock pointer can
88467         be NULL.  Don't lock in this case.
88469 2011-09-09  Roland McGrath  <roland@hack.frob.com>
88471         * elf/elf.h (ELFOSABI_GNU): New macro.
88472         (ELFOSABI_LINUX): Define to that.
88474 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
88476         * string/strncat.c (strncat): Undef the symbol in case it has been
88477         defined in bits/string.h.
88479 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88481         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
88483         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
88484         link map.
88486 2011-08-17  Andreas Jaeger  <aj@suse.de>
88488         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
88490 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
88491             Ian Lance Taylor  <iant@google.com>
88493         * math/libm-test.inc (lround_test): New testcase.
88494         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
88496 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
88498         * Makefile: Remove support for automatic cvs check-ins.
88499         * Makerules: Likewise.
88500         * config.make.in: Likewise.
88501         * configure.in: Likewise.
88502         * intl/Makefile: Likewise.
88503         * locale/Makefile: Likewise.
88504         * po/Makefile: Likewise.
88505         * posix/Makefile: Likewise.
88506         * sysdeps/gnu/Makefile: Likewise.
88507         * sysdeps/mach/hurd/Makefile: Likewise.
88508         * sysdeps/sparc/sparc32/Makefile: Likewise.
88510         [BZ #13118]
88511         * posix/Makefile (bug-regex32-ENV): Define.
88512         Patch by John Stanley <jpsinthemix@verizon.net>.
88514         * misc/Makefile (headers): Add bits/select2.h.
88515         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
88516         * misc/bits/select2.h: New file.
88517         * include/bits/select2.h: New file.
88518         * debug/Makefile (routines): Add fdelt_chk.
88519         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
88520         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
88521         FD_ISSET.
88522         * debug/fdelt_chk.c: New file.
88524         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
88525         * wcsmbs/test-wmemcmp.c: Likewise.
88526         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
88527         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
88529 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88531         * string/Makefile (strop-tests): Add memcmp.
88532         * string/test-wmemcmp.c: New file.
88533         * string/test-memcmp.c: Add wmemcmp support.
88535 2011-09-08  Roland McGrath  <roland@hack.frob.com>
88537         [BZ #13153]
88538         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
88539         2011-07-19 change.
88541         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
88542         garbage value in a __mach_port_mod_refs call in the cases of the
88543         task-self and thread-self ports.
88545 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88547         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
88549 2011-09-08  Andreas Schwab  <schwab@redhat.com>
88551         * elf/dl-load.c (lose): Check for non-null L.
88553 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88555         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
88557         * elf/dl-libc.c (dlerror_run): Pass back error code from
88558         dl_catch_error.
88560         [BZ #13123]
88561         * elf/dl-load.c (lose): Free l_origin if it is valid.
88563         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88564         names.
88565         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88566         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88567         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88568         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88569         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88570         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88572 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88574         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88575         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88576         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88577         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88578         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88579         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88580         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88581         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88582         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88583         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88585 2011-08-15  Alan Modra  <amodra@gmail.com>
88587         [BZ #13092]
88588         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88589         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88590         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88591         ppc_mcount to static-only-routines.
88592         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88593         __mcount_internal.
88594         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88595         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88597 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88599         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88600         for finite and infinity parameters.
88602 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88604         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88605         and add nop instructions for throughput optimization.
88606         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88608 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
88610         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88611         aligned copy for power7 with vector-scalar instructions.
88612         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88614 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
88616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88617         AVX check.
88619 2011-09-07  Andreas Schwab  <schwab@redhat.com>
88621         [BZ #13144]
88622         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
88623         last change.
88625 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88627         * sysdeps/unix/sysv/linux/x86_64/init-first.c
88628         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
88629         syscall wrapper around clock_gettime in __vdso_clock_gettime.
88630         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
88631         clock_gettime.
88633 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88635         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
88636         Forgot to demangle the pointer.
88638         * sysdeps/i386/sysdep.h: Define atom_text_section.
88639         * sysdeps/x86_64/sysdep.h: Likewise.
88640         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
88641         section with atom_text_section.
88642         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88643         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88644         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
88645         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88646         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
88648         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
88649         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
88650         already be defined.  Change to take two parameters and don't assign
88651         result to variable.  Adjust all users.
88652         Define INTERNAL_GETTIME if not already defined.
88653         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
88654         call.
88655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
88656         HAVE_CLOCK_GETTIME_VSYSCALL.
88657         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
88659         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
88660         gettimeofday vsyscall, just use time.
88662 2011-09-06  Andreas Schwab  <schwab@redhat.com>
88664         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
88665         <errno.h>.
88667 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88669         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
88670         syscall on x86-64.
88671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
88672         syscall.
88673         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
88674         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
88675         syscall if possible.
88677 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88679         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
88680         e_ident.  Don't pass to find_mapsXX.
88681         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
88683 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88686         strchr-sse2-no-bsf strrchr-sse2-no-bsf
88687         * sysdeps/x86_64/multiarch/strchr.S: Update.
88688         Check bit_slow_BSF bit.
88689         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
88690         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
88691         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
88693 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88695         [BZ #13134]
88696         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
88697         before glibc 2.15.
88698         (tryshell): Define.
88699         (__spawni): Change last parameter to be flag.  Test
88700         SPAWN_XFLAGS_USE_PATH flag to use path or not.
88701         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
88702         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
88703         * posix/spawni.c: Likewise.
88704         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
88705         * posix/spawnp.c: Likewise.  Change normal version to use
88706         SPAWN_XFLAGS_USE_PATH.
88707         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
88708         SPAWN_XFLAGS_TRY_SHELL.
88710         [BZ #13150]
88711         * posix/glob.h: Remove gcc 1.x support.
88713         [BZ #13068]
88714         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
88716 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88718         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88719         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
88720         strrchr-sse2-bsf
88721         * sysdeps/i386/i686/multiarch/strchr.S: New file.
88722         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
88723         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
88724         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
88725         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
88726         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
88728 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88730         * sysdeps/x86_64/wcscmp.S: New file.
88732         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
88733         wcscmp-c wcscmp-sse2
88734         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
88735         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
88736         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
88737         * wcsmbs/wcscmp.c: Allow renaming.
88739 2011-09-05  David S. Miller  <davem@davemloft.net>
88741         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
88742         stack slot, rather than the struct return pointer slot.
88743         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
88744         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
88745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
88746         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
88748 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88750         * po/ja.po: Update from translation team.
88752         [BZ #13144]
88753         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
88754         kernel in 64-bit binaries.
88756 2011-09-01  David S. Miller  <davem@davemloft.net>
88758         * elf/elf.h (HWCAP_SPARC_*): Move to..
88759         * sysdeps/sparc/sysdep.h: this new file and add new values.
88760         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
88761         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
88762         _DL_HWCAP_COUNT to 24.
88763         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
88764         entries.
88765         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
88766         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
88767         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
88768         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
88769         instead of magic constants.
88770         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88772 2011-08-31  David S. Miller  <davem@davemloft.net>
88774         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
88775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
88776         Reimplement to do errno handling inline.
88777         (SYSCALL_ERROR_HANDLER): New macro.
88778         (__SYSCALL_STRING): Do not do errno handling in asm.
88779         (__CLONE_SYSCALL_STRING): Delete.
88780         (__INTERNAL_SYSCALL_STRING): Delete.
88781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
88782         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
88783         (PSEUDO): Reimplement to do errno handling inline.
88784         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
88785         (SYSCALL_ERROR_HANDLER): New macro.
88786         (__SYSCALL_STRING): Do not do errno handling in asm.
88787         (__CLONE_SYSCALL_STRING): Delete.
88788         (__INTERNAL_SYSCALL_STRING): Delete.
88789         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
88790         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
88791         i386.
88792         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
88793         (inline_syscall*): Add 'err' argument.
88794         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
88795         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
88796         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
88797         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
88799         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
88800         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
88802 2011-08-30  Andreas Schwab  <schwab@redhat.com>
88804         * elf/rtld.c (dl_main): Relocate objects in dependency order.
88806 2011-08-29  Jiri Olsa <jolsa@redhat.com>
88808         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
88809         directive.
88811 2011-08-24  David S. Miller  <davem@davemloft.net>
88813         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
88815 2011-08-24  Andreas Schwab  <schwab@redhat.com>
88817         * elf/Makefile: Add rules to build and run unload8 test.
88818         * elf/unload8.c: New file.
88819         * elf/unload8mod1.c: New file.
88820         * elf/unload8mod1x.c: New file.
88821         * elf/unload8mod2.c: New file.
88822         * elf/unload8mod3.c: New file.
88824         * elf/dl-close.c (_dl_close_worker): Reset private search list if
88825         it wasn't used.
88827 2011-08-23  David S. Miller  <davem@davemloft.net>
88829         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
88830         subtract stack bias.
88831         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
88832         %sp not %fp in calculations.
88833         (_JMPBUF_UNWINDS_ADJ): Likewise.
88835         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
88836         (aio_suspend): Call it to force an exception region around the
88837         AIO_MISC_WAIT() invocation.
88839 2011-08-23  Andreas Schwab  <schwab@redhat.com>
88841         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
88842         backslash.
88844 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
88846         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
88847         protection macro.
88848         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
88849         and <dl-machine.h>.
88850         (Elf64_FuncDesc): Remove.
88852 2011-08-22  David S. Miller  <davem@davemloft.net>
88854         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
88855         sigaltstack check, add missing cfi directives.
88856         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
88857         missing cfi directives, and sigaltstack handling.
88859 2011-08-16  Andreas Schwab  <schwab@redhat.com>
88861         [BZ #11724]
88862         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
88863         object is seen twice.
88864         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88866         * elf/Makefile (distribute): Add tst-initorder2.c.
88867         (tests): Add tst-initorder2.
88868         (modules-names): Add tst-initorder2a tst-initorder2b
88869         tst-initorder2c tst-initorder2d.  Add rules to build them.
88870         ($(objpfx)tst-initorder2.out): New rule.
88871         * elf/tst-initorder2.c: New file.
88872         * elf/tst-initorder2.exp: New file.
88874 2011-08-22  Andreas Schwab  <schwab@redhat.com>
88876         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
88878         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
88879         dependencies back to end of function.
88881         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88882         $(elfobjdir)/ld.so.
88884 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
88886         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
88887         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
88888         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
88889         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
88890         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
88891         of __vdso_gettimeofday.
88892         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
88893         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
88894         attribute_hidden.
88895         (_libc_vdso_platform_setup): Remove initialization of
88896         __vdso_gettimeofday and __vdso_time.
88898 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88900         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
88901         and fgetc_unlocked.
88902         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
88903         getc_unlocked.
88905         * elf/dl-open.c (add_to_global): Report additions to the global scope
88906         for LD_DEBUG=scopes.
88907         (dl_open_worker): Also print scope of newly loaded dependencies.
88908         (_dl_show_scope): Indicate if there is no scope.
88910         [BZ #13114]
88911         * stdio-common/Makefile (tests): Add bug24.
88912         * stdio-common/bug24.c: New file.
88914 2011-08-19  Andreas Jaeger  <aj@suse.de>
88916         [BZ #13114]
88917         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
88918         non-existant file when using close-on-exec mode.
88920 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88922         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
88923         the very first instruction.
88925         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
88926         the CFI state in the end.
88927         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
88928         inclusion of dl-trampoline.h.
88929         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
88931 2011-08-19  Andreas Schwab  <schwab@redhat.com>
88933         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
88934         expectations for long double.
88936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
88937         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
88939 2011-08-14  David S. Miller  <davem@davemloft.net>
88941         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
88942         artificual limit depends upon the system page size.
88944 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88946         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
88947         * resolv/Makefile: Define CFLAGS-libresolv.
88949 2011-08-17  Andreas Schwab  <schwab@redhat.com>
88951         * nss/makedb.c (compute_tables): Make variables used in nested
88952         function static.
88954 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88956         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
88957         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
88958         if buffer was too small.
88960         * elf/pldd.c (main): Attach to all threads in the process.
88961         Rewrite /proc handling to use *at functions.
88963 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
88965         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
88966         specifies first scope to show.
88967         (dl_open_worker): Update callers.  Move printing scope of new
88968         object to before the relocation.
88969         * elf/rtld.c (dl_main): Update _dl_show_scope call.
88970         * sysdeps/generic/ldsodefs.h: Update declaration.
88972         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
88973         string for the scope number.
88975 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
88977         * nscd/servicescache.c (cache_addserv): Make sure written is always
88978         initialized.
88980 2011-08-14  Roland McGrath  <roland@hack.frob.com>
88982         * sysdeps/i386/i486/bits/atomic.h
88983         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
88984         statement expression, so as to suppress "set but not used" warning.
88985         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
88987         * string/strncat.c (STRNCAT): Use prototype definition.
88989         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
88990         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
88991         -Iprograms here.
88992         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
88993         (localedef-modules): Add localedef.
88994         (locale-modules): Add locale.
88996         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
88997         * elf/rtld.c (dl_main): Invert order of assignment in last change,
88998         to avoid a warning.
89000 2011-08-14  David S. Miller  <davem@davemloft.net>
89002         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89003         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89005 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89007         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89008         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89009         * elf/rtld.c (dl_main): Set l_name of vDSO.
89010         Call _dl_show_scope when DL_DEBUG_SCOPES.
89011         (process_dl_debug): Recognize scopes flag and also set it for all.
89012         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89013         Declare _dl_show_scope.
89015         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89016         (do_dlopen): Pass caller_dlopen to dl_open.
89017         (__libc_dlopen_mode): Initialize caller_dlopen.
89019         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89020         of libc.  Make tolower call locale-independent.  Optimize a bit by
89021         using isdigit instead of isalnum.
89022         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89024 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89026         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89027         was a dependency or dynamically loaded.
89029 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89031         * intl/l10nflist.c: Allow architecture-specific pop function.
89032         * sysdeps/x86_64/l10nflist.c: New file.
89034         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89035         classification.
89037 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89039         * include/dirent.h: Add libc_hidden_proto for scandirat and
89040         scandirat64.  Don't declare __scandirat64.
89041         * dirent/scandirat.c: Add libc_hidden_def.
89042         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89043         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89045 2011-08-10  David S. Miller  <davem@davemloft.net>
89047         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89048         enum.
89049         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89050         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89051         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89053 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89055         * Versions.def [libc]: Add GLIBC_2.15.
89056         * dirent/Makefile (routines): Add scandirat and scandirat64.
89057         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89058         GLIBC_2.15.
89059         * dirent/dirent.h: Declare scandirat and scandirat64.
89060         * dirent/scandirat.c: New file.
89061         * dirent/scandirat64.c: New file.
89062         * sysdeps/wordsize-64/scandirat.c: New file.
89063         * sysdeps/wordsize-64/scandirat64.c: New file.
89064         * dirent/opendir.c: Define opendirat.
89065         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89066         using scandirat.
89067         * dirent/scandir64.c: Adjust for scandir.c change.
89068         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89069         __scandirat64, and __scandir_cancel_handler.
89070         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89071         additional parameter and use openat instead of open (outside of ld.so).
89072         Add new __opendir as wrapper around __opendirat.
89073         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89074         here without requiring old scandirat implementation.
89076 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89078         * dirent/scandir.c (cancel_handler): Renamed to
89079         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89080         defined.  Adjust users.
89081         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89082         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89084 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89086         * string/test-string.h (IMPL): Use __STRING to expand name and then
89087         stringify it.
89089         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89090         of cleanups.
89092 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89094         * string/Makefile: Update.
89095         (strop-tests): Append strncat.
89096         * string/test-wcscmp.c: New file.
89097         New comprehensive test for wcscmp.
89098         * string/test-strcmp.c: Update.
89099         (WIDE): New define.
89101 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89103         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89104         line.
89106 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89109         encoding to ACE if AI_IDN.
89111 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89113         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89114         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89116 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89118         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89119         Fix overflow bug in strncat.
89120         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89122         * string/test-strncat.c: Update.
89123         Add new tests for checking overflow bugs.
89125 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89127         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89128         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89129         * sysdeps/i386/i686/multiarch/strcat.S: New file.
89130         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89131         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89132         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89133         * sysdeps/i386/i686/multiarch/strncat.S: New file.
89134         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89135         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89137         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89138         (USE_AS_STRCAT): Define.
89139         Add strcat and strncat support.
89140         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89142 2011-07-25  Andreas Schwab  <schwab@redhat.com>
89144         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89145         __n bigger than INT_MAX+1.
89146         (__strncmp_g): Likewise.
89148 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
89150         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89151         * libio/stido.h: Likewise.
89153         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89154         (AF_NFC): Define.
89155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89156         (AF_NFC): Define.
89158         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89159         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89160         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89161         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89162         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89164         [BZ #13021]
89165         * scripts/test-installation.pl: Don't expect libnss_test1 to be
89166         installed.
89168         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89169         typo.
89170         (_dl_x86_64_save_sse): Likewise.
89172 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
89174         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89175         OSXSAVE.
89176         (_dl_x86_64_save_sse): Likewise.
89178         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89180         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89182 2011-07-21  Andreas Schwab  <schwab@redhat.com>
89184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89185         change.
89186         (_dl_x86_64_save_sse): Use correct AVX check.
89188 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89190         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89191         bug in strncpy/strncat.
89192         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89194 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
89196         * string/tester.c (test_strcat): Add tests for different alignments
89197         of source and destination.
89198         (test_strncat): Likewise.
89200 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89202         [BZ #12852]
89203         * posix/glob.c (glob): Check passed in values before using them in
89204         expressions to avoid some overflows.
89205         (glob_in_dir): Likewise.
89207         [BZ #13007]
89208         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89209         check for AVX enablement so that we don't crash with old kernels and
89210         new hardware.
89211         * elf/tst-audit4.c: Add same checks here.
89212         * elf/tst-audit6.c: Likewise.
89214         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89216 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
89218         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89220 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89222         * po/cs.po: Update from translation team.
89223         * po/bg.po: Likewise.
89225 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
89227         * misc/sys/cdefs.h: Add support for const attribute.
89228         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89229         to gnu_dev_{major,minor,makedev} functions.
89231 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
89233         * intl/dcigettext.c (get_output_charset): Add missing bracket.
89235 2011-07-20  Andreas Schwab  <schwab@redhat.com>
89237         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
89238         strlen results.
89240 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
89243         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
89244         register in order to avoid conflicts with the soft frame pointer
89245         being held in r11 when necessary.
89246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
89247         (INTERNAL_VSYSCALL_NCS): Likewise.
89249 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
89251         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
89252         * elf/dl-fini.c (_dl_fini): Adjust caller.
89253         * elf/dl-close.c (_dl_close_worker): Likewise.
89254         * sysdeps/generic/ldsodefs.h: Adjust declaration.
89256 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89258         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
89259         "aux_cache->nlibs < 0".
89261         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
89262         in the reload-count case.
89264 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89267         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
89268         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
89269         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
89270         * sysdeps/x86_64/multiarch/strcat.S: New file.
89271         * sysdeps/x86_64/multiarch/strncat.S: New file.
89272         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
89273         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
89274         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
89275         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
89276         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
89277         (USE_AS_STRCAT): Define.
89278         Add strcat and strncat support.
89279         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89280         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
89281         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
89282         * string/strncat.c: Update.
89283         (USE_AS_STRNCAT): Define.
89284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89285         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
89286         and i7.
89287         * sysdeps/x86_64/multiarch/init-arch.h
89288         (bit_Prefer_PMINUB_for_stringop): New.
89289         (index_Prefer_PMINUB_for_stringop): Likewise.
89290         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
89291         bit_Prefer_PMINUB_for_stringop.
89293 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89295         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
89296         buffer64.
89297         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
89298         of casting of buffer.
89299         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
89300         buffer32 and buffer64.
89301         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
89302         writes instead of casting of buffer.
89303         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
89304         buffer32.
89305         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
89306         casting of buffer.
89308 2011-07-19  Andreas Schwab  <schwab@redhat.com>
89310         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
89312 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89314         * nscd/nscd.c (termination_handler): Don't do anything for a database
89315         if it has not yet been initialized.
89317 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89319         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89321 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89323         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89325 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89327         * po/nl.po: Update from translation team.
89328         * po/sv.po: Likewise.
89330 2011-07-16  Roland McGrath  <roland@hack.frob.com>
89332         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
89333         now disallowed by GCC.
89335         * configure.in (use-default-link): Default to yes if a test -shared
89336         link meets our qualifications.
89337         * configure: Regenerated.
89339         * config.make.in (output-format): New variable.
89340         * configure.in: Check for ld --print-output-format support.
89341         * configure: Regenerated.
89342         * Makerules ($(common-objpfx)format.lds)
89343         [$(output-format) != unknown]: Just use $(output-format),
89344         instead of the linker-script munging.
89346 2011-07-14  Roland McGrath  <roland@hack.frob.com>
89348         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
89349         of $(common-objpfx)shlib.lds.
89350         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
89352         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
89353         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
89355         * configure.in (-z relro check): Adjust test code to add a large
89356         writable data section after it.
89357         * configure: Regenerated.
89359 2011-07-11  Roland McGrath  <roland@hack.frob.com>
89361         * configure.in (-z relro check): Fix test code to make the variable
89362         truly const.
89363         * configure: Regenerated.
89365 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
89367         * nscd/nscd.h (struct traced_file): Define.
89368         (struct database_dyn): Remove inotify_descr, reset_res, and filename
89369         elements.  Add traced_files.
89370         (inotify_fd): Declare.
89371         (register_traced_file): Declare.
89372         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
89373         (inotify_fd): Export.
89374         (resolv_conf_descr): Remove.
89375         (nscd_init): Move inotify descriptor creation to main.
89376         Don't register files for notification here.
89377         (register_traced_file): New function.
89378         (invalidate_cache): Don't use reset_res to determine whether to call
89379         res_init, go through the list of registered files.
89380         (main_loop_poll): The inotify descriptors are now stored in the
89381         structures for the traced files.
89382         (main_loop_epoll): Likewise.
89383         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
89384         to __nss_disable_nscd.
89385         * nscd/cache.c (prune_cache): There is no single inotify descriptor
89386         for a database anymore.  Check the records for all the registered
89387         files instead.
89388         * nss/Makefile (libnss_files-routines): Add files-init.
89389         (libnss_db-routines): Add db-init.
89390         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
89391         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
89392         * nss/nss_db/db-init.c: New file.
89393         * nss/nss_files/files-init.c: New file.
89394         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
89395         __nss_lookup_function.
89396         (__nss_lookup_function): Call nss_load_library.
89397         (nss_load_all_libraries): New function.
89398         (__nss_disable_nscd): Take parameter with callback function for files
89399         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
89400         used for the cached services.
89401         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
89402         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
89403         options for features to all the files in nscd.
89405         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
89407 2011-07-10  Roland McGrath  <roland@hack.frob.com>
89409         * csu/elf-init.c (__libc_csu_init): Comment typo.
89411 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
89413         * po/pl.po: Update from translation team.
89414         * po/ja.po: Likewise.
89415         * po/ru.po: Likewise.
89416         * po/ko.po: Likewise.
89417         * po/fr.po: Likewise.
89419 2011-07-09  Roland McGrath  <roland@hack.frob.com>
89421         * configure.in (.ctors/.dtors header and trailer check):
89422         Use an empirical test on a built program.
89423         * configure: Regenerated.
89425         * configure.in (-z relro check): Use an empirical test on a built DSO.
89426         Detect, but do not require, on ia64.
89427         * configure: Regenerated.
89429         * configure.in (READELF): Find it with AC_CHECK_TOOL.
89430         Update tests that use readelf to use $READELF instead.
89431         * configure: Regenerated.
89433 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
89435         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
89436         if the result is not used.
89438 2011-07-05  Andreas Jaeger  <aj@suse.de>
89440         [BZ #9696]
89441         * stdlib/tst-strtod.c: Add testcase.
89443 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
89445         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
89446         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
89447         The latter has a higher limit.  Take additional parameter to pass to
89448         the new function.
89449         (__pathconf): Pass file to __statfs_link_max.
89450         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
89451         __statfs_link_max.
89452         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
89453         __statfs_link_max.
89455         [BZ #12868]
89456         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
89457         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89458         Handle Lustre.
89459         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
89460         (__statfs_filesize_max): Likewise.
89461         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
89463 2011-07-05  Andreas Jaeger  <aj@suse.de>
89465         * resolv/res_comp.c (dn_skipname): Remove unused variable.
89467 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
89469         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
89470         `status' variable.
89471         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
89472         Likewise.
89474 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
89476         * Makefile (strop-tests): Add strncat.
89477         * string/test-strncat.c: New file.
89479 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
89481         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
89483 2011-06-21  Andreas Jaeger  <aj@suse.de>
89485         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
89486         Copy rule from iconvdata/Makefile.
89488 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89490         [BZ #12922]
89491         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
89492         but no long options are defined, just return 'W'.
89494 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
89496         [BZ #9696]
89497         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
89499 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89501         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
89502         netgroups to read.
89503         (innetgr): Likewise.
89505 2011-07-05  Roland McGrath  <roland@hack.frob.com>
89507         * config.make.in (install_root): Default to $(DESTDIR).
89509 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
89511         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
89513 2011-07-02  Roland McGrath  <roland@hack.frob.com>
89515         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
89517         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
89518         containing directory rather than embedding absolute directory names.
89520         * scripts/check-local-headers.sh: Rewritten using awk.
89521         Match by word, not by line.  Print error messages for matches.
89522         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
89524         * Makerules [shlib-lds-flags empty]:
89525         ($(common-objpfx)libc_pic.opts): New target.
89526         ($(common-objpfx)libc_pic.os.clean): New target.
89527         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
89529         * config.make.in (OBJCOPY): New variable.
89530         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
89531         * configure: Regenerated.
89533         * config.make.in (use-default-link): New variable.
89534         * configure.in (use_default_link): Grok --with-default-link to set it.
89535         * configure: Regenerated.
89536         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
89537         (shlib-lds, shlib-lds-flags): Define to empty.
89539         * Makerules (shlib-lds): New variable.
89540         (shlib-lds-flags): New variable.
89541         (build-shlib, build-moduile, build-module-asneeded): Use it.
89542         ($(common-objpfx)libc.so): Use $(shlib-lds).
89543         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
89544         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
89546         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
89547         DT_FLAGS/DT_FLAGS_1 with zero flags.
89549         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
89550         linker script munging.
89552 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
89554         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
89555         as 128-bit value.
89556         * crypt/sha512.c (sha512_process_block): Perform total addition using
89557         128-bit if possible.
89558         (__sha512_finish_ctx): Likewise.
89559         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
89560         as 64-bit value.
89561         * crypt/sha256.c (SWAP64): Define.
89562         (sha256_process_block): Perform total addition using 64-bit if
89563         possible.
89564         (__sha256_finish_ctx): Likewise.
89566 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
89568         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
89569         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89570         * nscd/hstcache.c (cache_addhst): Likewise.
89571         * nscd/grpcache.c (cache_addgr): Likewise.
89572         * nscd/aicache.c (addhstaiX): Likewise.
89573         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89575 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89577         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89578         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89579         * nscd/hstcache.c (cache_addhst): Likewise.
89580         * nscd/grpcache.c (cache_addgr): Likewise.
89581         * nscd/aicache.c (addhstaiX): Likewise.
89583 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89585         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89586         domain only when needed.
89588 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89591         is always restored.
89593 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89595         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89596         are re-adding the entry.
89597         * nscd/servicescache.c (cache_addserv): Likewise.
89599 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89601         * sysdeps/generic/dl-irel.h: fix protection against multiple
89602         inclusions.
89603         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89605 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89607         [BZ #12935]
89608         * malloc/memusage.sh: Fix quoting in message.
89609         * debug/xtrace.sh: Likewise.
89611         * configure.in: Remove support for --experimental-malloc option, make
89612         it the default.
89613         * config.make.in: Likewise.
89614         * malloc/Makefile: Likewise.
89616 2011-06-27  Andreas Schwab  <schwab@redhat.com>
89618         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89619         two-byte characters.
89621 2011-06-27  Roland McGrath  <roland@hack.frob.com>
89623         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
89624         AC_CACHE_CHECK invocation.
89625         * configure: Regenerated.
89627         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
89629 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
89631         [BZ #12350]
89632         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
89633         bit from old_res_options.
89635         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
89637         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
89638         value type for setfct.
89640 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
89642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89643         __gettimeofday instead of gettimeofday.
89645 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
89647         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
89649 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
89651         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
89653         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
89654         info.
89656 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89659         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89660         strcpy-sse2-unaligned strncpy-sse2-unaligned
89661         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
89662         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
89663         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
89664         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
89665         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
89666         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
89667         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
89668         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
89669         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
89670         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
89671         (STRCPY): Support SSE2 and SSSE3 versions.
89673 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
89675         [BZ #12874]
89676         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
89677         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
89678         kernels which artificially limit size of requests.
89680 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89683         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89684         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
89685         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
89686         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
89687         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
89688         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
89689         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
89690         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
89691         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
89692         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89693         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
89694         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
89695         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
89696         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
89697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89698         Enable unaligned load optimization for Intel Core i3, i5 and i7
89699         processors.
89700         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
89701         Define.
89702         (index_Fast_Unaligned_Load): Define.
89703         (HAS_FAST_UNALIGNED_LOAD): Define.
89705 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
89707         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
89709 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89711         [BZ #12907]
89712         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
89713         until it is clear that the information is realy needed.
89714         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
89716 2011-06-22  Andreas Schwab  <schwab@redhat.com>
89718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
89720 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89722         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89723         /sys/devices/system/cpu/online if it is usable.
89725         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
89726         reading the information from the /proc filesystem to once a second.
89728 2011-06-21  Andreas Jaeger  <aj@suse.de>
89730         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
89731         NULL after inclusion of kernel headers.
89733 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
89735         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
89736         calls to internal_setent.
89738         [BZ #12885]
89739         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
89740         addresses using gethostbyname4_r ignore IPv4 addresses.
89742         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
89743         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
89745         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
89747 2011-06-20  David S. Miller  <davem@davemloft.net>
89749         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
89750         inclusions.
89751         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
89753         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
89754         (elf_irel): Use it.
89755         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
89756         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
89757         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
89758         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
89759         * sysdeps/x86_64/dl-irel.h: Likewise.
89761         * elf/dl-runtime.c: Use elf_ifunc_invoke.
89762         * elf/dl-sym.c: Likewise.
89764 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89766         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
89767         need to dereference resplen2.
89769 2011-06-14  Andreas Schwab  <schwab@redhat.com>
89771         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
89773 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89775         * Makeconfig: Define vardbdir and inst_vardbdir.
89776         * nss/Makefile: Add rules to install db-Makefile.
89778         * nss/nss_db/db-XXX.c: Cleanup.
89780         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
89781         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
89782         GLIBC_PRIVATE.
89783         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
89784         * nss/makedb.c: Implement -g option to specify that value strings
89785         are generated and should not be added to table iterated over for
89786         get*ent calls.
89787         * nss/nss_db/db-initgroups.c: New file.
89789         * nss/getent.c: Add support for initgroups lookups through getgrouplist
89790         interface.
89792         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
89793         (internal_getgrouplist): Adjust to name change.
89794         Update use_initgroups_entry if this is not the first call.
89795         * nss/databases.def: Add initgroups entry.
89797         * nss/makedb.c (compute_tables): Check result of multiple hash table
89798         sizes to minimize maximum chain length.
89800 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
89802         * Versions.def: Add entry for libnss_db.
89803         * shlib-versions: Likewise.
89804         * nss/Makefile: Add rules to build libnss_db.
89805         * nss/Versions: Add libnss_db information.  Organize libnss_files
89806         entries better.
89807         * nss/db-Makefile: Add gshadow support.  Change rules for the new
89808         makedb progra.  Some minor improvements to generate smaller files.
89809         * nss/nss_db/nss_db.h: Move NSS database header data structures to
89810         here from...
89811         * nss/makedb.c: ...here.
89812         Improve database format to be smaller and require less memory at
89813         runtime.
89814         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
89815         db anymore.
89816         * nss/nss_db/db-netgrp.c: Likewise.
89817         * nss/nss_db/db-open.c: Likewise.
89818         * nss/nss_files/flies-XXX.x: Adjust comments.
89819         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
89820         * nss/nss_files/files-grp.c: Likewise.
89821         * nss/nss_files/files-hosts.c: Likewise.
89822         * nss/nss_files/files-network.c: Likewise.
89823         * nss/nss_files/files-proto.c: Likewise.
89824         * nss/nss_files/files-pwd.c: Likewise.
89825         * nss/nss_files/files-rpc.c: Likewise.
89826         * nss/nss_files/files-service.c: Likewise.
89827         * nss/nss_files/files-sgrp.c: Likewise.
89828         * nss/nss_files/files-spwd.c: Likewise.
89829         * nss/nss_db/db-alias.c: Removed.
89830         * nss/nss_db/dummy-db.h: Removed.
89832 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
89834         * nss/makedb.c: Rewritten to not use database library.
89835         * nss/Makefile: Update to build new makedb program.
89837 2011-06-14  Andreas Jaeger  <aj@suse.de>
89839         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
89840         memset declaration.
89842 2011-06-10  Andreas Schwab  <schwab@redhat.com>
89844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
89845         tmpbuf.
89847 2011-06-10  Roland McGrath  <roland@hack.frob.com>
89849         * Makerules (shlib.lds): Fail if the linker script comes out empty.
89850         * elf/Makefile ($(objpfx)ld.so): Likewise.
89852         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
89853         Don't list ld.so twice in dependencies.
89855         * posix/bug-regex31.c: Include <stdlib.h>.
89857         * nscd/hstcache.c (cache_addhst): Remove unused variable.
89859         * nis/nss_compat/compat-spwd.c
89860         (getspent_next_nss_netgr): Remove unused variable.
89861         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
89863         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
89864         nonmembers" output to use the right array.
89866         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
89868         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
89870         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
89871         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
89872         * catgets/gencat.c (read_input_file): Likewise.
89873         * locale/programs/locarchive.c (enlarge_archive): Likewise.
89875         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
89876         variable definition inside #if's controlling its use.
89878         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
89880         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
89882         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
89884         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
89885         unreachable code.
89887         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
89889         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
89890         * configure: Regenerated.
89892         * Makerules: Revert last change.
89893         * elf/Makefile: Likewise.
89895 2011-06-09  Roland McGrath  <roland@hack.frob.com>
89897         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
89898         * elf/Makefile ($(objpfx)librtld.os): Likewise.
89899         (reloc-link): Likewise.
89901 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
89903         * elf/Makefile: Add rules to build pldd.
89904         * elf/pldd.c: New file.
89905         * elf/pldd-xx.c: New file.
89907 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
89909         * version.h: Update for 2.15 development version.
89911 2011-06-07  David S. Miller  <davem@davemloft.net>
89913         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
89914         ifuncs.
89915         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
89916         elf_machine_lazy_rel): Likewise.
89917         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
89918         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
89919         elf_machine_lazy_rel): Likewise.
89920         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
89921         dl_hwcap via passed in argument.
89922         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
89923         Likewise.
89925 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89927         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
89929 2011-06-06  Roland McGrath  <roland@hack.frob.com>
89931         [BZ #12849]
89932         * manual/fdl-1.1.texi: New file, verbatim from:
89933         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
89934         * manual/lgpl-2.1.texi: New file, verbatim from:
89935         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
89936         * manual/Makefile (licenses): New variable, list those new file names.
89937         (texis): Use it.
89938         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
89940         * manual/fdl.texi: File removed.
89941         * manual/lesser.texi: File removed.
89942         * manual/libc.texinfo (Copying, Documentation License):
89943         Use new @include file names, put @appendix directive before @include.
89945 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
89947         [BZ #12841]
89948         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
89949         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
89950         (mq_open): Add __NTH.
89952 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
89954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89955         Assume Intel Core i3/i5/i7 processor if AVX is available.
89957 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
89960         typo.
89962 2011-05-31  Andreas Schwab  <schwab@redhat.com>
89964         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
89965         memory.  Use alloca_account.  Fix memory leak when retrying.
89967 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89969         * version.h (RELEASE): Bump for 2.14 release.
89970         * include/features.h (__GLIBC_MINOR__): Bump to 14.
89972         * config.make.in (RANLIB): Remove entry.
89974 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
89976         * po/Makefile (po-sed-cmd): Add ksh to extensions.
89977         (libc.pot): Work around missing support for .ksh extension in xgettext.
89979         [BZ #12684]
89980         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
89981         if both request failed.
89982         (send_dg): In case of server errors clear resplen or *resplen2.
89984         [BZ #12454]
89985         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
89986         when there are multiple maps.
89987         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
89988         (_dl_fini): Remove test here.
89990         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
89992 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
89994         [BZ #12350]
89995         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
89996         bit from old_res_options.
89997         (gaih_inet): Likewise.
89999         [BZ #11099]
90000         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90001         as signed.
90003         * resolv/res_init.c (res_setoptions): Make the code more compact.
90005         [BZ #11558]
90006         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90007         set RES_USEVC.
90009         [BZ #11634]
90010         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90012         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90014         [BZ #11781]
90015         * malloc/malloc.h: Declare malloc hook variables as volatile.
90017         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90018         in last patch.
90020         [BZ #11799]
90021         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90022         raise in the comment.
90023         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90024         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90025         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90027 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90029         [BZ #12811]
90030         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90031         grow the buffers more if it already has to be sufficient.
90032         (build_wcs_upper_buffer): Likewise.
90033         * posix/regexec.c (check_matching): Likewise.
90034         (clean_state_log_if_needed): Likewise.
90035         (extend_buffers): Don't enlarge buffers beyond size of the input
90036         buffer.
90037         Patches mostly by Emil Wojak <emil@wojak.eu>.
90038         * posix/bug-regex32.c: New file.
90039         * posix/Makefile (tests): Add bug-regex32.
90041         * locale/findlocale.c (_nl_find_locale): Return right away if
90042         _nl_explode_name failed.
90043         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90045         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90047         * debug/xtrace.sh: Unify messages.
90048         * malloc/memusage.sh: Likewise.
90050         [BZ #12813]
90051         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90052         time symbol from vDSO.  Substitute with vsyscall if not available.
90053         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90054         __vdso_time.
90056         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90057         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90058         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90059         Add sendmmsg and internal_sendmmsg.
90060         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90061         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90062         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90064         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90065         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90066         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90068 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90070         [BZ #12813]
90071         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90072         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90073         available.
90074         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90075         __vdso_getcpu.
90077         [BZ #12814]
90078         * iconvdata/Makefile (tests): Add bug-iconv9.
90079         * iconvdata/bug-iconv9.c: New file.
90081 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90083         [BZ #12814]
90084         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90086 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90088         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90089         (struct user_regs_struct): Change intcs field back to cs.
90091 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90093         * po/ja.po: Update from translation team.
90095 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90097         [BZ #12795]
90098         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90099         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90101 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90103         * stdlib/longlong.h: Update from GCC.
90105 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90107         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90108         parameter name.
90109         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90110         Add parameter name.
90111         (__sysconf): Pass it down.
90113 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90115         [BZ #12671]
90116         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90117         some situations.
90118         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90119         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90120         add in in __libc_use_alloca calls.  Adjust callers.
90121         (glob): Use malloc in some situations.
90123         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90124         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90125         pltexit.
90127 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
90129         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90130         and CLOCK_BOOTTIME_ALARM.
90132         [BZ #12782]
90133         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90134         is returned.
90136         * string/_strerror.c (__strerror_r): Print negative errors as signed
90137         numbers.
90139         [BZ #12777]
90140         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90141         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90142         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90144         * configure.in: Fix typo in redirection and correct removal of test
90145         files in two cases.
90147         [BZ #12788]
90148         * locale/setlocale.c (new_composite_name): Fix test to check for
90149         identical name of all categories.
90151         [BZ #12792]
90152         * libio/filedoalloc.c (local_isatty): New function.
90153         (_IO_file_doallocate): Use local_isatty.
90154         * stdio-common/perror.c (perror): In case a new stream is used
90155         forward the stream error.
90156         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90157         error flag.
90159 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
90161         [BZ #11884]
90162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90163         alloca.
90164         * include/alloca.h (extend_alloca_account): Define.
90166         [BZ #11857]
90167         * posix/regex.h: Fix comments with documentation of user-accessible
90168         fields after compilation and describe correct free'ing of pattern
90169         after re_compile_pattern.
90170         Patch by Reuben Thomas <rrt@sc3d.org>.
90172 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
90174         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90175         and -mno-altivec to prevent the compiler from using Altivec and/or
90176         VSX instructions when the corresponding registers are not available.
90178 2011-05-19  Andreas Schwab  <schwab@redhat.com>
90180         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90182 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
90184         * libio/freopen.c (freopen): Use __dup2, not dup2.
90185         * libio/freopen64.c (freopen64): Likewise.
90187 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
90189         [BZ #12775]
90190         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90191         * math/Makefile (tests): Add test-powl.
90192         (CFLAGS-test-powl.c): Define.
90193         * math/test-powl.c: New file.
90195 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
90197         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90199 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
90201         [BZ #11837]
90202         * iconvdata/gb18030.c: Update to GB18020-2005.
90204 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
90206         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90207         RE_SYNTAX_POSIX_AWK): Update to match recent development.
90208         Patch by Aharon Robbins <arnold@skeeve.com>.
90210         [BZ #11892]
90211         * stdlib/putenv.c (putenv): Don't always create copy of the variable
90212         on the stack.
90214         [BZ #11895]
90215         * misc/pselect.c (__pselect): Handle timeout value errors hidden
90216         through underflows.
90218         [BZ #12766]
90219         * misc/error.c (error_at_line): Ensure file_name and old_file_name
90220         point to strings before performing equality test for error_one_per_line
90221         mode.
90223         [BZ #11697]
90224         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90226         [BZ #11820]
90227         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90228         (struct user_fpregs_struct): Avoid __uint*_t types.
90230         [BZ #6420]
90231         * malloc/mtrace.c (tr_where): Add additional parameter to point to
90232         symbol info.  Use it instead of calling _dl_addr locally.
90233         (lock_and_info): New function.
90234         (tr_freehook): Call lock_and_info and pass symbol info as additional
90235         parameter to tr_where.
90236         (tr_mallochook): Likewise.
90237         (tr_reallochook): Likewise.
90238         (tr_memalignhook): Likewise.
90240         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
90241         used and couldn't be at all thread-safe.
90243 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
90245         * libio/freopen.c (freopen): Don't close old file descriptor
90246         before the new one is opened.  Instead dup the new file descriptor
90247         to the old one after the new stream is created.
90248         * libio/freopen64.c (freopen64): Likewise.
90249         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
90250         * libio/fileops.c (_IO_new_file_close_it): Handle new
90251         _IO_FLAGS2_NOCLOSE flag.
90252         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
90253         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
90254         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
90255         _IO_FLAGS2_NOCLOSE flag.
90256         * include/unistd.h: Add hidden_proto for dup3.
90257         Define __have_dup3.
90258         * io/dup3.c: Define hidden symbol.
90259         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
90261         [BZ #7101]
90262         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
90263         when an incomplete long option is used.
90264         * posix/tst-getopt_long1.c: New file.
90265         * posix/Makefile (tests): Add tst-getopt_long1.
90267         [BZ #10138]
90268         * scripts/config.guess: Update from autoconf-2.68.
90269         * scripts/config.sub: Likewise.
90271         [BZ #10157]
90272         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
90273         tests into ...
90274         (has_cpuclock): ...this.  New function.
90275         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
90276         macro here based on has_cpuclock code.
90278         [BZ #10149]
90279         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90280         First byte (not low byte) is now always NUL.
90281         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
90283         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90284         Use non-cancelable interfaces.
90286         [BZ #9809]
90287         * locale/iso-639.def: Add entry for Sorani.
90289         [BZ #11901]
90290         * include/stdlib.h: Move include protection to the right place.
90291         Define abort_msg_s.  Declare __abort_msg with it.
90292         * stdlib/abort.c (__abort_msg): Adjust type.
90293         * assert/assert.c (__assert_fail_base): New function.  Majority
90294         of code from __assert_fail.  Allocate memory for __abort_msg with
90295         mmap.
90296         (__assert_fail): Now call __assert_fail_base.
90297         * assert/assert-perr.c: Remove bulk of implementation.  Use
90298         __assert_fail_base.
90299         * include/assert.hL Declare __assert_fail_base.
90300         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
90301         mmap.
90302         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
90304 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
90306         [BZ #11952]
90307         [BZ #12453]
90308         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
90309         until all modules are registered in the DTV.
90310         * elf/Makefile: Add rules to build and run tst-tls19.
90311         * elf/tst-tls19.c: New file.
90312         * elf/tst-tls19mod1.c: New file.
90313         * elf/tst-tls19mod2.c: New file.
90314         * elf/tst-tls19mod3.c: New file.
90315         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
90317         [BZ #12083]
90318         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
90319         correctly.
90321         [BZ #12601]
90322         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
90323         two-byte sequence errors.
90324         * iconvdata/Makefile (tests): Add bug-iconv8.
90325         * iconvdata/bug-iconv8.c: New file.
90327         [BZ #12626]
90328         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
90329         buf2 definition.
90331         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
90333         [BZ #12432]
90334         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
90335         (dummy_getcfa): New function.
90336         (init): Get _Unwind_GetCFA address, use dummy if not found.
90337         (backtrace_helper): In recursion check, also check whether CFA changes.
90338         (__backtrace): Completely initialize arg.
90340         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
90341         storing incomplete byte sequence in state object.  Avoid testing for
90342         guaranteed too small input if we know there is enough data available.
90344 2011-05-11  Andreas Schwab  <schwab@redhat.com>
90346         * Makeconfig (+link-pie): Indent.
90347         * Rules (binaries-pie): Define if $(have-fpie) and
90348         $(build-shared).
90349         (binaries-shared): Also filter out $(binaries-pie).
90350         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
90351         * nscd/Makefile (others-pie): Add nscd.
90352         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
90353         ($(objpfx)nscd): Remove command override.
90354         * login/Makefile (others-pie): Add pt_chown.
90355         ($(objpfx)pt_chown): Remove command override.
90356         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
90357         remove command overrides.
90359 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
90361         * libio/tst_putwc.c: Fix error messages.
90363         [BZ #12724]
90364         * libio/fileops.c (_IO_new_file_close_it): Always flush when
90365         currently writing and seek to current position when not.
90366         * libio/Makefile (tests): Add bug-fclose1.
90367         * libio/bug-fclose1.c: New file.
90369 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
90371         [BZ #12511]
90372         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
90373         don't set DF_1_NODELETE here.
90374         (do_lookup_x): When entering new entry test for copy relocation
90375         and if necessary set DF_1_NODELETE flag.
90376         * elf/tst-unique4.cc: New file.
90377         * elf/tst-unique4.h: New file.
90378         * elf/tst-unique4lib.cc: New file.
90379         * elf/Makefile: Add rules to build and run tst-unique4.
90380         Patch by Piotr Bury <pbury@goahead.com>.
90382 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
90384         [BZ #12052]
90385         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
90387         [BZ #12625]
90388         * misc/mntent_r.c (addmntent): Flush the stream after the output
90390         [BZ #12393]
90391         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
90392         (is_trusted_path_normalize): Skip initial colon.  Append slash
90393         to empty buffer.  Duplicate is_trusted_path code but allow
90394         constructed patch to be prefix.
90395         (is_dst): Allow $ORIGIN followed by /.
90396         (_dl_dst_substitute): Correct clearing of check_for_trusted.
90397         Correct testing of result of is_trusted_path_normalize
90398         (decompose_rpath): Fix warning.
90400 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
90402         [BZ #11257]
90403         * grp/initgroups.c (internal_getgrouplist): When we found the service
90404         list through the initgroups entry in nsswitch.conf do not always
90405         continue on a successful lookup.  Don't always use the
90406         __nss_group_database value if it is set.
90407         * nss/nsswitch.conf (initgroups): Change action for successful db
90408         lookup to continue for compatibility.
90410 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
90412         [BZ #11532]
90413         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
90414         and CP774 modules.
90415         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
90416         and CP774 modules.
90417         * iconvdata/tst-tables.sh: Likewise.
90418         * iconvdata/cp770.c: New file.
90419         * iconvdata/cp771.c: New file.
90420         * iconvdata/cp772.c: New file.
90421         * iconvdata/cp773.c: New file.
90422         * iconvdata/cp774.c: New file.
90423         * iconvdata/testdata/CP770: New file.
90424         * iconvdata/testdata/CP770..UTF8: New file.
90425         * iconvdata/testdata/CP771: New file.
90426         * iconvdata/testdata/CP771..UTF8: New file.
90427         * iconvdata/testdata/CP772: New file.
90428         * iconvdata/testdata/CP772..UTF8: New file.
90429         * iconvdata/testdata/CP773: New file.
90430         * iconvdata/testdata/CP773..UTF8: New file.
90431         * iconvdata/testdata/CP774: New file.
90432         * iconvdata/testdata/CP774..UTF8: New file.
90434         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
90435         END CHARMAP line.
90436         * iconvdata/gen-8bit-gap.sh: Likewise.
90437         * iconvdata/gen-8bit.sh: Likewise.
90439         * locale/iso-639.def: Add ary entry.
90441         [BZ #11258]
90442         * locale/C-translit.h.in: Add U20A1 transliteration.
90444         [BZ #12178]
90445         * locale/iso-639.def: Add wae entry.
90446         Patch by Kevin Bortis <bortis@translate-wae.ch>.
90448         [BZ #12545]
90449         * locale/programs/localedef.c (construct_output_path): Use ssize_t
90450         for n.
90452         [BZ #12711]
90453         * locale/C-translit.h.in: Add entry for U20B9.
90454         Patch by pravin.d.s@gmail.com.
90456 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
90458         [BZ #12713]
90459         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
90460         ENAMETOOLONG use generic getcwd.
90461         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
90462         in rtld.  Use *stat64.
90463         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
90464         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
90465         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
90466         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
90467         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
90468         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
90469         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
90470         __fstatat64 macros.
90471         * include/dirent.h: Add libc_hidden_proto for rewinddir.
90472         * dirent/rewinddir.c: Add libc_hidden_def.
90473         * sysdeps/mach/hurd/rewinddir.c: Likewise.
90474         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
90476         * include/dirent.h (__alloc_dir): Add flags parameter.
90477         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
90478         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
90479         __alloc_dir.
90480         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
90481         from fdopendir if O_CLOEXEC is already set.
90483 2011-03-15  Alan Modra  <amodra@gmail.com>
90485         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
90486         l_tls_firstbyte_offset non-zero.  Save padding offset in
90487         l_tls_firstbyte_offset for later use.
90488         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
90489         freeing static tls block.
90491 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
90493         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
90494         where #ifdef was intended.  The intent is to prevent ARG_MAX from
90495         being defined by the kernel headers.
90497 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
90499         [BZ #12734]
90500         * resolv/resolv.h: Define RES_NOTLDQUERY.
90501         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
90502         no-tld-query and set RES_NOTLDQUERY.
90503         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
90504         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
90505         modern BIND to search name as TLD unless forbidden.
90507 2011-05-07  Petr Baudis  <pasky@suse.cz>
90508             Ulrich Drepper  <drepper@gmail.com>
90510         [BZ #12393]
90511         * elf/dl-load.c (fillin_rpath): Move trusted path check...
90512         (is_trusted_path): ...to here.
90513         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
90514         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
90515         using is_trusted_path_normalize() in setuid scripts.
90517 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
90519         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
90520         __BEGIN/__END_DECLS.
90522 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
90524         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
90525         NSS_STATUS_NOTFOUND if no record was found.
90527 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90529         * sunrpc/Makefile (headers): Add rpc/netdb.h.
90530         (headers-not-in-tirpc): Remove rpc/netdb.h
90531         * resolv/netdb.h: Revert last change.
90533 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
90535         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
90536         circular dependency between libgcc.a and libc.a.
90538 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90540         * resolv/netdb.h: Don't include <rpc/netdb.h>.
90541         * nis/Makefile: Don't install rpcsvc/*.
90542         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
90543         instead of <rpc/types.h>.
90544         (MAXHOSTNAMELEN): Define.
90546 2011-05-03  Andreas Schwab  <schwab@redhat.com>
90548         * elf/ldconfig.c (add_dir): Don't crash on empty path.
90550 2011-04-28  Maciej Babinski  <mbabinski@google.com>
90552         [BZ #12714]
90553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
90554         gethostbyname4_r when IPv6 results are possible.
90556 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
90558         [BZ #12723]
90559         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
90560         _PC_PIPE_BUF handling.
90562 2011-04-30  Bruno Haible  <bruno@clisp.org>
90564         [BZ #12717]
90565         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90566         * resolv/netdb.h (getnameinfo): Change type of flags parameter
90567         to 'int'.
90568         * inet/getnameinfo.c (getnameinfo): Likewise.
90570 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90572         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90573         to groups setting in database lookup.
90574         * nss/nsswitch.conf: Add initgroups entry.
90576 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90578         [BZ #12685]
90579         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90580         mode string.
90581         Patch by Eric Blake <eblake@redhat.com>.
90583 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90585         * sunrpc/Makefile (need-export-routines): Add svc_run.
90586         (routines): Remove svc_run.
90587         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90588         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90589         * sunrpc/svc_run.c (svc_run): Likewise.
90590         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90592 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90594         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90595         problem in reallocation in last patch.
90597 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90599         * sunrpc/Makefile: Move inclusion of Rules.
90601 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90603         * nss/nss_files/files-initgroups.c: New file.
90604         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90605         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90606         _nss_files_initgroups_dyn.
90608 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
90610         * elf/elf.h (R_ARM_IRELATIVE): Define.
90612 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90614         * po/ru.po: Update from translation team.
90616 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90618         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90619         dependencies.
90621 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
90623         [BZ #12653]
90624         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
90625         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
90626         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90627         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
90628         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
90630 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
90632         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
90633         differing bytes.
90634         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
90635         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
90636         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90638 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90640         [BZ #12420]
90641         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
90642         storing it.
90643         * stdlib/bug-getcontext.c: New file.
90644         * stdlib/Makefile: Add rules to build and run bug-getcontext.
90646 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90648         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
90649         instructions into .machine "z9-109".
90650         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
90651         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
90653 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90655         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
90656         between environment variables and auxiliary vector.
90658 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
90660         * Makefile: Add rules to build linkobj/libc.so.
90661         * include/libc-symbols.h: Define libc_hidden_nolink.
90662         * include/rpc/auth.h: Mark functions which are to be hidden.
90663         * include/rpc/auth_des.h: Likewise.
90664         * include/rpc/auth_unix.h: Likewise.
90665         * include/rpc/clnt.h: Likewise.
90666         * include/rpc/des_crypt.h: Likewise.
90667         * include/rpc/key_prot.h: Likewise.
90668         * include/rpc/pmap_clnt.h: Likewise.
90669         * include/rpc/pmap_prot.h: Likewise.
90670         * include/rpc/pmap_rmt.h: Likewise.
90671         * include/rpc/rpc_msg.h: Likewise.
90672         * include/rpc/svc.h: Likewise.
90673         * include/rpc/svc_auth.h: Likewise.
90674         * include/rpc/xdr.h: Likewise.
90675         * nis/Makefile: Link all DSOs against linkobj/libc.so.
90676         * nss/Makefile: Likewise.
90677         * sunrpc/Makefile: Don't install headers.  Build library with normal
90678         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
90679         * sunrpc/auth_des.c: Hide exported symbols by default, export some
90680         for the compat linking library.  Remove use of INTDEF/INTUSE.
90681         * sunrpc/auth_none.c: Likewise.
90682         * sunrpc/auth_unix.c: Likewise.
90683         * sunrpc/authdes_prot.c: Likewise.
90684         * sunrpc/authuxprot.c: Likewise.
90685         * sunrpc/clnt_gen.c: Likewise.
90686         * sunrpc/clnt_perr.c: Likewise.
90687         * sunrpc/clnt_raw.c: Likewise.
90688         * sunrpc/clnt_simp.c: Likewise.
90689         * sunrpc/clnt_tcp.c: Likewise.
90690         * sunrpc/clnt_udp.c: Likewise.
90691         * sunrpc/clnt_unix.c: Likewise.
90692         * sunrpc/des_crypt.c: Likewise.
90693         * sunrpc/des_soft.c: Likewise.
90694         * sunrpc/get_myaddr.c: Likewise.
90695         * sunrpc/key_call.c: Likewise.
90696         * sunrpc/key_prot.c: Likewise.
90697         * sunrpc/netname.c: Likewise.
90698         * sunrpc/pm_getmaps.c: Likewise.
90699         * sunrpc/pm_getport.c: Likewise.
90700         * sunrpc/pmap_clnt.c: Likewise.
90701         * sunrpc/pmap_prot.c: Likewise.
90702         * sunrpc/pmap_prot2.c: Likewise.
90703         * sunrpc/pmap_rmt.c: Likewise.
90704         * sunrpc/publickey.c: Likewise.
90705         * sunrpc/rpc_cmsg.c: Likewise.
90706         * sunrpc/rpc_common.c: Likewise.
90707         * sunrpc/rpc_dtable.c: Likewise.
90708         * sunrpc/rpc_prot.c: Likewise.
90709         * sunrpc/rpc_thread.c: Likewise.
90710         * sunrpc/rtime.c: Likewise.
90711         * sunrpc/svc.c: Likewise.
90712         * sunrpc/svc_auth.c: Likewise.
90713         * sunrpc/svc_authux.c: Likewise.
90714         * sunrpc/svc_raw.c: Likewise.
90715         * sunrpc/svc_run.c: Likewise.
90716         * sunrpc/svc_simple.c: Likewise.
90717         * sunrpc/svc_tcp.c: Likewise.
90718         * sunrpc/svc_udp.c: Likewise.
90719         * sunrpc/svc_unix.c: Likewise.
90720         * sunrpc/svcauth_des.c: Likewise.
90721         * sunrpc/xcrypt.c: Likewise.
90722         * sunrpc/xdr.c: Likewise.
90723         * sunrpc/xdr_array.c: Likewise.
90724         * sunrpc/xdr_float.c: Likewise.
90725         * sunrpc/xdr_intXX_t.c: Likewise.
90726         * sunrpc/xdr_mem.c: Likewise.
90727         * sunrpc/xdr_rec.c: Likewise.
90728         * sunrpc/xdr_ref.c: Likewise.
90729         * sunrpc/xdr_sizeof.c: Likewise.
90730         * sunrpc/xdr_stdio.c: Likewise.
90732 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
90734         [BZ #12650]
90735         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
90736         * sysdeps/ia64/dl-tls.h: Likewise.
90737         * sysdeps/powerpc/dl-tls.h: Likewise.
90738         * sysdeps/s390/dl-tls.h: Likewise.
90739         * sysdeps/sh/dl-tls.h: Likewise.
90740         * sysdeps/sparc/dl-tls.h: Likewise.
90741         * sysdeps/x86_64/dl-tls.h: Likewise.
90742         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
90744 2011-03-14  Andreas Schwab  <schwab@redhat.com>
90746         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
90747         rpath element also skip the following colon.
90748         (expand_dynamic_string_token): Add is_path parameter and pass
90749         down to DL_DST_REQUIRED and _dl_dst_substitute.
90750         (decompose_rpath): Call expand_dynamic_string_token with
90751         non-zero is_path.  Ignore empty rpaths.
90752         (_dl_map_object_from_fd): Call expand_dynamic_string_token
90753         with zero is_path.
90755 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
90757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
90758         Make cancelable.
90760 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
90762         [BZ #12655]
90763         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
90764         Patch by Filipe David Manana <fdmanana@apache.org>.
90766 2011-04-07  Andreas Schwab  <schwab@redhat.com>
90768         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
90769         Maintain aligned stack.
90770         (CHECK_RSP): Remove unused macro.
90772 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
90774         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
90775         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
90777 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
90779         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
90781         * include/features.h: Mention __USE_XOPEN2K8 in comment.
90783 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
90785         [BZ #12518]
90786         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
90787         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
90788         * sysdeps/x86_64/memmove.c: New file.
90789         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
90790         (memcpy): Renamed to ...
90791         (__new_memcpy): This.
90792         (memcpy): Provide GLIBC_2_14 memcpy.
90793         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
90794         (memcpy): Provide GLIBC_2_2_5 memcpy.
90796 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90798         [BZ #12631]
90799         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
90801 2011-03-30  Andreas Schwab  <schwab@redhat.com>
90803         * misc/syncfs.c: New file.
90804         * misc/Makefile (routines): Add syncfs.
90805         * posix/unistd.h: Declare syncfs.
90806         * sysdeps/unix/syscalls.list: Add syncfs.
90808 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90810         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
90811         open_by_handle_at.
90812         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90813         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90815         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90816         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90817         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
90818         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90820 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90822         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
90823         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90824         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
90825         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90826         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90828         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90830         * io/Makefile: Compile fallocate.c, fallocate64.c, and
90831         sync_file_range.c with -fexceptions.
90832         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
90833         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
90834         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
90835         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
90836         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
90837         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
90838         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
90839         sync_file_range as cancellation point
90840         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
90841         now a wrapper around __call_sync_file_range with cancellation handling.
90842         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
90843         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
90844         function name to __call_sync_file_range.
90845         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
90846         Add call_sync_file_range.
90848 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90850         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
90851         bits/timex.h.
90853 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90855         * iconv/iconv.h: Fix typo in comment.
90856         * io/fcntl.h: Likewise.
90857         * libio/stdio.h: Likewise.
90858         * posix/spawn.h: Likewise.
90859         * posix/unistd.h: Likewise.
90860         * stdlib/stdlib.h: Likewise.
90861         * time/time.h: Likewise.
90862         * wcsmbs/wchar.h: Likewise.
90864         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
90865         open_by_handle): Add.
90866         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
90867         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
90868         Augment a few comments.
90869         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90871         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90873         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90874         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
90875         open_by_handle.
90877         * io/fcntl.h (AT_EMPTY_PATH): Define.
90879 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
90881         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
90882         * sysdeps/unix/sysv/linux/bits/time.h: New file.
90883         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
90884         to...
90885         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
90886         * Versions.def: Add GLIBC_2.14.
90887         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
90888         Export.
90890 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
90892         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
90893         round counter.
90894         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90896 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
90898         [BZ #12597]
90899         * string/test-strncmp.c (do_page_test): New function.
90900         (check2): Likewise.
90901         (test_main): Call check2.
90902         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
90904 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
90906         [BZ #12587]
90907         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
90908         Handle cache information in CPU leaf 4.
90909         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90911 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
90913         [BZ #12583]
90914         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
90915         character representation.
90916         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
90918 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
90920         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
90921         END(__isnan) to END(__isnanf) to match function entry point/label
90922         EALIGN(__isnanf,...).
90924 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
90926         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
90928 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
90930         [BZ #12510]
90931         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
90932         copy from the symbol referenced in the relocation to initialize the
90933         used variable.
90934         Patch by Piotr Bury <pbury@goahead.com>.
90935         * elf/Makefile: Add rules to build and tst-unique3.
90936         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
90937         * elf/tst-unique3.cc: New file.
90938         * elf/tst-unique3.h: New file.
90939         * elf/tst-unique3lib.cc: New file.
90940         * elf/tst-unique3lib2.cc: New file.
90942         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
90944 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
90946         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
90947         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
90948         to _start.
90950 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
90952         * elf/dl-load.c (_dl_map_object): If we are looking for the first
90953         to-be-loaded object along a path to loader is ld.so.
90955 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90956             Ulrich Drepper  <drepper@gmail.com>
90958         * sysdeps/x86_64/memset.S: After aligning destination, code
90959         branches to different locations depending on the value of
90960         misalignment, when multiarch is enabled. Fix this.
90962 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90964         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
90965         Set _x86_64_preferred_memory_instruction for AMD processsors.
90966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90967         Set bit_Prefer_SSE_for_memop for AMD processors.
90969 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
90971         * libio/fmemopen.c (fmemopen): Optimize a bit.
90973 2011-03-03  Andreas Schwab  <schwab@redhat.com>
90975         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
90977 2011-03-03  Roland McGrath  <roland@redhat.com>
90979         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
90981 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
90983         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
90984         __bzero_ultra1 instead of __memset_ultra1.
90986 2011-02-23  Andreas Schwab  <schwab@redhat.com>
90987             Ulrich Drepper  <drepper@gmail.com>
90989         [BZ #12509]
90990         * include/link.h (struct link_map): Add l_orig_initfini.
90991         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
90992         returning unsuccessfully.
90993         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
90994         close of a file loaded at startup, restore the original l_initfini
90995         list.
90996         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
90997         list, store the pointer.
90998         * elf/Makefile ($(objpfx)noload-mem): New rule.
90999         (noload-ENV): Define.
91000         (tests): Add $(objpfx)noload-mem.
91001         * elf/noload.c: Include <memcheck.h>.
91002         (main): Call mtrace.  Close all opened handles.
91004 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91006         [BZ #12454]
91007         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91008         dependencies are missing.
91010 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91012         Fix __if_freereq crash: Unlike the generic version which uses free,
91013         Hurd needs munmap.
91014         * sysdeps/mach/hurd/ifreq.h: New file.
91016 2011-01-27  Petr Baudis  <pasky@suse.cz>
91017             Ulrich Drepper  <drepper@gmail.com>
91019         [BZ 12445]#
91020         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91021         to extend_alloca().
91022         * stdio-common/bug23.c: New file.
91023         * stdio-common/Makefile (tests): Add bug23.
91025 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91026             Ulrich Drepper  <drepper@gmail.com>
91028         [BZ #12489]
91029         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91030         before performing relro protection.  At old place add assertion
91031         to make sure nothing changed.
91033 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91034             Glauber de Oliveira Costa  <glommer@gmail.com>
91036         * elf/elf.h: Add new ARM TLS relocs.
91038 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91041         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91042         cast from r3.
91043         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91044         'tests' variable.
91045         * sysdeps/wordsize-64/tst-writev.c: New file.
91047 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91049         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91050         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91051         insns in _dl_start to prevent a TOC reference before relocs are
91052         resolved.
91054 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91056         [BZ #12469]
91057         * Makeconfig: Remove RANLIB definition.
91058         * Makerules: Don't use RANLIB.
91059         * aclocal.m4: Remove ranlib test.
91060         * configure.in: No need to check for ranlib.
91061         * elf/rtld-Rules: Don't use RANLIB.
91063 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91065         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91066         protection macro.
91067         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91068         inclusion protection macro.
91070         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91071         SIGRTMIN and SIGRTMAX and print information in that case only when
91072         SIGRTMIN is defined.
91074 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91076         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91077         arginfo fn returning -1.
91079         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91080         and thousands string is zero terminated.
91082 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91084         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91085         sysdeps/unix/sysv/linux/bits/socket.h.
91087 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91089         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91090         (__CPU_COUNT): Remove old macros.
91091         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91092         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91093         (__CPU_ALLOC, __CPU_FREE): Add macros.
91094         (__sched_cpualloc, __sched_cpufree): Add declarations.
91096 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91098         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91099         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91100         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91101         (readdhstai): Return value of addhstaiX call.
91102         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91103         (addgrbyX): Return value returned by cache_addgr.
91104         (readdgrbyname): Return value returned by addgrbyX.
91105         (readdgrbygid): Likewise.
91106         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91107         (addpwbyX): Return value returned by cache_addpw.
91108         (readdpwbyname): Return value returned by addhstbyX.
91109         (readdpwbyuid): Likewise.
91110         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91111         (addservbyX): Return value returned by cache_addserv.
91112         (readdservbyname): Return value returned by addservbyX:
91113         (readdservbyport): Likewise.
91114         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91115         (addhstbyX): Return value returned by cache_addhst.
91116         (readdhstbyname): Return value returned by addhstbyX.
91117         (readdhstbyaddr): Likewise.
91118         (readdhstbynamev6): Likewise.
91119         (readdhstbyaddrv6): Likewise.
91120         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91121         (readdinitgroups): Return value returned by addinitgroupsX.
91122         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91123         (prune_cache): Keep track of timeout value of re-added entries.
91124         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91125         * nscd/nscd.h: Adjust prototypes of readd* functions.
91127 2011-02-04  Roland McGrath  <roland@redhat.com>
91129         * nis/nis_server.c (nis_servstate): Use the right name for 0.
91130         (nis_stats): Likewise.
91131         * nis/nis_modify.c (nis_modify): Likewise.
91132         * nis/nis_remove.c (nis_remove): Likewise.
91133         * nis/nis_add.c (nis_add): Likewise.
91135         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91137         * posix/fnmatch_loop.c: Add some consts.
91139         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91141 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
91143         [BZ #12460]
91144         * config.make.in (config-cflags-novzeroupper): Define.
91145         * configure.in: Substitute libc_cv_cc_novzeroupper.
91146         * elf/Makefile (AVX-CFLAGS): Define.
91147         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91148         (CFLAGS-tst-auditmod4a.c): Likewise.
91149         (CFLAGS-tst-auditmod4b.c): Likewise.
91150         (CFLAGS-tst-auditmod6b.c): Likewise.
91151         (CFLAGS-tst-auditmod6c.c): Likewise.
91152         (CFLAGS-tst-auditmod7b.c): Likewise.
91153         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91155 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
91157         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91158         function to the callback.
91159         Patch partly by Jiri Olsa <jolsa@redhat.com>.
91161 2011-02-02  Andreas Schwab  <schwab@redhat.com>
91163         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91164         of errno.
91166 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
91168         [BZ #11724]
91169         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91170         of constructors.
91171         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91172         of destructors.
91173         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91175         [BZ #11724]
91176         * elf/Makefile: Add rules to build and run new test.
91177         * elf/tst-initorder.c: New file.
91178         * elf/tst-initorder.exp: New file.
91179         * elf/tst-initordera1.c: New file.
91180         * elf/tst-initordera2.c: New file.
91181         * elf/tst-initordera3.c: New file.
91182         * elf/tst-initordera4.c: New file.
91183         * elf/tst-initorderb1.c: New file.
91184         * elf/tst-initorderb2.c: New file.
91185         * elf/tst-order-a1.c: New file.
91186         * elf/tst-order-a2.c: New file.
91187         * elf/tst-order-a3.c: New file.
91188         * elf/tst-order-a4.c: New file.
91189         * elf/tst-order-b1.c: New file.
91190         * elf/tst-order-b2.c: New file.
91191         * elf/tst-order-main.c: New file.
91192         New test case by George Gensure <werkt0@gmail.com>.
91194 2010-10-01  Andreas Schwab  <schwab@redhat.com>
91196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91197         decoding ACE if AI_CANONIDN.
91199 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
91201         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91203 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
91205         * version.h (RELEASE): Bump for 2.13 release.
91206         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91208         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91210         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91211         MADV_NOHUGEPAGE.
91212         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91213         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91214         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91215         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91216         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91217         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91219         * posix/getconf.c: Update copyright year.
91220         * catgets/gencat.c: Likewise.
91221         * csu/version.c: Likewise.
91222         * debug/catchsegv.sh: Likewise.
91223         * debug/xtrace.sh: Likewise.
91224         * elf/ldconfig.c: Likewise.
91225         * elf/ldd.bash.in: Likewise.
91226         * elf/sprof.c (print_version): Likewise.
91227         * iconv/iconv_prog.c: Likewise.
91228         * iconv/iconvconfig.c: Likewise.
91229         * locale/programs/locale.c: Likewise.
91230         * locale/programs/localedef.c: Likewise.
91231         * malloc/memusage.sh: Likewise.
91232         * malloc/mtrace.pl: Likewise.
91233         * nscd/nscd.c (print_version): Likewise.
91234         * nss/getent.c: Likewise.
91236         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
91237         PF_CAIF, and PF_ALG.
91238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91240 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
91242         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
91243         (modules-names): Use them.
91244         (ifunc-test-modules, ifunc-pie-tests): Define.
91245         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
91246         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
91247         (test-extras): Likewise.
91248         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
91249         $(compile-command.c).
91250         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
91251         (all-built-dso): Define.
91252         (check-textrel.out, check-execstack.out): Depend on it.
91254         * configure.in: Don't override --enable-multi-arch.
91256 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
91258         [BZ #6812]
91259         * nscd/hstcache.c (tryagain): Define.
91260         (cache_addhst): Return tryagain not notfound for temporary errors.
91261         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
91262         failed.
91264 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
91266         [BZ #10563]
91267         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
91268         to make the syscall.
91269         * sysdeps/unix/sysv/linux/setgroups.c: New file.
91271         [BZ #12378]
91272         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
91273         and fall back to matching as normal character if the string ends before
91274         the matching ']' is found.  This is what POSIX requires.
91275         * posix/testfnm.c: Adjust test result.
91276         * posix/globtest.sh: Adjust test result.  Add new test.
91277         * posix/tst-fnmatch.input: Likewise.
91278         * posix/tst-fnmatch2.c: Add new test.
91280 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
91282         * elf/Makefile (check-execstack): Revert last change.  Depend on
91283         check-execstack.h.
91284         (check-execstack.h): New target.
91285         (generated): Add check-execstack.h.
91286         * elf/check-execstack.c: Include "check-execstack.h".
91287         (main): Revert last change.
91288         (handle_file): Return zero if GNU_STACK is absent and
91289         DEFAULT_STACK_PERMS doesn't include PF_X.
91291 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
91293         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
91294         in child fails because the descriptor is already closed.
91295         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
91296         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
91297         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
91299         [BZ #12397]
91300         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
91301         syscall.
91303         [BZ #10484]
91304         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
91305         temporary buffer used to handle multi lookups locally.
91306         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
91308 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91310         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
91311         loader is ld.so.
91313 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
91315         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
91316         alignment for SSE2.
91318 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91320         [BZ #12394]
91321         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
91322         characters.  When rounding increased number of integer digits recompute
91323         number of groups.
91324         * stdio-common/tst-grouping.c: New file.
91325         * stdio-common/Makefile: Add rules to build and run tst-grouping.
91327 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
91329         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
91330         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
91332         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
91333         void.
91334         * bits/select.h: Likewise.
91336 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
91338         * po/ja.po: Update from translation team.
91340 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
91342         [BZ #11155]
91343         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
91344         implementation just like for lxstat, fxstatat, et al.
91346 2010-12-27  Jim Meyering  <meyering@redhat.com>
91348         [BZ #12348]
91349         * posix/regexec.c (build_trtable): Return failure indication upon
91350         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
91352 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
91354         [BZ #12201]
91355         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
91356         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
91357         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
91358         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
91360         [BZ #12207]
91361         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
91363         [BZ #12204]
91364         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
91365         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
91367 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
91369         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
91370         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
91371         script has SORT_BY_INIT_PRIORITY.
91372         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
91373         NO_CTORS_DTORS_SECTIONS is defined.
91374         * elf/soinit.c: Likewise.
91375         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
91376         NO_CTORS_DTORS_SECTIONS is defined.
91377         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
91378         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
91379         * sysdeps/sh/init-first.c: Likewise.
91380         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
91382 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
91384         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
91385         always use the slow path.
91387 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
91389         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
91390         similar rule which adds the sysdep directories to the header search in
91391         order to pick up the correct platform stackinfo.h.
91392         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
91393         perform test if it is, otherwise return successfully without testing.
91394         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
91395         DEFAULT_STACK_PERMS define in stackinfo.h.
91396         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
91397         defined in stackinfo.h.
91398         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
91399         DEFAULT_STACK_PERMS defined in stackinfo.h.
91400         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
91401         * sysdeps/ia64/stackinfo.h: Likewise.
91402         * sysdeps/s390/stackinfo.h: Likewise.
91403         * sysdeps/sh/stackinfo.h: Likewise.
91404         * sysdeps/sparc/stackinfo.h: Likewise.
91405         * sysdeps/x86_64/stackinfo.h: Likewise.
91406         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
91407         PF_X for powerpc64.  Retain PF_X for powerpc32.
91409 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
91411         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
91412         accurately.
91413         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
91414         GETDENTS_64BIT_ALIGNED.
91416 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
91418         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
91420 2010-12-10  Andreas Schwab  <schwab@redhat.com>
91422         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
91423         _GNU_SOURCE.
91425         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
91426         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
91427         Remove __restrict.
91428         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
91429         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
91431 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
91433         [BZ #11655]
91434         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
91435         are initialized.
91437 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
91439         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
91441 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
91443         * po/it.po: Update from translation team.
91445 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
91447         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
91448         unused codes.
91450 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
91452         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
91454 2010-11-24  Andreas Schwab  <schwab@redhat.com>
91456         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
91457         specially.
91458         (gaih_getanswer_slice): Likewise.
91460 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
91462         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
91464 2010-05-31  Petr Baudis  <pasky@suse.cz>
91466         [BZ #11149]
91467         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
91468         silently even in the chroot mode.
91470 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
91472         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
91473         last patch a bit.  Pretty printing
91475 2010-05-31  Petr Baudis <pasky@suse.cz>
91477         [BZ #10085]
91478         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
91479         initialization of skip_initgroups_dyn.
91481 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
91483         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
91484         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91486 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
91488         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
91490 2010-11-11  Andreas Schwab  <schwab@redhat.com>
91492         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
91493         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
91494         (tst-fnmatch-ENV): Set MALLOC_TRACE.
91495         ($(objpfx)tst-fnmatch-mem): New rule.
91496         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
91497         * posix/tst-fnmatch.c (main): Call mtrace.
91499 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
91501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91502         Support Intel processor model 6 and model 0x2c.
91504 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
91506         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
91507           signed comparison.
91509 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
91511         [BZ #12205]
91512         * string/test-strncasecmp.c (check_result): New function.
91513         (do_one_test): Use it.
91514         (check1): New function.
91515         (test_main): Use it.
91516         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
91517         Support strcasecmp and strncasecmp.
91519 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
91521         [BZ #12194]
91522         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
91523         * sysdeps/x86_64/bits/byteswap.h: Likewise.
91525 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
91527         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
91528         IFUNC support.
91529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91530         memset-x86-64.
91531         * sysdeps/x86_64/multiarch/bzero.S: New file.
91532         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
91533         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
91534         * sysdeps/x86_64/multiarch/memset.S: New file.
91535         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
91536         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91537         Set bit_Prefer_SSE_for_memop for Intel processors.
91538         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
91539         Define.
91540         (index_Prefer_SSE_for_memop): Define.
91541         (HAS_PREFER_SSE_FOR_MEMOP): Define.
91543 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
91545         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
91546         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
91548 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
91550         [BZ #12191]
91551         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91552         (__x86_64_raw_data_cache_size_half): Likewise.
91553         (__x86_64_raw_shared_cache_size): Likewise.
91554         (__x86_64_raw_shared_cache_size_half): Likewise.
91556         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91557         (__x86_64_raw_data_cache_size_half): Likewise.
91558         (__x86_64_raw_shared_cache_size): Likewise.
91559         (__x86_64_raw_shared_cache_size_half): Likewise.
91560         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91561         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91562         and __x86_64_raw_shared_cache_size_half.  Round
91563         __x86_64_data_cache_size_half, __x86_64_data_cache_size
91564         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91565         to multiple of 256 bytes.
91567 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
91569         [BZ #12167]
91570         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91571         of inacessible symlinks.  Verify result of symlink before returning it.
91572         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91573         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91575 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91577         * math/math.h (isinf): Fix typo in comment.
91579 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91581         * po/da.po: Update from translation team.
91583 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91585         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91586         is added to the list.
91588 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91589             Ulrich Drepper  <drepper@gmail.com>
91591         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91592         the global list here.  Move code to...
91593         (_dl_add_to_namespace_list): ...here.  New function.
91594         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91595         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91596         * elf/dl-load.c (lose): Don't remove the element from the list.
91597         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91598         (_dl_map_object): Likewise.
91600 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91602         [BZ #12159]
91603         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91604         into all bytes of SSE register.
91605         Patch by Richard Li <richardpku@gmail.com>.
91607 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91609         [BZ #12140]
91610         * malloc/malloc.c (_int_free): Fill correct number of bytes when
91611         perturbing.
91613 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
91615         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91616         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91617         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91618         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
91620         submachine.
91621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
91623 2010-10-22  Andreas Schwab  <schwab@redhat.com>
91625         * include/dlfcn.h (__RTLD_SECURE): Define.
91626         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
91627         mode & __RTLD_SECURE instead.
91628         (open_path): Rename preloaded parameter to secure.
91629         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
91630         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
91631         * elf/dl-deps.c (openaux): Likewise.
91632         * elf/rtld.c (struct map_args): Remove is_preloaded.
91633         (map_doit): Don't use it.
91634         (dl_main): Likewise.
91635         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
91636         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
91638 2010-09-09  Andreas Schwab  <schwab@redhat.com>
91640         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
91641         (sysd-rules-targets): Remove duplicates.
91642         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
91643         rtld-%.$o dependency.
91645 2010-10-18  Andreas Schwab  <schwab@redhat.com>
91647         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
91648         _dl_map_object do it.
91650 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
91652         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
91653         fast fma builtins, define the macros in the C99 standard.
91654         (FP_FAST_FMAF): Likewise.
91655         (FP_FAST_FMAL): Likewise.
91656         * sysdeps/x86_64/bits/mathdef.h: Likewise.
91658         * bits/mathdef.h: Update copyright year.
91659         * sysdeps/powerpc/bits/mathdef.h: Likewise.
91661 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
91663         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
91664         builtins, define the macros in the C99 standard.
91665         (FP_FAST_FMAF): Likewise.
91666         (FP_FAST_FMAL): Likewise.
91667         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
91668         multiply/add.
91669         (FP_FAST_FMAF): Likewise.
91671 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
91673         [BZ #3268]
91674         * math/libm-test.inc (fma_test): Some new testcases.
91675         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
91676         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
91677         y and infinite z.  Do multiplication by C already in long double.
91678         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
91679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
91680         y and infinite z.  Do bitwise or of inexact bit into u.d.
91681         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
91682         * sysdeps/i386/fpu/s_fmaf.S: Removed.
91683         * sysdeps/i386/fpu/s_fma.S: Removed.
91684         * sysdeps/i386/fpu/s_fmal.S: Removed.
91686 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
91688         [BZ #3268]
91689         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
91690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
91691         computation is not scheduled after fetestexcept.  Fix value
91692         of minimum denormal long double.
91694 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
91696         [BZ #3268]
91697         * math/libm-test.inc (fma_test): Add some more tests.
91698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
91699         correctly.
91701 2010-10-15  Andreas Schwab  <schwab@redhat.com>
91703         * scripts/data/localplt-s390-linux-gnu.data: New file.
91704         * scripts/data/localplt-s390x-linux-gnu.data: New file.
91706 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
91708         [BZ #3268]
91709         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
91710         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
91711         instead of dbl-64.
91712         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91713         inlines.
91714         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
91715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
91716         if one of x and y is very large and the other is subnormal.
91717         * sysdeps/s390/fpu/s_fmaf.c: New file.
91718         * sysdeps/s390/fpu/s_fma.c: New file.
91719         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
91720         * sysdeps/powerpc/fpu/s_fma.S: New file.
91721         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
91722         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
91723         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
91725 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
91727         [BZ #3268]
91728         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
91729         fma tests.
91730         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
91731         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
91732         * sysdeps/i386/i686/multiarch/s_fma.c: Include
91733         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
91734         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
91735         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
91736         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
91738 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
91740         [BZ #12078]
91741         * posix/regcomp.c (parse_branch): One more memory leak plugged.
91742         * posix/bug-regex31.input: Add test case.
91744 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91746         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
91747         * posix/bug-regex31.input: New file.
91749         [BZ #12078]
91750         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
91751         (parse_sub_exp): Fix last change, use postorder.
91753         * posix/bug-regex31.c: New file.
91754         * posix/Makefile: Add rules to build and run bug-regex31.
91756         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
91758         [BZ #12078]
91759         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
91761         [BZ #12108]
91762         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
91763         to have entries in sys_siglist.
91765         [BZ #12093]
91766         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
91767         be NULL.
91769 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
91771         [BZ #3268]
91772         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
91773         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
91774         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
91775         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
91776         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91777         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
91778         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
91779         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
91780         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
91781         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
91782         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
91783         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
91784         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
91785         * math/ftestexcept.c (fetestexcept): Likewise.
91786         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
91787         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
91788         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
91789         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
91790         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
91791         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
91792         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
91794 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91796         [BZ #12107]
91797         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
91798         newline.
91800 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
91802         * string/bug-strstr1.c: New file.
91803         * string/Makefile: Add rules to build and run bug-strstr1.
91805 2010-10-05  Eric Blake  <eblake@redhat.com>
91807         [BZ #12092]
91808         * string/str-two-way.h (two_way_long_needle): Always clear memory
91809         when skipping input due to the shift table.
91811 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
91813         [BZ #12005]
91814         * malloc/mcheck.c: Handle large requests.
91816         [BZ #12077]
91817         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
91818         for strncmp and strncasecmp.
91819         * string/stratcliff.c: Add tests for strcmp and strncmp.
91820         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
91822 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
91824         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
91825         __set_fpscr.
91827 2010-09-30  Andreas Jaeger  <aj@suse.de>
91829         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
91830         (CGROUP_SUPER_MAGIC): Define.
91831         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91832         Handle btrfs and cgroup file systems.
91833         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
91834         Likewise.
91836 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
91838         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
91839         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
91841 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91843         [BZ #12067]
91844         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
91845         trying to locate the ELF header.
91847 2010-09-27  Andreas Schwab  <schwab@redhat.com>
91849         [BZ #11611]
91850         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
91851         Mask out sign-bit copies when constructing f_fsid.
91853 2010-09-24  Petr Baudis <pasky@suse.cz>
91855         * debug/stack_chk_fail_local.c: Add missing licence exception.
91856         * debug/warning-nop.c: Likewise.
91858 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
91860         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
91861         implementing getdents64 using getdents syscall, set d_type if
91862         __ASSUME_GETDENTS32_D_TYPE.
91864 2010-09-16  Andreas Schwab  <schwab@redhat.com>
91866         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
91867         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
91869 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
91871         [BZ #12037]
91872         * posix/unistd.h: Undo change of feature selection for ftruncate from
91873         2010-01-11.
91875 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
91877         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
91878         detection.
91880 2010-09-20  Andreas Schwab  <schwab@redhat.com>
91882         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
91883         fanotify_mark.
91884         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91886 2010-09-14  Andreas Schwab  <schwab@redhat.com>
91888         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
91889         variables after CHECK_SP call.
91890         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
91892 2010-09-13  Andreas Schwab  <schwab@redhat.com>
91893             Ulrich Drepper  <drepper@redhat.com>
91895         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
91896         re-relocationg ld.so.
91897         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
91898         _dl_init_paths call.
91899         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
91900         here anymore.
91902 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
91904         * resolv/res_init.c (__res_vinit): Count the default server we added.
91906 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
91907             Ulrich Drepper  <drepper@redhat.com>
91909         [BZ #11968]
91910         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91911         (____longjmp_chk): Use %ebx for saving value across system call.
91912         Add unwind info.
91914 2010-09-06  Andreas Schwab  <schwab@redhat.com>
91916         * manual/Makefile: Don't mix pattern rules with normal rules.
91918 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
91920         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
91921         operation.
91922         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
91923         * libio/iofopncook.c (_IO_cookie_init): Likewise.
91924         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
91925         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
91926         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91927         Likewise.
91929 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
91931         [BZ #11979]
91932         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
91933         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
91935 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
91937         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
91938         * sysdeps/x86_64/addmul_1.S: Likewise.
91939         * sysdeps/x86_64/lshift.S: Likewise.
91940         * sysdeps/x86_64/mul_1.S: Likewise.
91941         * sysdeps/x86_64/rshift.S: Likewise.
91942         * sysdeps/x86_64/sub_n.S: Likewise.
91943         * sysdeps/x86_64/submul_1.S: Likewise.
91945 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91947         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
91948         Define __sched_param instead of SCHED_* and sched_param when
91949         <bits/sched.h> is included with __need_schedparam defined.
91950         * bits/sched.h [__need_schedparam]
91951         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
91952         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
91953         (__defined_schedparam): Define to 1.
91954         (__sched_param): New structure, identical to sched_param.
91955         (__need_schedparam): Undefine.
91957 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
91959         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
91960         (epoll_create1): Declare.
91962         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
91964 2010-08-31  Andreas Schwab  <schwab@redhat.com>
91966         [BZ #7066]
91967         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
91968         shifting retval into place.
91970 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
91972         * nis/rpcsvc/nis.h: Update copyright notice.
91973         * nis/rpcsvc/nis.x: Likewise.
91974         * nis/rpcsvc/nis_callback.h: Likewise.
91975         * nis/rpcsvc/nis_callback.x: Likewise.
91976         * nis/rpcsvc/nis_object.x: Likewise.
91977         * nis/rpcsvc/nis_tags.h: Likewise.
91978         * nis/rpcsvc/yp.h: Likewise.
91979         * nis/rpcsvc/yp.x: Likewise.
91980         * nis/rpcsvc/ypupd.h: Likewise.
91981         * nis/yp_xdr.c: Likewise.
91982         * nis/ypupdate_xdr.c: Likewise.
91984         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
91985         mainly the body of pmap_getport.  Add parameters to specify timeouts.
91986         (pmap_getport): Use __libc_rpc_getport.
91987         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
91988         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
91989         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
91991 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
91993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
91994         fanotify_mark.
91996 2010-08-27  Roland McGrath  <roland@redhat.com>
91998         * sysdeps/i386/i686/multiarch/Makefile
91999         (CFLAGS-varshift.c): New variable.
92001 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92003         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92004         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92006         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92008         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92010 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92012         * sysdeps/x86_64/strlen.S: Unroll the loop.
92013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92014         strlen-sse2 strlen-sse2-bsf.
92015         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92016         __strlen_no_bsf if bit_Slow_BSF is set.
92017         (__strlen_sse42): Removed.
92018         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92019         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92021 2010-08-25  Roland McGrath  <roland@redhat.com>
92023         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92024         * sysdeps/x86_64/multiarch/varshift.c: New file.
92025         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92026         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92027         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92028         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92030 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92033         strlen-sse2 strlen-sse2-bsf.
92034         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92035         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92036         (__strlen_sse2): Removed.
92037         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92040         bit_Slow_BSF for Atom.
92041         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92042         (index_Slow_BSF): Define.
92043         (HAS_SLOW_BSF): Define.
92045 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92047         [BZ #10851]
92048         * resolv/res_init.c (__res_vinit): When no server address at all
92049         is given default to loopback.
92051 2010-08-24  Roland McGrath  <roland@redhat.com>
92053         * configure.in: Remove config-name.h generation.
92054         * configure: Regenerated.
92055         * config-name.in: File removed.
92056         * scripts/config-uname.sh: New file.
92057         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92058         ($(objdir)config-name.h): New target.
92060         * sunrpc/rpc_parse.h: Avoid nested comment.
92062 2010-08-24  Richard Henderson  <rth@redhat.com>
92063             Ulrich Drepper  <drepper@redhat.com>
92064             H.J. Lu  <hongjiu.lu@intel.com>
92066         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92068         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92069         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92070         _mm_alignr_epi8 with _mm_loadu_si128.
92071         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92072         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92073         (__m128i_shift_right): Removed.
92074         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92075         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92076         * sysdeps/x86_64/multiarch/varshift.h: New file.
92077         * sysdeps/x86_64/multiarch/varshift.S: New file.
92079 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92081         * configure.in: Move assembler checks to before sysdep dir checking.
92083 2010-08-20  Petr Baudis  <pasky@suse.cz>
92085         * LICENSES: Sync the sunrpc license.
92087 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92089         * sunrpc/auth_des.c: Update copyright notice once again.
92090         * sunrpc/auth_none.c: Likewise.
92091         * sunrpc/auth_unix.c: Likewise.
92092         * sunrpc/authdes_prot.c: Likewise.
92093         * sunrpc/authuxprot.c: Likewise.
92094         * sunrpc/bindrsvprt.c: Likewise.
92095         * sunrpc/clnt_gen.c: Likewise.
92096         * sunrpc/clnt_perr.c: Likewise.
92097         * sunrpc/clnt_raw.c: Likewise.
92098         * sunrpc/clnt_simp.c: Likewise.
92099         * sunrpc/clnt_tcp.c: Likewise.
92100         * sunrpc/clnt_udp.c: Likewise.
92101         * sunrpc/clnt_unix.c: Likewise.
92102         * sunrpc/des_crypt.c: Likewise.
92103         * sunrpc/des_soft.c: Likewise.
92104         * sunrpc/get_myaddr.c: Likewise.
92105         * sunrpc/getrpcport.c: Likewise.
92106         * sunrpc/key_call.c: Likewise.
92107         * sunrpc/key_prot.c: Likewise.
92108         * sunrpc/openchild.c: Likewise.
92109         * sunrpc/pm_getmaps.c: Likewise.
92110         * sunrpc/pm_getport.c: Likewise.
92111         * sunrpc/pmap_clnt.c: Likewise.
92112         * sunrpc/pmap_prot.c: Likewise.
92113         * sunrpc/pmap_prot2.c: Likewise.
92114         * sunrpc/pmap_rmt.c: Likewise.
92115         * sunrpc/rpc/auth.h: Likewise.
92116         * sunrpc/rpc/auth_unix.h: Likewise.
92117         * sunrpc/rpc/clnt.h: Likewise.
92118         * sunrpc/rpc/des_crypt.h: Likewise.
92119         * sunrpc/rpc/key_prot.h: Likewise.
92120         * sunrpc/rpc/netdb.h: Likewise.
92121         * sunrpc/rpc/pmap_clnt.h: Likewise.
92122         * sunrpc/rpc/pmap_prot.h: Likewise.
92123         * sunrpc/rpc/pmap_rmt.h: Likewise.
92124         * sunrpc/rpc/rpc.h: Likewise.
92125         * sunrpc/rpc/rpc_des.h: Likewise.
92126         * sunrpc/rpc/rpc_msg.h: Likewise.
92127         * sunrpc/rpc/svc.h: Likewise.
92128         * sunrpc/rpc/svc_auth.h: Likewise.
92129         * sunrpc/rpc/types.h: Likewise.
92130         * sunrpc/rpc/xdr.h: Likewise.
92131         * sunrpc/rpc_clntout.c: Likewise.
92132         * sunrpc/rpc_cmsg.c: Likewise.
92133         * sunrpc/rpc_common.c: Likewise.
92134         * sunrpc/rpc_cout.c: Likewise.
92135         * sunrpc/rpc_dtable.c: Likewise.
92136         * sunrpc/rpc_hout.c: Likewise.
92137         * sunrpc/rpc_main.c: Likewise.
92138         * sunrpc/rpc_parse.c: Likewise.
92139         * sunrpc/rpc_parse.h: Likewise.
92140         * sunrpc/rpc_prot.c: Likewise.
92141         * sunrpc/rpc_sample.c: Likewise.
92142         * sunrpc/rpc_scan.c: Likewise.
92143         * sunrpc/rpc_scan.h: Likewise.
92144         * sunrpc/rpc_svcout.c: Likewise.
92145         * sunrpc/rpc_tblout.c: Likewise.
92146         * sunrpc/rpc_util.c: Likewise.
92147         * sunrpc/rpc_util.h: Likewise.
92148         * sunrpc/rpcinfo.c: Likewise.
92149         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92150         * sunrpc/rpcsvc/key_prot.x: Likewise.
92151         * sunrpc/rpcsvc/klm_prot.x: Likewise.
92152         * sunrpc/rpcsvc/mount.x: Likewise.
92153         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92154         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92155         * sunrpc/rpcsvc/rex.x: Likewise.
92156         * sunrpc/rpcsvc/rstat.x: Likewise.
92157         * sunrpc/rpcsvc/rusers.x: Likewise.
92158         * sunrpc/rpcsvc/sm_inter.x: Likewise.
92159         * sunrpc/rpcsvc/spray.x: Likewise.
92160         * sunrpc/rpcsvc/yppasswd.x: Likewise.
92161         * sunrpc/rtime.c: Likewise.
92162         * sunrpc/svc.c: Likewise.
92163         * sunrpc/svc_auth.c: Likewise.
92164         * sunrpc/svc_authux.c: Likewise.
92165         * sunrpc/svc_raw.c: Likewise.
92166         * sunrpc/svc_run.c: Likewise.
92167         * sunrpc/svc_simple.c: Likewise.
92168         * sunrpc/svc_tcp.c: Likewise.
92169         * sunrpc/svc_udp.c: Likewise.
92170         * sunrpc/svc_unix.c: Likewise.
92171         * sunrpc/svcauth_des.c: Likewise.
92172         * sunrpc/xcrypt.c: Likewise.
92173         * sunrpc/xdr.c: Likewise.
92174         * sunrpc/xdr_array.c: Likewise.
92175         * sunrpc/xdr_float.c: Likewise.
92176         * sunrpc/xdr_mem.c: Likewise.
92177         * sunrpc/xdr_rec.c: Likewise.
92178         * sunrpc/xdr_ref.c: Likewise.
92179         * sunrpc/xdr_sizeof.c: Likewise.
92180         * sunrpc/xdr_stdio.c: Likewise.
92182         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92183         handling.
92185 2010-08-19  Andreas Schwab  <schwab@redhat.com>
92187         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92189 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
92191         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92192         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92193         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92194         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92195         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92196         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92197         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92198         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92199         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92200         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92201         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92202         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92203         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92204         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92206 2010-07-26  Anton Blanchard  <anton@samba.org>
92208         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92209         * malloc/arena.c (heap_trim): Likewise.
92211 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
92213         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92214         here.  Not...
92215         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92216         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92218 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
92220         * sysdeps/i386/elf/Makefile: New file.
92222 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92224         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92225         from fanotify_init.
92226         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92229 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
92231         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
92232         of strncasecmp_l.
92233         * sysdeps/multiarch/strcmp.S: Likewise.
92235 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
92237         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92238         strncase_l-nonascii.
92239         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92240         Add strncase_l-ssse3.
92241         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
92242         * sysdeps/x86_64/strcmp.S: Likewise.
92243         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
92244         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
92245         * sysdeps/x86_64/strncase.S: New file.
92246         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
92247         * sysdeps/x86_64/strncase_l.S: New file.
92248         * string/Makefile (strop-tests): Add strncasecmp.
92249         * string/test-strncasecmp.c: New file.
92251         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
92252         warning.
92254         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
92255         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
92257 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92259         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
92261 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
92263         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
92264         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
92265         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
92267 2010-05-01  Alan Modra  <amodra@gmail.com>
92269         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
92270         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
92271         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
92272         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
92273         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
92274         tidying.  Don't tail-call __sigjmp_save for static lib.
92275         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
92276         save location.
92277         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
92278         (CALL_MCOUNT): Add eh info, and nop after bl.
92279         (TAIL_CALL_SYSCALL_ERROR): New macro.
92280         (PSEUDO_RET): Use it.
92281         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
92282         Correct save location of integer regs and cr.
92283         (_dl_profile_resolve): Correct cr save location.  Delete nops
92284         after bl when SHARED.  Reduce cfi size a little by better
92285         placement of cfi directives.
92286         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
92287         make a stack frame.  Instead use parm save area as a temp.
92288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
92289         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
92290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
92291         Don't make a stack frame for parent, use parm save area.
92292         Increase child stack frame to 112 bytes.  Don't save unused reg,
92293         and adjust reg usage.  Set up cfi on error recovery and
92294         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
92295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
92296         (__makecontext): Add dummy nop after jump to exit.
92297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
92298         Use correct parm save area and cr save, reduce stack frame.
92299         Correct cfi for possible PSEUDO_RET frame setup.
92300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
92301         Branch to local label emitted by PSEUDO_RET rather than
92302         __syscall_error.
92304 2010-08-12  Andreas Schwab  <schwab@redhat.com>
92306         [BZ #11904]
92307         * locale/programs/locale.c (print_assignment): New function.
92308         (show_locale_vars): Use it.
92310 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
92312         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
92313         field.
92314         (struct statfs64): Likewise.
92315         (_STATFS_F_FLAGS): Define.
92316         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
92317         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92318         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
92319         (ST_VALID): Define locally.
92320         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
92321         __statvfs_getflags, use the provided value.
92322         * sysdeps/unix/sysv/linux/kernel-features.h: Define
92323         __ASSUME_STATFS_F_FLAGS.
92325         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
92327         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
92328         Add sys/fanotify.h.
92329         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
92330         fanotify_mask for GLIBC_2.13.
92331         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
92332         fanotify_init and fanotify_mark.
92333         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92334         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
92336         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
92337         Add prlimit.
92338         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
92339         prlimit64 for GLIBC_2.13.
92340         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
92341         prlimit64.
92342         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
92343         syscall.
92344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
92345         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92346         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
92347         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
92348         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
92349         add prlimit alias.
92350         * sysdeps/unix/sysv/linux/prlimit.c: New file.
92352         [BZ #11903]
92353         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
92354         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
92356         * nss/Makefile: Add rules to build and run tst-nss-test1.
92357         * shlib-versions: Add entry for libnss_test1.
92358         * nss/nss_test1.c: New file.
92359         * nss/tst-nss-test1.c: New file.
92361         * nss/nsswitch.c (__nss_database_custom): Define new variable.
92362         (__nss_configure_lookup): Set appropriate entry in
92363         __nss_configure_lookup to true.
92364         * nss/nsswitch.h: Define enum with indeces of databases in
92365         databases and __nss_database_custom arrays.  Declare
92366         __nss_database_custom.
92367         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
92368         to avoid using nscd when custom rules are installed.
92369         * nss/getXXbyYY_r.c: Likewise.
92370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
92372         * nss/nss_files/files-parse.c: Whitespace fixes.
92374 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
92376         [BZ #11883]
92377         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
92378         * posix/fnmatch_loop.c: Likewise.
92380 2010-07-17  Andi Kleen  <ak@linux.intel.com>
92382         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
92383         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
92384         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
92385         * Versions.def [GLIBC_2.13]: Add.
92387 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
92389         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92390         Also fail if tpwd after pwuid call is NULL.
92392 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92394         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
92395         when converting to ms.
92397 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92399         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
92400         EOPNOTSUPP errors with ENOTTY.
92401         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
92402         EOPNOTSUPP errors with ENOTTY.
92404 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
92406         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92407         Add strcasecmp_l-ssse3.
92408         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
92409         strcasecmp.
92410         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
92411         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
92412         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92414 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
92416         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
92418         * string/Makefile (strop-tests): Add strcasecmp.
92419         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92420         strcasecmp_l-nonascii.
92421         (gen-as-const-headers): Add locale-defines.sym.
92422         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
92423         * sysdeps/x86_64/strcasecmp.S: New file.
92424         * sysdeps/x86_64/strcasecmp_l.S: New file.
92425         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
92426         * sysdeps/x86_64/locale-defines.sym: New file.
92427         * string/test-strcasecmp.c: New file.
92429         * string/test-strcasestr.c: Test both ends of the range of characters.
92430         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
92432 2010-07-29  Roland McGrath  <roland@redhat.com>
92434         [BZ #11856]
92435         * manual/locale.texi (Yes-or-No Questions): Fix example code.
92437 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
92439         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
92440         for ld.so.
92442 2010-07-27  Andreas Schwab  <schwab@redhat.com>
92444         * manual/memory.texi (Malloc Tunable Parameters): Document
92445         M_PERTURB.
92447 2010-07-26  Roland McGrath  <roland@redhat.com>
92449         [BZ #11840]
92450         * configure.in (-fgnu89-inline check): Set and substitute
92451         gnu89_inline, not libc_cv_gnu89_inline.
92452         * configure: Regenerated.
92453         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
92455 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
92457         * string/test-strnlen.c: New file.
92458         * string/Makefile (strop-tests): Add strnlen.
92459         * string/tester.c (test_strnlen): Add a few more test cases.
92460         * string/tst-strlen.c: Better error reporting.
92462         * sysdeps/x86_64/strnlen.S: New file.
92464 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
92466         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
92467         lower-latency instructions.
92469 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
92471         * string/test-strcasestr.c: New file.
92472         * string/test-strstr.c: New file.
92473         * string/Makefile (strop-tests): Add strstr and strcasestr.
92474         * string/str-two-way.h: Don't undefine MAX.
92475         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
92477 2010-07-21  Andreas Schwab  <schwab@redhat.com>
92479         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92480         strcasestr-nonascii.
92481         (CFLAGS-strcasestr-nonascii.c): Define.
92482         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
92483         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
92484         Remove unused attribute.
92486 2010-07-20  Roland McGrath  <roland@redhat.com>
92488         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
92489         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
92490         ld.so.cache was broken.  With it, there is no way to disable dsocaps
92491         like LD_HWCAP_MASK can disable hwcaps.
92493 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92495         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
92497 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
92499         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
92500         call in strcasestr.
92501         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
92502         __strcasestr_sse42_nonascii.
92503         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
92504         strcasestr-nonascii.c.
92505         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
92507 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
92509         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
92510         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
92511         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
92512         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
92514 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
92516         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
92517         fcntl.
92519 2010-07-06  Andreas Schwab  <schwab@redhat.com>
92521         [BZ #11577]
92522         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
92523         dl_signal_cerror.
92525 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
92527         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
92528         _PC_PIPE_BUF using F_GETPIPE_SZ.
92530 2010-07-05  Roland McGrath  <roland@redhat.com>
92532         * manual/arith.texi (Rounding Functions): Fix rint description
92533         implicit in round description.
92535 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
92537         * elf/Makefile: Fix linking for a few tests to make recent linker
92538         happy.
92540 2010-06-30  Andreas Schwab  <schwab@redhat.com>
92542         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92543         $(common-objpfx)libc_nonshared.a.
92545 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
92547         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
92548         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
92549         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92550         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92551         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
92552         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
92553         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92554         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
92556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
92557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
92558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
92560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92569         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92570         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92571         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92572         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92573         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92574         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92575         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92576         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92577         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92578         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92579         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92580         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92596 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92598         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92599         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92600         * string/memmove.c (memmove): Renamed to ...
92601         (MEMMOVE): ...this.  Default to memmove.
92602         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92603         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92604         (END_CHK): Define.
92605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92606         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92607         mempcpy-ssse3-back memmove-ssse3-back.
92608         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92609         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92610         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92611         * sysdeps/x86_64/multiarch/memcpy.S: New file.
92612         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92613         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92614         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92615         * sysdeps/x86_64/multiarch/memmove.c: New file.
92616         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92617         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92618         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92619         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
92620         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
92621         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
92622         Define.
92623         (index_Fast_Copy_Backward): Define.
92624         (HAS_ARCH_FEATURE): Define.
92625         (HAS_FAST_REP_STRING): Define.
92626         (HAS_FAST_COPY_BACKWARD): Define.
92628 2010-06-21  Andreas Schwab  <schwab@redhat.com>
92630         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92631         Restore proper fallback handling.
92633 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
92635         [BZ #11701]
92636         * posix/group_member.c (__group_member): Correct checking loop.
92638         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
92639         OOM in getpwuid_r correctly.  Return error number when the caller
92640         should return, otherwise -1.
92641         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
92642         call returning > 0 value.
92643         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92645 2010-06-07  Andreas Schwab  <schwab@redhat.com>
92647         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
92648         libc_nonshared.a from targets in modules-names.
92650 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
92652         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
92653         requires it.
92655 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
92657         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
92658         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
92659         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
92660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92662 2010-06-02  Andreas Schwab  <schwab@redhat.com>
92664         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92666 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
92668         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
92669         and F_GETPIPE_SZ.
92670         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92671         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92673         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92674         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92675         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92677 2010-06-14  Roland McGrath  <roland@redhat.com>
92679         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92681 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
92683         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
92684         __REDIRECT followed by __THROW.
92685         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
92686         * posix/getopt.h (getopt): Likewise.
92688 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92690         * hurd/lookup-at.c (__file_name_lookup_at): Accept
92691         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
92692         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
92693         in AT_FLAGS.
92694         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
92695         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92697 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
92699         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92701 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
92703         [BZ #11640]
92704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92705         Properly check family and model.
92707 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
92709         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92711 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
92713         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92715 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
92717         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
92718         symbol reference.
92720 2010-05-19  Andreas Schwab  <schwab@redhat.com>
92722         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
92723         symbol reference.
92725 2010-05-21  Andreas Schwab  <schwab@redhat.com>
92727         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
92728         and internal_recvmmsg.
92729         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
92730         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
92731         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
92732         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92734         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
92735         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
92736         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92738 2010-05-20  Andreas Schwab  <schwab@redhat.com>
92740         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92742 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
92744         POWER7 optimizations.
92745         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
92746         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92748 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
92750         * version.h: Update for 2.13 development version.
92752 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
92754         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
92755         exceptions.  Return 0.
92757 2010-05-07  Roland McGrath  <roland@redhat.com>
92759         * elf/ldconfig.c (main): Add a const.
92761 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
92763         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
92764         (args_options): Add no-idn option.
92765         (ahosts_keys_int): Add idn_flags to ai_flags.
92766         (parse_option): Handle 'i' option to clear idn_flags.
92768         * malloc/malloc.c (_int_free): Possible race in the most recently
92769         added check.  Only act on the data if no current modification
92770         happened.
92772 See ChangeLog.17 for earlier changes.