Remove mi_arena nested function.
[glibc.git] / ChangeLog
blobc2351d21e6e37049269eba8080d56cee18a3ffef
1 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3         * malloc/malloc.c (malloc_info): Inline mi_arena.
5 2014-05-29  Richard Henderson  <rth@twiddle.net>
7         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8         Remove comma before expanding ASM_ARGS_##nr.
9         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11         of ASM_ARGS_##nr.
12         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15         (ASM_ARGS_1): Add leading comma.
17         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19         to __errno_location.
20         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21         Remove the expected plt for __errno_location.
23         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25         call to __read_tp.
27         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29         it and break it down.
30         (DOCARGS_0, DOCARGS_1): Do nothing.
31         (DOCARGS_2): Update to store into the new stack frame.
32         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33         (UNDOCARGS_1): Update to restore from the new stack frame.
34         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38         (SINGLE_THREAD_P): New parameter for result regno.
39         (PSEUDO): Update to match; use cbz instead of beq.
41         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42         Use ENTRY to define the _nocancel entry point.  Share the syscall
43         and syscall error check paths with the cancel path.
44         (PSEUDO_END): New.
46         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47         whitespace; tabs before and after asm mnemonics.
49 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51         [BZ #15132]
52         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53         Call fstat64 or stat64 internally, depending on arguments passed.
54         Replace stat buffer argument with file descriptor argument.
55         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
56         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
57         Pass fd to __internal_statvfs instead of calling fstat64.
58         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
59         Pass fd to __internal_statvfs64 instead of calling fstat64.
60         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
61         Pass -1 to __internal_statvfs instead of calling stat64.
62         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
63         Pass -1 to __internal_statvfs64 instead of calling stat64.
65 2014-05-28  Roland McGrath  <roland@hack.frob.com>
67         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
68         that was previously under [RESET_PID].
69         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
71         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
72         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
74 2014-05-27  Roland McGrath  <roland@hack.frob.com>
76         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
78         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
79         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
81 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
83         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
85 2014-05-27  Andreas Schwab  <schwab@suse.de>
87         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
88         TLS_INIT_TP macro.
89         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
90         * elf/rtld.c (init_tls, dl_main): Likewise.
91         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
92         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
93         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
94         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
95         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
96         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
97         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
98         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
99         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
100         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
101         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
102         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
103         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
104         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
105         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
106         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
107         * sysdeps/generic/tls.h: Update description.
109 2014-05-27  Will Newton  <will.newton@linaro.org>
111         [BZ #16990]
112         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
113         and restore r2 rather than just restoring.
115 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
117         [BZ #16724]
118         * libio/tst-ftell-append.c: New test case.
119         * libio/Makefile (tests): Add test case.
120         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
121         append mode.
122         * libio/wfileops.c (do_ftell_wide): Likewise.
124 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
128         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
129         ...
130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
132         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
133         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
134         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
135         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
136         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
137         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
139         Moved ...
140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
142         Moved ...
143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
144         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
145         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
146         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
147         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
148         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
149         ...
150         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
151         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
152         Moved ...
153         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
154         here.
155         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
156         ...
157         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
158         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
159         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
161         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
162         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
163         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
164         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
167         merge into ...
168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
169         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
170         ...
171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
172         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
173         ...
174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
176         Moved ...
177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
178         here.
179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
180         Moved ...
181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
183         Moved ...
184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
187         conditional [RESET_PID].
188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
190         removed.
191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
192         removed.
194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
195         <tcb-offsets.h>.
196         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
197         (__libc_vfork): New strong alias.
198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
199         removed.
200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
201         Removed.
203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
204         <tcb-offsets.h>.
205         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
206         (__libc_vfork): New strong alias.
207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
208         removed.
209         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
210         removed.
212 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
214         * malloc/malloc.c (mi_arena): New function.
215         (malloc_info): Remove nested function mi_arena. Call non-nosted
216         function mi_arena.
218 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
220         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
221         by insrwi.
222         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
223         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
224         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
225         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
226         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
227         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
228         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
230 2014-05-26  Andreas Schwab  <schwab@suse.de>
232         [BZ #16984]
233         * locale/programs/repertoire.c (repertoire_read): Add slash
234         between I18NPATH element and file name.
235         * locale/programs/locfile.c (locfile_read): Likewise.
237 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
239         * nptl/pthread_mutexattr_settype.c
240         (__pthread_mutexattr_settype):
241         Disable lock elision for PTHREAD_MUTEX_NORMAL.
243 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
245         * nptl/tst-mutex5 (do_test):
246         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
248 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
250         * benchtests/README: Document 'init' directive.
251         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
252         BENCH_INIT.
253         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
254         (parse_file): Recognize 'init' directive.
256 2014-05-26  Kyle McMartin  <kyle@redhat.com>
258         [BZ #16796]
259         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
260         alignment of struct pthread.
262 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
264         [BZ #16878]
265         * nscd/netgroupcache.c (addgetnetgrentX): Look for
266         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
267         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
268         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
270 2014-05-25  Richard Henderson  <rth@twiddle.net>
272         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
273         (SINGLE_THREAD_P_PIC): Remove.
274         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
275         (SINGLE_THREAD_P_PIC): Remove.
277         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
278         branch to syscall error ...
279         (PSEUDO): ... here.
280         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
281         from __local_syscall_error to .Lsyscall_error.
282         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
283         (SYSCALL_ERROR): Update label name.
285         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
286         Do not use DOARGS/UNDOARGS.
287         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
288         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
289         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
290         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
291         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
293         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
294         block comment.
296         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
297         define if !NOT_IN_libc.
298         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
299         define with non-default symbol versions.
301 2014-05-23  Richard Henderson  <rth@twiddle.net>
303         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
304         (vfork, __vfork): Define via compat_symbol.
306         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
307         [!HAVE_IFUNC] (vfork_compat): Remove.
308         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
310 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
312         [BZ #16978]
313         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
314         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
315         variable.
317 2014-05-23  Richard Henderson  <rth@twiddle.net>
319         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
320         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
321         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
322         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
324         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
325         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
326         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
327         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
328         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
329         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
330         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
331         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
332         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
333         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
334         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
335         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
336         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
337         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
338         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
339         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
340         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
341         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
342         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
343         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
344         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
345         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
346         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
347         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
348         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
349         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
350         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
351         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
352         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
353         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
354         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
355         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
356         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
357         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
358         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
359         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
360         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
361         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
362         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
363         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
364         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
365         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
366         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
367         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
368         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
369         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
370         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
371         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
372         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
373         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
374         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
375         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
376         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
377         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
378         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
379         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
381         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
382         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
383         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
384         before exiting on error.
385         (__libc_vfork): New strong alias.
386         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
387         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
389         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
390         that was previously under [RESET_PID].
391         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
393         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
395 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
397         [BZ #16977]
398         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
399         value when x - 1 is zero.
400         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
401         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
402         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
403         0.0L for an argument of 1.0L.
404         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
405         Likewise.
406         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
407         value when x - 1 is zero.
408         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
409         * sysdeps/i386/fpu/libm-test-ulps: Update.
410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
412 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
414         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
415         alphasort and versionsort.
417 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
419         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
420         macro.
421         [copysignf]: Likewise.
423 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
425         * crypt/md5-crypt.c: Fix formatting.
427 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
429         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
430         (b64_from_24bit): New function.
432 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
434         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
435         libc_hidden_builtin_def to ifunc.
436         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
437         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
439 2014-05-21  Roland McGrath  <roland@hack.frob.com>
441         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
442         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
444 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
446         * nscd/Depend (linuxthreads): Remove.
447         (nptl): Add.
448         * resolv/Depend (linuxthreads): Remove.
449         * rt/Depend (linuxthreads): Remove.
451         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
452         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
453         $(common-objpfx)elf/.
454         (link-libc-before-gnulib): Likewise.
455         (elfobjdir): Remove variable.
456         * Makefile (install): Use $(elf-objpfx) instead of
457         $(common-objpfx)elf/.
458         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
459         $(elfobjdir)/.
460         (link-libc-deps): Likewise.
461         ($(common-objpfx)libc.so): Likewise.
462         ($(common-objpfx)linkobj/libc.so): Likewise.
463         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
464         instead of $(common-objpfx)elf/.
465         (symbolic-link-list): Likewise.
466         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
467         [$(cross-compiling) = no]: Likewise.
468         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
469         $(elfobjdir)/.
470         (static-gnulib-arch): Likewise.
471         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
472         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
473         $(common-objpfx)elf/.
475 2014-05-21  Richard Henderson  <rth@redhat.com>
477         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
478         (SINGLE_THREAD_P): Use the correct width load.  Fold
479         into the ldr offset.
481         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
482         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
484 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
486         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
487         (libgcc_s_resume): Use __attribute_used__.
488         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
489         Likewise.
491 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
493         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
494         optimization when used with float constants.
496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
498 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
500         [BZ #16915]
501         * locale/nl_langinfo_l.c: Make direct reference to every
502         _nl_current_CATEGORY symbol.
503         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
504         (tests-static): Add tst-langinfo-static.
505         (tests-special): Add tst-langinfo-static.out.
506         ($(objpfx)tst-langinfo.out): Redirect output.
507         ($(objpfx)tst-langinfo-static.out): New.
508         * localedata/tst-langinfo.sh: Send output to stdout.
509         * localedata/tst-langinfo-static.c: New file.
511         [BZ #16965]
512         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
513         when the shift amount is modulo the limb size.
515 2014-05-20  Richard Henderson  <rth@redhat.com>
517         [BZ #16967]
518         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
519         Change type of sa_flags from unsigned int to int.
521         [BZ #16966]
522         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
524         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
526 2014-05-20  Will Newton  <will.newton@linaro.org>
528         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
529         Test the return value of the system call in the nocancel case.
531 2014-05-20  Will Newton  <will.newton@linaro.org>
532             Yvan Roux  <yvan.roux@linaro.org>
534         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
535         #include of asm/ptrace.h.
536         (PTRACE_GET_THREAD_AREA): Remove #undef.
537         (PTRACE_GETHBPREGS): Likewise.
538         (PTRACE_SETHBPREGS): Likewise.
539         (struct user_regs_struct): New structure.
540         (struct user_fpsimd_struct): New structure.
541         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
542         #include of asm/ptrace.h and second #include of sys/user.h.
543         (PTRACE_GET_THREAD_AREA): Remove #undef.
544         (PTRACE_GETHBPREGS): Likewise.
545         (PTRACE_SETHBPREGS): Likewise.
546         (ELF_NGREG): Use new struct user_regs_struct.
547         (elf_fpregset_t): Use new struct user_fpsimd_struct.
549 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
551         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
552         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
554 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
556         [BZ #16958]
557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
558         membar to avoid block loads/stores to overlap previous stores.
560 2014-05-17  Richard Henderson  <rth@redhat.com>
562         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
563         Create the __##syscall_name##_nocancel entry point.
564         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
565         Remove; let the sysdep-cancel.h code create it.
567 2014-05-17  David S. Miller  <davem@davemloft.net>
569         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
570         Protect with __USE_GNU.
571         (TIOCSET_TEMPT): Likewise.
572         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
573         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
574         these are already provided in bits/ioctl-types.h
576 2014-05-16  Roland McGrath  <roland@hack.frob.com>
578         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
579         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
581         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
582         Use wait4 regardless of [__NR_waitpid].
584 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
586         PR libgcc/60166
587         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
588         (_FP_NANSIGN_Q): Set the quiet bit.
590 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
592         * benchtests/Makefile
593         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
594         not $(common-objpfx)math/libm.so.
595         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
596         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
597         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
598         $(common-objpfx)dlfcn/libdl.so.
599         ($(objpfx)tst-audit8): Depend on $(libm), not
600         $(common-objpfx)math/libm.so.
601         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
602         not $(common-objpfx)dlfcn/libdl.so.
603         * math/Makefile
604         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
605         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
606         [$(build-shared) = yes].
607         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
608         $(common-objpfx)nptl/libpthread.so.
609         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
610         $(common-objpfx)math/libm.so$(libm.so-version) or
611         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
612         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
613         $(common-objpfx)dlfcn/libdl.so.
614         * setjmp/Makefile (link-libm): Remove variable.
615         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
616         * stdio-common/Makefile (link-libm): Remove variable.
617         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
618         * stdlib/Makefile (link-libm): Remove variable.
619         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
620         ($(objpfx)tst-strtod-round): Likewise.
621         ($(objpfx)tst-tininess): Likewise.
622         ($(objpfx)tst-strtod-underflow): Likewise.
623         ($(objpfx)tst-strtod6): Likewise.
624         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
625         $(libdl), not $(common-objpfx)nptl/libpthread.so and
626         $(common-objpfx)dlfcn/libdl.so.
628 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
630         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
631         BSD terminal modes definitions.
633 2014-05-16  Roland McGrath  <roland@hack.frob.com>
635         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
636         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
638         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
639         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
640         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
641         Don't do #include_next.
642         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
643         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
644         Don't do #include_next.
645         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
646         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
647         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
648         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
650 2014-05-16  Allan McRae  <allan@archlinux.org>
652         * po/sv.po: Update Swedish translation from translation project.
654         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
655         in sed expression.
657 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
659         [BZ #16917]
660         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
661         errno if the TIOCGPTN ioctl fails with an error different than
662         EINVAL.
663         * login/tst-ptsname.c: New file.
664         * login/Makefile (tests): Add tst-ptsname.
666         [BZ #16943]
667         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
668         and prlimit64.
670 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
672         [BZ #16849]
673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
674         herrno to return EAI_AGAIN.
676 2014-05-14  Roland McGrath  <roland@hack.frob.com>
678         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
679         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
680         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
681         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
682         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
683         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
684         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
685         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
686         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
687         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
688         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
689         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
690         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
691         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
692         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
693         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
694         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
695         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
696         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
697         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
698         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
699         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
700         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
701         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
702         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
703         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
704         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
705         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
706         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
707         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
709         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
711         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
713         Moved ...
714         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
716         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
718         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
720         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
722         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
724         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
726         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
728         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
730         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
732         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
734         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
736         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
738         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
740         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
742         Moved ...
743         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
745         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
747         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
749         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
751         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
753         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
755         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
757         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
759         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
761         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
763         Moved ...
764         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
766         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
768         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
769         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
770         (libpthread-sysdep_routines): Add elision-related stuff here instead.
771         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
772         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
773         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
774         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
775         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
776         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
777         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
778         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
779         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
780         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
781         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
782         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
783         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
784         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
785         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
786         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
787         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
788         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
789         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
790         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
791         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
792         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
793         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
794         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
795         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
796         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
797         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
798         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
800         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
801         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
803         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
804         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
805         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
806         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
807         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
808         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
809         Moved ...
810         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
811         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
812         Moved ...
813         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
814         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
815         Moved ...
816         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
817         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
818         Moved ...
819         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
820         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
821         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
822         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
823         Moved ...
824         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
825         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
826         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
827         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
828         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
829         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
830         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
831         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
832         Moved ...
833         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
834         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
835         Moved ...
836         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
837         ... here.
838         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
839         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
840         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
841         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
842         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
843         Moved ...
844         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
845         ... here.
846         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
847         Moved ...
848         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
849         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
850         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
851         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
852         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
853         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
854         Moved ...
855         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
856         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
857         Moved ...
858         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
859         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
860         Moved ...
861         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
862         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
863         Moved ...
864         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
865         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
866         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
867         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
868         Moved ...
869         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
870         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
871         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
872         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
873         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
874         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
875         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
876         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
877         Moved ...
878         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
879         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
880         Moved ...
881         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
882         ... here.
883         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
884         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
885         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
886         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
887         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
888         Moved ...
889         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
890         ... here.
891         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
892         Moved ...
893         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
894         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
895         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
896         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
897         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
898         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
899         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
900         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
901         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
902         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
903         Moved ...
904         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
905         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
906         Moved ...
907         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
908         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
909         Moved ...
910         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
911         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
912         Moved ...
913         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
914         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
915         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
916         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
917         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
918         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
919         Moved ...
920         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
921         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
922         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
923         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
924         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
925         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
926         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
927         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
928         Moved ...
929         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
930         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
931         Moved ...
932         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
933         ... here.
934         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
935         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
936         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
937         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
938         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
939         Moved ...
940         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
941         ... here.
942         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
943         Moved ...
944         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
945         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
946         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
947         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
948         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
949         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
950         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
951         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
952         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
953         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
954         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
956         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
957         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
959         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
960         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
962         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
963         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
964         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
965         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
966         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
967         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
968         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
969         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
970         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
971         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
972         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
973         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
974         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
975         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
976         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
978         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
980         Moved ...
981         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
982         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
983         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
985         Moved ...
986         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
988         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
990         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
992         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
993         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
994         Moved ...
995         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
996         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
997         Moved ...
998         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
999         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1000         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1001         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1002         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1004         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1005         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1006         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1007         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1008         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1009         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1010         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1011         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1012         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1013         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1014         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1016         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1017         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1018         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1019         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1020         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1022         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1023         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1024         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1025         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1026         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1027         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1028         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1029         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1030         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1031         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1036         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1037         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1038         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1039         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1040         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1041         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1042         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1043         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1044         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1045         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1046         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1047         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1048         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1049         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1051         Update #include.
1052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1053         Likewise.
1054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1055         Likewise.
1056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1057         Likewise.
1058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1059         Likewise.
1060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1061         Likewise.
1062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1063         Likewise.
1064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1065         Likewise.
1066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1067         Likewise.
1068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1069         Likewise.
1070         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1071         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1073         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1074         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1075         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1076         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1077         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1078         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1079         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1080         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1081         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1082         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1083         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
1084         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
1086         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1087         that was previously under [RESET_PID].
1088         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1089         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1090         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1092         * sysdeps/i386/nptl/Implies: New file.
1093         * sysdeps/x86_64/nptl/Implies: New file.
1094         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1095         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1096         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1097         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1099         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1100         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1101         (__libc_vfork): New strong alias.
1102         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1103         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1105         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1106         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1107         (__libc_vfork): New strong alias.
1108         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1109         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1111         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1112         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1113         (__libc_vfork): New strong alias.
1114         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1115         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1116         * nptl/pt-vfork.c: New file.
1117         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1118         (libpthread: GLIBC_2.20): New version set (empty).
1120 2014-05-14  Will Newton  <will.newton@linaro.org>
1122         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1123         rather than #if.
1125 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1127         [BZ #16564]
1128         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1129         arguments with exponent 65 or above.
1130         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1131         arguments 0x1p113L or above.
1132         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1133         to arguments 0x1p107L or above.
1134         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1135         positive arguments with exponent 65 or above.
1136         * math/auto-libm-test-in: Add more tests of log1p.
1137         * math/auto-libm-test-out: Regenerated.
1139         [BZ #16928]
1140         * math/s_cacos.c (__cacos): Ensure zero real part of result from
1141         non-finite arguments is +0.
1142         * math/s_cacosf.c (__cacosf): Likewise.
1143         * math/s_cacosl.c (__cacosl): Likewise.
1144         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1145         * sysdeps/i386/fpu/libm-test-ulps: Update.
1146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1148         [BZ #16927]
1149         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1150         value.
1151         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1152         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1153         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1154         for explicit high bit of mantissa when testing for argument equal
1155         to 1.
1156         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1157         * sysdeps/i386/fpu/libm-test-ulps: Update.
1158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1160         [BZ #16516]
1161         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1162         (__erf): Scale by 16 instead of 8 in potentially underflowing
1163         case.  Ensure exception if result actually underflows.
1164         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1165         (__erff): Scale by 16 instead of 8 in potentially underflowing
1166         case.  Ensure exception if result actually underflows.
1167         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1168         (efx8): Remove variable.
1169         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1170         case.  Ensure exception if result actually underflows.
1171         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1172         (efx8): Remove variable.
1173         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1174         case.  Ensure exception if result actually underflows.
1175         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1176         (efx8): Remove variable.
1177         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1178         case.  Ensure exception if result actually underflows.
1179         * math/auto-libm-test-in: Add more tests of erf.
1180         * math/auto-libm-test-out: Regenerated.
1182 2014-05-14  Andreas Schwab  <schwab@suse.de>
1184         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1185         Remove code conditionalized on USE___THREAD.
1187         * config.h.in (HAVE_PT_CHOWN): Define as 0.
1188         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1189         not definedness.
1191 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1193         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1194         Define unconditionally.
1195         (__ASSUME_O_CLOEXEC): Likewise.
1196         (__ASSUME_SOCK_CLOEXEC): Likewise.
1197         (__ASSUME_IN_NONBLOCK): Likewise.
1198         (__ASSUME_PIPE2): Likewise.
1199         (__ASSUME_EVENTFD2): Likewise.
1200         (__ASSUME_SIGNALFD4): Likewise.
1201         (__ASSUME_DUP3): Likewise.
1202         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1203         (__ASSUME_DUP3): Do not define.
1204         (__ASSUME_EVENTFD2): Likewise.
1205         (__ASSUME_IN_NONBLOCK): Likewise.
1206         (__ASSUME_O_CLOEXEC): Likewise.
1207         (__ASSUME_PIPE2): Likewise.
1208         (__ASSUME_SIGNALFD4): Likewise.
1209         (__ASSUME_SOCK_CLOEXEC): Likewise.
1210         (__ASSUME_UTIMES): Undefine.
1211         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1212         (__ASSUME_UTIMES): Do not define.
1213         (__ASSUME_O_CLOEXEC): Likewise.
1214         (__ASSUME_SOCK_CLOEXEC): Likewise.
1215         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1216         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1217         0x020621].
1218         (__ASSUME_PIPE2): Likewise.
1219         (__ASSUME_EVENTFD2): Likewise.
1220         (__ASSUME_SIGNALFD4): Likewise.
1221         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1222         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1223         Do not define.
1224         (__ASSUME_EVENTFD2): Likewise.
1225         (__ASSUME_SIGNALFD4): Likewise.
1226         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1227         (__ASSUME_32BITUIDS): Likewise.
1228         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1229         (__ASSUME_IPC64): Likewise.
1230         (__ASSUME_ST_INO_64_BIT): Likewise.
1231         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1232         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1233         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1234         (__ASSUME_UTIMES): Do not define.
1235         (__ASSUME_PSELECT): Likewise.
1236         (__ASSUME_PPOLL): Likewise.
1237         (__ASSUME_O_CLOEXEC): Likewise.
1238         (__ASSUME_SOCK_CLOEXEC): Likewise.
1239         (__ASSUME_IN_NONBLOCK): Likewise.
1240         (__ASSUME_PIPE2): Likewise.
1241         (__ASSUME_EVENTFD2): Likewise.
1242         (__ASSUME_SIGNALFD4): Likewise.
1243         (__ASSUME_DUP3): Likewise.
1244         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1245         (__ASSUME_UTIMES): Likewise.
1246         (__ASSUME_O_CLOEXEC): Likewise.
1247         (__ASSUME_SOCK_CLOEXEC): Likewise.
1248         (__ASSUME_IN_NONBLOCK): Likewise.
1249         (__ASSUME_PIPE2): Likewise.
1250         (__ASSUME_EVENTFD2): Likewise.
1251         (__ASSUME_SIGNALFD4): Likewise.
1252         (__ASSUME_DUP3): Likewise.
1253         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1254         (__ASSUME_UTIMES): Likewise.
1255         (__ASSUME_O_CLOEXEC): Likewise.
1256         (__ASSUME_SOCK_CLOEXEC): Likewise.
1257         (__ASSUME_IN_NONBLOCK): Likewise.
1258         (__ASSUME_PIPE2): Likewise.
1259         (__ASSUME_EVENTFD2): Likewise.
1260         (__ASSUME_SIGNALFD4): Likewise.
1261         (__ASSUME_DUP3): Likewise.
1262         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1263         Likewise.
1264         (__ASSUME_UTIMES): Likewise.
1265         (__ASSUME_EVENTFD2): Likewise.
1266         (__ASSUME_SIGNALFD4): Likewise.
1267         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1268         (__ASSUME_O_CLOEXEC): Likewise.
1269         (__ASSUME_SOCK_CLOEXEC): Likewise.
1270         (__ASSUME_IN_NONBLOCK): Likewise.
1271         (__ASSUME_PIPE2): Likewise.
1272         (__ASSUME_EVENTFD2): Likewise.
1273         (__ASSUME_SIGNALFD4): Likewise.
1274         (__ASSUME_DUP3): Likewise.
1275         (__ASSUME_UTIMES): Undefine.
1277         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1278         feclearexcept.  Remove symbol versioning code.
1279         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
1280         symbol versioning code.
1281         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
1282         symbol versioning code.
1283         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1284         feupdateenv.  Remove symbol versioning code.
1285         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1286         fegetexceptflag.  Remove symbol versioning code.
1287         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1288         fesetexceptflag.  Remove symbol versioning code.
1289         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1290         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
1291         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1292         (__posix_fadvise64_l32): Remove prototype.
1293         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1294         code.
1296 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1298         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1299         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1300         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1301         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1303 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
1305         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1306         current working directory
1308 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1310         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1311         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1312         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1313         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1314         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1315         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1316         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1317         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1318         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1319         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1320         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1321         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1322         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1323         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1324         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1325         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1326         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1327         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1328         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1329         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1330         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1331         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1332         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1333         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1334         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1335         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1336         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1337         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1338         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1339         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1340         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1341         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1342         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1343         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1344         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1345         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1346         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1347         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1348         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1349         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1350         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1351         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1353         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1354         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1356         * sysdeps/unix/sysv/linux/arm/Makefile
1357         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1358         Add rt-aeabi_unwind_cpp_pr1.
1359         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1360         Add nptl-aeabi_unwind_cpp_pr1.
1361         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1362         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1363         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1364         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1365         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1366         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1368         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1369         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1370         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1371         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1373         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1374         Deconditionalize the code that was previously under [RESET_PID].
1375         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1377         * sysdeps/generic/exit-thread.h: New file.
1378         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1379         * include/unistd.h (__exit_thread): Remove declaration.
1380         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1381         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1382         * csu/libc-start.c: Include <exit-thread.h>.
1383         (LIBC_START_MAIN): Pass no argument to __exit_thread.
1384         * nptl/pthread_create.c: Include <exit-thread.h>.
1385         (start_thread): Call __exit_thread in place of __exit_thread_inline.
1386         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1387         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1388         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1389         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1390         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1391         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1392         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1393         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1394         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1395         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1396         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1397         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1398         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1399         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1400         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1401         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1403 2014-05-13  Andreas Schwab  <schwab@suse.de>
1405         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1407 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
1409         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1410         (__ASSUME_UTIMES): Do not condition on kernel version.
1411         (__ASSUME_PSELECT): Define unconditionally.
1412         (__ASSUME_PPOLL): Likewise.
1413         (__ASSUME_ATFCTS): Likewise.
1414         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1415         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1416         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1417         (__ASSUME_UTIMENSAT): Define unconditionally.
1418         (__ASSUME_PRIVATE_FUTEX): Likewise.
1419         (__ASSUME_FALLOCATE): Likewise.
1420         (__ASSUME_O_CLOEXEC): Likewise.
1421         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1422         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1423         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1424         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1425         (__ASSUME_IN_NONBLOCK): Likewise.
1426         (__ASSUME_PIPE2): Likewise.
1427         (__ASSUME_EVENTFD2): Likewise.
1428         (__ASSUME_SIGNALFD4): Likewise.
1429         (__ASSUME_DUP3): Likewise.
1430         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1431         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1432         (__ASSUME_AT_RANDOM): Likewise.
1433         (__ASSUME_PREADV): Likewise.
1434         (__ASSUME_PWRITEV): Likewise.
1435         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1436         (__ASSUME_F_GETOWN_EX): Define unconditionally.
1437         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1438         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1439         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1440         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1441         (__ASSUME_O_CLOEXEC): Define unconditionally.
1442         (__ASSUME_PSELECT): Do not undefine conditionally.
1443         (__ASSUME_PPOLL): Likewise.
1444         (__ASSUME_ATFCTS): Likewise.
1445         (__ASSUME_SET_ROBUST_LIST): Likewise.
1446         (__ASSUME_UTIMENSAT): Likewise.
1447         (__ASSUME_FDATASYNC): Define unconditionally.
1448         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1449         (__ASSUME_SIGFRAME_V2): Likewise.
1450         )__ASSUME_EVENTFD2): Likewise.
1451         (__ASSUME_SIGNALFD4): Likewise.
1452         (__ASSUME_PSELECT): Do not undefine conditionally.
1453         (__ASSUME_PPOLL): Likewise.
1454         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1455         (__ASSUME_PSELECT): Define unconditionally.
1456         (__ASSUME_PPOLL): Likewise.
1457         (__ASSUME_O_CLOEXEC): Likewise.
1458         (__ASSUME_SOCK_CLOEXEC): Likewise.
1459         (__ASSUME_IN_NONBLOCK): Likewise.
1460         (__ASSUME_PIPE2): Likewise.
1461         (__ASSUME_EVENTFD2): Likewise.
1462         (__ASSUME_SIGNALFD4): Likewise.
1463         (__ASSUME_DUP3): Likewise.
1464         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1465         (__ASSUME_O_CLOEXEC): Likewise.
1466         (__ASSUME_SOCK_CLOEXEC): Likewise.
1467         (__ASSUME_IN_NONBLOCK): Likewise.
1468         (__ASSUME_PIPE2): Likewise.
1469         (__ASSUME_EVENTFD2): Likewise.
1470         (__ASSUME_SIGNALFD4): Likewise.
1471         (__ASSUME_DUP3): Likewise.
1472         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1473         (__ASSUME_EVENTFD2): Likewise.
1474         (__ASSUME_SIGNALFD4): Likewise.
1475         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1477 2014-05-12  Andreas Schwab  <schwab@suse.de>
1479         [BZ #16932]
1480         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1481         (_nss_nis_gethostbyname4_r): Return error if item length is larger
1482         than maximum RPC packet size.
1483         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1484         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1485         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1486         (_nss_nis_getservbyport_r): Likewise.
1488 2014-05-12  Will Newton  <will.newton@linaro.org>
1490         * malloc/Makefile (tests): Add tst-mallopt.
1491         * malloc/tst-mallopt.c: New file.
1493 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1495         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1496         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1498 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1500         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1501         (tst-tlsmod6.so): Likewise.
1503 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1505         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1507 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
1509         [BZ #16064]
1510         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1511         and <dl-procinfo.h>.
1512         (__fegetenv): Save SSE state in envp->__eip if supported.
1513         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1514         envp->__eip if supported.
1515         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1516         and <dl-procinfo.h>.
1517         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1518         __data_offset and __data_selector in environment to 0.  Set SSE
1519         state if supported.
1520         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1521         test-fenv-sse.
1522         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1523         -mfpmath=sse.
1524         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1526 2014-05-09  Will Newton  <will.newton@linaro.org>
1528         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1529         and libc_relro_required for ARM.
1530         * sysdeps/arm/preconfigure: Regenerate.
1532 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1533             Stefan Liebler  <stli@linux.vnet.ibm.com>
1535         * config.make.in (enable-lock-elision): New Makefile variable.
1536         * configure.ac: Likewise.
1537         * configure: Regenerate.
1538         * sysdeps/s390/configure.ac:
1539         Add check for gcc transactions support.
1540         * sysdeps/s390/configure: Regenerate.
1541         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1542         Build elision files if enabled.
1543         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1544         Add lock elision support for s390.
1545         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1546         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1547         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1548         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1549         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1550         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1551         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1552         Likewise.
1553         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1554         Likewise.
1555         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1556         Likewise.
1557         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1558         Likewise.
1559         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1560         (__lll_timedlock_elision, __lll_lock_elision)
1561         (__lll_unlock_elision, __lll_trylock_elision)
1562         (lll_timedlock_elision, lll_lock_elision)
1563         (lll_unlock_elision, lll_trylock_elision): Add.
1564         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1565         (pthread_mutex_t): Add lock elision support for s390.
1567 2014-05-14  Wilco  <wdijkstr@arm.com>
1569         * sysdeps/arm/fclrexcpt.c: Cleanup.
1570         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1571         * sysdeps/arm/feenablxcpt.c: Cleanup.
1572         * sysdeps/arm/fegetenv.c: Cleanup.
1573         * sysdeps/arm/fegetexcept.c: Cleanup.
1574         * sysdeps/arm/fegetround.c: Cleanup.
1575         * sysdeps/arm/feholdexcpt.c: Cleanup.
1576         * sysdeps/arm/fesetenv.c: Cleanup.
1577         * sysdeps/arm/fesetround.c: Cleanup.
1578         * sysdeps/arm/feupdateenv.c: Cleanup.
1579         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1580         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1581         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1582         * sysdeps/arm/ftestexcept.c: Cleanup.
1583         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1584         * sysdeps/arm/setfpucw.c: Cleanup.
1586 2014-05-09  Will Newton  <will.newton@linaro.org>
1588         * sysdeps/arm/armv7/strcmp.S: New file.
1589         * NEWS: Mention addition of ARMv7 optimized strcmp.
1591 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1593         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1594         look for %.ac rather than %.in.
1596         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1597         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1598         * sysdeps/mach/hurd/configure: Regenerated.
1599         * sysdeps/unix/sysv/linux/configure: Regenerated.
1601         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1603 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1605         [BZ# 16922]
1606         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1607         (LONG_SUB): Ditto.
1608         (PTR_SUB): Ditto.
1610 2014-05-07  Andreas Schwab  <schwab@suse.de>
1612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1613         when skipping over non-matching result from nscd.
1615 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1617         [BZ #16876]
1618         * nptl/sockperf.c (client): Check socket return value.
1620         [BZ #16877]
1621         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1622         nscd security class.
1624 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1626         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1627         * sysdeps/arm/unwind.h: ... here.
1629 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1631         [BZ# 16916]
1632         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1633         Define.
1635 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1637         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1638         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1639         multiarch strncpy for PPC64.
1640         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1641         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1643         multiarch optimizations.
1644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1645         (__libc_ifunc_impl_list): Likewise.
1646         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1647         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1648         multiarch stpncpy for PPC64.
1649         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1650         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1652 2014-05-06  Andreas Schwab  <schwab@suse.de>
1654         [BZ #16912]
1655         * gmon/mcount.c (_MCOUNT_DECL): Use
1656         atomic_compare_and_exchange_bool_acq instead of
1657         catomic_compare_and_exchange_bool_acq.
1659 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1661         * elf/Makefile (others, install-bin): Remove pldd.
1662         (pldd-modules): Variable removed.
1663         ($(objpfx)pldd): Target removed.
1664         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1665         (others, install-bin): Append pldd here.
1666         ($(objpfx)pldd): New target.
1668         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1669         to 0, so the first #if test emitted later doesn't see it undefined.
1670         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1671         * sysdeps/gnu/errlist.c: Regenerated.
1673 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1675         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1676         [libc_hidden_builtin_def]: Define to empty value.
1677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1678         [libc_hidden_builtin_def]: Likewise.
1679         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1680         [libc_hidden_builtin_def]: Likewise.
1681         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1682         [libc_hidden_builtin_def]: Likewise.
1683         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1684         __redirect_memcpy and define ifunc as default hidden symbol.
1685         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1686         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1688 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1690         * locale/iso-4217.def: Reintroduce XDR currency.
1692 2014-05-04  Allan McRae  <allan@archlinux.org>
1694         * po/eo.po: Update Esperanto translation from translation project.
1696 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1698         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1699         and FEATURE_INDEX_MAX to 1.
1700         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1702 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1704         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1705         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1706         * iconvdata/big5.c (ONE_DIRECTION): Define.
1707         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1708         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1709         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1710         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1711         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1712         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1713         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1714         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1715         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1716         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1717         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1718         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1719         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1720         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1721         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1722         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1723         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1724         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1725         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1726         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1727         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1728         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1729         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1730         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1731         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1732         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1733         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1734         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1735         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1736         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1737         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1738         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1739         * iconvdata/johab.c (ONE_DIRECTION): Define.
1740         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1741         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1742         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1743         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1744         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1745         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1746         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1747         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1748         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1749         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1751 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1753         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1754         (_IO_JUMPS_OFFSET): Define to 0.
1756         * nptl/sysdeps/pthread/bits/libc-lock.h
1757         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1758         (__libc_lock_define_initialized_recursive): Always define using
1759         initializer.  Modern compilers treat uninitialized (implicit zero) and
1760         explicit zero initializers the same (i.e. put the datum in bss).
1762 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1764         * nscd/nscd-client.h: Include <string.h>.
1766 2014-05-01  David S. Miller  <davem@davemloft.net>
1768         [BZ #16885]
1769         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1770         multiple zero bytes exist at the end of a string.
1771         Reported by Aurelien Jarno <aurelien@aurel32.net>
1773         * string/test-strcmp.c (check): Add explicit test for situations where
1774         there are multiple zero bytes after the first.
1776 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1778         [BZ #16890]
1779         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1780         when compiling wprintf.
1781         * stdio-common/tstdiomisc.c (t3): New function.
1782         (main): Call it.
1784 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1786         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1787         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1788         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1789         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1791 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1793         * stdlib/longlong.h: Updated from GCC.
1795 2014-05-01  Will Newton  <will.newton@linaro.org>
1796             Bernard Ogden  <bernie.ogden@linaro.org>
1798         * NEWS: Update fixed bug list.
1800         [BZ #15119]
1801         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1803 2014-04-30  David S. Miller  <davem@davemloft.net>
1805         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1806         (libc_feholdexcept_setround_sparc_ctx): New function.
1807         (libc_fesetenv_sparc_ctx): Likewise.
1808         (libc_feupdateenv_sparc_ctx): Likewise.
1809         (libc_feholdsetround_sparc_ctx): Likewise.
1810         (libc_feholdexcept_setround_ctx): Define.
1811         (libc_feholdexcept_setroundf_ctx): Likewise.
1812         (libc_feholdexcept_setroundl_ctx): Likewise.
1813         (libc_fesetenv_ctx): Likewise.
1814         (libc_fesetenvf_ctx): Likewise.
1815         (libc_fesetenvl_ctx): Likewise.
1816         (libc_feupdateenv_ctx): Likewise.
1817         (libc_feupdateenvf_ctx): Likewise.
1818         (libc_feupdateenvl_ctx): Likewise.
1819         (libc_feresetround_ctx): Likewise.
1820         (libc_feresetroundf_ctx): Likewise.
1821         (libc_feresetroundl_ctx): Likewise.
1822         (libc_feholdsetround_ctx): Likewise.
1823         (libc_feholdsetroundf_ctx): Likewise.
1824         (libc_feholdsetroundl_ctx): Likewise.
1826         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1827         with __USE_GNU instead of XOPEN cpp guards.
1829         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1830         0.
1832         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1833         with XOPEN cpp guards.
1835 2014-04-30  Julian Brown  <julian@codesourcery.com>
1837         [BZ #16888]
1838         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1839         handling.
1841 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1843         [BZ #9894]
1844         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1845         Change to 2.6.32.
1846         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1847         * sysdeps/unix/sysv/linux/configure: Regenerated.
1848         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1849         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1850         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1851         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1852         * README: Update reference to required Linux kernel version.
1853         * manual/install.texi (Linux): Update reference to required Linux
1854         kernel headers version.
1855         * INSTALL: Regenerated.
1857         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1858         header inclusion.
1859         [POSIX] (limits.h): Likewise.
1860         [POSIX] (math.h): Likewise.
1861         [POSIX] (sys/wait.h): Likewise.
1862         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1863         function.
1864         [POSIX] (stddef.h): Do not allow header inclusion.
1866 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1868         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1870 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1872         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1873         Return immediately after lll_futex_wake.
1875 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1877         [BZ #16791]
1878         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1879         structure.
1880         (datahead_init_pos): Call datahead_init_common early.
1881         (datahead_init_neg): Likewise.
1883         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1884         datahead_init_neg): New functions.
1885         * nscd/aicache.c (addhstaiX): Use them.
1886         * nscd/grpcache.c (cache_addgr): Likewise.
1887         * nscd/hstcache.c (cache_addhst): Likewise.
1888         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1889         * nscd/netgroupcache.c (do_notfound): Likewise.
1890         (addgetnetgrentX): Likewise.
1891         (addinnetgrX): Likewise.
1892         * nscd/pwdcache.c (cache_addpw): Likewise.
1893         * nscd/servicescache.c (cache_addserv): Likewise.
1895 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1896             Atsushi Onoe  <atsushi@onoe.org>
1898         [BZ #14308]
1899         [BZ #12994]
1900         [BZ #13651]
1901         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1902         one response is valid.
1903         * resolv/res_send.c (send_dg): Check for validity of other
1904         response if the current response is a referral.
1906 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1908         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1910 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1912         [BZ #16823]
1913         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1914         Always divide by positive zero when computing -Inf result.
1915         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1916         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1918 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1920         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1921         FPSCR if value do not change.
1922         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1923         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1924         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1925         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1926         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1927         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1928         function.
1930 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1932         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1933         * sysdeps/unix/sysv/linux/hppa: Move directory from
1934         ports/systeps/unix/sysv/linux/hppa.
1935         * README: Update listing for hppa-*-linux-gnu.
1937 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
1939         [BZ #16754]
1940         * manual/stdio.texi (Hook functions): Fix types of stream hook
1941         functions.
1942         [BZ #16854]
1943         * socket/sys/socket.h: Fix typo in comment.
1945 2014-04-28  Wilco  <wdijkstr@arm.com>
1947         * sysdeps/arm/fenv_private.h: New file.
1948         * sysdeps/arm/math_private.h: New file.
1949         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1951 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
1953         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1954         with __int128_t.
1955         (La_x86_64_retval): Likewise.
1957 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
1959         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1960         fpsr if value didn't change.
1961         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1962         to fpcr if value didn't change.
1963         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1964         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1965         fpsr or fpcr if value didn't change.
1966         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1967         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1968         fpcr if value didn't change.
1969         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1970         to fpsr if value didn't change.
1972 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1974         * nptl/tst-sem3.c: Use test-skeleton.c
1975         (main): Rename to do_test.  Use return instead of
1976         exit.
1977         * nptl/tst-sem4.c: Use test-skeleton.c
1978         (main): Rename to do_test.
1980 2014-04-22  David S. Miller  <davem@davemloft.net>
1982         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1983         (struct sigaction): New struct member __glibc_reserved0, change
1984         type of sa_flags to int.
1986 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
1988         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1989         (COUNT_LEADING_ZEROS_0): Define for AArch64.
1991 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1993         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1994         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1996 2014-04-22  Will Newton  <will.newton@linaro.org>
1997             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1999         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2000         (__longjmp): Add longjmp and longjmp_target SystemTap
2001         probes.
2002         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2003         (__sigsetjmp): Add setjmp SystemTap probe.
2005 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
2007         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2008         match manual order.
2010 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2012         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2014         * sysdeps/powerpc/fpu/fenv_private.h
2015         (libc_feholdexcept_setroundl_ctx): Define to
2016         libc_feholdexcept_setround_ppc_ctx.
2017         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2018         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2019         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2020         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2022 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2024         * sysdeps/aarch64/math-tests.h: New file.
2026 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
2028         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2029         New.
2030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2031         Check and set bit_AVX2_Usable.
2032         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2033         macro.
2034         (bit_AVX2): Likewise.
2035         (index_AVX2_Usable): Likewise.
2036         (CPUID_AVX2): Likewise.
2037         (HAS_AVX2): Likewise.
2039 2014-04-17  Will Newton  <will.newton@linaro.org>
2041         * manual/setjmp.texi (System V contexts): Add note that
2042         calling setcontext on a context created by a call to a
2043         signal handler is undefined.  Update text to note that
2044         setcontext from a signal handler is possible but not
2045         recommended.
2047         [BZ #16629]
2048         * stdlib/tst-setcontext.c: Include signal.h.
2049         (main): Check that the signal stack before and
2050         after swapcontext is the same.
2052         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2053         Re-implement to restore registers in user code and avoid
2054         rt_sigreturn system call.
2056 2014-04-17  Wilco  <wdijkstr@arm.com>
2058         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2059         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2060         * math/test-fenv.c: Skip exception trap tests on targets which only
2061         support non-stop mode.
2063 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2064             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2066         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2067         (libc_feholdsetround_aarch64_ctx)
2068         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2069         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2070         (libc_feresetround_ctx, libc_feresetroundf_ctx)
2071         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2072         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2073         (libc_feresetround_noexl_ctx): Define.
2075 2014-04-16  Richard Henderson  <rth@redhat.com>
2077         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2079         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2080         unwind tables.
2082         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2083         const from the non-libc, non-ldso copy.
2085         * sysdeps/alpha/libm-test-ulps: Regenerate.
2087 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
2088             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2090         * sysdeps/aarch64/fpu/math_private.h: New file.
2092 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2094         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2096 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
2098         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2099         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2100         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2101         Intel MPX bound registers before _dl_profile_fixup.
2102         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2103         registers after _dl_profile_fixup.  Save and restore bound
2104         registers bnd0/bnd1 when calling _dl_call_pltexit.
2105         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2106         (LR_BND_OFFSET): Likewise.
2107         (LRV_BND0_OFFSET): Likewise.
2108         (LRV_BND1_OFFSET): Likewise.
2110 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2112         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2113         to...
2114         * sysdeps/mach/hurd/i386/tls.h: ... here.
2115         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2116         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2117         fields.
2119 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2121         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2123 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2125         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2127 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2129         [BZ #14770]
2130         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2131         * sysdeps/s390/configure: Regenerate.
2133         [BZ #16824]
2134         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2135         Set round-to-nearest internally to reduce error accumulation.
2137 2014-04-16  Alan Modra  <amodra@gmail.com>
2139         [BZ #16740]
2140         [BZ #16619]
2141         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2142         * math/libm-test.inc (frexp_test_data): Add tests.
2143         * NEWS: Update fixed bug list.
2145 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2147         * benchtests/Makefile: Depend on libraries in build directory.
2148         (bench-math): Separate out math tests.
2149         (bench-pthread): Separate out pthread tests.
2150         (bench): Include math and pthread tests.
2152 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
2154         [BZ #16831]
2155         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2156         _dl_debug_initialize.
2158         * configure.ac: Remove SELinux header check.
2159         * configure: Regenerate.
2160         * nscd/selinux.c (perms): Array of const char* to permission names.
2161         (nscd_request_avc_has_perm): Call security_deny_unknown to find
2162         default policy. Call string_to_security_class and string_to_av_perm to
2163         translate strings. Enforce default policy and call avs_has_perm with
2164         results of translated strings.
2166 2014-04-13  David S. Miller  <davem@davemloft.net>
2168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2170 2014-04-12  Allan McRae  <allan@archlinux.org>
2172         [BZ #16838]
2173         * manual/string.texi (Collation Functions): Fix qsort argument
2174         order in example.
2175         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2177 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
2179         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2180         Make the test a no-op if there are no exceptions defined.
2182 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2184         * elf/Makefile (tests): make tst-dlopen-aout conditional on
2185         enable-hardcoded-path-in-tests
2187 2014-04-11  Will Newton  <will.newton@linaro.org>
2189         * benchtests/Makefile (extra-objs): Add json-lib.o.
2190         (bench-func): Tidy up JSON output.
2191         * benchtests/bench-skeleton.c: Include json-lib.h.
2192         (main): Use JSON library functions to do output of
2193         benchmark results.
2194         * benchtests/bench-timing-type.c (main): Output the
2195         timing type simply, leaving formatting to the user.
2196         * benchtests/json-lib.c: New file.
2197         * benchtests/json-lib.h: Likewise.
2199 2014-04-11  Torvald Riegel  <triegel@redhat.com>
2201         [BZ #15215]
2202         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2203         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
2204         memory barriers.  Add comments.
2205         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2206         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2207         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2208         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2209         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2210         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2212 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2214         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2215         * sysdeps/s390/s390-64/configure.ac: ... this ...
2216         * sysdeps/s390/configure.ac: ... to here.
2217         * sysdeps/s390/s390-32/configure: Delete file.
2218         * sysdeps/s390/s390-64/configure: Delete file.
2219         * sysdeps/s390/configure: Regenerate.
2221 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
2223         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2225 2014-04-11  Will Newton  <will.newton@linaro.org>
2227         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2228         to zero if it is not defined elsewhere.  (mtrim): Test
2229         the value of MALLOC_DEBUG with #if rather than #ifdef.
2231 2014-04-10 Torvald Riegel  <triegel@redhat.com>
2233         * benchtests/pthread_once-inputs: New file.
2234         * benchtests/pthread_once-source.c: New file.
2235         * benchtests/README: Update documentation.
2237 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2238             H.J. Lu  <hongjiu.lu@intel.com>
2240         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2241         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2242         * sysdeps/x86_64/configure: Regenerated.
2243         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2244         macro.
2245         (REGISTER_SAVE_RAX): Likewise.
2246         (REGISTER_SAVE_RCX): Likewise.
2247         (REGISTER_SAVE_RDX): Likewise.
2248         (REGISTER_SAVE_RSI): Likewise.
2249         (REGISTER_SAVE_RDI): Likewise.
2250         (REGISTER_SAVE_R8): Likewise.
2251         (REGISTER_SAVE_R9): Likewise.
2252         (REGISTER_SAVE_BND0): Likewise.
2253         (REGISTER_SAVE_BND1): Likewise.
2254         (REGISTER_SAVE_BND2): Likewise.
2255         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
2256         bound registers when calling _dl_fixup.
2258 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2260         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2261         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2262         of its definition.
2263         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2264         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2265         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2266         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2267         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2268         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2269         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2271 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
2273         [BZ #15514]
2274         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2275         pathconf(_PC_NAME_MAX).
2277 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2279         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2280         Remove macro usage.
2281         (__PTHREAD_SPINS): Move definition to ...
2282         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2283         (__PTHREAD_SPINS): ... here.
2284         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2285         (__PTHREAD_SPIN): Likewise.
2286         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2287         (__PTHREAD_SPIN): Likewise.
2288         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2289         (__PTHREAD_SPIN): Likewise.
2290         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2291         (__PTHREAD_SPIN): Likewise.
2292         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2293         (__PTHREAD_SPIN): Likewise.
2294         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2295         (__PTHREAD_SPIN): Likewise.
2296         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2297         (__PTHREAD_SPIN): Likewise.
2298         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2299         (__PTHREAD_SPIN): Likewise.
2300         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2301         (__PTHREAD_SPIN): Likewise.
2302         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2303         (__PTHREAD_SPIN): Likewise.
2304         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2305         (__PTHREAD_SPIN): Likewise.
2306         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2307         (__PTHREAD_SPIN): Likewise.
2309         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2310         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2311         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2312         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2313         imply folder.
2314         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2315         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2316         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2317         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2318         correct imply path.
2319         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2320         strlen symbol for non multi-arch builds.
2321         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2322         missing hidden_def and weak_alias.
2324 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
2326         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2328 2014-04-07  Will Newton  <will.newton@linaro.org>
2330         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2331         and contents.  [!_LIBC] Remove #ifndef and contents.
2332         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
2333         * string/memccpy.c (__memccpy): Use ANSI prototype.
2334         * string/memfrob.c (memfrob): Likewise.
2335         * string/strcoll.c (STRCOLL): Likewise.
2336         * string/strlen.c (strlen): Likewise.
2337         * string/strtok.c (STRTOK): Likewise.
2338         * string/strcat.c: Remove unused #include of memcopy.h.
2339         (strcat): Use ANSI prototype.
2340         * string/strchr.c: Remove unused #include of memcopy.h.
2341         (strchr): Use ANSI prototype.
2342         * string/strcmp.c: Remove unused #include of memcopy.h.
2343         (strcmp): Use ANSI prototype.
2344         * string/strcpy.c: Remove unused #include of memcopy.h.
2345         (strcpy): Use ANSI prototype.
2347 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2349         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2350         * config.make.in (config-extra-cppflags): Set it from
2351         libc_extra_cppflags.
2352         * configure.ac (libc_extra_cflags): Make it accumulate over
2353         configure fragments.
2354         (libc_extra_cppflags): New flag.
2355         * configure. Regenerate.
2356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2357         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2358         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2361         [BZ #16815]
2362         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2363         result for FE_DOWNWARD rounding mode.
2364         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2365         Likewise.
2366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2368 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
2370         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2371         in function argument name.
2373 2014-04-03  David Svoboda  <svoboda@cert.org>
2375         [BZ #5666]
2376         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2377         explicitly.
2379 2014-04-03  Roland McGrath  <roland@hack.frob.com>
2381         * elf/dl-unmap-segments.h: New file.
2382         * sysdeps/generic/ldsodefs.h
2383         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2384         * elf/dl-close.c: Include <dl-unmap-segments.h>.
2385         * elf/dl-fptr.c: Likewise.
2386         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2387         * sysdeps/aarch64/tlsdesc.c: Likewise.
2388         * sysdeps/arm/tlsdesc.c: Likewise.
2389         * sysdeps/i386/tlsdesc.c: Likewise.
2390         * sysdeps/tile/dl-runtime.c: Likewise.
2391         * sysdeps/x86_64/tlsdesc.c: Likewise.
2392         * elf/dl-load.h: New file.
2393         * elf/dl-load.c: Include it.
2394         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2395         Macros moved to dl-load.h.
2396         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2397         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2398         Use _dl_unmap_segments in place of __munmap.
2399         Break out segment-mapping loop into ...
2400         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2402 2014-04-03  Will Newton  <will.newton@linaro.org>
2404         * elf/dl-lookup.c (do_lookup_x): Remove comment
2405         referring to nested function and move variable
2406         declarations down to before first use.
2408 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
2410         [BZ #16799]
2411         [BZ #16800]
2412         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2413         with 0 numerator.
2414         * math/s_catanf.c (__catanf): Likewise.
2415         * math/s_catanh.c (__catanh): Likewise.
2416         * math/s_catanhf.c (__catanhf): Likewise.
2417         * math/s_catanhl.c (__catanhl): Likewise.
2418         * math/s_catanl.c (__catanl): Likewise.
2419         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2420         by positive zero when computing -Inf result.
2421         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2422         (catanh_test): Likewise.
2423         * sysdeps/i386/fpu/libm-test-ulps: Update.
2424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2426         [BZ #16789]
2427         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2428         instead of using underflowing value in computing result.
2429         * math/s_clog10.c (__clog10): Likewise.
2430         * math/s_clog10f.c (__clog10f): Likewise.
2431         * math/s_clog10l.c (__clog10l): Likewise.
2432         * math/s_clogf.c (__clogf): Likewise.
2433         * math/s_clogl.c (__clogl): Likewise.
2434         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2435         (clog10_test): Likewise.
2436         * sysdeps/i386/fpu/libm-test-ulps: Update.
2437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2439 2014-04-02  Alan Modra  <amodra@gmail.com>
2441         [BZ #16739]
2442         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2443         output when value is near a power of two.  Use int64_t for lx and
2444         remove casts.  Use decimal rather than hex exponent constants.
2445         Don't use long double multiplication when double will suffice.
2446         * math/libm-test.inc (nextafter_test_data): Add tests.
2447         * NEWS: Add 16739 and 16786 to bug list.
2449         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2451         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2453 2014-04-01  Will Newton  <will.newton@linaro.org>
2455         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2456         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
2458 2014-04-01  Florian Weimer  <fweimer@redhat.com>
2460         [BZ #13347]
2461         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2462         * nptl/tst-setuid2.c: New file.
2463         * nptl/Makefile (xtests): Add tst-setuid2.
2465 2014-04-01  Alan Modra  <amodra@gmail.com>
2467         [BZ #16786]
2468         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2470 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2472         [BZ #6803]
2473         [BZ #6804]
2474         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2475         set errno as appropriate.
2476         * math/w_scalbf.c (__scalbf): Likewise.
2477         * math/w_scalbl.c (__scalbl): Likewise.
2478         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2479         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2480         * math/libm-test.inc (scalb_test_data): Add errno expectations.
2481         Add more NaN tests.
2483         [BZ #16349]
2484         * math/w_atan2.c: Include <errno.h>.
2485         (__atan2): Set errno for result underflowing to zero.
2486         * math/w_atan2f.c: Include <errno.h>.
2487         (__atan2f): Set errno for result underflowing to zero.
2488         * math/w_atan2l.c: Include <errno.h>.
2489         (__atan2l): Set errno for result underflowing to zero.
2490         * math/auto-libm-test-in: Don't allow missing errno for some atan2
2491         tests.
2492         * math/auto-libm-test-out: Regenerated.
2494 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2496         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2497         Encode instruction correctly in little endian.
2498         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2499         Likewise.
2500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2501         Likewise.
2502         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2503         Likewise.
2504         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2505         Likewise.
2507 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2509         [BZ #9894]
2510         * sysdeps/unix/sysv/linux/kernel-features.h
2511         [__sparc__ && !__arch64__ && !__sparc_v9__]
2512         (__ASSUME_SET_ROBUST_LIST): Do not define.
2513         [__sparc__ && !__arch64__ && !__sparc_v9__]
2514         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2515         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2516         Likewise.
2517         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2518         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2519         (__ASSUME_REQUEUE_PI): Likewise.
2520         (__ASSUME_SET_ROBUST_LIST): Likewise.
2521         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2522         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2523         Undefine.
2524         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2525         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2526         Likewise.
2527         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2528         Likewise.
2529         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2530         Likewise.
2531         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2532         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2533         Undefine.
2534         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2535         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2536         Likewise.
2538         [BZ #16648]
2539         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2540         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2541         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2543 2014-03-31  Will Newton  <will.newton@linaro.org>
2545         * benchtests/Makefile (bench): Add ffs and ffsll to list
2546         of tests.
2547         * benchtests/ffs-inputs: New file.
2548         * benchtests/ffsll-inputs: Likewise.
2550 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2552         [BZ #16770]
2553         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2554         too large before casting to int.
2555         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2556         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2557         * math/libm-test.inc (scalb_test_data): Add more tests.
2559 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2561         * benchtests/Makefile (DETAILED_OPT): New make option.
2562         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2563         set.
2564         * benchtests/bench-skeleton.c: Include stdbool.h.
2565         (main): Store and print timings per input.
2566         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2567         member to each argument value.
2568         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2569         (_print_arg_data): Initialize per-input timing to 0.
2571         * benchtests/Makefile (timing-type): New binary.
2572         (bench-clean): Also remove bench-timing-type.
2573         (bench): New target for timing-type.
2574         (bench-func): Print output in JSON format.
2575         * benchtests/bench-skeleton.c (main): Print output in JSON
2576         format.
2577         * benchtests/bench-timing-type.c: New file.
2578         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2579         (TIMING_PRINT_STATS): Remove.
2580         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2581         name separately.
2583         * benchtests/bench-modf.c: Remove.
2584         * benchtests/modf-inputs: New inputs file.
2586 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2588         [BZ #16362]
2589         * math/s_clog10.c (M_PI_LOG10E): New macro.
2590         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2591         imaginary parts are 0.
2592         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2593         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2594         imaginary parts are 0.
2595         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2596         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2597         imaginary parts are 0.
2598         * math/libm-test.inc (clog10_test_data): Update expected results
2599         for when real and imaginary parts are 0.
2601 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2603         * elf/dl-load.c: Finish conversion of __builtin_expect into
2604         __glibc_{un}likely.
2606 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2608         [BZ #16348]
2609         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2610         1+x for argument with exponent below -67.
2611         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2612         Likewise.
2613         * math/auto-libm-test-in: Add more tests of exp.
2614         * math/auto-libm-test-out: Regenerated.
2616 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2618         [BZ #16759]
2619         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2620         (nscd_getnetgrent): Use it.
2622         [BZ #16760]
2623         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2624         of stpcpy.
2626 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2628         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2629         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2630         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2631         (lll_robust_unlock): Remove out of line section. Use cfi
2632         intrinsics.
2633         (LLL_STUB_UNWIND_INFO*): Remove.
2634         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2635         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2636         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2637         (lll_robust_unlock): Remove out of line section. Use cfi
2638         intrinsics.
2639         (LLL_STUB_UNWIND_INFO*): Remove.
2641 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2643         [BZ #16758]
2644         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2645         blank values.
2647 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2649         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2651 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2653         [BZ #16198]
2654         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2655         fnstenv.
2656         * math/test-fenv-preserve.c: New file.
2657         * math/Makefile (tests): Add test-fenv-preserve.
2659 2014-03-26  Will Newton <will.newton@linaro.org>
2661         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2663 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2665         * scripts/versionlist.awk: Partition the version sets and emit all
2666         GLIBC_* (sorted) before all others (sorted).
2668 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2670         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2671         GLIBC_2.2.5 version.
2673 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2675         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2676         calls.
2678         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2679         previous change.
2681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2683 2014-03-25  Andreas Schwab  <schwab@suse.de>
2685         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2686         label to be used after in6ailist is initialized.
2688 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2690         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2691         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2693 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2695         [BZ #16357]
2696         [BZ #16599]
2697         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2698         min_plus_half.
2699         (fp_formats): Update initializers.
2700         (init_fp_formats): Initialize new field.
2701         (output_for_one_input_case): Allow underflow for results up to
2702         min_plus_half.
2703         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2704         * math/auto-libm-test-in: Don't mark some underflows from asin and
2705         atanh as spurious.
2706         * math/auto-libm-test-out: Regenerated.
2707         * sysdeps/i386/fpu/libm-test-ulps: Update.
2708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2710 2014-03-25  Andreas Schwab  <schwab@suse.de>
2712         * libio/Makefile (tst-ftell-partial-wide-ENV)
2713         (tst-ftell-active-handler-ENV): Define.
2715 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2717         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2719 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2721         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2723 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2725         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2726         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2727         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2729 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2731         [BZ #16634]
2732         * elf/dl-load.c (open_verify): Add mode parameter.
2733         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2734         (open_path): Change from boolean 'secure' to complete flag 'mode'
2735         (_dl_map_object): Adjust.
2736         * elf/Makefile (tests): Add tst-dlopen-aout.
2737         * elf/tst-dlopen-aout.c: New test.
2739 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2741         [BZ #16714]
2742         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2743         (struct stat): Rename member pad0 to __glibc_reserved0.
2745         [BZ #16712]
2746         * sysdeps/s390/s390-32/bits/wordsize.h
2747         (__WORDSIZE32_SIZE_ULONG): New define.
2748         * sysdeps/s390/s390-64/bits/wordsize.h
2749         (__WORDSIZE32_SIZE_ULONG): Likewise.
2750         * sysdeps/generic/stdint.h (SIZE_MAX):
2751         Define as UL if __WORDSIZE32_SIZE_ULONG.
2753         [BZ #16713]
2754         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2755         (__glibc_reserved0): New variable.
2756         (sa_flags): Change type to int.
2758         * posix/Makefile (before-compile): Use += before-compile instead
2759         of a :=.
2761         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2762         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2764 2014-03-20  Andreas Schwab  <schwab@suse.de>
2766         [BZ #16743]
2767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2768         non-matching result from nscd.
2770 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2772         * scripts/bench.py: Moved to ...
2773         * benchtests/scripts/bench.py: ... here.
2774         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2776 2014-03-24  Andreas Schwab  <schwab@suse.de>
2778         [BZ #16002]
2779         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2780         alloca_account and account alloca use for struct in6ailist.
2782 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2784         [BZ #16284]
2785         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2786         rounding mode to recompute results that overflow to infinity or
2787         underflow to zero.
2788         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2789         bug 16284.
2790         * math/auto-libm-test-out: Regenerated.
2791         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2792         (ccosh_test): Likewise.
2793         (csin_test_data): Use plus_oflow.
2794         (csin_test): Use ALL_RM_TEST.
2795         (csinh_test_data): Use plus_oflow.
2796         (csinh_test): Use ALL_RM_TEST.
2797         * sysdeps/i386/fpu/libm-test-ulps: Update.
2798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2800 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2802         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2803         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2804         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2806         [BZ #16731]
2807         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2808         when x - 1 is zero.
2809         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2810         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2811         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2812         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2813         argument is 1.
2814         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2815         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2816         zero.
2817         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2818         * sysdeps/i386/fpu/libm-test-ulps: Update.
2819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2821 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2823         * scripts/bench.pl: Remove file.
2824         * scripts/bench.py: New benchmark script.
2825         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2826         * benchtests/README: Mention python dependency.
2827         * scripts/pylintrc: New file.
2828         * scripts/pylint: New file.
2830         * bits/mathdef.h: Use #ifdef instead of #if.
2831         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2832         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2833         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2834         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2835         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2836         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2838 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2839             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2841         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2843         and strpbrk-ppc64 objects.
2844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2845         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2846         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2847         multiarch strpbrk for POWER7.
2848         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2849         multiarch strpbrk for PPC64.
2850         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2851         ifunc selector.
2852         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2853         strpbrk for POWER7.
2855 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2857         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2858         (atan_test): Likewise.
2859         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2860         (atanh_test): Use ALL_RM_TEST.
2861         (atan2_test_data): Likewise.
2862         (cabs_test): Likewise.
2863         (cacosh_test): Likewise.
2864         (carg_test): Likewise.
2865         (casin_test): Likewise.
2866         (casinh_test): Likewise.
2867         (cbrt_test): Likewise.
2868         (csqrt_test): Likewise.
2869         (erf_test): Likewise.
2870         (erfc_test): Likewise.
2871         (pow10_test): Likewise.
2872         (exp2_test): Likewise.
2873         (hypot_test): Likewise.
2874         (j0_test): Likewise.
2875         (j1_test): Likewise.
2876         (lgamma_test): Likewise.
2877         (gamma_test): Likewise.
2878         (sincos_test): Likewise.
2879         (tanh_test): Likewise.
2880         (y0_test): Likewise.
2881         (y1_test): Likewise.
2882         * sysdeps/i386/fpu/libm-test-ulps: Update.
2883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2885 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2887         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2889         and strcspn-ppc64 objects.
2890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2891         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2892         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2893         multiarch strcspn for POWER7.
2894         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2895         multiarch strcspn for PPC64.
2896         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2897         ifunc selector.
2898         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2899         strcspn for POWER7.
2901 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2903         * math/gen-libm-test.pl (generate_testfile): Expect only function
2904         name as argument to AUTO_TESTS_* and pass results for all rounding
2905         modes to parse_args.
2906         (parse_auto_input): Separate inputs of automatic tests from
2907         outputs before storing in %auto_tests.
2908         * math/libm-test.inc (acos_test_data): Update call to
2909         AUTO_TESTS_f_f.
2910         (acos_test): Use ALL_RM_TEST.
2911         (acos_tonearest_test_data): Remove.
2912         (acos_test_tonearest): Likewise.
2913         (acos_towardzero_test_data): Likewise.
2914         (acos_test_towardzero): Likewise.
2915         (acos_downward_test_data): Likewise.
2916         (acos_test_downward): Likewise.
2917         (acos_upward_test_data): Likewise.
2918         (acos_test_upward): Likewise.
2919         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2920         (asin_test_data): Likewise.
2921         (asin_test): Use ALL_RM_TEST.
2922         (asin_tonearest_test_data): Remove.
2923         (asin_test_tonearest): Likewise.
2924         (asin_towardzero_test_data): Likewise.
2925         (asin_test_towardzero): Likewise.
2926         (asin_downward_test_data): Likewise.
2927         (asin_test_downward): Likewise.
2928         (asin_upward_test_data): Likewise.
2929         (asin_test_upward): Likewise.
2930         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2931         (atan_test_data): Likewise.
2932         (atanh_test_data): Likewise.
2933         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2934         (cabs_test_data): Update call to AUTO_TESTS_c_f.
2935         (carg_test_data): Likewise.
2936         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2937         (ccos_test_data): Update call to AUTO_TESTS_c_c.
2938         (ccosh_test_data): Likewise.
2939         (cexp_test_data): Likewise.
2940         (clog_test_data): Likewise.
2941         (clog10_test_data): Likewise.
2942         (cos_test_data): Update call to AUTO_TESTS_f_f.
2943         (cos_test): Use ALL_RM_TEST.
2944         (cos_tonearest_test_data): Remove.
2945         (cos_test_tonearest): Likewise.
2946         (cos_towardzero_test_data): Likewise.
2947         (cos_test_towardzero): Likewise.
2948         (cos_downward_test_data): Likewise.
2949         (cos_test_downward): Likewise.
2950         (cos_upward_test_data): Likewise.
2951         (cos_test_upward): Likewise.
2952         (cosh_test_data): Update call to AUTO_TESTS_f_f.
2953         (cosh_test): Use ALL_RM_TEST.
2954         (cosh_tonearest_test_data): Remove.
2955         (cosh_test_tonearest): Likewise.
2956         (cosh_towardzero_test_data): Likewise.
2957         (cosh_test_towardzero): Likewise.
2958         (cosh_downward_test_data): Likewise.
2959         (cosh_test_downward): Likewise.
2960         (cosh_upward_test_data): Likewise.
2961         (cosh_test_upward): Likewise.
2962         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2963         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2964         (ctan_test_data): Likewise.
2965         (ctan_test): Use ALL_RM_TEST.
2966         (ctan_tonearest_test_data): Remove.
2967         (ctan_test_tonearest): Likewise.
2968         (ctan_towardzero_test_data): Likewise.
2969         (ctan_test_towardzero): Likewise.
2970         (ctan_downward_test_data): Likewise.
2971         (ctan_test_downward): Likewise.
2972         (ctan_upward_test_data): Likewise.
2973         (ctan_test_upward): Likewise.
2974         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2975         (ctanh_test): Use ALL_RM_TEST.
2976         (ctanh_tonearest_test_data): Remove.
2977         (ctanh_test_tonearest): Likewise.
2978         (ctanh_towardzero_test_data): Likewise.
2979         (ctanh_test_towardzero): Likewise.
2980         (ctanh_downward_test_data): Likewise.
2981         (ctanh_test_downward): Likewise.
2982         (ctanh_upward_test_data): Likewise.
2983         (ctanh_test_upward): Likewise.
2984         (erf_test_data): Update call to AUTO_TESTS_f_f.
2985         (erfc_test_data): Likewise.
2986         (exp_test_data): Likewise.
2987         (exp_test): Use ALL_RM_TEST.
2988         (exp_tonearest_test_data): Remove.
2989         (exp_test_tonearest): Likewise.
2990         (exp_towardzero_test_data): Likewise.
2991         (exp_test_towardzero): Likewise.
2992         (exp_downward_test_data): Likewise.
2993         (exp_test_downward): Likewise.
2994         (exp_upward_test_data): Likewise.
2995         (exp_test_upward): Likewise.
2996         (exp10_test_data): Update call to AUTO_TESTS_f_f.
2997         (exp10_test): Use ALL_RM_TEST.
2998         (exp10_tonearest_test_data): Remove.
2999         (exp10_test_tonearest): Likewise.
3000         (exp10_towardzero_test_data): Likewise.
3001         (exp10_test_towardzero): Likewise.
3002         (exp10_downward_test_data): Likewise.
3003         (exp10_test_downward): Likewise.
3004         (exp10_upward_test_data): Likewise.
3005         (exp10_test_upward): Likewise.
3006         (exp2_test_data): Update call to AUTO_TESTS_f_f.
3007         (expm1_test_data): Likewise.
3008         (expm1_test): Use ALL_RM_TEST.
3009         (expm1_tonearest_test_data): Remove.
3010         (expm1_test_tonearest): Likewise.
3011         (expm1_towardzero_test_data): Likewise.
3012         (expm1_test_towardzero): Likewise.
3013         (expm1_downward_test_data): Likewise.
3014         (expm1_test_downward): Likewise.
3015         (expm1_upward_test_data): Likewise.
3016         (expm1_test_upward): Likewise.
3017         (fma_test_data): Update call to AUTO_TESTS_fff_f.
3018         (fma_test): Use ALL_RM_TEST.
3019         (fma_towardzero_test_data): Remove.
3020         (fma_test_towardzero): Likewise.
3021         (fma_downward_test_data): Likewise.
3022         (fma_test_downward): Likewise.
3023         (fma_upward_test_data): Likewise.
3024         (fma_test_upward): Likewise.
3025         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3026         (j0_test_data): Update call to AUTO_TESTS_f_f.
3027         (j1_test_data): Likewise.
3028         (jn_test_data): Update call to AUTO_TESTS_if_f.
3029         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3030         (log_test_data): Update call to AUTO_TESTS_f_f.
3031         (log10_test_data): Likewise.
3032         (log1p_test_data): Likewise.
3033         (log2_test_data): Likewise.
3034         (pow_test_data): Update call to AUTO_TESTS_ff_f.
3035         (pow_tonearest_test_data): Likewise.
3036         (sin_test_data): Update call to AUTO_TESTS_f_f.
3037         (sin_test): Use ALL_RM_TEST.
3038         (sin_tonearest_test_data): Remove.
3039         (sin_test_tonearest): Likewise.
3040         (sin_towardzero_test_data): Likewise.
3041         (sin_test_towardzero): Likewise.
3042         (sin_downward_test_data): Likewise.
3043         (sin_test_downward): Likewise.
3044         (sin_upward_test_data): Likewise.
3045         (sin_test_upward): Likewise.
3046         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3047         (sinh_test_data): Update call to AUTO_TESTS_f_f.
3048         (sinh_test): Use ALL_RM_TEST.
3049         (sinh_tonearest_test_data): Remove.
3050         (sinh_test_tonearest): Likewise.
3051         (sinh_towardzero_test_data): Likewise.
3052         (sinh_test_towardzero): Likewise.
3053         (sinh_downward_test_data): Likewise.
3054         (sinh_test_downward): Likewise.
3055         (sinh_upward_test_data): Likewise.
3056         (sinh_test_upward): Likewise.
3057         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3058         (sqrt_test): Use ALL_RM_TEST.
3059         (sqrt_tonearest_test_data): Remove.
3060         (sqrt_test_tonearest): Likewise.
3061         (sqrt_towardzero_test_data): Likewise.
3062         (sqrt_test_towardzero): Likewise.
3063         (sqrt_downward_test_data): Likewise.
3064         (sqrt_test_downward): Likewise.
3065         (sqrt_upward_test_data): Likewise.
3066         (sqrt_test_upward): Likewise.
3067         (tan_test_data): Update call to AUTO_TESTS_f_f.
3068         (tan_test): Use ALL_RM_TEST.
3069         (tan_tonearest_test_data): Remove.
3070         (tan_test_tonearest): Likewise.
3071         (tan_towardzero_test_data): Likewise.
3072         (tan_test_towardzero): Likewise.
3073         (tan_downward_test_data): Likewise.
3074         (tan_test_downward): Likewise.
3075         (tan_upward_test_data): Likewise.
3076         (tan_test_upward): Likewise.
3077         (tanh_test_data): Update call to AUTO_TESTS_f_f.
3078         (tgamma_test_data): Likewise.
3079         (y0_test_data): Likewise.
3080         (y1_test_data): Likewise.
3081         (yn_test_data): Update call to AUTO_TESTS_if_f.
3082         (main): Do not call removed functions.
3084 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3086         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3087         (ldexp_test_data): Remove.
3088         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
3089         scalbn_test_data.
3090         (scalb_test): Use ALL_RM_TEST.
3092 2014-03-19  Andreas Schwab  <schwab@suse.de>
3094         * nscd/nscd.service: Also invalidate netgroup cache on reload.
3096 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3098         [BZ #16649]
3099         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3100         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3101         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3102         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3103         (__ASSUME_PREADV): Undefine.
3104         (__ASSUME_PWRITEV): Likewise.
3106 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3108         * bits/mman-linux.h: Add comment about non-Linux use.
3109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3110         bits/mman-linux.h resting place.
3112         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3113         * bits/mman-linux.h: ... here.
3115 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3117         * conform/conformtest.pl: Add standard definition when calling C
3118         preprocessor on data files.
3119         (checknamespace): Remove unused variable.
3121 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3123         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3124         minus_oflow, plus_uflow and minus_uflow in expected results.
3125         * math/libm-test.inc (scalbn_test_data): Add more tests of
3126         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
3127         minus_uflow.
3128         (scalbn_test): Use ALL_RM_TEST.
3129         (scalbln_test_data): Add more tests of negative arguments.  Use
3130         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3131         (scalbln_test): Use ALL_RM_TEST.
3133 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3135         * scripts/abilist.awk: Ignore symbols marked with .hidden.
3137 2014-03-18  Will Newton  <will.newton@linaro.org>
3139         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3140         inaccurate comment.
3142 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3144         * Makerules [!subdir] (check-abi): Exit with error status if a
3145         test failed.
3147 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3149         * math/libm-test.inc (nearbyint_test_data): Include all tests used
3150         for rint.  Include results for all rounding modes.
3151         (nearbyint_test): Use ALL_RM_TEST.
3152         (rint_test_data): Include all tests used for nearbyint.
3154 2014-03-17  Will Newton  <will.newton@linaro.org>
3156         * nptl/sysdeps/pthread/pthread.h: Revert previous
3157         change.
3159         * sysdeps/generic/ldsodefs.h: Revert previous
3160         change.
3162         * libio/genops.c: Revert previous change.
3163         * libio/libioP.h: Likewise.
3164         * stdio-common/vfprintf.c: Likewise.
3166         * sysdeps/generic/math_private.h: Revert previous
3167         change.
3169         * sysdeps/generic/math_private.h: Check whether
3170         HAVE_RM_CTX is defined with #ifdef rather
3171         than #if.
3173         * argp/argp-fmtstream.h: Check whether
3174         __STRICT_ANSI__ is defined with #ifdef rather
3175         than #if.
3176         * argp/argp.h: Likewise.
3178         * libio/genops.c: Check whether
3179         _IO_JUMPS_OFFSET is defined with #ifdef rather
3180         than #if.
3181         * libio/libioP.h: Likewise.
3182         * stdio-common/vfprintf.c: Likewise.
3184         * sysdeps/generic/ldsodefs.h: Check whether
3185         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3186         than #if.
3188         * nptl/sysdeps/pthread/pthread.h: Check
3189         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3190         its value.
3192 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3194         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3195         setting O_APPEND.
3196         * libio/tst-ftell-active-handler.c (do_append_test): Add a
3197         test case.
3199         [BZ #16680]
3200         * libio/fileops.c (_IO_file_open): Seek to end of file but
3201         don't cache the offset.
3202         (get_file_offset): Remove function.
3203         (do_ftell): Use cached offset when available.
3204         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3205         don't cache the offset.
3206         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3207         case.
3208         (do_one_test): Call it.
3209         (do_ftell_test): Fix up expected old offset for a+ mode.
3210         * libio/wfileops.c (do_ftell_wide): Used cached offset when
3211         available.
3213         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3214         up test status with function return status.
3215         (do_write_test): Likewise.
3216         (do_append_test): Likewise.
3218         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3219         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3220         Remove.
3222 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3224         * math/gen-libm-test.pl (parse_args): Handle results specified for
3225         each rounding mode separately.
3226         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3227         tests and results from lrint_tonearest_test_data,
3228         lrint_towardzero_test_data, lrint_downward_test_data and
3229         lrint_upward_test_data.
3230         (lrint_test): Use ALL_RM_TEST.
3231         (lrint_tonearest_test_data): Remove.
3232         (lrint_test_tonearest): Likewise.
3233         (lrint_towardzero_test_data): Likewise.
3234         (lrint_test_towardzero): Likewise.
3235         (lrint_downward_test_data): Likewise.
3236         (lrint_test_downward): Likewise.
3237         (lrint_upward_test_data): Likewise.
3238         (lrint_test_upward): Likewise.
3239         (llrint_test_data): Merge in per-rounding-mode tests and results
3240         from llrint_tonearest_test_data, llrint_towardzero_test_data,
3241         llrint_downward_test_data and llrint_upward_test_data.
3242         (llrint_test): Use ALL_RM_TEST.
3243         (llrint_tonearest_test_data): Remove.
3244         (llrint_test_tonearest): Likewise.
3245         (llrint_towardzero_test_data): Likewise.
3246         (llrint_test_towardzero): Likewise.
3247         (llrint_downward_test_data): Likewise.
3248         (llrint_test_downward): Likewise.
3249         (llrint_upward_test_data): Likewise.
3250         (llrint_test_upward): Likewise.
3251         (rint_test_data): Merge in per-rounding-mode tests and results
3252         from rint_tonearest_test_data, rint_towardzero_test_data,
3253         rint_downward_test_data and rint_upward_test_data.  Add
3254         per-rounding-mode results for tests not in those arrays.
3255         (rint_test): Use ALL_RM_TEST.
3256         (rint_tonearest_test_data): Remove.
3257         (rint_test_tonearest): Likewise.
3258         (rint_towardzero_test_data): Likewise.
3259         (rint_test_towardzero): Likewise.
3260         (rint_downward_test_data): Likewise.
3261         (rint_test_downward): Likewise.
3262         (rint_upward_test_data): Likewise.
3263         (rint_test_upward): Likewise.
3264         (main): Don't call removed functions.
3266 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3268         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3269         "Compiled on ..." crapola.  It is anti-useful.
3271 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
3273         * scripts/evaluate-test.sh: Handle fourth argument to determine
3274         whether test run should stop on failure.
3275         * Makeconfig (stop-on-test-failure): New variable.
3276         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3277         $(stop-on-test-failure).
3278         * Makefile (tests): Give a summary of results from testing and
3279         exit with failure status if they include an ERROR or FAIL.
3280         (xtests): Likewise.
3281         * manual/install.texi (Configuring and compiling): Mention
3282         stop-on-test-failure=y.
3283         * INSTALL: Regenerated.
3285 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3287         * scripts/versionlist.awk: New file.
3288         * Makerules [$(build-shared) = yes]
3289         (postclean-generated): Add Versions.def, not Versions.def.v and
3290         Versions.def.v.i.
3291         ($(common-objpfx)Versions.def.v.i): Target removed.
3292         ($(common-objpfx)Versions.def): New target.
3293         ($(common-objpfx)Versions.all): Depend on that rather that
3294         $(common-objpfx)Versions.def.v.
3295         * Versions.def: File removed.
3297         * Makeconfig (+gccwarn): Add -Wundef.
3298         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3299         a dl-sysdep.h breaking its contract.
3300         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3301         * include/stackinfo.h: New file.
3302         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3303         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3304         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3305         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3306         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3307         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3308         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3309         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3310         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3311         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3312         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3313         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3314         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3315         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3316         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3318 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3320         [BZ #16707]
3321         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3322         implementation.
3323         * math/libm-test.inc (round_test_data): Add more tests.
3325         [BZ #16706]
3326         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3327         implementation.
3328         * math/libm-test.inc (nearbyint_test_data): Add more tests.
3330         [BZ #16701]
3331         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3332         implementation.
3333         * math/libm-test.inc (ceil_test_data): Add more tests.
3335         * math/libm-test.inc (trunc_test_data): Add more tests related to
3336         BZ#16414.
3338 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3340         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3341         with #if rather than #ifdef.
3342         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3344 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3346         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3347         first.  Disable AVX-512 GCC support if assembler doesn't support
3348         it.
3349         * sysdeps/x86_64/configure: Regenerated.
3351 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
3353         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3354         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3355         (__old_pthread_attr_setstack): Likewise.
3356         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3357         [!_STACK_GROWS_DOWN]: Likewise.
3359 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3361         * config.make.in (have-bash2): Delete.
3362         * configure.ac (libc_cv_have_bash2): Delete.
3363         * configure: Regenerate.
3364         * elf/Makefile (common-ldd-rewrite): Rename to ...
3365         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
3366         (sh-ldd-rewrite): Delete.
3367         (bash-ldd-rewrite): Delete.
3368         (have-bash2): Delete checks.
3369         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3370         ldd-rewrite.
3372         * config.make.in (have-ksh): Delete.
3373         (KSH): Delete.
3374         * configure.ac (libc_cv_have_ksh): Delete.
3375         * configure: Regenerate.
3377         * elf/Makefile: Delete $(have-ksh) check.
3378         ($(objpfx)sotruss): Change KSH to BASH.
3379         * elf/sotruss.ksh: Rename to ...
3380         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
3381         function style to match POSIX.  Drop ksh vim mode setting.
3383         * manual/time.texi (Specifying the Time Zone with TZ): Change
3384         Tuesday to Thursday.
3386         * debug/tst-longjmp_chk2.c: Update header comment.
3387         (stackoverflow_handler): Add comment.  Call assert on pass value.
3389 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
3391         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3392         (HAVE_AVX512_ASM_SUPPORT): Likewise.
3393         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3394         (La_x86_64_vector): Add zmm.
3395         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3396         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3397         ($(objpfx)tst-audit10): New target.
3398         ($(objpfx)tst-audit10.out): Likewise.
3399         (tst-audit10-ENV): New.
3400         (AVX512-CFLAGS): Likewise.
3401         (CFLAGS-tst-audit10.c): Likewise.
3402         (CFLAGS-tst-auditmod10a.c): Likewise.
3403         (CFLAGS-tst-auditmod10b.c): Likewise.
3404         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3405         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3406         * sysdeps/x86_64/configure: Regenerated.
3407         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3408         AVX-512 zmm register support.
3409         (_dl_x86_64_save_sse): Likewise.
3410         (_dl_x86_64_restore_sse): Likewise.
3411         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3412         size vector registers.
3413         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3414         (ZMM_SIZE): Likewise.
3415         * sysdeps/x86_64/tst-audit10.c: New file.
3416         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3417         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3419 2014-03-13  Roland McGrath  <roland@hack.frob.com>
3421         * configure.ac (HAVE_EHDR_START): New check.
3422         * configure: Regenerated.
3423         * config.h.in (HAVE_EHDR_START): New #undef.
3424         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3425         assuming the lowest-addressed segment maps the start of the file.
3427 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
3429         * INSTALL: Regenerated.
3431 2014-03-13  Will Newton  <will.newton@linaro.org>
3433         * manual/setjmp.texi (System V contexts): Improve
3434         clarity and grammar of documentation.
3436 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3438         [BZ #16381]
3439         * elf/Makefile (tests): Add tst-pie2.
3440         (tests-pie): Add tst-pie2.
3441         * elf/tst-pie2.c: New file.
3442         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3443         for ET_EXEC.
3444         * elf/rtld.c (map_doit): Load executable as lt_executable.
3445         (dl_main): Likewise.
3447 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
3449         [BZ #16642]
3450         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3451         (__ASSUME_PSELECT): Undefine.
3453 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3455         [BZ #16689]
3456         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3457         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3458         static build.
3459         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3460         selector for static builds.
3462 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3464         [BZ #16695]
3465         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3466         key in the buffer.
3468 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3470         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3471         IFUNC selector for static builds.
3473 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
3475         * sysdeps/mips/math_private.h [__mips_hard_float]
3476         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3477         libc_feresetround_mips_ctx.
3478         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3479         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3480         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3482         [BZ #16677]
3483         * math/s_nextafter.c (__nextafter): Do not return value from
3484         overflowing computation.
3485         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3486         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3487         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3488         Likewise.
3489         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3490         Likewise.
3491         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3492         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3494 2014-03-11  Roland McGrath  <roland@hack.frob.com>
3496         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3497         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3498         Move sfi_sp use from the load-multiple (that no longer sets sp) to
3499         the new mov targetting sp.
3501 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3503         [BZ #16683]
3504         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3505         Define it for static builds as well.
3506         (NO_BZERO_IMPL): Likewise.
3508 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3510         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3511         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3512         multiarch strspn for PPC64.
3513         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3514         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3516         (__libc_ifunc_impl_list): Likewise.
3517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3518         multiarch optimizations
3519         * string/strspn.c (strspn): Using macro to redefine symbol name.
3521 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3522             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3524         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3525         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3526         multiarch strncat for PPC64.
3527         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3528         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3530         (__libc_ifunc_impl_list): Likewise.
3531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3532         multiarch optimizations
3534 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3536         [BZ #16639]
3537         * nscd/nscd.service: Make service type forking.
3539 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3541         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3542         sign in non default rounding modes.
3543         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3545 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3547         * math/libm-test.inc (ALL_RM_TEST): New macro.
3548         (ceil_test): Use ALL_RM_TEST.
3549         (cimag_test): Likewise.
3550         (conj_test): Likewise.
3551         (copysign_test): Likewise.
3552         (cproj_test): Likewise.
3553         (creal_test): Likewise.
3554         (fabs_test): Likewise.
3555         (floor_test): Likewise.
3556         (fmax_test): Likewise.
3557         (fmin_test): Likewise.
3558         (fmod_test): Likewise.
3559         (fpclassify_test): Likewise.
3560         (frexp_test): Likewise.
3561         (ilogb_test): Likewise.
3562         (isfinite_test): Likewise.
3563         (finite_test): Likewise.
3564         (isgreater_test): Likewise.
3565         (isgreaterequal_test): Likewise.
3566         (isinf_test): Likewise.
3567         (isless_test): Likewise.
3568         (islessequal_test): Likewise.
3569         (islessgreater_test): Likewise.
3570         (isnan_test): Likewise.
3571         (isnormal_test): Likewise.
3572         (issignaling_test): Likewise.
3573         (isunordered_test): Likewise.
3574         (logb_test): Likewise.
3575         (logb_downward_test_data): Remove.
3576         (logb_test_downward): Likewise.
3577         (lround_test): Use ALL_RM_TEST.
3578         (llround_test): Likewise.
3579         (modf_test): Likewise.
3580         (nexttoward_test): Likewise.
3581         (remainder_test): Likewise.
3582         (drem_test): Likewise.
3583         (remainder_tonearest_test_data): Likewise.
3584         (remainder_test_tonearest): Likewise.
3585         (drem_test_tonearest): Likewise.
3586         (remainder_towardzero_test_data): Likewise.
3587         (remainder_test_towardzero): Likewise.
3588         (drem_test_towardzero): Likewise.
3589         (remainder_downward_test_data): Likewise.
3590         (remainder_test_downward): Likewise.
3591         (drem_test_downward): Likewise.
3592         (remainder_upward_test_data): Likewise.
3593         (remainder_test_upward): Likewise.
3594         (drem_test_upward): Likewise.
3595         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3596         (round_test): Use ALL_RM_TEST.
3597         (signbit_test): Likewise.
3598         (trunc_test): Likewise.
3599         (significand_test): Likewise.
3600         (main): Don't call removed functions.
3602 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3604         [BZ #16674]
3605         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3606         || __USE_XOPEN2K8].
3607         (ILL_ILLOPN): Likewise.
3608         (ILL_ILLADR): Likewise.
3609         (ILL_ILLTRP): Likewise.
3610         (ILL_PRVOPC): Likewise.
3611         (ILL_PRVREG): Likewise.
3612         (ILL_COPROC): Likewise.
3613         (ILL_BADSTK): Likewise.
3614         (FPE_INTDIV): Likewise.
3615         (FPE_INTOVF): Likewise.
3616         (FPE_FLTDIV): Likewise.
3617         (FPE_FLTOVF): Likewise.
3618         (FPE_FLTUND): Likewise.
3619         (FPE_FLTRES): Likewise.
3620         (FPE_FLTINV): Likewise.
3621         (FPE_FLTSUB): Likewise.
3622         (SEGV_MAPERR): Likewise.
3623         (SEGV_ACCERR): Likewise.
3624         (BUS_ADRALN): Likewise.
3625         (BUS_ADRERR): Likewise.
3626         (BUS_OBJERR): Likewise.
3627         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3628         (TRAP_TRACE): Likewise.
3629         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3630         __USE_XOPEN2K8].
3631         (CLD_KILLED): Likewise.
3632         (CLD_DUMPED): Likewise.
3633         (CLD_TRAPPED): Likewise.
3634         (CLD_STOPPED): Likewise.
3635         (CLD_CONTINUED): Likewise.
3636         (POLL_IN): Likewise.
3637         (POLL_OUT): Likewise.
3638         (POLL_MSG): Likewise.
3639         (POLL_ERR): Likewise.
3640         (POLL_PRI): Likewise.
3641         (POLL_HUP): Likewise.
3642         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3643         Likewise.
3644         (ILL_ILLOPN): Likewise.
3645         (ILL_ILLADR): Likewise.
3646         (ILL_ILLTRP): Likewise.
3647         (ILL_PRVOPC): Likewise.
3648         (ILL_PRVREG): Likewise.
3649         (ILL_COPROC): Likewise.
3650         (ILL_BADSTK): Likewise.
3651         (FPE_INTDIV): Likewise.
3652         (FPE_INTOVF): Likewise.
3653         (FPE_FLTDIV): Likewise.
3654         (FPE_FLTOVF): Likewise.
3655         (FPE_FLTUND): Likewise.
3656         (FPE_FLTRES): Likewise.
3657         (FPE_FLTINV): Likewise.
3658         (FPE_FLTSUB): Likewise.
3659         (SEGV_MAPERR): Likewise.
3660         (SEGV_ACCERR): Likewise.
3661         (BUS_ADRALN): Likewise.
3662         (BUS_ADRERR): Likewise.
3663         (BUS_OBJERR): Likewise.
3664         (BUS_MCEERR_AR): Likewise.
3665         (BUS_MCEERR_AO): Likewise.
3666         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3667         (TRAP_TRACE): Likewise.
3668         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3669         __USE_XOPEN2K8].
3670         (CLD_KILLED): Likewise.
3671         (CLD_DUMPED): Likewise.
3672         (CLD_TRAPPED): Likewise.
3673         (CLD_STOPPED): Likewise.
3674         (CLD_CONTINUED): Likewise.
3675         (POLL_IN): Likewise.
3676         (POLL_OUT): Likewise.
3677         (POLL_MSG): Likewise.
3678         (POLL_ERR): Likewise.
3679         (POLL_PRI): Likewise.
3680         (POLL_HUP): Likewise.
3681         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3682         (ILL_ILLOPN): Likewise.
3683         (ILL_ILLADR): Likewise.
3684         (ILL_ILLTRP): Likewise.
3685         (ILL_PRVOPC): Likewise.
3686         (ILL_PRVREG): Likewise.
3687         (ILL_COPROC): Likewise.
3688         (ILL_BADSTK): Likewise.
3689         (FPE_INTDIV): Likewise.
3690         (FPE_INTOVF): Likewise.
3691         (FPE_FLTDIV): Likewise.
3692         (FPE_FLTOVF): Likewise.
3693         (FPE_FLTUND): Likewise.
3694         (FPE_FLTRES): Likewise.
3695         (FPE_FLTINV): Likewise.
3696         (FPE_FLTSUB): Likewise.
3697         (SEGV_MAPERR): Likewise.
3698         (SEGV_ACCERR): Likewise.
3699         (BUS_ADRALN): Likewise.
3700         (BUS_ADRERR): Likewise.
3701         (BUS_OBJERR): Likewise.
3702         (BUS_MCEERR_AR): Likewise.
3703         (BUS_MCEERR_AO): Likewise.
3704         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3705         (TRAP_TRACE): Likewise.
3706         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3707         __USE_XOPEN2K8].
3708         (CLD_KILLED): Likewise.
3709         (CLD_DUMPED): Likewise.
3710         (CLD_TRAPPED): Likewise.
3711         (CLD_STOPPED): Likewise.
3712         (CLD_CONTINUED): Likewise.
3713         (POLL_IN): Likewise.
3714         (POLL_OUT): Likewise.
3715         (POLL_MSG): Likewise.
3716         (POLL_ERR): Likewise.
3717         (POLL_PRI): Likewise.
3718         (POLL_HUP): Likewise.
3719         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3720         Likewise.
3721         (ILL_ILLOPN): Likewise.
3722         (ILL_ILLADR): Likewise.
3723         (ILL_ILLTRP): Likewise.
3724         (ILL_PRVOPC): Likewise.
3725         (ILL_PRVREG): Likewise.
3726         (ILL_COPROC): Likewise.
3727         (ILL_BADSTK): Likewise.
3728         (ILL_BADIADDR): Likewise.
3729         (ILL_BREAK): Likewise.
3730         (FPE_INTDIV): Likewise.
3731         (FPE_INTOVF): Likewise.
3732         (FPE_FLTDIV): Likewise.
3733         (FPE_FLTOVF): Likewise.
3734         (FPE_FLTUND): Likewise.
3735         (FPE_FLTRES): Likewise.
3736         (FPE_FLTINV): Likewise.
3737         (FPE_FLTSUB): Likewise.
3738         (FPE_DECOVF): Likewise.
3739         (FPE_DECDIV): Likewise.
3740         (FPE_DECERR): Likewise.
3741         (FPE_INVASC): Likewise.
3742         (FPE_INVDEC): Likewise.
3743         (SEGV_MAPERR): Likewise.
3744         (SEGV_ACCERR): Likewise.
3745         (SEGV_PSTKOVF): Likewise.
3746         (BUS_ADRALN): Likewise.
3747         (BUS_ADRERR): Likewise.
3748         (BUS_OBJERR): Likewise.
3749         (BUS_MCEERR_AR): Likewise.
3750         (BUS_MCEERR_AO): Likewise.
3751         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3752         (TRAP_TRACE): Likewise.
3753         (TRAP_BRANCH): Likewise.
3754         (TRAP_HWBKPT): Likewise.
3755         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3756         __USE_XOPEN2K8].
3757         (CLD_KILLED): Likewise.
3758         (CLD_DUMPED): Likewise.
3759         (CLD_TRAPPED): Likewise.
3760         (CLD_STOPPED): Likewise.
3761         (CLD_CONTINUED): Likewise.
3762         (POLL_IN): Likewise.
3763         (POLL_OUT): Likewise.
3764         (POLL_MSG): Likewise.
3765         (POLL_ERR): Likewise.
3766         (POLL_PRI): Likewise.
3767         (POLL_HUP): Likewise.
3768         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3769         (ILL_ILLOPN): Likewise.
3770         (ILL_ILLADR): Likewise.
3771         (ILL_ILLTRP): Likewise.
3772         (ILL_PRVOPC): Likewise.
3773         (ILL_PRVREG): Likewise.
3774         (ILL_COPROC): Likewise.
3775         (ILL_BADSTK): Likewise.
3776         (FPE_INTDIV): Likewise.
3777         (FPE_INTOVF): Likewise.
3778         (FPE_FLTDIV): Likewise.
3779         (FPE_FLTOVF): Likewise.
3780         (FPE_FLTUND): Likewise.
3781         (FPE_FLTRES): Likewise.
3782         (FPE_FLTINV): Likewise.
3783         (FPE_FLTSUB): Likewise.
3784         (SEGV_MAPERR): Likewise.
3785         (SEGV_ACCERR): Likewise.
3786         (BUS_ADRALN): Likewise.
3787         (BUS_ADRERR): Likewise.
3788         (BUS_OBJERR): Likewise.
3789         (BUS_MCEERR_AR): Likewise.
3790         (BUS_MCEERR_AO): Likewise.
3791         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3792         (TRAP_TRACE): Likewise.
3793         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3794         __USE_XOPEN2K8].
3795         (CLD_KILLED): Likewise.
3796         (CLD_DUMPED): Likewise.
3797         (CLD_TRAPPED): Likewise.
3798         (CLD_STOPPED): Likewise.
3799         (CLD_CONTINUED): Likewise.
3800         (POLL_IN): Likewise.
3801         (POLL_OUT): Likewise.
3802         (POLL_MSG): Likewise.
3803         (POLL_ERR): Likewise.
3804         (POLL_PRI): Likewise.
3805         (POLL_HUP): Likewise.
3806         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3807         (ILL_ILLOPN): Likewise.
3808         (ILL_ILLADR): Likewise.
3809         (ILL_ILLTRP): Likewise.
3810         (ILL_PRVOPC): Likewise.
3811         (ILL_PRVREG): Likewise.
3812         (ILL_COPROC): Likewise.
3813         (ILL_BADSTK): Likewise.
3814         (FPE_INTDIV): Likewise.
3815         (FPE_INTOVF): Likewise.
3816         (FPE_FLTDIV): Likewise.
3817         (FPE_FLTOVF): Likewise.
3818         (FPE_FLTUND): Likewise.
3819         (FPE_FLTRES): Likewise.
3820         (FPE_FLTINV): Likewise.
3821         (FPE_FLTSUB): Likewise.
3822         (SEGV_MAPERR): Likewise.
3823         (SEGV_ACCERR): Likewise.
3824         (BUS_ADRALN): Likewise.
3825         (BUS_ADRERR): Likewise.
3826         (BUS_OBJERR): Likewise.
3827         (BUS_MCEERR_AR): Likewise.
3828         (BUS_MCEERR_AO): Likewise.
3829         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3830         (TRAP_TRACE): Likewise.
3831         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3832         __USE_XOPEN2K8].
3833         (CLD_KILLED): Likewise.
3834         (CLD_DUMPED): Likewise.
3835         (CLD_TRAPPED): Likewise.
3836         (CLD_STOPPED): Likewise.
3837         (CLD_CONTINUED): Likewise.
3838         (POLL_IN): Likewise.
3839         (POLL_OUT): Likewise.
3840         (POLL_MSG): Likewise.
3841         (POLL_ERR): Likewise.
3842         (POLL_PRI): Likewise.
3843         (POLL_HUP): Likewise.
3844         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3845         (ILL_ILLOPN): Likewise.
3846         (ILL_ILLADR): Likewise.
3847         (ILL_ILLTRP): Likewise.
3848         (ILL_PRVOPC): Likewise.
3849         (ILL_PRVREG): Likewise.
3850         (ILL_COPROC): Likewise.
3851         (ILL_BADSTK): Likewise.
3852         (FPE_INTDIV): Likewise.
3853         (FPE_INTOVF): Likewise.
3854         (FPE_FLTDIV): Likewise.
3855         (FPE_FLTOVF): Likewise.
3856         (FPE_FLTUND): Likewise.
3857         (FPE_FLTRES): Likewise.
3858         (FPE_FLTINV): Likewise.
3859         (FPE_FLTSUB): Likewise.
3860         (SEGV_MAPERR): Likewise.
3861         (SEGV_ACCERR): Likewise.
3862         (BUS_ADRALN): Likewise.
3863         (BUS_ADRERR): Likewise.
3864         (BUS_OBJERR): Likewise.
3865         (BUS_MCEERR_AR): Likewise.
3866         (BUS_MCEERR_AO): Likewise.
3867         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3868         (TRAP_TRACE): Likewise.
3869         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3870         __USE_XOPEN2K8].
3871         (CLD_KILLED): Likewise.
3872         (CLD_DUMPED): Likewise.
3873         (CLD_TRAPPED): Likewise.
3874         (CLD_STOPPED): Likewise.
3875         (CLD_CONTINUED): Likewise.
3876         (POLL_IN): Likewise.
3877         (POLL_OUT): Likewise.
3878         (POLL_MSG): Likewise.
3879         (POLL_ERR): Likewise.
3880         (POLL_PRI): Likewise.
3881         (POLL_HUP): Likewise.
3882         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3883         (ILL_ILLOPN): Likewise.
3884         (ILL_ILLADR): Likewise.
3885         (ILL_ILLTRP): Likewise.
3886         (ILL_PRVOPC): Likewise.
3887         (ILL_PRVREG): Likewise.
3888         (ILL_COPROC): Likewise.
3889         (ILL_BADSTK): Likewise.
3890         (ILL_DBLFLT): Likewise.
3891         (ILL_HARDWALL): Likewise.
3892         (FPE_INTDIV): Likewise.
3893         (FPE_INTOVF): Likewise.
3894         (FPE_FLTDIV): Likewise.
3895         (FPE_FLTOVF): Likewise.
3896         (FPE_FLTUND): Likewise.
3897         (FPE_FLTRES): Likewise.
3898         (FPE_FLTINV): Likewise.
3899         (FPE_FLTSUB): Likewise.
3900         (SEGV_MAPERR): Likewise.
3901         (SEGV_ACCERR): Likewise.
3902         (BUS_ADRALN): Likewise.
3903         (BUS_ADRERR): Likewise.
3904         (BUS_OBJERR): Likewise.
3905         (BUS_MCEERR_AR): Likewise.
3906         (BUS_MCEERR_AO): Likewise.
3907         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3908         (TRAP_TRACE): Likewise.
3909         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3910         __USE_XOPEN2K8].
3911         (CLD_KILLED): Likewise.
3912         (CLD_DUMPED): Likewise.
3913         (CLD_TRAPPED): Likewise.
3914         (CLD_STOPPED): Likewise.
3915         (CLD_CONTINUED): Likewise.
3916         (POLL_IN): Likewise.
3917         (POLL_OUT): Likewise.
3918         (POLL_MSG): Likewise.
3919         (POLL_ERR): Likewise.
3920         (POLL_PRI): Likewise.
3921         (POLL_HUP): Likewise.
3922         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3923         (ILL_ILLOPN): Likewise.
3924         (ILL_ILLADR): Likewise.
3925         (ILL_ILLTRP): Likewise.
3926         (ILL_PRVOPC): Likewise.
3927         (ILL_PRVREG): Likewise.
3928         (ILL_COPROC): Likewise.
3929         (ILL_BADSTK): Likewise.
3930         (FPE_INTDIV): Likewise.
3931         (FPE_INTOVF): Likewise.
3932         (FPE_FLTDIV): Likewise.
3933         (FPE_FLTOVF): Likewise.
3934         (FPE_FLTUND): Likewise.
3935         (FPE_FLTRES): Likewise.
3936         (FPE_FLTINV): Likewise.
3937         (FPE_FLTSUB): Likewise.
3938         (SEGV_MAPERR): Likewise.
3939         (SEGV_ACCERR): Likewise.
3940         (BUS_ADRALN): Likewise.
3941         (BUS_ADRERR): Likewise.
3942         (BUS_OBJERR): Likewise.
3943         (BUS_MCEERR_AR): Likewise.
3944         (BUS_MCEERR_AO): Likewise.
3945         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3946         (TRAP_TRACE): Likewise.
3947         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3948         __USE_XOPEN2K8].
3949         (CLD_KILLED): Likewise.
3950         (CLD_DUMPED): Likewise.
3951         (CLD_TRAPPED): Likewise.
3952         (CLD_STOPPED): Likewise.
3953         (CLD_CONTINUED): Likewise.
3954         (POLL_IN): Likewise.
3955         (POLL_OUT): Likewise.
3956         (POLL_MSG): Likewise.
3957         (POLL_ERR): Likewise.
3958         (POLL_PRI): Likewise.
3959         (POLL_HUP): Likewise.
3960         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3961         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3963         [BZ #16670]
3964         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3965         before #include of <time.h>.
3966         [!__USE_XOPEN2K] (__need_timespec): Likewise.
3967         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3968         (test-xfail-UNIX98/sched.h/conform): Likewise.
3970 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3972         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3973         error absence of trapping exception support.
3974         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3976 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3978         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3979         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3980         * timezone/Makefile (testdata): Move definition above include of
3981         Rules.
3982         (test-zones): New variable.
3983         (tests-special): Add zone files.
3984         (build-testdata): Use $(evaluate-test).
3986         * elf/Makefile (tests-special): Rename tests to end with .out.
3987         ($(objpfx)noload-mem): Likewise.
3988         ($(objpfx)tst-leaks1-mem): Likewise.
3989         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3990         * iconv/Makefile (xtests-special): Change test-iconvconfig to
3991         $(objpfx)test-iconvconfig.out.
3992         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
3993         set -e inside subshell and redirect output to file.
3994         * iconvdata/Makefile (generated): Rename tests to end with .out.
3995         Correct type.
3996         (tests-special): Rename tests to end with .out.
3997         ($(objpfx)mtrace-tst-loading): Likewise.
3998         * intl/Makefile (generated): Likewise.
3999         (tests-special): Likewise.
4000         ($(objpfx)mtrace-tst-gettext): Likewise.
4001         * misc/Makefile (generated): Likewise.
4002         (tests-special): Likewise.
4003         ($(objpfx)tst-error1-mem): Likewise.
4004         * nptl/Makefile (tests-special): Likewise.
4005         ($(objpfx)tst-stack3-mem): Likewise.
4006         (generated): Likewise.
4007         * posix/Makefile (generated): Likewise.
4008         (tests-special): Likewise.
4009         (xtests-special): Likewise.
4010         ($(objpfx)tst-fnmatch-mem): Likewise.
4011         ($(objpfx)bug-regex2-mem): Likewise.
4012         ($(objpfx)bug-regex14-mem): Likewise.
4013         ($(objpfx)bug-regex21-mem): Likewise.
4014         ($(objpfx)bug-regex31-mem): Likewise.
4015         ($(objpfx)tst-vfork3-mem): Likewise.
4016         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4017         ($(objpfx)tst-pcre-mem): Likewise.
4018         ($(objpfx)tst-boost-mem): Likewise.
4019         ($(objpfx)bug-ga2-mem): Likewise.
4020         ($(objpfx)bug-glob2-mem): Likewise.
4021         * resolv/Makefile (generate): Likewise.
4022         (tests-special): Likewise.
4023         (xtests-special): Likewise.
4024         (generated): Likewise.
4025         ($(objpfx)mtrace-tst-leaks): Likewise.
4026         ($(objpfx)mtrace-tst-leaks2): Likewise.
4028         * scripts/merge-test-results.sh: New file.
4029         * Makefile (tests-special-notdir): New variable.
4030         (tests): Run merge-test-results.sh.
4031         (xtests): Likewise.
4032         * Rules (tests-special-notdir): New variable.
4033         (xtests-special-notdir): Likewise.
4034         (tests): Run merge-test-results.sh
4035         (xtests): Likewise.
4037         * Makeconfig (test-xfail-name): New variable.
4038         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4039         compute variable name for expected failures.
4040         * conform/Makefile (conformtest-headers-data): New variable.
4041         (conformtest-standards): Likewise.
4042         (conformtest-headers-ISO): Likewise.
4043         (conformtest-headers-ISO99): Likewise.
4044         (conformtest-headers-ISO11): Likewise.
4045         (conformtest-headers-POSIX): Likewise.
4046         (conformtest-headers-XPG3): Likewise.
4047         (conformtest-headers-XPG4): Likewise.
4048         (conformtest-headers-UNIX98): Likewise.
4049         (conformtest-headers-XOPEN2K): Likewise.
4050         (conformtest-headers-POSIX2008): Likewise.
4051         (conformtest-headers-XOPEN2K8): Likewise.
4052         (conformtest-header-list-base): Likewise.
4053         (conformtest-header-list-tests): Likewise.
4054         (conformtest-header-base): Likewise.
4055         (conformtest-header-tests): Likewise.
4056         (tests-special): Add $(conformtest-header-list-tests).  If
4057         [$(fast-check) && !$(cross-compiling)], add
4058         $(conformtest-header-tests) instead of
4059         $(objpfx)run-conformtest.out.
4060         (generated): Add $(conformtest-header-list-base).  If
4061         [$(fast-check) && !$(cross-compiling)], add
4062         $(conformtest-header-base).  Remove previous setting.
4063         ($(conformtest-header-list-tests)): New target.
4064         (test-xfail-run-conformtest): Remove variable.
4065         ($(objpfx)run-conformtest.out): Remove target.
4066         (test-xfail-ISO11/complex.h/conform): New variable.
4067         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4068         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4069         (test-xfail-XPG3/varargs.h/conform): Likewise.
4070         (test-xfail-XPG4/varargs.h/conform): Likewise.
4071         (test-xfail-UNIX98/varargs.h/conform): Likewise.
4072         (test-xfail-XPG4/ndbm.h/conform): Likewise.
4073         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4074         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4075         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4076         (test-xfail-XPG3/fcntl.h/conform): Likewise.
4077         (test-xfail-XPG3/ftw.h/conform): Likewise.
4078         (test-xfail-XPG3/grp.h/conform): Likewise.
4079         (test-xfail-XPG3/langinfo.h/conform): Likewise.
4080         (test-xfail-XPG3/limits.h/conform): Likewise.
4081         (test-xfail-XPG3/pwd.h/conform): Likewise.
4082         (test-xfail-XPG3/search.h/conform): Likewise.
4083         (test-xfail-XPG3/signal.h/conform): Likewise.
4084         (test-xfail-XPG3/stdio.h/conform): Likewise.
4085         (test-xfail-XPG3/stdlib.h/conform): Likewise.
4086         (test-xfail-XPG3/string.h/conform): Likewise.
4087         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4088         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4089         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4090         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4091         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4092         (test-xfail-XPG3/sys/types.h/conform): Likewise.
4093         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4094         (test-xfail-XPG3/termios.h/conform): Likewise.
4095         (test-xfail-XPG3/time.h/conform): Likewise.
4096         (test-xfail-XPG3/unistd.h/conform): Likewise.
4097         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4098         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4099         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4100         (test-xfail-XPG4/netdb.h/conform): Likewise.
4101         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4102         (test-xfail-XPG4/signal.h/conform): Likewise.
4103         (test-xfail-XPG4/stdio.h/conform): Likewise.
4104         (test-xfail-XPG4/stdlib.h/conform): Likewise.
4105         (test-xfail-XPG4/stropts.h/conform): Likewise.
4106         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4107         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4108         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4109         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4110         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4111         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4112         (test-xfail-XPG4/sys/time.h/conform): Likewise.
4113         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4114         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4115         (test-xfail-XPG4/termios.h/conform): Likewise.
4116         (test-xfail-XPG4/ucontext.h/conform): Likewise.
4117         (test-xfail-XPG4/unistd.h/conform): Likewise.
4118         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4119         (test-xfail-POSIX/sched.h/conform): Likewise.
4120         (test-xfail-POSIX/signal.h/conform): Likewise.
4121         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4122         (test-xfail-POSIX/tar.h/conform): Likewise.
4123         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4124         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4125         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4126         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4127         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4128         (test-xfail-UNIX98/sched.h/conform): Likewise.
4129         (test-xfail-UNIX98/signal.h/conform): Likewise.
4130         (test-xfail-UNIX98/stdio.h/conform): Likewise.
4131         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4132         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4133         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4134         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4135         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4136         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4137         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4138         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4139         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4140         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4141         (test-xfail-UNIX98/unistd.h/conform): Likewise.
4142         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4143         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4144         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4145         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4146         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4147         (test-xfail-XOPEN2K/math.h/conform): Likewise.
4148         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4149         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4150         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4151         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4152         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4153         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4154         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4155         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4156         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4157         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4158         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4159         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4160         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4161         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4162         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4163         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4164         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4165         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4166         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4167         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4168         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4169         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4170         (test-xfail-POSIX2008/signal.h/conform): Likewise.
4171         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4172         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4173         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4174         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4175         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4176         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4177         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4178         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4179         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4180         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4181         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4182         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4183         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4184         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4185         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4186         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4187         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4188         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4189         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4190         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4191         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4192         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4193         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4194         (conformtest-cc-flags): Likewise.
4195         ($(conformtest-header-tests): New target.
4196         * conform/check-header-lists.sh: New file.
4197         * conform/run-conformtest.sh: Remove.
4199         * conform/conformtest.pl: Allow ' and \ in values given for
4200         constants.
4201         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4202         inclusion.
4203         [POSIX] (sys/types.h): Likewise.
4204         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4205         inclusion.
4206         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4207         inclusion.
4208         * conform/data/signal.h-data (SIGIO): Remove expectation.
4209         [XPG3] (SIGBUS): Do not expect.
4210         [POSIX || XPG3] (SIGPOLL): Likewise.
4211         [POSIX || XPG3] (SIGPROF): Likewise.
4212         [POSIX || XPG3] (SIGSYS): Likewise.
4213         [XPG3] (SIGTRAP): Likewise.
4214         [POSIX || XPG3] (SIGURG): Likewise.
4215         [POSIX || XPG3] (SIGVTALRM): Likewise.
4216         [POSIX || XPG3] (SIGXCPU): Likewise.
4217         [POSIX || XPG3] (SIGXFSZ): Likewise.
4218         [POSIX] (SA_SIGINFO): Expect.
4219         [XPG3] (siginfo_t): Do not expect type or contents.
4220         [POSIX] (si_pid): Do not expect element.
4221         [POSIX] (si_uid): Likewise.
4222         [POSIX] (si_addr): Likewise.
4223         [POSIX] (si_status): Likewise.
4224         [POSIX] (si_band): Likewise.
4225         [XPG4] (si_value): Likewise.
4226         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4227         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4228         [POSIX || XPG3] (ILL_ILLADR): Likewise.
4229         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4230         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4231         [POSIX || XPG3] (ILL_PRVREG): Likewise.
4232         [POSIX || XPG3] (ILL_COPROC): Likewise.
4233         [POSIX || XPG3] (ILL_BADSTK): Likewise.
4234         [POSIX || XPG3] (FPE_INTDIV): Likewise.
4235         [POSIX || XPG3] (FPE_INTOVF): Likewise.
4236         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4237         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4238         [POSIX || XPG3] (FPE_FLTUND): Likewise.
4239         [POSIX || XPG3] (FPE_FLTRES): Likewise.
4240         [POSIX || XPG3] (FPE_FLTINV): Likewise.
4241         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4242         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4243         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4244         [POSIX || XPG3] (BUS_ADRALN): Likewise.
4245         [POSIX || XPG3] (BUS_ADRERR): Likewise.
4246         [POSIX || XPG3] (BUS_OBJERR): Likewise.
4247         [POSIX || XPG3] (CLD_EXITED): Likewise.
4248         [POSIX || XPG3] (CLD_KILLED): Likewise.
4249         [POSIX || XPG3] (CLD_DUMPED): Likewise.
4250         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4251         [POSIX || XPG3] (CLD_STOPPED): Likewise.
4252         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4253         [POSIX || XPG3] (POLL_IN): Likewise.
4254         [POSIX || XPG3] (POLL_OUT): Likewise.
4255         [POSIX || XPG3] (POLL_MSG): Likewise.
4256         [POSIX || XPG3] (POLL_ERR): Likewise.
4257         [POSIX || XPG3] (POLL_PRI): Likewise.
4258         [POSIX || XPG3] (POLL_HUP): Likewise.
4259         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4260         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4261         (SIG*): Do not allow.
4262         [XPG3] (si_*): Likewise.
4263         [XPG3] (SI_*): Likewise.
4264         [XPG3 || XPG4] (sigev_*): Likewise.
4265         [XPG3 || XPG4] (SIGEV_*): Likewise.
4266         [XPG3 || XPG4] (sival_*): Likewise.
4267         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4268         [POSIX || XPG3] (BUS_*): Likewise.
4269         [POSIX || XPG3] (CLD_*): Likewise.
4270         [POSIX || XPG3] (FPE_*): Likewise.
4271         [POSIX || XPG3] (ILL_*): Likewise.
4272         [POSIX || XPG3] (POLL_*): Likewise.
4273         [POSIX || XPG3] (SEGV_*): Likewise.
4274         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4275         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4276         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4277         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4278         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4279         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4280         Specify type and value.
4281         (TVERSLEN): Likewise.
4282         (REGTYPE): Likewise.
4283         (AREGTYPE): Likewise.
4284         (LNKTYPE): Likewise.
4285         (SYMTYPE): Likewise.
4286         (CHRTYPE): Likewise.
4287         (BLKTYPE): Likewise.
4288         (DIRTYPE): Likewise.
4289         (FIFOTYPE): Likewise.
4290         (CONTTYPE): Likewise.
4291         (TSUID): Likewise.
4292         (TSGID): Likewise.
4293         (TSVTX): Likewise.
4294         (TUREAD): Likewise.
4295         (TUWRITE): Likewise.
4296         (TUEXEC): Likewise.
4297         (TGREAD): Likewise.
4298         (TGWRITE): Likewise.
4299         (TGEXEC): Likewise.
4300         (TOREAD): Likewise.
4301         (TOWRITE): Likewise.
4302         (TOEXEC): Likewise.
4303         [POSIX] (TSVTX): Expect constant.
4305 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
4307         * Makefile (tests): Change dependencies to ....
4308         (tests-special): ... additions to this variable.
4309         (tests): Depend on $(tests-special).
4310         * Makerules (check-abi-list): New variable.
4311         (check-abi): Depend on $(check-abi-list).
4312         [$(subdir) = elf] (tests-special): Add
4313         $(objpfx)check-abi-libc.out.
4314         [$(build-shared) = yes && subdir] (tests-special): Add
4315         $(check-abi-list).
4316         [$(build-shared) = yes && subdir] (tests): Do not depend on
4317         check-abi.
4318         * Rules (tests): Depend on $(tests-special).
4319         (xtests): Depend on $(xtests-special).
4320         * catgets/Makefile (tests): Change dependencies to ....
4321         (tests-special): ... additions to this variable.
4322         * conform/Makefile (tests): Change dependencies to ....
4323         (tests-special): ... additions to this variable.
4324         * elf/Makefile (tests): Change dependencies to ....
4325         (tests-special): ... additions to this variable.
4326         * grp/Makefile (tests): Change dependencies to ....
4327         (tests-special): ... additions to this variable.
4328         * iconv/Makefile (xtests): Change dependencies to ....
4329         (xtests-special): ... additions to this variable.
4330         * iconvdata/Makefile (tests): Change dependencies to ....
4331         (tests-special): ... additions to this variable.
4332         * intl/Makefile (tests): Change dependencies to ....
4333         (tests-special): ... additions to this variable.  Also add
4334         $(objpfx)tst-gettext.out.
4335         * io/Makefile (tests): Change dependencies to ....
4336         (tests-special): ... additions to this variable.
4337         * libio/Makefile (tests): Change dependencies to ....
4338         (tests-special): ... additions to this variable.
4339         * malloc/Makefile (tests): Change dependencies to ....
4340         (tests-special): ... additions to this variable.
4341         * misc/Makefile (tests): Change dependencies to ....
4342         (tests-special): ... additions to this variable.
4343         * nptl/Makefile (tests): Change dependencies to ....
4344         (tests-special): ... additions to this variable.
4345         * nptl_db/Makefile (tests): Change dependencies to ....
4346         (tests-special): ... additions to this variable.
4347         * posix/Makefile (tests): Change dependencies to ....
4348         (tests-special): ... additions to this variable.
4349         (xtests): Change dependencies to ....
4350         (xtests-special): ... additions to this variable.
4351         * resolv/Makefile (tests): Change dependencies to ....
4352         (tests-special): ... additions to this variable.
4353         (xtests): Change dependencies to ....
4354         (xtests-special): ... additions to this variable.
4355         * stdio-common/Makefile (tests): Change dependencies to ....
4356         (tests-special): ... additions to this variable.
4357         (do-tst-unbputc): Remove target.
4358         (do-tst-printf): Likewise.
4359         * stdlib/Makefile (tests): Change dependencies to ....
4360         (tests-special): ... additions to this variable.
4361         * string/Makefile (tests): Change dependencies to ....
4362         (tests-special): ... additions to this variable.
4363         * sysdeps/x86/Makefile (tests): Change dependencies to ....
4364         (tests-special): ... additions to this variable.
4366         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4367         whole file.
4368         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4369         whole file.
4370         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4371         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4373         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4374         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4375         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4376         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4377         * conform/data/libgen.h-data [XPG3]: Likewise.
4378         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4379         * conform/data/ndbm.h-data [XPG3]: Likewise.
4380         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4381         * conform/data/netdb.h-data [XPG3]: Likewise.
4382         * conform/data/netinet/in.h-data [XPG3]: Likewise.
4383         * conform/data/poll.h-data [XPG3]: Likewise.
4384         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4385         * conform/data/strings.h-data [XPG3]: Likewise.
4386         * conform/data/stropts.h-data [XPG3]: Likewise.
4387         * conform/data/sys/mman.h-data [XPG3]: Likewise.
4388         * conform/data/sys/resource.h-data [XPG3]: Likewise.
4389         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4390         Likewise.
4391         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4392         * conform/data/sys/time.h-data [XPG3]: Likewise.
4393         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4394         * conform/data/sys/uio.h-data [XPG3]: Likewise.
4395         * conform/data/sys/un.h-data [XPG3]: Likewise.
4396         * conform/data/syslog.h-data [XPG3]: Likewise.
4397         * conform/data/ucontext.h-data [XPG3]: Likewise.
4398         * conform/data/utmpx.h-data [XPG3]: Likewise.
4399         * conform/data/varargs.h-data [UNIX98]: Enable file.
4401         * manual/Makefile (INSTALL_INFO): Remove variable setting.
4403         * math/libm-test.inc (struct test_f_f_data): Move expected results
4404         into structure for each rounding mode.
4405         (struct test_ff_f_data): Likewise.
4406         (struct test_ff_f_data_nexttoward): Likewise.
4407         (struct test_fi_f_data): Likewise.
4408         (struct test_fl_f_data): Likewise.
4409         (struct test_if_f_data): Likewise.
4410         (struct test_fff_f_data): Likewise.
4411         (struct test_c_f_data): Likewise.
4412         (struct test_f_f1_data): Likewise.
4413         (struct test_fF_f1_data): Likewise.
4414         (struct test_ffI_f1_data): Likewise.
4415         (struct test_c_c_data): Likewise.
4416         (struct test_cc_c_data): Likewise.
4417         (struct test_f_i_data): Likewise.
4418         (struct test_ff_i_data): Likewise.
4419         (struct test_f_l_data): Likewise.
4420         (struct test_f_L_data): Likewise.
4421         (struct test_fFF_11_data): Likewise.
4422         (RM_): New macro.
4423         (RM_FE_DOWNWARD): Likewise.
4424         (RM_FE_TONEAREST): Likewise.
4425         (RM_FE_TOWARDZERO): Likewise.
4426         (RM_FE_UPWARD): Likewise.
4427         (RUN_TEST_LOOP_f_f): Update references to expected results.
4428         (RUN_TEST_LOOP_2_f): Likewise.
4429         (RUN_TEST_LOOP_fff_f): Likewise.
4430         (RUN_TEST_LOOP_c_f): Likewise.
4431         (RUN_TEST_LOOP_f_f1): Likewise.
4432         (RUN_TEST_LOOP_fF_f1): Likewise.
4433         (RUN_TEST_LOOP_fI_f1): Likewise.
4434         (RUN_TEST_LOOP_ffI_f1): Likewise.
4435         (RUN_TEST_LOOP_c_c): Likewise.
4436         (RUN_TEST_LOOP_cc_c): Likewise.
4437         (RUN_TEST_LOOP_f_i): Likewise.
4438         (RUN_TEST_LOOP_f_i_tg): Likewise.
4439         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4440         (RUN_TEST_LOOP_f_b): Likewise.
4441         (RUN_TEST_LOOP_f_b_tg): Likewise.
4442         (RUN_TEST_LOOP_f_l): Likewise.
4443         (RUN_TEST_LOOP_f_L): Likewise.
4444         (RUN_TEST_LOOP_fFF_11): Likewise.
4445         * math/gen-libm-test.pl (parse_args): Output four copies of
4446         expected results for each test.
4448         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4449         (__ASSUME_UTIMES): Remove.
4450         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4451         (__ASSUME_UTIMES): Likewise.
4453         * math/gen-auto-libm-tests.c: Update comment on output format.
4454         (output_for_one_input_case): Generate before-rounding and
4455         after-rounding information as conditions on output flags not
4456         floating-point format.
4457         * math/auto-libm-test-out: Regenerated.
4458         * math/gen-libm-test.pl (cond_value): New function.
4459         (or_cond_value): Use cond_value.
4460         (generate_testfile): Handle conditional exceptions.
4462 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
4464         * math/libm-test.inc (max_valid_error): New variable.
4465         (init_max_error): Take new argument specifying whether function
4466         results are exactly determined.  Set max_valid_error and bound
4467         other variables for errors based on this argument.
4468         (set_max_error): Do not record results above max_valid_error.
4469         (check_float_internal): Only accept errors of up to 0.5ulps if
4470         also at most max_valid_error.
4471         (START): Take new argument EXACT and pass it to init_max_error.
4472         (acos_test): Update call to START.
4473         (acos_test_tonearest): Likewise.
4474         (acos_test_towardzero): Likewise.
4475         (acos_test_downward): Likewise.
4476         (acos_test_upward): Likewise.
4477         (acosh_test): Likewise.
4478         (asin_test): Likewise.
4479         (asin_test_tonearest): Likewise.
4480         (asin_test_towardzero): Likewise.
4481         (asin_test_downward): Likewise.
4482         (asin_test_upward): Likewise.
4483         (asinh_test): Likewise.
4484         (atan_test): Likewise.
4485         (atanh_test): Likewise.
4486         (atan2_test): Likewise.
4487         (cabs_test): Likewise.
4488         (cacos_test): Likewise.
4489         (cacosh_test): Likewise.
4490         (carg_test): Likewise.
4491         (casin_test): Likewise.
4492         (casinh_test): Likewise.
4493         (catan_test): Likewise.
4494         (catanh_test): Likewise.
4495         (cbrt_test): Likewise.
4496         (ccos_test): Likewise.
4497         (ccosh_test): Likewise.
4498         (ceil_test): Likewise.
4499         (cexp_test): Likewise.
4500         (cimag_test): Likewise.
4501         (clog_test): Likewise.
4502         (clog10_test): Likewise.
4503         (conj_test): Likewise.
4504         (copysign_test): Likewise.
4505         (cos_test): Likewise.
4506         (cos_test_tonearest): Likewise.
4507         (cos_test_towardzero): Likewise.
4508         (cos_test_downward): Likewise.
4509         (cos_test_upward): Likewise.
4510         (cosh_test): Likewise.
4511         (cosh_test_tonearest): Likewise.
4512         (cosh_test_towardzero): Likewise.
4513         (cosh_test_downward): Likewise.
4514         (cosh_test_upward): Likewise.
4515         (cpow_test): Likewise.
4516         (cproj_test): Likewise.
4517         (creal_test): Likewise.
4518         (csin_test): Likewise.
4519         (csinh_test): Likewise.
4520         (csqrt_test): Likewise.
4521         (ctan_test): Likewise.
4522         (ctan_test_tonearest): Likewise.
4523         (ctan_test_towardzero): Likewise.
4524         (ctan_test_downward): Likewise.
4525         (ctan_test_upward): Likewise.
4526         (ctanh_test): Likewise.
4527         (ctanh_test_tonearest): Likewise.
4528         (ctanh_test_towardzero): Likewise.
4529         (ctanh_test_downward): Likewise.
4530         (ctanh_test_upward): Likewise.
4531         (erf_test): Likewise.
4532         (erfc_test): Likewise.
4533         (exp_test): Likewise.
4534         (exp_test_tonearest): Likewise.
4535         (exp_test_towardzero): Likewise.
4536         (exp_test_downward): Likewise.
4537         (exp_test_upward): Likewise.
4538         (exp10_test): Likewise.
4539         (exp10_test_tonearest): Likewise.
4540         (exp10_test_towardzero): Likewise.
4541         (exp10_test_downward): Likewise.
4542         (exp10_test_upward): Likewise.
4543         (pow10_test): Likewise.
4544         (exp2_test): Likewise.
4545         (expm1_test): Likewise.
4546         (expm1_test_tonearest): Likewise.
4547         (expm1_test_towardzero): Likewise.
4548         (expm1_test_downward): Likewise.
4549         (expm1_test_upward): Likewise.
4550         (fabs_test): Likewise.
4551         (fdim_test): Likewise.
4552         (floor_test): Likewise.
4553         (fma_test): Likewise.
4554         (fma_test_towardzero): Likewise.
4555         (fma_test_downward): Likewise.
4556         (fma_test_upward): Likewise.
4557         (fmax_test): Likewise.
4558         (fmin_test): Likewise.
4559         (fmod_test): Likewise.
4560         (fpclassify_test): Likewise.
4561         (frexp_test): Likewise.
4562         (hypot_test): Likewise.
4563         (ilogb_test): Likewise.
4564         (isfinite_test): Likewise.
4565         (finite_test): Likewise.
4566         (isgreater_test): Likewise.
4567         (isgreaterequal_test): Likewise.
4568         (isinf_test): Likewise.
4569         (isless_test): Likewise.
4570         (islessequal_test): Likewise.
4571         (islessgreater_test): Likewise.
4572         (isnan_test): Likewise.
4573         (isnormal_test): Likewise.
4574         (issignaling_test): Likewise.
4575         (isunordered_test): Likewise.
4576         (j0_test): Likewise.
4577         (j1_test): Likewise.
4578         (jn_test): Likewise.
4579         (ldexp_test): Likewise.
4580         (lgamma_test): Likewise.
4581         (gamma_test): Likewise.
4582         (lrint_test): Likewise.
4583         (lrint_test_tonearest): Likewise.
4584         (lrint_test_towardzero): Likewise.
4585         (lrint_test_downward): Likewise.
4586         (lrint_test_upward): Likewise.
4587         (llrint_test): Likewise.
4588         (llrint_test_tonearest): Likewise.
4589         (llrint_test_towardzero): Likewise.
4590         (llrint_test_downward): Likewise.
4591         (llrint_test_upward): Likewise.
4592         (log_test): Likewise.
4593         (log10_test): Likewise.
4594         (log1p_test): Likewise.
4595         (log2_test): Likewise.
4596         (logb_test): Likewise.
4597         (logb_test_downward): Likewise.
4598         (lround_test): Likewise.
4599         (llround_test): Likewise.
4600         (modf_test): Likewise.
4601         (nearbyint_test): Likewise.
4602         (nextafter_test): Likewise.
4603         (nexttoward_test): Likewise.
4604         (pow_test): Likewise.
4605         (pow_test_tonearest): Likewise.
4606         (pow_test_towardzero): Likewise.
4607         (pow_test_downward): Likewise.
4608         (pow_test_upward): Likewise.
4609         (remainder_test): Likewise.
4610         (drem_test): Likewise.
4611         (remainder_test_tonearest): Likewise.
4612         (drem_test_tonearest): Likewise.
4613         (remainder_test_towardzero): Likewise.
4614         (drem_test_towardzero): Likewise.
4615         (remainder_test_downward): Likewise.
4616         (drem_test_downward): Likewise.
4617         (remainder_test_upward): Likewise.
4618         (drem_test_upward): Likewise.
4619         (remquo_test): Likewise.
4620         (rint_test): Likewise.
4621         (rint_test_tonearest): Likewise.
4622         (rint_test_towardzero): Likewise.
4623         (rint_test_downward): Likewise.
4624         (rint_test_upward): Likewise.
4625         (round_test): Likewise.
4626         (scalb_test): Likewise.
4627         (scalbn_test): Likewise.
4628         (scalbln_test): Likewise.
4629         (signbit_test): Likewise.
4630         (sin_test): Likewise.
4631         (sin_test_tonearest): Likewise.
4632         (sin_test_towardzero): Likewise.
4633         (sin_test_downward): Likewise.
4634         (sin_test_upward): Likewise.
4635         (sincos_test): Likewise.
4636         (sinh_test): Likewise.
4637         (sinh_test_tonearest): Likewise.
4638         (sinh_test_towardzero): Likewise.
4639         (sinh_test_downward): Likewise.
4640         (sinh_test_upward): Likewise.
4641         (sqrt_test): Likewise.
4642         (sqrt_test_tonearest): Likewise.
4643         (sqrt_test_towardzero): Likewise.
4644         (sqrt_test_downward): Likewise.
4645         (sqrt_test_upward): Likewise.
4646         (tan_test): Likewise.
4647         (tan_test_tonearest): Likewise.
4648         (tan_test_towardzero): Likewise.
4649         (tan_test_downward): Likewise.
4650         (tan_test_upward): Likewise.
4651         (tanh_test): Likewise.
4652         (tgamma_test): Likewise.
4653         (trunc_test): Likewise.
4654         (y0_test): Likewise.
4655         (y1_test): Likewise.
4656         (yn_test): Likewise.
4657         (significand_test): Likewise.
4659         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4660         individual tests in comment.
4661         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4662         (prev_max_error): New variable.
4663         (prev_real_max_error): Likewise.
4664         (prev_imag_max_error): Likewise.
4665         (compare_ulp_data): Don't refer to test names in comment.
4666         (find_test_ulps): Remove function.
4667         (find_function_ulps): Likewise.
4668         (find_complex_function_ulps): Likewise.
4669         (init_max_error): Take function name as argument.  Look up ulps
4670         for that function.
4671         (print_ulps): Remove function.
4672         (print_max_error): Use prev_max_error instead of calling
4673         find_function_ulps.
4674         (print_complex_max_error): Use prev_real_max_error and
4675         prev_imag_max_error instead of calling find_complex_function_ulps.
4676         (check_float_internal): Take max_ulp parameter instead of calling
4677         find_test_ulps.  Don't call print_ulps.
4678         (check_float): Update call to check_float_internal.
4679         (check_complex): Update calls to check_float_internal.
4680         (START): Pass argument to init_max_error.
4681         * math/gen-libm-test.pl (%results): Don't include "kind"
4682         information.
4683         (parse_ulps): Don't handle ulps of individual tests.
4684         (print_ulps_file): Likewise.
4685         (output_ulps): Likewise.
4686         * math/README.libm-test: Update.
4687         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4688         individual tests.
4689         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4690         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4691         * sysdeps/arm/libm-test-ulps: Likewise.
4692         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4693         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4694         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4695         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4696         * sysdeps/microblaze/libm-test-ulps: Likewise.
4697         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4698         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4699         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4700         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4701         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4702         * sysdeps/sh/libm-test-ulps: Likewise.
4703         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4704         * sysdeps/tile/libm-test-ulps: Likewise.
4705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4707 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4709         * math/libm-test.inc (print_complex_max_error): Check separately
4710         whether real and imaginary errors are within allowed range and
4711         pass 0 to print_complex_function_ulps instead of value within
4712         allowed range.
4714 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4716         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4717         formatting.
4718         (get_handles_fopen): Likewise.
4719         (do_write_test): Likewise.
4721         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4723         * libio/fileops.c (do_ftell): Use cached offset when
4724         available.
4725         * libio/iofwide.c (do_ftell_wide): Likewise.
4726         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4727         _IO_file_attach.
4728         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4730         [BZ #16532]
4731         * libio/libioP.h (get_file_offset): New function.
4732         * libio/fileops.c (get_file_offset): Likewise.
4733         (do_ftell): Likewise.
4734         (_IO_new_file_seekoff): Split out ftell logic.
4735         * libio/wfileops.c (do_ftell_wide): Likewise.
4736         (_IO_wfile_seekoff): Split out ftell logic.
4737         * libio/tst-ftell-active-handler.c: New test case.
4738         * libio/Makefile (tests): Add it.
4740 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4742         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4743         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4745 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4747         [BZ #16639]
4748         * nscd/connections.c (nscd_init): Call do_exit.
4749         (start_threads): Call do_exit and notify_parent.
4750         (begin_drop_privileges): Call do_exit.
4751         (finish_drop_privileges): Likewise.
4752         * nscd/selinux.c (preserve_capabilities): Likewise.
4753         (install_real_capabilities): Likewise.
4754         (nscd_selinux_enabled): Likewise.
4755         (avc_create_thread): Likewise.
4756         (avc_alloc_lock): Likewise.
4757         (nscd_avc_init): Likewise.
4758         * nscd/nscd.c (parent_fd): New static variable.
4759         (main): Create a pipe between parent and child processes.
4760         Skip closing parent_fd.
4761         (monitor_child): New function.
4762         (do_exit): Likewise.
4763         (notify_parent): Likewise.
4764         * nscd/nscd.h (notify_parent): Likewise.
4765         (do_exit): Likewise.
4767 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4769         * malloc/malloc.c (__libc_calloc): Revert last change.
4771 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4775 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4777         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4779         implementation.
4780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4781         (__libc_ifunc_impl_list): Likewise.
4782         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4783         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4784         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4785         * string/strrchr.c: Define STRRCHR.
4787 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4789         * benchtest/bench-strtok.c (simple_strtok): Delete.
4790         (strtok_string): Use as benchmark.
4791         * string/strtok (STRTOK): New macro.
4793 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4795         * manual/threads.texi: Add header and standard comments to all
4796         functions.
4798         * elf/dl-lookup.c (check_match): New function.
4799         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4800         (do_lookup_x): Remove nested function check_match. Use non-nested
4801         function check_match.
4803 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4805         * csu/Makefile (generated, before-compile): Use += rather than =.
4806         * catgets/Makefile (generated, generated-dirs): Likewise.
4807         * debug/Makefile (generated): Likewise.
4808         * dlfcn/Makefile (generated): Likewise.
4809         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4810         * iconvdata/Makefile (before-compile, generated): Likewise.
4811         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4812         * libio/Makefile (generated): Likewise.
4813         * malloc/Makefile (generated): Likewise.
4814         * manual/Makefile (generated, generated-dirs): Likewise.
4815         * misc/Makefile (generated): Likewise.
4816         * posix/Makefile (generated): Likewise.
4817         * resolv/Makefile (generated): Likewise.
4818         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4819         * timezone/Makefile (generated, generated-dirs): Likewise.
4821         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4823 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4826         power8 implementation.
4827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4828         file: POWER8 llround ifunc implementation.
4829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4830         (__lllround): Add POWER8 implementation.
4831         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4832         POWER8 llround implementation.
4834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4835         power8 implementation.
4836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4837         file: POWER8 llrint ifunc implementation.
4838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4839         Add POWER8 implementation.
4840         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4841         POWER8 llrint implementation.
4843         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4844         power8 implementation.
4845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4846         file: POWER8 finite ifunc implementation.
4847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4848         Add POWER8 implementation.
4849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4850         Likewise.
4851         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4852         POWER8 finite implementation.
4853         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4856         power8 implementation.
4857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4858         file: POWER8 isinf ifunc implementation.
4859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4860         POWER8 implementation.
4861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4862         Likewise.
4863         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4864         isinf implementation.
4865         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4867         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4868         (INIT_ARCH): Add hwcap2 initialization.
4869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4870         power8 implementation.
4871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4872         file: POWER8 isnan ifunc implementation.
4873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4874         POWER8 implementation.
4875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4876         Likewise.
4877         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4878         isnan implementation.
4879         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4881 2014-02-27  Joey Ye  <joey.ye@arm.com>
4883         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4884         (_FP_NANFRAC_Q): Set to zero.
4886 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4888         [BZ #16623]
4889         * math/auto-libm-test-in: New test inputs.
4890         * math/auto-libm-test-out: Regenerate.
4891         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4892         and DA.
4893         (__cos): Likewise.
4894         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4896 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4898         * scripts/evaluate-test.sh: Take new argument indicating whether
4899         failure is expected.
4900         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4901         indicating whether failure is expected.
4902         * conform/Makefile (test-xfail-run-conformtest): New variable.
4903         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4904         level.
4905         * posix/Makefile (test-xfail-annexc): New variable.
4906         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4908 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4910         * argp/Makefile: Include Makeconfig immediately after defining
4911         subdir.
4912         * assert/Makefile: Likewise.
4913         * benchtests/Makefile: Likewise.
4914         * catgets/Makefile: Likewise.
4915         * conform/Makefile: Likewise.
4916         * crypt/Makefile: Likewise.
4917         * csu/Makefile: Likewise.
4918         (all): Remove target.
4919         * ctype/Makefile: Include Makeconfig immediately after defining
4920         subdir.
4921         * debug/Makefile: Likewise.
4922         * dirent/Makefile: Likewise.
4923         * dlfcn/Makefile: Likewise.
4924         * gmon/Makefile: Likewise.
4925         * gnulib/Makefile: Likewise.
4926         * grp/Makefile: Likewise.
4927         * gshadow/Makefile: Likewise.
4928         * hesiod/Makefile: Likewise.
4929         * hurd/Makefile: Likewise.
4930         (all): Remove target.
4931         * iconvdata/Makefile: Include Makeconfig immediately after
4932         defining subdir.
4933         * inet/Makefile: Likewise.
4934         * intl/Makefile: Likewise.
4935         * io/Makefile: Likewise.
4936         * libio/Makefile: Likewise.
4937         (all): Remove target.
4938         * locale/Makefile: Include Makeconfig immediately after defining
4939         subdir.
4940         * login/Makefile: Likewise.
4941         * mach/Makefile: Likewise.
4942         (all): Remove target.
4943         * malloc/Makefile: Include Makeconfig immediately after defining
4944         subdir.
4945         (all): Remove target.
4946         * manual/Makefile: Include Makeconfig immediately after defining
4947         subdir.
4948         * math/Makefile: Likewise.
4949         * misc/Makefile: Likewise.
4950         * nis/Makefile: Likewise.
4951         * nss/Makefile: Likewise.
4952         * po/Makefile: Likewise.
4953         (all): Remove target.
4954         * posix/Makefile: Include Makeconfig immediately after defining
4955         subdir.
4956         * pwd/Makefile: Likewise.
4957         * resolv/Makefile: Likewise.
4958         * resource/Makefile: Likewise.
4959         * rt/Makefile: Likewise.
4960         * setjmp/Makefile: Likewise.
4961         * shadow/Makefile: Likewise.
4962         * signal/Makefile: Likewise.
4963         * socket/Makefile: Likewise.
4964         * soft-fp/Makefile: Likewise.
4965         * stdio-common/Makefile: Likewise.
4966         * stdlib/Makefile: Likewise.
4967         * streams/Makefile: Likewise.
4968         * string/Makefile: Likewise.
4969         * sunrpc/Makefile: Likewise.
4970         (all): Remove target.
4971         * sysvipc/Makefile: Include Makeconfig immediately after defining
4972         subdir.
4973         * termios/Makefile: Likewise.
4974         * time/Makefile: Likewise.
4975         * timezone/Makefile: Likewise.
4976         (all): Remove target.
4977         * wcsmbs/Makefile: Include Makeconfig immediately after defining
4978         subdir.
4979         * wctype/Makefile: Likewise.
4981 2014-02-26  Steve Ellcey  <sellcey@mips.com>
4983         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4984         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4985         (libc_feholdexcept_setround_mips): Ditto.
4986         (libc_feholdsetround): New.
4987         (libc_feholdsetroundf): New.
4988         (libc_feholdsetroundl): New.
4989         (libc_feupdateenv_test_mips): New.
4990         (libc_feupdateenv_test): New.
4991         (libc_feupdateenv_testf): New.
4992         (libc_feupdateenv_testl): New.
4993         (libc_feresetround): New.
4994         (libc_feresetroundf): New.
4995         (libc_feresetroundl): New.
4996         (libc_fetestexcept_mips): New.
4997         (libc_fetestexcept): New.
4998         (libc_fetestexceptf): New.
4999         (libc_fetestexceptl): New.
5000         (HAVE_RM_CTX): New.
5001         (libc_feholdexcept_setround_mips_ctx): New.
5002         (libc_feholdexcept_setround_ctx): New.
5003         (libc_feholdexcept_setroundf_ctx): New.
5004         (libc_feholdexcept_setroundl_ctx): New.
5005         (libc_fesetenv_mips_ctx): New.
5006         (libc_fesetenv_ctx): New.
5007         (libc_fesetenv_ctxf): New.
5008         (libc_fesetenv_ctxl): New.
5009         (libc_feupdateenv_mips_ctx): New.
5010         (libc_feupdateenv_ctx): New.
5011         (libc_feupdateenvf_ctx): New.
5012         (libc_feupdateenvl_ctx): New.
5013         (libc_feholdsetround_mips_ctx): New.
5014         (libc_feholdsetround_ctx): New.
5015         (libc_feholdsetroundf_ctx): New.
5016         (libc_feholdsetroundl_ctx): New.
5017         (libc_feresetround_mips_ctx): New.
5018         (libc_feresetround_ctx): New.
5019         (libc_feresetroundf_ctx): New.
5020         (libc_feresetroundl_ctx): New.
5022 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
5024         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5026         * manual/ipc.texi: New file.
5027         * manual/Makefile (chapters): Add ipc.
5028         * manual/job.texi: Add "Inter-Process Communication" to next.
5029         * manual/process.texi: Add "Inter-Process Communication" to prev.
5031 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5035 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
5037         * malloc/malloc.c (__libc_calloc): Simplify implementation.
5039         * manual/arith.texi: Fix spaces after sentences.
5040         * manual/charset.texi: Likewise.
5041         * manual/errno.texi: Likewise.
5042         * manual/install.texi: Likewise.
5043         * manual/llio.texi: Likewise.
5044         * manual/locale.texi: Likewise.
5045         * manual/maint.texi: Likewise.
5046         * manual/math.texi: Likewise.
5047         * manual/memory.texi: Likewise.
5048         * manual/message.texi: Likewise.
5049         * manual/probes.texi: Likewise.
5050         * manual/resource.texi: Likewise.
5051         * manual/signal.texi: Likewise.
5052         * manual/socket.texi: Likewise.
5053         * manual/stdio.texi: Likewise.
5054         * manual/string.texi: Likewise.
5055         * manual/time.texi: Likewise.
5056         * manual/users.texi: Likewise.
5058 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
5060         [BZ #16632]
5061         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5062         _DEFAULT_SOURCE is defined.
5064 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
5065             Carlos O'Donell  <carlos@redhat.com>
5067         [BZ #16613]
5068         * elf/dl-tls.c (_dl_count_modids): New function.
5069         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5070         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5071         audit library and increment generation counter.
5072         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5073         * elf/tst-audit9.c: New file.
5074         * elf/tst-auditmod9a.c: New file.
5075         * elf/tst-auditmod9b.c: New file.
5076         * elf/Makefile: Add rules to build and run tst-audit9.
5078 2014-02-25  Florian Weimer  <fweimer@redhat.com>
5080         [BZ #15347]
5081         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5083 2014-02-25  Will Newton  <will.newton@linaro.org>
5085         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5086         (__longjmp): Restore sp and lr before restoring callee
5087         saved registers.  Add longjmp and longjmp_target
5088         SystemTap probe point.
5089         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5090         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5091         Define to zero to match jmpbuf layout.
5092         * sysdeps/arm/setjmp.S: Include stap-probe.h.
5093         (__sigsetjmp): Save sp and lr before saving callee
5094         saved registers.  Add setjmp SystemTap probe point.
5096 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5098         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5100 2014-02-24  Andreas Schwab  <schwab@suse.de>
5102         [BZ #15804]
5103         * elf/pldd.c (wait_for_ptrace_stop): New function.
5104         (main): Call it after attaching.
5106 2014-02-22  Roland McGrath  <roland@hack.frob.com>
5108         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5109         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5110         Versions files is now verboten.
5111         * hurd/Versions (libc: GLIBC_2.0):
5112         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5113         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5114         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5115         * mach/Versions: Likewise.
5117         * csu/Versions: Remove unused %include.
5118         * resolv/Versions: Likewise.
5120 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
5122         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5123         ($(objpfx)check-local-headers.out): Likewise.
5124         ($(objpfx)begin-end-check.out): Likewise.
5125         * Makerules (check-abi-%.out): Likewise.
5126         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5127         ($(objpfx)test2.cat): Likewise.
5128         ($(objpfx)de/libc.cat): Likewise.
5129         ($(objpfx)test-gencat.out): Likewise.
5130         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5131         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5132         ($(objpfx)noload-mem): Likewise.
5133         ($(objpfx)tst-pathopt.out): Likewise.
5134         ($(objpfx)tst-rtld-load-self.out): Likewise.
5135         ($(objpfx)tst-array1-cmp.out): Likewise.
5136         ($(objpfx)tst-array1-static-cmp.out): Likewise.
5137         ($(objpfx)tst-array2-cmp.out): Likewise.
5138         ($(objpfx)tst-array3-cmp.out): Likewise.
5139         ($(objpfx)tst-array4-cmp.out): Likewise.
5140         ($(objpfx)tst-array5-cmp.out): Likewise.
5141         ($(objpfx)tst-array5-static-cmp.out): Likewise.
5142         ($(objpfx)check-textrel.out): Likewise.
5143         ($(objpfx)check-execstack.out): Likewise.
5144         ($(objpfx)check-localplt.out): Likewise.
5145         ($(objpfx)order2-cmp.out): Likewise.
5146         ($(objpfx)tst-leaks1-mem): Likewise.
5147         ($(objpfx)tst-leaks1-static-mem): Likewise.
5148         ($(objpfx)tst-initorder-cmp.out): Likewise.
5149         ($(objpfx)tst-initorder2-cmp.out): Likewise.
5150         ($(objpfx)tst-unused-dep.out): Likewise.
5151         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5152         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5153         * iconv/Makefile (test-iconvconfig): Likewise.
5154         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5155         ($(objpfx)iconv-test.out): Likewise.
5156         ($(objpfx)tst-tables.out): Likewise.
5157         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5158         ($(objpfx)tst-gettext.out): Likewise.
5159         ($(objpfx)tst-translit.out): Likewise.
5160         ($(objpfx)tst-gettext2.out): Likewise.
5161         ($(objpfx)tst-gettext4.out): Likewise.
5162         ($(objpfx)tst-gettext6.out): Likewise.
5163         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5164         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5165         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5166         ($(objpfx)tst-fopenloc-mem.out): Likewise.
5167         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5168         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5169         * posix/Makefile ($(objpfx)globtest.out): Likewise.
5170         ($(objpfx)wordexp-tst.out): Likewise.
5171         ($(objpfx)annexc.out): Likewise.
5172         ($(objpfx)tst-fnmatch-mem): Likewise.
5173         ($(objpfx)bug-regex2-mem): Likewise.
5174         ($(objpfx)bug-regex14-mem): Likewise.
5175         ($(objpfx)bug-regex21-mem): Likewise.
5176         ($(objpfx)bug-regex31-mem): Likewise.
5177         ($(objpfx)tst-vfork3-mem): Likewise.
5178         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5179         ($(objpfx)tst-pcre-mem): Likewise.
5180         ($(objpfx)tst-boost-mem): Likewise.
5181         ($(objpfx)tst-getconf.out): Likewise.
5182         ($(objpfx)bug-ga2-mem): Likewise.
5183         ($(objpfx)bug-glob2-mem): Likewise.
5184         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5185         ($(objpfx)mtrace-tst-leaks2): Likewise.
5186         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5187         ($(objpfx)tst-printf.out): Likewise.
5188         ($(objpfx)tst-setvbuf1.out): Likewise.
5189         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5190         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5191         ($(objpfx)tst-fmtmsg.out): Likewise.
5192         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5193         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5195         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5196         * bits/sigaction.h [__USE_MISC]: Likewise.
5197         * bits/waitstatus.h: Update #endif comments.
5198         * ctype/ctype.h: Likewise.
5199         * dirent/dirent.h: Likewise.
5200         [__USE_MISC]: Remove redundant conditionals.
5201         * grp/grp.h: Update #endif comments.
5202         [__USE_GNU]: Remove redundant conditionals.
5203         [__USE_MISC]: Likewise.
5204         * inet/netinet/in.h [__USE_GNU]: Likewise.
5205         * io/sys/stat.h [__USE_MISC]: Likewise.
5206         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5207         * libio/bits/stdio.h: Update #endif comments.
5208         [__USE_MISC]: Remove redundant conditionals.
5209         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5210         * libio/stdio.h: Update #endif comments.
5211         [__USE_MISC]: Remove redundant conditionals.
5212         * math/bits/math-finite.h [__USE_MISC]: Likewise.
5213         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5214         * math/math.h: Update #else and #endif comments.
5215         [__USE_MISC]: Remove redundant conditionals.
5216         * misc/sys/uio.h: Update #endif comments.
5217         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5218         * posix/glob.h [__USE_MISC]: Likewise.
5219         * posix/sys/types.h: Update #endif comments.
5220         [__USE_MISC]: Remove redundant conditionals.
5221         * posix/sys/wait.h: Update #endif comments.
5222         [__USE_MISC]: Remove redundant conditionals.
5223         * posix/unistd.h: Update #endif comments.
5224         [__USE_MISC]: Remove redundant conditionals.
5225         * pwd/pwd.h [__USE_GNU]: Likewise.
5226         [__USE_MISC]: Likewise.
5227         * resolv/netdb.h [__USE_GNU]: Likewise.
5228         * signal/signal.h: Update #endif comments.
5229         [__USE_MISC]: Remove redundant conditionals.
5230         * stdlib/stdlib.h: Update #else and #endif comments.
5231         [__USE_MISC]: Remove redundant conditionals.
5232         [__USE_GNU]: Likewise.
5233         * string/bits/string2.h [__USE_MISC]: Likewise.
5234         * string/string.h: Update #endif comments.
5235         [__USE_MISC]: Remove redundant conditionals.
5236         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5237         Likewise.
5238         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5239         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5240         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5241         Likewise.
5242         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5243         Likewise.
5244         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5245         comments.
5246         [__USE_MISC]: Remove redundant conditionals.
5247         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5248         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5249         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5250         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5251         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5252         Likewise.
5253         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5254         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5255         Likewise.
5256         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5257         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5258         Likewise.
5259         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5260         Likewise.
5261         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5262         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5263         Likewise.
5264         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5265         Likewise.
5266         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5267         * sysdeps/x86/bits/string.h: Update #endif comments.
5268         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5269         conditionals.
5270         * time/sys/time.h: Update #endif comments.
5271         * time/time.h: Likewise.
5272         [__USE_MISC]: Remove redundant conditionals.
5274 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
5276         [BZ #16600]
5277         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5279 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
5281         * Versions.def (librt): Add GLIBC_2.17.
5283 2014-02-21  Adam Conrad  <adconrad@0c3.net>
5285         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5286         synonym for _SYS_AUXV_H to allow direct inclusion.
5287         * sysdeps/sparc/bits/hwcap.h: Likewise.
5288         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5289         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5290         * sysdeps/sparc/sysdep.h: Likewise.
5292 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5294         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5296 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5298         * benchtests/bench-strrchr.c: Print length instead of position.
5300 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
5302         [BZ #16611]
5303         * sysdeps/unix/sysv/linux/kernel-features.h
5304         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5305         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5306         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5307         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5308         Likewise.
5309         [__i386__ || __powerpc__ || __sh__ || __sparc__]
5310         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5311         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5312         (__ASSUME_SENDMMSG): Define instead of using previous
5313         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5314         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5315         (__ASSUME_SENDMMSG_SYSCALL): Define.
5316         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5317         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5318         Likewise.
5319         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5320         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5321         Likewise.
5322         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5323         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5324         Likewise.
5325         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5326         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5327         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5328         [__ASSUME_SENDMMSG]: Change conditionals to
5329         [__ASSUME_SENDMMSG_SOCKETCALL].
5330         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5331         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5332         Define.
5333         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5334         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5335         Likewise.
5336         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5337         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5338         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5339         [!__ASSUME_SENDMMSG]: Change conditional to
5340         [!__ASSUME_SENDMMSG_SOCKETCALL].
5341         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5342         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5343         Define.
5345         [BZ #16610]
5346         * sysdeps/unix/sysv/linux/kernel-features.h
5347         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5348         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5349         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5350         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5351         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5352         [__i386__ || __sparc__]
5353         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5354         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5355         (__ASSUME_RECVMMSG): Define instead of using previous
5356         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5357         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5358         (__ASSUME_RECVMMSG_SYSCALL): Define.
5359         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5360         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5361         Likewise.
5362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5363         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5364         Likewise.
5365         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5366         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5367         Likewise.
5368         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5369         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5370         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5371         [__ASSUME_RECVMMSG]: Change condition to
5372         [__ASSUME_RECVMMSG_SOCKETCALL].
5373         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5374         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5375         Define.
5376         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5377         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5378         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5379         Likewise.
5380         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5381         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5382         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5383         [!__ASSUME_RECVMMSG]: Change condition to
5384         [!__ASSUME_RECVMMSG_SOCKETCALL].
5385         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5386         (__ASSUME_RECVMMSG_SYSCALL): Define.
5388         [BZ #16609]
5389         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5390         __powerpc__ || __s390__ || __sh__ || __sparc__]
5391         (__ASSUME_SOCKETCALL): Define.
5392         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5393         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5394         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5395         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5396         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5397         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5398         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5399         (__ASSUME_ACCEPT4): Define instead of using previous
5400         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5401         __powerpc__ || __sparc__ || __s390__)] condition.
5402         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5403         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5404         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5405         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5406         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5407         [!__ASSUME_ACCEPT4]: Change condition to
5408         [!__ASSUME_ACCEPT4_SOCKETCALL].
5409         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5410         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
5411         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5413         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5414         __ASSUME_ACCEPT4_SYSCALL.
5415         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5416         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5417         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5418         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5419         __ASSUME_ACCEPT4_SYSCALL.
5420         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5421         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5422         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5423         [__ASSUME_ACCEPT4]: Change condition to
5424         [__ASSUME_ACCEPT4_SOCKETCALL].
5425         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5426         (__ASSUME_SOCKETCALL): Define.
5427         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5428         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5429         (__ASSUME_SOCKETCALL): Define.
5430         (__ASSUME_ACCEPT4): Remove.
5431         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5432         Define.
5433         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5434         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5435         Likewise.
5436         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5437         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5439         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5440         macro.
5441         (HWCAP_ARM_LPAE): Likewise.
5442         (HWCAP_ARM_EVTSTRM): Likewise.
5443         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5444         Add vpfd32, lpae and evtstrm.
5445         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5446         Increase to 22.
5448 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
5450         * math/auto-libm-test-in: Add tests of clog10.
5451         * math/auto-libm-test-out: Regenerated.
5452         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5453         * sysdeps/i386/fpu/libm-test-ulps: Update.
5454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5456 2014-02-18  Andreas Schwab  <schwab@suse.de>
5458         [BZ #16574]
5459         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5460         Store non-zero if the second buffer was newly allocated.
5461         (send_dg): Likewise.
5462         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5463         to send_vc and send_dg.
5464         (res_nsend): Pass NULL for ansp2_malloced.
5465         * resolv/res_query.c (__libc_res_nquery): Add parameter
5466         answerp2_malloced and pass it down to __libc_res_nsend.
5467         (res_nquery): Pass additional NULL to __libc_res_nquery.
5468         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5469         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
5470         second answer buffer if answerp2_malloced was set.
5471         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5472         (__libc_res_nquerydomain): Add parameter
5473         answerp2_malloced and pass it down to __libc_res_nquery.
5474         (res_nquerydomain): Pass additional NULL to
5475         __libc_res_nquerydomain.
5476         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5477         additional NULL to __libc_res_nsend and __libc_res_nquery.
5478         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5479         additional NULL to __libc_res_nsearch.
5480         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
5481         parameter of __libc_res_nsearch to check for separately allocated
5482         second buffer.
5483         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5484         __libc_res_nquery.
5485         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5486         additional NULL to __libc_res_nquery.
5487         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5488         __libc_res_nsearch.
5489         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5490         * include/resolv.h: Update prototypes of __libc_res_nquery,
5491         __libc_res_nsearch, __libc_res_nsend.
5493 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
5495         * math/auto-libm-test-in: Add tests of fma.
5496         * math/auto-libm-test-out: Regenerated.
5497         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5498         (fma_towardzero_test_data): Likewise.
5499         (fma_downward_test_data): Likewise.
5500         (fma_upward_test_data): Likewise.
5501         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5502         mpc_mode.
5503         (rounding_modes): Add values for new field.
5504         (func_calc_method): Add value mpfr_fff_f.
5505         (func_calc_desc): Add mpfr_fff_f union field.
5506         (test_function): Add field exact_args.
5507         (FUNC): Add macro argument EXACT_ARGS.
5508         (FUNC_mpfr_f_f): Update call to FUNC.
5509         (FUNC_mpfr_f_f): Likewise.
5510         (FUNC_mpfr_ff_f): Likewise.
5511         (FUNC_mpfr_if_f): Likewise.
5512         (FUNC_mpc_c_f): Likewise.
5513         (FUNC_mpc_c_c): Likewise.
5514         (test_functions): Add fma.  Update calls to FUNC.
5515         (handle_input_arg): Add argument exact_args.
5516         (add_test): Update call to handle_input_arg.
5517         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5518         (output_for_one_input_case): Update call to calc_generic_results.
5519         Recalculate exact zero results in each rounding mode.
5521         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5522         non-negative before setting low bit.
5523         * math/auto-libm-test-in: Mark one asin test possibly having
5524         spurious underflow.
5525         * math/auto-libm-test-out: Regenerated.
5526         * sysdeps/i386/fpu/libm-test-ulps: Update.
5527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5529 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5531         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5532         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5533         ports/sysdeps/unix/sysv/linux/microblaze.
5534         * README: Add missing listing for microblaze*-*-linux-gnu.
5536 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5538         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5539         * sysdeps/unix/sysv/linux/ia64: Move directory from
5540         ports/sysdeps/unix/sysv/linux/ia64.
5541         * README: Update listing for ia64-*-linux-gnu.
5543 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5544             Joseph Myers  <joseph@codesourcery.com>
5546         * Makeconfig (test-name): New variable.
5547         (evaluate-test): Likewise.
5548         * Makerules (do-test-clean): Remove .test-result files.
5549         (common-mostlyclean): Likewise.
5550         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5551         * scripts/evaluate-test.sh: New file.
5553 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5555         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5556         separate $(objpfx)tst-fopenloc-cmp.out and
5557         $(objpfx)tst-fopenloc-mem.out targets.
5558         (tests): Update dependencies.
5559         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5560         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5561         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5562         (tst-rxspencer-no-utf8-ARGS): New variable.
5563         (tst-rxspencer-no-utf8-ENV): Likewise.
5564         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5565         instead of $(objpfx)tst-rxspencer-mem.
5566         ($(objpfx)tst-rxspencer-mem): Change target to
5567         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5568         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5569         * posix/tst-rxspencer-no-utf8.c: New file.
5571         * elf/Makefile ($(objpfx)order.out): Remove rule.
5572         [$(run-built-tests) = yes] (tests): Depend on
5573         $(objpfx)order-cmp.out.
5574         ($(objpfx)order-cmp.out): New rule.
5575         [$(run-built-tests) = yes] (tests): Depend on
5576         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5577         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5578         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5579         $(objpfx)tst-array5-static-cmp.out.
5580         ($(objpfx)tst-array1.out): Remove rule.
5581         ($(objpfx)tst-array1-cmp.out): New rule.
5582         ($(objpfx)tst-array1-static.out): Remove rule.
5583         ($(objpfx)tst-array1-static-cmp.out): New rule.
5584         ($(objpfx)tst-array2.out): Remove rule.
5585         ($(objpfx)tst-array2-cmp.out): New rule.
5586         ($(objpfx)tst-array3.out): Remove rule.
5587         ($(objpfx)tst-array3-cmp.out): New rule.
5588         ($(objpfx)tst-array4.out): Remove rule.
5589         ($(objpfx)tst-array4-cmp.out): New rule.
5590         ($(objpfx)tst-array5.out): Remove rule.
5591         ($(objpfx)tst-array5-cmp.out): New rule.
5592         ($(objpfx)tst-array5-static.out): Remove rule.
5593         ($(objpfx)tst-array5-static-cmp.out): New rule.
5594         [$(run-built-tests) = yes] (tests): Depend on
5595         $(objpfx)order2-cmp.out.
5596         ($(objpfx)order2.out): Remove rule.
5597         ($(objpfx)order2-cmp.out): New rule.
5598         ($(objpfx)tst-initorder.out): Remove rule.
5599         [$(run-built-tests) = yes] (tests): Depend on
5600         $(objpfx)tst-initorder-cmp.out.
5601         ($(objpfx)tst-initorder-cmp.out): New rule.
5602         ($(objpfx)tst-initorder2.out): Remove rule.
5603         [$(run-built-tests) = yes] (tests): Depend on
5604         $(objpfx)tst-initorder2-cmp.out.
5605         ($(objpfx)tst-initorder2-cmp.out): New rule.
5606         [$(run-built-tests) = yes] (tests): Depend on
5607         $(objpfx)tst-unused-dep-cmp.out.
5608         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5609         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5610         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5611         on $(objpfx)tst-setvbuf1-cmp.out.
5612         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5613         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5614         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5615         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5616         ($(objpfx)tst-svc.out): Remove rule.
5617         ($(objpfx)tst-svc-cmp.out): New rule.
5619 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5621         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5622         * ctype/ctype.h [__USE_MISC]: Likewise.
5623         * dirent/dirent.h [__USE_MISC]: Likewise.
5624         * grp/grp.h [__USE_MISC]: Likewise.
5625         * io/fcntl.h [__USE_MISC]: Likewise.
5626         * io/sys/stat.h [__USE_MISC]: Likewise.
5627         * libio/stdio.h [__USE_MISC]: Likewise.
5628         * posix/unistd.h [__USE_MISC]: Likewise.
5629         * pwd/pwd.h [__USE_MISC]: Likewise.
5630         * stdlib.h [__USE_MISC]: Likewise.
5631         * string/bits/string2.h [__USE_MISC]: Likewise.
5632         * string/string.h [__USE_MISC]: Likewise.
5633         * time/time.h [__USE_MISC]: Likewise.
5635 2014-02-13  Andreas Schwab  <schwab@suse.de>
5637         [BZ #16574]
5638         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5639         second answer buffer if it was separately allocated.
5641 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5643         * sysdeps/mips/math-tests.h: Include <features.h>.
5644         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5645         (ROUNDING_TESTS_long_double): Do not define.
5646         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5647         (EXCEPTION_TESTS_long_double): Likewise.
5648         * sysdeps/mips/mips64/libm-test-ulps: Update.
5650         * include/features.h (__USE_BSD): Remove macro definitions.
5651         (__USE_SVID): Likewise.
5652         (_BSD_SOURCE): Likewise.
5653         (_SVID_SOURCE): Likewise.
5654         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5655         from definition of _DEFAULT_SOURCE.
5656         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5657         [_DEFAULT_SOURCE].
5658         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5659         * bits/mman.h [__USE_BSD]: Likewise.
5660         * bits/termios.h [__USE_BSD]: Likewise.
5661         * bits/waitstatus.h [__USE_BSD]: Likewise.
5662         * ctype/ctype.h [__USE_SVID]: Likewise.
5663         * dirent/dirent.h [__USE_BSD]: Likewise.
5664         * grp/grp.h [__USE_SVID]: Likewise.
5665         [__USE_BSD]: Likewise.
5666         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5667         * io/fcntl.h [__USE_BSD]: Likewise.
5668         * io/ftw.h [__USE_BSD]: Likewise.
5669         * io/sys/stat.h [__USE_BSD]: Likewise.
5670         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5671         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5672         * libio/stdio.h [__USE_SVID]: Likewise.
5673         [__USE_BSD]: Likewise.
5674         * math/math.h [__USE_SVID]: Likewise.
5675         [__USE_BSD]: Likewise.
5676         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5677         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5678         * misc/search.h [__USE_SVID]: Likewise.
5679         * misc/sys/mman.h [__USE_BSD]: Likewise.
5680         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5681         * misc/sys/uio.h [__USE_BSD]: Likewise.
5682         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5683         * posix/glob.h [__USE_BSD]: Likewise.
5684         * posix/regex.h [__USE_BSD]: Likewise.
5685         * posix/sys/types.h [__USE_BSD]: Likewise.
5686         [__USE_SVID]: Likewise.
5687         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5688         * posix/sys/wait.h [__USE_BSD]: Likewise.
5689         [__USE_SVID]: Likewise.
5690         * posix/unistd.h [__USE_BSD]: Likewise.
5691         [__USE_SVID]: Likewise.
5692         * pwd/pwd.h [__USE_SVID]: Likewise.
5693         * resolv/netdb.h [__USE_BSD]: Likewise.
5694         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5695         * signal/signal.h [__USE_BSD]: Likewise.
5696         [__USE_SVID]: Likewise.
5697         * socket/sys/socket.h [__USE_BSD]: Likewise.
5698         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5699         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5700         [__USE_SVID]: Likewise.
5701         * string/bits/string2.h [__USE_BSD]: Likewise.
5702         [__USE_SVID]: Likewise.
5703         * string/bits/string3.h [__USE_BSD]: Likewise.
5704         * string/endian.h [__USE_BSD]: Likewise.
5705         * string/string.h [__USE_SVID]: Likewise.
5706         [__USE_BSD]: Likewise.
5707         * string/strings.h [__USE_BSD]: Likewise.
5708         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5709         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5710         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5711         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5712         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5713         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5714         Likewise.
5715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5716         Likewise.
5717         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5718         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5719         Likewise.
5720         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5721         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5722         Likewise.
5723         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5724         Likewise.
5725         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5726         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5727         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5728         Likewise.
5729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5730         Likewise.
5731         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5732         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5733         * termios/termios.h [__USE_BSD]: Likewise.
5734         * time/sys/time.h [__USE_BSD]: Likewise.
5735         * time/time.h [__USE_BSD]: Likewise.
5736         [__USE_SVID]: Likewise.
5738         * Makefile (subdir_targets): Remove subdir_lint.out.
5740         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5741         (do-tst-printf): Likewise.
5742         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5743         $(objpfx)tst-printf.out.
5745         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5747         * Makerules (check-abi-%): Change target to
5748         $(objpfx)check-abi-%.out.
5749         (check-abi target): Update dependencies.
5750         (check-abi-pattern variable): Redirect output of diff to $@.
5751         (check-abi variable): Likewise.
5752         * elf/Makefile (check-abi): Update dependencies.
5754         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5755         unused.
5756         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5757         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5758         subnormal range.
5759         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5760         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5761         value has largest subnormal exponent.
5762         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5763         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5764         * sysdeps/aarch64/soft-fp/sfp-machine.h
5765         (_FP_TININESS_AFTER_ROUNDING): New macro.
5766         * sysdeps/alpha/soft-fp/sfp-machine.h
5767         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5768         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5769         Likewise.
5770         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5771         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5772         * sysdeps/mips/soft-fp/sfp-machine.h
5773         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5774         * sysdeps/powerpc/soft-fp/sfp-machine.h
5775         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5776         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5777         Likewise.
5778         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5779         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5780         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5781         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5782         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5783         Likewise.
5785 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5787         [BZ #16545]
5788         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5789         model 1.
5791 2014-02-12  Richard Henderson  <rth@redhat.com>
5793         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5794         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5795         * sysdeps/unix/sysv/linux/alpha: Move directory from
5796         ports/sysdeps/unix/sysv/linux/alpha.
5797         * README: Update listing for alpha-*-linux-gnu.
5799 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5801         * include/features.h: Update comment documenting feature test
5802         macros.
5803         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5804         _DEFAULT_SOURCE.
5805         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5806         (_SVID_SOURCE): Likewise.
5807         (_DEFAULT_SOURCE): Update description of default features.
5808         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5809         with _GNU_SOURCE.
5810         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5811         (S_ISVTX): Likewise.
5812         * manual/math.texi (Mathematical Constants): Likewise.
5813         * manual/signal.texi (Interrupted Primitives): Likewise.
5814         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5815         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5816         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5817         Don't refer to _SVID_SOURCE in warning text.
5819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5821         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5822         already defined.
5823         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5824         * sysdeps/mips/dl-lookup.c: Remove.
5825         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5827 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5829         [BZ #16447]
5830         * math/auto-libm-test-in: Add testcase for expl.
5831         * math/auto-libm-test-out: Regenerate.
5832         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5833         calculation of unsafe.
5834         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5836 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5838         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5839         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5840         ports/sysdeps/unix/sysv/linux/aarch64.
5841         * README: Update listing for aarch64*-*-linux-gnu.
5843 2014-02-11  Will Newton  <will.newton@linaro.org>
5845         * manual/probes.texi (Mathematical Function Probes): Use
5846         "triggered" instead of "hit".
5848         * manual/probes.texi (Internal Probes): Add documentation
5849         of setjmp, longjmp and longjmp_target probes.
5851         * include/stap-probe.h: Add comment about probe argument
5852         format.
5854         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5855         definition.  (tr_where, tr_freehook, tr_mallochook,
5856         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5858 2014-02-11  David S. Miller  <davem@davemloft.net>
5860         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5861         processing int_tests.
5863 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5865         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5866         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5867         * sysdeps/unix/sysv/linux/mips: Move directory from
5868         ports/sysdeps/unix/sysv/linux/mips.
5869         * README: Update listing for mips-*-linux-gnu and
5870         mips64-*-linux-gnu.
5872 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5874         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5875         * sysdeps/unix/sysv/linux/m68k: Move directory from
5876         ports/sysdeps/unix/sysv/linux/m68k.
5877         * README: Update listing for m68k-*-linux-gnu.
5879 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5881         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5882         * sysdeps/unix/sysv/linux/generic: Move directory from
5883         ports/sysdeps/unix/sysv/linux/generic.
5884         * sysdeps/unix/sysv/linux/tile: Move directory from
5885         ports/sysdeps/unix/sysv/linux/tile.
5886         * README: Update listing for tile*-*-linux-gnu.
5888 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5890         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5891         __builtin_expect.
5892         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5893         * catgets/open_catalog.c (__open_catalog): Likewise.
5894         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5895         * debug/confstr_chk.c: Likewise.
5896         * debug/fread_chk.c (__fread_chk): Likewise.
5897         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5898         * debug/getgroups_chk.c: Likewise.
5899         * debug/mbsnrtowcs_chk.c: Likewise.
5900         * debug/mbsrtowcs_chk.c: Likewise.
5901         * debug/mbstowcs_chk.c: Likewise.
5902         * debug/memcpy_chk.c: Likewise.
5903         * debug/memmove_chk.c: Likewise.
5904         * debug/mempcpy_chk.c: Likewise.
5905         * debug/memset_chk.c: Likewise.
5906         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5907         * debug/strcat_chk.c (__strcat_chk): Likewise.
5908         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5909         * debug/strncat_chk.c (__strncat_chk): Likewise.
5910         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5911         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5912         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5913         * debug/wcpncpy_chk.c: Likewise.
5914         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5915         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5916         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5917         * debug/wcsncpy_chk.c: Likewise.
5918         * debug/wcsnrtombs_chk.c: Likewise.
5919         * debug/wcsrtombs_chk.c: Likewise.
5920         * debug/wcstombs_chk.c: Likewise.
5921         * debug/wmemcpy_chk.c: Likewise.
5922         * debug/wmemmove_chk.c: Likewise.
5923         * debug/wmempcpy_chk.c: Likewise.
5924         * debug/wmemset_chk.c: Likewise.
5925         * dirent/scandirat.c (SCANDIRAT): Likewise.
5926         * dlfcn/dladdr1.c (dladdr1): Likewise.
5927         * dlfcn/dladdr.c (dladdr): Likewise.
5928         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5929         * dlfcn/dlerror.c (__dlerror): Likewise.
5930         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5931         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5932         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5933         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5934         * dlfcn/dlsym.c (dlsym_doit): Likewise.
5935         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5936         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5937         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5938         Likewise.
5939         * elf/dl-conflict.c: Likewise.
5940         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5941         * elf/dl-dst.h: Likewise.
5942         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5943         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5944         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5945         * elf/dl-init.c (call_init, _dl_init): Likewise.
5946         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5947         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5948         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5949         Likewise.
5950         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5951         Likewise.
5952         * elf/dl-minimal.c (__libc_memalign): Likewise.
5953         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5954         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5955         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5956         * elf/dl-sym.c (do_sym): Likewise.
5957         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5958         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5959         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5960         * elf/dl-writev.h (_dl_writev): Likewise.
5961         * elf/ldconfig.c (search_dir): Likewise.
5962         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5963         (dl_main): Likewise.
5964         * elf/setup-vdso.h (setup_vdso): Likewise.
5965         * grp/compat-initgroups.c (compat_call): Likewise.
5966         * grp/fgetgrent.c (fgetgrent): Likewise.
5967         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5968         * grp/putgrent.c (putgrent): Likewise.
5969         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5970         Likewise.
5971         * hurd/hurdinit.c: Likewise.
5972         * iconvdata/8bit-gap.c (struct): Likewise.
5973         * iconvdata/ansi_x3.110.c : Likewise.
5974         * iconvdata/big5.c : Likewise.
5975         * iconvdata/big5hkscs.c : Likewise.
5976         * iconvdata/cp1255.c: Likewise.
5977         * iconvdata/cp1258.c : Likewise.
5978         * iconvdata/cp932.c : Likewise.
5979         * iconvdata/euc-cn.c: Likewise.
5980         * iconvdata/euc-jisx0213.c : Likewise.
5981         * iconvdata/euc-jp.c: Likewise.
5982         * iconvdata/euc-jp-ms.c : Likewise.
5983         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5984         * iconvdata/gb18030.c : Likewise.
5985         * iconvdata/gbbig5.c (const): Likewise.
5986         * iconvdata/gbgbk.c: Likewise.
5987         * iconvdata/gbk.c : Likewise.
5988         * iconvdata/ibm1364.c : Likewise.
5989         * iconvdata/ibm930.c : Likewise.
5990         * iconvdata/ibm932.c: Likewise.
5991         * iconvdata/ibm933.c : Likewise.
5992         * iconvdata/ibm935.c : Likewise.
5993         * iconvdata/ibm937.c : Likewise.
5994         * iconvdata/ibm939.c : Likewise.
5995         * iconvdata/ibm943.c: Likewise.
5996         * iconvdata/iso_11548-1.c: Likewise.
5997         * iconvdata/iso-2022-cn.c : Likewise.
5998         * iconvdata/iso-2022-cn-ext.c : Likewise.
5999         * iconvdata/iso-2022-jp-3.c: Likewise.
6000         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6001         * iconvdata/iso-2022-kr.c : Likewise.
6002         * iconvdata/iso646.c (gconv_end): Likewise.
6003         * iconvdata/iso_6937-2.c : Likewise.
6004         * iconvdata/iso_6937.c : Likewise.
6005         * iconvdata/iso8859-1.c: Likewise.
6006         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6007         * iconvdata/shift_jisx0213.c : Likewise.
6008         * iconvdata/sjis.c : Likewise.
6009         * iconvdata/t.61.c : Likewise.
6010         * iconvdata/tcvn5712-1.c : Likewise.
6011         * iconvdata/tscii.c: Likewise.
6012         * iconvdata/uhc.c : Likewise.
6013         * iconvdata/unicode.c (gconv_end): Likewise.
6014         * iconvdata/utf-16.c (gconv_end): Likewise.
6015         * iconvdata/utf-32.c (gconv_end): Likewise.
6016         * iconvdata/utf-7.c (base64): Likewise.
6017         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6018         * iconv/gconv_close.c (__gconv_close): Likewise.
6019         * iconv/gconv_open.c (__gconv_open): Likewise.
6020         * iconv/gconv_simple.c (internal_ucs4_loop_single)
6021         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6022         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6023         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6024         (ucs4le_internal_loop_single): Likewise.
6025         * iconv/iconv.c (iconv): Likewise.
6026         * iconv/iconv_close.c: Likewise.
6027         * iconv/loop.c (SINGLE): Likewise.
6028         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6029         * include/atomic.h: Likewise.
6030         * inet/inet6_option.c (option_alloc): Likewise.
6031         * intl/bindtextdom.c (set_binding_values): Likewise.
6032         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6033         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6034         * intl/localealias.c (read_alias_file): Likewise.
6035         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6036         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6037         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6038         * libio/fmemopen.c (fmemopen): Likewise.
6039         * libio/iofgets.c (_IO_fgets): Likewise.
6040         * libio/iofgets_u.c (fgets_unlocked): Likewise.
6041         * libio/iofgetws.c (fgetws): Likewise.
6042         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6043         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6044         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6045         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6046         * locale/findlocale.c (_nl_find_locale): Likewise.
6047         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6048         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6049         Likewise.
6050         * locale/setlocale.c (setlocale): Likewise.
6051         * login/programs/pt_chown.c (main): Likewise.
6052         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6053         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6054         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6055         (mmap, mmap64, mremap, munmap): Likewise.
6056         * math/e_exp2l.c: Likewise.
6057         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6058         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6059         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6060         * math/s_catan.c (__catan): Likewise.
6061         * math/s_catanf.c (__catanf): Likewise.
6062         * math/s_catanh.c (__catanh): Likewise.
6063         * math/s_catanhf.c (__catanhf): Likewise.
6064         * math/s_catanhl.c (__catanhl): Likewise.
6065         * math/s_catanl.c (__catanl): Likewise.
6066         * math/s_ccosh.c (__ccosh): Likewise.
6067         * math/s_ccoshf.c (__ccoshf): Likewise.
6068         * math/s_ccoshl.c (__ccoshl): Likewise.
6069         * math/s_cexp.c (__cexp): Likewise.
6070         * math/s_cexpf.c (__cexpf): Likewise.
6071         * math/s_cexpl.c (__cexpl): Likewise.
6072         * math/s_clog10.c (__clog10): Likewise.
6073         * math/s_clog10f.c (__clog10f): Likewise.
6074         * math/s_clog10l.c (__clog10l): Likewise.
6075         * math/s_clog.c (__clog): Likewise.
6076         * math/s_clogf.c (__clogf): Likewise.
6077         * math/s_clogl.c (__clogl): Likewise.
6078         * math/s_csin.c (__csin): Likewise.
6079         * math/s_csinf.c (__csinf): Likewise.
6080         * math/s_csinh.c (__csinh): Likewise.
6081         * math/s_csinhf.c (__csinhf): Likewise.
6082         * math/s_csinhl.c (__csinhl): Likewise.
6083         * math/s_csinl.c (__csinl): Likewise.
6084         * math/s_csqrt.c (__csqrt): Likewise.
6085         * math/s_csqrtf.c (__csqrtf): Likewise.
6086         * math/s_csqrtl.c (__csqrtl): Likewise.
6087         * math/s_ctan.c (__ctan): Likewise.
6088         * math/s_ctanf.c (__ctanf): Likewise.
6089         * math/s_ctanh.c (__ctanh): Likewise.
6090         * math/s_ctanhf.c (__ctanhf): Likewise.
6091         * math/s_ctanhl.c (__ctanhl): Likewise.
6092         * math/s_ctanl.c (__ctanl): Likewise.
6093         * math/w_pow.c: Likewise.
6094         * math/w_powf.c: Likewise.
6095         * math/w_powl.c: Likewise.
6096         * math/w_scalb.c (sysv_scalb): Likewise.
6097         * math/w_scalbf.c (sysv_scalbf): Likewise.
6098         * math/w_scalbl.c (sysv_scalbl): Likewise.
6099         * misc/error.c (error_tail): Likewise.
6100         * misc/pselect.c (__pselect): Likewise.
6101         * nis/nis_callback.c (__nis_create_callback): Likewise.
6102         * nis/nis_call.c (__nisfind_server): Likewise.
6103         * nis/nis_creategroup.c (nis_creategroup): Likewise.
6104         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6105         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6106         * nis/nis_getservlist.c (nis_getservlist): Likewise.
6107         * nis/nis_lookup.c (nis_lookup): Likewise.
6108         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6109         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6110         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6111         * nis/nis_xdr.c (xdr_endpoint): Likewise.
6112         * nis/nss_compat/compat-grp.c (getgrent_next_file)
6113         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6114         * nis/nss_compat/compat-initgroups.c (add_group)
6115         (internal_getgrent_r): Likewise.
6116         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6117         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6118         * nis/nss_compat/compat-spwd.c (getspent_next_file)
6119         (internal_getspnam_r): Likewise.
6120         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6121         (_nss_nis_getaliasbyname_r): Likewise.
6122         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6123         (_nss_nis_getntohost_r): Likewise.
6124         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6125         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6126         (_nss_nis_getgrgid_r): Likewise.
6127         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6128         (internal_nis_gethostent_r, internal_gethostbyname2_r)
6129         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6130         (_nss_nis_gethostbyname4_r): Likewise.
6131         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6132         (initgroups_netid): Likewise.
6133         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6134         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6135         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6136         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6137         (_nss_nis_getprotobynumber_r): Likewise.
6138         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6139         (_nss_nis_getsecretkey): Likewise.
6140         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6141         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6142         (_nss_nis_getpwuid_r): Likewise.
6143         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6144         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6145         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6146         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6147         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6148         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6149         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6150         Likewise.
6151         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6152         (_nss_nisplus_getntohost_r): Likewise.
6153         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6154         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6155         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6156         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6157         Likewise.
6158         * nis/nss_nisplus/nisplus-initgroups.c
6159         (_nss_nisplus_initgroups_dyn): Likewise.
6160         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6161         (_nss_nisplus_getnetbyaddr_r): Likewise.
6162         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6163         (_nss_nisplus_getprotobynumber_r): Likewise.
6164         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6165         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6166         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6167         Likewise.
6168         * nis/nss_nisplus/nisplus-service.c
6169         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6170         (_nss_nisplus_getservbyport_r): Likewise.
6171         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6172         (_nss_nisplus_getspnam_r): Likewise.
6173         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6174         Likewise.
6175         * nscd/aicache.c (addhstaiX): Likewise.
6176         * nscd/cache.c (cache_search, prune_cache): Likewise.
6177         * nscd/connections.c (register_traced_file, send_ro_fd)
6178         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6179         (main_loop_epoll): Likewise.
6180         * nscd/grpcache.c (addgrbyX): Likewise.
6181         * nscd/hstcache.c (addhstbyX): Likewise.
6182         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6183         * nscd/mem.c (gc, mempool_alloc): Likewise.
6184         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6185         (addinnetgrX): Likewise.
6186         * nscd/nscd-client.h (__nscd_acquire_maplock)
6187         (__nscd_drop_map_ref): Likewise.
6188         * nscd/nscd_getai.c (__nscd_getai): Likewise.
6189         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6190         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6191         Likewise.
6192         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6193         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6194         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6195         (__nscd_get_map_ref): Likewise.
6196         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6197         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6198         Likewise.
6199         * nscd/pwdcache.c (addpwbyX): Likewise.
6200         * nscd/selinux.c (preserve_capabilities): Likewise.
6201         * nscd/servicescache.c (addservbyX): Likewise.
6202         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6203         * posix/fnmatch.c (fnmatch): Likewise.
6204         * posix/getopt.c (_getopt_internal_r): Likewise.
6205         * posix/glob.c (glob, glob_in_dir): Likewise.
6206         * posix/wordexp.c (exec_comm_child): Likewise.
6207         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6208         (getanswer_r, gaih_getanswer_slice): Likewise.
6209         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6210         * resolv/res_init.c: Likewise.
6211         * resolv/res_mkquery.c (res_nmkquery): Likewise.
6212         * resolv/res_query.c (__libc_res_nquery): Likewise.
6213         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6214         Likewise.
6215         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6216         * stdio-common/perror.c (perror): Likewise.
6217         * stdio-common/printf_fp.c (___printf_fp): Likewise.
6218         * stdio-common/tmpnam.c (tmpnam): Likewise.
6219         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6220         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6221         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6222         Likewise.
6223         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6224         * stdlib/putenv.c (putenv): Likewise.
6225         * stdlib/setenv.c (__add_to_environ): Likewise.
6226         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6227         * stdlib/strtol_l.c (INTERNAL): Likewise.
6228         * string/memmem.c (memmem): Likewise.
6229         * string/strerror.c (strerror): Likewise.
6230         * string/strnlen.c (__strnlen): Likewise.
6231         * string/test-memmem.c (simple_memmem): Likewise.
6232         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6233         * sunrpc/pm_getport.c (__get_socket): Likewise.
6234         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6235         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6236         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6237         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6238         Likewise.
6239         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6240         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6241         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6242         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6243         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6244         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6245         Likewise.
6246         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6247         Likewise.
6248         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6249         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6250         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6251         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6252         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6254         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6255         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6256         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6257         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6258         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6259         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6260         Likewise.
6261         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6262         Likewise.
6263         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6264         Likewise.
6265         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6266         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6267         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6268         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6269         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6270         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6271         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6272         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6273         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6274         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6275         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6277         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6278         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6280         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6281         Likewise.
6282         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6283         Likewise.
6284         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6285         Likewise.
6286         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6287         Likewise.
6288         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6290         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6291         Likewise.
6292         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6293         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6294         * sysdeps/posix/opendir.c (__opendirat): Likewise.
6295         * sysdeps/posix/sleep.c: Likewise.
6296         * sysdeps/posix/tempname.c: Likewise.
6297         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6298         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6299         Likewise.
6300         * sysdeps/powerpc/powerpc32/dl-machine.h
6301         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6302         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6303         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6304         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6305         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6306         Likewise.
6307         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6308         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6309         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6310         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6311         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6312         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6313         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6314         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6315         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6316         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6317         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6318         (elf_machine_lazy_rel): Likewise.
6319         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6320         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6321         (elf_machine_lazy_rel): Likewise.
6322         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6323         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6324         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6325         * sysdeps/unix/grantpt.c (grantpt): Likewise.
6326         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6327         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6328         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6329         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6330         Likewise.
6331         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6332         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6333         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6334         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6335         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6336         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6337         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6338         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6339         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6340         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6341         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6342         Likewise.
6343         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6344         (__posix_fallocate64_l64): Likewise.
6345         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6346         (posix_fallocate): Likewise.
6347         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6348         Likewise.
6349         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6350         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6351         (getifaddrs_internal): Likewise.
6352         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6353         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6354         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6355         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6356         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6357         (__posix_fallocate64_l64): Likewise.
6358         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6359         Likewise.
6360         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6361         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6362         (__get_clockfreq): Likewise.
6363         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6364         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6365         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6366         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6368         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6369         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6370         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6371         Likewise.
6372         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6373         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6374         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6375         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6376         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6377         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6378         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6379         Likewise.
6380         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6381         (posix_fallocate): Likewise.
6382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6383         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6384         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6385         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6386         (elf_machine_rela, elf_machine_rela_relative)
6387         (elf_machine_lazy_rel): Likewise.
6388         * time/asctime.c (asctime_internal): Likewise.
6389         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6390         * time/tzset.c (__tzset_parse_tz): Likewise.
6391         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6392         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6393         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6394         * wcsmbs/wcsmbsload.h: Likewise.
6396         [BZ #15894]
6397         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6399         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6400         (arena_get2): Remove THREAD_STATS conditionals.
6401         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6402         (__malloc_stats, int): Likewise.
6404 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
6406         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6407         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
6409         * manual/setjmp.texi: Fix typos/grammar errors.
6411         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6412         Only return early when n is <= 0.  Delete unused return statement.
6414         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6415         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6416         * debug/tst-longjmp_chk3.c: New file.
6418         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6419         (test_main): Replace code with set_fortify_handler call.
6420         * debug/test-strcpy_chk.c: Likewise.
6421         * debug/tst-chk1.c: Likewise.
6422         * debug/tst-longjmp_chk.c: Likewise.
6423         * test-skeleton.c: Include fcntl.h & paths.h
6424         (set_fortify_handler): Define.
6426         * debug/tst-longjmp_chk.c: Add header comment and include
6427         ../test-skeleton.c.
6428         (do_test): Mark static.
6429         (TEST_FUNCTION): Define.
6431         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6432         (IP_PMTUDISC_INTERFACE): Likewise.
6433         (IP_MULTICAST_IF): Likewise.
6434         (IP_MULTICAST_TTL): Likewise.
6435         (IP_MULTICAST_LOOP): Likewise.
6436         (IP_ADD_MEMBERSHIP): Likewise.
6437         (IP_DROP_MEMBERSHIP): Likewise.
6438         (IP_UNBLOCK_SOURCE): Likewise.
6439         (IP_BLOCK_SOURCE): Likewise.
6440         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6441         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6442         (IP_MSFILTER): Likewise.
6443         (MCAST_JOIN_GROUP): Likewise.
6444         (MCAST_BLOCK_SOURCE): Likewise.
6445         (MCAST_UNBLOCK_SOURCE): Likewise.
6446         (MCAST_LEAVE_GROUP): Likewise.
6447         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6448         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6449         (MCAST_MSFILTER): Likewise.
6450         (IP_MULTICAST_ALL): Likewise.
6451         (IP_UNICAST_IF): Likewise.
6453         * timezone/Makefile: Delete $(have-ksh) check.
6454         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6455         * timezone/tzselect.ksh: Add +x mode bits.
6457         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6458         (ANON_INODE_FS_MAGIC): Likewise.
6459         (BDEVFS_MAGIC): Likewise.
6460         (BINFMTFS_MAGIC): Likewise.
6461         (BTRFS_TEST_MAGIC): Likewise.
6462         (CRAMFS_MAGIC_WEND): Likewise.
6463         (DEBUGFS_MAGIC): Likewise.
6464         (ECRYPTFS_SUPER_MAGIC): Likewise.
6465         (EXT3_SUPER_MAGIC): Likewise.
6466         (EXT4_SUPER_MAGIC): Likewise.
6467         (FUTEXFS_SUPER_MAGIC): Likewise.
6468         (HOSTFS_SUPER_MAGIC): Likewise.
6469         (HUGETLBFS_MAGIC): Likewise.
6470         (MINIX3_SUPER_MAGIC): Likewise.
6471         (MTD_INODE_FS_MAGIC): Likewise.
6472         (NILFS_SUPER_MAGIC): Likewise.
6473         (OPENPROM_SUPER_MAGIC): Likewise.
6474         (PIPEFS_MAGIC): Likewise.
6475         (PSTOREFS_MAGIC): Likewise.
6476         (QNX6_SUPER_MAGIC): Likewise.
6477         (RAMFS_MAGIC): Likewise.
6478         (REISERFS_SUPER_MAGIC_STRING): Likewise.
6479         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6480         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6481         (SECURITYFS_MAGIC): Likewise.
6482         (SELINUX_MAGIC): Likewise.
6483         (SMACK_MAGIC): Likewise.
6484         (SOCKFS_MAGIC): Likewise.
6485         (SQUASHFS_MAGIC): Likewise.
6486         (STACK_END_MAGIC): Likewise.
6487         (TMPFS_MAGIC): Likewise.
6488         (USBDEVICE_SUPER_MAGIC): Likewise.
6489         (V9FS_MAGIC): Likewise.
6490         (XENFS_SUPER_MAGIC): Likewise.
6491         (CRAMFS_MAGIC): Fix typo in comment.
6492         (EXT2_SUPER_MAGIC): Update comment.
6493         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6495 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
6497         * sysdeps/arm: Move directory from ports/sysdeps/arm.
6498         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6499         * sysdeps/unix/sysv/linux/arm: Move directory from
6500         ports/sysdeps/unix/sysv/linux/arm.
6501         * README: Update listing for arm-*-linux-gnueabi.
6503         * README: Remove mention of am33.
6505 2014-02-07  Roland McGrath  <roland@hack.frob.com>
6507         * bits/sigset.h (__sigemptyset): Use a statement expression rather
6508         than the comma operator, to avoid "rhs of comma has no effect"
6509         compiler warnings.
6510         (__sigfillset, __sigandset, __sigorset): Likewise.
6511         * include/signal.h (__sigemptyset): Likewise.
6512         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6514 2014-02-07  Allan McRae  <allan@archlinux.org>
6516         * version.h (RELEASE): Set to "development".
6517         (VERSION): Set to "2.19.90"
6518         * NEWS: Add 2.20 section.
6520 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6522         [BZ #16529]
6523         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6525 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6527         * manual/contrib.texi: Update entry for Carlos O'Donell,
6528         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6530 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6532         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6534         * sysdeps/unix/sysv/linux/kernel-features.h
6535         [__LINUX_KERNEL_VERSION >= 0x020621]
6536         (__ASSUME_PROC_PID_TASK_COMM): Define.
6538 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6540         [BZ #16398]
6541         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6542         conversion when destination buffer does not have enough space.
6543         * libio/tst-ftell-partial-wide.c: New test case.
6544         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6546         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6547         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6548         Leonard and Allan McRae.
6550 2014-02-04  David S. Miller  <davem@davemloft.net>
6552         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6553         32-bit.
6555 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6558         New file
6559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6560         New file
6561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6562         New file.
6563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6564         New file.
6565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6566         New file.
6567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6568         New file.
6569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6570         New file.
6571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6572         New file.
6573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6574         New file.
6575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6576         New file.
6577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6578         New file.
6579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6580         New file.
6581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6582         New file.
6584 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6586         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6587         * shlib-versions: Likewise.
6589 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6590             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6592         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6593         (abilist-pattern): New variable, set to %-le.abilist.
6595         * Makerules (abilist-pattern): New variable.
6596         (vpath): Use $(abilist-pattern) in place of %.abilist.
6597         (check-abi-% pattern rule): Likewise.
6598         (check-abi, update-abi): Likewise.
6600 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6604 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6606         * manual/startup.texi: Add next, previous, and top entries for
6607         the `Program Arguments' and `Environment Variables' nodes.
6609 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6611         * manual/macros.texi: Add comments before MTASC-safety macros.
6613         * manual/users.texi: Document MTASC-safety properties.
6615         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6616         (pthread_getspecific, pthread_setspecific): Format with
6617         @deftypefun, and add @safety note.
6618         * manual/signal.texi: Move comments that analyze the above
6619         functions to their home place.
6621 2014-02-03  Allan McRae  <allan@archlinux.org>
6623         * po/sl.po: Update Slovenian translation from translation project.
6625 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6627         * manual/time.texi (timegm): Add missing blank after @c.
6628         Reported by Joseph Myers <joseph@codesourcery.com>.
6630 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6632         * manual/check-safety.sh: New.
6633         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6635         * manual/terminal.texi: Document MTASC-safety properties.
6637         * manual/filesys.texi: Document MTASC-safety properties.
6639         * manual/errno.texi: Document MTASC-safety properties.
6641         * manual/intro.texi: Document safety identifiers and
6642         conditionals.
6644         * manual/string.texi (wcstok): Fix prototype.
6645         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6647         * manual/time.texi: Document MTASC-safety properties.
6649         * manual/string.texi: Document MTASC-safety properties.
6651         * manual/threads.texi: Document MTASC-safety properties.
6653         * manual/stdio.texi: Document MTASC-safety properties.
6655         * manual/syslog.texi: Document MTASC-safety properties.
6657         * manual/sysinfo.texi: Document MTASC-safety properties.
6659         * manual/startup.texi: Document MTASC-safety properties.
6661         * manual/socket.texi: Document MTASC-safety properties.
6663         * manual/signal.texi: Document MTASC-safety properties.
6665 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6667         * manual/setjmp.texi: Document MTASC-safety properties.
6669         * manual/search.texi: Document MTASC-safety properties.
6671         * manual/resource.texi: Document MTASC-safety properties.
6673         * manual/process.texi: Document MTASC-safety properties.
6675         * manual/platform.texi: Document MTASC-safety properties.
6677         * manual/pipe.texi: Document MTASC-safety properties.
6679         * manual/pattern.texi: Document MTASC-safety properties.
6681         * manual/message.texi: Document MTASC-safety properties.
6683         [BZ #12751]
6684         * manual/memory.texi: Document MTASC-safety properties.
6686         * manual/math.texi: Document MTASC-safety properties.
6688         * manual/locale.texi: Document MTASC-safety properties.
6690         * manual/llio.texi: Document MTASC-safety properties.
6692         * manual/libdl.texi: New.
6694         * manual/lang.texi: Document MTASC-safety properties.
6696         * manual/job.texi: Document MTASC-safety properties.
6698         * manual/getopt.texi: Document MTASC-safety properties.
6700         * manual/ctype.texi: Document MTASC-safety properties.
6702 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6704         [BZ #16046]
6705         * csu/libc-tls.c (static_map): Remove variable.
6706         (__libc_setup_tls): Use main executable's link map for TLS data.
6707         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6708         casing for LM_ID_BASE and GL(dl_nns).
6709         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6710         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6711         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6712         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6713         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6714         member.
6715         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6716         l_phnum members.
6718 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6720         * manual/debug.texi: Document MTASC-safety properties.
6722 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6724         [BZ #16510]
6725         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6726         of __x86_64__ when disabling x87 inline functions.
6728 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6730         * manual/charset.texi: Document MTASC-safety properties.
6732         * manual/crypt.texi: Document MTASC-safety properties.
6734         * manual/conf.texi: Document MTASC-safety properties.
6736         * manual/arith.texi: Document MTASC-safety properties.
6738         * manual/argp.texi: Document MTASC-safety properties.
6740         * manual/macros.texi: Introduce macros to document multi
6741         thread, asynchronous signal and asynchronous cancellation
6742         safety properties.
6743         * manual/intro.texi: Introduce the properties themselves.
6745 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6747         * sysdeps/sh/sh4/Makefile: New file.
6749 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6751         * math/gen-libm-test.pl ($srcdir): New variable.
6752         ($auto_input): Use it.
6754 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6756         [BZ #16506]
6757         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6758         access beyond array bounds when parsing netgroups file.
6760         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6761         the old buffer before realloc.
6763 2014-01-27  Allan McRae  <allan@archlinux.org>
6765         * po/fr.po: Update French translation from translation project.
6767 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6769         * sysdeps/sh/libm-test-ulps: Regenerate.
6771 2014-01-24  David S. Miller  <davem@davemloft.net>
6773         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6775 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6777         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6778         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6780 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6782         [BZ #16474]
6783         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6784         string pointers after reallocation.
6786 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6788         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6789         __SH4A__ instead of __SH_FPU_ANY__.
6791 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6793         * sysdeps/sh/fpu_control.h: New file.
6794         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6795         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6796         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6797         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6798         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6799         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6800         * sysdeps/sh/sys/ucontext.h: Remove.
6801         * sysdeps/sh/sys: Remove directory.
6803 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6805         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6806         s390/sys/ucontext.h.
6807         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6808         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6810 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6812         [BZ #15605]
6813         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6815 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6817         [BZ#16431]
6818         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6819         Adjust the vDSO correctly for internal calls.
6820         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6822 2014-01-20  Allan McRae  <allan@archlinux.org>
6824         * po/ca.po: Update Catalan translation from translation project.
6826 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6828         * sysdeps/s390/sotruss-lib.c: New file.
6830 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6832         [BZ#16430]
6833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6834         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6835         local calls issues by not having a PLT stub required for IFUNC calls.
6836         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6838 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6840         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6841         * math/test-fpucw-static.c: Likewise.
6843 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6845         [BZ #16453]
6846         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6848 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6850         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6851         implementation for powerpc.
6853 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6855         [BZ #14782]
6856         * sysdeps/posix/system.c (__libc_system): Do not enable
6857         asynchronous cancellation.
6859 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6861         [BZ #16427]
6862         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6863         handling only for numbers special also in the IEEE case.
6865 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6867         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6869 2014-01-11  Allan McRae  <allan@archlinux.org>
6871         * po/bg.po: Update Bulgarian translation from translation project.
6873         * po/de.po: Update German translation from translation project.
6875 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6877         * sysdeps/generic/gcc-compat.h: New file.
6879 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6881         * benchtests/asin-inputs: Correct slow inputs.
6882         * benchtests/acos-inputs: Likewise.
6884 2014-01-10  Allan McRae  <allan@archlinux.org>
6886         * po:sv.po: Update Swedish translation from translation project.
6888         * po/vi.po: Update Vietnamese translation from translation project.
6890         * po/eo.po: Update Esperanto translation from translation project.
6892         * po/cs.po: Update Czech translation from translation project.
6894         * po/nl.po: Update Dutch translation from translation project.
6896         * po/pl.po: Update Polish translation from translation project.
6898         * po/ru.po: Update Russian translation from translation project.
6900         * po/uk.po: Update Ukrainian translation from translation project.
6902 2014-01-08  Brooks Moses  <bmoses@google.com>
6904         * elf/dl-load.c: Fix comment typo.
6906 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6908         * po/header.pot: Rename to...
6909         * po/pot.header: ... this.
6910         * po/Makefile: Use pot.header.
6912 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6913             Maxim Kuvyrkov  <maxim@kugelworks.com>
6915         [BZ #16394]
6916         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6917         SRC and DEST against LEN.
6919 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6921         [BZ #16414]
6922         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6923         implementation.
6924         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6926 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6930 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6932         [BZ #16408]
6933         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6934         for large positive arguments.
6936 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
6938         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6940         * math/auto-libm-test-in: Mark various tests with
6941         xfail-rounding:ldbl-128ibm.
6942         * math/auto-libm-test-out: Regenerated.
6944         [BZ #16407]
6945         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6946         Increase overflow threshold.
6948 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
6950         [BZ #14286]
6951         * stdio-common/vfprintf.c: Check for integer overflow.
6953 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6955         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6956         the first argument and return value of __tls_get_addr_internal.
6958 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6960         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6961         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6963 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6965         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6966         * sysdeps/s390/rtld-global-offsets.sym: New file.
6967         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6968         GLIBC_2.19 symbol.
6969         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6970         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6971         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6972         ... this.
6973         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6974         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6975         ... this.
6976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6977         Regenerate.
6978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6979         Regenerate.
6980         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6981         halfs of GPRs for high_gprs contexts.
6982         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6983         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
6984         field.
6985         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6986         uc_flags field.
6987         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6988         64 bit versions:
6989         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6990         for high GPRs (uc_high_gprs) and for future extensions
6991         (__reserved).
6992         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6993         for future extensions (__reserved).
6994         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6995         64 bit versions:
6996         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6997         SC_HIGHGPRS offset definition.
6998         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6999         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7001         * Versions.def: Add GLIBC_2.19 for libpthread.
7002         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7003         siglongjmp for libpthread with GLIBC_2.19 symver.
7004         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7005         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7006         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7007         * sysdeps/s390/__longjmp.c: New file.
7008         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7009         * sysdeps/s390/longjmp.c: New file.
7010         * sysdeps/s390/setjmp.S: New file.
7011         * sysdeps/s390/sigjmp.S: New file.
7012         * sysdeps/s390/v1-longjmp.c: New file.
7013         * sysdeps/s390/v1-setjmp.h: New file.
7014         * sysdeps/s390/v1-sigjmp.c: New file.
7015         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7016         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7017         GLIBC_2.19 version.
7018         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7019         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7020         versioned symbols for ____longjmp_chk.
7021         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7022         Likewise.
7023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7024         Regenerate.
7025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7026         Regenerate.
7027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7028         Regenerate.
7029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7030         Regenerate.
7031         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7032         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7033         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7034         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7035         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7036         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7037         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7038         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7039         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7040         * sysdeps/s390/rtld-__longjmp.c: New file.
7041         * sysdeps/s390/rtld-setjmp.S: New file.
7043 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
7045         [BZ #16400]
7046         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7047         Return -__logl (x) for small positive arguments without evaluating
7048         a polynomial.
7050 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
7052         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7053         Rename to ...
7054         (__ptrace_peeksiginfo_args): ... this.
7055         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7056         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7057         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7059 2014-01-06  Allan McRae  <allan@archlinux.org>
7061         * inet/netinet/in.h: Fix typo in comment.
7063 2014-01-05  Andreas Jaeger  <aj@suse.de>
7065         * sysdeps/i386/fpu/libm-test-ulps: Update.
7067 2014-01-05  Allan McRae  <allan@archlinux.org>
7069         * po/libc.pot: Regenerated.
7071         * malloc/memusagestat.c: Fix gettext call formatting.
7073 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
7075         * nscd/nscd.c: Improve usage() output.
7077 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
7079         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7080         * sysdeps/unix/sysv/linux/configure: Regenerated.
7081         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7082         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7084 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7086         [BZ #16390]
7087         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7088         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7090 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7092         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7093         extra tokens at end of #undef directive.
7094         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7095         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7096         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7098 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7100         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7102         * math/auto-libm-test-in: Mark various tests with
7103         xfail-rounding:ldbl-128ibm.
7104         * math/auto-libm-test-out: Regenerated.
7106 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7108         [BZ #16386]
7109         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7110         numbers with subnormal high part when calculating exponent.
7112         [BZ #16385]
7113         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7114         fabs.
7116         [BZ #16384]
7117         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7118         M_LN2l.
7119         (__ieee754_acoshl): Use __log1pl not __log1p.
7121 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
7123         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7124         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7125         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7126         (grow_heap, heap_trim, _int_new_arena, get_free_list)
7127         (reused_arena, arena_get2): Convert to GNU style.
7128         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7129         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7130         (memalign_check, __malloc_set_state): Likewise.
7131         * malloc/mallocbug.c (main): Likewise.
7132         * malloc/malloc.c (__malloc_assert, malloc_init_state)
7133         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7134         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7135         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7136         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7137         (__posix_memalign, malloc_info): Likewise.
7138         * malloc/malloc.h: Likewise.
7139         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7140         (mallochook, memalignhook, reallochook, mabort): Likewise.
7141         * malloc/mcheck.h: Likewise.
7142         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7143         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7144         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7145         * malloc/morecore.c (__default_morecore): Likewise.
7146         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7147         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7148         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7149         (print_and_abort): Likewise.
7150         * malloc/obstack.h: Likewise.
7151         * malloc/set-freeres.c (__libc_freeres): Likewise.
7152         * malloc/tst-mallocstate.c (main): Likewise.
7153         * malloc/tst-mtrace.c (main): Likewise.
7154         * malloc/tst-realloc.c (do_test): Likewise.
7156 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7158         [BZ #16366]
7159         * nscd/netgroupcache.c (do_notfound): New function.
7160         (addgetnetgrentX): Use it.
7162         [BZ # 16365]
7163         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7164         NSS_STATUS_NOTFOUND.
7166 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
7168         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7171 2014-01-01  Allan McRae  <allan@archlinux.org>
7173         * scripts/update-copyrights: Update configure input file suffix.
7175         * NEWS: Update copyright year.
7176         * catgets/gencat.c: Likewise.
7177         * csu/version.c: Likewise.
7178         * debug/catchsegv.sh: Likewise.
7179         * debug/pcprofiledump.c: Likewise.
7180         * debug/xtrace.sh: Likewise.
7181         * elf/ldconfig.c: Likewise.
7182         * elf/ldd.bash.in: Likewise.
7183         * elf/pldd.c: Likewise.
7184         * elf/sotruss.ksh: Likewise.
7185         * elf/sprof.c: Likewise.
7186         * iconv/iconv_prog.c: Likewise.
7187         * iconv/iconvconfig.c: Likewise.
7188         * locale/programs/locale.c: Likewise.
7189         * locale/programs/localedef.c: Likewise.
7190         * login/programs/pt_chown.c: Likewise.
7191         * malloc/memusage.sh: Likewise.
7192         * malloc/memusagestat.c: Likewise.
7193         * malloc/mtrace.pl: Likewise.
7194         * manual/libc.texinfo: Likewise.
7195         * nscd/nscd.c: Likewise.
7196         * nss/getent.c: Likewise.
7197         * nss/makedb.c: Likewise.
7198         * posix/getconf.c: Likewise.
7199         * scripts/test-installation.pl: Likewise.
7201         * All files with FSF copyright notices: Update copyright dates
7202         using scripts/update-copyrights.
7203         * intl/plural.c: Regenerated.
7204         * locale/programs/charmap-kw.h: Likewise.
7205         * locale/programs/locfile-kw.h: Likewise.
7207 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
7209         * sysdeps/unix/sysv/linux/configure: Regenerated.
7210         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7211         the linux/fanotify.h header.
7212         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7213         HAVE_LINUX_FANOTIFY_H is defined.
7215 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7217         * benchtests/cos-inputs: New inputs.
7218         * benchtests/sin-inputs: Likewise.
7220         * benchtests/atan-inputs: New inputs. Fix name of multiple
7221         precision fallback inputs.
7223         * benchtests/atanh-inputs: New inputs.
7224         * benchtests/tanh-inputs: Likewise.
7226         * benchtests/acosh-inputs: New inputs.
7227         * benchtests/asinh-inputs: Likewise.
7229         * benchtests/cosh-inputs: New inputs.
7230         * benchtests/sinh-inputs: Likewise.
7232         * benchtests/acos-inputs: Add more inputs.
7233         * benchtests/asin-inputs: Likewise.
7235 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
7237         [BZ #16375]
7238         * manual/arith.texi: Fix spelling.
7239         * manual/charset.texi: Likewise.
7240         * manual/errno.texi: Likewise.
7241         * manual/filesys.texi: Likewise.
7242         * manual/lang.texi: Likewise.
7243         * manual/llio.texi: Likewise.
7244         * manual/locale.texi: Likewise.
7245         * manual/message.texi: Likewise.
7246         * manual/resource.texi: Likewise.
7247         * manual/search.texi: Likewise.
7248         * manual/setjmp.texi: Likewise.
7249         * manual/stdio.texi: Likewise.
7250         * manual/string.texi: Likewise.
7251         * manual/sysinfo.texi: Likewise.
7252         * manual/time.texi: Likewise.
7254 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
7256         * po/sl.po: New file.
7258 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
7260         * .gitignore: Add core/.gdbinit/.gdb_history.
7262 2013-12-27  Allan McRae  <allan@archlinux.org>
7264         [BZ #16369]
7265         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7266         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7268 2013-12-24  Brooks Moses  <bmoses@google.com>
7270         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7271         all compilers that claim C++98 compliance, not just GCC.
7272         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7273         Likewise.
7275 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7277         * NEWS: Restore accidentally deleted bug-fix entries.
7279 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7280             Ondřej Bílka  <neleai@seznam.cz>
7282         [BZ #15073]
7283         * malloc/malloc.c (_int_free): Perform sanity check only if we
7284         have_lock.
7286 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
7288         [BZ #12986]
7289         * manual/stdio.texi (String Input Conversions): Clarify that character
7290         classes are not supported.
7292 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7296 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
7298         [BZ #16337]
7299         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7300         Calculate results for small negative arguments directly rather
7301         than using reflection formula with special underflow handling.
7303         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7304         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7305         sysdeps/unix/bsd/bsd4.4/syscalls.list.
7306         (fchflags): Likewise.
7307         (revoke): Likewise.
7308         (setlogin): Likewise.
7309         (sigaltstack): Likewise.
7310         (wait4): Likewise.
7311         (sigblock): Remove.
7312         (sigsetmask): Likewise.
7313         (wait3): Likewise.
7314         (waitpid): Likewise.
7315         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7316         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7317         file.
7318         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7319         * sysdeps/unix/bsd/Makefile: ... here.
7320         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7321         * sysdeps/unix/bsd/Versions: ... here.
7322         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7323         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7324         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7325         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7326         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7327         * sysdeps/unix/bsd/sigblock.c: ... here.
7328         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7329         * sysdeps/unix/bsd/sigsetmask.c: ... here.
7330         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7331         * sysdeps/unix/bsd/sigvec.c: ... here.
7332         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7333         * sysdeps/unix/bsd/tcdrain.c: ... here.
7334         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7335         * sysdeps/unix/bsd/tcgetattr.c: ... here.
7336         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7337         * sysdeps/unix/bsd/tcsetattr.c: ... here.
7338         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7339         * sysdeps/unix/bsd/wait.c: ... here.
7340         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7341         * sysdeps/unix/bsd/wait3.c: ... here.
7342         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7343         * sysdeps/unix/bsd/waitpid.c: ... here.
7345 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
7347         [BZ #16356]
7348         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7349         round-to-nearest for [!USE_AS_EXPM1L].
7350         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7351         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
7352         more tests of exp and exp10.  Expect some exp10 tests to miss
7353         exceptions or fail in directed rounding modes.
7354         * math/auto-libm-test-out: Regenerated.
7355         * math/libm-test.inc (exp10_tonearest_test_data): New array.
7356         (exp10_test_tonearest): New function.
7357         (exp10_towardzero_test_data): New array.
7358         (exp10_test_towardzero): New function.
7359         (exp10_downward_test_data): New array.
7360         (exp10_test_downward): New function.
7361         (exp10_upward_test_data): New array.
7362         (exp10_test_upward): New function.
7363         (main): Call the new functions.
7364         * sysdeps/i386/fpu/libm-test-ulps: Update.
7365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7367 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
7369         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7370         asinh, atan, atan2, atanh, cbrt, cos and cosh.
7371         * math/auto-libm-test-out: Regenerated.
7372         * math/libm-test.inc (acosh_test_data): Add more tests.
7373         (atanh_test_data): Likewise.
7374         (ceil_test_data): Likewise.
7375         (copysign_test_data): Likewise.
7376         * sysdeps/i386/fpu/libm-test-ulps: Update.
7377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7379         * timezone/checktab.awk: Update from tzcode 2013i.
7380         * timezone/private.h: Likewise.
7381         * timezone/scheck.c: Likewise.
7382         * timezone/tzfile.h: Likewise.
7383         * timezone/tzselect.ksh: Likewise.
7384         * timezone/zdump.c: Likewise.
7385         * timezone/zic.c: Likewise.
7387         * math/auto-libm-test-in: Add tests of cpow.
7388         * math/auto-libm-test-out: Regenerated.
7389         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7390         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7391         mpc_cc_c.
7392         (func_calc_desc): Add mpc_cc_c union field.
7393         (test_functions): Add cpow.
7394         (special_fill_2pi): New function.
7395         (special_real_inputs): Add 2pi.
7396         (calc_generic_results): Handle mpc_cc_c.
7397         * sysdeps/i386/fpu/libm-test-ulps: Update.
7398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7400         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7401         csqrt, ctan and ctanh.
7402         * math/auto-libm-test-out: Regenerated.
7403         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7404         (TEST_COND_x86): Likewise.
7405         (ccos_test_data): Use AUTO_TESTS_c_c.
7406         (ccosh_test_data): Likewise.
7407         (cexp_test_data): Likewise.
7408         (clog_test_data): Likewise.
7409         (csqrt_test_data): Likewise.
7410         (ctan_test_data): Likewise.
7411         (ctan_tonearest_test_data): Likewise.
7412         (ctan_towardzero_test_data): Likewise.
7413         (ctan_downward_test_data): Likewise.
7414         (ctan_upward_test_data): Likewise.
7415         (ctanh_test_data): Likewise.
7416         (ctanh_tonearest_test_data): Likewise.
7417         (ctanh_towardzero_test_data): Likewise.
7418         (ctanh_downward_test_data): Likewise.
7419         (ctanh_upward_test_data): Likewise.
7420         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7421         mpc_c_c.
7422         (func_calc_desc): Add mpc_c_c union field.
7423         (FUNC_mpc_c_c): New macro.
7424         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7425         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7426         ctanh.
7427         (special_fill_min_subnorm_p120): New function.
7428         (special_real_inputs): Add min_subnorm_p120.
7429         (calc_generic_results): Handle mpc_c_c.
7430         * sysdeps/i386/fpu/libm-test-ulps: Update.
7431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7433 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7435         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7436         (do_sin_slow): New functions.
7437         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7438         (cslow2, csloww1, csloww2): Use the new functions.
7440         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7441         Use M to change sign of result instead of X.  Assume X is
7442         positive.
7443         (csloww1): Likewise.
7444         (__sin): Adjust.
7445         (__cos): Adjust.
7447         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7448         arguments A and DA.
7449         (__sin): Adjust.
7450         (__cos): Likewise.
7452         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7453         (__cos): Likewise.
7454         (sloww1): Don't adjust sign of DX.
7455         (csloww1): Likewise.
7456         (sloww2): Use X directly and don't adjust sign of DX.
7457         (csloww2): Likewise.
7459 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7461         * math/auto-libm-test-in: Add tests of cabs and carg.
7462         * math/auto-libm-test-out: Regenerated.
7463         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7464         (carg_test_data): Likewise.
7465         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7466         mpc_c_f.
7467         (func_calc_desc): Add mpc_c_f union field.
7468         (test_functions): Add cabs and carg.
7469         (calc_generic_results): Handle mpc_c_f.
7471         * sysdeps/powerpc/powerpc32/libgcc-compat.S
7472         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7473         as a macro and a compat symbol.
7474         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7475         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7476         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7477         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7478         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7479         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7480         not use .hidden.
7481         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7482         Likewise.
7483         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7484         Likewise.
7485         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7486         Likewise.
7487         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7488         Likewise.
7489         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7490         Likewise.
7491         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7492         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7493         from GLIBC_2.3.2.
7495 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7499 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7501         * manual/texinfo.tex: Update to version 2013-11-26.10 with
7502         trailing whitespace removed.
7503         * scripts/config.guess: Update to version 2013-11-29.
7504         * scripts/config.sub: Update to version 2013-10-01.
7506         * math/auto-libm-test-in: Add tests of sincos.
7507         * math/auto-libm-test-out: Regenerated.
7508         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7509         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7510         mpfr_f_11.
7511         (func_calc_desc): Add mpfr_f_11 union field.
7512         (test_functions): Add sincos.
7513         (calc_generic_results): Handle mpfr_f_11.
7514         * sysdeps/i386/fpu/libm-test-ulps: Update.
7515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517 2013-12-19  Andreas Schwab  <schwab@suse.de>
7519         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7520         CALL_MCOUNT.
7521         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7522         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7523         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7525 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7527         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7528         * sysdeps/i386/fpu/libm-test-ulps: Update.
7529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7531         [BZ #16293]
7532         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7533         round-to-nearest mode when using frndint.
7534         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7535         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7536         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7537         Likewise.
7538         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7539         sinh test to fail.
7540         * math/auto-libm-test-out: Regenerated.
7541         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7542         (TEST_COND_x86): Likewise.
7543         (expm1_tonearest_test_data): New array.
7544         (expm1_test_tonearest): New function.
7545         (expm1_towardzero_test_data): New array.
7546         (expm1_test_towardzero): New function.
7547         (expm1_downward_test_data): New array.
7548         (expm1_test_downward): New function.
7549         (expm1_upward_test_data): New array.
7550         (expm1_test_upward): New function.
7551         (main): Run the new test functions.
7552         * sysdeps/i386/fpu/libm-test-ulps: Update.
7553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7555         * include/features.h: Update comment documenting feature test
7556         macros.  Mention _DEFAULT_SOURCE in comment.
7557         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7558         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7559         _BSD_SOURCE and _SVID_SOURCE.
7560         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7561         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7562         !_SVID_SOURCE]: Likewise.
7563         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7564         (__USE_POSIX_IMPLICITLY): Define.
7565         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7566         (_POSIX_SOURCE): Undefine and redefine.
7567         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7568         (_POSIX_C_SOURCE): Likewise.
7569         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7570         (Feature Test Macros): Update documentation of default features.
7572 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7574         * benchtests/Makefile: Add bench-strtok.
7575         * benchtests/bench-strtok.c: New file: strtok benchtest.
7577 2013-12-19  Allan McRae  <allan@archlinux.org>
7579         * manual/install.texi: Suppress menu for plain text output.
7580         * INSTALL: Regenerated.
7582 2013-12-18  Brooks Moses  <bmoses@google.com>
7584         [BZ #15846]
7585         * misc/getauxval.c: Include errno.h.
7586         (__getauxval): Set errno to ENOENT if the requested type is not
7587         found.
7588         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7589         don't declare with __attribute_const__.
7590         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7591         * manual/startup.texi: Document that getauxval sets errno.
7593 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7595         * math/auto-libm-test-in: Add tests of jn and yn.
7596         * math/auto-libm-test-out: Regenerated.
7597         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7598         (yn_test_data): Likewise.
7599         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7600         mpfr_if_f.
7601         (func_calc_desc): Add mpfr_if_f union field.
7602         (FUNC_mpfr_if_f): New macro.
7603         (test_functions): Add jn and yn.
7604         (calc_generic_results): Assert type of second input for
7605         mpfr_ff_f.  Handle mpfr_if_f.
7606         (output_for_one_input_case): Disable all checking for arguments
7607         fitting floating-point types in case of an integer argument.
7608         * sysdeps/i386/fpu/libm-test-ulps: Update.
7609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7612         Don't expect fegetround reference in libm.so.
7614 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7616         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7617         $(config-cflags-nofma).
7619 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7621         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7622         * math/auto-libm-test-out: Regenerated.
7624         [BZ #16338]
7625         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7626         to determine exponent and adjust argument to have exponent of -1.
7627         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7628         log2.
7629         * math/auto-libm-test-out: Regenerated.
7630         * sysdeps/i386/fpu/libm-test-ulps: Update.
7631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7633 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7635         * manual/probes.texi: Remove cases when per-thread arenas are
7636         disabled.
7638 2013-12-18  Andreas Schwab  <schwab@suse.de>
7640         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7641         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7642         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7643         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7644         * sysdeps/i386/i686/multiarch/Makefile: Update.
7645         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7647 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7649         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7650         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7652 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7654         [BZ #15968]
7655         Support TZ transition times < 00:00:00.
7656         This is needed for version-3 tz-format files; it supports time
7657         stamps past 2037 for America/Godthab (the only entry in the tz
7658         database for which this change is relevant).
7659         * manual/time.texi (TZ Variable): Document transition times
7660         from -167:59:59 through -00:00:01.
7661         * time/tzset.c (tz_rule): Time of day is now signed.
7662         (__tzset_parse_tz): Parse negative time of day.
7664         Document TZ transition times >= 25:00:00.
7665         * manual/time.texi (TZ Variable): Document transition times from
7666         25:00:00 through 167:59:59.  These are already supported, and this
7667         support will help with version-3 tz-format files.
7669         * manual/time.texi (TZ Variable): Modernize North America example
7670         to reflect current (i.e., 2007-and-later) daylight saving rules.
7672         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7674 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7676         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7677         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7678         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7680         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7681         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7682         * sysdeps/unix/bsd/clock.c: Likewise.
7683         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7684         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7685         * sysdeps/unix/bsd/init-posix.c: Likewise.
7686         * sysdeps/unix/bsd/poll.c: Likewise.
7687         * sysdeps/unix/bsd/ptsname.c: Likewise.
7688         * sysdeps/unix/bsd/seekdir.c: Likewise.
7689         * sysdeps/unix/bsd/setegid.c: Likewise.
7690         * sysdeps/unix/bsd/seteuid.c: Likewise.
7691         * sysdeps/unix/bsd/setgid.c: Likewise.
7692         * sysdeps/unix/bsd/setrgid.c: Likewise.
7693         * sysdeps/unix/bsd/setruid.c: Likewise.
7694         * sysdeps/unix/bsd/setsid.c: Likewise.
7695         * sysdeps/unix/bsd/setuid.c: Likewise.
7696         * sysdeps/unix/bsd/sigaction.c: Likewise.
7697         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7698         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7699         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7700         * sysdeps/unix/bsd/telldir.c: Likewise.
7701         * sysdeps/unix/bsd/times.c: Likewise.
7702         * sysdeps/unix/bsd/usleep.c: Likewise.
7704         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7705         ($(objpfx)libbsd-compat.a): Remove rule.
7707         * include/features.h (__FAVOR_BSD): Do not define.
7708         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7709         features conflicting with POSIX.
7710         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7711         (_BSD_SOURCE): Remove description of not being a subset of other
7712         feature test macros.
7713         * manual/job.texi (getpgrp): Do not document BSD version.
7714         (getpgid): Do not document by reference to BSD getpgrp.
7715         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7716         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7717         * signal/signal.h [__FAVOR_BSD]: Likewise.
7718         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7719         instead of making contents conditional on [__FAVOR_BSD].
7720         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7722 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7726 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7728         [BZ #16314]
7729         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7730         values below 2**-450, not 2**-500.
7731         * math/auto-libm-test-in: Don't allow spurious underflow from
7732         hypot.
7733         * math/auto-libm-test-out: Regenerated.
7735         [BZ #16316]
7736         [BZ #16330]
7737         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7738         values of ha and hb and sort them after adjusting subnormal
7739         arguments.
7740         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7741         Likewise.
7742         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7743         values of ea and eb and sort them after adjusting subnormal
7744         arguments.
7745         * math/auto-libm-test-in: Do not expect some hypot tests of
7746         subnormals to fail.  Add more hypot tests.
7747         * math/auto-libm-test-out: Regenerated.
7749 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7751         [BZ #13304]
7752         * sysdeps/sh/s_fma.c: New file.
7753         * sysdeps/sh/s_fmaf.c: New file.
7754         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7755         version.
7756         * sysdeps/sh/Implies: Add sh/soft-fp.
7758 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7760         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7761         level of indirection to members `objname', `errstring', `malloced'.
7762         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7763         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7764         it as the __longjmp argument (just pass 1 instead).
7765         (_dl_catch_error): Initialize C with argument pointers and address of
7766         volatile local ERRCODE rather than copying values out of C at return.
7768 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7770         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7771         * math/auto-libm-test-out: Regenerated.
7772         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7773         (hypot_test_data): Likewise.
7774         (pow_test_data): Likewise.
7775         (pow_tonearest_test_data): Likewise.
7776         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7777         mpfr_ff_f.
7778         (func_calc_desc): Add mpfr_ff_f union field.
7779         (FUNC_mpfr_ff_f): New macro.
7780         (test_functions): Add atan2, hypot and pow.
7781         (special_fill_min): New function.
7782         (special_fill_minus_min): Likewise.
7783         (special_fill_min_subnorm): Likewise.
7784         (special_fill_minus_min_subnorm): Likewise.
7785         (special_real_inputs): Add min, -min, min_subnorm and
7786         -min_subnorm.
7787         (calc_generic_results): Handle mpfr_ff_f.
7788         * sysdeps/i386/fpu/libm-test-ulps: Update.
7789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7791 2013-12-16  Will Newton  <will.newton@linaro.org>
7793         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7794         (Aligned Memory Blocks): Add documentation for aligned_alloc
7795         and suggest it as an alternative to posix_memalign.
7796         (Hooks for Malloc): Document __memalign_hook is also called
7797         for aligned_alloc.  (Summary of Malloc): Add summary for
7798         aligned alloc.  Document __memalign_hook is also called
7799         for aligned_alloc.
7801 2013-12-16  Will Newton  <will.newton@linaro.org>
7803         * manual/memory.texi (Malloc Examples): Clarify default
7804         alignment documentation.  Suggest posix_memalign rather
7805         than memalign or valloc.
7806         (Aligned Memory Blocks): Remove suggestion to use memalign
7807         or valloc.  Remove obsolete comment about BSD.
7808         Document memalign errno values and mark the function obsolete.
7809         Document posix_memalign returned error codes.  Mark valloc
7810         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7811         called for posix_memalign and valloc.
7812         (Summary of Malloc): Add posix_memalign to function summary.
7813         __memalign_hook is also called for posix_memalign and valloc.
7815 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7817         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7818         TAYLOR_SIN.
7819         (__sin): Adjust.
7820         (__cos): Likewise.
7821         (sloww): Use mynumber union.  Expand ternary operator into
7822         if-else statements.
7823         (cslow): use mynumber union.
7825 2013-12-16  Allan McRae  <allan@archlinux.org>
7827         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7828         * configure: Regenerated.
7830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7832         [BZ #14120]
7833         * configure.ac: Added --enable-maintainer-mode. Check for
7834         autoconf when enabled.
7835         * configure: Regenerated.
7837         * nscd/nscd.service: New file.
7838         * nscd/nscd.tmpfiles: New file.
7840 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7842         [BZ #12100]
7843         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7844         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7845         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7846         (strstr): Add __strstr_sse2_unaligned ifunc.
7847         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7848         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7849         (strcasestr): Remove __strcasestr_sse42 ifunc.
7850         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7854 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7856         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7857         * sysdeps/sh/bits/fenv.h: ... here.
7858         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7860 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7862         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7865         hypotf multiarch implementations.
7866         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7867         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7868         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7869         multiarch hypot for PPC64.
7870         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7871         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7872         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7873         multiarch hypotf for PPC64.
7875         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7876         modff multiarch implementations.
7877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7880         multiarch modf for PPC64.
7881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7884         multiarch modff for PPC64.
7886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7887         and logl multiarch implementations.
7888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7891         multiarch logb for PPC64.
7892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7895         multiarch logb for PPC64.
7896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7899         multiarch logb for PPC64.
7901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7902         isinff multiarch implementation.
7903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7904         file.
7905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7907         multiarch isinf for PPC64.
7908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7909         file.
7910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7911         multiarch isinff for PPC64.
7913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7914         finitef multiarch implementation.
7915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7916         file.
7917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7919         multiarch finite for PPC64.
7920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7921         file.
7922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7923         multiarch finitef for PPC64.
7925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7926         lrint multiarch implementation.
7927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7928         file.
7929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7931         multiarch llrint for PPC64.
7932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7933         multiarch lrint for PPC64.
7935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7936         copysignf multiarch implementation.
7937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7938         file.
7939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7940         file.
7941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7942         multiarch copysign for PPC64.
7943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7944         multiarch copysignf for PPC64.
7946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7947         multiarch implementation.
7948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7949         file.
7950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7951         file.
7952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7953         file.
7954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7955         file.
7956         multiarch llround for PPC64.
7957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7958         multiarch trunc for PPC64.
7959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7960         multiarch truncf for PPC64.
7962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7963         multiarch implementation.
7964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7965         file.
7966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7967         file.
7968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7969         file.
7970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7971         file.
7972         multiarch llround for PPC64.
7973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7974         multiarch round for PPC64.
7975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7976         multiarch roundf for PPC64.
7978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7979         multiarch implementation.
7980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7981         file.
7982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7983         file.
7984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7985         file.
7986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7987         file.
7988         multiarch llround for PPC64.
7989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7990         multiarch floor for PPC64.
7991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7992         multiarch floorf for PPC64.
7994         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7995         multiarch implementation.
7996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7997         file.
7998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7999         file.
8000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8001         file.
8002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8003         file.
8004         multiarch llround for PPC64.
8005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8006         multiarch ceil for PPC64.
8007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8008         multiarch ceilf for PPC64.
8010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8011         multiarch implementation.
8012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8013         file.
8014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8015         file.
8016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8017         file.
8018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8019         multiarch llround for PPC64.
8020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8021         multiarch lround for PPC64.
8023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8024         multiarch implementation.
8025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8028         file.
8029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8032         multiarch isnan for PPC64.
8033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8034         multiarch isnanf for PPC64.
8036         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8037         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8038         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8039         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8040         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8043         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8044         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8045         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8046         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8049         multiarch implementations.
8050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8051         (__libc_ifunc_impl_list): Likewise.
8052         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8055         multiarch stpcpy for PPC64.
8057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8058         multiarch implementations.
8059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8060         (__libc_ifunc_impl_list): Likewise.
8061         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8062         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8063         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8064         multiarch strcpy for PPC64.
8066         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8067         redefine function name.
8068         (_wordcopy_fwd_dest_aligned): Likewise.
8069         (_wordcopy_bwd_aligned): Likewise.
8070         (_wordcopy_bwd_dest_aligned): Likewise.
8071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8072         multiarch implementations.
8073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8074         (__libc_ifunc_impl_list): Likewise.
8075         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8076         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8077         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8078         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8079         multiarch wcscpy for PPC64.
8081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8082         multiarch implementations.
8083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8084         (__libc_ifunc_impl_list): Likewise.
8085         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8086         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8087         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8088         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8089         multiarch wcscpy for PPC64.
8091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8092         multiarch implementations.
8093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8094         (__libc_ifunc_impl_list): Likewise.
8095         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8096         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8097         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8098         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8099         multiarch wcsrchr for PPC64.
8101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8102         multiarch implementations.
8103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8104         (__libc_ifunc_impl_list): Likewise.
8105         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8106         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8107         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8108         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8109         multiarch wcschr for PPC64.
8111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8112         multiarch implementations.
8113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8114         (__libc_ifunc_impl_list): Likewise.
8115         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8116         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8117         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8118         multiarch strchrnul for PPC64.
8120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8121         implementations.
8122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8123         (__libc_ifunc_impl_list): Likewise.
8124         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8125         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8126         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8127         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8128         strchr for PPC64.
8130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8131         implementations.
8132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8133         (__libc_ifunc_impl_list): Likewise.
8134         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8135         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8136         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8137         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8138         strncmp for PPC64.
8140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8141         multiarch implementations.
8142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8143         (__libc_ifunc_impl_list): Likewise.
8144         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8145         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8146         strncasecmp for PPC64.
8147         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8148         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8149         multiarch strncasecmp_l for PPC64.
8151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8152         multiarch implementations.
8153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8154         (__libc_ifunc_impl_list): Likewise.
8155         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8156         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8157         multiarch strcasecmp for PPC64.
8158         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8159         file.
8160         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8161         multiarch strcasecmp_l for PPC64.
8163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8164         implementations.
8165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8166         (__libc_ifunc_impl_list): Likewise.
8167         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8168         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8169         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8170         strnlen for PPC64.
8172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8173         implementations.
8174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8175         (__libc_ifunc_impl_list): Likewise.
8176         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8177         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8178         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8179         strlen for PPC64.
8181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8182         implementations.
8183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8184         (__libc_ifunc_impl_list): Likewise.
8185         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8186         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8187         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8188         rawmemrchr for PPC64.
8190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8191         implementation.
8192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8193         (__libc_ifunc_impl_list): Likewise.
8194         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8195         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8196         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8197         memrchr for PPC64.
8199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8200         implementation.
8201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8202         (__libc_ifunc_impl_list): Likewise.
8203         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8204         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8205         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8206         memchr for PPC64.
8208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8209         implementation.
8210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8211         (__libc_ifunc_impl_list): Likewise.
8212         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8213         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8214         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8215         mempcpy for PPC64.
8217         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8218         avoid cretion of __bzero symbol.
8219         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8220         Likewise.
8221         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8222         Likewise.
8223         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8224         Likewise.
8225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8226         multiarch implementations.
8227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8228         (__libc_ifunc_impl_list): Likewise.
8229         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8230         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8231         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8232         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8233         bzero for PPC32.
8234         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8235         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8236         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8237         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8238         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8239         memset for PPC64.
8240         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8242         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8244         implementations.
8245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8246         (__libc_ifunc_impl_list): Likewise.
8247         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8248         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8249         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8250         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8251         memcmp for PPC64.
8253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8254         multiarch for POWER/PPC64.
8255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8256         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8257         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8258         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8259         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8260         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8261         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8262         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8263         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8264         memcpy for PPC64.
8266         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8267         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8268         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8269         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8270         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8271         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8272         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8273         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8274         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8275         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8276         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8277         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8278         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8279         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8280         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8289 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8291         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8293 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8295         * benchtests/Makefile (bench): Add exp2 and log2.
8296         (LDLIBS-bench-exp2): Add -lm.
8297         (LDLIBS-bench-log2): Likewise.
8298         * benchtests/exp2-inputs: New inputs file.
8299         * benchtests/log2-inputs: New inputs file.
8300         * benchtests/log-inputs: Add new inputs.
8301         * benchtests/tan-inputs: Likewise.
8303 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8305         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8306         definition...
8307         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8308         (csloww2): ... from here.
8310         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8311         instead of structures.
8312         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8313         (POLYNOMIAL): Likewise.
8314         (TAYLOR_SLOW): Likewise.
8315         (__sin): Likewise.
8316         (__cos): Likewise.
8317         (slow1): Likewise.
8318         (slow2): Likewise.
8319         (sloww): Likewise.
8320         (sloww1); Likewise.
8321         (sloww2): Likewise.
8322         (bsloww1): Likewise.
8323         (bsloww2): Likewise.
8324         (cslow2): Likewise.
8325         (csloww): Likewise.
8326         (csloww1): Likewise.
8327         (csloww2): Likewise.
8329 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
8331         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8332         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8333         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8334         * malloc/hooks.c (realloc_check): Likewise.
8336         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8337         * malloc/arena.c: Remove PER_THREAD conditional.
8338         [!PER_THREAD]: Remove code.
8339         (ptmalloc_unlock_all2): Likewise.
8340         (ptmalloc_init): Likewise.
8341         (_int_new_arena): Likewise.
8342         (arena_get2): Likewise.
8343         * malloc/hooks.c (__malloc_get_state): Likewise.
8344         (__malloc_set_state): Likewise.
8345         * malloc/malloc.c: Likewise.
8346         (struct malloc_state): Likewise.
8347         (struct malloc_par): Likewise.
8348         (__libc_realloc): Likewise.
8349         (__libc_mallopt): Likewise.
8351 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8353         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8355 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
8357         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8358         macro to a function.  Check for zero perturb_byte.
8359         (_int_malloc, _int_free): Remove zero perturb_byte checks.
8361         * malloc/malloc.c: (force_reg): Remove.
8362         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8363         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8364         force_reg by atomic_forced_read.
8365         * malloc/arena.c (ptmalloc_init): Likewise.
8366         * malloc/hooks.c (top_check): Likewise.
8368 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8372 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
8374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8376 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
8378         * math/auto-libm-test-in: Add tests of lgamma.
8379         * math/auto-libm-test-out: Regenerated.
8380         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8381         (M_LOG_2_SQRT_PIl): Likewise.
8382         (lgamma_test_data): Use AUTO_TESTS_f_f1.
8383         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8384         mpfr_f_f1.
8385         (func_calc_desc): Add mpfr_f_f1 union field.
8386         (ARGS1): New macro.
8387         (ARGS2): Likewise.
8388         (ARGS3): Likewise.
8389         (ARGS4): Likewise.
8390         (RET1): Likewise.
8391         (RET2): Likewise.
8392         (CALC): Likewise.
8393         (FUNC): Likewise.
8394         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8395         (test_functions): Add lgamma.
8396         (calc_generic_results): Handle mpfr_f_f1.
8397         * sysdeps/i386/fpu/libm-test-ulps: Update.
8398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8402         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8403         __mpn_add_n for PowerPC64/POWER7.
8404         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8405         __mpn_sub_n for PowerPC64/POWER7.
8407         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8408         __mpn_addmul_1 for PowerPC64.
8409         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8410         __mpn_submul_1 for PowerPC64.
8411         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8412         for PowerPC64.
8413         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8414         for PowerPC64.
8416 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
8418         [BZ #15089]
8419         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8421 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8423         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8425         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8426         add multiarch folders.
8427         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8428         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8429         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8430         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8431         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8432         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8433         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8434         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8435         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8436         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8437         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8446         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8448         New file.
8449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8450         New file.
8451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8452         multiarch __ieee754_hypot for PowerPC32.
8453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8454         New file.
8455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8456         New file.
8457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8458         multiarch __ieee754_hypotf for PowerPC32.
8460         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8461         long_double_symbol only if __logbl is defined.
8462         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8463         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8464         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8465         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8466         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8467         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8468         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8469         path for implementation.
8470         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8471         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8473         logb, and logbl multiarch implementations for PowerPC32.
8474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8475         file.
8476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8477         file.
8478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8479         multiarch logb for PowerPC32.
8480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8481         file.
8482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8483         file.
8484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8485         multiarch logbf for PowerPC32.
8486         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8488         file.
8489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8490         multiarch logbl implementation for PowerPC32.
8492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8493         and modff multiarch implementations.
8494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8495         New file.
8496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8497         New file.
8498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8499         multiarch modf for PowerPC32.
8500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8501         New file.
8502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8503         New file.
8504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8505         multiarch modff for PowerPC32.
8507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8508         and lrintf multiarch implementations.
8509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8510         New file.
8511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8512         New file.
8513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8514         multiarch lrint for PowerPC32.
8515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8516         file: multiarch lrintf for PowerPC32.
8518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8519         and lroundf multiarch implementations.
8520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8521         New file.
8522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8523         New file.
8524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8525         New file.
8526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8527         multiarch lround for PowerPC32.
8528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8529         file: multiarch lroundf for PowerPC32.
8531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8532         copysign and copysignf multiarch implementations.
8533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8534         New file.
8535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8536         New file.
8537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8538         file: multiarch copysign for PowerPC32.
8539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8540         file: multiarch copysignf for PowerPC32.
8542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8543         and truncf multiarch implementations.
8544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8545         New file.
8546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8547         file.
8548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8549         multiarch trunc for PowerPC32.
8550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8551         New file.
8552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8553         New file.
8554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8555         multiarch truncf for PowerPC32.
8557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8558         and roundf multiarch implementations.
8559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8560         New file.
8561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8562         file.
8563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8564         multiarch round for PowerPC32.
8565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8566         New file.
8567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8568         New file.
8569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8570         multiarch roundf for PowerPC32.
8572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8573         and floorf multiarch implementations.
8574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8575         New file.
8576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8577         file.
8578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8579         multiarch floor for PowerPC32.
8580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8581         New file.
8582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8583         New file.
8584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8585         multiarch floorf for PowerPC32.
8587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8588         and ceilf multiarch implementations.
8589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8590         New file.
8591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8592         file.
8593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8594         multiarch ceil for PowerPC32.
8595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8596         New file.
8597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8598         file.
8599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8600         multiarch ceilf for PowerPC32.
8602         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8603         is defined.
8604         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8605         FINITEF is defined.
8606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8607         and finitef multiarch implementations.
8608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8609         New file.
8610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8611         file.
8612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8613         multiarch finite for PowerPC32.
8614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8615         New file.
8616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8617         file: multiarch finitef for PowerPC32.
8619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8620         and isinff multiarch implementations.
8621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8622         file.
8623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8624         file.
8625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8626         multiarch isinf for PowerPC32.
8627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8628         New file.
8629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8630         multiarch isinff for PowerPC32.
8632         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8633         alias when __isnan is defined.
8634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8635         and isnanf multiarch implementations.
8636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8637         file.
8638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8639         file.
8640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8641         file.
8642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8643         file.
8644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8645         multiarch isnan for PowerPC32.
8646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8647         New file.
8648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8649         New file.
8650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8651         multiarch isnanf for PowerPC32.
8653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8654         and sqrtf multiarch implementations.
8655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8656         file.
8657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8658         file.
8659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8660         multiarch sqrt for PowerPC32.
8661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8662         file.
8663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8664         file.
8665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8666         multiarch sqrtf for PowerPC32.
8668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8669         and llroundf multiarch implementations.
8670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8671         New file.
8672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8673         New file.
8674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8675         New file.
8676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8677         file: multiarch llround for PowerPC32.
8678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8679         file: multiarch llroundf for PowerPC32.
8681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8682         multiarch PowerPC32 fpu implementations.
8683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8684         New file.
8685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8686         New file.
8687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8688         multiarch llrint for PowerPC32.
8689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8690         New file.
8691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8692         New file.
8693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8694         file.
8696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8698         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8699         file.
8700         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8701         file.
8702         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8703         file.
8704         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8705         multiarch wordcopy for PPC32.
8706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8707         wordcopy objects.
8708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8709         (__libc_ifunc_impl_list): Likewise.
8710         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8711         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8712         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8713         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8714         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8715         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8717         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8719         file.
8720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8721         file.
8722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8723         file.
8724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8725         multiarch wcscpy for PPC32.
8726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8727         multiarch objects.
8728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8729         (__libc_ifunc_impl_list): Likewise.
8730         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8731         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8732         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8733         sysdeps/powerpc/power6/wcscpy.c.
8735         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8737         file.
8738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8739         file.
8740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8741         file.
8742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8743         multiarch wcsrchr for PPC32.
8744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8745         multiarch objects.
8746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8747         (__libc_ifunc_impl_list): Likewise.
8748         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8749         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8750         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8751         sysdeps/powerpc/power6/wcsrchr.c.
8753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8754         file.
8755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8756         file.
8757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8759         multiarch wcschr for PPc32.
8760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8761         multiarch objects.
8762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8763         (__libc_ifunc_impl_list): Likewise.
8764         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8765         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8766         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8767         sysdeps/powerpc/power6/wcschr.c.
8769         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8770         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8771         file.
8772         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8773         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8774         file: multiarch strchr for PPC32.
8775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8776         multiarch objects.
8777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8778         (__libc_ifunc_impl_list): Likewise.
8780         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8781         name.
8782         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8783         file.
8784         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8785         file.
8786         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8787         multiarch strchrnul for PPC32.
8788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8789         multiarch objects.
8790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8791         (__libc_ifunc_impl_list): Likewise.
8793         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8794         file.
8795         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8796         multiarch strncasecmp for PPC32.
8797         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8798         file.
8799         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8800         multiarch strncasecmp_l for PPC32.
8801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8802         strncasecmp multiarch objects.
8803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8804         (__libc_ifunc_impl_list): Likewise.
8806         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8807         file.
8808         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8809         multiarch strncasecmp for PPC32.
8810         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8811         New file.
8812         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8813         multiarch strcasecmp_l for PPC32.
8814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8815         multiarch objects.
8816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8817         (__libc_ifunc_impl_list): Likewise.
8819         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8820         file.
8821         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8822         file.
8823         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8824         multiarch strncmp for PPC32.
8825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8826         multiarch objects.
8827         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8828         (__libc_ifunc_impl_list): Likewise.
8830         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8831         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8832         file.
8833         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8834         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8836         multiarch objects.
8837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8838         (__libc_ifunc_impl_list): Likewise.
8840         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8841         file.
8842         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8843         file.
8844         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8846         multiarch objects.
8847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8848         (__libc_ifunc_impl_list): Likewise.
8850         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8851         file.
8852         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8853         file.
8854         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8855         multiarch rawmemchr for PPC32.
8856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8857         multiarch objects.
8858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8859         (__libc_ifunc_impl_list): Likewise.
8861         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8862         file.
8863         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8864         file.
8865         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8866         file: memrchr multiarch for PPC32.
8867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8868         multiarch objects.
8869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8870         (__libc_ifunc_impl_list): Likewise.
8872         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8873         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8874         file.
8875         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8876         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8877         multiarch memchr for PPC32.
8878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8879         multiarch objects.
8880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8881         (__libc_ifunc_impl_list): Likewise.
8883         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8884         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8885         file.
8886         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8887         file.
8888         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8889         file: multiarch mempcpy for PPC32.
8890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8891         multiarch objects.
8892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8893         (__libc_ifunc_impl_list): Likewise.
8895         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8896         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8897         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8898         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8899         multiarch bzero for PPC32.
8900         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8901         file.
8902         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8903         file.
8904         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8905         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8906         file: multiarch memset for PPC32.
8907         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8909         memset multiarch objects.
8910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8911         (__libc_ifunc_impl_list): Likewise.
8913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8914         file.
8915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8916         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8917         memcmp for PPC32.
8918         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8920         multiarch objects.
8921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8922         (__libc_ifunc_impl_list): Likewise.
8924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8926         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8927         file.
8928         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8929         file.
8930         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8931         file.
8932         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8933         multiarch memcpy for PPC32.
8934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8935         multiarch objects.
8936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8937         (__libc_ifunc_impl_list): Likewise.
8939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8940         support multiarch for POWER/PPC32.
8941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8942         Likewise.
8943         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8945         Implies file to make multiarch folder appers before the fpu and
8946         default folder for power4 configuration.
8948 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8950         * scripts/bench.pl: Append volatile keyword to type.
8952 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8954         * sysdeps/sh/sotruss-lib.c: New file.
8955         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8957 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8961 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
8963         [BZ #6810]
8964         * math/w_tgamma.c: Include <errno.h>.
8965         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
8966         * math/w_tgammaf.c: Include <errno.h>.
8967         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
8968         * math/w_tgammal.c: Include <errno.h>.
8969         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
8970         * math/auto-libm-test-in: Do not allow missing errno on tgamma
8971         underflow.  Add more tgamma tests.
8972         * math/auto-libm-test-out: Regenerated.
8973         * sysdeps/i386/fpu/libm-test-ulps: Update.
8974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8976         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8977         sin, sinh, tan, tanh, tgamma, y0 and y1.
8978         * math/auto-libm-test-out: Regenerated.
8979         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8980         (TEST_COND_x86): Likewise.
8981         (M_E2l): Remove macro.
8982         (M_E3l): Likewise.
8983         (M_2_SQRT_PIl): Likewise.
8984         (M_SQRT_PIl): Likewise.
8985         (M_1_DIV_El): Likewise.
8986         (log_test_data): Use AUTO_TESTS_f_f.
8987         (log10_test_data): Likewise.
8988         (log1p_test_data): Likewise.
8989         (log2_test_data): Likewise.
8990         (sin_test_data): Likewise.
8991         (sin_tonearest_test_data): Likewise.
8992         (sin_towardzero_test_data): Likewise.
8993         (sin_downward_test_data): Likewise.
8994         (sin_upward_test_data): Likewise.
8995         (sinh_test_data): Likewise.
8996         (sinh_tonearest_test_data): Likewise.
8997         (sinh_towardzero_test_data): Likewise.
8998         (sinh_downward_test_data): Likewise.
8999         (sinh_upward_test_data): Likewise.
9000         (tan_test_data): Likewise.
9001         (tan_tonearest_test_data): Likewise.
9002         (tan_towardzero_test_data): Likewise.
9003         (tan_downward_test_data): Likewise.
9004         (tan_upward_test_data): Likewise.
9005         (tanh_test_data): Likewise.
9006         (tgamma_test_data): Likewise.
9007         (y0_test_data): Likewise.
9008         (y1_test_data): Likewise.
9009         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9010         (special_real_inputs): Add pi/4.
9011         * sysdeps/i386/fpu/libm-test-ulps: Update.
9012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9014 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9016         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9017         "longjmp_target" static probes.
9018         (__longjmp): Rename to __longjmp_symbol.
9019         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9020         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9021         on which longjmp to generate.
9022         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9023         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9024         probe.
9025         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9026         (__sigjmp_save): Rename to __sigjmp_save_symbol.
9027         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9028         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9029         and __sigjmp_save_symbol based on which sigsetjmp to generated.
9030         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9032         __longjmp_symbol based on which __longjmp to generate.
9033         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9034         probe.
9035         (setjmp): Rename to setjmp_symbol.
9036         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9037         (_setjmp): Rename to _setjmp_symbol.
9038         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9039         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9040         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9041         which setjmp to generate.
9042         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9043         "longjmp_target" static probes.
9045 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9047         * benchtests/README: Add note about output arguments.
9048         * benchtests/bench-sincos.c: Remove file.
9049         * benchtests/sincos-inputs: New file.
9050         * scripts/bench.pl: Identify output arguments and define
9051         static variables for them.
9053         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9055         [BZ #15941]
9056         * Makefile (INSTALL): Add install-plain.texi as the primary
9057         dependency.
9058         * manual/install-plain.texi: New file.
9059         * manual/install.texi: Include node directive only for
9060         non-plaintext output.
9062 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
9064         * stdlib/longlong.h: Update from GCC.
9066         [BZ #6807]
9067         [BZ #15901]
9068         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9069         * math/w_j0f.c (y0f): Likewise.
9070         * math/w_j0l.c (__y0l): Likewise.
9071         * math/w_j1.c (y1): Likewise.
9072         * math/w_j1f.c (y1f): Likewise.
9073         * math/w_j1l.c (__y1l): Likewise
9074         * math/w_jn.c (yn): Likewise.
9075         * math/w_jnf.c (ynf): Likewise.
9076         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9077         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
9078         value for Bessel function domain errors outside _SVID_ mode.
9079         Adjust sign of return value for yn (negative integer, 0).
9080         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9081         by zero in return for negative x and set sign appropriately for
9082         negative n.
9083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9084         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9085         * math/libm-test.inc (y0_test_data): Add more tests and adjust
9086         expectations in error cases.
9087         (y1_test_data): Likewise.
9088         (yn_test_data): Likewise.
9089         * sysdeps/i386/fpu/libm-test-ulps: Update.
9090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9092 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9094         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9095         "64" to "64-v1".  Add "64-v2".
9096         (abi-64-options): Rename to ...
9097         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
9098         (abi-64-condition): Rename to ...
9099         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
9100         (abi-64-ld-soname): Rename to ...
9101         (abi-64-v1-ld-soname): ... this.
9102         (abi-64-v2-options): Define.
9103         (abi-64-v2-condition): Likewise.
9104         (abi-64-v2-ld-soname): Likewise.
9105         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9106         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9111 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9112             Alan Modra  <amodra@gmail.com>
9114         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9115         New versions for use with the ELFv2 ABI.
9116         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9117         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9118         declaration.
9119         (struct La_ppc64v2_retval): Likewise.
9120         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9121         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9122         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9123         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9124         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9125         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9126         Do not save or restore CR.
9127         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9128         (_dl_profile_resolve): Do no save or restore CR.  Support extended
9129         return values for ELFv2 ABI.  Fix location of FPR return registers.
9130         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9131         updated values for _CALL_ELF == 2.
9132         (La_regs, La_retval, int_retval): Likewise.
9134 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9136         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9137         (FRAME_MIN_SIZE_PARM): Likewise.
9138         (FRAME_BACKCHAIN): Likewise.
9139         (FRAME_CR_SAVE): Likewise.
9140         (FRAME_LR_SAVE): Likewise.
9141         (FRAME_TOC_SAVE): Likewise.
9142         (FRAME_PARM_SAVE): Likewise.
9143         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9144         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9145         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9146         (call_mcount_parm_offset): New macro.
9147         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9148         (PROF): Use symbolic stack frame offsets.
9149         (TAIL_CALL_SYSCALL_ERROR): Likewise.
9150         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9151         Redefine in terms of FRAME_MIN_SIZE.
9152         (_dl_runtime_resolve): Use symbolic stack frame offsets.
9153         (_dl_profile_resolve): Likewise.  Update comment.
9154         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9155         symbols stack frame offsets.
9156         (__sigsetjmp): Likewise.
9157         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9158         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9159         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9160         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9163         (FRAME_BACKCHAIN): Remove.
9164         (FRAME_CR_SAVE): Likewise.
9165         (FRAME_LR_SAVE): Likewise.
9166         (FRAME_COMPILER_DW): Likewise.
9167         (FRAME_LINKER_DW): Likewise.
9168         (FRAME_TOC_SAVE): Likewise.
9169         (FRAME_PARM_SAVE): Likewise.
9170         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9171         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9172         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9174         (CHECK_SP): Use symbolic stack frame offsets.
9175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9176         zone" instead of caller's parameter save area for temp storage.
9177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9178         Likewise.  Also, use symbolic stack frame offsets.
9179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9180         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9181         our own stack frame instead of the caller's.
9182         (__socket): Use symbolic stack frame offsets.
9184 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9185             Alan Modra  <amodra@gmail.com>
9187         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9188         Define.
9189         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9190         (PPC64_LOCAL_ENTRY_OFFSET): Define.
9191         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9192         New function.
9193         (elf_machine_fixup_plt): Call it.
9194         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
9195         reloc arguments.
9196         (elf_machine_rela): Update call to elf_machine_plt_conflict.
9197         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9198         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9199         r2 before calling target.
9201 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9202             Alan Modra  <amodra@gmail.com>
9204         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9205         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9206         versions of macros to support ELFv2 ABI.
9207         (LOCALENTRY): New macro.
9208         (ENTRY, EALIGN): Use it.
9209         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9210         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9211         fall through into ENTRY entry point.
9212         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9213         Only define if _CALL_ELF != 2.
9215         (elf_machine_matches_host): Verify ABI version matches.
9216         (RTLD_START): Use LOCALENTRY.
9217         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9218         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9219         (PLT_ENTRY_WORDS): New macro.
9220         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9221         (elf_machine_runtime_setup): Support ELFv2 ABI.
9222         (elf_machine_fixup_plt): Likewise.
9223         (elf_machine_plt_conflict): Likewise.
9224         (resolve_ifunc): Likewise.
9225         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9226         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9227         Likewise.
9228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9229         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9231         (makecontext): Support ELFv2 ABI.
9232         * elf/elf.h (EF_PPC64_ABI): Define.
9234 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9236         * sysdeps/powerpc/powerpc64/sysdep.h
9237         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9238         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9239         (ENTRY) [ASSEMBLER]: ... but instead here ...
9240         (EALIGN) [ASSEMBLER]: ... and here.
9241         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9242         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9243         (ENTRY_2) [!ASSEMBLER]: Use it.
9244         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9245         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
9246         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9247         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9248         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9250         Use PPC64_LOAD_FUNCPTR.
9252         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9254 2013-12-04  Alan Modra  <amodra@gmail.com>
9256         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9257         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9258         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9259         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9262         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9263         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9264         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9265         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9266         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9268 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9271         (__makecontext): Fix incorrect CFI when backtracing out of
9272         context created via makecontext.
9273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9274         (__setcontext): Fix incorrect CFI during switch to new context.
9275         (__novec_setcontext): Likewise.
9277 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9279         [BZ #4772]
9280         * time/strptime_l.c (__strptime_internal): Allow modifiers
9281         in strptime.
9282         * time/tst-strptime.c (day_tests): Add testcase.
9284 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9286         * scripts/bench.pl: Skip over blank lines.
9288 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9290         [BZ #926]
9291         * manual/time.texi (Calendar Time): Clarify what timezone functions
9292         use.
9294 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9298 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9300         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9301         implementation.
9302         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9303         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9304         * debug/memset_chk.c (__memset_chk): Likewise.
9305         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9306         * debug/strncpy_chk.c: Likewise.
9308 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9310         [BZ #15268]
9311         [BZ #15425]
9312         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9313         (__ieee754_exp): For possibly underflowing results, check size of
9314         result and force underflow exception if required.
9315         * math/auto-libm-test-in: Add more tests of exp.
9316         * math/auto-libm-test-out: Regenerated.
9317         * sysdeps/i386/fpu/libm-test-ulps: Update.
9318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9320         [BZ #16283]
9321         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9322         * math/w_exp2f.c (__exp2f): Likewise.
9323         * math/w_exp2l.c (__exp2l): Likewise.
9324         * math/auto-libm-test-in: Do not allow missing errno on exp2
9325         underflow.
9326         * math/auto-libm-test-out: Regenerated.
9328 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
9330         [BZ #16274]
9331         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9332         handle filename validation.
9333         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9334         (do_open): Delete.
9336 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9338         [BZ #6786]
9339         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9340         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9341         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9342         <float.h>.
9343         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9344         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9345         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9346         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9347         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9348         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9349         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9350         * math/auto-libm-test-in: Don't allow missing errno from erfc.
9351         Add more erfc tests.
9352         * math/auto-libm-test-out: Regenerated.
9353         * sysdeps/i386/fpu/libm-test-ulps: Update.
9354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9356         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9357         exp2, expm1, j0 and j1.
9358         * math/auto-libm-test-out: Regenerated.
9359         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9360         (erfc_test_data): Likewise.
9361         (exp_test_data): Likewise.
9362         (exp_tonearest_test_data): Likewise.
9363         (exp_towardzero_test_data): Likewise.
9364         (exp_downward_test_data): Likewise.
9365         (exp_upward_test_data): Likewise.
9366         (exp10_test_data): Likewise.
9367         (exp2_test_data): Likewise.
9368         (expm1_test_data): Likewise.
9369         (j0_test_data): Likewise.
9370         (j1_test_data): Likewise.
9371         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9372         (input_flag_type): Add flag_xfail_rounding.
9373         (input_flags): Add xfail-rounding.
9374         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9375         (output_for_one_input_case): Handle flag_xfail_rounding.
9376         * sysdeps/i386/fpu/libm-test-ulps: Update.
9377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9379 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
9381         [BZ #16289]
9382         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9383         division by 0.
9385 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9387         [BZ #16195]
9388         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9389         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9390         (STAP_PROBE0): New macro.
9391         (STAP_PROBE1): Likewise.
9392         (STAP_PROBE2): Likewise.
9393         (STAP_PROBE3): Likewise.
9394         (STAP_PROBE4): Likewise.
9396 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
9398         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9400 2013-12-02  Steve Ellcey  <sellcey@mips.com>
9402         * benchtests/Makefile (bench): Add sqrt.
9403         (LDLIBS-bench-sqrt): New.
9404         * benchtests/sqrt-input: New.
9406 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
9408         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9409         (GAIH_EAI): Likewise.
9410         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9411         (gaih_inet): Likewise.
9412         (getaddrinfo): Don't use GAIH_EAI.
9414         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9415         (struct gaih): Remove definition.
9417 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9419         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9420         Use HERRNOP directly.
9422 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9426 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
9428         * math/gen-auto-libm-tests.c (test_functions): Add more
9429         single-argument functions.
9430         (special_fill_pi_2): New function.
9431         (special_fill_minus_pi_2): Likewise.
9432         (special_fill_pi_6): Likewise.
9433         (special_fill_minus_pi_6): Likewise.
9434         (special_fill_pi_3): Likewise.
9435         (special_fill_2pi_3): Likewise.
9436         (special_fill_e): Likewise.
9437         (special_fill_1_e): Likewise.
9438         (special_fill_e_minus_1): Likewise.
9439         (special_real_inputs): Add more special inputs.
9440         (output_for_one_input_case): Do not require ERANGE on underflow to
9441         zero if round-to-nearest result does not underflow to zero, unless
9442         exact results required.
9443         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9444         atan, atanh, cbrt, cos and cosh.
9445         * math/auto-libm-test-out: Regenerated.
9446         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9447         (acos_tonearest_test_data): Likewise.
9448         (acos_towardzero_test_data): Likewise.
9449         (acos_downward_test_data): Likewise.
9450         (acos_upward_test_data): Likewise.
9451         (acosh_test_data): Likewise.
9452         (asin_test_data): Likewise.
9453         (asin_tonearest_test_data): Likewise.
9454         (asin_towardzero_test_data): Likewise.
9455         (asin_upward_test_data): Likewise.
9456         (asinh_test_data): Likewise.
9457         (atan_test_data): Likewise.
9458         (atanh_test_data): Likewise.
9459         (cbrt_test_data): Likewise.
9460         (cos_test_data): Likewise.
9461         (cos_tonearest_test_data): Likewise.
9462         (cos_towardzero_test_data): Likewise.
9463         (cos_downward_test_data): Likewise.
9464         (cos_upward_test_data): Likewise.
9465         (cosh_test_data): Likewise.
9466         (cosh_tonearest_test_data): Likewise.
9467         (cosh_towardzero_test_data): Likewise.
9468         (cosh_downward_test_data): Likewise.
9469         (cosh_upward_test_data): Likewise.
9470         * sysdeps/i386/fpu/libm-test-ulps: Update.
9471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9473 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
9475         [BZ #6787]
9476         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9477         * math/w_exp10f.c (__exp10f): Likewise.
9478         * math/w_exp10l.c (__exp10l): Likewise.
9479         * math/libm-test.inc (exp10_test_data): Add more tests and expect
9480         errno settings in existing tests.
9482         [BZ #14032]
9483         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9484         precision control set to double precision.
9485         * sysdeps/i386/fpu/w_sqrt.c: New file.
9486         * math/auto-libm-test-in: Add more tests.
9487         * math/auto-libm-test-out: Update.
9489         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9490         (sqrt_test_tonearest): New function.
9491         (sqrt_towardzero_test_data): New variable.
9492         (sqrt_test_towardzero): New function.
9493         (sqrt_downward_test_data): New variable.
9494         (sqrt_test_downward): New function.
9495         (sqrt_upward_test_data): New variable.
9496         (sqrt_test_upward): New function.
9497         (main): Call the new functions.
9499         * math/gen-auto-libm-tests.c: New file.
9500         * math/auto-libm-test-in: Likewise.
9501         * math/auto-libm-test-out: New generated file.
9502         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9503         variables.
9504         (%beautify): Add generated representations of zero.
9505         (top level): Set $auto_input and call parse_auto_input.
9506         (beautify): Remove trailing "f" from hex float constants.
9507         (parse_args): Handle XFAIL_TEST.
9508         (convert_condition): New function.
9509         (or_value): Likewise.
9510         (or_cond_value): Likewise.
9511         (generate_testfile): Handle AUTO_TESTS_* lines.
9512         (parse_auto_input): New function.
9513         * math/libm-test.inc (XFAIL_TEST): New macro.
9514         (ERRNO_UNCHANGED): Update value.
9515         (ERRNO_EDOM): Likewise.
9516         (ERRNO_ERANGE): Likewise.
9517         (IGNORE_RESULT): Likewise.
9518         (TEST_COND_flt_32): New macro.
9519         (TEST_COND_dbl_64): Likewise.
9520         (TEST_COND_ldbl_96_intel): Likewise.
9521         (TEST_COND_ldbl_96_m68k): Likewise.
9522         (TEST_COND_ldbl_128): Likewise.
9523         (TEST_COND_ldbl_128ibm): Likewise.
9524         (TEST_COND_long32): Likewise.
9525         (TEST_COND_long64): Likewise.
9526         (TEST_COND_before_rounding): Likewise.
9527         (TEST_COND_after_rounding): Likewise.
9528         (enable_test): Handle XFAIL_TEST flag.
9529         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9530         with finite results.
9531         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9532         auto-libm-test-out.
9534 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9535             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9537         [BZ #16214]
9538         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9539         __tls_get_addr_internal instead of __tls_get_offset in order to
9540         avoid GOT pointer dependency.  Make rtld export
9541         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9542         __tls_get_addr since we are a __tls_get_offset platform.
9543         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9544         GOT pointer being set up before.
9545         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9547 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9549         * manual/math.texi (Errors in Math Functions): Document accuracy
9550         goals.
9552         [BZ #15004]
9553         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9554         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9555         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9556         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9557         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9558         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9559         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9560         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9561         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9562         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9563         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9564         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9565         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9566         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9567         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9568         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9570         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9571         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9572         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9573         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9574         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9575         Likewise.
9576         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9577         Likewise.
9578         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9579         Likewise.
9580         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9581         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9582         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9583         atomic-feupdateenv and flt-rounds.
9584         * sysdeps/powerpc/nofpu/Versions (libc): Add
9585         __atomic_feholdexcept, __atomic_feclearexcept,
9586         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9587         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9588         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9589         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9590         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9591         here.
9592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9593         Update.
9595         * manual/arith.texi (FP Exceptions): Document that exceptions may
9596         not be raised when matherr is used.
9597         (Math Error Reporting): Document overflow in directed rounding
9598         modes.  Document that errno may not be set when finite values are
9599         returned on overflow.  Document intent to set errno on underflow
9600         only for underflow to zero.
9602         [BZ #16271]
9603         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9604         round-to-nearest then adjust result for other rounding modes.
9605         * include/fenv.h (fegetround): Use libm_hidden_proto.
9606         * math/fegetround.c (fegetround): Use libm_hidden_def.
9607         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9608         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9609         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9610         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9611         Likewise.
9612         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9613         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9614         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9615         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9617 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9619         [BZ #16077]
9620         * nss/Versions (libnss_files): Add
9621         _nss_files_gethostbyname3_r.
9622         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9623         New function.
9624         (HOST_DB_LOOKUP): Remove macro.
9625         (_nss_files_gethostbyname_r): Implement function without the
9626         HOST_DB_LOOKUP macro.
9627         (_nss_files_gethostbyname2_r): Likewise.
9629 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9631         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9633 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9635         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9636         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9637         warning.
9639 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9641         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9642         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9643         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9644         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9645         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9646         __fe_nomask_env_priv and attribute_hidden.
9647         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9648         (libc_feupdateenv_test_ppc): Likewise.
9649         (libc_feresetround_ppc): Likewise.
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9651         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9652         compat_symbol macro.
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9654         (__fe_nomask_env): Likewise.
9655         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9657 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9659         * string/Makefile: Remove ifunc tests.
9660         * string/test-string.h: Define TEST_IFUNC.
9661         * string/test-bcopy-ifunc.c: Remove.
9662         * string/test-bzero-ifunc.c: Likewise.
9663         * string/test-memccpy-ifunc.c: Likewise.
9664         * string/test-memchr-ifunc.c: Likewise.
9665         * string/test-memcmp-ifunc.c: Likewise.
9666         * string/test-memcpy-ifunc.c: Likewise.
9667         * string/test-memmem-ifunc.c: Likewise.
9668         * string/test-memmove-ifunc.c: Likewise.
9669         * string/test-mempcpy-ifunc.c: Likewise.
9670         * string/test-memrchr-ifunc.c: Likewise.
9671         * string/test-memset-ifunc.c: Likewise.
9672         * string/test-rawmemchr-ifunc.c: Likewise.
9673         * string/test-stpcpy-ifunc.c: Likewise.
9674         * string/test-stpncpy-ifunc.c: Likewise.
9675         * string/test-strcasecmp-ifunc.c: Likewise.
9676         * string/test-strcasestr-ifunc.c: Likewise.
9677         * string/test-strcat-ifunc.c: Likewise.
9678         * string/test-strchr-ifunc.c: Likewise.
9679         * string/test-strchrnul-ifunc.c: Likewise.
9680         * string/test-strcmp-ifunc.c: Likewise.
9681         * string/test-strcpy-ifunc.c: Likewise.
9682         * string/test-strcspn-ifunc.c: Likewise.
9683         * string/test-strlen-ifunc.c: Likewise.
9684         * string/test-strncasecmp-ifunc.c: Likewise.
9685         * string/test-strncat-ifunc.c: Likewise.
9686         * string/test-strncmp-ifunc.c: Likewise.
9687         * string/test-strncpy-ifunc.c: Likewise.
9688         * string/test-strnlen-ifunc.c: Likewise.
9689         * string/test-strpbrk-ifunc.c: Likewise.
9690         * string/test-strrchr-ifunc.c: Likewise.
9691         * string/test-strspn-ifunc.c: Likewise.
9692         * string/test-strstr-ifunc.c: Likewise.
9694 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9696         * benchtests/Makefile: Remove ifunc tests.
9697         * benchtests/bench-string.h: Define TEST_IFUNC.
9698         * benchtests/bench-bcopy-ifunc.c: Remove.
9699         * benchtests/bench-bzero-ifunc.c: Likewise.
9700         * benchtests/bench-memccpy-ifunc.c: Likewise.
9701         * benchtests/bench-memchr-ifunc.c: Likewise.
9702         * benchtests/bench-memcmp-ifunc.c: Likewise.
9703         * benchtests/bench-memcpy-ifunc.c: Likewise.
9704         * benchtests/bench-memmem-ifunc.c: Likewise.
9705         * benchtests/bench-memmove-ifunc.c: Likewise.
9706         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9707         * benchtests/bench-memrchr-ifunc.c: Likewise.
9708         * benchtests/bench-memset-ifunc.c: Likewise.
9709         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9710         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9711         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9712         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9713         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9714         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9715         * benchtests/bench-strcat-ifunc.c: Likewise.
9716         * benchtests/bench-strchr-ifunc.c: Likewise.
9717         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9718         * benchtests/bench-strcmp-ifunc.c: Likewise.
9719         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9720         * benchtests/bench-strcpy-ifunc.c: Likewise.
9721         * benchtests/bench-strcspn-ifunc.c: Likewise.
9722         * benchtests/bench-strlen-ifunc.c: Likewise.
9723         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9724         * benchtests/bench-strncat-ifunc.c: Likewise.
9725         * benchtests/bench-strncmp-ifunc.c: Likewise.
9726         * benchtests/bench-strncpy-ifunc.c: Likewise.
9727         * benchtests/bench-strnlen-ifunc.c: Likewise.
9728         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9729         * benchtests/bench-strrchr-ifunc.c: Likewise.
9730         * benchtests/bench-strsep-ifunc.c: Likewise.
9731         * benchtests/bench-strspn-ifunc.c: Likewise.
9732         * benchtests/bench-strstr-ifunc.c: Likewise.
9734 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9736         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9738 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9740         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9741         * rt/aio.h: Likewise.
9742         * sysdeps/gnu/bits/utmp.h: Likewise.
9743         * sysdeps/gnu/bits/utmpx.h: Likewise.
9744         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9745         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9746         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9747         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9748         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9749         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9750         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9751         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9752         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9753         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9754         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9755         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9756         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9758         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9759         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9760         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9761         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9762         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9763         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9764         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9765         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9766         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9767         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9768         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9770         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9771         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9772         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9773         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9774         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9775         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9776         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9777         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9778         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9779         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9780         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9781         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9782         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9783         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9784         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9785         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9787 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9789         [BZ #16245]
9790         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9791         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9793 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9795         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9796         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9797         Likewise.
9799 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9801         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9802         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9803         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9804         (__fesetround): Remove define.
9805         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9806         rounding and exceptions handling.
9807         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9808         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9809         (__fe_nomask_env): Likewise.
9810         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9811         __fegetround instead of fegetround.
9812         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9813         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9815 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9817         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9818         it's there.
9820         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9822 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9824         [BZ #11157]
9825         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9826         (encrypt_r): Likewise.
9827         * malloc/obstack.h (obstack_free): Likewise.
9828         * posix/unistd.h (encrypt): Likewise.
9830 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9832         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9833         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9834         DL_CALL_DT_FINI() that call the functions directly.
9835         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9836         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9837         * elf/dl-fini.c: Likewise.
9839 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9841         * malloc/hooks.c (memalign_check): Add alignment rounding.
9842         * malloc/malloc.c (_mid_memalign): New function.
9843         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9844         Implement by calling _mid_memalign.
9845         * manual/probes.texi (Memory Allocation Probes): Remove
9846         memory_valloc_retry and memory_pvalloc_retry.
9848 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9850         * locale/programs/locarchive.c (open_archive): Add const
9851         qualifier to ARCHIVEFNAME and copy default fname to
9852         DEFAULT_FNAME.
9854         [BZ #15601]
9855         * libio/tst-widetext.input: Rename Oriya to Odia.
9856         * locale/iso-639.def: Likewise.
9858         * manual/probes.texi (Mathematical Function Probes): Add
9859         documentation for sin, cos, asin and acos probes.
9860         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9861         (__sin32): Add slowasin probe.
9862         (__cos32): Add slowacos probe.
9863         (__mpsin): Add slowsin probe.
9864         (__mpcos): Add slowcos probe.
9866 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9868         [BZ #15483]
9869         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9870         thread-local __sim_exceptions_thread and global
9871         __sim_exceptions_global.
9872         (__sim_disabled_exceptions): Change to thread-local
9873         __sim_disabled_exceptions_thread and global
9874         __sim_disabled_exceptions_global.
9875         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9876         and global __sim_round_mode_global.
9877         (__simulate_exceptions): Use thread-local floating-point state and
9878         set global state from it as needed.
9879         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9880         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9881         __sim_round_mode_thread.
9882         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9883         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9884         and global __sim_exceptions_global.
9885         (__sim_disabled_exceptions): Change to thread-local
9886         __sim_disabled_exceptions_thread and global
9887         __sim_disabled_exceptions_global.
9888         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9889         and global __sim_round_mode_global.
9890         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9891         (SIM_SET_GLOBAL): Likewise.
9892         * sysdeps/powerpc/soft-fp/sfp-machine.h
9893         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9894         __sim_round_mode_thread.
9895         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9896         __sim_disabled_exceptions_thread.
9897         (__sim_exceptions): Change to __sim_exceptions_thread.
9898         (__sim_disabled_exceptions): Change to
9899         __sim_disabled_exceptions_thread.
9900         (__sim_round_mode): Change to __sim_round_mode_thread.
9901         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9902         thread-local floating-point state and set global state from it as
9903         needed.
9904         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9905         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9906         (__sim_disabled_exceptions): Remove extern declaration.
9907         (feenableexcept): Use thread-local floating-point state and set
9908         global state from it as needed.
9909         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9910         extern declaration.
9911         (__sim_disabled_exceptions): Likewise.
9912         (__sim_round_mode): Likewise.
9913         (__fegetenv): Use thread-local floating-point state.
9914         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9915         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9916         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9917         floating-point state and set global state from it as needed.
9918         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9919         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9920         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9921         Likewise.
9922         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9923         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9924         Likewise.
9925         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9926         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9927         Use __sim_round_mode_thread.
9928         * math/test-fenv-tls.c: New file.
9929         * math/Makefile (tests): Add test-fenv-tls.
9930         ($(objpfx)test-fenv-tls): Depend on
9931         $(common-objpfx)nptl/libpthread.so.
9933 2013-11-19  Andreas Schwab  <schwab@suse.de>
9935         * locale/programs/locale.c (show_info): Decode wordarray elements.
9936         * locale/categories.def (LC_MONETARY): Add element for
9937         _NL_MONETARY_CRNCYSTR.
9938         * locale/C-monetary.c (conversion_rate): New variable.
9939         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9940         element.
9942 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
9944         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9945         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9947 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9949         * elf/Makefile (tst-auxv): New test.
9950         * elf/tst-auxv.c: New
9951         * elf/rtld.c (dl_main): Adjust AT_EXECFN
9953 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
9955         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9956         (hidden_proto): Caller changed.
9957         (hidden_tls_proto): New macro.
9958         (libc_hidden_tls_proto): Likewise.
9959         (rtld_hidden_tls_proto): Likewise.
9960         (libm_hidden_tls_proto): Likewise.
9961         (libresolv_hidden_tls_proto): Likewise.
9962         (librt_hidden_tls_proto): Likewise.
9963         (libdl_hidden_tls_proto): Likewise.
9964         (libnss_files_hidden_tls_proto): Likewise.
9965         (libnsl_hidden_tls_proto): Likewise.
9966         (libnss_nisplus_hidden_tls_proto): Likewise.
9967         (libutil_hidden_tls_proto): Likewise.
9969 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
9971         [BZ #10253]
9972         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9973         (decompose_rpath): Defer expansion to fillin_rpath.
9974         (_dl_init_paths): Pass linkmap to fillin_rpath.
9976 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9978         * benchtests/Makefile: Add strsep.
9979         * benchtests/bench-strsep.c: New file: strsep benchtest.
9980         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9982 2013-11-18  Andreas Schwab  <schwab@suse.de>
9984         * locale/programs/locale.c (show_info) [case byte]: Check for
9985         '\377' instead of '\177'.
9986         * locale/C-monetary.c (not_available): Always use "\377".
9987         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9988         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
9989         detect unavailable sign_posn locale elements.
9990         * locale/localeconv.c (__localeconv): For grouping and
9991         mon_grouping handle "\177" and "\377" like no grouping.
9992         (INT_ELEM): New macro.  Use it to set all numeric members.
9993         * locale/programs/ld-monetary.c (monetary_read)
9994         <tok_mon_grouping>: Normalize single -1 to the empty string.
9995         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9996         Likewise.
9998 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10000         [BZ #16055]
10001         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10002         when we match (nil).
10003         * stdio-common/tst-sscanf.c (struct test): Add testcase.
10005 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
10007         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10008         (NO_TEST_INLINE): Update value.
10009         (ERRNO_UNCHANGED): Likewise.
10010         (ERRNO_EDOM): Likewise.
10011         (ERRNO_ERANGE): Likewise.
10012         (IGNORE_RESULT): Likewise.
10013         (check_float_internal): Check signs of NaN results if
10014         TEST_NAN_SIGN used.
10015         (check_complex): Pass TEST_NAN_SIGN flag through to second
10016         check_float_internal call.
10017         (copysign_test_data): Add tests with quiet NaNs as second
10018         argument.  Use TEST_NAN_SIGN.
10019         (fabs_test_data): Add test of negative quiet NaN argument.  Use
10020         TEST_NAN_SIGN.
10021         (signbit_test_data): Add tests of quiet NaN argument.
10022         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10024         * math/gen-libm-test.pl (show_exceptions): Take extra argument
10025         $ignore_result.
10026         (parse_args): Handle function results specified as IGNORE.
10027         * math/libm-test.inc (IGNORE_RESULT): New macro.
10028         (check_float_internal): Do not check numerical result if flag
10029         IGNORE_RESULT set.
10030         (check_complex): Pass through IGNORE_RESULT to second
10031         check_float_internal call.
10032         (check_int): Do not check numerical result if flag IGNORE_RESULT
10033         set.
10034         (check_long): Likewise.
10035         (check_bool): Likewise.
10036         (check_longlong): Likewise.
10037         (lrint_test_data): Add tests of infinite and NaN arguments.
10038         (lrint_tonearest_test_data): Likewise.
10039         (lrint_towardzero_test_data): Likewise.
10040         (lrint_downward_test_data): Likewise.
10041         (lrint_upward_test_data): Likewise.
10042         (llrint_test_data): Likewise.
10043         (llrint_tonearest_test_data): Likewise.
10044         (llrint_towardzero_test_data): Likewise.
10045         (llrint_downward_test_data): Likewise.
10046         (llrint_upward_test_data): Likewise.
10047         (lround_test_data): Likewise.
10048         (llround_test_data): Likewise.
10050         * math/libm-test.inc (NO_TEST_INLINE): New macro.
10051         (ERRNO_UNCHANGED): Update value.
10052         (ERRNO_EDOM): Likewise.
10053         (ERRNO_ERANGE): Likewise.
10054         (NO_TEST_INLINE_FLOAT): New macro.
10055         (NO_TEST_INLINE_DOUBLE): Likewise.
10056         (enable_test): New function.
10057         (RUN_TEST_f_f): Check enable_test before running test.
10058         (RUN_TEST_2_f): Likewise.
10059         (RUN_TEST_fff_f): Likewise.
10060         (RUN_TEST_c_f): Likewise.
10061         (RUN_TEST_f_f1): Likewise.
10062         (RUN_TEST_fF_f1): Likewise.
10063         (RUN_TEST_fI_f1): Likewise.
10064         (RUN_TEST_ffI_f1): Likewise.
10065         (RUN_TEST_c_c): Likewise.
10066         (RUN_TEST_cc_c): Likewise.
10067         (RUN_TEST_f_i): Likewise.
10068         (RUN_TEST_f_i_tg): Likewise.
10069         (RUN_TEST_ff_i_tg): Likewise.
10070         (RUN_TEST_f_b): Likewise.
10071         (RUN_TEST_f_b_tg): Likewise.
10072         (RUN_TEST_f_l): Likewise.
10073         (RUN_TEST_f_L): Likewise.
10074         (RUN_TEST_fFF_11): Likewise.
10075         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10076         conditionals.
10077         (cosh_test_data): Likewise.
10078         (exp_test_data): Likewise.
10079         (expm1_test_data): Likewise.
10080         (hypot_test_data): Likewise.
10081         (pow_test_data): Likewise.
10082         (sinh_test_data): Likewise.
10083         (tanh_test_data): Likewise.
10084         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10085         flags argument.
10087         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10088         tests with quiet NaN input and output.
10089         (acosh_test_data): Likewise.
10090         (asin_test_data): Likewise.
10091         (asinh_test_data): Likewise.
10092         (atan_test_data): Likewise.
10093         (atanh_test_data): Likewise.
10094         (atan2_test_data): Likewise.
10095         (cbrt_test_data): Likewise.
10096         (cos_test_data): Likewise.
10097         (cosh_test_data): Likewise.
10098         (erf_test_data): Likewise.
10099         (erfc_test_data): Likewise.
10100         (exp_test_data): Likewise.
10101         (exp10_test_data): Likewise.
10102         (exp2_test_data): Likewise.
10103         (expm1_test_data): Likewise.
10104         (hypot_test_data): Likewise.
10105         (j0_test_data): Likewise.
10106         (j1_test_data): Likewise.
10107         (jn_test_data): Likewise.
10108         (lgamma_test_data): Likewise.
10109         (log_test_data): Likewise.
10110         (log10_test_data): Likewise.
10111         (log1p_test_data): Likewise.
10112         (log2_test_data): Likewise.
10113         (pow_test_data): Likewise.
10114         (scalb_test_data): Likewise.
10115         (sin_test_data): Likewise.
10116         (sincos_test_data): Likewise.
10117         (sinh_test_data): Likewise.
10118         (tan_test_data): Likewise.
10119         (tanh_test_data): Likewise.
10120         (tgamma_test_data): Likewise.
10121         (y0_test_data): Likewise.
10122         (y1_test_data): Likewise.
10123         (yn_test_data): Likewise.
10125         [BZ #16167]
10126         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10127         argument being NaN and avoid computations with second argument in
10128         that case.
10129         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10130         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10131         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10133 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
10135         * locale/iso-639.def: Add Chitwani Tharu (the).
10137 2013-11-14  Andreas Schwab  <schwab@suse.de>
10139         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10140         word instead of empty string.
10142 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10145         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10147         (__fe_nomask_env): Likewise.
10149 2013-11-13  Steve Ellcey  <sellcey@mips.com>
10151         * benchtests/bench-timing.h: Include time.h.
10153 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
10155         [BZ #15997]
10156         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10157         to 3.4.0 for x32.
10158         * sysdeps/unix/sysv/linux/configure: Regenerated.
10160 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
10162         [BZ #16151]
10163         * stdlib/strtod_l.c (round_and_return): Do not consider
10164         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10165         exponent one less than half the least subnormal exponent.
10166         * stdlib/test-strtod-round-data: Add more tests.
10167         * stdlib/tst-strtod-round.c (tests): Regenerated.
10169 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10171         [BZ #14143]
10172         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10173         (__fe_mask_env): Likewise.
10174         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10175         libm_hidden_proto and add function prototype.
10176         (__fe_mask_env): Add function prototype.
10177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10178         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10180         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10182         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10184 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10186         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10187         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10189 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10191         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10192         of htab_find_slot().
10194 2013-11-11  David S. Miller  <davem@davemloft.net>
10196         [BZ #16150]
10197         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10198         symbol in the non-vis3 case in static builds.
10199         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10200         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10201         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10202         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10204 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10206         [BZ #387]
10207         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10208         it is empty.
10210 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10212         * benchtests/Makefile: Add bench-strtod.
10213         * benchtests/bench-strtod.c: New file: strtod benchtest
10215 2013-11-11  Andreas Schwab  <schwab@suse.de>
10217         [BZ #16153]
10218         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10219         terminating NUL in key length.
10221 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10223         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10224         Add artificial ODP entry for vDSO symbol for PPC64.
10225         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10226         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10228 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10230         [BZ #15374]
10231         * nss/getent.c (services_keys): Recognize services starting with digit.
10233 2013-11-06  David S. Miller  <davem@davemloft.net>
10235         [BZ #15985]
10236         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10237         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10239 2013-11-06  Will Newton  <will.newton@linaro.org>
10241         * manual/memory.texi (Malloc Examples): Remove register
10242         keyword from examples.
10244 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
10246         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10248 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
10250         [BZ #6981]
10251         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10252         depending on [__GCC_IEC_559 > 0].
10253         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10254         depending on [__GCC_IEC_559_COMPLEX > 0].
10256 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
10258         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10259         to iso-639.def.
10261 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
10263         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10265 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
10267         [BZ #16112]
10268         * malloc/malloc (malloc_info): Do not handle first bin as
10269         special case.
10271 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
10273         * locale/iso-639.def: Add Central Nahuatl (nhn).
10275 2013-11-01  Bruno Haible  <bruno@clisp.org>
10277         [BZ #7003]
10278         * manual/math.texi (BSD Random): Specify range upper bound as
10279         in POSIX.
10281 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
10283         * locale/iso-639.def: Add Meadow Mari (mhr).
10285 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
10287         [BZ #14752], [BZ #15763]
10288         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10289         Validate name.
10290         * rt/tst_shm.c: Add test for escaping directory.
10292 2013-10-31  Andreas Schwab  <schwab@suse.de>
10294         [BZ #15917]
10295         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10296         followed by 'x' as part of digit sequence.
10297         * stdio-common/tst-sscanf.c (double_tests2): New tests.
10299 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10301         [BZ #16037]
10302         * configure.ac: allow GNU Make 4.0 and greater.
10303         * configure: Regenerated.
10305 2013-10-30  Will Newton  <will.newton@linaro.org>
10307         [BZ #16038]
10308         * malloc/hooks.c (memalign_check): Limit alignment to the
10309         maximum representable power of two.
10310         * malloc/malloc.c (__libc_memalign): Likewise.
10311         * malloc/tst-memalign.c (do_test): Add test for very
10312         large alignment values.
10313         * malloc/tst-posix_memalign.c (do_test): Likewise.
10315 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10317         [BZ #11087]
10318         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10319         (munmap_chunk): Likewise.
10320         (mremap_chunk): Likewise.
10322 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10324         [BZ #15799]
10325         * stdlib/div.c (div): Remove obsolete code.
10326         * stdlib/ldiv.c (ldiv): Likewise.
10327         * stdlib/lldiv.c (lldiv): Likewise.
10329 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10331         [BZ #16071]
10332         * nss/nss_files/files-XXX.c (get_contents_ret): New
10333         enumerator.
10334         (get_contents): New function.
10335         (internal_getent): Use it.  Expand size of LINEBUFLEN.
10337 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
10339         * configure.in: Moved to ...
10340         * configure.ac: ... here. Change reference to configure.in
10341         to configure.ac.
10342         * sysdeps/arm/preconfigure.ac: ... here.
10343         configure.in to configure.ac.
10344         * sysdeps/gnu/configure.in: Moved to ...
10345         * sysdeps/gnu/configure.ac: ... here.
10346         * sysdeps/i386/configure.in: Moved to ...
10347         * sysdeps/i386/configure.ac: ... here.
10348         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10349         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10350         * sysdeps/mach/configure.in: Moved to ...
10351         * sysdeps/mach/configure.ac: ... here.
10352         * sysdeps/mach/hurd/configure.in: Moved to ...
10353         * sysdeps/mach/hurd/configure.ac: ... here.
10354         * sysdeps/powerpc/configure.in: Moved to ...
10355         * sysdeps/powerpc/configure.ac: ... here.
10356         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10357         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10358         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10359         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10360         * sysdeps/s390/s390-32/configure.in: Moved to ...
10361         * sysdeps/s390/s390-32/configure.ac: ... here.
10362         * sysdeps/s390/s390-64/configure.in: Moved to ...
10363         * sysdeps/s390/s390-64/configure.ac: ... here.
10364         * sysdeps/sh/configure.in: Moved to ...
10365         * sysdeps/sh/configure.ac: ... here.
10366         * sysdeps/sparc/configure.in: Moved to ...
10367         * sysdeps/sparc/configure.ac: ... here.
10368         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10369         * sysdeps/unix/sysv/linux/configure.ac: ... here.
10370         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10371         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10372         * sysdeps/x86_64/configure.in: Moved to ...
10373         * sysdeps/x86_64/configure.ac: ... here.
10374         * sysdeps/x86_64/preconfigure.in: Moved to ...
10375         * sysdeps/x86_64/preconfigure.ac: ... here.
10376         * aclocal.m4: Change reference to configure.in to configure.ac.
10377         * config.h.in: Likewise.
10378         * manual/install.texi: Likewise.
10379         * manual/maint.texi: Likewise.
10380         * Makefile: Likewise.
10381         * malloc/Makefile: Likewise.
10382         * nscd/Makefile: Likewise.
10383         * Makeconfig: Change reference to configure.in and
10384         preconfigure.in to configure.ac and preconfigure.ac
10385         respectively.
10386         * INSTALL: Regenerated.
10387         * configure: Likewise.
10388         * sysdeps/gnu/configure: Likewise.
10389         * sysdeps/i386/configure: Likewise.
10390         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10391         * sysdeps/mach/configure: Likewise.
10392         * sysdeps/mach/hurd/configure: Likewise.
10393         * sysdeps/powerpc/configure: Likewise.
10394         * sysdeps/powerpc/powerpc32/configure: Likewise.
10395         * sysdeps/powerpc/powerpc64/configure: Likewise.
10396         * sysdeps/s390/s390-32/configure: Likewise.
10397         * sysdeps/s390/s390-64/configure: Likewise.
10398         * sysdeps/sh/configure: Likewise.
10399         * sysdeps/sparc/configure: Likewise.
10400         * sysdeps/unix/sysv/linux/configure: Likewise.
10401         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10402         * sysdeps/x86_64/configure: Likewise.
10403         * sysdeps/x86_64/preconfigure: Likewise.
10405 2013-10-29  Andreas Schwab  <schwab@suse.de>
10407         * stdio-common/Makefile (tst-swscanf-ENV): Define.
10409 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10411         * benchtests/pow-inputs: Add new inputs.
10413         * benchtests/exp-inputs: Add new inputs.
10415         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10416         conditional check for return value.
10417         (__cos32): Likewise.
10419 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10421         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10422         to provide a boost for large inputs with word alignment.
10423         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10424         implementation based on optimized PPC64 strcpy.
10425         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10426         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10427         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10428         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10430 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10432         [BZ #2801]
10433         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10435 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10437         [BZ #14876]
10438         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10439         * time/tst-strptime.c (day_tests): Add testcase.
10441 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10443         [BZ #14029]
10444         * manual/pattern.texi: Acknowledge that fnmatch can fail.
10446 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
10448         [BZ #16074]
10449         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10450         MAP_FAILED on error.
10452 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10454         [BZ #16072]
10455         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10456         heap for large requests.
10458 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
10460         [BZ #9954]
10461         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10462         result if the result has no associated interface.
10463         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10464         interface for all 127.X.Y.Z addresses.
10466 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
10468         * locale/iso-639.def: Add Ligurian (lij)
10470 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
10472         [BZ #15825]
10473         * sunrpc/rpc_main.c: Document rpcgen -5.
10475 2013-10-19  Michael Stahl  <mstahl@redhat.com>
10477         * elf/rtld.c (do_preload): Print the reason why preloading failed.
10479 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10481         [BZ #10278]
10482         * posix/glob.c: Match only directories when trailing slash is present.
10483         * posix/tst-gnuglob.c (my_opendir): Do not open files.
10484         (main): Add testcase.
10486 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10488         [BZ #15670]
10489         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10491 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
10493         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10494         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10495         AUTH_DES and cindex for FIPS 140-2.
10496         (DES Encryption): Add cindex FIPS 46-3.
10498         * locale/locarchive.h (struct locarhandle): Add fname.
10499         * locale/programs/localedef.c (main): Pass ARGV[remaining]
10500         if an optional argument was specified to --list-archive,
10501         otherwise NULL.
10502         * locale/programs/locarchive.c (show_archive_content): Take new
10503         argument fname and pass it via ah.fname to open_archive.
10504         * locale/programs/localedef.h: Update decl.
10505         (open_archive): If AH->fname is non-null, open that file
10506         rather than the default file name, and don't ignore ENOENT.
10507         (create_archive): Set AH.fname to NULL.
10508         (delete_locales_from_archive): Likewise.
10509         (add_locales_to_archive): Likewise.
10510         * locale/programs/locfile.c (write_all_categories): Likewise.
10512 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
10513             Aldy Hernandez  <aldyh@redhat.com>
10515         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10516         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10517         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10518         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10519         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10520         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10521         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10522         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10523         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10524         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10525         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10526         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10527         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10528         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10529         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10530         Likewise.
10531         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10532         Likewise.
10533         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10534         Likewise.
10535         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10536         Likewise.
10537         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10538         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10539         Likewise.
10540         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10541         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10542         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10543         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10544         Likewise.
10545         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10546         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10547         * sysdeps/powerpc/preconfigure: Likewise.
10548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10549         Likewise.
10550         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10551         Replace contents of file by #include of <fenv_libc.h>.
10552         * sysdeps/powerpc/soft-fp/sfp-machine.h
10553         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10554         and <sys/prctl.h>.
10555         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10556         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10557         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10558         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10559         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10560         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10562         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10563         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10564         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10565         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10566         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10568         Allow copysignl PLT reference to be missing.
10570 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10571             Joseph Myers  <joseph@codesourcery.com
10573         [BZ #15948]
10574         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10575         single character.
10576         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10578 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10580         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10581         * elf/tst-tls1.c: Likewise.
10582         * elf/tst-tls10.h: Likewise.
10583         * elf/tst-tls14.c: Likewise.
10584         * elf/tst-tls2.c: Likewise.
10585         * elf/tst-tls3.c: Likewise.
10586         * elf/tst-tls4.c: Likewise.
10587         * elf/tst-tls5.c: Likewise.
10588         * elf/tst-tls6.c: Likewise.
10589         * elf/tst-tls7.c: Likewise.
10590         * elf/tst-tls8.c: Likewise.
10591         * elf/tst-tls9.c: Likewise.
10592         * elf/tst-tlsmod1.c: Likewise.
10593         * elf/tst-tlsmod13.c: Likewise.
10594         * elf/tst-tlsmod13a.c: Likewise.
10595         * elf/tst-tlsmod14a.c: Likewise.
10596         * elf/tst-tlsmod16a.c: Likewise.
10597         * elf/tst-tlsmod16b.c: Likewise.
10598         * elf/tst-tlsmod2.c: Likewise.
10599         * elf/tst-tlsmod3.c: Likewise.
10600         * elf/tst-tlsmod4.c: Likewise.
10601         * elf/tst-tlsmod5.c: Likewise.
10602         * elf/tst-tlsmod6.c: Likewise.
10604 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10606         [BZ #12486]
10607         * malloc/malloc.c: remove checks for statistics.
10609 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10611         [BZ #15277]
10612         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10613         * inet/tst-network.c: Add testcase.
10615 2013-10-17  Andreas Schwab  <schwab@suse.de>
10617         [BZ #15218]
10618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10619         to determine canonical name.
10621 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10623         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10624         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10625         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10626         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10628         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10629         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10630         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10631         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10632         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10633         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10634         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10635         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10636         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10637         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10638         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10639         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10640         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10641         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10642         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10643         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10645         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10646         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10647         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10648         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10649         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10650         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10651         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10652         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10653         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10654         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10655         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10656         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10657         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10658         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10659         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10660         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10661         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10662         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10663         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10664         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10665         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10666         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10667         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10668         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10669         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10670         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10671         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10672         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10673         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10674         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10675         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10676         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10677         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10678         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10680         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10682 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10684         [BZ #16041]
10685         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10686         make result into a quiet NaN.
10688 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10690         * soft-fp/adddf3.c: Fix horizontal whitespace.
10691         * soft-fp/addsf3.c: Likewise.
10692         * soft-fp/addtf3.c: Likewise.
10693         * soft-fp/divdf3.c: Likewise.
10694         * soft-fp/divsf3.c: Likewise.
10695         * soft-fp/divtf3.c: Likewise.
10696         * soft-fp/double.h: Likewise.
10697         * soft-fp/eqdf2.c: Likewise.
10698         * soft-fp/eqsf2.c: Likewise.
10699         * soft-fp/eqtf2.c: Likewise.
10700         * soft-fp/extenddftf2.c: Likewise.
10701         * soft-fp/extended.h: Likewise.
10702         * soft-fp/extendsfdf2.c: Likewise.
10703         * soft-fp/extendsftf2.c: Likewise.
10704         * soft-fp/extendxftf2.c: Likewise.
10705         * soft-fp/fixdfdi.c: Likewise.
10706         * soft-fp/fixdfsi.c: Likewise.
10707         * soft-fp/fixdfti.c: Likewise.
10708         * soft-fp/fixsfdi.c: Likewise.
10709         * soft-fp/fixsfsi.c: Likewise.
10710         * soft-fp/fixsfti.c: Likewise.
10711         * soft-fp/fixtfdi.c: Likewise.
10712         * soft-fp/fixtfsi.c: Likewise.
10713         * soft-fp/fixtfti.c: Likewise.
10714         * soft-fp/fixunsdfdi.c: Likewise.
10715         * soft-fp/fixunsdfsi.c: Likewise.
10716         * soft-fp/fixunsdfti.c: Likewise.
10717         * soft-fp/fixunssfdi.c: Likewise.
10718         * soft-fp/fixunssfsi.c: Likewise.
10719         * soft-fp/fixunssfti.c: Likewise.
10720         * soft-fp/fixunstfdi.c: Likewise.
10721         * soft-fp/fixunstfsi.c: Likewise.
10722         * soft-fp/fixunstfti.c: Likewise.
10723         * soft-fp/floatdidf.c: Likewise.
10724         * soft-fp/floatdisf.c: Likewise.
10725         * soft-fp/floatditf.c: Likewise.
10726         * soft-fp/floatsidf.c: Likewise.
10727         * soft-fp/floatsisf.c: Likewise.
10728         * soft-fp/floatsitf.c: Likewise.
10729         * soft-fp/floattidf.c: Likewise.
10730         * soft-fp/floattisf.c: Likewise.
10731         * soft-fp/floattitf.c: Likewise.
10732         * soft-fp/floatundidf.c: Likewise.
10733         * soft-fp/floatundisf.c: Likewise.
10734         * soft-fp/floatunditf.c: Likewise.
10735         * soft-fp/floatunsidf.c: Likewise.
10736         * soft-fp/floatunsisf.c: Likewise.
10737         * soft-fp/floatunsitf.c: Likewise.
10738         * soft-fp/floatuntidf.c: Likewise.
10739         * soft-fp/floatuntisf.c: Likewise.
10740         * soft-fp/floatuntitf.c: Likewise.
10741         * soft-fp/fmadf4.c: Likewise.
10742         * soft-fp/fmasf4.c: Likewise.
10743         * soft-fp/fmatf4.c: Likewise.
10744         * soft-fp/gedf2.c: Likewise.
10745         * soft-fp/gesf2.c: Likewise.
10746         * soft-fp/getf2.c: Likewise.
10747         * soft-fp/ledf2.c: Likewise.
10748         * soft-fp/lesf2.c: Likewise.
10749         * soft-fp/letf2.c: Likewise.
10750         * soft-fp/muldf3.c: Likewise.
10751         * soft-fp/mulsf3.c: Likewise.
10752         * soft-fp/multf3.c: Likewise.
10753         * soft-fp/negdf2.c: Likewise.
10754         * soft-fp/negsf2.c: Likewise.
10755         * soft-fp/negtf2.c: Likewise.
10756         * soft-fp/op-1.h: Likewise.
10757         * soft-fp/op-2.h: Likewise.
10758         * soft-fp/op-4.h: Likewise.
10759         * soft-fp/op-8.h: Likewise.
10760         * soft-fp/op-common.h: Likewise.
10761         * soft-fp/quad.h: Likewise.
10762         * soft-fp/single.h: Likewise.
10763         * soft-fp/soft-fp.h: Likewise.
10764         * soft-fp/sqrtdf2.c: Likewise.
10765         * soft-fp/sqrtsf2.c: Likewise.
10766         * soft-fp/sqrttf2.c: Likewise.
10767         * soft-fp/subdf3.c: Likewise.
10768         * soft-fp/subsf3.c: Likewise.
10769         * soft-fp/subtf3.c: Likewise.
10770         * soft-fp/truncdfsf2.c: Likewise.
10771         * soft-fp/trunctfdf2.c: Likewise.
10772         * soft-fp/trunctfsf2.c: Likewise.
10773         * soft-fp/trunctfxf2.c: Likewise.
10774         * soft-fp/unorddf2.c: Likewise.
10775         * soft-fp/unordsf2.c: Likewise.
10776         * soft-fp/unordtf2.c: Likewise.
10778 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10780         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10781         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10783 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10785         * elf/dl-libc.c: Clear initfini list after freeing.
10787 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10789         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10790         * soft-fp/addsf3.c: Likewise.
10791         * soft-fp/addtf3.c: Likewise.
10792         * soft-fp/divdf3.c: Likewise.
10793         * soft-fp/divsf3.c: Likewise.
10794         * soft-fp/divtf3.c: Likewise.
10795         * soft-fp/double.h: Likewise.
10796         * soft-fp/eqdf2.c: Likewise.
10797         * soft-fp/eqsf2.c: Likewise.
10798         * soft-fp/eqtf2.c: Likewise.
10799         * soft-fp/extenddftf2.c: Likewise.
10800         * soft-fp/extended.h: Likewise.
10801         * soft-fp/extendsfdf2.c: Likewise.
10802         * soft-fp/extendsftf2.c: Likewise.
10803         * soft-fp/extendxftf2.c: Likewise.
10804         * soft-fp/fixdfdi.c: Likewise.
10805         * soft-fp/fixdfsi.c: Likewise.
10806         * soft-fp/fixdfti.c: Likewise.
10807         * soft-fp/fixsfdi.c: Likewise.
10808         * soft-fp/fixsfsi.c: Likewise.
10809         * soft-fp/fixsfti.c: Likewise.
10810         * soft-fp/fixtfdi.c: Likewise.
10811         * soft-fp/fixtfsi.c: Likewise.
10812         * soft-fp/fixtfti.c: Likewise.
10813         * soft-fp/fixunsdfdi.c: Likewise.
10814         * soft-fp/fixunsdfsi.c: Likewise.
10815         * soft-fp/fixunsdfti.c: Likewise.
10816         * soft-fp/fixunssfdi.c: Likewise.
10817         * soft-fp/fixunssfsi.c: Likewise.
10818         * soft-fp/fixunssfti.c: Likewise.
10819         * soft-fp/fixunstfdi.c: Likewise.
10820         * soft-fp/fixunstfsi.c: Likewise.
10821         * soft-fp/fixunstfti.c: Likewise.
10822         * soft-fp/floatdidf.c: Likewise.
10823         * soft-fp/floatdisf.c: Likewise.
10824         * soft-fp/floatditf.c: Likewise.
10825         * soft-fp/floatsidf.c: Likewise.
10826         * soft-fp/floatsisf.c: Likewise.
10827         * soft-fp/floatsitf.c: Likewise.
10828         * soft-fp/floattidf.c: Likewise.
10829         * soft-fp/floattisf.c: Likewise.
10830         * soft-fp/floattitf.c: Likewise.
10831         * soft-fp/floatundidf.c: Likewise.
10832         * soft-fp/floatundisf.c: Likewise.
10833         * soft-fp/floatunsidf.c: Likewise.
10834         * soft-fp/floatunsisf.c: Likewise.
10835         * soft-fp/floatuntidf.c: Likewise.
10836         * soft-fp/floatuntisf.c: Likewise.
10837         * soft-fp/floatuntitf.c: Likewise.
10838         * soft-fp/fmadf4.c: Likewise.
10839         * soft-fp/fmasf4.c: Likewise.
10840         * soft-fp/fmatf4.c: Likewise.
10841         * soft-fp/gedf2.c: Likewise.
10842         * soft-fp/gesf2.c: Likewise.
10843         * soft-fp/getf2.c: Likewise.
10844         * soft-fp/ledf2.c: Likewise.
10845         * soft-fp/lesf2.c: Likewise.
10846         * soft-fp/letf2.c: Likewise.
10847         * soft-fp/muldf3.c: Likewise.
10848         * soft-fp/mulsf3.c: Likewise.
10849         * soft-fp/multf3.c: Likewise.
10850         * soft-fp/negdf2.c: Likewise.
10851         * soft-fp/negsf2.c: Likewise.
10852         * soft-fp/negtf2.c: Likewise.
10853         * soft-fp/op-1.h: Likewise.
10854         * soft-fp/op-2.h: Likewise.
10855         * soft-fp/op-4.h: Likewise.
10856         * soft-fp/op-8.h: Likewise.
10857         * soft-fp/op-common.h: Likewise.
10858         * soft-fp/quad.h: Likewise.
10859         * soft-fp/single.h: Likewise.
10860         * soft-fp/soft-fp.h: Likewise.
10861         * soft-fp/sqrtdf2.c: Likewise.
10862         * soft-fp/sqrtsf2.c: Likewise.
10863         * soft-fp/sqrttf2.c: Likewise.
10864         * soft-fp/subdf3.c: Likewise.
10865         * soft-fp/subsf3.c: Likewise.
10866         * soft-fp/subtf3.c: Likewise.
10867         * soft-fp/truncdfsf2.c: Likewise.
10868         * soft-fp/trunctfdf2.c: Likewise.
10869         * soft-fp/trunctfsf2.c: Likewise.
10870         * soft-fp/trunctfxf2.c: Likewise.
10871         * soft-fp/unorddf2.c: Likewise.
10872         * soft-fp/unordsf2.c: Likewise.
10873         * soft-fp/unordtf2.c: Likewise.
10875 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10877         [BZ #15672]
10878         * misc/error.c (error_tail): Fix possible buffer overflow.
10880 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10882         [BZ #13028]
10883         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10884         address.
10886 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10888         [BZ #832]
10889         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10890         testing pipefail option.
10892 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10894         * soft-fp/double.h: Indent preprocessor directives inside #if.
10895         * soft-fp/extended.h: Likewise.
10896         * soft-fp/op-2.h: Likewise.
10897         * soft-fp/op-4.h: Likewise.
10898         * soft-fp/op-common.h: Likewise.
10899         * soft-fp/quad.h: Likewise.
10900         * soft-fp/single.h: Likewise.
10901         * soft-fp/soft-fp.h: Likewise.
10903 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10905         * iconv/iconv_prog.c: Fix typos.
10906         * stdio-common/psiginfo-data.h: Likewise.
10908 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10910         [BZ #15764]
10911         * locale/setlocale.c: Fix typo.
10913 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10915         [BZ #16036]
10916         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10917         signaling NaN arguments.
10918         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10919         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10921         [BZ #14910]
10922         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10923         unordered operands.
10924         * soft-fp/gesf2.c (__gesf2): Likewise.
10925         * soft-fp/getf2.c (__getf2): Likewise.
10926         * soft-fp/ledf2.c (__ledf2): Likewise.
10927         * soft-fp/lesf2.c (__lesf2): Likewise.
10928         * soft-fp/letf2.c (__letf2): Likewise.
10930         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10931         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10932         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10933         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10934         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10935         * soft-fp/fixdfti.c (__fixdfti): Likewise.
10936         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10937         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10938         * soft-fp/fixsfti.c (__fixsfti): Likewise.
10939         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10940         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10941         * soft-fp/fixtfti.c (__fixtfti): Likewise.
10942         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10943         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10944         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10945         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10946         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10947         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10948         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10949         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10950         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10951         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10952         * soft-fp/floatdisf.c (__floatdisf): Likewise.
10953         * soft-fp/floatsisf.c (__floatsisf): Likewise.
10954         * soft-fp/floattidf.c (__floattidf): Likewise.
10955         * soft-fp/floattisf.c (__floattisf): Likewise.
10956         * soft-fp/floattitf.c (__floattitf): Likewise.
10957         * soft-fp/floatundidf.c (__floatundidf): Likewise.
10958         * soft-fp/floatundisf.c (__floatundisf): Likewise.
10959         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10960         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10961         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10962         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10963         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10964         * soft-fp/gesf2.c (__gesf2): Likewise.
10965         * soft-fp/getf2.c (__getf2): Likewise.
10966         * soft-fp/ledf2.c (__ledf2): Likewise.
10967         * soft-fp/lesf2.c (__lesf2): Likewise.
10968         * soft-fp/letf2.c (__letf2): Likewise.
10970         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10971         Undefine and redefine.
10972         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10973         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10974         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10975         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10976         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10977         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10978         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10979         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10980         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10981         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10982         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10983         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10984         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10985         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10986         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10988         [BZ #16032]
10989         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10990         without decrementing exponent if mantissa >= that for the
10991         denominator, not >.
10992         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10993         denominator, not >.  Decrement exponent in < case instead of
10994         incrementing in >= case.
10995         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10996         without decrementing exponent if mantissa >= that for the
10997         denominator, not >.
10999         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11000         computing saturated result for unsigned overflow.
11002 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11003             Jeff Law  <law@redhat.com>
11005         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11006         (atan2Mp): Add systemtap probe marker.
11007         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11008         (__ieee754_log): Add systemtap probe marker.
11009         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11010         (atanMp): Add systemtap probe marker.
11011         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11012         (tanMp): Add systemtap probe marker.
11013         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11014         (__slowexp): Add systemtap probe marker.
11015         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11016         (__slowpow): Add systemtap probe marker.
11017         * manual/probes.texi: Document probes.
11019 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
11021         [BZ #15362]
11022         * libio/fileops.c (_IO_new_file_write): Return count of bytes
11023         written.
11024         (_IO_new_file_xsputn): Don't return EOF if nothing has been
11025         written.
11026         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11027         written to buffer but not flushed.
11028         * libio/iofwrite_u.c:  Likewise.
11029         * libio/iopadn.c:  Return bytes returned even if EOF was
11030         encountered.
11031         * libio/iowpadn.c:  Likewise.
11032         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11033         if _IO_padn does not write the whole buffer.
11034         [!COMPILE_WPRINTF] (PAD): Likewise.
11036 2013-10-10  David S. Miller  <davem@davemloft.net>
11038         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11039         directory block.
11041 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11043         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
11044         instead of FSF address.
11045         * soft-fp/fixdfti.c: Likewise.
11046         * soft-fp/fixsfti.c: Likewise.
11047         * soft-fp/fixtfti.c: Likewise.
11048         * soft-fp/fixunsdfti.c: Likewise.
11049         * soft-fp/fixunssfti.c: Likewise.
11050         * soft-fp/fixunstfti.c: Likewise.
11051         * soft-fp/floattidf.c: Likewise.
11052         * soft-fp/floattisf.c: Likewise.
11053         * soft-fp/floattitf.c: Likewise.
11054         * soft-fp/floatuntidf.c: Likewise.
11055         * soft-fp/floatuntisf.c: Likewise.
11056         * soft-fp/floatuntitf.c: Likewise.
11057         * soft-fp/trunctfxf2.c: Likewise.
11059         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
11060         * soft-fp/fixdfti.c: Likewise.
11061         * soft-fp/fixsfti.c: Likewise.
11062         * soft-fp/fixtfti.c: Likewise.
11063         * soft-fp/fixunsdfti.c: Likewise.
11064         * soft-fp/fixunssfti.c: Likewise.
11065         * soft-fp/fixunstfti.c: Likewise.
11066         * soft-fp/floattidf.c: Likewise.
11067         * soft-fp/floattisf.c: Likewise.
11068         * soft-fp/floattitf.c: Likewise.
11069         * soft-fp/floatuntidf.c: Likewise.
11070         * soft-fp/floatuntisf.c: Likewise.
11071         * soft-fp/floatuntitf.c: Likewise.
11072         * soft-fp/trunctfxf2.c: Likewise.
11074 2013-10-10  David S. Miller  <davem@davemloft.net>
11076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11078 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
11080         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11081         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11082         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11083         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11084         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11085         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11086         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11088         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11089         for NaNs before doing comparisons on argument.
11090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11091         Likewise.
11093 2013-10-10  Will Newton  <will.newton@linaro.org>
11095         * malloc/hooks.c (memalign_check): Ensure the value of bytes
11096         passed to _int_memalign does not overflow.
11098 2013-10-10  Torvald Riegel  <triegel@redhat.com>
11100         * scripts/bench.pl: Add include-sources directive.
11101         * benchtests/README: Update documentation.
11103 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11105         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11106         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11107         instead of FP_INIT_ROUNDMODE.
11108         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11109         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11111         [BZ #16034]
11112         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
11113         copy class of input value.
11114         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
11115         not handle exceptions.
11116         * soft-fp/negsf2.c (__negsf2): Likewise.
11117         * soft-fp/negtf2.c (__negtf2): Likewise.
11118         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11120 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
11122         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11123         semicolon.  From Linux kernel.
11125 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
11127         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11129 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
11131         [BZ #156]
11132         * manual/socket.texi: Added statement about buffer
11133         for gethostbyname2_r.
11135 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
11137         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11138         Use .p2align directive instead, throughout.
11139         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11140         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11141         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11142         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11143         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11144         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11145         * sysdeps/x86_64/strchr.S: Likewise.
11146         * sysdeps/x86_64/strrchr.S: Likewise.
11148 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11150         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11152         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11154         * sysdeps/generic/math_private.h (__mpsin1): Remove
11155         declaration.
11156         (__mpcos1): Likewise.
11157         (__mpsin): New argument __range_reduce.
11158         (__mpcos): Likewise.
11159         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11160         (slow): Use __mpsin and __mpcos.
11161         (slow1): Likewise.
11162         (slow2): Likewise.
11163         (sloww): Likewise.
11164         (sloww1): Likewise.
11165         (sloww2): Likewise.
11166         (bsloww): Likewise.
11167         (bsloww1): Likewise.
11168         (bsloww2): Likewise.
11169         (cslow2): Likewise.
11170         (csloww): Likewise.
11171         (csloww1): Likewise.
11172         (csloww2): Likewise.
11173         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11174         range_reduce.  Merge in __mpsin1.
11175         (__mpcos): Likewise.
11176         (__mpsin1): Remove.
11177         (__mpcos1): Likewise.
11179 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
11181         * locale/loadlocale.c (_nl_intern_locale_data): Use
11182         LOCFILE_ALIGNED_P.
11183         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11184         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11185         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11186         obstack data is appropriately aligned.
11187         (obstack_int32_grow_fast): Likewise.
11188         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11189         * locale/programs/locfile.c (add_locale_uint32): Likewise.
11190         (add_locale_uint32_array): Likewise.
11192 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11194         * benchtests/Makefile: Remove ARGLIST and RET variables.
11195         ($(objpfx)bench-%.c): Pass only function name to the script.
11196         * benchtests/README: Update documentation.
11197         * benchtests/acos-inputs: Add new directives.
11198         * benchtests/acosh-inputs: Likewise.
11199         * benchtests/asin-inputs: Likewise.
11200         * benchtests/asinh-inputs: Likewise.
11201         * benchtests/atan-inputs: Likewise.
11202         * benchtests/atanh-inputs: Likewise.
11203         * benchtests/cos-inputs: Likewise.
11204         * benchtests/cosh-inputs: Likewise.
11205         * benchtests/exp-inputs: Likewise.
11206         * benchtests/log-inputs: Likewise.
11207         * benchtests/pow-inputs: Likewise.
11208         * benchtests/rint-inputs: Likewise.
11209         * benchtests/sin-inputs: Likewise.
11210         * benchtests/sinh-inputs: Likewise.
11211         * benchtests/tan-inputs: Likewise.
11212         * benchtests/tanh-inputs: Likewise.
11213         * scripts/bench.pl: Add support for new directives.
11215 2013-10-07  Alan Modra  <amodra@gmail.com>
11217         * README: Fix careless merge.
11219 2013-10-05  Alan Modra  <amodra@gmail.com>
11221         * NEWS: Mention powerpc64le support and bugs fixed.
11222         * README: Both big-endian and little-endian powerpc64 supported.
11224 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11226         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11227         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11228         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11229         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11231 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
11233         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11234         match prototype.
11236 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
11238         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11239         Move -mhard-float appending from
11240         ports/sysdeps/powerpc/powerpc32/Makefile.
11241         [$(with-fp) = yes] (ASFLAGS): Likewise.
11242         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11243         * sysdeps/powerpc/nofpu: Move directory from
11244         ports/sysdeps/powerpc/nofpu.
11245         * sysdeps/powerpc/soft-fp: Move directory from
11246         ports/sysdeps/powerpc/soft-fp.
11247         * sysdeps/powerpc/powerpc32/405: Move directory from
11248         ports/sysdeps/powerpc/powerpc32/405.
11249         * sysdeps/powerpc/powerpc32/440: Move directory from
11250         ports/sysdeps/powerpc/powerpc32/440.
11251         * sysdeps/powerpc/powerpc32/464: Move directory from
11252         ports/sysdeps/powerpc/powerpc32/464.
11253         * sysdeps/powerpc/powerpc32/476: Move directory from
11254         ports/sysdeps/powerpc/powerpc32/476.
11255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11256         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11258         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11260         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11262         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11264         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11265         * README: Update for powerpc-*-linux-gnu software floating point
11266         support in libc.
11268         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11269         case to powerpc/powerpc32*.
11270         * sysdeps/unix/sysv/linux/configure: Regenerated.
11272         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11273         (_FPU_MASK_OM): Define as 0x04.
11274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11276         0x00c10080.
11277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11278         0x0000003c.
11279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11282         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11283         getcontext_e500.
11284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11285         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11286         setcontext_e500.
11287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11288         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11289         and setcontext_e500.
11291 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
11293         * locale/iso-3166.def: Update iso-1366.def and related occurrences
11295 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11297         * manual/threads.texi (Default Thread Attributes): Fix typo.
11299 2013-10-04  Will Newton  <will.newton@linaro.org>
11301         * malloc/Makefile: Add tst-memalign.
11302         * malloc/tst-memalign.c: New file.
11304         * malloc/tst-posix_memalign.c: Add comments.
11305         (do_test): Add comments and call free on all potentially
11306         allocated pointers. Add space after cast.
11308         * malloc/tst-pvalloc.c: Add comments.
11309         (do_test): Add comments and call free on all potentially
11310         allocated pointers. Remove duplicate check for NULL pointer.
11311         Add space after cast.
11313         * malloc/tst-valloc.c: Add comments.
11314         (do_test): Add comments and call free on all potentially
11315         allocated pointers. Remove duplicate check for NULL pointer.
11316         Add space after cast.
11318 2013-10-04  Alan Modra  <amodra@gmail.com>
11320         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11321         Use stdint types in rather than __attribute__((mode())).
11322         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11324 2013-10-04  Alan Modra  <amodra@gmail.com>
11326         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11327         Correct handling of unaligned relocs for little-endian.
11328         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11330 2013-10-04  Alan Modra  <amodra@gmail.com>
11332         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11333         * configure: Regenerate.
11334         * nptl/shlib-versions: Powerpc*le starts at 2.18.
11335         * shlib-versions: Likewise.
11337 2013-10-04  Alan Modra  <amodra@gmail.com>
11339         * string/tester.c (test_memrchr): Increment reported test cycle.
11341 2013-10-04  Alan Modra  <amodra@gmail.com>
11343         * string/test-memcpy.c (do_one_test): When reporting errors, print
11344         string address and don't overrun end of string.
11346 2013-10-04  Alan Modra  <amodra@gmail.com>
11348         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11349         insrdi.  Make better use of reg selection to speed exit slightly.
11350         Schedule entry path a little better.  Remove useless "are we done"
11351         checks on entry to main loop.  Handle wrapping around zero address.
11352         Correct main loop count.  Handle single left-over word from main
11353         loop inline rather than by using loop_small.  Remove extra word
11354         case in loop_small caused by wrong loop count.  Add little-endian
11355         support.
11356         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11357         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
11358         cache hint.
11359         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11360         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11361         support.  Avoid rlwimi.
11362         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11364 2013-10-04  Alan Modra  <amodra@gmail.com>
11366         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11367         insrdi.  Formatting.
11368         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11369         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11370         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11371         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11372         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11373         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11375 2013-10-04  Alan Modra  <amodra@gmail.com>
11377         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11378         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11379         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11380         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11381         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11382         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11383         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11384         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11385         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
11386         use of regs.  Use power7 mtocrf.  Tidy function tails.
11388 2013-10-04  Alan Modra  <amodra@gmail.com>
11390         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11391         Formatting.  Consistently use rXXX register defines or rN defines.
11392         Use early exit labels that avoid restoring unused non-volatile regs.
11393         Make cr field use more consistent with rWORDn compares.  Rename
11394         regs used as shift registers for unaligned loop, using rN defines
11395         for short lifetime/multiple use regs.
11396         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11397         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
11398         addi 1,1,64 to pop stack frame.  Simplify return value code.
11399         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11401 2013-10-04  Alan Modra  <amodra@gmail.com>
11403         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11404         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
11405         rather than rlwimi.
11406         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11407         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11408         little-endian support.  Correct typos.
11409         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
11410         rather than rlwimi.
11411         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
11412         in loop and entry code to keep "and." results.
11413         (strchr): Add little-endian support.  Comment.  Move cntlzd
11414         earlier in tail.
11415         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11417 2013-10-04  Alan Modra  <amodra@gmail.com>
11419         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11420         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11421         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11422         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11424 2013-10-04  Alan Modra  <amodra@gmail.com>
11426         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11427         (rTMP): Define as r11.
11428         (strcmp): Add little-endian support.  Optimise tail.
11429         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11430         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11431         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11432         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11433         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11434         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11435         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11437 2013-10-04  Alan Modra  <amodra@gmail.com>
11439         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11440         little-endian support.  Remove unnecessary "are we done" tests.
11441         Handle "s" wrapping around zero and extremely large "size".
11442         Correct main loop count.  Handle single left-over word from main
11443         loop inline rather than by using small_loop.  Correct comments.
11444         Delete "zero" tail, use "end_max" instead.
11445         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11447 2013-10-04  Alan Modra  <amodra@gmail.com>
11449         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11450         support.  Don't branch over align.
11451         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11452         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11453         support.  Rearrange tmp reg use to suit.  Comment.
11454         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11456 2013-10-04  Alan Modra  <amodra@gmail.com>
11458         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11460 2013-10-04  Alan Modra  <amodra@gmail.com>
11462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11463         conditional form of branch and link when obtaining pc.
11464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11466 2013-10-04  Alan Modra  <amodra@gmail.com>
11468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11469         HIWORD/LOWORD.
11470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11473 2013-10-04  Alan Modra  <amodra@gmail.com>
11475         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11476         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11477         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11478         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11479         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11480         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11481         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11482         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11483         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11484         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11486 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11487             Alistair Popple <alistair@ozlabs.au.ibm.com>
11488             Alan Modra <amodra@gmail.com>
11490         [BZ #15723]
11491         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11492         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11493         _dl_hwcap access for little-endian.
11494         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
11495         destroy vmx regs when saving unaligned.
11496         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11497         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
11498         destroy vmx regs when saving unaligned.
11500 2013-10-04  Alan Modra  <amodra@gmail.com>
11502         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11503         Don't use a union to pack hi/low value.
11505 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11507         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11508         for little-endian.
11509         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11511         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11512         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11513         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11515 2013-10-04  Alan Modra  <amodra@gmail.com>
11517         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11518         constants to usual value for .cst8 section, and remove redundant
11519         high address load.
11520         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11521         constant for 0x1p52.  Load little-endian words of double from
11522         correct stack offsets.
11524 2013-10-04  Alan Modra  <amodra@gmail.com>
11526         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11527         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11528         words of double from correct stack offsets.
11529         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11530         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11531         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11532         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11533         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11534         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11535         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11536         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11537         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11538         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11539         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11540         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11541         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11542         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11543         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11544         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11545         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11547 2013-10-04  Alan Modra  <amodra@gmail.com>
11549         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11550         64-bit int/double union.
11551         (_FPU_SETCW): Likewise.
11552         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11553         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11555 2013-10-04  Alan Modra  <amodra@gmail.com>
11557         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11558         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11560 2013-10-04  Alan Modra  <amodra@gmail.com>
11562         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11563         use vector int constants.
11564         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11566 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11568         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11569         array with long long.
11570         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11571         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11572         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11573         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11574         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11575         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11576         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11577         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11578         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11579         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11580         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11581         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11582         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11584 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11586         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11587         (__signbit): Likewise.  Correct for little-endian.
11588         (__signbitl): Call __signbit.
11589         (lrint): Correct for little-endian.
11590         (lrintf): Call lrint.
11592 2013-10-04  Alan Modra  <amodra@gmail.com>
11594         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11595         union 32-bit int array member with 64-bit int array.
11596         (t515, tm256): Double rather than long double.
11597         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11599 2013-10-04  Alan Modra  <amodra@gmail.com>
11601         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11602         Delete.
11603         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11604         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11605         version of math_ldbl.h.
11607 2013-10-04  Alan Modra  <amodra@gmail.com>
11609         [BZ #15734], [BZ #15735]
11610         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11611         all uses of ieee875 long double macros and unions.  Simplify test
11612         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11613         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11614         normalize after ldbl_extract_mantissa, and don't add hidden bit
11615         already handled.  Don't treat low word of ieee854 mantissa like
11616         low word of IBM long double and mask off bit when testing for
11617         zero.
11618         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11619         all uses of ieee875 long double macros and unions.  Simplify tests
11620         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11621         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11622         two1022, instead use their values.  Recognise that tests for large
11623         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11624         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11625         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11626         test for 0.0L and nan.  Correct negation.
11627         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11628         ieee875 long double macros and unions.  Correct output for large
11629         magnitude x.  Correct absolute value calculation.
11630         (__erfcl): Likewise.
11631         * math/libm-test.inc: Add tests for errors discovered in IBM long
11632         double versions of fmodl, remainderl, erfl and erfcl.
11634 2013-10-04  Alan Modra  <amodra@gmail.com>
11636         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11637         all uses of ieee854 long double macros and unions.  Simplify tests
11638         for long doubles that are fully specified by the high double.
11639         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11640         Likewise.
11641         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11642         Remove dead code too.
11643         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11644         (__ieee754_ynl): Likewise.
11645         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11646         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11647         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11648         Remove dead code too.
11649         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11650         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11651         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11652         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11653         Simplify.
11654         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11655         Simplify.
11656         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11657         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11658         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11659         Comment on variable precision.
11660         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11661         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11662         Likewise.
11663         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11664         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11665         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11666         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11667         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11669 2013-10-04  Alan Modra  <amodra@gmail.com>
11671         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11672         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11673         all uses of ieee854 long double macros and unions.
11674         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11676         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11677         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11678         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11679         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11680         Likewise.
11681         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11682         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11683         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11684         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11685         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11686         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11687         Simplify sign and nan test too.
11688         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11689         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11690         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11691         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11692         Likewise.
11693         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11694         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11695         Likewise.
11696         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11697         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11698         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11699         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11700         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11701         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11703 2013-10-04  Alan Modra  <amodra@gmail.com>
11705         * stdio-common/printf_size.c (__printf_size): Don't use
11706         union ieee854_long_double in fpnum union.
11707         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11708         signbit macro to retrieve sign from long double.
11709         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11710         retrieve sign from long double.
11711         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11712         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11713         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11714         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11715         * math/test-misc.c (main): Don't use union ieee854_long_double.
11717 2013-10-04  Alan Modra  <amodra@gmail.com>
11719         [BZ #15680]
11720         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11721         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11722         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11723         calculation.  Remove unnecessary test for denormal exponent.
11724         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11725         Correct handling of denormals.  Avoid undefined shift behaviour.
11726         Correct normalisation of low mantissa when low double is denormal.
11727         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11728         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11729         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11730         Correct normalisation of low mantissa.  Test for overflow of high
11731         mantissa and normalise.
11732         (ldbl_nearbyint): Use more readable constant for two52.
11733         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11734         (__mpn_construct_long_double): Fix test for overflow of high
11735         mantissa and correct normalisation.  Avoid undefined shift.
11737 2013-10-04  Alan Modra  <amodra@gmail.com>
11739         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11740         (union ibm_extended_long_double): Define as an array of ieee754_double.
11741         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11742         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11743         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11744         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11745         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11746         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11747         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11748         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11749         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11750         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11751         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11753 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11755         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11756         page size instead of calling getpagesize.
11758         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11759         (LOCFILE_ALIGN_MASK): Likewise.
11760         (LOCFILE_ALIGN_UP): Likewise.
11761         (LOCFILE_ALIGNED_P): Likewise.
11762         * locale/programs/ld-collate.c (collate_output): Use the new
11763         macros instead of __alignof__ (int32_t).
11764         * locale/weight.h (findidx): Likewise.
11766 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11768         [BZ #431]
11769         * manual/string.texi: Fix strncat and wcsncat.
11771 2013-10-03  Brooks Moses  <bmoses@google.com>
11773         [BZ #15915]
11774         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11775         * Makerules: ...here, and adjust associated comments.
11777 2013-10-02  Will Newton  <will.newton@linaro.org>
11779         * malloc/Makefile: Add tst-pvalloc.
11780         * malloc/tst-pvalloc.c: New file.
11782 2013-10-02  Will Newton  <will.newton@linaro.org>
11784         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11785         improve test coverage.
11787 2013-10-02  Will Newton  <will.newton@linaro.org>
11789         * malloc/Makefile: Add tst-posix_memalign.
11790         * malloc/tst-posix_memalign.c: New file.
11792 2013-10-01  Eric Blake  <eblake@redhat.com>
11794         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11795         Use __THROWNL rather than __THROW on static functions.
11797 2013-09-30  Petr Machata  <pmachata@redhat.com>
11799         * elf/elf.h (R_AARCH64_ABS16): New macro.
11800         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11801         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11802         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11803         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11804         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11805         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11806         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11807         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11808         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11809         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11810         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11811         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11812         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11813         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11814         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11815         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11816         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11817         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11818         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11819         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11820         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11821         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11822         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11823         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11824         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11825         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11826         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11827         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11828         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11829         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11830         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11831         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11832         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11833         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11834         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11835         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11836         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11837         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11838         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11839         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11840         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11841         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11842         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11843         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11844         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11845         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11846         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11847         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11848         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11849         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11850         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11851         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11852         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11853         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11854         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11855         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11856         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11857         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11858         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11859         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11860         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11861         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11862         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11863         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11864         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11865         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11866         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11867         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11868         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11869         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11870         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11871         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11872         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11873         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11874         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11875         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11876         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11877         (R_AARCH64_TLSDESC_LDR): Likewise.
11878         (R_AARCH64_TLSDESC_ADD): Likewise.
11879         (R_AARCH64_TLSDESC_CALL): Likewise.
11881 2013-09-30  Andreas Schwab  <schwab@suse.de>
11883         [BZ #15048]
11884         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11885         the nss database lookup.
11886         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11889 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11891         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11893 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11895         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11896         ${Bash-specific parameter/pattern/string} parameter expansion.
11897         * sysdeps/unix/make-syscalls.sh: Likewise.
11899 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11901         * sysdeps/sh/stackguard-macros.h: New file.
11903 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11907         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11908         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11909         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11910         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11912 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11914         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11915         Fix thread ID register.
11917 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11919         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11920         [POSIX || UNIX98]: Require rather than permitting all symbols from
11921         <time.h>.
11922         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11923         element of struct sched_param.
11924         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11925         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11926         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11927         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11928         constant.
11930 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11932         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11933         argument calculation.
11935 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11937         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11938         Expect macro.
11939         [POSIX] (pthread_attr_t): Do not require type.
11940         [POSIX] (pthread_cond_t): Likewise.
11941         [POSIX] (pthread_condattr_t): Likewise.
11942         [POSIX] (pthread_key_t): Likewise.
11943         [POSIX] (pthread_mutex_t): Likewise.
11944         [POSIX] (pthread_mutexattr_t): Likewise.
11945         [POSIX] (pthread_once_t): Likewise.
11946         [POSIX] (pthread_t): Likewise.
11947         [POSIX-based standards] (pthread_atfork): Expect function.
11949 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11950             Richard Sandiford  <richard@codesourcery.com>
11952         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11953         (swap_endianness_p): New extern variable.
11954         (set_big_endian): New inline function.
11955         (maybe_swap_uint32): Likewise.
11956         (maybe_swap_uint32_array): Likewise.
11957         (maybe_swap_uint32_obstack): Likewise.
11958         * locale/programs/locfile.c: Include <stdbool.h>.
11959         (swap_endianness_p): New variable.
11960         (add_locale_uint32): Call maybe_swap_uint32.
11961         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11962         (write_locale_data): Call maybe_swap_uint32_array.
11963         * locale/programs/ld-collate.c (obstack_int32_grow): Call
11964         maybe_swap_uint32.
11965         (obstack_int32_grow_fast): Likewise.
11966         (output_weightwc): Call maybe_swap_uint32_obstack.
11967         (collate_output): Likewise.
11968         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11969         (OPT_LITTLE_ENDIAN): Likewise.
11970         (options): Add --little-endian and --big-endian options.
11971         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11972         * locale/programs/locarchive.c: Include "locfile.h".
11973         (GET): New macro.
11974         (SET): Likewise.
11975         (INC): Likewise.
11976         (create_archive): Use the new macros to access fields of
11977         structures directly mapped from or written to locale archives.
11978         (oldlocrecentcmp): Likewise.
11979         (enlarge_archive): Likewise.
11980         (insert_name): Likewise.
11981         (add_alias): Likewise.
11982         (add_locale): Likewise.
11983         (delete_locales_from_archive): Likewise.
11984         (show_archive_content): Likewise.
11985         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
11986         locale data.
11988 2013-09-24  Roland McGrath  <roland@hack.frob.com>
11990         * manual/freemanuals.texi: Updated from (newly) canonical copy at
11991         http://www.gnu.org/doc/freemanuals.texi.
11992         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11994 2013-09-24  Will Newton  <will.newton@linaro.org>
11996         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11997         macro.
11999 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
12001         * locale/hashval.h (compute_hashval): Interpret bytes of key as
12002         unsigned char.
12004 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
12006         * manual/threads.texi (POSIX Threads): Fix a typo.
12008 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12010         [BZ #14547]
12011         * string/tst-strcoll-overflow.c: New test case.
12012         * string/Makefile (xtests): Add tst-strcoll-overflow.
12013         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12014         cache if string sizes may cause integer overflow.
12016         [BZ #14547]
12017         * string/strcoll_l.c (coll_seq): New members rule, idx,
12018         save_idx and back_us.
12019         (get_next_seq_nocache): New function.
12020         (do_compare_nocache): New function.
12021         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12022         when malloc fails.
12024 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
12026         [BZ #15754]
12027         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12028         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12029         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12031         [BZ #15754]
12032         * elf/Makefile (tests): Add tst-ptrguard1.
12033         (tests-static): Add tst-ptrguard1-static.
12034         (tst-ptrguard1-ARGS): Define.
12035         (tst-ptrguard1-static-ARGS): Define.
12036         * elf/tst-ptrguard1.c: New file.
12037         * elf/tst-ptrguard1-static.c: New file.
12038         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12039         * sysdeps/i386/stackguard-macros.h: Likewise.
12040         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12041         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12042         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12043         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12044         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12045         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12047 2013-09-23  Hector Marco  <hecmargi@upv.es>
12048             Ismael Ripoll  <iripoll@disca.upv.es>
12049             Carlos O'Donell  <carlos@redhat.com>
12051         [BZ #15754]
12052         * sysdeps/generic/stackguard-macros.h: Define
12053         __pointer_chk_guard_local and POINTER_CHK_GUARD.
12054         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12055         Define __pointer_chk_guard_local.
12056         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12057         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12059 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
12061         [BZ #15859]
12062         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12064 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
12066         * include/string.h (__ffs): Declare as hidden.
12067         * string/ffs.c (__ffs): Define as hidden.
12068         * sysdeps/i386/ffs.c (__ffs): Likewise.
12069         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12070         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12071         * sysdeps/s390/ffs.c (__ffs): Likewise.
12072         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12074 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
12076         * NEWS: Mention malloc probes.
12078         * malloc/arena.c (new_heap): New memory_heap_new probe.
12079         (grow_heap): New memory_heap_more probe.
12080         (shrink_heap): New memory_heap_less probe.
12081         (heap_trim): New memory_heap_free probe.
12082         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12083         (systrim): New memory_sbrk_less probe.
12084         * manual/probes.texi: Document them.
12086         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12087         * manual/probes.texi: Document it.
12089         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12090         (__libc_realloc): Add memory_realloc_retry probe.
12091         (__libc_memalign): Add memory_memalign_retry probe.
12092         (__libc_valloc): Add memory_valloc_retry probe.
12093         (__libc_pvalloc): Add memory_pvalloc_retry probe.
12094         (__libc_calloc): Add memory_calloc_retry probe.
12095         * manual/probes.texi: Document them.
12097         * malloc/arena.c (get_free_list): Add probe
12098         memory_arena_reuse_free_list.
12099         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12100         and memory_arena_reuse.
12101         (arena_get2) [!PER_THREAD]: Likewise.
12102         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12103         memory_arena_reuse_realloc.
12104         * manual/probes.texi: Document them.
12106         * malloc/malloc.c (__libc_free): Add
12107         memory_mallopt_free_dyn_thresholds probe.
12108         (__libc_mallopt): Add multiple memory_mallopt probes.
12109         * manual/probes.texi: Document them.
12111         * malloc/malloc.c: Include stap-probe.h.
12112         (__libc_mallopt): Add memory_mallopt probe.
12113         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12114         * manual/probes.texi: New.
12115         * manual/Makefile (chapters): Add probes.
12116         * manual/threads.texi: Set next node.
12118 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
12120         [BZ #15963, #13985]
12121         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12122         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12123         Add `Chinese' to `nan' entry name.
12125 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12127         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12128         (POLYNOMIAL): Likewise.
12129         (TAYLOR_SINCOS): Likewise.
12130         (TAYLOR_SLOW): Likewise.
12131         (__sin): Use TAYLOR_SINCOS.
12132         (__cos): Likewise.
12133         (slow): Use TAYLOR_SLOW.
12134         (sloww): Likewise.
12135         (bsloww): Likewise.
12136         (csloww): Likewise.
12138 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12140         * stdlib/strtod_l.c: Fix buffer overrun.
12142 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12144         * benchtests/Makefile (bench): Add sincos.
12145         * benchtests/bench-sincos.c: New file.
12147         * math/libm-test.inc (cos_test_data): New test inputs.
12148         (sin_test_data): Likewise.
12150         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12151         macro.
12152         (__sin): Use it.
12153         (__cos): Likewise.
12154         (slow1): Likewise.
12155         (slow2): Likewise.
12156         (sloww1): Likewise.
12157         (sloww2): Likewise.
12158         (bsloww1): Likewise.
12159         (bsloww2): Likewise.
12160         (cslow2): Likewise.
12161         (csloww1): Likewise.
12162         (csloww2): Likewise.
12164         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12165         function.
12166         (__sin): Use it.
12167         (__cos): Likewise.
12169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12170         gotos.
12171         (__cos): Likewise.
12173 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
12175         * config.h.in (HAVE_MIPS_NAN2008): New macro.
12176         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12177         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12178         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12179         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12180         * elf/cache.c (print_entry): Handle the new cache flags.
12182 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12183             Aldy Hernandez  <aldyh@redhat.com>
12185         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12186         Change condition to [_SOFT_FLOAT].
12187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12199         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12202         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12203         declaration.
12205 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12207         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12208         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12209         (__longjmp): Use LOAD_GP to load saved GPRs.
12210         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12211         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12212         (__sigsetjmp): Use SAVE_GP to save GPRs.
12214         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12215         Do not append -msoft-float.
12216         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12218 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12220         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12222 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
12224         [BZ #15966]
12225         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12226         (_FPU_GETCW): Use initial "__" on variable and field names but not
12227         on macro parameter name.
12228         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
12229         parentheses around reference to macro parameter.
12231 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
12233         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12234         prototype.
12235         (ctype_startup): Use uint32_t in cast and sizeof for
12236         ctype->charnames.
12238 2013-09-11  Jia Liu  <proljc@gmail.com>
12240         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12241         __daddr_t_defined.
12242         [__FreeBSD__]: Likewise.
12244 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
12246         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12247         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12248         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12249         (strchr): Remove __strchr_sse42 ifunc selection.
12250         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12251         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12253 2013-09-11  Will Newton  <will.newton@linaro.org>
12255         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12256         parameter to RES. Remove hardcoded 1000 value.
12257         * benchtests/bench-skeleton.c (main): Pass RES parameter
12258         to TIMING_INIT and multiply result by 1000.
12260 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12264 2013-09-11  Andreas Schwab  <schwab@suse.de>
12266         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12267         if not defined.
12268         (O_TMPFILE) [__USE_GNU]: Define.
12269         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12270         Define.
12272 2013-09-11  Will Newton  <will.newton@linaro.org>
12274         [BZ #15857]
12275         * malloc/malloc.c (__libc_memalign): Check the value of bytes
12276         does not overflow.
12278 2013-09-11  Will Newton  <will.newton@linaro.org>
12280         [BZ #15856]
12281         * malloc/malloc.c (__libc_valloc): Check the value of bytes
12282         does not overflow.
12284 2013-09-11  Will Newton  <will.newton@linaro.org>
12286         [BZ #15855]
12287         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12288         does not overflow.
12290 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
12292         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12293         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12294         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12295         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12296         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12298 2013-09-10  Allan McRae  <allan@archlinux.org>
12300         [BZ #15748]
12301         * manual/arith.texi (Parsing of Floats): Clarify
12302         cross-reference.
12304         [BZ #15849]
12305         * manual/install.texi (Running make install): Mention
12306         --enable-pt-chown.
12307         * INSTALL: Regenerated.
12309 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12311         * csu/init-first.c (_init): Remove the !SHARED condition around
12312         FPU control word initialization.
12313         * elf/dl-support.c (_dl_fpu_control): New variable.
12314         (_dl_aux_init) <AT_FPUCW>: Initialize it.
12315         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12316         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12317         * math/test-fpucw-static.c: New file.
12318         * math/test-fpucw-ieee.c: New file.
12319         * math/test-fpucw-ieee-static.c: New file.
12320         * math/Makefile (tests): Add `test-fpucw-ieee' and
12321         `$(tests-static)'.
12322         (tests-static): New variable.
12323         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12324         dependency to...
12325         [($(build-shared),yes)]
12326         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12327         ... this.
12328         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12329         New dependency.
12331 2013-09-09  Allan McRae  <allan@archlinux.org>
12333         [BZ #15939]
12334         * manual/string.texi (Collation Functions): Fix typo in
12335         strcoll example.
12336         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12338         [BZ #15893]
12339         * stdlib/isomac.c (get_null_defines): Fix memory leak.
12341         [BZ #15892]
12342         * libio/memstream.c (open_memstream): Fix memory leak.
12343         * libio/wmemstream.c (open_wmemstream): Likewise.
12345         [BZ #15895]
12346         * nscd/netgroupcache.c: Fix nesting of ifdefs.
12348 2013-09-09  Will Newton  <will.newton@linaro.org>
12350         * malloc/Makefile: Add tst-realloc to tests.
12351         * malloc/tst-realloc.c: New file.
12353 2013-09-09  Allan McRae  <allan@archlinux.org>
12355         [BZ #15844]
12356         * COPYING: Update from GNU website to fix FSF address.
12357         * COPYING.LIB: Likewise.
12359 2013-09-06  David S. Miller  <davem@davemloft.net>
12361         * po/zh_TW.po: Update Chinese (traditional) translation from
12362         translation project.
12364 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
12365             Joseph Myers  <joseph@codesourcery.com>
12367         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12368         "localeinfo.h".
12369         (obstack_chunk_alloc): New macro.
12370         (obstack_chunk_free): Likewise.
12371         (record_offset): New function.
12372         (init_locale_data): Likewise.
12373         (align_locale_data): Likewise.
12374         (add_locale_empty): Likewise.
12375         (add_locale_raw_data): Likewise.
12376         (add_locale_raw_obstack): Likewise.
12377         (add_locale_string): Likewise.
12378         (add_locale_wstring): Likewise.
12379         (add_locale_uint32): Likewise.
12380         (add_locale_uint32_array): Likewise.
12381         (add_locale_char): Likewise.
12382         (start_locale_structure): Likewise.
12383         (end_locale_structure): Likewise.
12384         (start_locale_prelude): Likewise.
12385         (end_locale_prelude): Likewise.
12386         (write_locale_data): Take locale_file structure rather than an
12387         iovec.
12388         * locale/programs/locfile.h: Include "obstack.h".
12389         (struct locale_file): Change to store locale file contents instead
12390         of header.
12391         (init_locale_data): New prototype.
12392         (align_locale_data): Likewise.
12393         (add_locale_empty): Likewise.
12394         (add_locale_raw_data): Likewise.
12395         (add_locale_raw_obstack): Likewise.
12396         (add_locale_string): Likewise.
12397         (add_locale_wstring): Likewise.
12398         (add_locale_uint32): Likewise.
12399         (add_locale_uint32_array): Likewise.
12400         (add_locale_char): Likewise.
12401         (start_locale_structure): Likewise.
12402         (end_locale_structure): Likewise.
12403         (start_locale_prelude): Likewise.
12404         (end_locale_prelude): Likewise.
12405         (write_locale_data): Update prototype.
12406         * locale/programs/3level.h (struct TABLE): Remove result field.
12407         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12408         Use new locale_file interface.
12409         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12410         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12411         * locale/programs/ld-address.c (address_output): Use new
12412         locale_file interface.
12413         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12414         NO_ADD_LOCALE.
12415         (collate_finish): Don't call collseq_table_finalize.
12416         (collate_output): Use new locale_file interface.
12417         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12418         in file.
12419         (NO_FINALIZE): Change to NO_ADD_LOCALE.
12420         (TABLE): Move defines earlier in file.
12421         (ELEMENT): Likewise.
12422         (DEFAULT): Likewise.
12423         (wctrans_table_add): Move macro and inline function earlier in
12424         file.
12425         (struct wctype_table): Move type earlier in file.
12426         (add_locale_wctype_table): New static prototype.
12427         (struct locale_ctype_t): Use logical types instead of struct iovec
12428         pointers for members.
12429         (ctype_output): Use new locale_file interface.
12430         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
12431         new locale_file interface.
12432         (allocate_arrays): Update for use of new locale_file interface.
12433         * locale/programs/ld-identification.c (identification_output): Use
12434         new locale_file interface.
12435         * locale/programs/ld-measurement.c (measurement_output): Likewise.
12436         * locale/programs/ld-messages.c (messages_output): Likewise.
12437         * locale/programs/ld-monetary.c (monetary_output): Likewise.
12438         * locale/programs/ld-name.c (name_output): Likewise.
12439         * locale/programs/ld-numeric.c (numeric_output): Likewise.
12440         * locale/programs/ld-paper.c (paper_output): Likewise.
12441         * locale/programs/ld-telephone.c (telephone_output): Likewise.
12442         * locale/programs/ld-time.c (time_output): Likewise.
12444 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12446         * benchtests/Makefile: Add memrchr benchmark.
12447         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12448         benchmark as memrchr.
12449         * benchtests/bench-memrchr-ifunc.c: New file.
12450         * benchtests/bench-memrchr.c: New file.
12452 2013-09-06   Will Newton  <will.newton@linaro.org>
12454         * benchtests/Makefile (string-bench): Add memcpy.
12456 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
12457             Cong Wang  <amwang@redhat.com>
12459         [BZ #15850]
12460         * sysdeps/unix/sysv/linux/bits/in.h
12461         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12462         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12463         before __USE_KERNEL_IPV6_DEFS uses.
12464         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12465         IPPROTO_BEETPH.
12466         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12467         sockaddr_in6, or ipv6_mreq.
12469 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12471         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12472         memory access for final bytes in some large inputs.
12473         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12475 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12477         * string/test-memrchr.c: New file.
12478         * string/test-memrchr-ifunc.c: New file.
12479         * string/Makefile: Add new memrchr testcase.
12481 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
12483         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12484         fanotify_init returns EPERM.
12486 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12488         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12489         errors.
12490         (top level): Treat second token from macro or constant entries for
12491         allowed headers as allowed.
12492         * include/complex.h: Condition internal declarations on
12493         [!_ISOMAC].
12494         * include/fenv.h: Condition include of <stdbool.h> and internal
12495         declarations on [!_ISOMAC].
12497 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
12499         [BZ #15923]
12500         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12502 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12504         * configure.in (--enable-versioning): Remove configure option.
12505         (libc_cv_asm_symver_directive): Remove configure test.
12506         (libc_cv_ld_version_script_option): Likewise.
12507         (VERSIONING): Remove variable and AC_SUBST.
12508         (DO_VERSIONING): Remove AC_DEFINE.
12509         * configure: Regenerated.
12510         * config.h.in (DO_VERSIONING): Remove macro.
12511         * Makerules [$(versioning) = yes]: Change conditionals to
12512         [$(build-shared) = yes].
12513         * config.make.in (versioning): Remove variable.
12514         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12515         [$(build-shared) = yes].
12516         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12517         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12518         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12519         [$(build-shared) = yes].
12520         * extra-lib.mk [$(versioning) = yes]: Likewise.
12521         * hurd/Makefile [$(versioning) = yes]: Likewise.
12522         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12523         [SHARED].
12524         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12525         [SHARED].
12526         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12527         [SHARED && !NO_HIDDEN].
12528         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12529         [SHARED].
12530         [SHARED && DO_VERSIONING]: Likewise..
12531         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12532         [$(build-shared) = yes].
12533         * manual/install.texi (--disable-versioning): Remove
12534         documentation.
12535         * INSTALL: Regenerated.
12536         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12537         to [SHARED].
12538         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12539         [$(build-shared) = yes].
12540         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12541         * sysdeps/i386/i686/multiarch/strstr-c.c
12542         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12543         [SHARED && !NO_HIDDEN].
12544         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12545         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12546         * sysdeps/powerpc/powerpc32/dl-machine.c
12547         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12548         * sysdeps/powerpc/powerpc32/sysdep.h
12549         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12550         to [SHARED && PIC && !NO_HIDDEN].
12551         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12552         conditional to [SHARED].
12554 2013-09-04   Will Newton  <will.newton@linaro.org>
12556         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12557         * benchtests/bench-string.h: Include bench-timing.h instead
12558         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12559         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12560         call to HP_TIMING_DIFF_INIT.
12561         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12562         instead of hp-timing.h macros.
12563         * benchtests/bench-memchr.c: Likewise.
12564         * benchtests/bench-memcmp.c: Likewise.
12565         * benchtests/bench-memcpy.c: Likewise.
12566         * benchtests/bench-memmem.c: Likewise.
12567         * benchtests/bench-memmove.c: Likewise.
12568         * benchtests/bench-memset.c: Likewise.
12569         * benchtests/bench-rawmemchr.c: Likewise.
12570         * benchtests/bench-strcasecmp.c: Likewise.
12571         * benchtests/bench-strcasestr.c: Likewise.
12572         * benchtests/bench-strcat.c: Likewise.
12573         * benchtests/bench-strchr.c: Likewise.
12574         * benchtests/bench-strcmp.c: Likewise.
12575         * benchtests/bench-strcpy.c: Likewise.
12576         * benchtests/bench-strcpy_chk.c: Likewise.
12577         * benchtests/bench-strlen.c: Likewise.
12578         * benchtests/bench-strncasecmp.c: Likewise.
12579         * benchtests/bench-strncat.c: Likewise.
12580         * benchtests/bench-strncmp.c: Likewise.
12581         * benchtests/bench-strncpy.c: Likewise.
12582         * benchtests/bench-strnlen.c: Likewise.
12583         * benchtests/bench-strpbrk.c: Likewise.
12584         * benchtests/bench-strrchr.c: Likewise.
12585         * benchtests/bench-strspn.c: Likewise.
12586         * benchtests/bench-strstr.c: Likewise.
12588 2013-09-04  Will Newton  <will.newton@linaro.org>
12590         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12592 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12594         [BZ #15427]
12595         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12596         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12597         * math/libm-test.inc (lgamma_test_data): Add more tests.
12598         * sysdeps/i386/fpu/libm-test-ulps: Update.
12599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12601 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12603         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12605         Add ifunc.
12606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12607         Add strcmp-sse2-unaligned
12608         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12610 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12612         * Versions.def (libc): Add GLIBC_2.19.
12614 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12616         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12617         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12619 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12621         [BZ #14155]
12622         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12623         intermediate calculations in recurrence.
12624         (__ieee754_ynf): Likewise.
12625         * math/libm-test.inc (jn_test_data): Do not allow spurious
12626         underflow exception.  Add more tests.
12627         (yn_test_data): Add more tests.
12628         * sysdeps/i386/fpu/libm-test-ulps: Update.
12629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12631 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12633         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12635 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12637         * csu/init-first.c: Fix then/than typos.
12638         * locale/programs/ld-collate.c: Likewise.
12639         * locale/programs/linereader.h: Likewise.
12640         * manual/charset.texi: Likewise.
12641         * manual/filesys.texi: Likewise.
12642         * manual/stdio.texi: Likewise.
12643         * manual/string.texi: Likewise.
12644         * stdlib/fmtmsg.c: Likewise.
12645         * sysdeps/i386/stpncpy.S: Likewise.
12646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12647         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12648         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12649         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12651 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12653         * elf/dl-open.c: Fix typos.
12654         * iconvdata/gbbig5.c: Likewise.
12655         * iconvdata/iso-2022-jp.c: Likewise.
12656         * iconv/gconv_int.h: Likewise.
12657         * iconv/loop.c: Likewise.
12658         * nis/rpcsvc/nis.h: Likewise.
12659         * resolv/ns_name.c: Likewise.
12660         * stdio-common/vfscanf.c: Likewise.
12661         * streams/stropts.h: Likewise.
12662         * sunrpc/rpc_thread.c: Likewise.
12663         * sysdeps/i386/strpbrk.S: Likewise.
12664         * sysdeps/ieee754/k_standard.c: Likewise.
12665         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12666         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12667         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12668         * sysdeps/mach/hurd/profil.c: Likewise.
12669         * sysdeps/s390/dl-procinfo.h: Likewise.
12670         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12671         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12672         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12673         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12674         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12676 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12678         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12681 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12683         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12684         aix specific files.
12685         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12686         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12687         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12688         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12689         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12690         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12691         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12692         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12694 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12695             Roland McGrath  <roland@hack.frob.com>
12697         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12698         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12700 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12702         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12703         __executable_start symbol instead of _start.
12705 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12707         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12708         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12709         Move macros to...
12710         * sysdeps/gnu/ldsodefs.h: ... this new file.
12712         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12713         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12714         instead of ELFOSABI_LINUX.
12716         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12717         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12718         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12719         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12720         Likewise.
12721         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12722         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12723         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12724         Likewise.
12725         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12726         (ibm_extended_long_double): Add ieee_nan member.
12727         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12728         (do_test): New function.
12730         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12731         TEST_TRUNC.
12732         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12733         functions, renamed from truncdfsf_test, trunctfsf_test,
12734         trunctfdf_test.
12735         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12736         functions.
12737         (do_test): Run all these.
12739 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12741         * argp/argp-help.c: Fix typos.
12742         * argp/argp-parse.c: Likewise.
12743         * debug/backtracesyms.c: Likewise.
12744         * elf/elf.h: Likewise.
12745         * malloc/malloc.c: Likewise.
12746         * nis/nis_print.c: Likewise.
12747         * resolv/res_comp.c: Likewise.
12748         * stdlib/stdlib.h: Likewise.
12749         * sunrpc/clnt_tcp.c: Likewise.
12750         * sunrpc/clnt_udp.c: Likewise.
12751         * sunrpc/clnt_unix.c: Likewise.
12752         * sysdeps/unix/bsd/ptsname.c: Likewise.
12753         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12754         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12756         Likewise.
12757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12758         Likewise.
12759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12760         Likewise.
12761         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12763 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12765         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12768 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12770         [BZ #15897]
12771         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12772         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12773         ($(objpfx)bug-dl-leaf): New rule.
12774         ($(objpfx)bug-dl-leaf.so): Likewise.
12775         ($(objpfx)bug-dl-leaf.out): Likewise.
12776         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12777         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12778         * dlfcn/bug-dl-leaf.c: New test.
12779         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12780         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12781         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12782         (dlclose): Likewise.
12783         (dlmopen): Likewise.
12785 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12787         * include/netdb.h [!_ISOMAC]:
12788         Don't include <tls.h>.
12789         (h_errno, __libc_h_errno): Move declaration and macros out of
12790         [_LIBC_REENTRANT].
12792         * include/resolv.h [_RESOLV_H_]:
12793         Don't include <tls.h>.
12794         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12795         * resolv/res_libc.c: Don't include <tls.h>.
12796         (_res): Use __attribute__ ((nocommon)) in place of
12797         __attribute__ ((section (".bss"))).
12799         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12800         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12802         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12804         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12805         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12807         * resolv/res_mkquery.c: Include <sys/time.h>.
12809         * inet/ifreq.c: Moved to ...
12810         * sysdeps/unix/ifreq.c: ... here.
12811         * inet/ifreq.c: New file, true stub version.
12813         * socket/sa_len.c: New file.
12814         * socket/Makefile (aux): Add it.
12815         * sysdeps/unix/sysv/linux/Makefile
12816         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12817         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12818         and #include <socket/sa_len.c>.
12819         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12820         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12822         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12823         * bits/socket.h: ... here.
12825         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12826         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12827         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12829 2013-08-27  Andreas Schwab  <schwab@suse.de>
12831         [BZ #15736]
12832         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12833         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12834         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12835         * string/test-strcasecmp.c (test_main): Run tests in several
12836         locales.
12837         * string/test-strncasecmp.c (test_main): Likewise.
12839         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12840         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12841         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12843         (__strncasecmp_ssse3) [PIC]: Likewise.
12845 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12847         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12849         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12850         instead of explicitly declaring xdecrypt.
12851         * nis/nss_nis/nis-publickey.c: Likewise.
12853 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12855         [BZ #15890]
12856         * nscd/aicache.c: Include res_hconf.h.
12857         (addhstaiX): Initialize res_hconf.
12859 2013-08-26  Andreas Schwab  <schwab@suse.de>
12861         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12862         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12864 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12866         * nscd/aicache.c (addhstaiX): Fix indentation.
12868 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12870         * configure.ac: Quote $build_pt_chown test.
12871         * configure: Regenerated.
12873 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12875         [BZ #15532]
12876         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12877         * math/s_cexpf.c (__cexpf): Likewise.
12878         * math/s_cexpl.c (__cexpl): Likewise.
12879         * math/libm-test.inc (cexp_test_data): Correct expected return
12880         value for NaN + i0.  Add another test.
12882 2013-08-22  David S. Miller  <davem@davemloft.net>
12884         * po/ca.po: Update Catalan translation from translation project.
12885         * po/uk.po: Add Ukrainian translations from translation project.
12887 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12889         [BZ #15797]
12890         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12891         is infinite, not alongside NaN test.
12892         * math/s_fdimf.c (__fdimf): Likewise.
12893         * math/s_fdiml.c (__fdiml): Likewise.
12894         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12895         errno is unchanged.
12897 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12899         * argp/argp-help.c: Fix typos.
12900         * crypt/speeds.c: Likewise.
12901         * csu/check_fds.c: Likewise.
12902         * elf/dl-load.c: Likewise.
12903         * elf/dl-open.c: Likewise.
12904         * elf/reldep3.c: Likewise.
12905         * elf/reldep.c: Likewise.
12906         * elf/sprof.c: Likewise.
12907         * iconv/iconv_charmap.c: Likewise.
12908         * iconv/skeleton.c: Likewise.
12909         * iconv/strtab.c: Likewise.
12910         * io/lockf64.c: Likewise.
12911         * libio/libioP.h: Likewise.
12912         * resolv/gai_notify.c: Likewise.
12913         * resolv/ns_name.c: Likewise.
12914         * resolv/ns_samedomain.c: Likewise.
12915         * resolv/res_send.c: Likewise.
12916         * stdlib/random.c: Likewise.
12917         * sunrpc/rpc/xdr.h: Likewise.
12918         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12919         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12920         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12921         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12922         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12923         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12924         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12925         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12926         * sysdeps/mach/hurd/check_fds.c: Likewise.
12927         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12928         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12929         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12930         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12931         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12932         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12933         * sysdeps/pthread/aio_notify.c: Likewise.
12934         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12935         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12936         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12937         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12938         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12940 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12942         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12943         version if bit_Slow_SSE4_2 is set.
12944         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12945         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12947 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12949         [BZ #15867]
12950         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12951         trampoline stack frame information.
12952         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12953         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12954         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12955         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12956         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12957         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12958         (_libc_vdso_platform_setup): Initialize the signal trampolines.
12959         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12960         sa_flags value.
12961         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12962         interrupting a syscall and set with option SA_SIGINFO.
12964 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12966         [BZ #15531]
12967         * math/s_cproj.c (__cproj): Only return an infinity if one part of
12968         argument is infinite.
12969         * math/s_cprojf.c (__cprojf): Likewise.
12970         * math/s_cprojl.c (__cprojl): Likewise.
12971         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12972         * math/libm-test.inc (cproj_test_data): Add more tests.
12974         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12976         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12977         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12978         size.  Use __ffs to determine corresponding shift.
12980 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12981             Roland McGrath  <roland@hack.frob.com>
12983         * Makefile (INSTALL): Remove trailing blank lines from output of
12984         makeinfo.
12986 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12988         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12989         Align 32 bit compat elf_greg to 8 bytes.
12991 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12993         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12995 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12997         * string/strcoll_l.c (coll_seq): New structure.
12998         (get_next_seq_cached): New function.
12999         (get_next_seq): New function.
13000         (do_compare): New function.
13001         (STRCOLL): Use GNU style definition.  Simplify implementation
13002         by using get_next_seq, get_next_seq_cached and do_compare.
13004 2013-08-16  Florian Weimer  <fweimer@redhat.com>
13006         [BZ #14699]
13007         CVE-2013-4237
13008         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13009         member.
13010         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13011         member.
13012         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13013         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13014         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
13015         conditional.
13016         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13017         GETDENTS_64BIT_ALIGNED.
13018         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13019         * manual/filesys.texi (Reading/Closing Directory): Document
13020         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
13021         strongly.
13022         * manual/conf.texi (Limits for Files): Add portability note to
13023         NAME_MAX, PATH_MAX.
13024         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13026 2013-08-13  Andreas Schwab  <schwab@suse.de>
13028         [BZ #15749]
13029         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13030         of fabs.
13031         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13032         LDBL_MAX_EXP >= 16384]: Add tests for it.
13034 2013-08-12  David S. Miller  <davem@davemloft.net>
13036         * version.h (RELEASE): Set to "development".
13037         (VERSION): Set to "2.18.90".
13038         * NEWS: Add 2.19 section.
13040 2013-08-03  David S. Miller  <davem@davemloft.net>
13042         * po/ko.po: Update Korean translation from translation project.
13044 2013-08-01  David S. Miller  <davem@davemloft.net>
13046         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
13047         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13048         Bilka.
13050 2013-07-30  David S. Miller  <davem@davemloft.net>
13052         * po/fr.po: Update French translation from translation project.
13054 2013-07-28  David S. Miller  <davem@davemloft.net>
13056         * po/cs.po: Update Czech translation from translation project.
13058         * po/sv.po: Update Swedish translation from translation project.
13060 2013-07-27  David S. Miller  <davem@davemloft.net>
13062         * po/eo.po: Update Esperanto translation from translation project.
13064         * po/vi.po: Update Vietnamese translation from translation project.
13066         * po/de.po: Update German translation from translation project.
13068 2013-07-26  David S. Miller  <davem@davemloft.net>
13070         * po/bg.po: Update Bulgarian translation from translation project.
13072         * po/nl.po: Update Dutch translation from translation project.
13073         * po/pl.po: Update Polish translation from translation project.
13074         * po/ru.po: Update Russian translation from translation project.
13076 2013-07-24  David S. Miller  <davem@davemloft.net>
13078         * po/libc.pot: Update.
13080 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13082         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13083         variable page size.
13084         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13085         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13086         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13088 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13090         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13092 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13093             Andreas Schwab  <schwab@suse.de>
13094             Roland McGrath  <roland@hack.frob.com>
13095             Joseph Myers  <joseph@codesourcery.com>
13096             Carlos O'Donell  <carlos@redhat.com>
13098         [BZ #15755]
13099         * config.h.in: Define HAVE_PT_CHOWN.
13100         * config.make.in (build-pt-chown): New variable.
13101         * configure.in (--enable-pt_chown): New configure option.
13102         * configure: Regenerate.
13103         * login/Makefile: Include Makeconfig.  Build pt_chown only if
13104         build-pt-chown is enabled.
13105         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13106         pt_chown to fix pty ownership.
13107         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13108         CLOSE_ALL_FDS.
13109         * manual/install.texi (Configuring and compiling): Mention
13110         --enable-pt_chown. Add @findex for grantpt.
13111         * INSTALL: Regenerate.
13113 2013-07-20  David S. Miller  <davem@davemloft.net>
13115         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13116         difference between 32-bit and 64-bit.
13118 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
13120         [BZ #15711]
13121         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13122         Avoid system header dependency with -ffreestanding.
13123         ($(objpfx)bits/syscall%d): Likewise.
13125 2013-07-13  David S. Miller  <davem@davemloft.net>
13127         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13128         underflows from atanl/atan2l due to bug 15319.
13129         (casinh_test_data): Likewise.
13131 2013-07-07  David S. Miller  <davem@davemloft.net>
13133         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13135 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
13137         * sysdeps/i386/fpu/libm-test-ulps: Update.
13138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13140 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13142         * configure.in (--enable-lock-elision): Fix message text.
13143         * INSTALL: Regenerate.
13144         * configure: Regenerate.
13146 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13150 2013-07-03  Andreas Jaeger  <aj@suse.de>
13152         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13153         define.
13154         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13155         (ptrace_peeksiginfo_args): Add.
13156         (__ptrace_peeksiginfo_flags): Add.
13157         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13158         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13159         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13161 2013-07-03  Allan McRae  <allan@archlinux.org>
13163         * sysdeps/i386/fpu/libm-test-ulps: Update.
13165 2013-07-02  David S. Miller  <davem@davemloft.net>
13167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13169 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
13171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13173 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13175         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13178 2013-07-02  Andi Kleen <ak@linux.intel.com>
13180         * config.h.in (ENABLE_LOCK_ELISION): Add.
13181         * configure.in (--enable-lock-elision): Add option.
13182         * manual/install.texi: Document --enable lock elision.
13183         * configure: Regenerate
13184         * INSTALL: Regenerate.
13186 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13188         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13189         SSE4.2 strcasecmp for libc.a.
13190         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13192 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13194         [BZ #13304]
13195         * soft-fp/op-common.h (_FP_FMA): New macro.
13196         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13197         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
13198         (_FP_MUL_MEAT_1_imm): ... here.
13199         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
13200         (_FP_MUL_MEAT_1_wide): ... here.
13201         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
13202         (_FP_MUL_MEAT_1_hard): ... here.
13203         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13204         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
13205         (_FP_MUL_MEAT_2_wide): ... here.
13206         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
13207         (_FP_MUL_MEAT_2_wide_3mul): ... here.
13208         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
13209         (_FP_MUL_MEAT_2_gmp): ... here.
13210         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13211         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
13212         (_FP_MUL_MEAT_4_wide): ... here.
13213         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
13214         (_FP_MUL_MEAT_4_gmp): ... here.
13215         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13216         (_FP_WFRACBITS_DW_S): Likewise.
13217         (_FP_WFRACXBITS_DW_S): Likewise.
13218         (_FP_HIGHBIT_DW_S): Likewise.
13219         (FP_FMA_S): Likewise.
13220         (_FP_FRAC_HIGH_DW_S): Likewise.
13221         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13222         (_FP_WFRACBITS_DW_D): Likewise.
13223         (_FP_WFRACXBITS_DW_D): Likewise.
13224         (_FP_HIGHBIT_DW_D): Likewise.
13225         (FP_FMA_D): Likewise.
13226         (_FP_FRAC_HIGH_DW_D): Likewise.
13227         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13228         (_FP_WFRACBITS_DW_E): Likewise.
13229         (_FP_WFRACXBITS_DW_E): Likewise.
13230         (_FP_HIGHBIT_DW_E): Likewise.
13231         (FP_FMA_E): Likewise.
13232         (_FP_FRAC_HIGH_DW_E): Likewise.
13233         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13234         (_FP_WFRACBITS_DW_Q): Likewise.
13235         (_FP_WFRACXBITS_DW_Q): Likewise.
13236         (_FP_HIGHBIT_DW_Q): Likewise.
13237         (FP_FMA_Q): Likewise.
13238         (_FP_FRAC_HIGH_DW_Q): Likewise.
13239         * soft-fp/fmasf4.c: New file.
13240         * soft-fp/fmadf4.c: Likewise.
13241         * soft-fp/fmatf4.c: Likewise.
13243 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13246         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13247         Silvermont.
13248         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13249         macro.
13250         (index_Slow_SSE4_2): Likewise.
13251         (index_Prefer_PMINUB_for_stringop): Likewise.
13252         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13253         bit_Slow_SSE4_2 is set.
13254         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13255         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13257 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13259         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13260         rtld_global._dl_hwcap2.
13261         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13262         POWER8.
13263         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13264         POWER8 feature descriptions defined in _dl_hwcap2.
13265         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13266         string handling for POWER8 feature bits.
13267         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13268         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13269         _dl_powerpc_cap_flags.
13270         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13271         * sysdeps/powerpc/rtld-global-offsets.sym
13272         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13273         _dl_hwcap2 in the rtld_global_ro structure.
13275 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13277         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13278         hardware capabilities in support of AT_HWCAP2.
13279         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13280         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13281         GLRO(dl_hwcap2).
13282         (_dl_show_auxv): Add support for calling _dl_procinfo to display
13283         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
13284         explicitly the unknown a_type display mechanism is used.
13285         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13286         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13287         struct member.
13288         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13289         to macro prototype for AT_HWCAP2 support.
13290         * sysdeps/i386/dl-procinfo.h: Likewise.
13291         * sysdeps/s390/dl-procinfo.h: Likewise.
13292         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13293         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
13294         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
13295         return -1 for unknown a_type display fallback.
13296         * sysdeps/sparc/dl-procinfo.h: Likewise.
13297         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13298         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13300 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
13302         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13303         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13305 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
13307         [BZ #12492]
13308         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13309         mprotect making __stack_prot writable.
13311 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
13312             Joseph Myers  <joseph@codesourcery.com>
13314         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13315         as being properly aligned.
13317 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
13319         * dlfcn/modstatic5.c: New file.
13320         * dlfcn/tststatic5.c: New file.
13321         * dlfcn/Makefile (tests): Add tststatic5.
13322         (tests-static): Likewise.
13323         (modules-names): Add modstatic5.
13324         (tststatic5-ENV): New variable.
13325         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13327         [BZ #15022]
13328         * elf/dl-support.c (_dl_main_map): New variable.
13329         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13330         (_dl_nns, _dl_load_adds): Set to 1.
13331         (_dl_initial_searchlist): Refer to _dl_main_map.
13332         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13333         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13334         call to _dl_get_origin.
13335         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13336         around call_map.
13337         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13338         * dlfcn/modstatic3.c: New file.
13339         * dlfcn/tststatic3.c: New file.
13340         * dlfcn/tststatic4.c: New file.
13341         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13342         (tests-static): Likewise.
13343         (modules-names): Add modstatic3.
13344         (tststatic3-ENV, tststatic4-ENV): New variables.
13345         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13346         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13348 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
13350         * configure.in (CC): Require GCC version 4.4 or later.
13351         * configure: Regenerated.
13352         * manual/install.texi (Tools for Compilation): Update GCC version
13353         requirement.
13354         * INSTALL: Regenerated.
13356 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13358         [BZ #15674]
13359         * string/test-memcmp.c (check2): New.
13360         (main): Call check2.
13362         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13364 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
13366         [BZ #15022]
13367         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13368         over to...
13369         (dl_open_worker) [!SHARED]: ... here.
13371 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13373         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13375 2013-06-25  Richard Henderson  <rth@redhat.com>
13377         * locale/programs/locarchive.c: Include <libc-internal.h>
13379 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
13381         * manual/texinfo.tex: Update to version 2013-06-21.17, with
13382         trailing whitespace removed.
13384 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13386         [BZ #10283]
13387         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13388         * locale/programs/locarchive.c: Include libc-mmap.h.
13389         (prepare_address_space): Take two new outputs (the mmap base and len).
13390         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
13391         values.
13392         (create_archive): Declare new mmap base and len values for
13393         prepare_address_space, and store the result in ah.
13394         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13395         (enlarge_archive): If ah->mmap_base is not NULL, use that and
13396         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13397         Declare new mmap base and len values for
13398         prepare_address_space, and store the result in new_ah.
13399         (open_archive): Declare new mmap base and len values for
13400         prepare_address_space, and store the result in ah.
13401         (close_archive): If ah->mmap_base is not NULL, use that and
13402         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13403         * sysdeps/generic/libc-mmap.h: New file.
13405 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13407         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13408         (ALIGN_UP): Likewise.
13409         (PTR_ALIGN_DOWN): Likewise.
13410         (PTR_ALIGN_UP): Likewise.
13412 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13414         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13415         entry mapped to PPC_PLATFORM_POWER8.
13416         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13417         POWER8.
13418         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13419         (_dl_string_platform): Add case for exporting platform position for
13420         POWER8.
13421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13422         search path to sysdeps/powerpc/powerpc32/power8 directory.
13423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13424         search path to sysdeps/powerpc/powerpc64/power8 directory.
13425         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13426         power7 directories.
13427         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13428         power7 directories.
13430 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13432         * INSTALL: Regenerate.
13434         * nscd/connections.c (nscd_init): Fix comment.
13436 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
13438         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13440         [BZ #15667]
13441         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13442         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13444 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13446         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13447         DL_DST_REQ_STATIC.
13448         (DL_DST_REQ_STATIC): Remove macro.
13450 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
13452         [BZ #7006]
13453         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13454         with a shift of 0 bits.
13456 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13458         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13459         $(tststatic-ENV).
13461 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13463         [BZ #15655]
13464         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13466 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13468         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13469         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13470         accepts -fno-tree-loop-distribute-patterns.
13471         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13472         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13473         recursive call.
13474         * string/memset.c (memset): Likewise.
13475         * string/test-memmove.c (simple_memmove): Disable loop transformation
13476         to library calls.
13477         * string/test-memset.c (simple_memset): Likewise.
13478         * benchtests/bench-memmove.c (simple_memmove): Likewise.
13479         * benchtests/bench-memset.c (simple_memset): Likewise.
13480         * configure: Regenerated.
13482 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
13484         * math/test-misc.c (main): Ignore fesetround failure when failures
13485         of subsequent rounding tests would be ignored.
13487         [BZ #15654]
13488         * math/fedisblxcpt.c (fedisableexcept): Return 0.
13489         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13490         * math/fegetenv.c (__fegetenv): Return 0.
13491         * math/fegetexcept.c (fegetexcept): Return 0.
13492         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13493         FE_TONEAREST.
13494         * math/feholdexcpt.c (feholdexcept): Return 0.
13495         * math/fesetenv.c (__fesetenv): Return 0.
13496         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13497         argument FE_TONEAREST.
13498         * math/feupdateenv.c (__feupdateenv): Return 0.
13499         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13501 2013-06-18  Roland McGrath  <roland@hack.frob.com>
13503         * elf/rtld-Rules (rtld-compile-command.S): New variable.
13504         (rtld-compile-command.s, rtld-compile-command.c): New variables.
13505         ($(objpfx)rtld-%.os rules): Use them.
13507 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13509         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13510         fields.
13512 2013-06-17  Roland McGrath  <roland@hack.frob.com>
13514         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13515         length of target pattern, then descending length of dependency pattern.
13516         * configure.in (AWK): Require gawk 3.1.2 or newer.
13517         * manual/install.texi (Tools for Compilation): Say that we do.
13518         * configure: Regenerated.
13520         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13521         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13522         * scripts/sysd-rules.awk: ... this new script.
13523         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13524         than a glob-style pattern.
13526 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13528         * math/test-misc.c (main): Do not treat incorrectly rounded
13529         conversions as failure unless ROUNDING_TESTS passes.
13531 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13533         [BZ #15631]
13534         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13535         restore exception state around main square root computation, then
13536         check for inexactness explicitly.
13538         * math/libm-test.inc (fma_test_data): Add another test.
13540 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13542         * manual/threads.texi (Non-POSIX Extensions): New document
13543         node.  Document pthread_getattr_default_np and
13544         pthread_setattr_default_np.
13546         * Versions.def (libpthread): Add GLIBC_2.18.
13547         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13549         Likewise.
13550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13551         Likewise.
13552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13553         Likewise.
13554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13555         Likewise.
13556         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13557         Likewise.
13558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13559         Likewise.
13560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13561         Likewise.
13562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13563         Likewise.
13564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13565         Likewise.
13567 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13570         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13572 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13573             H.J. Lu  <hjl.tools@gmail.com>
13575         [BZ #15627]
13576         * sysdeps/x86_64/rtld-memset.c: Remove file.
13577         * sysdeps/x86_64/rtld-memset.S: New file.
13579 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13581         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13582         (test_in_one_mode): Take arguments for whether the rounding mode
13583         is supported for each floating-point type.
13584         (do_test): Pass new arguments to test_in_one_mode using
13585         ROUNDING_TESTS.
13587 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13589         * posix/tst-waitid.c (do_test): Distinguish different instances of
13590         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13591         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13592         before entering the kernel for waitpid.
13594 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13596         * NEWS: Fix note on clock function precision.  Text by Roland
13597         McGrath.
13599 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13601         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13602         it into place only when and if the sanity check passes.
13604 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13606         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13607         output for whether conversion result is exact.  Take argument
13608         indicating whether type is IBM long double.
13609         (round_for_all): Change need_exact field to ibm_ld.
13610         * stdlib/tst-strtod-round.c (struct exactness): New type.
13611         (struct test): Change bool ld_ok field to struct exactness exact.
13612         (TEST): Update all definitions for change to field.
13613         (tests): Regenerate array contents.
13614         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13615         field value.  Check for IBM long double here.
13616         (do_test): Update calls to test_in_one_mode.
13618 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13620         [BZ #12515]
13621         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13622         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13624 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13626         [BZ #15605]
13627         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13628         generated by the compiler on loop optimizations.
13629         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13630         general definitions.
13632 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13634         * math/bug-nextafter.c: Include <math-tests.h>.
13635         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13636         the relevant type.
13637         * math/bug-nexttoward.c: Include <math-tests.h>.
13638         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13639         the relevant type.
13640         * math/test-misc.c: Include <math-tests.h>.
13641         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13642         the relevant type.
13644 2013-06-12  Andreas Jaeger  <aj@suse.de>
13646         * po/ia.po: Update Interlingua translation from translation
13647         project.
13649 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13651         * include/fenv.h: Include stdbool.h.
13652         (struct rm_ctx): New structure.
13653         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13654         Define macro.
13655         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13656         (SET_RESTORE_ROUNDF): Likewise.
13657         (SET_RESTORE_ROUNDL): Likewise.
13658         (SET_RESTORE_ROUND_NOEX): Likewise.
13659         (SET_RESTORE_ROUND_NOEXF): Likewise.
13660         (SET_RESTORE_ROUND_NOEXL): Likewise.
13661         (SET_RESTORE_ROUND_53BIT): Likewise.
13662         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13663         (libc_feresetround_noexf_ctx): Likewise.
13664         (libc_feresetround_noexl_ctx): Likewise.
13665         (libc_feholdsetround_53bit_ctx): Likewise.
13666         (libc_feresetround_53bit_ctx): Likewise.
13667         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13668         (libc_feholdexcept_setround_sse_ctx): New function.
13669         (libc_fesetenv_sse_ctx): Likewise.
13670         (libc_feupdateenv_sse_ctx): Likewise.
13671         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13672         (libc_feholdexcept_setround_387_ctx): Likewise.
13673         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13674         (libc_feholdsetround_387_prec_ctx): Likewise.
13675         (libc_feholdsetround_387_ctx): Likewise.
13676         (libc_feholdsetround_387_53bit_ctx): Likewise.
13677         (libc_feholdsetround_sse_ctx): Likewise.
13678         (libc_feresetround_sse_ctx): Likewise.
13679         (libc_feresetround_387_ctx): Likewise.
13680         (libc_feupdateenv_387_ctx): Likewise.
13681         (libc_feholdexcept_setroundf_ctx): Define macro.
13682         (libc_fesetenvf_ctx): Likewise.
13683         (libc_feupdateenvf_ctx): Likewise.
13684         (libc_feholdsetroundf_ctx): Likewise.
13685         (libc_feresetroundf_ctx): Likewise.
13686         (libc_feholdexcept_setround_ctx): Likewise.
13687         (libc_fesetenv_ctx): Likewise.
13688         (libc_feupdateenv_ctx): Likewise.
13689         (libc_feholdsetround_ctx): Likewise.
13690         (libc_feresetround_ctx): Likewise.
13691         (libc_feholdexcept_setroundl_ctx): Likewise.
13692         (libc_feupdateenvl_ctx): Likewise.
13693         (libc_feholdsetroundl_ctx): Likewise.
13694         (libc_feresetroundl_ctx): Likewise.
13695         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13696         (libc_feresetround_53bit_ctx): Likewise.
13698 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13700         * locale/iso-639.def: Convert to UTF-8.
13702 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13704         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13705         (EXCEPTION_TESTS_double): Likewise.
13706         (EXCEPTION_TESTS_long_double): Likewise.
13707         (EXCEPTION_TESTS): Likewise.
13708         * math/libm-test.inc (test_exceptions): Only test exceptions if
13709         EXCEPTION_TESTS (FLOAT).
13711 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13713         * benchtests/Makefile (string-bench): Add strcpy_chk and
13714         stpcpy_chk.
13715         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13716         * benchtests/bench-stpcpy_chk.c: New file.
13717         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13718         * benchtests/bench-strcpy_chk.c: New file.
13719         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13720         code.
13721         (do_test): Likewise.
13723 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13725         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13726         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13727         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13728         with tabs where appropriate.
13729         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13730         dl-procinfo.h.
13731         [PPC_PLATFORM_PPC440]: Likewise.
13732         [PPC_PLATFORM_PPC464]: Likewise.
13733         [PPC_PLATFORM_PPC476]: Likewise.
13734         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13735         ppc464, and ppc476 platform strings merging from ports/
13736         dl-procinfo.h.
13738 2013-06-11  Andreas Schwab  <schwab@suse.de>
13740         [BZ #14991]
13741         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13742         (from_ucs4_idx): Regenerate.
13743         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13744         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13745         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13746         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13747         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13748         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13749         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13750         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13751         from FROM_LOOP and TO_LOOP specific macros.
13752         (BODY): Handle combining characters.
13753         * iconvdata/BIG5HKSCS.irreversible: Update.
13754         * iconvdata/BIG5HKSCS.precomposed: New file.
13755         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13756         characters.
13757         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13759 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13761         * include/sys/time.h: Fix indentation and add copyright header.
13763         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13764         (do_test): Likewise.
13765         * string/test-memchr.c (do_one_test): Likewise.
13766         (do_test): Likewise.
13767         * string/test-memcmp.c (do_one_test): Likewise.
13768         (do_test): Likewise.
13769         * string/test-memcpy.c (do_one_test): Likewise.
13770         (do_test): Likewise.
13771         * string/test-memmem.c (do_one_test): Likewise.
13772         (do_test): Likewise.
13773         (do_random_tests): Likewise.
13774         * string/test-memmove.c (do_one_test): Likewise.
13775         (do_test): Likewise.
13776         * string/test-memset.c (do_one_test): Likewise.
13777         (do_test): Likewise.
13778         * string/test-rawmemchr.c (do_one_test): Likewise.
13779         (do_test): Likewise.
13780         * string/test-strcasecmp.c (do_one_test): Likewise.
13781         (do_test): Likewise.
13782         * string/test-strcasestr.c (do_one_test): Likewise.
13783         (do_test): Likewise.
13784         * string/test-strcat.c (do_one_test): Likewise.
13785         (do_test): Likewise.
13786         * string/test-strchr.c (do_one_test): Likewise.
13787         (do_test): Likewise.
13788         * string/test-strcmp.c (do_one_test): Likewise.
13789         (do_test): Likewise.
13790         * string/test-strcpy.c (do_one_test): Likewise.
13791         (do_test): Likewise.
13792         * string/test-string.h: Likewise.
13793         (test_init): Likewise.
13794         * string/test-strlen.c (do_one_test): Likewise.
13795         (do_test): Likewise.
13796         * string/test-strncasecmp.c (do_one_test): Likewise.
13797         (do_test): Likewise.
13798         * string/test-strncat.c (do_one_test): Likewise.
13799         (do_test): Likewise.
13800         * string/test-strncmp.c (do_one_test): Likewise.
13801         (do_test_limit): Likewise.
13802         (do_test): Likewise.
13803         * string/test-strncpy.c (do_one_test): Likewise.
13804         (do_test): Likewise.
13805         * string/test-strnlen.c (do_one_test): Likewise.
13806         (do_test): Likewise.
13807         * string/test-strpbrk.c (do_one_test): Likewise.
13808         (do_test): Likewise.
13809         * string/test-strrchr.c (do_one_test): Likewise.
13810         (do_test): Likewise.
13811         * string/test-strspn.c (do_one_test): Likewise.
13812         (do_test): Likewise.
13813         * string/test-strstr.c (do_one_test): Likewise.
13814         (do_test): Likewise.
13816         * benchtests/Makefile (string-bench): Add string benchmarks.
13817         * benchtests/bench-bcopy-ifunc.c: New file.
13818         * benchtests/bench-bcopy.c: New file.
13819         * benchtests/bench-bzero-ifunc.c: New file.
13820         * benchtests/bench-bzero.c: New file.
13821         * benchtests/bench-memccpy-ifunc.c: New file.
13822         * benchtests/bench-memccpy.c: New file.
13823         * benchtests/bench-memchr-ifunc.c: New file.
13824         * benchtests/bench-memchr.c: New file.
13825         * benchtests/bench-memcmp-ifunc.c: New file.
13826         * benchtests/bench-memcmp.c: New file.
13827         * benchtests/bench-memmem-ifunc.c: New file.
13828         * benchtests/bench-memmem.c: New file.
13829         * benchtests/bench-memmove-ifunc.c: New file.
13830         * benchtests/bench-memmove.c: New file.
13831         * benchtests/bench-mempcpy-ifunc.c: New file.
13832         * benchtests/bench-mempcpy.c: New file.
13833         * benchtests/bench-memset-ifunc.c: New file.
13834         * benchtests/bench-memset.c: New file.
13835         * benchtests/bench-rawmemchr-ifunc.c: New file.
13836         * benchtests/bench-rawmemchr.c: New file.
13837         * benchtests/bench-stpcpy-ifunc.c: New file.
13838         * benchtests/bench-stpcpy.c: New file.
13839         * benchtests/bench-stpncpy-ifunc.c: New file.
13840         * benchtests/bench-stpncpy.c: New file.
13841         * benchtests/bench-strcasecmp-ifunc.c: New file.
13842         * benchtests/bench-strcasecmp.c: New file.
13843         * benchtests/bench-strcasestr-ifunc.c: New file.
13844         * benchtests/bench-strcasestr.c: New file.
13845         * benchtests/bench-strcat-ifunc.c: New file.
13846         * benchtests/bench-strcat.c: New file.
13847         * benchtests/bench-strchr-ifunc.c: New file.
13848         * benchtests/bench-strchr.c: New file.
13849         * benchtests/bench-strchrnul-ifunc.c: New file.
13850         * benchtests/bench-strchrnul.c: New file.
13851         * benchtests/bench-strcmp-ifunc.c: New file.
13852         * benchtests/bench-strcmp.c: New file.
13853         * benchtests/bench-strcpy-ifunc.c: New file.
13854         * benchtests/bench-strcpy.c: New file.
13855         * benchtests/bench-strcspn-ifunc.c: New file.
13856         * benchtests/bench-strcspn.c: New file.
13857         * benchtests/bench-strlen-ifunc.c: New file.
13858         * benchtests/bench-strlen.c: New file.
13859         * benchtests/bench-strncasecmp-ifunc.c: New file.
13860         * benchtests/bench-strncasecmp.c: New file.
13861         * benchtests/bench-strncat-ifunc.c: New file.
13862         * benchtests/bench-strncat.c: New file.
13863         * benchtests/bench-strncmp-ifunc.c: New file.
13864         * benchtests/bench-strncmp.c: New file.
13865         * benchtests/bench-strncpy-ifunc.c: New file.
13866         * benchtests/bench-strncpy.c: New file.
13867         * benchtests/bench-strnlen-ifunc.c: New file.
13868         * benchtests/bench-strnlen.c: New file.
13869         * benchtests/bench-strpbrk-ifunc.c: New file.
13870         * benchtests/bench-strpbrk.c: New file.
13871         * benchtests/bench-strrchr-ifunc.c: New file.
13872         * benchtests/bench-strrchr.c: New file.
13873         * benchtests/bench-strspn-ifunc.c: New file.
13874         * benchtests/bench-strspn.c: New file.
13875         * benchtests/bench-strstr-ifunc.c: New file.
13876         * benchtests/bench-strstr.c: New file.
13878         * benchtests/Makefile: Disable parallel execution of targets.
13879         (string-bench): Add memcpy.
13880         (benchset): New variable to store a list of benchmark sets.
13881         (bench-func): Renamed from bench.
13882         (bench-set): New target.
13883         (bench): Depend on bench-func and bench-set.
13884         * benchtests/README: Add section on benchmark sets.
13885         * benchtests/bench-memcpy-ifunc.c: New file.
13886         * benchtests/bench-memcpy.c: New file.
13887         * benchtests/bench-string.h: New file.
13889 2013-06-11  Andreas Schwab  <schwab@suse.de>
13891         [BZ #15577]
13892         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13893         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13894         values in the triple.
13895         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13896         terminator in the group key.
13898 2013-06-11  Andreas Jaeger  <aj@suse.de>
13900         * po/zh_TW.po: Update Chinese (traditional) translation from
13901         translation project.
13903 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13905         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13906         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13907         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13908         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13909         (clock_getcpuclockid): Likewise.
13910         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13911         Add weak_alias and libc_hidden_def.
13912         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13913         * rt/clock_gettime.c (clock_gettime): Rename to
13914         __clock_gettime.  Add weak_alias and libc_hidden_def.
13915         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13916         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13917         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13918         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13919         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13920         Likewise.
13921         * rt/clock_settime.c (clock_settime): Rename to
13922         __clock_settime.  Add weak_alias and libc_hidden_def.
13923         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13925 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13927         * mach/err_boot.sub: Remove trailing whitespace.
13928         * mach/err_ipc.sub: Likewise.
13929         * mach/err_mach.sub: Likewise.
13931         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13932         (ROUNDING_TESTS_double): Likewise.
13933         (ROUNDING_TESTS_long_double): Likewise.
13934         (ROUNDING_TESTS): Likewise.
13935         * math/libm-test.inc: Include <math-tests.h>.
13936         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13937         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13938         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13939         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13941 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13943         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13944         of assigning.
13946 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
13948         * sysdeps/gnu/errlist.awk: Do not generate space at end of
13949         otherwise empty TRANS lines.
13950         * sysdeps/gnu/errlist.c: Regenerated.
13952         * catgets/gencat.c (error_print): Use (void) in function
13953         definition.
13954         * crypt/crypt_util.c (__init_des): Likewise.
13955         * crypt/speeds.c (Stop): Likewise.
13956         (main): Likewise.
13957         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13958         * inet/ruserpass.c (token): Likewise.
13959         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13960         * intl/localealias.c (extend_alias_table): Likewise.
13961         * intl/plural-exp.c (init_germanic_plural): Likewise.
13962         * libio/fcloseall.c (__fcloseall): Likewise.
13963         * libio/genops.c (_IO_flush_all): Likewise.
13964         (_IO_flush_all_linebuffered): Likewise.
13965         (_IO_cleanup): Likewise.
13966         (_IO_iter_begin): Likewise.
13967         (_IO_iter_end): Likewise.
13968         (_IO_list_lock): Likewise.
13969         (_IO_list_unlock): Likewise.
13970         (_IO_list_resetlock): Likewise.
13971         * libio/getchar.c (getchar): Likewise.
13972         * libio/getchar_u.c (getchar_unlocked): Likewise.
13973         * libio/getwchar.c (getwchar): Likewise.
13974         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13975         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13976         * login/getpt.c (__getpt): Likewise.
13977         * login/tst-utmp.c (main): Likewise.
13978         * malloc/hooks.c (__malloc_check_init): Likewise.
13979         * malloc/malloc.c (__malloc_stats): Likewise.
13980         * malloc/mtrace.c (tr_break): Likewise.
13981         (mtrace): Likewise.
13982         (muntrace): Likewise.
13983         * misc/fstab.c (endfsent): Likewise.
13984         * misc/getclktck.c (__getclktck): Likewise.
13985         * misc/getdtsz.c (__getdtablesize): Likewise.
13986         * misc/gethostid.c (gethostid): Likewise.
13987         * misc/getpagesize.c (__getpagesize): Likewise.
13988         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13989         (__get_nprocs): Likewise.
13990         (__get_phys_pages): Likewise.
13991         (__get_avphys_pages): Likewise.
13992         * misc/getttyent.c (getttyent): Likewise.
13993         (setttyent): Likewise.
13994         (endttyent): Likewise.
13995         * misc/getusershell.c (getusershell): Likewise.
13996         (endusershell): Likewise.
13997         (setusershell): Likewise.
13998         (initshells): Likewise.
13999         * misc/hsearch.c (__hdestroy): Likewise.
14000         * misc/sync.c (sync): Likewise.
14001         * misc/syslog.c (closelog_internal): Likewise.
14002         (closelog): Likewise.
14003         * misc/ttyslot.c (ttyslot): Likewise.
14004         * misc/vhangup.c (vhangup): Likewise.
14005         * posix/fork.c (__fork): Likewise.
14006         * posix/getegid.c (__getegid): Likewise.
14007         * posix/geteuid.c (__geteuid): Likewise.
14008         * posix/getgid.c (__getgid): Likewise.
14009         * posix/getpid.c (__getpid): Likewise.
14010         * posix/getppid.c (__getppid): Likewise.
14011         * posix/getuid.c (__getuid): Likewise.
14012         * posix/pause.c (pause): Likewise.
14013         * posix/setpgrp.c (setpgrp): Likewise.
14014         * posix/setsid.c (__setsid): Likewise.
14015         * posix/test-vfork.c (noop): Likewise.
14016         * resolv/gethnamaddr.c (_endhtent): Likewise.
14017         (_gethtent): Likewise.
14018         (ht_endhostent): Likewise.
14019         (gethostent): Likewise.
14020         (dns_service): Likewise.
14021         * stdlib/drand48.c (drand48): Likewise.
14022         * stdlib/lrand48.c (lrand48): Likewise.
14023         * stdlib/mrand48.c (mrand48): Likewise.
14024         * stdlib/rand.c (rand): Likewise.
14025         * stdlib/random.c (__random): Likewise.
14026         * stdlib/setenv.c (clearenv): Likewise.
14027         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14028         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14029         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14030         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14031         (__get_nprocs): Likewise.
14032         (__get_phys_pages): Likewise.
14033         (__get_avphys_pages): Likewise.
14034         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14035         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14036         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14037         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14038         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14039         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14040         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14041         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14042         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14043         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14044         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14045         * sysdeps/mach/hurd/sync.c (sync): Likewise.
14046         * sysdeps/posix/clock.c (clock): Likewise.
14047         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14048         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14049         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14050         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14051         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14052         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14053         (__get_nprocs_conf): Likewise.
14054         (__get_phys_pages): Likewise.
14055         (__get_avphys_pages): Likewise.
14056         * time/clock.c (clock): Likewise.
14057         * time/tzset.c (__tzname_max): Likewise.
14059 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
14061         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14062         (__bswap_32): Do not use "register".
14063         * crypt/crypt.c (_ufc_doit_r): Likewise.
14064         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14065         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14066         * gmon/gmon.c (__monstartup): Likewise.
14067         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14068         * hurd/hurdmalloc.c (more_memory): Likewise.
14069         (malloc): Likewise.
14070         (free): Likewise.
14071         (realloc): Likewise.
14072         (malloc_fork_prepare): Likewise.
14073         (malloc_fork_parent): Likewise.
14074         (malloc_fork_child): Likewise.
14075         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14076         (_svcauth_des): Likewise.
14077         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14078         * inet/inet_net.c (inet_network): Likewise.
14079         * inet/inet_netof.c (inet_netof): Likewise.
14080         * inet/rcmd.c (__validuser2_sa): Likewise.
14081         * io/fts.c (fts_open): Likewise.
14082         (fts_load): Likewise.
14083         (fts_close): Likewise.
14084         (fts_read): Likewise.
14085         (fts_children): Likewise.
14086         (fts_build): Likewise.
14087         (fts_stat): Likewise.
14088         (fts_sort): Likewise.
14089         (fts_alloc): Likewise.
14090         (fts_lfree): Likewise.
14091         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14092         (_IO_file_xsgetn): Likewise.
14093         (_IO_file_xsgetn_mmap): Likewise.
14094         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14095         (_IO_cookie_write): Likewise.
14096         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14097         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14098         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14099         * malloc/obstack.c (_obstack_begin): Likewise.
14100         (_obstack_begin_1): Likewise.
14101         (_obstack_newchunk): Likewise.
14102         (_obstack_allocated_p): Likewise.
14103         (obstack_free): Likewise.
14104         (_obstack_memory_used): Likewise.
14105         * misc/getttyent.c (getttynam): Likewise.
14106         (getttyent): Likewise.
14107         (skip): Likewise.
14108         (value): Likewise.
14109         * misc/getusershell.c (initshells): Likewise.
14110         * misc/syslog.c (__vsyslog_chk): Likewise.
14111         * misc/ttyslot.c (ttyslot): Likewise.
14112         * nis/nis_hash.c (__nis_hash): Likewise.
14113         * posix/fnmatch_loop.c (FCT): Likewise.
14114         * posix/getconf.c (print_all): Likewise.
14115         (main): Likewise.
14116         * posix/getopt.c (exchange): Likewise.
14117         * posix/glob.c (globfree): Likewise.
14118         (prefix_array): Likewise.
14119         (__glob_pattern_type): Likewise.
14120         * resolv/arpa/nameser.h (NS_GET16): Likewise.
14121         (NS_GET32): Likewise.
14122         (NS_PUT16): Likewise.
14123         (NS_PUT32): Likewise.
14124         * resolv/gethnamaddr.c (getanswer): Likewise.
14125         (gethostbyname2): Likewise.
14126         (gethostbyaddr): Likewise.
14127         (_gethtent): Likewise.
14128         (_gethtbyname2): Likewise.
14129         (_gethtbyaddr): Likewise.
14130         * resolv/ns_print.c (dst_s_get_int16): Likewise.
14131         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14132         * resolv/res_init.c (__res_vinit): Likewise.
14133         (net_mask): Likewise.
14134         * resolv/res_mkquery.c (outchar): Likewise.
14135         (PRINT): Likewise.
14136         * stdio-common/printf_fp.c (outchar): Likewise.
14137         (PRINT): Likewise.
14138         * stdio-common/printf_fphex.c (outchar): Likewise.
14139         (PRINT): Likewise.
14140         * stdio-common/printf_size.c (outchar): Likewise.
14141         (PRINT): Likewise.
14142         * stdio-common/test_rdwr.c (main): Likewise.
14143         * stdio-common/tfformat.c (matches): Likewise.
14144         * stdio-common/vfprintf.c (outchar): Likewise.
14145         (printf_unknown): Likewise.
14146         (buffered_vfprintf): Likewise.
14147         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14148         * stdio-common/xbug.c (AppendToBuffer): Likewise.
14149         (ReadFile): Likewise.
14150         * stdlib/qsort.c (SWAP): Likewise.
14151         (_quicksort): Likewise.
14152         * stdlib/setenv.c (__add_to_environ): Likewise.
14153         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14154         * stdlib/strtol_l.c (__strtol_l): Likewise.
14155         * stdlib/tst-strtod.c (main): Likewise.
14156         * stdlib/tst-strtol.c (main): Likewise.
14157         * stdlib/tst-strtoll.c (main): Likewise.
14158         * string/bits/string2.h (__strcmp_cc): Likewise.
14159         (__strcmp_cg): Likewise.
14160         (__strcspn_c1): Likewise.
14161         (__strcspn_c2): Likewise.
14162         (__strcspn_c3): Likewise.
14163         (__strspn_c1): Likewise.
14164         (__strspn_c2): Likewise.
14165         (__strspn_c3): Likewise.
14166         (__strsep_1c): Likewise.
14167         (__strsep_2c): Likewise.
14168         (__strsep_3c): Likewise.
14169         * string/memccpy.c (__memccpy): Likewise.
14170         * string/stpcpy.c (__stpcpy): Likewise.
14171         * string/strcmp.c (strcmp): Likewise.
14172         * string/strrchr.c (strrchr): Likewise.
14173         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14174         Likewise.
14175         * sysdeps/mach/hurd/getcwd.c
14176         (_hurd_canonicalize_directory_name_internal): Likewise.
14177         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14178         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14179         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14180         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14181         Likewise, in both definitions.
14182         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14183         definitions.
14184         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14185         64] (__bswap_64): Likewise.
14186         * time/test_time.c (main): Likewise.
14187         * time/tzfile.c (__tzfile_read): Likewise.
14188         (__tzfile_compute): Likewise.
14189         * time/tzset.c (__tzset_parse_tz): Likewise.
14190         (tzset_internal): Likewise.
14191         (compute_change): Likewise.
14192         * wcsmbs/wcscat.c (__wcscat): Likewise.
14193         * wcsmbs/wcschr.c (wcschr): Likewise.
14194         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14195         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14196         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14197         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14198         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14199         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14200         * wcsmbs/wmemchr.c (wmemchr): Likewise.
14201         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14202         * wcsmbs/wmemset.c (wmemset): Likewise.
14204 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
14206         * scripts/config.guess: Update to version 2013-05-16.
14207         * scripts/config.sub: Update to version 2013-04-24.
14208         * scripts/install-sh: Update to version 2011-11-20.07.
14209         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14210         * scripts/move-if-change: Update to version 2012-01-06 07:23.
14212 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
14214         * debug/fgetws_u_chk.c: Fix leading whitespaces.
14215         * elf/sln.c: Likewise.
14216         * hurd/hurd/ioctl.h: Likewise.
14217         * hurd/hurdmalloc.c: Likewise.
14218         * hurd/xattr.c: Likewise.
14219         * include/shlib-compat.h: Likewise.
14220         * inet/ruserpass.c: Likewise.
14221         * libio/iofgets_u.c: Likewise.
14222         * libio/iofgetws_u.c: Likewise.
14223         * locale/programs/ld-identification.c: Likewise.
14224         * locale/programs/ld-time.c: Likewise.
14225         * mach/msg-destroy.c: Likewise.
14226         * nss/nss_files/files-netgrp.c: Likewise.
14227         * resolv/res_data.c: Likewise.
14228         * soft-fp/op-1.h: Likewise.
14229         * soft-fp/op-2.h: Likewise.
14230         * soft-fp/op-4.h: Likewise.
14231         * soft-fp/op-common.h: Likewise.
14232         * stdio-common/printf_fphex.c: Likewise.
14233         * stdlib/strtod_l.c: Likewise.
14234         * sunrpc/rpc/clnt.h: Likewise.
14235         * sysdeps/generic/framestate.c: Likewise.
14236         * sysdeps/i386/bsd-_setjmp.S: Likewise.
14237         * sysdeps/i386/bsd-setjmp.S: Likewise.
14238         * sysdeps/i386/__longjmp.S: Likewise.
14239         * sysdeps/i386/setjmp.S: Likewise.
14240         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14241         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14242         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14243         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14244         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14245         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14246         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14247         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14248         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14249         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14250         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14251         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14252         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14253         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14254         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14255         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14256         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14257         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14258         * sysdeps/ieee754/support.c: Likewise.
14259         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14260         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14261         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14262         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14263         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14264         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14265         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14266         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14267         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14268         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14269         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14270         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14271         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14272         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14273         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14274         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14275         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14278 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
14280         * posix/transbug.c: Remove executable mode.
14282 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
14284         * crypt/speeds.c: Remove trailing whitespace.
14285         * dlfcn/default.c: Likewise.
14286         * elf/ifuncdep2.c: Likewise.
14287         * elf/ifuncmain1.c: Likewise.
14288         * elf/ifuncmain1vis.c: Likewise.
14289         * elf/testobj.h: Likewise.
14290         * elf/tst-stackguard1.c: Likewise.
14291         * gmon/sys/gmon.h: Likewise.
14292         * hurd/hurdmsg.c: Likewise.
14293         * hurd/new-fd.c: Likewise.
14294         * hurd/ports-get.c: Likewise.
14295         * iconvdata/ibm1008_420.c: Likewise.
14296         * inet/tst-getni1.c: Likewise.
14297         * inet/tst-getni2.c: Likewise.
14298         * libio/ioungetc.c: Likewise.
14299         * libio/wfiledoalloc.c: Likewise.
14300         * manual/libm-err-tab.pl: Likewise.
14301         * math/w_dremf.c: Likewise.
14302         * misc/ftruncate.c: Likewise.
14303         * posix/bug-glob2.c: Likewise.
14304         * posix/tst-pcre.c: Likewise.
14305         * posix/wait4.c: Likewise.
14306         * resolv/README: Likewise.
14307         * resolv/res_debug.h: Likewise.
14308         * resolv/tst-inet_ntop.c: Likewise.
14309         * setjmp/bug269-setjmp.c: Likewise.
14310         * soft-fp/extended.h: Likewise.
14311         * soft-fp/op-1.h: Likewise.
14312         * soft-fp/op-2.h: Likewise.
14313         * soft-fp/op-4.h: Likewise.
14314         * soft-fp/op-8.h: Likewise.
14315         * soft-fp/testit.c: Likewise.
14316         * stdio-common/bug16.c: Likewise.
14317         * stdlib/random.c: Likewise.
14318         * sunrpc/rpcsvc/rquota.x: Likewise.
14319         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14320         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14321         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14322         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14323         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14324         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14325         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14326         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14327         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14328         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14329         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14330         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14331         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14332         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14333         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14334         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14335         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14336         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14337         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14340         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14341         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14342         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14343         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14344         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14345         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14346         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14347         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14348         * sysdeps/ieee754/s_lib_version.c: Likewise.
14349         * sysdeps/mach/hurd/check_fds.c: Likewise.
14350         * sysdeps/mach/hurd/getsockname.c: Likewise.
14351         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14352         * sysdeps/mach/hurd/recvfrom.c: Likewise.
14353         * sysdeps/powerpc/bits/link.h: Likewise.
14354         * sysdeps/powerpc/dl-procinfo.c: Likewise.
14355         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14356         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14357         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14358         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14359         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14360         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14361         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14362         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14363         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14364         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14365         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14366         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14367         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14368         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14369         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14370         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14372         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14373         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14374         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14375         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14376         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14377         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14378         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14379         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14380         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14381         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14382         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14383         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14384         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14385         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14386         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14387         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14388         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14389         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14390         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14391         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14392         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14393         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14394         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14395         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14396         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14397         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14398         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14399         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14400         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14401         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14402         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14403         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14404         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14405         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14406         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14407         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14408         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14409         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14410         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14411         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14412         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14413         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14414         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14415         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14416         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14417         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14418         * sysdeps/powerpc/sysdep.h: Likewise.
14419         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14420         * sysdeps/s390/s390-64/sub_n.S: Likewise.
14421         * sysdeps/sh/dl-trampoline.S: Likewise.
14422         * sysdeps/sh/memset.S: Likewise.
14423         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14424         * sysdeps/sh/strlen.S: Likewise.
14425         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14426         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14427         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14428         * sysdeps/sparc/sparc32/rem.S: Likewise.
14429         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14430         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14431         * sysdeps/sparc/sparc32/strchr.S: Likewise.
14432         * sysdeps/sparc/sparc32/udiv.S: Likewise.
14433         * sysdeps/sparc/sparc32/urem.S: Likewise.
14434         * sysdeps/sparc/sparc64/add_n.S: Likewise.
14435         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14436         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14437         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14438         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14439         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14440         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14441         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14442         * sysdeps/unix/bsd/times.c: Likewise.
14443         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14444         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14448         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14449         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14450         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14451         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14452         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14453         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14454         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14455         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14456         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14457         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14458         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14459         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14460         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14461         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14462         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14463         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14464         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14465         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14466         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14467         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14468         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14469         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14470         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14471         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14472         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14473         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14474         * sysdeps/x86_64/strcspn.S: Likewise.
14476 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14478         * locale/C-translit.h: Revert #include <stdint.h> because this is a
14479         generated file.  Regenerate properly from gen-translit.pl.
14480         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
14481         locale/C-translit.h.
14483 2013-06-05  Andreas Schwab  <schwab@suse.de>
14485         [BZ #15100]
14486         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14487         week as 6 instead of -1.
14488         * time/tst-strptime.c (day_tests): Add test case.
14490 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14492         * sysdeps/generic/math_private.h
14493         (libc_feholdexcept_setround_53bit): Replace with
14494         libc_feholdsetround_53bit.
14495         (libc_feupdateenv_53bit): Replace with
14496         libc_feresetround_53bit.
14497         (SET_RESTORE_ROUND_53BIT): Adjust.
14499 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14501         * string/test-strchrnul.c: Add copyright header.
14503         * posix/tst-getaddrinfo4.c: Increase test timeout.
14505 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
14507         [BZ #15536]
14508         * math/libm-test.inc (MAX_EXP): Remove
14509         (MIN_EXP): Define.
14510         (ulp): Use MIN_EXP - MANT_DIG.
14511         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14513 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
14515         * po/be.po: Revert last change.
14516         * po/zh_CN.po: Likewise.
14517         * po/header.pot: Likewise.
14519 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14521         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14522         link-libc-deps to empty as target-specific variable.
14523         * Makerules (link-libc-args): New variable.
14524         (libc-for-link): Likewise.
14525         (link-libc-deps): Likewise.
14526         (lib%.so): Depend on $(link-libc-deps).  Link with
14527         $(link-libc-args).
14528         (build-module): Link with $(link-libc-args).
14529         (build-module-asneeded): Likewise.
14530         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14531         list of objects.
14532         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14533         target-specific variable.
14534         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14535         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14536         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14537         libc.
14538         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14539         libc and ld.so.
14540         ($(objpfx)libpcprofile.so): Likewise.
14541         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14542         libc_nonshared.a.
14543         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14544         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14545         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14546         $(link-libc-deps).
14547         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14548         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14549         * login/Makefile ($(objpfx)libutil.so): Likewise.
14550         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14551         * math/Makefile ($(objpfx)libm.so): Likewise.
14552         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14553         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14554         variable instead of depending directly on libc.
14555         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14556         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14557         $(link-libc-deps).
14558         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14559         libc.
14560         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14561         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14562         ($(objpfx)libanl.so): Likewise.
14563         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14564         ld.so.
14565         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14566         $(link-libc-deps).
14567         * sysdeps/i386/fpu/Makefile: Remove file.
14568         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14569         ($(objpfx)libm.so): Remove dependency on ld.so.
14571 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14573         [BZ # 15553]
14574         * nis/yp_xdr.c (XDRMAXNAME): Define.
14575         (XDRMAXRECORD): Define.
14576         (xdr_domainname): Use XDRMAXNAME.
14577         (xdr_mapname): Likewise.
14578         (xdr_peername): Likewise.
14579         (xdr_keydat): Use XDRMAXRECORD.
14580         (xdr_valdat): Likewise.
14582 2013-05-30  Jeff Law  <law@redhat.com>
14584         [BZ #14256]
14585         * manual/errno.texi (ESTALE): Update to account for more than
14586         just NFS file systems.
14587         * sysdeps/gnu/errlist.c: Regenerated.
14589 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14591         [BZ #15465]
14592         * elf/Makefile (tests): Add tst-null-argv.
14593         (modules-names):  Add tst-null-argv-lib.
14594         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14595         (tst-null-argv-ENV): Set environment for tst-null-argv.
14596         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14597         (RTLD_PROGNAME): New macro.
14598         * elf/tst-null-argv.c: New test case.
14599         * elf/tst-null-argv-lib.c: Library for test case.
14600         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14601         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14602         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14603         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14604         * elf/dl-init.c (call_init): Likewise.
14605         (_dl_init): Likewise.
14606         * elf/dl-load.c (print_search_path): Likewise.
14607         (_dl_map_object): Likewise.
14608         * elf/dl-lookup.c (do_lookup_x): Likewise.
14609         (add_dependency): Likewise.
14610         (_dl_lookup_symbol_x): Likewise.
14611         (_dl_debug_bindings): Likewise.
14612         * elf/dl-open.c (_dl_show_scope): Likewise.
14613         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14614         * elf/dl-version.c (match_symbol): Likewise.
14615         (_dl_check_map_versions): Likewise.
14616         * elf/rtld.c (dl_main): Likewise.
14617         (print_unresolved): Use RTLD_PROGNAME.
14618         (print_missing_version): Likewise.
14619         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14620         (elf_machine_rela): Likewise.
14621         * sysdeps/powerpc/powerpc32/dl-machine.c
14622         (__process_machine_rela): Likewise.
14623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14624         Likewise.
14625         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14626         Likewise.
14627         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14628         Likewise.
14629         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14631         Likewise.
14632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14633         Likewise.
14634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14636 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14638         * po/be.po: Add descriptive title.
14639         * po/zh_CN.po: Likewise.
14640         * po/header.pot: Likewise.
14642 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14644         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14645         error message.
14646         (enlarge_archive): Likewise.
14648 2013-05-28  Ben North  <ben@redfrontdoor.org>
14650         * manual/arith.texi (frexp): It is the magnitude of the return
14651         value which lies in [0.5, 1), not the return value itself.
14653 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14657 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14659         * stdio-common/bug26.c (main): Correct fscanf template.
14661         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14662         declare _dl_skip_args.
14664         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14665         Don't declare.
14667         * manual/platform.texi: Add missing @end deftypefun.
14669 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14671         [BZ #15529]
14672         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14673         bit of mantissa of 2^16382.
14674         * math/libm-test.inc (hypot_test_data): Add more tests.
14676         * math/libm-test.inc: Add drem and pow10 to list of tested
14677         functions.
14678         (pow10_test): New function.
14679         (drem_test): Likewise.
14680         (drem_test_tonearest): Likewise.
14681         (drem_test_towardzero): Likewise.
14682         (drem_test_downward): Likewise.
14683         (drem_test_upward): Likewise.
14684         (main): Call the new functions.
14686         * math/libm-test.inc (finite_test_data): Remove.
14687         (finite_test): Run tests from isfinite_test_data.
14688         (gamma_test_data): Remove.
14689         (gamma_test): Run tests from lgamma_test_data.
14690         * sysdeps/i386/fpu/libm-test-ulps: Update.
14691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14693 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14695         * manual/platform.texi: Add PowerPC PPR function set documentation.
14696         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14697         implementation.
14699 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14701         * math/libm-test.inc (MAX_EXP): Define.
14702         (ULPDIFF): Define.
14703         (ulp): New function.
14704         (check_float_internal): Use ULPDIFF.
14705         (cpow_test): Disable failing test.
14706         (check_ulp): Test ulp() implemetnation.
14707         (main): Call check_ulp before starting tests.
14709 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14711         * math/gen-libm-test.pl (generate_testfile): Do not handle
14712         START_DATA and END_DATA.
14713         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14714         END_DATA.
14715         (acos_tonearest_test_data): Likewise.
14716         (acos_towardzero_test_data): Likewise.
14717         (acos_downward_test_data): Likewise.
14718         (acos_upward_test_data): Likewise.
14719         (acosh_test_data): Likewise.
14720         (asin_test_data): Likewise.
14721         (asin_tonearest_test_data): Likewise.
14722         (asin_towardzero_test_data): Likewise.
14723         (asin_downward_test_data): Likewise.
14724         (asin_upward_test_data): Likewise.
14725         (asinh_test_data): Likewise.
14726         (atan_test_data): Likewise.
14727         (atanh_test_data): Likewise.
14728         (atan2_test_data): Likewise.
14729         (cabs_test_data): Likewise.
14730         (cacos_test_data): Likewise.
14731         (cacosh_test_data): Likewise.
14732         (carg_test_data): Likewise.
14733         (casin_test_data): Likewise.
14734         (casinh_test_data): Likewise.
14735         (catan_test_data): Likewise.
14736         (catanh_test_data): Likewise.
14737         (cbrt_test_data): Likewise.
14738         (ccos_test_data): Likewise.
14739         (ccosh_test_data): Likewise.
14740         (ceil_test_data): Likewise.
14741         (cexp_test_data): Likewise.
14742         (cimag_test_data): Likewise.
14743         (clog_test_data): Likewise.
14744         (clog10_test_data): Likewise.
14745         (conj_test_data): Likewise.
14746         (copysign_test_data): Likewise.
14747         (cos_test_data): Likewise.
14748         (cos_tonearest_test_data): Likewise.
14749         (cos_towardzero_test_data): Likewise.
14750         (cos_downward_test_data): Likewise.
14751         (cos_upward_test_data): Likewise.
14752         (cosh_test_data): Likewise.
14753         (cosh_tonearest_test_data): Likewise.
14754         (cosh_towardzero_test_data): Likewise.
14755         (cosh_downward_test_data): Likewise.
14756         (cosh_upward_test_data): Likewise.
14757         (cpow_test_data): Likewise.
14758         (cproj_test_data): Likewise.
14759         (creal_test_data): Likewise.
14760         (csin_test_data): Likewise.
14761         (csinh_test_data): Likewise.
14762         (csqrt_test_data): Likewise.
14763         (ctan_test_data): Likewise.
14764         (ctan_tonearest_test_data): Likewise.
14765         (ctan_towardzero_test_data): Likewise.
14766         (ctan_downward_test_data): Likewise.
14767         (ctan_upward_test_data): Likewise.
14768         (ctanh_test_data): Likewise.
14769         (ctanh_tonearest_test_data): Likewise.
14770         (ctanh_towardzero_test_data): Likewise.
14771         (ctanh_downward_test_data): Likewise.
14772         (ctanh_upward_test_data): Likewise.
14773         (erf_test_data): Likewise.
14774         (erfc_test_data): Likewise.
14775         (exp_test_data): Likewise.
14776         (exp_tonearest_test_data): Likewise.
14777         (exp_towardzero_test_data): Likewise.
14778         (exp_downward_test_data): Likewise.
14779         (exp_upward_test_data): Likewise.
14780         (exp10_test_data): Likewise.
14781         (exp2_test_data): Likewise.
14782         (expm1_test_data): Likewise.
14783         (fabs_test_data): Likewise.
14784         (fdim_test_data): Likewise.
14785         (finite_test_data): Likewise.
14786         (floor_test_data): Likewise.
14787         (fma_test_data): Likewise.
14788         (fma_towardzero_test_data): Likewise.
14789         (fma_downward_test_data): Likewise.
14790         (fma_upward_test_data): Likewise.
14791         (fmax_test_data): Likewise.
14792         (fmin_test_data): Likewise.
14793         (fmod_test_data): Likewise.
14794         (fpclassify_test_data): Likewise.
14795         (frexp_test_data): Likewise.
14796         (gamma_test_data): Likewise.
14797         (hypot_test_data): Likewise.
14798         (ilogb_test_data): Likewise.
14799         (isfinite_test_data): Likewise.
14800         (isgreater_test_data): Likewise.
14801         (isgreaterequal_test_data): Likewise.
14802         (isinf_test_data): Likewise.
14803         (isless_test_data): Likewise.
14804         (islessequal_test_data): Likewise.
14805         (islessgreater_test_data): Likewise.
14806         (isnan_test_data): Likewise.
14807         (isnormal_test_data): Likewise.
14808         (issignaling_test_data): Likewise.
14809         (isunordered_test_data): Likewise.
14810         (j0_test_data): Likewise.
14811         (j1_test_data): Likewise.
14812         (jn_test_data): Likewise.
14813         (ldexp_test_data): Likewise.
14814         (lgamma_test_data): Likewise.
14815         (lrint_test_data): Likewise.
14816         (lrint_tonearest_test_data): Likewise.
14817         (lrint_towardzero_test_data): Likewise.
14818         (lrint_downward_test_data): Likewise.
14819         (lrint_upward_test_data): Likewise.
14820         (llrint_test_data): Likewise.
14821         (llrint_tonearest_test_data): Likewise.
14822         (llrint_towardzero_test_data): Likewise.
14823         (llrint_downward_test_data): Likewise.
14824         (llrint_upward_test_data): Likewise.
14825         (log_test_data): Likewise.
14826         (log10_test_data): Likewise.
14827         (log1p_test_data): Likewise.
14828         (log2_test_data): Likewise.
14829         (logb_test_data): Likewise.
14830         (logb_downward_test_data): Likewise.
14831         (lround_test_data): Likewise.
14832         (llround_test_data): Likewise.
14833         (modf_test_data): Likewise.
14834         (nearbyint_test_data): Likewise.
14835         (nextafter_test_data): Likewise.
14836         (nexttoward_test_data): Likewise.
14837         (pow_test_data): Likewise.
14838         (pow_tonearest_test_data): Likewise.
14839         (pow_towardzero_test_data): Likewise.
14840         (pow_downward_test_data): Likewise.
14841         (pow_upward_test_data): Likewise.
14842         (remainder_test_data): Likewise.
14843         (remainder_tonearest_test_data): Likewise.
14844         (remainder_towardzero_test_data): Likewise.
14845         (remainder_downward_test_data): Likewise.
14846         (remainder_upward_test_data): Likewise.
14847         (remquo_test_data): Likewise.
14848         (rint_test_data): Likewise.
14849         (rint_tonearest_test_data): Likewise.
14850         (rint_towardzero_test_data): Likewise.
14851         (rint_downward_test_data): Likewise.
14852         (rint_upward_test_data): Likewise.
14853         (round_test_data): Likewise.
14854         (scalb_test_data): Likewise.
14855         (scalbn_test_data): Likewise.
14856         (scalbln_test_data): Likewise.
14857         (signbit_test_data): Likewise.
14858         (sin_test_data): Likewise.
14859         (sin_tonearest_test_data): Likewise.
14860         (sin_towardzero_test_data): Likewise.
14861         (sin_downward_test_data): Likewise.
14862         (sin_upward_test_data): Likewise.
14863         (sincos_test_data): Likewise.
14864         (sinh_test_data): Likewise.
14865         (sinh_tonearest_test_data): Likewise.
14866         (sinh_towardzero_test_data): Likewise.
14867         (sinh_downward_test_data): Likewise.
14868         (sinh_upward_test_data): Likewise.
14869         (sqrt_test_data): Likewise.
14870         (tan_test_data): Likewise.
14871         (tan_tonearest_test_data): Likewise.
14872         (tan_towardzero_test_data): Likewise.
14873         (tan_downward_test_data): Likewise.
14874         (tan_upward_test_data): Likewise.
14875         (tanh_test_data): Likewise.
14876         (tgamma_test_data): Likewise.
14877         (trunc_test_data): Likewise.
14878         (y0_test_data): Likewise.
14879         (y1_test_data): Likewise.
14880         (yn_test_data): Likewise.
14881         (significand_test_data): Likewise.
14883         * math/gen-libm-test.pl (@functions): Remove variable.
14884         (generate_testfile): Don't handle START and END lines.
14885         * math/libm-test.inc (START): New macro.
14886         (END): Likewise.
14887         (END_COMPLEX): Likewise.
14888         (acos_test): Use END macro without arguments.
14889         (acos_test_tonearest): Likewise.
14890         (acos_test_towardzero): Likewise.
14891         (acos_test_downward): Likewise.
14892         (acos_test_upward): Likewise.
14893         (acosh_test): Likewise.
14894         (asin_test): Likewise.
14895         (asin_test_tonearest): Likewise.
14896         (asin_test_towardzero): Likewise.
14897         (asin_test_downward): Likewise.
14898         (asin_test_upward): Likewise.
14899         (asinh_test): Likewise.
14900         (atan_test): Likewise.
14901         (atanh_test): Likewise.
14902         (atan2_test): Likewise.
14903         (cabs_test): Likewise.
14904         (cacos_test): Use END_COMPLEX macro without arguments.
14905         (cacosh_test): Likewise.
14906         (carg_test): Use END macro without arguments.
14907         (casin_test): Use END_COMPLEX macro without arguments.
14908         (casinh_test): Likewise.
14909         (catan_test): Likewise.
14910         (catanh_test): Likewise.
14911         (cbrt_test): Use END macro without arguments.
14912         (ccos_test): Use END_COMPLEX macro without arguments.
14913         (ccosh_test): Likewise.
14914         (ceil_test): Use END macro without arguments.
14915         (cexp_test): Use END_COMPLEX macro without arguments.
14916         (cimag_test): Use END macro without arguments.
14917         (clog_test): Use END_COMPLEX macro without arguments.
14918         (clog10_test): Likewise.
14919         (conj_test): Likewise.
14920         (copysign_test): Use END macro without arguments.
14921         (cos_test): Likewise.
14922         (cos_test_tonearest): Likewise.
14923         (cos_test_towardzero): Likewise.
14924         (cos_test_downward): Likewise.
14925         (cos_test_upward): Likewise.
14926         (cosh_test): Likewise.
14927         (cosh_test_tonearest): Likewise.
14928         (cosh_test_towardzero): Likewise.
14929         (cosh_test_downward): Likewise.
14930         (cosh_test_upward): Likewise.
14931         (cpow_test): Use END_COMPLEX macro without arguments.
14932         (cproj_test): Likewise.
14933         (creal_test): Use END macro without arguments.
14934         (csin_test): Use END_COMPLEX macro without arguments.
14935         (csinh_test): Likewise.
14936         (csqrt_test): Likewise.
14937         (ctan_test): Likewise.
14938         (ctan_test_tonearest): Likewise.
14939         (ctan_test_towardzero): Likewise.
14940         (ctan_test_downward): Likewise.
14941         (ctan_test_upward): Likewise.
14942         (ctanh_test): Likewise.
14943         (ctanh_test_tonearest): Likewise.
14944         (ctanh_test_towardzero): Likewise.
14945         (ctanh_test_downward): Likewise.
14946         (ctanh_test_upward): Likewise.
14947         (erf_test): Use END macro without arguments.
14948         (erfc_test): Likewise.
14949         (exp_test): Likewise.
14950         (exp_test_tonearest): Likewise.
14951         (exp_test_towardzero): Likewise.
14952         (exp_test_downward): Likewise.
14953         (exp_test_upward): Likewise.
14954         (exp10_test): Likewise.
14955         (exp2_test): Likewise.
14956         (expm1_test): Likewise.
14957         (fabs_test): Likewise.
14958         (fdim_test): Likewise.
14959         (finite_test): Likewise.
14960         (floor_test): Likewise.
14961         (fma_test): Likewise.
14962         (fma_test_towardzero): Likewise.
14963         (fma_test_downward): Likewise.
14964         (fma_test_upward): Likewise.
14965         (fmax_test): Likewise.
14966         (fmin_test): Likewise.
14967         (fmod_test): Likewise.
14968         (fpclassify_test): Likewise.
14969         (frexp_test): Likewise.
14970         (gamma_test): Likewise.
14971         (hypot_test): Likewise.
14972         (ilogb_test): Likewise.
14973         (isfinite_test): Likewise.
14974         (isgreater_test): Likewise.
14975         (isgreaterequal_test): Likewise.
14976         (isinf_test): Likewise.
14977         (isless_test): Likewise.
14978         (islessequal_test): Likewise.
14979         (islessgreater_test): Likewise.
14980         (isnan_test): Likewise.
14981         (isnormal_test): Likewise.
14982         (issignaling_test): Likewise.
14983         (isunordered_test): Likewise.
14984         (j0_test): Likewise.
14985         (j1_test): Likewise.
14986         (jn_test): Likewise.
14987         (ldexp_test): Likewise.
14988         (lgamma_test): Likewise.
14989         (lrint_test): Likewise.
14990         (lrint_test_tonearest): Likewise.
14991         (lrint_test_towardzero): Likewise.
14992         (lrint_test_downward): Likewise.
14993         (lrint_test_upward): Likewise.
14994         (llrint_test): Likewise.
14995         (llrint_test_tonearest): Likewise.
14996         (llrint_test_towardzero): Likewise.
14997         (llrint_test_downward): Likewise.
14998         (llrint_test_upward): Likewise.
14999         (log_test): Likewise.
15000         (log10_test): Likewise.
15001         (log1p_test): Likewise.
15002         (log2_test): Likewise.
15003         (logb_test): Likewise.
15004         (logb_test_downward): Likewise.
15005         (lround_test): Likewise.
15006         (llround_test): Likewise.
15007         (modf_test): Likewise.
15008         (nearbyint_test): Likewise.
15009         (nextafter_test): Likewise.
15010         (nexttoward_test): Likewise.
15011         (pow_test): Likewise.
15012         (pow_test_tonearest): Likewise.
15013         (pow_test_towardzero): Likewise.
15014         (pow_test_downward): Likewise.
15015         (pow_test_upward): Likewise.
15016         (remainder_test): Likewise.
15017         (remainder_test_tonearest): Likewise.
15018         (remainder_test_towardzero): Likewise.
15019         (remainder_test_downward): Likewise.
15020         (remainder_test_upward): Likewise.
15021         (remquo_test): Likewise.
15022         (rint_test): Likewise.
15023         (rint_test_tonearest): Likewise.
15024         (rint_test_towardzero): Likewise.
15025         (rint_test_downward): Likewise.
15026         (rint_test_upward): Likewise.
15027         (round_test): Likewise.
15028         (scalb_test): Likewise.
15029         (scalbn_test): Likewise.
15030         (scalbln_test): Likewise.
15031         (signbit_test): Likewise.
15032         (sin_test): Likewise.
15033         (sin_test_tonearest): Likewise.
15034         (sin_test_towardzero): Likewise.
15035         (sin_test_downward): Likewise.
15036         (sin_test_upward): Likewise.
15037         (sincos_test): Likewise.
15038         (sinh_test): Likewise.
15039         (sinh_test_tonearest): Likewise.
15040         (sinh_test_towardzero): Likewise.
15041         (sinh_test_downward): Likewise.
15042         (sinh_test_upward): Likewise.
15043         (sqrt_test): Likewise.
15044         (tan_test): Likewise.
15045         (tan_test_tonearest): Likewise.
15046         (tan_test_towardzero): Likewise.
15047         (tan_test_downward): Likewise.
15048         (tan_test_upward): Likewise.
15049         (tanh_test): Likewise.
15050         (tgamma_test): Likewise.
15051         (trunc_test): Likewise.
15052         (y0_test): Likewise.
15053         (y1_test): Likewise.
15054         (yn_test): Likewise.
15055         (significand_test): Likewise.
15057 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
15059         [BZ #15381]
15060         * libio/genops.c (_IO_no_init): Initialize wide struct info.
15062 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15064         [BZ #14894]
15065         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15066         __ppc_mdoio and __ppc_mdoom.
15067         * manual/platform.texi: Document new functions __ppc_yield,
15068         __ppc_mdoio and __ppc_mdoom.
15070 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
15072         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15073         (main): Mention "tls" pseudo-hwcap is legacy.
15074         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15076 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15078         * math/gen-libm-test.pl (parse_args): Output only string of
15079         arguments as text for test name, not full call or descriptions of
15080         tests for extra outputs.
15081         (generate_testfile): Do not pass function name to parse_args.
15082         Generate this_func variable from START.
15083         * math/libm-test.inc (struct test_f_f_data): Rename test_name
15084         field to arg_str.
15085         (struct test_ff_f_data): Likewise.
15086         (test_ff_f_data_nexttoward): Likewise.
15087         (struct test_fi_f_data): Likewise.
15088         (struct test_fl_f_data): Likewise.
15089         (struct test_if_f_data): Likewise.
15090         (struct test_fff_f_data): Likewise.
15091         (struct test_c_f_data): Likewise.
15092         (struct test_f_f1_data): Likewise.  Remove field extra_name.
15093         (struct test_fF_f1_data): Likewise.
15094         (struct test_ffI_f1_data): Likewise.
15095         (struct test_c_c_data): Rename test_name field to arg_str.
15096         (struct test_cc_c_data): Likewise.
15097         (struct test_f_i_data): Likewise.
15098         (struct test_ff_i_data): Likewise.
15099         (struct test_f_l_data): Likewise.
15100         (struct test_f_L_data): Likewise.
15101         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
15102         and extra2_name.
15103         (COMMON_TEST_SETUP): New macro.
15104         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15105         (COMMON_TEST_CLEANUP): Likewise.
15106         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15107         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
15108         macros.
15109         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15110         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
15111         macros.
15112         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15113         (RUN_TEST_fff_f): Take argument string.  Call new setup and
15114         cleanup macros.
15115         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15116         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
15117         macros.
15118         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15119         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
15120         macros.
15121         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15122         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
15123         cleanup macros.
15124         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15125         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
15126         cleanup macros.
15127         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15128         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
15129         cleanup macros.
15130         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15131         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
15132         macros.
15133         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15134         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
15135         macros.
15136         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15137         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
15138         macros.
15139         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15140         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
15141         cleanup macros.
15142         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15143         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
15144         cleanup macros.
15145         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15146         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
15147         macros.
15148         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15149         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
15150         cleanup macros.
15151         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15152         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
15153         macros.
15154         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15155         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
15156         macros.
15157         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15158         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
15159         cleanup macros.
15160         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15162 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15164         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15165         to _sifields.sigfault.
15166         (si_addr_lsb): Define new macro.
15167         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15168         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15169         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15171 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
15173         [BZ #15441]
15174         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15175         returns -1.
15176         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15177         null return -1.
15178         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15179         loading the domain.
15181 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15183         * math/gen-libm-test.pl (parse_args): Do not include expected
15184         result in test name.
15185         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15186         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15187         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15188         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15189         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15192 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15194         * benchtests/Makefile: Sort function entries.
15196         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15197         tanh, asinh, acosh, atanh.
15198         * benchtests/acos-inputs: New file.
15199         * benchtests/acosh-inputs: New file.
15200         * benchtests/asin-inputs: New file.
15201         * benchtests/asinh-inputs: New file.
15202         * benchtests/atanh-inputs: New file.
15203         * benchtests/cosh-inputs: New file.
15204         * benchtests/log-inputs: New file.
15205         * benchtests/sinh-inputs: New file.
15206         * benchtests/tanh-inputs: New file.
15208 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
15210         [BZ #15339]
15211         * posix/tst-getaddrinfo4.c: New test.
15212         * posix/Makefile (tests): Add it.
15214 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15216         [BZ #15339]
15217         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15218         when no services were used.
15219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15220         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15222 2013-05-21  Andreas Schwab  <schwab@suse.de>
15224         [BZ #15014]
15225         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15226         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15227         successful.
15228         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15229         redundant variable declarations and reallocation of buffer when
15230         parsing as IPv6 address.  Always set NSS status when called from
15231         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
15232         buffer too small.  Correct computation of needed size.
15233         * nss/Makefile (tests): Add test-digits-dots.
15234         * nss/test-digits-dots.c: New test.
15236 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15238         * benchtests/Makefile: Remove instructions for adding
15239         benchmark tests.
15240         * benchtests/README: New file to explain how to execute and
15241         enhance the benchmark tests.
15243 2013-05-21  Andreas Schwab  <schwab@suse.de>
15245         [BZ #15493]
15246         * setjmp/Makefile (tests): Add tst-sigsetjmp.
15247         * setjmp/tst-sigsetjmp.c: New test.
15249 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15251         * sysdeps/x86_64/memset.S (memset): New implementation.
15252         (__bzero): Likewise.
15253         (__memset_tail): New function.
15255 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15257         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15258         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15259         __memcpy_sse2_unaligned ifunc selection.
15260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15261         Add memcpy-sse2-unaligned.S.
15262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15263         Add: __memcpy_sse2_unaligned.
15265 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
15267         [BZ #15490]
15268         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15269         math_force_eval before restoring floating-point envrionment.
15270         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15271         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15272         Likewise.
15273         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15274         <math_private.h>.
15275         (__nearbyintl): Use math_force_eval before restoring
15276         floating-point environment.
15277         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15279         * math/gen-libm-test.pl (special_functions): Remove.
15280         (parse_args): Don't handle TEST_extra.  Handle functions with no
15281         return value.
15282         * math/libm-test.inc (struct test_sincos_data): Replace with
15283         struct test_fFF_11_data.
15284         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15285         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15286         (sincos_test_data): Change element type to struct
15287         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
15288         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15289         RUN_TEST_LOOP_sincos.
15290         * math/README.libm-test: Don't mention special handling of
15291         individual functions.
15292         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15293         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15294         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15295         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15296         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15299         * math/gen-libm-test.pl (get_variable): Remove function.
15300         (parse_args): Don't show pointer parameters to call in test
15301         names.  Use "extra output N" in test names for extra outputs
15302         rather than naming variables.
15304 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
15306         [BZ #15488]
15307         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15308         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15309         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15310         double tests.
15311         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15312         disable.
15313         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15314         check_long_double.
15316         * math/gen-libm-test.pl (@tests): Remove variable.
15317         ($count): Likewise.
15318         (new_test): Remove function.
15319         (show_exceptions): New function.
15320         (special_functions): Use show_exceptions instead of new_test.
15321         (parse_args): Likewise.
15322         (generate_testfile): Pass only function name in generated call to
15323         print_max_error or print_complex_max_error.
15324         (get_ulps): Do not handle complex tests specially.
15325         (output_test): Rename to ...
15326         (get_all_ulps_for_test): ... this.  Return a string rather than
15327         printing to a file.  Require ulps to be present.
15328         (output_ulps): Generate arrays rather than #defines.
15329         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15330         (struct ulp_data): New type.
15331         (BUILD_COMPLEX_ULP): Remove macro.
15332         (compare_ulp_data): New function.
15333         (find_ulps): Likewise.
15334         (find_test_ulps): Likewise.
15335         (find_function_ulps): Likewise.
15336         (find_complex_function_ulps): Likewise.
15337         (print_max_error): Determine allowed ulps using
15338         find_function_ulps.
15339         (print_complex_max_error): Determine allowed ulps using
15340         find_complex_function_ulps.
15341         (check_float_internal): Determine max ulps using find_test_ulps.
15342         (check_float): Do not take max_ulp parameter.  Update call to
15343         check_float_internal.
15344         (check_complex): Likewise.
15345         (check_int): Do not take max_ulp parameter.
15346         (check_long): Likewise.
15347         (check_bool): Likewise.
15348         (check_longlong): Likewise.
15349         (struct test_f_f_data): Remove max_ulp field.
15350         (struct test_ff_f_data): Likewise.
15351         (struct test_ff_f_data_nexttoward): Likewise.
15352         (struct test_fi_f_data): Likewise.
15353         (struct test_fl_f_data): Likewise.
15354         (struct test_if_f_data): Likewise.
15355         (struct test_fff_f_data): Likewise.
15356         (struct test_c_f_data): Likewise.
15357         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15358         (struct test_fF_f1_data): Likewise.
15359         (struct test_ffI_f1_data): Likewise.
15360         (struct test_c_c_data): Remove max_ulp field.
15361         (struct test_cc_c_data): Likewise.
15362         (struct test_f_i_data): Likewise.
15363         (struct test_ff_i_data): Likewise.
15364         (struct test_f_l_data): Likewise.
15365         (struct test_f_L_data): Likewise.
15366         (struct test_sincos_data): Likewise.
15367         (RUN_TEST_f_f): Do not handle ulps.
15368         (RUN_TEST_LOOP_f_f): Likewise.
15369         (RUN_TEST_2_f): Likewise.
15370         (RUN_TEST_LOOP_2_f): Likewise.
15371         (RUN_TEST_fff_f): Likewise.
15372         (RUN_TEST_LOOP_fff_f): Likewise.
15373         (RUN_TEST_c_f): Likewise.
15374         (RUN_TEST_LOOP_c_f): Likewise.
15375         (RUN_TEST_f_f1): Likewise.
15376         (RUN_TEST_LOOP_f_f1): Likewise.
15377         (RUN_TEST_fF_f1): Likewise.
15378         (RUN_TEST_LOOP_fF_f1): Likewise.
15379         (RUN_TEST_fI_f1): Likewise.
15380         (RUN_TEST_LOOP_fI_f1): Likewise.
15381         (RUN_TEST_ffI_f1): Likewise.
15382         (RUN_TEST_LOOP_ffI_f1): Likewise.
15383         (RUN_TEST_c_c): Likewise.
15384         (RUN_TEST_LOOP_c_c): Likewise.
15385         (RUN_TEST_cc_c): Likewise.
15386         (RUN_TEST_LOOP_cc_c): Likewise.
15387         (RUN_TEST_f_i): Likewise.
15388         (RUN_TEST_LOOP_f_i): Likewise.
15389         (RUN_TEST_f_i_tg): Likewise.
15390         (RUN_TEST_LOOP_f_i_tg): Likewise.
15391         (RUN_TEST_ff_i_tg): Likewise.
15392         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15393         (RUN_TEST_f_b): Likewise.
15394         (RUN_TEST_LOOP_f_b): Likewise.
15395         (RUN_TEST_f_b_tg): Likewise.
15396         (RUN_TEST_LOOP_f_b_tg): Likewise.
15397         (RUN_TEST_f_l): Likewise.
15398         (RUN_TEST_LOOP_f_l): Likewise.
15399         (RUN_TEST_f_L): Likewise.
15400         (RUN_TEST_LOOP_f_L): Likewise.
15401         (RUN_TEST_sincos): Likewise.
15402         (RUN_TEST_LOOP_sincos): Likewise.
15404 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
15406         [BZ #15480]
15407         [BZ #15485]
15408         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15409         main case of finite arguments, set rounding mode to FE_TONEAREST
15410         and discard exceptions.
15411         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15412         exceptions.
15413         (remainder_tonearest_test_data): New variable.
15414         (remainder_test_tonearest): New function.
15415         (remainder_towardzero_test_data): New variable.
15416         (remainder_test_towardzero): New function.
15417         (remainder_downward_test_data): New variable.
15418         (remainder_test_downward): New function.
15419         (remainder_upward_test_data): New variable.
15420         (remainder_test_upward): New function.
15421         (main): Call the new test functions.
15423         * math/libm-test.inc (struct test_f_f1_data): Remove field
15424         extra_init.
15425         (struct test_fF_f1_data): Likewise.
15426         (struct test_ffI_f1_data): Likewise.
15427         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
15428         based on value of EXTRA_EXPECTED.
15429         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15430         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
15431         EXTRA_VAR based on value of EXTRA_EXPECTED.
15432         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15433         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
15434         EXTRA_VAR based on value of EXTRA_EXPECTED.
15435         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15436         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
15437         EXTRA_VAR based on value of EXTRA_EXPECTED.
15438         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15439         * math/gen-libm-test.pl (parse_args): Don't output initializers
15440         for extra output values.
15442         * math/libm-test.inc (check_int): Expect result to be exactly
15443         equal to expected value and do not handle ulps.
15444         (check_long): Likewise.
15445         (check_longlong): Likewise.
15447         * math/libm-test.inc (ceil_test_data): Test for "inexact"
15448         exceptions.
15449         (cimag_test_data): Likewise.
15450         (conj_test_data): Likewise.
15451         (copysign_test_data): Likewise.
15452         (cproj_test_data): Likewise.
15453         (creal_test_data): Likewise.
15454         (fabs_test_data): Likewise.
15455         (fdim_test_data): Likewise.
15456         (finite_test_data): Likewise.
15457         (floor_test_data): Likewise.
15458         (fmax_test_data): Likewise.
15459         (fmin_test_data): Likewise.
15460         (fmod_test_data): Likewise.
15461         (fpclassify_test_data): Likewise.
15462         (frexp_test_data): Likewise.
15463         (ilogb_test_data): Likewise.
15464         (isfinite_test_data): Likewise.
15465         (isgreater_test_data): Likewise.
15466         (isgreaterequal_test_data): Likewise.
15467         (isinf_test_data): Likewise.
15468         (isless_test_data): Likewise.
15469         (islessequal_test_data): Likewise.
15470         (islessgreater_test_data): Likewise.
15471         (isnan_test_data): Likewise.
15472         (isnormal_test_data): Likewise.
15473         (issignaling_test_data): Likewise.
15474         (isunordered_test_data): Likewise.
15475         (ldexp_test_data): Likewise.
15476         (lrint_test_data): Likewise.
15477         (lrint_test_data) [TEST_FLOAT]: Disable one test.
15478         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15479         (lrint_tonearest_test_data): Test for "inexact" exceptions.
15480         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15481         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15482         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15483         test input.
15484         (lrint_towardzero_test_data): Test for "inexact" exceptions.
15485         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15486         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15487         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15488         that test input.
15489         (lrint_downward_test_data): Test for "inexact" exceptions.
15490         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15491         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15492         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15493         test input.
15494         (lrint_upward_test_data): Test for "inexact" exceptions.
15495         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15496         test input.
15497         (llrint_test_data): Test for "inexact" exceptions.
15498         (llrint_test_data) [TEST_FLOAT]: Disable one test.
15499         (llrint_tonearest_test_data): Test for "inexact" exceptions.
15500         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15501         (llrint_towardzero_test_data): Test for "inexact" exceptions.
15502         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15503         (llrint_downward_test_data): Test for "inexact" exceptions.
15504         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15505         (llrint_upward_test_data): Test for "inexact" exceptions.
15506         (logb_test_data): Likewise.
15507         (logb_downward_test_data): Likewise.
15508         (nextafter_test_data): Likewise.
15509         (nexttoward_test_data): Likewise.
15510         (remainder_test_data): Likewise.
15511         (remquo_test_data): Likewise.
15512         (scalbn_test_data): Likewise.
15513         (scalbln_test_data): Likewise.
15514         (signbit_test_data): Likewise.
15515         (sqrt_test_data): Likewise.
15516         (significand_test_data): Likewise.
15518 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15520         [BZ #15424]
15521         * benchtests/bench-modf.c (struct args): Mark arg0 as
15522         volatile.
15523         * scripts/bench.pl: Mark members of struct args as volatile.
15525 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15527         [BZ # 15497]
15528         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15529         negative infinity on POWER6 or lower.
15530         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15532 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15534         [BZ #15442]
15535         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15536         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15537         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15538         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15539         (_FP_SETQNAN): New macro.
15540         (_FP_SETQNAN_SEMIRAW): Likewise.
15541         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15542         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15543         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15544         (FP_EXTEND): Use _FP_FRAC_SNANP.
15545         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15546         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15547         into account.
15548         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15549         New macro.
15550         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15551         Likewise.
15553 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15555         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15556         with DIVIDE_BY_ZERO_EXCEPTION.
15557         (gamma_test_data): Likewise.
15558         (lgamma_test_data): Likewise.
15559         (log_test_data): Likewise.
15560         (log10_test_data): Likewise.
15561         (log2_test_data): Likewise.
15562         (tgamma_test_data): Likewise.
15564         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15565         (acos_test_tonearest): Likewise.
15566         (acos_test_towardzero): Likewise.
15567         (acos_test_downward): Likewise.
15568         (acos_test_upward): Likewise.
15569         (acosh_test): Likewise.
15570         (asin_test): Likewise.
15571         (asin_test_tonearest): Likewise.
15572         (asin_test_towardzero): Likewise.
15573         (asin_test_downward): Likewise.
15574         (asin_test_upward): Likewise.
15575         (asinh_test): Likewise.
15576         (atan_test): Likewise.
15577         (atanh_test): Likewise.
15578         (atan2_test): Likewise.
15579         (cabs_test): Likewise.
15580         (cacos_test): Likewise.
15581         (cacosh_test): Likewise.
15582         (casin_test): Likewise.
15583         (casinh_test): Likewise.
15584         (catan_test): Likewise.
15585         (catanh_test): Likewise.
15586         (cbrt_test): Likewise.
15587         (ccos_test): Likewise.
15588         (ccosh_test): Likewise.
15589         (cexp_test): Likewise.
15590         (clog_test): Likewise.
15591         (clog10_test): Likewise.
15592         (cos_test): Likewise.
15593         (cos_test_tonearest): Likewise.
15594         (cos_test_towardzero): Likewise.
15595         (cos_test_downward): Likewise.
15596         (cos_test_upward): Likewise.
15597         (cosh_test): Likewise.
15598         (cosh_test_tonearest): Likewise.
15599         (cosh_test_towardzero): Likewise.
15600         (cosh_test_downward): Likewise.
15601         (cosh_test_upward): Likewise.
15602         (cpow_test): Likewise.
15603         (csin_test): Likewise.
15604         (csinh_test): Likewise.
15605         (csqrt_test): Likewise.
15606         (ctan_test): Likewise.
15607         (ctan_test_tonearest): Likewise.
15608         (ctan_test_towardzero): Likewise.
15609         (ctan_test_downward): Likewise.
15610         (ctan_test_upward): Likewise.
15611         (ctanh_test): Likewise.
15612         (ctanh_test_tonearest): Likewise.
15613         (ctanh_test_towardzero): Likewise.
15614         (ctanh_test_downward): Likewise.
15615         (ctanh_test_upward): Likewise.
15616         (erf_test): Likewise.
15617         (erfc_test): Likewise.
15618         (exp_test): Likewise.
15619         (exp_test_tonearest): Likewise.
15620         (exp_test_towardzero): Likewise.
15621         (exp_test_downward): Likewise.
15622         (exp_test_upward): Likewise.
15623         (exp10_test): Likewise.
15624         (exp2_test): Likewise.
15625         (expm1_test): Likewise.
15626         (fmod_test): Likewise.
15627         (gamma_test): Likewise.
15628         (hypot_test): Likewise.
15629         (j0_test): Likewise.
15630         (j1_test): Likewise.
15631         (jn_test): Likewise.
15632         (lgamma_test): Likewise.
15633         (log_test): Likewise.
15634         (log10_test): Likewise.
15635         (log1p_test): Likewise.
15636         (log2_test): Likewise.
15637         (logb_test_downward): Likewise.
15638         (pow_test): Likewise.
15639         (pow_test_tonearest): Likewise.
15640         (pow_test_towardzero): Likewise.
15641         (pow_test_downward): Likewise.
15642         (pow_test_upward): Likewise.
15643         (remainder_test): Likewise.
15644         (remquo_test): Likewise.
15645         (sin_test): Likewise.
15646         (sin_test_tonearest): Likewise.
15647         (sin_test_towardzero): Likewise.
15648         (sin_test_downward): Likewise.
15649         (sin_test_upward): Likewise.
15650         (sincos_test): Likewise.
15651         (sinh_test): Likewise.
15652         (sinh_test_tonearest): Likewise.
15653         (sinh_test_towardzero): Likewise.
15654         (sinh_test_downward): Likewise.
15655         (sinh_test_upward): Likewise.
15656         (sqrt_test): Likewise.
15657         (tan_test): Likewise.
15658         (tan_test_tonearest): Likewise.
15659         (tan_test_towardzero): Likewise.
15660         (tan_test_downward): Likewise.
15661         (tan_test_upward): Likewise.
15662         (tanh_test): Likewise.
15663         (tgamma_test): Likewise.
15664         (y0_test): Likewise.
15665         (y1_test): Likewise.
15666         (yn_test): Likewise.
15668         * math/gen-libm-test.pl (adjust_arg): Remove function.
15669         (special_function): Remove argument $in_func.  Only handle
15670         generating output for tables of tests, not inside functions.
15671         (parse_args): Likewise.
15672         (generate_testfile): Remove variable $in_func.  Update call to
15673         parse_args.
15674         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15675         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15676         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15677         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15678         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15679         (MAX_VALUE_INIT): Rename macro to max_value.
15680         (MIN_VALUE_INIT): Rename macro to min_value.
15681         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15682         (plus_zero): Remove variable.
15683         (minus_zero): Likewise.
15684         (plus_infty): Likewise.
15685         (minus_infty): Likewise.
15686         (qnan_value): Likewise.
15687         (max_value): Likewise.
15688         (min_value): Likewise.
15689         (min_subnorm_value): Likewise.
15691 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15693         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15694         uint64_t or uint32_t usage.
15695         * crypt/sha256-block.c: Likewise.
15696         * crypt/sha256-crypt.c: Likewise.
15697         * crypt/sha256.c: Likewise.
15698         * crypt/sha512-block.c: Likewise.
15699         * crypt/sha512-crypt.c: Likewise.
15700         * crypt/sha512.c: Likewise.
15701         * debug/backtrace-tst.c: Likewise.
15702         * debug/pcprofiledump.c: Likewise.
15703         * elf/cache.c: Likewise.
15704         * elf/dl-cache.c: Likewise.
15705         * elf/dl-misc.c: Likewise.
15706         * elf/dl-profile.c: Likewise.
15707         * elf/dl-support.c: Likewise.
15708         * elf/ldconfig.c: Likewise.
15709         * elf/sprof.c: Likewise.
15710         * iconv/dummy-repertoire.c: Likewise.
15711         * iconv/iconv_charmap.c: Likewise.
15712         * iconv/skeleton.c: Likewise.
15713         * iconvdata/8bit-generic.c: Likewise.
15714         * iconvdata/cp737.h: Likewise.
15715         * iconvdata/cp775.h: Likewise.
15716         * iconvdata/ibm1008.h: Likewise.
15717         * iconvdata/ibm1025.h: Likewise.
15718         * iconvdata/ibm1046.h: Likewise.
15719         * iconvdata/ibm1097.h: Likewise.
15720         * iconvdata/ibm1112.h: Likewise.
15721         * iconvdata/ibm1122.h: Likewise.
15722         * iconvdata/ibm1123.h: Likewise.
15723         * iconvdata/ibm1124.h: Likewise.
15724         * iconvdata/ibm1129.h: Likewise.
15725         * iconvdata/ibm1130.h: Likewise.
15726         * iconvdata/ibm1132.h: Likewise.
15727         * iconvdata/ibm1133.h: Likewise.
15728         * iconvdata/ibm1137.h: Likewise.
15729         * iconvdata/ibm1140.h: Likewise.
15730         * iconvdata/ibm1141.h: Likewise.
15731         * iconvdata/ibm1142.h: Likewise.
15732         * iconvdata/ibm1143.h: Likewise.
15733         * iconvdata/ibm1144.h: Likewise.
15734         * iconvdata/ibm1145.h: Likewise.
15735         * iconvdata/ibm1146.h: Likewise.
15736         * iconvdata/ibm1147.h: Likewise.
15737         * iconvdata/ibm1148.h: Likewise.
15738         * iconvdata/ibm1149.h: Likewise.
15739         * iconvdata/ibm1153.h: Likewise.
15740         * iconvdata/ibm1154.h: Likewise.
15741         * iconvdata/ibm1155.h: Likewise.
15742         * iconvdata/ibm1156.h: Likewise.
15743         * iconvdata/ibm1157.h: Likewise.
15744         * iconvdata/ibm1158.h: Likewise.
15745         * iconvdata/ibm1160.h: Likewise.
15746         * iconvdata/ibm1161.h: Likewise.
15747         * iconvdata/ibm1162.h: Likewise.
15748         * iconvdata/ibm1163.h: Likewise.
15749         * iconvdata/ibm1164.h: Likewise.
15750         * iconvdata/ibm1166.h: Likewise.
15751         * iconvdata/ibm1167.h: Likewise.
15752         * iconvdata/ibm12712.h: Likewise.
15753         * iconvdata/ibm1390.h: Likewise.
15754         * iconvdata/ibm1399.h: Likewise.
15755         * iconvdata/ibm16804.h: Likewise.
15756         * iconvdata/ibm4517.h: Likewise.
15757         * iconvdata/ibm4899.h: Likewise.
15758         * iconvdata/ibm4909.h: Likewise.
15759         * iconvdata/ibm4971.h: Likewise.
15760         * iconvdata/ibm5347.h: Likewise.
15761         * iconvdata/ibm803.h: Likewise.
15762         * iconvdata/ibm856.h: Likewise.
15763         * iconvdata/ibm901.h: Likewise.
15764         * iconvdata/ibm902.h: Likewise.
15765         * iconvdata/ibm9030.h: Likewise.
15766         * iconvdata/ibm9066.h: Likewise.
15767         * iconvdata/ibm921.h: Likewise.
15768         * iconvdata/ibm922.h: Likewise.
15769         * iconvdata/ibm9448.h: Likewise.
15770         * iconvdata/isiri-3342.h: Likewise.
15771         * iconvdata/jis0201.h: Likewise.
15772         * include/link.h: Likewise.
15773         * include/netdb.h: Likewise.
15774         * inet/check_native.c: Likewise.
15775         * inet/check_pf.c: Likewise.
15776         * inet/getipv4sourcefilter.c: Likewise.
15777         * inet/getnameinfo.c: Likewise.
15778         * inet/getsourcefilter.c: Likewise.
15779         * inet/htonl.c: Likewise.
15780         * inet/setipv4sourcefilter.c: Likewise.
15781         * inet/setsourcefilter.c: Likewise.
15782         * inet/test-inet6_opt.c: Likewise.
15783         * inet/tst-network.c: Likewise.
15784         * locale/C-collate.c: Likewise.
15785         * locale/C-ctype.c: Likewise.
15786         * locale/C-time.c: Likewise.
15787         * locale/C-translit.h: Likewise.
15788         * locale/loadarchive.c: Likewise.
15789         * locale/programs/3level.h: Likewise.
15790         * locale/programs/charmap.c: Likewise.
15791         * locale/programs/charmap.h: Likewise.
15792         * locale/programs/ld-address.c: Likewise.
15793         * locale/programs/ld-collate.c: Likewise.
15794         * locale/programs/ld-ctype.c: Likewise.
15795         * locale/programs/ld-identification.c: Likewise.
15796         * locale/programs/ld-measurement.c: Likewise.
15797         * locale/programs/ld-messages.c: Likewise.
15798         * locale/programs/ld-monetary.c: Likewise.
15799         * locale/programs/ld-name.c: Likewise.
15800         * locale/programs/ld-numeric.c: Likewise.
15801         * locale/programs/ld-paper.c: Likewise.
15802         * locale/programs/ld-telephone.c: Likewise.
15803         * locale/programs/ld-time.c: Likewise.
15804         * locale/programs/linereader.c: Likewise.
15805         * locale/programs/locale.c: Likewise.
15806         * locale/programs/locarchive.c: Likewise.
15807         * locale/programs/locfile.h: Likewise.
15808         * locale/programs/repertoire.c: Likewise.
15809         * locale/programs/simple-hash.c: Likewise.
15810         * locale/programs/simple-hash.h: Likewise.
15811         * malloc/memusage.c: Likewise.
15812         * malloc/memusagestat.c: Likewise.
15813         * nis/nis_defaults.c: Likewise.
15814         * nis/nis_hash.c: Likewise.
15815         * nis/nis_print.c: Likewise.
15816         * nis/nis_xdr.c: Likewise.
15817         * nscd/connections.c: Likewise.
15818         * nscd/hstcache.c: Likewise.
15819         * nscd/nscd_gethst_r.c: Likewise.
15820         * nscd/nscd_getserv_r.c: Likewise.
15821         * nscd/nscd_helper.c: Likewise.
15822         * nscd/servicescache.c: Likewise.
15823         * nss/makedb.c: Likewise.
15824         * nss/nss_db/db-XXX.c: Likewise.
15825         * nss/nss_db/db-initgroups.c: Likewise.
15826         * nss/nss_db/db-netgrp.c: Likewise.
15827         * nss/nss_files/files-network.c: Likewise.
15828         * nss/nss_files/files-parse.c: Likewise.
15829         * posix/bug-regex5.c: Likewise.
15830         * posix/fnmatch_loop.c: Likewise.
15831         * posix/regcomp.c: Likewise.
15832         * posix/regexec.c: Likewise.
15833         * posix/tst-rfc3484-2.c: Likewise.
15834         * posix/tst-rfc3484-3.c: Likewise.
15835         * posix/tst-rfc3484.c: Likewise.
15836         * resolv/nss_dns/dns-canon.c: Likewise.
15837         * resolv/nss_dns/dns-network.c: Likewise.
15838         * resolv/res_init.c: Likewise.
15839         * resolv/res_mkquery.c: Likewise.
15840         * resolv/tst-aton.c: Likewise.
15841         * stdlib/cxa_atexit.c: Likewise.
15842         * stdlib/cxa_finalize.c: Likewise.
15843         * stdlib/gen-fpioconst.c: Likewise.
15844         * stdlib/strtol_l.c: Likewise.
15845         * string/tst-endian.c: Likewise.
15846         * sunrpc/auth_des.c: Likewise.
15847         * sunrpc/clnt_udp.c: Likewise.
15848         * sunrpc/rtime.c: Likewise.
15849         * sunrpc/svcauth_des.c: Likewise.
15850         * sunrpc/xdr.c: Likewise.
15851         * sunrpc/xdr_intXX_t.c: Likewise.
15852         * sunrpc/xdr_rec.c: Likewise.
15853         * sysdeps/generic/ldconfig.h: Likewise.
15854         * sysdeps/generic/ldsodefs.h: Likewise.
15855         * sysdeps/generic/memusage.h: Likewise.
15856         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15857         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15858         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15859         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15860         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15861         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15862         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15863         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15864         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15866         * sysdeps/posix/getaddrinfo.c: Likewise.
15867         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15868         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15869         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15870         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15871         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15872         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15873         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15874         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15875         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15876         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15877         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15878         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15879         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15880         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15881         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15882         * sysdeps/x86_64/dl-tls.h: Likewise.
15883         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15884         * time/alt_digit.c: Likewise.
15885         * time/era.c: Likewise.
15886         * wcsmbs/tst-c16c32-1.c: Likewise.
15888 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15890         * math/libm-test.inc (struct test_sincos_data): New type.
15891         (RUN_TEST_LOOP_sincos): New macro.
15892         (sincos_test_data): New variable.
15893         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15895 2013-05-16  Richard Henderson  <rth@redhat.com>
15897         * math/atest-exp2.c (LIMB64): New macro.
15898         (CONSTSZ): New macro.
15899         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15900         (hexdig): Move ...
15901         (print_mpn_fp): ... to function scope.
15902         (read_mpn_hex): Remove.
15903         (get_log2): Remove.
15904         (exp2_mpn): Use mp_log2.
15905         (main): Use mp_exp1.
15907 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15909         * math/libm-test.inc: Remove comment about not testing "inexact"
15910         exceptions.
15911         (INEXACT_EXCEPTION): New macro.
15912         (NO_INEXACT_EXCEPTION): Likewise.
15913         (INVALID_EXCEPTION_OK): Update value.
15914         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15915         (OVERFLOW_EXCEPTION_OK): Likewise.
15916         (UNDERFLOW_EXCEPTION_OK): Likewise.
15917         (IGNORE_ZERO_INF_SIGN): Likewise.
15918         (ERRNO_UNCHANGED): Likewise.
15919         (ERRNO_EDOM): Likewise.
15920         (ERRNO_ERANGE): Likewise.
15921         (test_exceptions): Handle testing "inexact" exceptions.
15922         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15923         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15924         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15925         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15926         INEXACT_EXCEPTION.
15927         (rint_towardzero_test_data): Likewise.
15928         (rint_downward_test_data): Likewise.
15929         (rint_upward_test_data): Likewise.
15931         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15932         with OVERFLOW_EXCEPTION.
15933         (exp10_test_data): Likewise.
15934         (exp2_test_data): Likewise.
15935         (expm1_test_data): Likewise.
15936         (lgamma_test_data): Likewise.
15937         (pow_test_data): Likewise.
15938         (tgamma_test_data): Likewise.
15939         (yn_test_data): Remove duplicate test of overflow.
15941         * math/libm-test.inc (struct test_cc_c_data): New type.
15942         (RUN_TEST_LOOP_cc_c): New macro.
15943         (cpow_test_data): New variable.
15944         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15946         * math/libm-test.inc (struct test_f_L_data): New type.
15947         (RUN_TEST_LOOP_f_L): New macro.
15948         (llrint_test_data): New variable.
15949         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15950         (llrint_tonearest_test_data): New variable.
15951         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15952         (llrint_towardzero_test_data): New variable.
15953         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15954         (llrint_downward_test_data): New variable.
15955         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15956         (llrint_upward_test_data): New variable.
15957         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15958         (llround_test_data): New variable.
15959         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15961 2013-05-13  Peter Collingbourne  <pcc@google.com>
15963         * math/atest-exp2.c (get_log2): Remove const attribute.
15965 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15967         * math/libm-test.inc (struct test_f_l_data): New type.
15968         (RUN_TEST_LOOP_f_l): New macro.
15969         (lrint_test_data): New variable.
15970         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15971         (lrint_tonearest_test_data): New variable.
15972         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15973         (lrint_towardzero_test_data): New variable.
15974         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15975         (lrint_downward_test_data): New variable.
15976         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15977         (lrint_upward_test_data): New variable.
15978         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15979         (lround_test_data): New variable.
15980         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15982 2013-05-15  Peter Collingbourne  <pcc@google.com>
15984         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15985         (EXTRACT_WORDS64) Use where appropriate.
15986         (INSERT_WORDS64) Likewise.
15988         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15989         constraints with x constraints.
15990         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15992         * malloc/obstack.c (_obstack_compat): Add initializer.
15994 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15996         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15997         si_trapno and add si_addr_lsb to _sifields.sigfault.
15998         (si_trapno): Remove macro.
15999         (si_addr_lsb): Define new macro.
16000         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16002 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16004         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16005         instead of TEST_f_l.
16006         (llrint_test_tonearest): Likewise.
16007         (llrint_test_towardzero): Likewise.
16008         (llrint_test_downward): Likewise.
16009         (llrint_test_upward): Likewise.
16010         (llround_test): Likewise.
16012         * math/libm-test.inc (struct test_f_i_data): Add comment.
16013         (RUN_TEST_LOOP_f_b): New macro.
16014         (RUN_TEST_LOOP_f_b_tg): Likewise.
16015         (finite_test_data): New variable.
16016         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16017         (isfinite_test_data): New variable.
16018         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16019         (isinf_test_data): New variable.
16020         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16021         (isnan_test_data): New variable.
16022         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16023         (isnormal_test_data): New variable.
16024         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16025         (issignaling_test_data): New variable.
16026         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16027         (signbit_test_data): New variable.
16028         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16030         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16031         with INVALID_EXCEPTION.
16032         (acosh_test_data): Likewise.
16033         (asin_test_data): Likewise.
16034         (atanh_test_data): Likewise.
16035         (fmod_test_data): Likewise.
16036         (log_test_data): Likewise.
16037         (log10_test_data): Likewise.
16038         (log2_test_data): Likewise.
16039         (pow_test_data): Likewise.
16040         (sqrt_test_data): Likewise.
16041         (y0_test_data): Likewise.
16042         (y1_test_data): Likewise.
16043         (yn_test_data): Likewise.
16045         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16046         function contents.
16048         * math/libm-test.inc (struct test_ff_i_data): New type.
16049         (RUN_TEST_LOOP_ff_i_tg): New macro.
16050         (isgreater_test_data): New variable.
16051         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16052         (isgreaterequal_test_data): New variable.
16053         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16054         (isless_test_data): New variable.
16055         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16056         (islessequal_test_data): New variable.
16057         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16058         (islessgreater_test_data): New variable.
16059         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16060         (isunordered_test_data): New variable.
16061         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16063 2013-05-14  David S. Miller  <davem@davemloft.net>
16065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16067 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
16069         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16071         * math/libm-test.inc (struct test_fF_f1_data): Change type of
16072         extra_test to int.
16073         (struct test_f_i_data): Change type of max_ulp to int.
16075         * math/libm-test.inc (test_ffI_f1_data): New type.
16076         (RUN_TEST_LOOP_ffI_f1): New macro.
16077         (remquo_test_data): New variable.
16078         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16080         * setjmp/tst-setjmp-fp.c: New file.
16081         * setjmp/Makefile (tests): Add tst-setjmp-fp.
16082         (link-libm): New variable.
16083         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16085         * math/libm-test.inc (struct test_f_i_data): New type.
16086         (RUN_TEST_LOOP_f_i): New macro.
16087         (RUN_TEST_LOOP_f_i_tg): Likewise.
16088         (fpclassify_test_data): New variable.
16089         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16090         (ilogb_test_data): New variable.
16091         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16093         * math/libm-test.inc (scalbln_test): Correct function name in END
16094         call.
16096         * math/libm-test.inc (struct test_f_f1_data): Add comment.
16097         (RUN_TEST_LOOP_fI_f1): New macro.
16098         (frexp_test_data): New variable.
16099         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16101         * math/libm-test.inc (struct test_fF_f1_data): New type.
16102         (RUN_TEST_LOOP_fF_f1): New macro.
16103         (modf_test_data): New variable.
16104         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16106         * math/libm-test.inc (struct test_f_f1_data): New type.
16107         (RUN_TEST_LOOP_f_f1): New macro.
16108         (gamma_test_data): New variable.
16109         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16110         (lgamma_test_data): New variable.
16111         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16113 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
16115         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16116         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16117         (main): Comment "tls" pseudo-hwcap.
16119 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
16121         * math/libm-test.inc (struct test_fl_f_data): New type.
16122         (RUN_TEST_LOOP_fl_f): New variable.
16123         (scalbln_test_data): New variable.
16124         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16126         * math/libm-test.inc (struct test_fi_f_data): New type.
16127         (RUN_TEST_LOOP_fi_f): New macro.
16128         (ldexp_test_data): New variable.
16129         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16130         (scalbn_test_data): New variable.
16131         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16133         * math/libm-test.inc (struct test_c_f_data): New type.
16134         (RUN_TEST_LOOP_c_f): New macro.
16135         (cabs_test_data): New variable.
16136         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16137         (carg_test_data): New variable.
16138         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16139         (cimag_test_data): New variable.
16140         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16141         (creal_test_data): New variable.
16142         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16144         * math/libm-test.inc (struct test_if_f_data): New type.
16145         (RUN_TEST_LOOP_if_f): New macro.
16146         (jn_test_data): New variable.
16147         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16148         (yn_test_data): New variable.
16149         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16151         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16153 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16155         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16156         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16158 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16160         * benchtests/Makefile (CPPFLAGS-nonlib): Add
16161         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16162         (bench-deps): Add bench-timing.h.
16163         * benchtests-bench-skeleton.c: Include bench-timing.h.
16164         (main): Use TIMING_* macros instead of clock_gettime.
16165         * benchtests/bench-timing.h: New file.
16167         [BZ #14582]
16168         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16169         Renamed from _LIB_VERSION.
16170         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16172 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
16174         * math/libm-test.inc (struct test_fff_f_data): New type.
16175         (RUN_TEST_LOOP_fff_f): New macro.
16176         (fma_test_data): New variable.
16177         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16178         (fma_towardzero_test_data): New variable.
16179         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16180         (fma_downward_test_data): New variable.
16181         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16182         (fma_upward_test_data): New variable.
16183         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16185         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16186         (struct test_c_c_data): New type.
16187         (RUN_TEST_LOOP_c_c): New macro.
16188         (cacos_test_data): New variable.
16189         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16190         (cacosh_test_data): New variable.
16191         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16192         (casin_test_data): New variable.
16193         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16194         (casinh_test_data): New variable.
16195         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16196         (catan_test_data): New variable.
16197         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16198         (catanh_test_data): New variable.
16199         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16200         (ccos_test_data): New variable.
16201         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16202         (ccosh_test_data): New variable.
16203         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16204         (cexp_test_data): New variable.
16205         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16206         (clog_test_data): New variable.
16207         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16208         (clog10_test_data): New variable.
16209         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16210         (conj_test_data): New variable.
16211         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16212         (cproj_test_data): New variable.
16213         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16214         (csin_test_data): New variable.
16215         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16216         (csinh_test_data): New variable.
16217         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16218         (csqrt_test_data): New variable.
16219         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16220         (ctan_test_data): New variable.
16221         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16222         (ctan_tonearest_test_data): New variable.
16223         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16224         (ctan_towardzero_test_data): New variable.
16225         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16226         (ctan_downward_test_data): New variable.
16227         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16228         (ctan_upward_test_data): New variable.
16229         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16230         (ctanh_test_data): New variable.
16231         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16232         (ctanh_tonearest_test_data): New variable.
16233         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16234         (ctanh_towardzero_test_data): New variable.
16235         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16236         (ctanh_downward_test_data): New variable.
16237         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16238         (ctanh_upward_test_data): New variable.
16239         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16240         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16241         of BUILD_COMPLEX.
16243         * math/libm-test.inc (struct test_ff_f_data): New type.
16244         (struct test_ff_f_data_nexttoward): Likewise.
16245         (RUN_TEST_LOOP_2_f): New macro.
16246         (RUN_TEST_LOOP_ff_f): Likewise.
16247         (atan2_test_data): New variable.
16248         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16249         (copysign_test_data): New variable.
16250         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16251         (fdim_test_data): New variable.
16252         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16253         (fmax_test_data): New variable.
16254         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16255         (fmin_test_data): New variable.
16256         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16257         (fmod_test_data): New variable.
16258         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16259         (hypot_test_data): New variable.
16260         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16261         (nextafter_test_data): New variable.
16262         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16263         (nexttoward_test_data): New variable.
16264         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16265         (pow_test_data): New variable.
16266         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16267         (pow_tonearest_test_data): New variable.
16268         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16269         (pow_towardzero_test_data): New variable.
16270         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16271         (pow_downward_test_data): New variable.
16272         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16273         (pow_upward_test_data): New variable.
16274         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16275         (remainder_test_data): New variable.
16276         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16277         (scalb_test_data): New variable.
16278         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16279         * sysdeps/i386/fpu/libm-test-ulps: Update.
16281 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
16283         * math/libm-test.inc (fma_test): Use max_value instead of local
16284         variable fltmax.
16285         (nextafter_test): Likewise.
16287         * math/libm-test.inc (acos_towardzero_test_data): New variable.
16288         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16289         (acos_downward_test_data): New variable.
16290         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16291         (acos_upward_test_data): New variable.
16292         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16293         (acosh_test_data): New variable.
16294         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16295         (asin_test_data): New variable.
16296         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16297         (asin_tonearest_test_data): New variable.
16298         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16299         (asin_towardzero_test_data): New variable.
16300         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16301         (asin_downward_test_data): New variable.
16302         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16303         (asin_upward_test_data): New variable.
16304         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16305         (asinh_test_data): New variable.
16306         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16307         (atan_test_data): New variable.
16308         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16309         (atanh_test_data): New variable.
16310         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16311         (cbrt_test_data): New variable.
16312         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16313         (ceil_test_data): New variable.
16314         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16315         (cos_test_data): New variable.
16316         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16317         (cos_tonearest_test_data): New variable.
16318         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16319         (cos_towardzero_test_data): New variable.
16320         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16321         (cos_downward_test_data): New variable.
16322         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16323         (cos_upward_test_data): New variable.
16324         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16325         (cosh_test_data): New variable.
16326         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16327         (cosh_tonearest_test_data): New variable.
16328         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16329         (cosh_towardzero_test_data): New variable.
16330         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16331         (cosh_downward_test_data): New variable.
16332         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16333         (cosh_upward_test_data): New variable.
16334         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16335         (erf_test_data): New variable.
16336         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16337         (erfc_test_data): New variable.
16338         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16339         (exp_test_data): New variable.
16340         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16341         (exp_tonearest_test_data): New variable.
16342         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16343         (exp_towardzero_test_data): New variable.
16344         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16345         (exp_downward_test_data): New variable.
16346         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16347         (exp_upward_test_data): New variable.
16348         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16349         (exp10_test_data): New variable.
16350         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16351         (exp2_test_data): New variable.
16352         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16353         (expm1_test_data): New variable.
16354         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16355         (fabs_test_data): New variable.
16356         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16357         (floor_test_data): New variable.
16358         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16359         (j0_test_data): New variable.
16360         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16361         (j1_test_data): New variable.
16362         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16363         (log_test_data): New variable.
16364         (log_test): Run tests with RUN_TEST_LOOP_f_f.
16365         (log10_test_data): New variable.
16366         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16367         (log1p_test_data): New variable.
16368         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16369         (log2_test_data): New variable.
16370         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16371         (logb_test_data): New variable.
16372         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16373         (logb_downward_test_data): New variable.
16374         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16375         (nearbyint_test_data): New variable.
16376         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16377         (rint_test_data): New variable.
16378         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16379         (rint_tonearest_test_data): New variable.
16380         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16381         (rint_towardzero_test_data): New variable.
16382         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16383         (rint_downward_test_data): New variable.
16384         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16385         (rint_upward_test_data): New variable.
16386         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16387         (round_test_data): New variable.
16388         (round_test): Run tests with RUN_TEST_LOOP_f_f.
16389         (sin_test_data): New variable.
16390         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16391         (sin_tonearest_test_data): New variable.
16392         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16393         (sin_towardzero_test_data): New variable.
16394         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16395         (sin_downward_test_data): New variable.
16396         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16397         (sin_upward_test_data): New variable.
16398         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16399         (sinh_test_data): New variable.
16400         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16401         (sinh_tonearest_test_data): New variable.
16402         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16403         (sinh_towardzero_test_data): New variable.
16404         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16405         (sinh_downward_test_data): New variable.
16406         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16407         (sinh_upward_test_data): New variable.
16408         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16409         (sqrt_test_data): New variable.
16410         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16411         (tan_test_data): New variable.
16412         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16413         (tan_tonearest_test_data): New variable.
16414         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16415         (tan_towardzero_test_data): New variable.
16416         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16417         (tan_downward_test_data): New variable.
16418         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16419         (tan_upward_test_data): New variable.
16420         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16421         (tanh_test_data): New variable.
16422         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16423         (tgamma_test_data): New variable.
16424         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16425         (trunc_test_data): New variable.
16426         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16427         (y0_test_data): New variable.
16428         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16429         (y1_test_data): New variable.
16430         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16431         (significand_test_data): New variable.
16432         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16434 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
16436         [BZ #12387]
16437         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16439 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16441         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16443 2013-05-10  Andreas Jaeger  <aj@suse.de>
16445         [BZ #15448]
16446         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16447         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16449 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16451         * math/gen-libm-test.pl (adjust_arg): New function.
16452         (special_functions): Handle generating output in both functions
16453         and arrays.
16454         (parse_args): Likewise.
16455         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
16456         $in_func argument to parse_args.
16457         * math/libm-test.inc (struct test_f_f_data): New type.
16458         (IF_ROUND_INIT_): New macro.
16459         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16460         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16461         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16462         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16463         (ROUND_RESTORE_): Likewise.
16464         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16465         (ROUND_RESTORE_FE_TONEAREST): Likewise.
16466         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16467         (ROUND_RESTORE_FE_UPWARD): Likewise.
16468         (RUN_TEST_LOOP_f_f): New macro.
16469         (acos_test_data): New variable.
16470         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16471         (acos_tonearest_test_data): New variable.
16472         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16474 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16476         * benchtests/bench-skeleton.c (startup): Fix coding style.
16478 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16480         [BZ #6809]
16481         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16482         negative infinity argument.
16483         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16484         negative infinity argument.
16485         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16486         negative infinity argument.
16487         * math/libm-test.inc (tgamma_test): Expect errno to be set for
16488         domain errors.
16490 2013-05-10  Florian Weimer  <fweimer@redhat.com>
16492         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16493         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16494         * iconv/iconv_prog.c (main): Likewise.
16495         * locale/programs/charmap-dir.c (charmap_readdir)
16496         (fopen_uncompressed): Likewise.
16497         * locale/programs/locfile.c (siblings_uncached)
16498         (write_locale_data): Use lstat64 instead of lstat.
16499         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16500         stat.
16502 2013-05-10  Andreas Jaeger  <aj@suse.de>
16504         [BZ #15395]
16505         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16506         localization.
16507         Include <locale.h>.
16509 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
16511         * elf/dl-close.c (_dl_close_worker): Add comments.
16513 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
16515         [BZ #15359]
16516         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16517         high part of pi/2.
16518         (__ieee754_rem_pio2l): Update comments.
16520         [BZ #15429]
16521         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16522         high part of pi/2.
16523         (__ieee754_rem_pio2l): Update comments.
16525         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16526         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16528         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16529         M_PI_4l.
16531         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16532         (M_PI_34_LOG10El): Likewise.
16533         (M_PI2_LOG10El): Likewise.
16534         (M_PI4_LOG10El): Likewise.
16535         (M_PI_LOG10El): Likewise.
16537 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16541 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16543         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16544         (MINUS_ZERO_INIT): Likewise.
16545         (PLUS_INFTY_INIT): Likewise.
16546         (MINUS_INFTY_INIT): Likewise.
16547         (QNAN_VALUE_INIT): Likewise.
16548         (MAX_VALUE_INIT): Likewise.
16549         (MIN_VALUE_INIT): Likewise.
16550         (MIN_SUBNORM_VALUE_INIT): Likewise.
16551         (plus_zero): Initialize with PLUS_ZERO_INIT.
16552         (minus_zero): Initialize with MINUS_ZERO_INIT.
16553         (plus_infty): Initialize with PLUS_INFTY_INIT.
16554         (minus_infty): Initialize with MINUS_INFTY_INIT.
16555         (qnan_value): Initialize with QNAN_VALUE_INIT.
16556         (max_value): Initialize with MAX_VALUE_INIT.
16557         (min_value): Initialize with MIN_VALUE_INIT.
16558         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16560         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16561         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16562         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16563         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16565         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16566         (RUN_TEST_2_f): Likewise.
16567         (RUN_TEST_ff_f): Likewise.
16568         (RUN_TEST_fi_f): Likewise.
16569         (RUN_TEST_fl_f): Likewise.
16570         (RUN_TEST_fff_f): Likewise.
16571         (RUN_TEST_c_f): Likewise.
16572         (RUN_TEST_f_f1): Likewise.
16573         (RUN_TEST_fF_f1): Likewise.
16574         (RUN_TEST_fI_f1): Likewise.
16575         (RUN_TEST_ffI_f1): Likewise.
16576         (RUN_TEST_c_c): Likewise.
16577         (RUN_TEST_cc_c): Likewise.
16578         (RUN_TEST_f_i): Likewise.
16579         (RUN_TEST_f_i_tg): Likewise.
16580         (RUN_TEST_ff_i_tg): Likewise.
16581         (RUN_TEST_f_b): Likewise.
16582         (RUN_TEST_f_b_tg): Likewise.
16583         (RUN_TEST_f_l): Likewise.
16584         (RUN_TEST_f_L): Likewise.
16585         (RUN_TEST_sincos): Likewise.
16586         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16587         whether to show exceptions.  Do not include ");\n" in return
16588         value.
16589         (special_functions): Output call to RUN_TEST_sincos instead of
16590         check_float calls.  Update calls to new_test.
16591         (parse_args): Output call to single RUN_TEST_* macro instead of
16592         check_* calls and other assignments.  Update calls to new_test.
16594         [BZ #2546]
16595         [BZ #2560]
16596         [BZ #5159]
16597         [BZ #15426]
16598         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16599         input to result for tgamma overflow.
16600         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16601         (gamma_coeff): New variable.
16602         (NCOEFF): New macro.
16603         (gamma_positive): New function.
16604         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16605         underflow here.  Use gamma_positive instead of exp (lgamma) for
16606         other arguments.
16607         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16608         (gamma_coeff): New variable.
16609         (NCOEFF): New macro.
16610         (gammaf_positive): New function.
16611         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16612         underflow here.  Use gamma_positive instead of exp (lgamma) for
16613         other arguments.
16614         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16615         (gamma_coeff): New variable.
16616         (NCOEFF): New macro.
16617         (gammal_positive): New function.
16618         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16619         underflow here.  Use gamma_positive instead of exp (lgamma) for
16620         other arguments.
16621         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16622         (gamma_coeff): New variable.
16623         (NCOEFF): New macro.
16624         (gammal_positive): New function.
16625         (__ieee754_gammal_r): Handle positive infinity, overflow and
16626         underflow here.  Handle NaN the same as positive infinity.  Remove
16627         check x < 0xffffffff for negative integers.  Use gamma_positive
16628         instead of exp (lgamma) for other arguments.
16629         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16630         (gamma_coeff): New variable.
16631         (NCOEFF): New macro.
16632         (gammal_positive): New function.
16633         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16634         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16635         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16636         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16637         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16638         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16639         * sysdeps/generic/math_private.h (__gamma_productf): New
16640         prototype.
16641         (__gamma_product): Likewise.
16642         (__gamma_productl): Likewise.
16643         * math/Makefile (libm-calls): Add gamma_product.
16644         * math/libm-test.inc (tgamma_test): Add more tests.
16645         * sysdeps/i386/fpu/libm-test-ulps: Update.
16646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16648 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16650         * benchtests/bench-skeleton.c (main): Preheat CPU.
16652 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16654         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16656 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16658         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16659         and _dl_skip_args_internal.
16661 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16663         * manual/message.texi (Message Translation): Talk about users.
16664         Message to key mapping impacts design.
16666 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16668         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16670         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16672         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16673         * sysdeps/wordsize-64/glob64.c: ... here.
16675         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16676         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16677         New macros.
16679         * debug/getlogin_r_chk.c: Moved to ...
16680         * login/getlogin_r_chk.c: ... here.
16681         * debug/Makefile (routines): Move getlogin_r_chk to ...
16682         * login/Makefile (routines): ... here.
16683         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16684         * login/Versions (libc: GLIBC_2.4): ... here.
16686         * io/poll.c (__poll): Renamed from poll.
16687         Add libc_hidden_def.
16688         (poll): Define as weak alias.
16690         * debug/ptsname_r_chk.c: Moved to ...
16691         * login/ptsname_r_chk.c: ... here.
16692         * debug/Makefile (routines): Move ptsname_r_chk to ...
16693         * login/Makefile (routines): ... here.
16694         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16695         * login/Versions (libc: GLIBC_2.4): ... here.
16697         * posix/getlogin.c: Moved to ...
16698         * login/getlogin.c: ... here.
16699         * posix/getlogin_r.c: Moved to ...
16700         * login/getlogin_r.c: ... here.
16701         * posix/getlogin_r.c: Moved to ...
16702         * login/getlogin_r.c: ... here.
16703         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16704         * login/Makefile (routines): ... here.
16705         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16706         * login/Versions (libc: GLIBC_2.0): ... here.
16708         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16709         (setrlimit): Define as weak alias.
16711         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16712         Call __ names for open, ftruncate, and close.
16713         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16714         (truncate): Define as weak alias.
16716 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16718         * math/gen-libm-test.pl (parse_args): Initialize x before each
16719         test of frexp, modf and remquo.
16721         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16722         test signgam value.
16724 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16726         [BZ #15418]
16727         [BZ #15419]
16728         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16729         internal tests.
16730         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16732 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16734         * elf/dl-writev.h: New file.
16735         * elf/dl-misc.c: Include it.
16736         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16737         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16739 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16741         * math/libm-test.inc (noXFails): Remove variable.
16742         (noXPasses): Likewise.
16743         (BUILD_COMPLEX_INT): Remove macro.
16744         (print_screen): Remove xfail argument.
16745         (print_screen_max_error): Likewise.
16746         (update_stats): Likewise.
16747         (print_max_error): Likewise.  Update calls to other affected
16748         functions.
16749         (print_complex_max_error): Likewise.
16750         (test_single_exception): Update calls to print_screen.
16751         (test_single_errno): Likewise.
16752         (check_float_internal): Remove xfail argument.  Update calls to
16753         other affected functions.
16754         (check_float): Likewise.
16755         (check_complex): Likewise.
16756         (check_int): Likewise.
16757         (check_long): Likewise.
16758         (check_bool): Likewise.
16759         (check_longlong): Likewise.
16760         (main): Don't print noXFails and noXPasses.
16761         * math/gen-libm-test.pl (top level): Don't mention expected
16762         failure handling in comment.
16763         (new_test): Don't handle expected failures.
16764         (parse_args): Don't mention expected failure handling in comment.
16765         (generate_testfile): Don't handle expected failures.
16766         (parse_ulps): Likewise.
16767         (print_ulps_file): Likewise.
16768         (get_failure): Remove function.
16769         (output_test): Don't handle expected failures.
16770         * make/README.libm-test: Don't mention expected failure handling.
16772         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16773         (minus_zero): Likewise.
16774         (plus_infty): Likewise.
16775         (minus_infty): Likewise.
16776         (qnan_value): Likewise.
16777         (max_value): Likewise.
16778         (min_value): Likewise.
16779         (min_subnorm_value): Likewise.
16780         (initialize): Do not initialize those variables dynamically.
16782 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16784         * io/open.c (__open_2): Moved to ...
16785         * io/open_2.c: ... this new file.
16786         * io/open64.c (__open64_2): Moved to ...
16787         * io/open64_2.c: ... this new file.
16788         * io/openat.c (__openat_2): Moved to ...
16789         * io/openat_2.c: ... this new file.
16790         * io/openat64.c (__openat64_2): Moved to ...
16791         * io/openat64_2.c: ... this new file.
16792         * io/Makefile (routines): Add them.
16793         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16794         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16795         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16796         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16797         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16798         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16799         (__openat64): Add hidden_ver.
16800         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16801         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16803         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16804         Separately conditionalize setting of GLRO(dl_sysinfo) so
16805         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16806         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16808 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16810         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16811         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16812         definition.
16813         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16814         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16815         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16816         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16817         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16819 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16821         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16822         test signgam value.
16824         * math/libm-test.inc (hypot_test): Do not use
16825         IGNORE_ZERO_INF_SIGN.
16827 2013-05-03  Andreas Jaeger  <aj@suse.de>
16829         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16830         Linux 3.9.
16831         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16832         (PF_MAX): Adjust for VSOCK change.
16834 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16838 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16840         [BZ #15264]
16841         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16842         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16843         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16845 2013-05-02  David S. Miller  <davem@davemloft.net>
16847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16849 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16851         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16853 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16855         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16857 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16859         [BZ #14952]
16860         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16861         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16862         Use __attribute__ ((__gnu_inline__)).
16863         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16864         Don't use __attribute__ ((__gnu_inline__)).
16866 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16868         [BZ #15423]
16869         * math/s_catan.c (__catan): Handle small real or imaginary part of
16870         input specially to avoid spurious underflow.
16871         * math/s_catanf.c (__catanf): Likewise.
16872         * math/s_catanh.c (__catanh): Likewise.
16873         * math/s_catanhf.c (__catanhf): Likewise.
16874         * math/s_catanhl.c (__catanhl): Likewise.
16875         * math/s_catanl.c (__catanl): Likewise.
16876         * math/libm-test.inc (catan_test): Add more tests.
16877         (catanh_test): Likewise.
16878         * sysdeps/i386/fpu/libm-test-ulps: Update.
16879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16881 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16885 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16887         [BZ #15416]
16888         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16889         accurately for denominator in atan2.
16890         * math/s_catanf.c (__catanf): Likewise.
16891         * math/s_catanh.c (__catanh): Likewise.
16892         * math/s_catanhf.c (__catanhf): Likewise.
16893         * math/s_catanhl.c (__catanhl): Likewise.
16894         * math/s_catanl.c (__catanl): Likewise.
16895         * math/libm-test.inc (catan_test): Add more tests.
16896         (catanh_test): Likewise.
16897         * sysdeps/i386/fpu/libm-test-ulps: Update.
16898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16900 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16902         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16904         * benchtests/Makefile (bench): Remove slow benchmarks.
16905         * benchtests/atan-inputs: Add slow benchmark inputs.
16906         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16907         (BENCH_FUNC): Accept variant offset.
16908         (VARIANT): Define.
16909         * benchtests/bench-skeleton.c (main): Run benchmark for each
16910         variant.
16911         * benchtests/cos-inputs: Add slow benchmark inputs.
16912         * benchtests/exp-inputs: Likewise.
16913         * benchtests/pow-inputs: Likewise.
16914         * benchtests/sin-inputs: Likewise.
16915         * benchtests/slowatan-inputs: Remove.
16916         * benchtests/slowatan.c: Remove.
16917         * benchtests/slowcos-inputs: Remove.
16918         * benchtests/slowcos.c: Remove.
16919         * benchtests/slowexp-inputs: Remove.
16920         * benchtests/slowexp.c: Remove.
16921         * benchtests/slowpow-inputs: Remove.
16922         * benchtests/slowpow.c: Remove.
16923         * benchtests/slowsin-inputs: Remove.
16924         * benchtests/slowsin.c: Remove.
16925         * benchtests/slowtan-inputs: Remove.
16926         * benchtests/slowtan.c: Remove.
16927         * benchtests/tan-inputs: Add slow benchmark inputs.
16928         * scripts/bench.pl: Parse comments and directives.
16930         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16931         in CPPFLAGS.
16932         ($(objpfx)bench-%.c): Remove *-ITER.
16933         * benchtests/bench-modf.c: Remove definition of ITER.
16934         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16935         (main): Loop for DURATION seconds instead of fixed number of
16936         iterations.
16937         * scripts/bench.pl: Don't expect iterations in parameters.
16939 2013-04-29  Roland McGrath  <roland@hack.frob.com>
16941         * io/fchdir.c (__fchdir): Renamed from fchdir.
16942         (fchdir): Define as weak alias.
16944 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16946         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16947         (ERRNO_EDOM): Likewise.
16948         (ERRNO_ERANGE): Likewise.
16949         (noErrnoTests): New variable.
16950         (init_max_error): Set errno to 0.
16951         (test_single_errno): New function.
16952         (test_errno): Likewise.
16953         (check_float_internal): Call test_errno.  Set errno to 0.
16954         (check_complex): Refer to errno tests in comment.
16955         (check_int): Call test_errno.  Set errno to 0.
16956         (check_long): Likewise.
16957         (check_bool): Likewise.
16958         (check_longlong): Likewise.
16959         (cos_test): Use ERRNO_* flags for errno tests instead of
16960         check_int.
16961         (expm1_test): Likewise.
16962         (fmod_test): Likewise.
16963         (ilogb_test): Likewise.
16964         (lgamma_test): Likewise.
16965         (pow_test): Likewise.
16966         (remainder_test): Likewise.
16967         (sin_test): Likewise.
16968         (tan_test): Likewise.
16969         (yn_test): Likewise.
16970         (initialize): Set errno to 0.
16971         (main): Print number of errno tests.
16972         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16974 2013-04-29  Andreas Jaeger  <aj@suse.de>
16976         [BZ #15084]
16977         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16978         and RES_USEVC.
16980         [BZ #15085]
16981         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16982         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16983         unimplemented.
16985         [BZ #15380]
16986         * stdlib/random.c (__initstate): Return NULL if
16987         __initstate fails.
16989         [BZ #15086]
16990         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16991         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16992         RES_SNGLKUPREOP.
16994 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16998 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17000         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17001         of individual tests.
17002         (casin_test): Likewise.
17003         (casinh_test): Likewise.
17005 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
17007         [BZ #15409]
17008         * math/s_catan.c (__catan): Handle arguments with large real or
17009         imaginary part separately without squaring.
17010         * math/s_catanf.c (__catanf): Likewise.
17011         * math/s_catanh.c (__catanh): Likewise.
17012         * math/s_catanhf.c (__catanhf): Likewise.
17013         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17014         and redefine.
17015         (__catanhl): Handle arguments with large real or imaginary part
17016         separately without squaring.
17017         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17018         and redefine.
17019         (__catanl): Handle arguments with large real or imaginary part
17020         separately without squaring.
17021         * math/libm-test.inc (catan_test): Add more tests.
17022         (catanh_test): Likewise.
17023         * sysdeps/i386/fpu/libm-test-ulps: Update.
17024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17026 2013-04-27  Andreas Jaeger  <aj@suse.de>
17028         [BZ #15007]
17029         * stdlib/stdlib.h: Update guards for qecvt.
17030         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17031         <stdlib.h>.
17033 2013-04-27  Allan McRae  <allan@archlinux.org>
17035         * sysdeps/i386/fpu/libm-test-ulps: Update.
17037 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
17039         [BZ #15406]
17040         * math/s_catan.c: Include <float.h>.
17041         (__catan): Ensure underflow exception occurs for underflowed
17042         result.
17043         * math/s_catanf.c: Include <float.h>.
17044         (__catanf): Ensure underflow exception occurs for underflowed
17045         result.
17046         * math/s_catanh.c: Include <float.h>.
17047         (__catanh): Ensure underflow exception occurs for underflowed
17048         result.
17049         * math/s_catanhf.c: Include <float.h>.
17050         (__catanhf): Ensure underflow exception occurs for underflowed
17051         result.
17052         * math/s_catanhl.c: Include <float.h>.
17053         (__catanhl): Ensure underflow exception occurs for underflowed
17054         result.
17055         * math/s_catanl.c: Include <float.h>.
17056         (__catanl): Ensure underflow exception occurs for underflowed
17057         result.
17058         * math/libm-test.inc (catan_test): Add more tests.
17059         (catanh_test): Likewise.
17061         [BZ #15405]
17062         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17063         underflowed result.
17064         * math/s_ccoshf.c (__ccoshf): Likewise.
17065         * math/s_ccoshl.c (__ccoshl): Likewise.
17066         * math/s_csin.c (__csin): Likewise.
17067         * math/s_csinf.c (__csinf): Likewise.
17068         * math/s_csinh.c (__csinh): Likewise.
17069         * math/s_csinhf.c (__csinhf): Likewise.
17070         * math/s_csinhl.c (__csinhl): Likewise.
17071         * math/s_csinl.c (__csinl): Likewise.
17072         * math/libm-test.inc (ccos_test): Add more tests.
17073         (ccosh_test): Likewise.
17074         (csin_test): Likewise.
17075         (csinh_test): Likewise.
17077 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17079         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17080         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17081         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17082         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17083         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17084         powerpc/power5+/fpu folders.
17085         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17088 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17092 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
17094         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17095         additions to variable.
17096         [$(config-machine) = x86_64] (modules-names): Likewise.
17097         ($(objpfx)tst-audit3): Remove dependency.
17098         ($(objpfx)tst-audit3.out): Likewise.
17099         ($(objpfx)tst-audit4): Likewise.
17100         ($(objpfx)tst-audit4.out): Likewise.
17101         ($(objpfx)tst-audit5): Likewise.
17102         ($(objpfx)tst-audit5.out): Likewise.
17103         ($(objpfx)tst-audit6): Likewise.
17104         ($(objpfx)tst-audit6.out): Likewise.
17105         ($(objpfx)tst-audit7): Likewise.
17106         ($(objpfx)tst-audit7.out): Likewise.
17107         (tst-audit3-ENV): Remove variable.
17108         (tst-audit4-ENV): Likewise.
17109         (tst-audit5-ENV): Likewise.
17110         (tst-audit6-ENV): Likewise.
17111         (tst-audit7-ENV): Likewise.
17112         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17113         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17114         addition to variable.
17115         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17116         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17117         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17118         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17119         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17120         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17121         tst-audit3, tst-audit4 and tst-audit5.
17122         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17123         tst-audit6 and tst-audit7.
17124         [$(subdir) = elf] (modules-names): Add audit modules for those
17125         tests.
17126         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17127         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17128         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17129         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17130         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17131         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17132         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17133         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17134         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17135         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17136         [$(subdir) = elf] (tst-audit3-ENV): New variable.
17137         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17138         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17139         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17140         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17141         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17142         Likewise.
17143         [$(subdir) = elf && $(config-cflags-avx) = yes]
17144         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17145         [$(subdir) = elf && $(config-cflags-avx) = yes]
17146         (CFLAGS-tst-auditmod4a.c): Likewise.
17147         [$(subdir) = elf && $(config-cflags-avx) = yes]
17148         (CFLAGS-tst-auditmod4b.c): Likewise.
17149         [$(subdir) = elf && $(config-cflags-avx) = yes]
17150         (CFLAGS-tst-auditmod6b.c): Likewise.
17151         [$(subdir) = elf && $(config-cflags-avx) = yes]
17152         (CFLAGS-tst-auditmod6c.c): Likewise.
17153         [$(subdir) = elf && $(config-cflags-avx) = yes]
17154         (CFLAGS-tst-auditmod7b.c): Likewise.
17155         * elf/tst-audit3.c: Move to ...
17156         * sysdeps/x86_64/tst-audit3.c: ... here.
17157         * elf/tst-audit4.c: Move to ...
17158         * sysdeps/x86_64/tst-audit4.c: ... here.
17159         * elf/tst-audit5.c: Move to ...
17160         * sysdeps/x86_64/tst-audit5.c: ... here.
17161         * elf/tst-audit6.c: Move to ...
17162         * sysdeps/x86_64/tst-audit6.c: ... here.
17163         * elf/tst-audit7.c: Move to ...
17164         * sysdeps/x86_64/tst-audit7.c: ... here.
17165         * elf/tst-auditmod3a.c: Move to ...
17166         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17167         * elf/tst-auditmod3b.c: Move to ...
17168         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17169         * elf/tst-auditmod4a.c: Move to ...
17170         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17171         * elf/tst-auditmod4b.c: Move to ...
17172         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17173         * elf/tst-auditmod5a.c: Move to ...
17174         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17175         * elf/tst-auditmod5b.c: Move to ...
17176         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17177         * elf/tst-auditmod6a.c: Move to ...
17178         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17179         * elf/tst-auditmod6b.c: Move to ...
17180         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17181         * elf/tst-auditmod6c.c: Move to ...
17182         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17183         * elf/tst-auditmod7a.c: Move to ...
17184         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17185         * elf/tst-auditmod7b.c: Move to ...
17186         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17188 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
17190         [BZ #15366]
17191         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17192         define unconditionally.
17193         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17194         define unconditionally.
17195         (INT8_C, INT16_C, etc.): Likewise.
17197 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
17199         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17200         __ehdr_start with hidden visibility.
17202         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17204 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
17206         * math/libm-test.inc (cos_test): Use accurate hex constants.
17207         (sincost_test): Likewise.
17209 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
17211         * math/libm-test.inc (catan_test): Add more tests.
17212         (catanh_test): Likewise.
17214         * math/s_catanf.c (__catanf): Use suffixed floating-point
17215         constants.
17216         * math/s_catanhf.c (__catanhf): Likewise.
17217         * math/s_catanhl.c (__catanhl): Likewise.
17218         * math/s_catanl.c (__catanl): Likewise.
17220         [BZ #15394]
17221         * math/s_catan.c (__catan): Calculate imaginary part of result
17222         with log1p not log unless computing log of number close to 0.
17223         * math/s_catanf.c (__catanf): Likewise.
17224         * math/s_catanl.c (__catanl): Likewise.
17225         * math/s_catanh.c (__catanh): Calculate real part of result with
17226         log1p not log unless computing log of number close to 0.
17227         * math/s_catanhf.c (__catanhf): Likewise.
17228         * math/s_catanhl.c (__catanhl): Likewise.
17229         * math/libm-test.inc (catan_test): Add more tests.
17230         (catanh_test): Likewise.
17231         * sysdeps/i386/fpu/libm-test-ulps: Update.
17232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17234 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17236         * benchtests/Makefile: Mention files in which fast and slow
17237         paths of math functions are implemented.
17239 2013-04-23  Roland McGrath  <roland@hack.frob.com>
17241         * sysdeps/posix/timespec_get.c: New file.
17243 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17245         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17246         POWER.
17247         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17248         for POWER.
17249         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17250         powerpc/power5/fpu folders.
17251         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17252         * benchtests/Makefile: Add modf testcase.
17253         * benchtests/bench-modf.c: New file: Benchmark test for mo
17255 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17257         [BZ #14888]
17258         * time/Makefile (tests): Add tst-strptime-whitespace.
17259         * time/strptime_l.c (get_number): Use ISSPACE.
17260         (__strptime_internal): Likewise.
17261         * time/tst-strptime-whitespace.c: New test case.
17263 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
17265         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17266         member.
17267         (_nss_files_init): Set it here.
17269 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
17271         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17272         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17273         unsigned.
17275 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
17277         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17279 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17281         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17282         size just once.
17284 2013-04-21  David S. Miller  <davem@davemloft.net>
17286         * po/ru.po: Update Russion translation from translation project.
17288 2013-04-17  Adam Conrad  <adconrad@0c3.net>
17290         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17291         and setfsgid.
17293 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
17295         * configure.in: Remove i386 configure warning. Remove i386 case.
17296         * configure: Regenerate.
17297         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17298         Add example to error message.
17299         * sysdeps/i386/configure: Regenerate.
17301 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17303         * benchtests/Makefile (bench): Add cos, tan, slowcos and
17304         slowtan.
17305         * benchtests/cos-inputs: New file.
17306         * benchtests/slowcos-inputs: New file.
17307         * benchtests/slowcos.c: New file.
17308         * benchtests/slowtan-inputs: New file.
17309         * benchtests/slowtan.c: New file.
17310         * benchtests/tan-inputs: New file.
17312 2013-04-16  Roland McGrath  <roland@hack.frob.com>
17314         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17315         considered kosher.
17317 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17319         * benchtests/Makefile: Include cppflags-iterator.mk to add
17320         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17322         * Makefile.in (bench-clean): New target.
17323         * benchtests/Makefile (bench-clean): Likewise.
17325 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
17327         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17329 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
17331         * stdio-common/tstdiomisc.c: Fix coding-style violation.
17333 2013-04-15  Andreas Schwab  <schwab@suse.de>
17335         * nscd/grpcache.c (cache_addgr): Properly check for short write.
17336         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17337         * nscd/pwdcache.c (cache_addpw): Likewise.
17338         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
17339         more than recsize.
17341 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17343         * benchtests/Makefile (bench): Write all output to
17344         bench-out.tmp together.
17346 2013-04-15  Andreas Schwab  <schwab@suse.de>
17348         * nscd/nscd.c (main): Don't fork again after closing files.
17350 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17352         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17354         * benchtests/Rules (bench-deps): Collect dependencies into a
17355         single variable.  Add Makefile to dependencies.
17356         ($(objpfx)bench-%.c): Depend on bench-deps.
17358 2013-04-12  Roland McGrath  <roland@hack.frob.com>
17359             Xavier Roche  <roche+kml2@exalead.com>
17361         [BZ #15361]
17362         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17363         just that it's a file descriptor.
17364         * manual/llio.texi (Synchronizing AIO Operations): Update description
17365         for EBADF error from aio_fsync.
17367 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17369         * Rules (bench): Move target definition...
17370         * benchtests/Makefile: ... here.
17372 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
17374         * math/libm-test.inc (cos_test): Fix PI/2 test.
17375         (sincos_test): Likewise.
17376         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17377         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17379 2013-04-11  Andreas Schwab  <schwab@suse.de>
17381         [BZ #13988]
17382         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17383         accept exponent character only when digits were seen.
17384         * stdio-common/Makefile (tests): Add bug26.
17385         * stdio-common/bug26.c: New file.
17387         [BZ #14293]
17388         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17389         non-freeable.
17391 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17393         * Makeconfig (rtld-prefix): Define built linker prefix.
17394         * Rules (run-bench): Use it.
17395         * math/Makefile (run-regen-ulps): Likewise.
17397         * Rules (bench): Remove eval.
17399 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17400             Roland McGrath  <roland@hack.frob.com>
17401             Ondrej Bilka  <neleai@seznam.cz>
17403         [BZ #15346]
17404         * time/getdate.c: Include ctype.h and alloca.h.
17405         (__getdate_r): Trim leading and trailing spaces of input.
17406         * time/tst-getdate.c (tests): Add tests with leading and
17407         trailing spaces.
17409 2013-04-08  Roland McGrath  <roland@hack.frob.com>
17411         [BZ #14280]
17412         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17413         when computing value.
17415 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17417         * math/README.libm-test (How can I generate "libm-test-ulps"?):
17418         Use testrun.sh to run libm tests.
17420         [BZ #15309]
17421         * elf/dl-open.c (dl_open_worker): memset all of seen array.
17423 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
17425         [BZ #15264]
17426         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17428 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17430         * Makefile.in (regen-ulps): New target.
17431         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17432         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17433         [ifneq (no,$(PERL)] (regen-ulps): New target.
17434         [ifeq (no,$(PERL)] (regen-ulps): New target.
17435         * math/libm-test.inc (ulps_file_name): Define.
17436         (output_dir): New variable.
17437         (options): Add "output-dir" option.
17438         (parse_opt): Handle 'o' case.
17439         (main): If output_dir is non-NULL use it as a prefix
17440         otherwise use "".
17441         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17443 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17445         [BZ #10060, #10062]
17446         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17447         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17448         fail configure if __sync_val_compare_and_swap is not inlined.
17449         * sysdeps/i386/configure: Regenerate.
17450         * configure.in: Build for i686 when configured for i386.
17451         * configure: Regenerate.
17452         * README: Remove i386 reference.
17454 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17456         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17457         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17459 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17461         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17462         (lmsnanval): New variables.
17463         (F): Add conversion tests.
17464         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17465         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17467         * stdio-common/tstdiomisc.c (F): Properly collect individual
17468         tests' results.
17470         [BZ #14686, #15336]
17471         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17472         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17473         Instead, use input NaN values or generate a qNaN by arithmetic
17474         operation.  Also fix bugs to comply with the standard.
17475         * math/libm-test.inc (remainder_test): Add more tests.
17477         [BZ #15335, #15342]
17478         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17479         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17480         input NaN values or generate a qNaN by arithmetic operation.
17482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17483         unreachable code.
17485         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17486         definitions.
17488 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
17490         [BZ #14478]
17491         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17492         underflowed result.
17493         * math/s_cexpf.c (__cexpf): Likewise.
17494         * math/s_cexpl.c (__cexpl): Likewise.
17495         * math/libm-test.inc (cexp_test): Add more tests.
17497 2013-04-03  Andreas Schwab  <schwab@suse.de>
17499         [BZ #15330]
17500         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17501         order arrays from heap if bigger than alloca cutoff.
17503 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
17505         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17506         (SNAN_TESTS_double): Refer to GCC PR56831.
17507         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17508         GCC PR56828.
17510 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17512         * Rules (bench): Move bench.out after the run is complete.
17514         * Rules (bench): Echo currently running benchmark.
17516         * benchtests/Makefile (bench): Add atan and slowatan.
17517         * benchtests/atan-inputs: New file.
17518         * benchtests/slowatan-inputs: New file.
17519         * benchtests/slowatan.c: New file.
17521         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17522         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17523         its value.
17525         [BZ #15305]
17526         * sysdeps/unix/sysv/linux/kernel-features.h
17527         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17528         __ASSUME_XFS_RESTRICTED_CHOWN.
17529         * sysdeps/unix/sysv/linux/pathconf.c
17530         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17531         Save and restore errno.
17533 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17535         [BZ #15327]
17536         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17537         arguments using __kernel_casinh.
17538         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17539         arguments using __kernel_casinhf.
17540         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17541         arguments using __kernel_casinhl.
17542         * math/libm-test.inc (cacosh_test): Add more tests.
17543         * sysdeps/i386/fpu/libm-test-ulps: Update.
17544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17546 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17548         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17551         * bench/Makefile (bench): Add sin and slowsin.
17552         * benchtests/sin-inputs: New file.
17553         * benchtests/slowsin-inputs: New file.
17554         * benchtests/slowsin.c: New file.
17556         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17557         (bench): Add slowexp and slowpow.
17558         (exp-ITER): Increase iterations.
17559         (pow-ITER): Likewise.
17560         * benchtests/exp-inputs: Change input.
17561         * benchtests/pow-inputs: Likewise.
17562         * benchtests/slowexp-inputs: New file.
17563         * benchtests/slowexp.c: New file.
17564         * benchtests/slowpow-inputs: New file.
17565         * benchtests/slowpow.c: New file.
17567 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17569         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17570         instructions.
17571         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17572         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17573         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17574         * benchtests/Makefile: Add rint benchtest.
17575         * benchtests/rint-inputs: Input for rint benchtest.
17577 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17579         * Versions.def (libm): Add GLIBC_2.18.
17580         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17581         hidden libm prototypes.
17582         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17583         * math/Makefile (libm-calls): Add s_issignaling.
17584         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17585         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17586         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17587         declaration.
17588         * math/math.h [__USE_GNU] (issignaling): New macro.
17589         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17590         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17591         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17592         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17593         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17594         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17595         * manual/arith.texi (issignaling): New section.
17596         * manual/libm-err-tab.pl (@all_functions): Update comment.
17597         * math/gen-libm-test.pl (parse_args): Apply special handling for
17598         issignaling.
17599         * math/libm-test.inc (print_float, issignaling_test): New
17600         functions.
17601         (check_float_internal): Add issignaling checks.
17602         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17603         default definition.
17604         * sysdeps/powerpc/math-tests.h: New file.
17605         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17606         tests.
17607         * math/test-snan.c (TEST_FUNC): Likewise.
17609 2013-03-30  David S. Miller  <davem@davemloft.net>
17611         * po/de.po: Update from translation team.
17613 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17615         [BZ #10357]
17616         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17617         imaginary part less than 1.0 and real part less than 0.5
17618         specially.
17619         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17620         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17621         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17622         (cacos_test): Add more tests.
17623         (casin_test): Likewise.
17624         (casinh_test): Likewise.
17625         * sysdeps/i386/fpu/libm-test-ulps: Update.
17626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17628 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17630         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17631         ONE with its value.
17633         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17634         (__pow_mp): Replace ONE and MONE with their values.
17635         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17636         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17637         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17638         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17639         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17640         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17642         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17644         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17645         (__pow_mp): Replace ZERO and MZERO with their values.
17646         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17647         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17648         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17650         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17651         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17652         (__sqr): Likewise.
17654         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17656         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17658 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17660         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17661         Declare with __attribute__ ((weak)).
17662         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17663         Call __call_tls_dtors only if it's not NULL.
17665 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17667         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17668         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17669         magic __ehdr_start linker symbol if it's defined.
17670         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17671         them up here if it was already done.
17673         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17674         (_dl_aux_init): Use const in cast when setting it.
17675         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17676         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17677         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17679         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17680         Declare them here.
17681         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17682         * csu/libc-tls.c: Nor here.
17683         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17685         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17686         (__libc_message): Never call vsyslog.
17688 2013-03-28  Alan Modra  <amodra@gmail.com>
17690         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17691         Define as empty.
17692         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17693         Likewise.
17695 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17697         [BZ #15214]
17698         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17699         underflow.
17700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17702 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17704         [BZ #15304]
17705         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17706         Don't add gid passed as argument.
17708         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17710 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17712         [BZ #15307]
17713         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17714         imaginary part between 1.0 and 1.5 and real part less than 0.5
17715         specially.
17716         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17717         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17718         * math/libm-test.inc (cacos_test): Add more tests.
17719         (casin_test): Likewise.
17720         (casinh_test): Likewise.
17721         * sysdeps/i386/fpu/libm-test-ulps: Update.
17722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17724 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17726         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17727         constants.
17728         (norm): Likewise.
17729         (denorm): Likewise.
17730         (__dbl_mp): Likewise.
17731         (add_magnitudes): Likewise.
17732         (sub_magnitudes): Likewise.
17733         (__add): Likewise.
17734         (__sub): Likewise.
17735         (__mul): Likewise.
17736         (__sqr): Likewise.
17737         (__inv): Likewise.
17738         (__dvd): Likewise.
17740         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17741         commented code.
17742         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17743         (__dubcos): Likewise.
17744         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17745         (__ieee754_acos): Likewise.
17746         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17747         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17748         (__exp1): Likewise.
17749         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17751         (log1): Likewise.
17752         (my_log2): Likewise.
17753         (checkint): Likewise.
17754         * sysdeps/ieee754/dbl-64/e_remainder.c
17755         (__ieee754_remainder): Likewise.
17756         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17757         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17758         (bsloww): Likewise.
17759         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17761         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17762         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17763         MANTISSA_STORE_T to store computations on mantissa.  Use
17764         macros for rounding and division.
17765         (denorm): Likewise.
17766         (__dbl_mp): Likewise.
17767         (add_magnitudes): Likewise.
17768         (sub_magnitudes): Likewise.
17769         (__mul): Likewise.
17770         (__sqr): Likewise.
17771         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17772         powers of two in terms of TWOPOW macro.
17773         (mp_no): Make type of mantissa as MANTISSA_T.
17774         [!RADIXI]: Define RADIXI.
17775         [!TWO52]: Define TWO52.
17776         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17778 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17780         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17781         llroundl symbol when building for PPC32.
17783 2013-03-24  Mark H Weaver  <mhw@netris.org>
17785         * manual/arith.texi (Normalization Functions): Fix prototypes for
17786         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17788 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17790         [BZ #13889]
17791         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17792         high value to check if expl overflow.
17793         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17794         to check for underflow and overflow.
17795         * math/libm-test.inc: Add exp test.
17797 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17799         [BZ #11120]
17800         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17801         with NOT_IN_libc.
17803 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17805         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17806         symbol.
17808 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17810         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17811         wrap blocks consisting of several statements.
17813         * sysdeps/generic/math-tests.h: New file.
17814         * sysdeps/i386/fpu/math-tests.h: Likewise.
17815         * math/test-snan.c: Include it.
17816         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17818 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17820         [BZ #15285]
17821         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17822         (__ieee754_j0l): Do not improve calculations using cos of twice
17823         input for inputs above LDBL_MAX / 2.0L.
17824         (__ieee754_y0l): Likewise.
17825         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17826         (__ieee754_j1l): Do not improve calculations using cos of twice
17827         input for inputs above LDBL_MAX / 2.0L.
17828         (__ieee754_y1l): Likewise.
17829         * math/libm-test.inc (j0_test): Add another test.
17830         (j1_test): Likewise.
17831         (y0_test): Likewise.
17832         (y1_test): Likewise.
17833         * sysdeps/i386/fpu/libm-test-ulps: Update.
17835 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17837         * Rules ($(objpfx)bench-%.c): Include code from a C source
17838         file.
17840 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17842         [BZ #15287]
17843         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17844         imaginary part 1.0 and real part less than 0.5 specially.
17845         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17846         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17847         * math/libm-test.inc (cacos_test): Add more tests.
17848         (casin_test): Likewise.
17849         (casinh_test): Likewise.
17850         * sysdeps/i386/fpu/libm-test-ulps: Update.
17851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17853 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17855         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17856         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17858 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17860         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17861         * config.make.in (config-cflags-sse4): Remove variable.
17862         (config-cflags-avx): Likewise.
17863         (config-cflags-sse2avx): Likewise.
17864         (config-cflags-novzeroupper): Likewise.
17865         (config-asflags-i686): Likewise.
17866         (have-mfma4): Likewise.
17867         (have-as-vis3): Likewise.
17868         (MIG): Likewise.
17869         * configure.in (MIG): Do not AC_SUBST.
17870         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17871         (libc_cv_cc_sse4): Do not AC_SUBST.
17872         (libc_cv_cc_avx): Likewise.
17873         (libc_cv_cc_sse2avx): Likewise.
17874         (libc_cv_cc_novzeroupper): Likewise.
17875         (libc_cv_cc_fma4): Likewise.
17876         (libc_cv_as_i686): Likewise.
17877         (libc_cv_sparc_as_vis3): Likewise.
17878         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17879         LIBC_CONFIG_VAR.
17880         (config-asflags-i686): Likewise.
17881         (config-cflags-avx): Likewise.
17882         (config-cflags-sse2avx): Likewise.
17883         (have-mfma4): Likewise.
17884         (config-cflags-novzeroupper): Likewise.
17885         * sysdeps/mach/configure.in (MIG): Likewise.
17886         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17887         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17888         LIBC_CONFIG_VAR.
17889         (config-cflags-avx): Likewise.
17890         (config-cflags-sse2avx): Likewise.
17891         (have-mfma4): Likewise.
17892         (config-cflags-novzeroupper): Likewise.
17893         * configure: Regenerated.
17894         * sysdeps/i386/configure: Likewise.
17895         * sysdeps/mach/configure: Likewise.
17896         * sysdeps/sparc/configure: Likewise.
17897         * sysdeps/x86_64/configure: Likewise.
17899 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17901         [BZ #14812]
17902         * locale/programs/localedef.c (options): Put N_ translation marker
17903         on argument names, not just descriptions.
17905 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17907         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17909 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17911         [BZ #14176]
17912         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17914 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17916         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17917         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17918         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17919         [!BEFORE_ABORT] (before_abort): New function.
17920         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17921         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17922         (writev_for_fatal): New function.
17923         (WRITEV_FOR_FATAL): New macro; call that.
17924         (backtrace_and_maps): New function.
17925         (BEFORE_ABORT): New macro; call that.
17926         (struct str_list): Type removed.
17927         (__libc_message, __libc_fatal): Functions removed.
17928         Include <sysdeps/posix/libc_fatal.c> instead.
17930 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17932         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17933         constants.
17934         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17935         double constants.
17937 2013-03-19  Andreas Schwab  <schwab@suse.de>
17939         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17940         * sysdeps/gnu/configure: Regenerate.
17942         * configure.in: Substitute libc_cv_rtlddir.
17943         * configure: Regenerate.
17944         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17945         * Makeconfig (rtlddir, inst_rtlddir): New variables.
17946         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17947         * elf/Makefile (install-others, CFLAGS-interp.c)
17948         (ldso_install, common-ldd-rewrite): Likewise.
17949         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17950         $(inst_slibdir)/$(rtld-installed-name).
17951         * scripts/rellns-sh: Add -p option.
17952         * Makerules (make-shlib-link): Use rellns-sh to get relative name
17953         for source.
17955 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17957         * manual/nptl.texi: Renamed to ...
17958         * manual/threads.texi: ... this.
17959         * manual/Makefile (chapters): Update.
17961 2013-03-18  Roland McGrath  <roland@hack.frob.com>
17963         [BZ #14812]
17964         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17965         on argument names, not just descriptions.
17966         * malloc/memusagestat.c (options): Likewise.
17967         * nss/getent.c (options): Likewise.
17969 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
17971         [BZ #14812]
17972         * iconv/iconv_prog.c (options): Put N_ translation marker
17973         on argument names, not just descriptions.
17974         * iconv/iconvconfig.c (options): Likewise.
17976 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
17978         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17979         implementation which is faster on all x86_64 architectures.
17980         Tested on AMD, Intel Nehalem, SNB, IVB.
17981         * sysdeps/x86_64/strnlen.S: Likewise.
17983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17984         Remove all multiarch strlen and strnlen versions.
17985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17986         Remove strlen and strnlen related parts.
17988         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17989         Inline strlen part.
17990         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17992         * sysdeps/x86_64/multiarch/strlen.S: Remove.
17993         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17994         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17995         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17996         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17997         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17999 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
18001         * manual/memory.texi (Malloc Tunable Parameters):
18002         Sort parameters alphabetically. Add comments for missing entries.
18004 2013-03-17  David S. Miller  <davem@davemloft.net>
18006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18008 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
18010         [BZ #15283]
18011         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18012         for arguments at most half maximum finite value.
18013         * math/libm-test.inc (j0_test): Add more tests.
18014         (j1_test): Likewise.
18015         (y0_test): Likewise.
18016         (y1_test): Likewise.
18017         * sysdeps/i386/fpu/libm-test-ulps: Update.
18018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18020         [BZ #14155]
18021         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18022         1 / x and functions P and Q for arguments above 0x1p256L.
18023         (__ieee754_y0l): Likewise.
18024         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18025         (__ieee754_y1l): Likewise.
18026         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18027         (j1_test): Likewise.
18028         (y0_test): Likewise.
18029         (y1_test): Likewise.
18031 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
18033         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18034         variable.
18036 2013-03-15  Roland McGrath  <roland@hack.frob.com>
18038         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18039         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18040         zero since it's initialized to EXEC_PAGESIZE.
18042         * sysdeps/unix/sysv/linux/ldsodefs.h
18043         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18044         * sysdeps/generic/ldsodefs.h: ... here.
18046 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
18048         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18050         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18051         math/test-snan.c.
18052         * math/test-snan.c: Renamed from
18053         sysdeps/powerpc/fpu/test-powerpc-snan.c.
18054         * math/Makefile (tests): Add test-snan.
18055         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18056         test-powerpc-snan.
18058         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18059         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
18060         functions.
18061         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
18062         __builtin_nan family of functions.
18063         * math/libm-test.inc (initialize): Initialize qnan_value with
18064         __builtin_nan family of functions.
18065         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18066         Remove variables.
18067         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18068         Remove functions.
18069         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
18070         storage class.  Initialize qNaN_var and sNaN_var with
18071         __builtin_nan and __builtin_nans families of functions,
18072         respectively.
18074         * math/libm-test.inc (acosh_test): Also test with qNaN input.
18075         (sqrt_test): Remove duplicate test with qNaN input.
18076         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18077         (round_test, signbit_test, significand_test): Note missing +/-Inf
18078         as well as qNaN tests.
18080         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18081         qNaN_var.  Fix a few strings, too.
18082         * math/libm-test.inc (nan_value): Rename to qnan_value.
18083         * math/gen-libm-test.pl (%beautify): Adjust to that.
18084         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18085         * math/test-misc.c (main): Likewise.
18086         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18087         to __qnan_bytes, and __qnan_union, respectively.
18088         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18089         Likewise.
18090         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18091         and lqnanval, respectively.
18092         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18093         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18094         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18095         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18097         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18098         * math/test-misc.c (main) [__x86_64__]: Enable test for long
18099         doubles.
18101         * math/test-misc.c (main): Fix copy'n'pastos.
18102         * misc/tst-efgcvt.c (special): Likewise.
18104         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18105         Remove declarations.
18107 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18109         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18110         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18111         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18112         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18114 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18116         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18117         macro to return vdso values correctly in IFUNC implementations.
18118         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18119         Optimization by using IFUNC.
18121 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18122             Richard Henderson  <rth@redhat.com>
18123             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18125         * Makefile.in (bench): New target.
18126         * NEWS: Mention the benchmark framework.
18127         * Rules (bench): Likewise.
18128         (binaries-bench): Generate binaries for functions to
18129         benchmark.
18130         * benchtests/Makefile: New makefile for benchmark tests.
18131         * benchtests/bench-skeleton.c: New skeleton file for benchmark
18132         programs.
18133         * benchtests/exp-inputs: New input file for EXP function.
18134         * benchtests/pow-inputs: New input file for POW function.
18135         * scripts/bench.pl: New script to generate source files for
18136         benchmark programs.
18138 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18140         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18141         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18142         computations on mantissa.  Use macros for rounding and
18143         division.
18144         (denorm): Likewise.
18145         (__dbl_mp): Likewise.
18146         (add_magnitudes): Likewise.
18147         (sub_magnitudes): Likewise.
18148         (__mul): Likewise.
18149         (__sqr): Likewise.
18150         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18151         powers of two in terms of TWOPOW macro.
18152         (mp_no): Make type of mantissa as MANTISSA_T.
18153         [!RADIXI]: Define RADIXI.
18154         [!TWO52]: Define TWO52.
18155         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18157         * manual/nptl.texi (cindex): Modify threads to pthreads.
18159 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
18161         * sysdeps/x86_64/preconfigure: Regenerated.
18163 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
18165         [BZ #14155]
18166         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18167         0x1p28 and above.
18168         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18169         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18170         0x1p28 and above.
18171         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18172         * math/libm-test.inc (j0_test): Do not allow one spurious
18173         underflow exception.
18174         (y1_test): Likewise.
18176 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18178         * manual/Makefile (chapters): Add nptl.
18179         * manual/debug.texi (Debugging Support): Add link to Threads
18180         chapter.
18181         * manual/nptl.texi: New file.
18183         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18185 2013-03-14  Petr Baudis  <pasky@ucw.cz>
18187         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18188         for non-NULL pointer before the memory validity test. Pointed
18189         out by Holger Brunck <holger.brunck@keymile.com>.
18191 2013-03-13  Andreas Schwab  <schwab@suse.de>
18193         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18194         instead of .os.
18196 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
18198         * timezone/zic.c: Update from tzcode 2013b.
18200 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
18202         * manual/install.texi (Configuring and compiling):
18203         Mention i686 and i586.
18204         * INSTALL: Regenerate.
18206 2013-03-12  Roland McGrath  <roland@hack.frob.com>
18208         * sysdeps/init_array/elf-init.c: New file.
18209         * csu/elf-init.c
18210         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18211         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18213         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18214         __gmon_start__ as global, but as static with a .preinit_array pointer.
18215         * sysdeps/init_array/gmon-start.c: New file.  Use that.
18216         * sysdeps/init_array/crti.S: New file, empty except for comments.
18217         * sysdeps/init_array/crtn.S: Likewise.
18219 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
18221         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18222         definining bcopy.
18223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18224         Remove Prefer_SSE_for_memop.
18225         * sysdeps/x86_64/multiarch/init-arch.h: Remove
18226         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18227         HAS_PREFER_SSE_FOR_MEMOP.
18228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18229         memset-x86-64.
18230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18231         Remove bzero, memset ifunc support.
18232         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18233         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18234         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18235         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18237 2013-03-11  Andreas Schwab  <schwab@suse.de>
18239         [BZ #15234]
18240         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18241         by SHLIB_COMPAT.
18242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18243         (GLIBC_2.16): Remove pthread_atfork.
18245 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18247         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18248         (ptestcases.h): Likewise.
18250 2013-03-08  Roland McGrath  <roland@hack.frob.com>
18252         * Makeconfig ($(common-objpfx)config.status): Depend on
18253         sysdeps/*/preconfigure{,.in} too.
18255 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
18257         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18258         (__free_hook): Use void * instead of __malloc_ptr_t.
18259         (__malloc_hook): Likewise.
18260         (__realloc_hook): Likewise.
18261         (__memalign_hook): Likewise.
18262         (__after_morecore_hook): Likewise.
18263         * malloc/arena.c (save_malloc_hook): Likewise.
18264         (save_free_hook): Likewise.
18265         * malloc/hooks.c (malloc_hook_ini): Likewise.
18266         (realloc_hook_ini): Likewise.
18267         (memalign_hook_ini): Likewise.
18268         * malloc/malloc.c (malloc_hook_ini): Likewise.
18269         (realloc_hook_ini): Likewise.
18270         (memalign_hook_ini): Likewise.
18271         (__free_hook): Likewise.
18272         (__malloc_hook): Likewise.
18273         (__realloc_hook): Likewise.
18274         (__memalign_hook): Likewise.
18275         (__libc_malloc): Likewise.
18276         (__libc_free): Likewise.
18277         (__libc_realloc): Likewise.
18278         (__libc_memalign): Likewise.
18279         (__libc_valloc): Likewise.
18280         (__libc_pvalloc): Likewise.
18281         (__libc_calloc): Likewise.
18282         (__posix_memalign): Likewise.
18283         * malloc/morecore.c (__sbrk): Likewise.
18284         (__default_morecore): Likewise.
18286         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18288         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18289         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18290         __malloc_ptrdiff_t.
18292         * malloc/malloc.h (__malloc_size_t): Remove macro.
18293         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18294         __malloc_size_t.
18295         (old_memalign_hook): Likewise.
18296         (old_realloc_hook): Likewise.
18297         (struct hdr): Likewise.
18298         (flood): Likewise.
18299         (mallochook): Likewise.
18300         (memalignhook): Likewise.
18301         (reallochook): Likewise.
18302         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18303         (tr_old_realloc_hook): Likewise.
18304         (tr_old_memalign_hook): Likewise.
18305         (tr_mallochook): Likewise.
18306         (tr_reallochook): Likewise.
18307         (tr_memalignhook): Likewise.
18309 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18311         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18312         default_ldbl_pack and using as default implementation.
18313         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18314         implementation.
18315         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18316         redundant definition.
18317         (ldbl_insert_mantissa): Likewise.
18318         (ldbl_canonicalize): Likewise.
18319         (ldbl_nearbyint): Likewise.
18320         (ldbl_pack): Rename to ldbl_pack_ppc.
18321         (ldbl_unpack): Rename to ldbl_unpack_ppc.
18322         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18323         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18325 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18328         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18329         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18330         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18332         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18333         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18334         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18336 2013-03-07  Andreas Jaeger  <aj@suse.de>
18338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18339         bits/mman-linux.h.
18341 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18343         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18344         Include mpa.h and declare __MPEXP.
18345         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18346         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18347         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18348         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18349         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18350         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18351         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18353         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18354         (__slowpow): Use long double EXPL and LOGL functions to
18355         compute POW.
18356         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18357         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18358         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18359         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18360         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18361         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18364         intermediate variable to calculate exponent.
18365         (__sqr): Likewise.
18366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18367         Likewise.
18368         (__sqr): Likewise.
18370         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18371         [!NO__SQR]: Define __sqr.
18372         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18373         and NO__SQR.  Remove all code except __mul and __sqr.  Include
18374         sysdeps/ieee754/dbl-64/mpa.c.
18375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18377         [BZ #12723]
18378         * posix/Makefile (tests): Add tst-pathconf.
18379         * posix/tst-pathconf.c: New test case.
18380         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18381         _PC_PIPE_BUF.
18382         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18384 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
18386         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18388 2013-03-06  Andreas Jaeger  <aj@suse.de>
18390         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18391         definition via __MAP_ANONYMOUS.
18393         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18394         it's not part of Linux headers.
18396         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18397         (MAP_HUGE_MASK): Define.
18399         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18400         Define.
18401         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18402         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18403         Define.
18404         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18405         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18406         Define.
18407         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18408         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18409         Define.
18410         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18412         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18413         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18414         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18415         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18416         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18417         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18419         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18420         Handle f2fs.
18422         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18423         Handle f2fs and efivarfs.
18425         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18426         f2fs.
18428         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18429         (EFIVARFS_MAGIC): Add.
18430         (F2FS_LINK_MAX): Add.
18432 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18434         * stdio-common/vfprintf.c: Replace __builtin_expect with
18435         __glibc_unlikely.
18437 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
18439         [BZ #13550]
18440         * sysdeps/generic/bp-sym.h: Remove file.
18441         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18442         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18443         <bp-sym.h> and <bp-asm.h>.
18444         (__longjmp): Don't use BP_SYM.
18445         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18446         and <bp-asm.h>.
18447         (memcpy): Don't use BP_SYM.
18448         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18449         <bp-sym.h> and <bp-asm.h>.
18450         (memcpy): Don't use BP_SYM.
18451         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18452         <bp-asm.h>.
18453         (memcpy): Don't use BP_SYM.
18454         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18455         <bp-asm.h>.
18456         (memset): Don't use BP_SYM.
18457         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18458         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18459         (__bzero): Don't use BP_SYM.
18460         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18461         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18462         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18463         <bp-sym.h> and <bp-asm.h>.
18464         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18465         pointers.
18466         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18467         <bp-sym.h> and <bp-asm.h>.
18468         (memcpy): Don't use BP_SYM.
18469         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18470         <bp-sym.h> and <bp-asm.h>.
18471         (memset): Don't use BP_SYM.
18472         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18473         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18474         (__bzero): Don't use BP_SYM.
18475         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18476         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18477         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18478         <bp-sym.h> and <bp-asm.h>.
18479         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18480         pointers.
18481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18482         <bp-sym.h> and <bp-asm.h>.
18483         (memcpy): Don't use BP_SYM.
18484         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18485         <bp-sym.h> and <bp-asm.h>.
18486         (memset): Don't use BP_SYM.
18487         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18488         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18489         (__bzero): Don't use BP_SYM.
18490         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18491         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18492         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18493         <bp-sym.h> and <bp-asm.h>.
18494         (__memchr): Don't use BP_SYM.
18495         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18496         <bp-sym.h> and <bp-asm.h>.
18497         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18498         pointers.
18499         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18500         <bp-sym.h> and <bp-asm.h>.
18501         (memcpy): Don't use BP_SYM.
18502         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18503         <bp-sym.h> and <bp-asm.h>.
18504         (__mempcpy): Don't use BP_SYM.
18505         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18506         <bp-sym.h> and <bp-asm.h>.
18507         (__memrchr): Don't use BP_SYM.
18508         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18509         <bp-sym.h> and <bp-asm.h>.
18510         (memset): Don't use BP_SYM.
18511         (__bzero): Likewise.
18512         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18513         <bp-sym.h> and <bp-asm.h>.
18514         (__rawmemchr): Don't use BP_SYM.
18515         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18516         <bp-sym.h> and <bp-asm.h>.
18517         (__STRCMP): Don't use BP_SYM.
18518         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18519         <bp-sym.h> and <bp-asm.h>.
18520         (strchr): Don't use BP_SYM.
18521         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18522         <bp-sym.h> and <bp-asm.h>.
18523         (__strchrnul): Don't use BP_SYM.
18524         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18525         <bp-sym.h> and <bp-asm.h>.
18526         (strlen): Don't use BP_SYM.
18527         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18528         <bp-sym.h> and <bp-asm.h>.
18529         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18530         pointers.
18531         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18532         <bp-sym.h> and <bp-asm.h>.
18533         (__strnlen): Don't use BP_SYM.
18534         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18535         <bp-sym.h> and <bp-asm.h>.
18536         (__GI__setjmp): Don't use BP_SYM.
18537         (_setjmp): Likewise.
18538         (__sigsetjmp): Likewise.
18539         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18540         (L(start_addresses)): Don't use BP_SYM.
18541         (_start): Likewise.
18542         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18543         <bp-asm.h>.
18544         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18545         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18546         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18547         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18548         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18549         <bp-asm.h>.
18550         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18551         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18552         about bounded pointers.
18553         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18554         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18555         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18556         <bp-asm.h>.
18557         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18558         about bounded pointers.  Remove GKM FIXME comments.
18559         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18560         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18561         <bp-asm.h>.
18562         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18563         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18564         Remove GKM FIXME comments.
18565         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18566         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18567         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18568         <bp-asm.h>.
18569         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18570         about bounded pointers.  Remove GKM FIXME comment.
18571         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18572         and <bp-asm.h>.
18573         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18574         pointers.
18575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18576         <bp-sym.h> and <bp-asm.h>.
18577         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18579         <bp-sym.h> and <bp-asm.h>.
18580         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18581         comment.
18583 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18585         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18586         call free(NULL).
18588 2013-03-05  David S. Miller  <davem@davemloft.net>
18590         * po/es.po: Update from translation team.
18592 2013-03-05  Andreas Jaeger  <aj@suse.de>
18594         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18595         <bits/mman-linux.h>.
18596         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18597         is fine.
18598         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18599         <bits/mman-linux.h> to end of file.
18600         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18601         is fine.
18602         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18603         <bits/mman-linux.h> to end of file.
18604         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18605         is fine.
18606         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18607         <bits/mman-linux.h> to end of file.
18609         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18610         (MCL_CURRENT, MCL_FUTURE): Define here.
18612 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18614         [BZ #15232]
18615         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18616         attribute_hidden.
18617         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18619 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18621         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18622         fourth parameter needed for rt_sigprocmask syscall.
18623         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18624         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18625         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18626         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18627         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18628         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18630 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18632         [BZ #13550]
18633         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18634         comment about bounded pointers.
18635         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18636         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18638 2013-03-04  Andreas Jaeger  <aj@suse.de>
18640         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18641         common definitions.
18643         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18644         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18645         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18646         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18647         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18648         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18650 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18652         [BZ #15055]
18653         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18654         __ieee754_sqrl instead of __sqrl.
18656 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18658         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18659         * sysdeps/powerpc/fpu_control.h: ... here.
18660         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18661         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18662         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18663         * sysdeps/powerpc/bits/mathinline.h: ... here.
18665 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18667         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18668         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18669         to just [NEED_DL_SYSINFO_DSO].
18670         * elf/dl-support.c: Likewise.
18671         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18672         * elf/rtld.c (dl_main): Likewise.
18673         * elf/setup-vdso.h (setup_vdso): Likewise.
18674         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18675         * sysdeps/unix/sysv/linux/dl-sysdep.c
18676         (_dl_discover_osversion): Likewise.
18678 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18680         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18681         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18683 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18685         * NEWS: Mention libm performance improvements and non-x86 PI
18686         futex support.
18688         * csu/libc-start.c (__pthread_initialize_minimal): Change
18689         function arguments.
18690         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18692 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18694         [BZ #13550]
18695         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18696         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18697         <bp-sym.h> and <bp-asm.h>.
18698         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18699         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18700         and <bp-asm.h>.
18701         (memcpy): Don't use BP_SYM.
18702         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18703         <bp-asm.h>.
18704         (__mpn_add_n): Don't use BP_SYM.
18705         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18706         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18707         and <bp-asm.h>.
18708         (__mpn_addmul_1): Don't use BP_SYM.
18709         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18710         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18711         <bp-sym.h>.
18712         (_setjmp): Don't use BP_SYM.
18713         (__novmx_setjmp): Likewise.
18714         (__GI__setjmp): Likewise.
18715         (__vmx_setjmp): Likewise.
18716         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18717         <bp-sym.h>.
18718         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18719         (__bzero): Don't use BP_SYM.
18720         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18721         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18722         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18723         <bp-sym.h> and <bp-asm.h>.
18724         (memcpy): Don't use BP_SYM.
18725         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18726         <bp-sym.h> and <bp-asm.h>.
18727         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18728         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18729         <bp-sym.h> and <bp-asm.h>.
18730         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18731         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18732         <bp-asm.h>.
18733         (__mpn_lshift): Don't use BP_SYM.
18734         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18735         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18736         <bp-asm.h>.
18737         (memset): Don't use BP_SYM.
18738         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18739         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18740         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18741         <bp-asm.h>.
18742         (__mpn_mul_1): Don't use BP_SYM.
18743         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18744         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18745         <bp-sym.h> and <bp-asm.h>.
18746         (memcmp): Don't use BP_SYM.
18747         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18748         <bp-sym.h> and <bp-asm.h>.
18749         (memcpy): Don't use BP_SYM.
18750         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18751         <bp-sym.h> and <bp-asm.h>.
18752         (memset): Don't use BP_SYM.
18753         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18754         <bp-sym.h> and <bp-asm.h>.
18755         (strncmp): Don't use BP_SYM.
18756         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18757         <bp-sym.h> and <bp-asm.h>.
18758         (memcpy): Don't use BP_SYM.
18759         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18760         <bp-sym.h> and <bp-asm.h>.
18761         (memset): Don't use BP_SYM.
18762         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18763         <bp-sym.h> and <bp-asm.h>.
18764         (__memchr): Don't use BP_SYM.
18765         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18766         <bp-sym.h> and <bp-asm.h>.
18767         (memcmp): Don't use BP_SYM.
18768         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18769         <bp-sym.h> and <bp-asm.h>.
18770         (memcpy): Don't use BP_SYM.
18771         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18772         <bp-sym.h> and <bp-asm.h>.
18773         (__mempcpy): Don't use BP_SYM.
18774         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18775         <bp-sym.h> and <bp-asm.h>.
18776         (__memrchr): Don't use BP_SYM.
18777         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18778         <bp-sym.h> and <bp-asm.h>.
18779         (memset): Don't use BP_SYM.
18780         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18781         <bp-sym.h> and <bp-asm.h>.
18782         (__rawmemchr): Don't use BP_SYM.
18783         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18784         <bp-sym.h> and <bp-asm.h>.
18785         (__STRCMP): Don't use BP_SYM.
18786         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18787         <bp-sym.h> and <bp-asm.h>.
18788         (strchr): Don't use BP_SYM.
18789         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18790         <bp-sym.h> and <bp-asm.h>.
18791         (__strchrnul): Don't use BP_SYM.
18792         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18793         <bp-sym.h> and <bp-asm.h>.
18794         (strlen): Don't use BP_SYM.
18795         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18796         <bp-sym.h> and <bp-asm.h>.
18797         (strncmp): Don't use BP_SYM.
18798         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18799         <bp-sym.h> and <bp-asm.h>.
18800         (__strnlen): Don't use BP_SYM.
18801         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18802         <bp-asm.h>.
18803         (__mpn_rshift): Don't use BP_SYM.
18804         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18805         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18806         <bp-sym.h> and <bp-asm.h>.
18807         (__sigsetjmp): Don't use BP_SYM.
18808         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18809         (L(start_addresses)): Don't use BP_SYM.
18810         (_start): Likewise.
18811         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18812         <bp-asm.h>.
18813         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18814         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18815         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18816         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18817         <bp-asm.h>.
18818         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18819         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18820         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18821         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18822         <bp-asm.h>.
18823         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18824         comments.
18825         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18826         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18827         <bp-asm.h>.
18828         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18829         FIXME comments.
18830         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18831         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18832         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18833         <bp-asm.h>.
18834         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18835         comment.
18836         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18837         and <bp-asm.h>.
18838         (strncmp): Don't use BP_SYM,
18839         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18840         <bp-asm.h>.
18841         (__mpn_sub_n): Don't use BP_SYM.
18842         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18843         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18844         and <bp-asm.h>.
18845         (__mpn_submul_1): Don't use BP_SYM.
18846         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18848         <bp-sym.h> and <bp-asm.h>.
18849         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18851         <bp-sym.h> and <bp-asm.h>.
18852         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18853         comment.
18855 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18857         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18858         Use ZK to minimize writes to Z.
18859         (sub_magnitudes): Simplify code a bit.
18860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18861         Use ZK to minimize writes to Z.
18862         (sub_magnitudes): Simplify code a bit.
18864 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18866         * csu/gmon-start.c: Add special exception to license text.
18868 2013-02-27  Richard Henderson  <rth@redhat.com>
18870         * scripts/config.guess: Update from config.git.
18871         * scripts/config.sub: Likewise.
18873 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18875         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18877         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18879         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18881         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18883         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18885 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18887         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18888         [$(build-shared = yes].
18890 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18892         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18893         (__mul): Reduce iterations for calculating mantissa.
18895         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18896         MPTWO.
18897         (__mpranred): Likewise.
18899         [BZ #15160]
18900         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18901         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18903 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18905         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18906         Define __attribute__.
18908 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18910         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18911         unused.
18912         * posix/regex_internal.h (__attribute): Remove.
18913         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18914         (re_string_context_at): Likewise.
18915         (bitset_not): Use __attribute__ and mark function as possibly
18916         unused.
18917         (bitset_merge): Likewise.
18918         (bitset_mask): Likewise.
18919         (re_string_char_size_at): Likewise.
18920         (re_string_wchar_at): Likewise.
18921         (re_string_elem_size_at): Likewise.
18923 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18925         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18926         code.
18927         (cc32): Likewise.
18929         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18930         (__acr): Likewise.
18931         (__cpy): Likewise.
18932         (norm): Likewise.
18933         (denorm): Likewise.
18934         (__dbl_mp): Likewise.
18935         (add_magnitudes): Likewise.
18936         (sub_magnitudes): Likewise.
18937         (__mul): Likewise.
18938         (__inv): Likewise.
18940         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18941         style.
18943         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18944         style.
18946         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18947         code.
18949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18950         up changes with default code.
18951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18952         Likewise.
18954 2013-02-24  Allan McRae  <allan@archlinux.org>
18956         * manual/socket.texi (The Internet Namespace): Order menu items
18957         to match that in the file.
18959         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18960         node listing of the info page menu.
18962 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
18964         [BZ #13550]
18965         * sysdeps/i386/bp-asm.h: Remove file.
18966         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18967         (PARMS): Do not use macros from bp-asm.h.
18968         (S1): Likewise.
18969         (S2): Likewise.
18970         (SIZE): Likewise.
18971         (__mpn_add_n): Do not use BP_SYM
18972         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18973         "bp-asm.h".
18974         (PARMS): Do not use macros from bp-asm.h.
18975         (S1): Likewise.
18976         (SIZE): Likewise.
18977         (__mpn_addmul_1): Do not use BP_SYM
18978         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18979         "bp-asm.h".
18980         (PARMS): Do not use macros from bp-asm.h.
18981         (SIGMSK): Likewise.
18982         (_setjmp): Likewise.  Do not use BP_SYM.
18983         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18984         "bp-asm.h".
18985         (PARMS): Do not use macros from bp-asm.h.
18986         (SIGMSK): Likewise.
18987         (setjmp): Likewise.  Do not use BP_SYM.
18988         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18989         "bp-asm.h".
18990         (PARMS): Do not use macros from bp-asm.h.
18991         (__frexp): Do not use BP_SYM.
18992         (frexp): Likewise.
18993         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18994         "bp-asm.h".
18995         (PARMS): Do not use macros from bp-asm.h.
18996         (__frexpf): Do not use BP_SYM.
18997         (frexpf): Likewise.
18998         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18999         "bp-asm.h".
19000         (PARMS): Do not use macros from bp-asm.h.
19001         (__frexpl): Do not use BP_SYM.
19002         (frexpl): Likewise.
19003         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19004         "bp-asm.h".
19005         (PARMS): Do not use macros from bp-asm.h.
19006         (__remquo): Do not use BP_SYM.
19007         (remquo): Likewise.
19008         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19009         "bp-asm.h".
19010         (PARMS): Do not use macros from bp-asm.h.
19011         (__remquof): Do not use BP_SYM.
19012         (remquof): Likewise.
19013         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19014         "bp-asm.h".
19015         (PARMS): Do not use macros from bp-asm.h.
19016         (__remquol): Do not use BP_SYM.
19017         (remquol): Likewise.
19018         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19019         "bp-asm.h".
19020         (PARMS): Do not use macros from bp-asm.h.
19021         (DEST): Likewise.
19022         (SRC): Likewise.
19023         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
19024         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19025         "bp-asm.h".
19026         (PARMS): Do not use macros from bp-asm.h.
19027         (strlen): Do not use BP_SYM.
19028         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19029         "bp-asm.h".
19030         (PARMS): Do not use macros from bp-asm.h.
19031         (S1): Likewise.
19032         (S2): Likewise.
19033         (SIZE): Likewise.
19034         (__mpn_add_n): Do not use BP_SYM.
19035         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19036         "bp-asm.h".
19037         (PARMS): Do not use macros from bp-asm.h.
19038         (S1): Likewise.
19039         (SIZE): Likewise.
19040         (__mpn_addmul_1): Do not use BP_SYM.
19041         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19042         weak_alias.
19043         (bzero): Likewise.
19044         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19045         "bp-asm.h".
19046         (PARMS): Do not use macros from bp-asm.h.
19047         (S): Likewise.
19048         (SIZE): Likewise.
19049         (__mpn_lshift): Do not use BP_SYM.
19050         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19051         "bp-asm.h".
19052         (PARMS): Do not use macros from bp-asm.h.
19053         (DEST): Likewise.
19054         (SRC): Likewise.
19055         (LEN): Likewise.
19056         (memcpy): Likewise.  Do not use BP_SYM.
19057         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19058         libc_hidden_def and weak_alias.
19059         (mempcpy): Do not use BP_SYM in weak_alias.
19060         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19061         "bp-asm.h".
19062         (PARMS): Do not use macros from bp-asm.h.
19063         (DEST): Likewise.
19064         (LEN): Likewise.
19065         [!BZERO_P] (CHR): Likewise.
19066         (memset): Likewise.  Do not use BP_SYM.
19067         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19068         "bp-asm.h".
19069         (PARMS): Do not use macros from bp-asm.h.
19070         (S1): Likewise.
19071         (SIZE): Likewise.
19072         (__mpn_mul_1): Do not use BP_SYM.
19073         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19074         "bp-asm.h".
19075         (PARMS): Do not use macros from bp-asm.h.
19076         (S): Likewise.
19077         (SIZE): Likewise.
19078         (__mpn_rshift): Do not use BP_SYM.
19079         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19080         "bp-asm.h".
19081         (PARMS): Do not use macros from bp-asm.h.
19082         (STR): Likewise.
19083         (CHR): Likewise.
19084         (strchr): Likewise.  Do not use BP_SYM.
19085         (index): Do not use BP_SYM in weak_alias.
19086         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19087         "bp-asm.h".
19088         (PARMS): Do not use macros from bp-asm.h.
19089         (DEST): Likewise.
19090         (SRC): Likewise.
19091         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
19092         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19093         "bp-asm.h".
19094         (PARMS): Do not use macros from bp-asm.h.
19095         (strlen): Do not use BP_SYM.
19096         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19097         "bp-asm.h".
19098         (PARMS): Do not use macros from bp-asm.h.
19099         (S1): Likewise.
19100         (S2): Likewise.
19101         (SIZE): Likewise.
19102         (__mpn_sub_n): Do not use BP_SYM.
19103         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19104         "bp-asm.h".
19105         (PARMS): Do not use macros from bp-asm.h.
19106         (S1): Likewise.
19107         (SIZE): Likewise.
19108         (__mpn_submul_1): Do not use BP_SYM.
19109         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19110         "bp-asm.h".
19111         (PARMS): Do not use macros from bp-asm.h.
19112         (S1): Likewise.
19113         (S2): Likewise.
19114         (SIZE): Likewise.
19115         (__mpn_add_n): Do not use BP_SYM.
19116         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19117         weak_alias.
19118         (bzero): Likewise.
19119         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19120         "bp-asm.h".
19121         (PARMS): Do not use macros from bp-asm.h.
19122         (BLK2): Likewise.
19123         (LEN): Likewise.
19124         (memcmp): Do not use BP_SYM.
19125         (bcmp): Do not use BP_SYM in weak_alias.
19126         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19127         "bp-asm.h".
19128         (PARMS): Do not use macros from bp-asm.h.
19129         (DEST): Likewise.
19130         (SRC): Likewise.
19131         (LEN): Likewise.
19132         (memcpy): Likewise.  Do not use BP_SYM.
19133         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19134         "bp-asm.h".
19135         (PARMS): Do not use macros from bp-asm.h.
19136         (DEST): Likewise.
19137         (SRC): Likewise.
19138         (LEN): Likewise.
19139         (memmove): Likewise.  Do not use BP_SYM.
19140         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19141         "bp-asm.h".
19142         (PARMS): Do not use macros from bp-asm.h.
19143         (DEST): Likewise.
19144         (SRC): Likewise.
19145         (LEN): Likewise.
19146         (__mempcpy): Likewise.  Do not use BP_SYM.
19147         (mempcpy): Do not use BP_SYM in weak_alias.
19148         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19149         "bp-asm.h".
19150         (PARMS): Do not use macros from bp-asm.h.
19151         (DEST): Likewise.
19152         (LEN): Likewise.
19153         [!BZERO_P] (CHR): Likewise.
19154         (memset): Likewise.  Do not use BP_SYM.
19155         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19156         "bp-asm.h".
19157         (PARMS): Do not use macros from bp-asm.h.
19158         (STR2): Likewise.
19159         (strcmp): Do not use BP_SYM.
19160         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19161         "bp-asm.h".
19162         (PARMS): Do not use macros from bp-asm.h.
19163         (STR): Likewise.
19164         (DELIM): Likewise.
19165         [USE_AS_STRTOK_R] (SAVE): Likewise.
19166         (FUNCTION): Likewise.  Do not use BP_SYM.
19167         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19168         aliases.
19169         (strtok_r): Likewise.
19170         (__GI___strtok_r): Likewise.
19171         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19172         (PARMS): Do not use macros from bp-asm.h.
19173         (S): Likewise.
19174         (SIZE): Likewise.
19175         (__mpn_lshift): Do not use BP_SYM.
19176         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19177         (PARMS): Do not use macros from bp-asm.h.
19178         (STR): Likewise.
19179         (CHR): Likewise.
19180         (__memchr): Do not use BP_SYM.
19181         (memchr): Do not use BP_SYM in weak_alias.
19182         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19183         (PARMS): Do not use macros from bp-asm.h.
19184         (BLK2): Likewise.
19185         (LEN): Likewise.
19186         (memcmp): Do not use BP_SYM.
19187         (bcmp): Do not use BP_SYM in weak_alias.
19188         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19189         (PARMS): Do not use macros from bp-asm.h.
19190         (S1): Likewise.
19191         (SIZE): Likewise.
19192         (__mpn_mul_1): Do not use BP_SYM.
19193         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19194         "bp-asm.h".
19195         (PARMS): Do not use macros from bp-asm.h.
19196         (STR): Likewise.
19197         (CHR): Likewise.
19198         (__rawmemchr): Do not use BP_SYM.
19199         (rawmemchr): Do not use BP_SYM in weak_alias.
19200         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19201         (PARMS): Do not use macros from bp-asm.h.
19202         (S): Likewise.
19203         (SIZE): Likewise.
19204         (__mpn_rshift): Do not use BP_SYM.
19205         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19206         (PARMS): Do not use macros from bp-asm.h.
19207         (SIGMSK): Likewise.
19208         (__sigsetjmp): Likewise.  Do not use BP_SYM.
19209         * sysdeps/i386/start.S: Do not include "bp-sym.h".
19210         (_start): Do not use BP_SYM.
19211         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19212         (PARMS): Do not use macros from bp-asm.h.
19213         (DEST): Likewise.
19214         (SRC): Likewise.
19215         (__stpcpy): Likewise.  Do not use BP_SYM.
19216         (stpcpy): Do not use BP_SYM in weak_alias.
19217         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19218         "bp-asm.h".
19219         (PARMS): Do not use macros from bp-asm.h.
19220         (DEST): Likewise.
19221         (SRC): Likewise.
19222         (LEN): Likewise.
19223         (__stpncpy): Likewise.  Do not use BP_SYM.
19224         (stpncpy): Do not use BP_SYM in weak_alias.
19225         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19226         (PARMS): Do not use macros from bp-asm.h.
19227         (STR): Likewise.
19228         (CHR): Likewise.
19229         (strchr): Likewise.  Do not use BP_SYM.
19230         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19231         "bp-asm.h".
19232         (PARMS): Do not use macros from bp-asm.h.
19233         (STR): Likewise.
19234         (CHR): Likewise.
19235         (__strchrnul): Likewise.  Do not use BP_SYM.
19236         (strchrnul): Do not use BP_SYM in weak_alias.
19237         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19238         "bp-asm.h".
19239         (PARMS): Do not use macros from bp-asm.h.
19240         (STOP): Likewise.
19241         (strcspn): Do not use BP_SYM.
19242         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19243         "bp-asm.h".
19244         (PARMS): Do not use macros from bp-asm.h.
19245         (STR): Likewise.
19246         (STOP): Likewise.
19247         (strpbrk): Likewise.  Do not use BP_SYM.
19248         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19249         "bp-asm.h".
19250         (PARMS): Do not use macros from bp-asm.h.
19251         (STR): Likewise.
19252         (CHR): Likewise.
19253         (strrchr): Likewise.  Do not use BP_SYM.
19254         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19255         (PARMS): Do not use macros from bp-asm.h.
19256         (SKIP): Likewise.
19257         (strspn): Do not use BP_SYM.
19258         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19259         (PARMS): Do not use macros from bp-asm.h.
19260         (STR): Likewise.
19261         (DELIM): Likewise.
19262         (SAVE): Likewise.
19263         (FUNCTION): Likewise.  Do not use BP_SYM.
19264         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19265         aliases.
19266         (strtok_r): Likewise.
19267         (__GI___strtok_r): Likewise.
19268         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19269         (PARMS): Do not use macros from bp-asm.h.
19270         (S1): Likewise.
19271         (S2): Likewise.
19272         (SIZE): Likewise.
19273         (__mpn_sub_n): Do not use BP_SYM.
19274         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19275         "bp-asm.h".
19276         (PARMS): Do not use macros from bp-asm.h.
19277         (S1): Likewise.
19278         (SIZE): Likewise.
19279         (__mpn_submul_1): Do not use BP_SYM.
19280         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19281         <bp-sym.h>.
19282         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19283         and <bp-asm.h>.
19284         (PARMS): Do not use macros from bp-asm.h.
19285         (FLAGS): Likewise.
19286         (PTID): Likewise.
19287         (TLS): Likewise.
19288         (CTID): Likewise.
19289         (__clone): Do not use BP_SYM.
19290         (clone): Do not use BP_SYM in weak_alias.
19291         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19292         and <bp-asm.h>.
19293         (PARMS): Do not use macros from bp-asm.h.
19294         (LEN): Likewise.
19295         (__mmap64): Do not use BP_SYM.
19296         (mmap64): Do not use BP_SYM in weak_alias.
19297         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19298         <bp-sym.h> and <bp-asm.h>.
19299         (PARMS): Do not use macros from bp-asm.h.
19300         (__posix_fadvise64_l64): Do not use BP_SYM.
19301         * sysdeps/unix/sysv/linux/i386/semtimedop.S
19302         (PARMS): Do not use macros from bp-asm.h.
19303         (NSOPS): Likewise.
19304         (semtimedop): Do not use BP_SYM.
19305         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19306         and <bp-asm.h>.
19308 2013-02-21  Allan McRae  <allan@archlinux.org>
19310         * manual/message.texi (Charset conversion in gettext):
19311         Move @end statement to beginning of line.
19313 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19316         static.
19317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19318         Likewise.
19320         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19321         (denorm): Likewise.
19322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19325 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19327         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19328         tail-call to the resolved function if pltexit isn't needed.
19330 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19333         or Y being zero as being unlikely.
19334         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19335         Likewise.
19337 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
19339         * manual/nss.texi (System Databases and Name Service Switch):
19340         Remove frobnicate @pxref.
19342 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19344         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19345         __attribute__ ((unused)) to __attribute__ ((__unused__)).
19347 2013-02-20  Petr Machata  <pmachata@redhat.com>
19349         * elf/elf.h (R_ARM_TARGET1): New macro.
19350         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19351         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19352         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19353         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19354         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19355         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19356         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19357         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19358         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19359         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19360         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19361         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19362         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19363         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19364         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19365         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19366         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19367         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19368         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19369         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19370         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19371         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19372         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19373         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19374         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19375         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19376         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19377         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19378         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19379         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19380         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19381         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19382         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19383         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19384         (R_ARM_THM_GOT_BREL12): Likewise.
19385         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19386         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19387         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19388         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19389         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19390         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19391         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19392         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19393         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19395 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19397         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19398         __attribute_used__ to __attribute__ ((unused)).
19400 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19402         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19403         powerpc mpa.c.
19404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19405         comment formatting.
19406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19408 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
19410         [BZ #13550]
19411         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19412         Remove macro.
19413         (ENTER): Remove both macro definitions.
19414         (LEAVE): Likewise.
19415         (CHECK_BOUNDS_LOW): Likewise.
19416         (CHECK_BOUNDS_HIGH): Likewise.
19417         (CHECK_BOUNDS_BOTH): Likewise.
19418         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19419         (RETURN_BOUNDED_POINTER): Likewise.
19420         (RETURN_NULL_BOUNDED_POINTER): Likewise.
19421         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19422         (POP_ERRNO_LOCATION_RETURN): Likewise.
19423         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19424         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19425         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19426         macros.
19427         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19428         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19429         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19430         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19431         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19432         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19433         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19434         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19435         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19436         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19437         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19438         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19439         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19440         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19441         removed macros.
19442         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19443         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19444         macros.
19445         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19446         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19447         * sysdeps/i386/i586/memset.S (memset): Likewise.
19448         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19449         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19450         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19451         macros.
19452         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19453         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19454         Change uses of L(2) to L(out).
19455         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19456         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19457         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19458         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19459         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19460         removed macros.
19461         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19462         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19463         macros.
19464         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19465         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19466         (RETURN): Do not use macro LEAVE.
19467         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19468         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19469         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19470         * sysdeps/i386/i686/memset.S (memset): Likewise.
19471         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19472         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19473         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19474         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19475         Likewise.
19476         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19477         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
19478         L(1_2) and L(1_3) into L(1).
19479         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19480         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19481         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19482         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19483         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19484         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19485         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19486         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19487         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19488         macros.
19489         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19490         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19491         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19492         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19493         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19494         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19495         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19496         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19497         * sysdeps/i386/strcspn.S (strcspn): Likewise.
19498         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19499         * sysdeps/i386/strrchr.S (strrchr): Likewise.
19500         * sysdeps/i386/strspn.S (strspn): Likewise.
19501         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19502         conditional code.
19503         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19504         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19505         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19506         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
19507         L(1_3) into L(1_1).
19508         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19509         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19510         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19511         macros.
19512         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19514 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
19516         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19517         macro.
19519 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19521         * math/atest-exp.c (exp_mpn): Remove ROUND.
19522         * math/atest-exp2.c (exp_mpn): Likewise.
19523         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19525         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19526         * stdlib/tst-tls-atexit-lib.c: Likewise.
19527         * stdlib/tst-tls-atexit.c: Likewise.
19529 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19531         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19532         and __attribute_alloc_size__.
19534 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19536         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19537         __attribute_alloc_size__.
19538         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19539         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19541 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19543         * include/programs/xmalloc.h: New file.
19544         * catgets/gencat.c: Include it.
19545         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19546         * elf/pldd.c: Likewise.
19547         * iconv/iconv_charmap.c: Likewise.
19548         * iconv/iconvconfig.c: Likewise.
19549         * iconv/strtab.c: Likewise.
19550         * locale/programs/locale.c: Likewise.
19551         * locale/programs/localedef.h: Likewise.
19552         * locale/programs/simple-hash.c: Likewise.
19553         * nscd/nscd.h: Likewise.
19554         * nss/makedb.c: Likewise.
19555         * sysdeps/generic/ldconfig.h: Likewise.
19557 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19559         * Versions.def: Add GLIBC_2.18.
19560         * include/link.h (struct link_map): New member l_tls_dtor_count.
19561         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19562         (__call_tls_dtors): Likewise.
19563         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19564         __cxa_thread_atexit_impl.
19565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19566         Likewise.
19567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19568         Likewise.
19569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19570         Likewise.
19571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19572         Likewise.
19573         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19575         Likewise.
19576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19577         Likewise.
19578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19580         Likewise.
19581         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19582         (tests): Add test case tst-tls-atexit.
19583         (modules-names): Add shared library for tst-tls-atexit.
19584         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19585         (GLIBC_PRIVATE): Add __call_tls_dtors.
19586         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19587         for libstdc++.
19588         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19589         * stdlib/tst-tls-atexit.c: New test case.
19590         * stdlib/tst-tls-atexit-lib.c: New test case.
19592         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19594         * elf/Versions (ld): Add _dl_find_dso_for_object.
19595         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19596         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19597         (dl_open_worker): Use _dl_find_dso_for_object.
19598         * elf/dl-sym.c (do_sym): Likewise.
19599         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19601 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19603         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19604         Syntactic changes only.
19605         (_dl_runtime_profile): Do a tail-call to the resolved function.
19607 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19609         [BZ #13550]
19610         * sysdeps/x86_64/bp-asm.h: Remove file.
19611         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19612         <bp-sym.h> and <bp-asm.h>.
19613         (__clone): Do not use BP_SYM.
19614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19615         <bp-sym.h> and <bp-asm.h>.
19616         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19617         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19618         "bp-asm.h".
19619         (_setjmp): Do not use BP_SYM.
19620         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19621         "bp-asm.h".
19622         (setjmp): Do not use BP_SYM.
19623         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19624         libc_hidden_def.
19625         (mempcpy): Do not use BP_SYM in weak_alias.
19626         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19627         "bp-asm.h".
19628         (strchr): Do not use BP_SYM.
19629         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19630         "bp-asm.h".
19631         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19632         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19633         (_start): Do not use BP_SYM.
19634         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19635         "bp-asm.h".
19636         (strcat): Do not use BP_SYM.
19637         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19638         "bp-asm.h".
19639         (STRCMP): Do not use BP_SYM.
19640         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19641         "bp-asm.h".
19642         (STRCPY): Do not use BP_SYM.
19643         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19644         "bp-asm.h".
19645         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19646         "bp-asm.h".
19647         (FUNCTION): Do not use BP_SYM.
19648         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19649         weak_alias.
19650         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19652 2013-02-17  Andreas Jaeger  <aj@suse.de>
19654         * time/Versions: Sort entries.
19655         * string/Versions: Likewise.
19656         * resolv/Versions: Likewise.
19657         * posix/Versions: Likewise.
19658         * iconv/Versions: Likewise.
19659         * elf/Versions: Likewise.
19660         * wcsmbs/Versions: Likewise.
19662 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19664         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19665         loop termination condition.
19667         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19668         variable to calculate EZ.
19669         (__sqr): Likewise.
19671         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19672         the lower precision input.
19674 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19676         [BZ #13550]
19677         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19678         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19679         (run-via-rtld-prefix): Do not handle %-bp tests.
19680         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19681         (all-object-suffixes): Remove .ob.
19682         (bppfx): Remove variable.
19683         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19684         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19685         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19686         [$(build-bounded) = yes] (libtype.ob): Likewise.
19687         * Makerules (elide-routines.ob): Remove variable.
19688         (do-tests-clean): Do not handle *-bp.out.
19689         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19690         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19691         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19692         (tests): Do not include $(tests-bp.out).
19693         (xtests): Do not include $(xtests-bp.out).
19694         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19695         [$(build-bounded) = yes] ($(addprefix
19696         $(objpfx),$(binaries-bounded))): Remove rule.
19697         ($(objpfx)%-bp.out): Remove rule.
19698         * config.make.in (build-bounded): Remove variable.
19699         * crypt/Makefile [$(build-bounded) = yes]
19700         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19701         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19702         append to variable.
19703         [$(build-bounded) = yes] (install-lib): Likewise.
19704         [$(build-bounded) = yes] (generated): Likewise.
19705         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19706         Remove rule.
19707         * intl/Makefile [$(build-bounded) = yes]
19708         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19709         * math/Makefile [$(build-bounded) = yes]
19710         ($(tests:%=$(objpfx)%-bp): Likewise.
19711         * misc/Makefile [$(build-bounded) = yes]
19712         ($(objpfx)tst-tsearch-bp): Likewise.
19713         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19714         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19715         Remove dependency.
19716         * string/Makefile (o-objects.ob): Remove variable.
19717         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19718         (CFLAGS-.ob): Remove variable.
19719         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19720         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19721         both definitions of variable.
19722         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19723         (ASFLAGS-.ob): Remove variable.
19725 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19727         [BZ #13550]
19728         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19729         Remove __BOUNDED_POINTERS__ from condition.
19730         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19731         * string/bits/string2.h [!__NO_STRING_INLINES &&
19732         !__BOUNDED_POINTERS__]: Likewise.
19733         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19734         Likewise.
19735         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19736         Remove conditional code.
19737         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19738         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19739         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19740         condition.
19742         [BZ #13550]
19743         * csu/libc-start.c: Do not include <bp-sym.h>.
19744         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19745         * elf/dl-open.c: Do not include <bp-sym.h>.
19746         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19747         * math/fegetenv.c: Do not include <bp-sym.h>.
19748         (fegetenv): Do not use BP_SYM in versioned symbols.
19749         * nptl/sysdeps/pthread/bits/libc-lockP.h
19750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19751         <bp-sym.h>.
19752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19753         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19755         (__pthread_mutex_destroy): Likewise.
19756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19757         (__pthread_mutex_lock): Likewise.
19758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19759         (__pthread_mutex_trylock): Likewise.
19760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19761         (__pthread_mutex_unlock): Likewise.
19762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19763         (__pthread_mutexattr_init): Likewise.
19764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19765         (__pthread_mutexattr_destroy): Likewise.
19766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19767         (__pthread_mutexattr_settype): Likewise.
19768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19769         (__pthread_rwlock_init): Likewise.
19770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19771         (__pthread_rwlock_destroy): Likewise.
19772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19773         (__pthread_rwlock_rdlock): Likewise.
19774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19775         (__pthread_rwlock_tryrdlock): Likewise.
19776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19777         (__pthread_rwlock_wrlock): Likewise.
19778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19779         (__pthread_rwlock_trywrlock): Likewise.
19780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19781         (__pthread_rwlock_unlock): Likewise.
19782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19783         (__pthread_key_create): Likewise.
19784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19785         (__pthread_setspecific): Likewise.
19786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19787         (__pthread_getspecific): Likewise.
19788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19789         Likewise.
19790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19791         (_pthread_cleanup_push_defer): Likewise.
19792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19793         (_pthread_cleanup_pop_restore): Likewise.
19794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19795         (pthread_setcancelstate): Likewise.
19796         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19797         <bp-sym.h>.
19798         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19799         (memchr): Do not use BP_SYM in weak_alias.
19800         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19801         (fegetenv): Do not use BP_SYM in versioned symbols.
19802         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19803         (fesetenv): Do not use BP_SYM in versioned symbols.
19804         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19805         (feupdateenv): Do not use BP_SYM in versioned symbols.
19806         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19807         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19808         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19809         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19810         (open64): Do not use BP_SYM in weak_alias.
19811         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19812         (fegetenv): Do not use BP_SYM in versioned symbols.
19813         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19814         (fesetenv): Do not use BP_SYM in versioned symbols.
19815         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19816         (feupdateenv): Do not use BP_SYM in versioned symbols.
19817         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19818         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19819         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19820         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19821         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19822         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19823         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19824         <bp-sym.h>.
19825         (__libc_start_main): Do not use BP_SYM.
19827 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19830         redundant return line.
19831         (norm): Likewise.
19832         (denorm): Likewise.
19833         (dbl_mp): Likewise.
19834         (sub_magnitudes): Likewise.
19835         (__add): Likewise.
19836         (__sub): Likewise.
19837         (__mul): Likewise.
19838         (__inv): Likewise.
19839         (__dvd): Likewise.
19840         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19841         (norm): Likewise.
19842         (denorm): Likewise.
19843         (dbl_mp): Likewise.
19844         (sub_magnitudes): Likewise.
19845         (__add): Likewise.
19846         (__sub): Likewise.
19847         (__mul): Likewise.
19848         (__inv): Likewise.
19849         (__dvd): Likewise.
19851         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19852         instead of __mul.
19853         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19854         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19855         (cc32): Likewise.
19857         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19858         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19859         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19860         of __mul for squares.
19861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19862         function
19863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19864         Likewise.
19865         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19866         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19868 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19870         [BZ #13550]
19871         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19872         code.
19873         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19874         prototype or function definition.  Rename ubp_* variables and
19875         parameters.  Remove argv definitions conditional on
19876         [__BOUNDED_POINTERS__].
19877         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19878         * elf/dl-runtime.c (_dl_fixup): Likewise.
19879         * include/set-hooks.h (RUN_HOOK): Likewise.
19880         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19881         definition.
19882         * string/strcpy.c (strcpy): Do not use __unbounded.
19883         * sysdeps/generic/frame.h (struct layout): Likewise.
19884         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19885         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19886         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19887         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19888         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19889         (__backtrace): Likewise.
19890         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19891         use __ptrvalue.
19892         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19893         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19894         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19895         Likewise.
19896         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19897         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19898         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19899         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19900         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19901         Do not use __unbounded.
19902         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19903         Rename __unboundedrlimits parameter to rlimits in prototype.
19904         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19905         Do not use __unbounded.
19906         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19907         not use __ptrvalue.
19908         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19909         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19910         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19911         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19912         __ptrvalue or __unbounded.
19913         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19914         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19915         use __unbounded.
19916         (__new_msgctl): Do not use __ptrvalue.
19917         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19918         __unbounded.
19919         (__libc_msgrcv): Do not use __ptrvalue.
19920         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19921         startup_info): Do not use __unbounded.
19922         (__libc_start_main): Likewise.  Rename ubp_* variables and
19923         parameters.  Remove argv definitions conditional on
19924         [__BOUNDED_POINTERS__].
19925         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19926         __ptrvalue.
19927         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19928         use __unbounded.
19929         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19930         or __ptrvalue.
19931         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19932         use __unbounded.
19933         (__new_shmctl): Do not use __ptrvalue.
19934         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19935         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19936         Likewise.
19937         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19938         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19939         (__libc_sigaction): Likewise.
19940         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19941         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19942         Likewise.
19943         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19945 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
19947         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19949         * string/mempcpy.c: Implement by calling memcpy.
19951 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19953         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19955         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19956         evaluation.
19958         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19959         values in the mantissa.
19961         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19962         minimize writes to Z.
19963         (sub_magnitudes): Simplify code a bit.
19965 2013-02-12  Roland McGrath  <roland@hack.frob.com>
19967         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19968         from the message.  The linker prefixes all warnings with that already.
19970 2013-02-12  Andreas Schwab  <schwab@suse.de>
19972         [BZ #15078]
19973         * posix/regexec.c (extend_buffers): Add parameter min_len.
19974         (check_matching): Pass minimum needed length.
19975         (clean_state_log_if_needed): Likewise.
19976         (get_subexp): Likewise.
19977         * posix/Makefile (tests): Add bug-regex34.
19978         (bug-regex34-ENV): Define.
19979         * posix/bug-regex34.c: New file.
19981         [BZ #11561]
19982         * posix/regcomp.c (parse_bracket_exp): When looking up collating
19983         elements compare against the byte sequence of it, not its name.
19984         * posix/Makefile (tests): Add bug-regex35.
19985         (bug-regex35-ENV): Define.
19986         * posix/bug-regex35.c: New file.
19988 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19990         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
19991         comment.
19992         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19993         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19994         (CHECK_EOL): Add undef.
19996 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
19998         * bits/stdlib-bsearch.h: New file.
19999         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20000         * stdlib/stdlib.h: Likewise.
20002 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20004         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20005         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20006         declaration.
20007         * manual/search.texi (Array Search Function): Add missing const in
20008         lfind prototype.
20009         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20010         declaration to use rlim_t.
20011         (Basic Scheduling Functions): Remove erroneous const from
20012         sched_getparam prototype.  Remove erroneous * from
20013         sched_get_priority_max and sched_get_priority_min prototypes.
20014         (Resource Usage): Fix summary @comment on vtimes to refer to
20015         sys/vtimes.h rather than vtimes.h.
20016         Add missing *s in vtimes prototype.
20017         (Limits on Resources): Fix ulimit prototype to return long int.
20018         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20019         prototypes to use long int rather than double.
20020         (BSD Random): Fix initstate and setstate to use char *, not void *.
20021         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20022         prototype to make second argument 'struct aiocb64 *const[]'.
20023         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20024         (Status of AIO Operations): Remove erroneous const in aio_return and
20025         aio_return64 prototypes.
20026         (Synchronizing I/O): Fix sync prototype to return void.
20027         * manual/startup.texi (Suboptions): Remove an erroneous const in
20028         getsubopt prototype.
20029         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20030         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20031         use size_t rather than int.
20032         (Scanning All Users): Likewise for getpwent_r.
20033         (Setting Groups): Add missing const to setgroups prototype.
20034         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20035         * manual/socket.texi (Host Names): Fix gethostbyaddr and
20036         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20037         'const void *' rather than 'const char *'.
20038         (Host Address Functions): Likewise for inet_ntop.
20039         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20040         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20041         ssize_t for return value.
20042         (Sending Data): Likewise for send, sendto, sendmsg.
20043         (Socket Option Functions): Add a missing const in setsockopt prototype.
20044         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20045         use wchar_t for the argument.
20046         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20047         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20048         take no arguments.
20049         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20050         double/float/long double for second argument.
20051         Fix return types of significand, significandf, significandl.
20052         * manual/filesys.texi (Setting Permissions): Use mode_t for second
20053         argument in fchmod prototype.
20054         (File Owner): Use uid_t and gid_t in fchown prototype.
20055         (File Times): Add const to utimes, futimes, and lutimes prototypes.
20056         (Making Special Files): Use mode_t and dev_t in mknod prototype.
20057         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20058         use 'const struct dirent **' as argument types to CMP function pointer
20059         argument.
20060         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20061         (File Times): Fix summary magic @comment for struct utimbuf and utime
20062         to refer to utime.h, not time.h.
20063         * manual/string.texi (Argz Functions): Add missing const in
20064         argz_extract and argz_next prototypes.
20065         (Finding Tokens in a String): Likewise for basename.
20066         (String/Array Comparison): Fix typo in wcscasecmp prototype.
20067         (Copying and Concatenation): Fix typo in wmemmove prototype.
20068         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20069         (Signal Stack): Remove erroneous const in sigstack prototype.
20070         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20071         prototype.
20072         (Simple Calendar Time): Likewise for stime.
20073         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20074         prototype.
20075         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20076         say sys/sysctl.h instead.
20077         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20078         and vsyslog prototypes.
20080 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20082         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20083         Remove.
20085 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20087         * misc/sys/mman.h: Fix typo in mremap comment.
20089 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20091         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20092         the '\0' terminator.
20094 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20096         [BZ #13550]
20097         * debug/segfault.c: Don't include <bp-checks.h>.
20098         * sysdeps/generic/bp-checks.h: Remove file.
20099         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20100         (__GETDENTS): Don't use CHECK_N.
20101         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20102         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20103         (__getgroups): Don't use CHECK_N.
20104         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20105         (setgroups): Don't use CHECK_N.
20106         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20107         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20108         (__libc_msgrcv): Don't use CHECK_N.
20109         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20110         (__libc_msgsnd): Don't use CHECK_N.
20111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20112         <bp-checks.h>.
20113         (__libc_pread): Don't use CHECK_N.
20114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20115         include <bp-checks.h>.
20116         (__libc_pread64): Don't use CHECK_N.
20117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20118         include <bp-checks.h>.
20119         (__libc_pwrite): Don't use CHECK_N.
20120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20121         include <bp-checks.h>.
20122         (__libc_pwrite64): Don't use CHECK_N.
20123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20124         <bp-checks.h>.
20125         (__libc_pread): Don't use CHECK_N.
20126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20127         include <bp-checks.h>.
20128         (__libc_pread64): Don't use CHECK_N.
20129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20130         include <bp-checks.h>.
20131         (__libc_pwrite): Don't use CHECK_N.
20132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20133         include <bp-checks.h>.
20134         (__libc_pwrite64): Don't use CHECK_N.
20135         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20136         (do_pread): Don't use CHECK_N.
20137         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20138         (do_pread64): Don't use CHECK_N.
20139         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20140         (do_pwrite): Don't use CHECK_N.
20141         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20142         (do_pwrite64): Don't use CHECK_N.
20143         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20144         (__libc_readv): Don't use CHECK_N.
20145         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20146         (semop): Don't use CHECK_N.
20147         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20148         <bp-checks.h>.
20149         (semtimedop): Don't use CHECK_N.
20150         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20151         (__libc_pread): Don't use CHECK_N.
20152         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20153         <bp-checks.h>.
20154         (__libc_pread64): Don't use CHECK_N.
20155         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20156         <bp-checks.h>.
20157         (__libc_pwrite): Don't use CHECK_N.
20158         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20159         <bp-checks.h>.
20160         (__libc_pwrite64): Don't use CHECK_N.
20161         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20162         <bp-checks.h>.
20163         (__libc_msgrcv): Don't use CHECK_N.
20164         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20165         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
20166         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20167         (__libc_writev): Don't use CHECK_N.
20169 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20171         * string/strcpy.c: Removed unused variable.
20173         * Makeconfig (+sysdep-includes): Define with := rather than =.
20174         Use an existing include/ subdir of each sysdeps dir before it.
20176 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20178         * nscd/connection.c (register_traced_file): Comment function.
20179         [HAVE_INOTIFY] (union __inev): Define.
20180         [HAVE_INOTIFY] (inotify_check_files): New function.
20181         [HAVE_INOTIFY] (clear_db_cache): Likewise.
20182         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20183         clear_db_cache.
20184         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20186 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20188         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20189         loaded if not already and that a failure is permanent.
20191 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20193         [BZ #15006]
20194         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20195         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20197 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20199         [BZ #13550]
20200         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20201         (CHECK_1_NULL_OK): Likewise.
20202         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20203         (__fxstat): Do not use CHECK_1.
20204         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20205         <bp-checks.h>.
20206         (___fxstat64): Do not use CHECK_1.
20207         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20208         <bp-checks.h>.
20209         (__fxstatat): Do not use CHECK_1.
20210         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20211         <bp-checks.h>.
20212         (__fxstatat64): Do not use CHECK_1.
20213         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20214         <bp-checks.h>.
20215         (__fxstat): Do not use CHECK_1.
20216         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20217         <bp-checks.h>.
20218         (__fxstatat): Do not use CHECK_1.
20219         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20220         <bp-checks.h>.
20221         (__getresgid): Do not use CHECK_1.
20222         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20223         <bp-checks.h>.
20224         (__getresuid): Do not use CHECK_1.
20225         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20226         <bp-checks.h>.
20227         (__lxstat): Do not use CHECK_1.
20228         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20229         <bp-checks.h>.
20230         (__old_msgctl): Do not use CHECK_1.
20231         (__new_msgctl): Likewise.
20232         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20233         <bp-checks.h>.
20234         (__new_setrlimit): Do not use CHECK_1.
20235         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20236         <bp-checks.h>.
20237         (__old_shmctl): Do not use CHECK_1.
20238         (__new_shmctl): Likewise.
20239         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20240         <bp-checks.h>.
20241         (__xstat): Do not use CHECK_1.
20242         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20243         (__lxstat): Do not use CHECK_1.
20244         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20245         <bp-checks.h>.
20246         (___lxstat64): Do not use CHECK_1.
20247         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20248         (__old_msgctl): Do not use CHECK_1.
20249         (__new_msgctl): Likewise.
20250         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20251         <bp-checks.h>.
20252         (__gettimeofday): Do not use CHECK_1.
20253         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20254         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20255         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20256         <bp-checks.h>.
20257         (__gettimeofday): Do not use CHECK_1.
20258         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20259         (__old_shmctl): Do not use CHECK_1_NULL_OK.
20260         (__new_shmctl): Do not use CHECK_1.
20261         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20262         <bp-checks.h>.
20263         (do_sigtimedwait): Do not use CHECK_1.
20264         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20265         <bp-checks.h>.
20266         (do_sigwaitinfo): Do not use CHECK_1.
20267         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20268         <bp-checks.h>.
20269         (msgctl): Do not use CHECK_1.
20270         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20271         <bp-checks.h>.
20272         (shmctl): Do not use CHECK_1.
20273         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20274         (ustat): Do not use CHECK_1.
20275         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20276         <bp-checks.h>.
20277         (__fxstat): Do not use CHECK_1.
20278         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20279         <bp-checks.h>.
20280         (__fxstatat): Do not use CHECK_1.
20281         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20282         <bp-checks.h>.
20283         (__lxstat): Do not use CHECK_1.
20284         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20285         <bp-checks.h>.
20286         (__xstat): Do not use CHECK_1.
20287         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20288         (__xstat): Do not use CHECK_1.
20289         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20290         (___xstat64): Do not use CHECK_1.
20292         [BZ #13550]
20293         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20294         definitions.
20295         (CHECK_BOUNDS_HIGH): Likewise.
20296         * string/strcpy.c: Do not include <bp-checks.h>.
20297         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20299 2013-02-07  Roland McGrath  <roland@hack.frob.com>
20301         * nscd/nscd-client.h (__nscd_drop_map_ref):
20302         Add __attribute__ ((unused)).
20303         * nis/nss-nisplus.h (niserr2nss): Likewise.
20305         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20306         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20308         * csu/libc-tls.c (init_static_tls, init_slotinfo):
20309         Remove inline keyword.
20310         * include/rounding-mode.h (round_away): Likewise.
20311         * libio/wfileops.c (adjust_wide_data): Likewise.
20312         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20313         (__m128i_strloadu_tolower): Likewise.
20314         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20315         (__m128i_strloadu_tolower): Likewise.
20316         * time/mktime.c (ydhms_diff): Likewise.
20317         * locale/elem-hash.h (elem_hash): Likewise.
20318         * locale/setlocale.c (setdata): Likewise.
20319         * posix/regex_internal.h (re_string_char_size_at): Likewise.
20320         (re_string_wchar_at): Likewise.
20321         (bitset_not, bitset_merge, bitset_mask): Likewise.
20322         [!(__GNUC__ > 3)] (inline): Remove macro.
20323         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20324         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20325         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20326         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20327         * string/memcmp.c (memcmp_bytes): Likewise.
20328         * locale/programs/locarchive.c (compute_hashval): Likewise.
20329         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20330         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20331         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20332         * nss/getent.c (print_rpc, print_protocols): Likewise.
20333         (print_passwd, print_group, print_aliases): Likewise.
20334         * nis/nss-nisplus.h (niserr2nss): Likewise.
20335         * nscd/connections.c (restart_p): Likewise.
20336         Change return type to bool.
20338 2013-02-05  Roland McGrath  <roland@hack.frob.com>
20340         * Makeconfig (all-Depend-files): Add existing
20341         $(sorted-subdirs:=/Depend) files.
20342         (all-subdirs): Remove nss.
20343         * sysdeps/unix/inet/Subdirs: Add it here instead.
20344         * hesiod/Depend: New file.
20346         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20347         instead of calling alloca.
20349         * io/lseek.c (__lseek): Rename to __libc_lseek.
20350         Define __lseek as an alias.
20352         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20354 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
20356         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20357         else clause and remove check for non-standard endianness.
20359 2013-02-04  David S. Miller  <davem@davemloft.net>
20361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20363 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
20365         [BZ #13550]
20366         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20367         (__ubp_memchr): Remove prototype.
20368         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20369         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20370         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20371         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20372         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20373         Remove alias.
20374         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20375         (__ubp_memchr): Likewise.
20376         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20377         (__ubp_memchr): Likewise.
20378         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20379         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20380         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20381         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20382         CHECK_STRING.
20383         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20384         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20385         (__getcwd): Do not use CHECK_STRING.
20386         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20387         <bp-checks.h>.
20388         (__real_chown): Do not use CHECK_STRING.
20389         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20390         <bp-checks.h>.
20391         (fchownat): Do not use CHECK_STRING.
20392         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20393         CHECK_STRING.
20394         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20395         <bp-checks.h>.
20396         (__lchown): Do not use CHECK_STRING.
20397         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20398         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20399         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20400         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20402         include <bp-checks.h>.
20403         (truncate64): Do not use CHECK_STRING.
20404         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20405         <bp-checks.h>.
20406         (__real_chown): Do not use CHECK_STRING.
20407         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20408         <bp-checks.h>.
20409         (__lchown): Do not use CHECK_STRING.
20410         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20411         <bp-checks.h>.
20412         (__chown): Do not use CHECK_STRING.
20413         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20414         <bp-checks.h>.
20415         (truncate64): Do not use CHECK_STRING.
20416         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20417         Likewise.
20418         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20419         (__xmknod): Do not use CHECK_STRING.
20420         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20421         <bp-checks.h>.
20422         (__xmknodat): Do not use CHECK_STRING.
20423         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20424         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20426 2013-02-04  Andreas Schwab  <schwab@suse.de>
20428         [BZ #14142]
20429         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20430         * include/netdb.h: Likewise for h_errno.
20431         * elf/tst-stackguard1.c: Include <tls.h>.
20433 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
20435         * elf/link.h (struct link_map): Extend the l_addr comment.
20436         * include/link.h (struct link_map): Likewise.
20438 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
20440         [BZ #13550]
20441         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20442         (BOUNDED_1): Remove macro.
20443         * debug/backtrace.c: Don't include <bp-checks.h>.
20444         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20445         (__backtrace): Likewise.
20446         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20447         <bp-checks.h>.
20448         (__backtrace): Don't use BOUNDED_1.
20449         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20450         <bp-checks.h>.
20451         (__backtrace): Don't use BOUNDED_1.
20452         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20453         (__backtrace): Don't use BOUNDED_1.
20454         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20455         (shmat): Don't use BOUNDED_N.
20457 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
20459         [BZ #13550]
20460         * sysdeps/generic/bp-start.h: Remove file.
20461         * csu/libc-start.c: Don't include <bp-start.h>.
20462         (LIBC_START_MAIN): Set up __environ directly instead of using
20463         INIT_ARGV_and_ENVIRON.
20464         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20465         <bp-start.h>.
20467         [BZ #13550]
20468         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20469         definitions.
20470         (CHECK_FCNTL): Likewise.
20471         (CHECK_N_PAGES): Likewise.
20473         [BZ #13550]
20474         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20475         definitions.
20476         (CHECK_SIGSET_NULL_OK): Likewise.
20477         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20478         <bp-checks.h>.
20479         (sigpending): Don't use CHECK_SIGSET.
20480         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20481         <bp-checks.h>.
20482         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20483         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20484         <bp-checks.h>.
20485         (do_sigsuspend): Don't use CHECK_SIGSET.
20486         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20487         use CHECK_SIGSET.
20488         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20489         (do_sigwait): Don't use CHECK_SIGSET.
20490         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20491         use CHECK_SIGSET.
20492         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20493         include <bp-checks.h>.
20494         (sigpending): Don't use CHECK_SIGSET.
20495         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20496         include <bp-checks.h>.
20497         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20498         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20499         <bp-checks.h>.
20500         (sigpending): Don't use CHECK_SIGSET.
20501         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20502         <bp-checks.h>.
20503         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20505         [BZ #13550]
20506         * sysdeps/generic/bp-semctl.h: Remove file.
20507         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20508         <bp-checks.h> and <bp-semctl.h>.
20509         (__old_semctl): Don't use CHECK_SEMCTL.
20510         (__new_semctl): Likewise.
20511         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20512         and <bp-semctl.h>.
20513         (__old_semctl): Don't use CHECK_SEMCTL.
20514         (__new_semctl): Likewise.
20515         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20516         <bp-checks.h> and <bp-semctl.h>.
20517         (__old_semctl): Don't use CHECK_SEMCTL.
20518         (__new_semctl): Likewise.
20519         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20520         <bp-checks.h> and <bp-semctl.h>.
20521         (semctl): Don't use CHECK_SEMCTL.
20523         [BZ #13550]
20524         * Makerules (elide-bp-thunks): Remove variable.
20525         (elide-routines.oS): Don't use $(elide-bp-thunks).
20526         (elide-routines.os): Likewise.
20527         (elide-routines.o): Likewise.
20528         (elide-routines.op): Likewise.
20529         (elide-routines.og): Likewise.
20530         (objects): Don't use $(bp-thunks).
20531         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20532         include.
20533         (common-generated): Do not add s-proto-bp.d.
20534         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20535         (int): Likewise.
20536         (typ): Likewise.
20537         Do not generate makefile rules for bounded-pointer thunks.
20538         * sysdeps/generic/bp-thunks.h: Remove file.
20539         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20540         * sysdeps/unix/s-proto-bp.S: Likewise.
20542         [BZ #15062]
20543         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20544         parts of result separately when argument is not close to line from
20545         -i to i and one part of argument is small.
20546         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20547         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20548         * math/libm-test.inc (cacos_test): Add more tests.
20549         (casin_test): Likewise.
20550         (casinh_test): Likewise.
20551         * sysdeps/i386/fpu/libm-test-ulps: Update.
20552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20554 2013-01-31  David S. Miller  <davem@davemloft.net>
20556         * po/de.po: Update from translation team.
20558 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20560         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20562 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20564         * configure.in (_AC_PROG_CC_C89): New definition.
20565         * configure: Regenerate.
20567         * configure.in (AC_PROG_CPP): New definition.
20568         * configure: Regenerate.
20570 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20572         * debug/tst-backtrace.h: New file.
20573         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20574         (ret): Remove variable.
20575         (x): Likewise.
20576         (FAIL): Remove macro.
20577         (NO_INLINE): Likewise.
20578         (fn1): Use match function instead of strstr.
20579         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20580         (ret): Remove variable.
20581         (x): Likewise.
20582         (FAIL): Remove macro.
20583         (NO_INLINE): Likewise.
20584         (fn): Use match function instead of strstr.
20585         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20586         (ret): Remove variable.
20587         (x): Likewise.
20588         (FAIL): Remove macro.
20589         (NO_INLINE): Likewise.
20590         (handle_signal): Use match function instead of strstr.
20591         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20592         (ret): Remove variable.
20593         (x): Likewise.
20594         (FAIL): Remove macro.
20595         (NO_INLINE): Likewise.
20596         (handle_signal): Use match function instead of strstr.
20598 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20600         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20602 2013-01-23  David S. Miller  <davem@davemloft.net>
20604         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20605         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20606         argument of CAS if possible.
20607         * sysdeps/sparc/sparc64/bits/atomic.h
20608         (__arch_compare_and_exchange_val_32_acq): Likewise.
20609         (__arch_compare_and_exchange_val_64_acq): Likewise.
20611 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20613         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20614         * sysdeps/posix/ulimit.c: ... this.
20615         Include <limits.h>.
20616         * sysdeps/unix/bsd/ulimit.c: Remove file.
20618 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20620         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20621         (LDFLAGS-tst-array5): Likewise.
20623 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20625         [BZ #15036]
20626         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20627         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20628         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20629         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20631 2013-01-21  David S. Miller  <davem@davemloft.net>
20633         * sysdeps/sparc/backtrace.c: New file.
20634         * sysdeps/sparc/sparc32/backtrace.h: New file.
20635         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20636         * sysdeps/sparc/sparc64/backtrace.h: New file.
20637         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20638         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20639         -funwind-tables.
20641 2013-01-21  Andreas Schwab  <schwab@suse.de>
20643         [BZ #15020]
20644         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20645         closed its stdout.
20647 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20650         "mpa2.h".
20651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20653 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20654             Mark Mitchell  <mark@codesourcery.com>
20655             Tom de Vries  <tom@codesourcery.com>
20656             Paul Pluzhnikov  <ppluzhnikov@google.com>
20658         * debug/tst-backtrace2.c: New file.
20659         * debug/tst-backtrace3.c: Likewise.
20660         * debug/tst-backtrace4.c: Likewise.
20661         * debug/tst-backtrace5.c: Likewise.
20662         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20663         (CFLAGS-tst-backtrace3.c): Likewise.
20664         (CFLAGS-tst-backtrace4.c): Likewise.
20665         (CFLAGS-tst-backtrace5.c): Likewise.
20666         (LDFLAGS-tst-backtrace2): Likewise.
20667         (LDFLAGS-tst-backtrace3): Likewise.
20668         (LDFLAGS-tst-backtrace4): Likewise.
20669         (LDFLAGS-tst-backtrace5): Likewise.
20670         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20671         tst-backtrace4 and tst-backtrace5.
20673 2013-01-18  Anton Blanchard  <anton@samba.org>
20674             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20676         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20677         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20678         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20679         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20681         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20682         "+r" and remove output regs list as redundant.  Add explicit inline
20683         asm to specify register of return val to work around compiler codegen
20684         bug.  Remove (int) cast on return value.  Add return type parameter to
20685         use in macro so that this macro does not truncate return value for
20686         64-bit values.
20687         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20688         pass to INTERNAL_VSYSCALL_NCS.
20689         (INLINE_VSYSCALL): Add 'long int' as return type to
20690         INTERNAL_VSYSCALL_NCS macro invocation.
20691         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20692         INTERNAL_VSYSCALL_NCS macro invocation.
20693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20695 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20697         [BZ #14496]
20698         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20699         Fix application of SIMD FP exception mask.
20701         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20702         mp_no from a power of two.
20703         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20704         __mpexp_twomm1.  Use __pow_mp.
20706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20707         multiplication.
20709 2013-01-17  David S. Miller  <davem@davemloft.net>
20711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20713 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20715         [BZ #15023]
20716         * include/complex.h: Condition contents on [!_COMPLEX_H].
20717         (__kernel_casinhf): New prototype.
20718         (__kernel_casinh): Likewise.
20719         (__kernel_casinhl): Likewise.
20720         * math/Makefile (libm_calls): Add k_casinh.
20721         * math/k_casinh.c: New file.
20722         * math/k_casinhf.c: Likewise.
20723         * math/k_casinhl.c: Likewise.
20724         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20725         finite nonzero arguments.
20726         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20727         finite nonzero arguments.
20728         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20729         finite nonzero arguments.
20730         * math/s_casinh.c: Do not include <float.h>.
20731         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20732         * math/s_casinhf.c: Do not include <float.h>.
20733         (__casinhf): Move code for finite nonzero arguments to
20734         k_casinhf.c.
20735         * math/s_casinhl.c: Do not include <float.h>.
20736         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20737         redefine.
20738         (__casinhl): Move code for finite nonzero arguments to
20739         k_casinhl.c.
20740         * math/libm-test.inc (cacos_test): Add more tests.
20741         * sysdeps/i386/fpu/libm-test-ulps: Update.
20742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20744 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20746         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20747         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20748         [!HAVE_MREMAP]: Remove [defined linux] case.
20749         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20751 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20753         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20755 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20757         * elf/elf.h (R_386_SIZE32): New relocation.
20758         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20759         R_386_SIZE32.
20760         (elf_machine_rela): Likewise.
20761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20762         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20764 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20766         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20767         (FP_FAST_FMA): Do not define.
20768         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20769         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20770         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20771         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20772         !_SOFT_FLOAT]: Likewise.
20773         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20774         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20775         value.
20776         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20777         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20778         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20779         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20780         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20781         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20782         file.
20784 2013-01-16  Andreas Schwab  <schwab@suse.de>
20786         [BZ #14327]
20787         * include/stdlib.h (__mktemp): Add declaration.
20788         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20789         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20791 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20793         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20794         definitions.
20795         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20796         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20797         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20798         definitions here.
20799         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20800         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20801         definitions.
20802         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20803         and ONE.
20804         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20805         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20806         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20807         definitions.
20808         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20809         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20810         definitions.
20811         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20813         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20815 2013-01-15  David S. Miller  <davem@davemloft.net>
20817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20818         trunc{,f} to libm-sysdep_routes.
20819         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20821         file.
20822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20824         file.
20825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20826         file.
20827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20829         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20830         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20831         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20832         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20833         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20834         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20837         nearbyint{,f} to libm-sysdep_routes.
20838         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20840         New file.
20841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20842         file.
20843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20844         New file.
20845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20846         file.
20847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20849         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20850         file.
20851         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20852         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20853         file.
20854         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20855         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20856         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20858         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20859         libc_feholdexcept and libc_fesetenv.
20861 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20863         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20865 2013-01-14  David S. Miller  <davem@davemloft.net>
20867         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20868         (SPARC_ASM_VIS2_IFUNC): Likewise.
20869         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20871         use of 'siam' instruction.
20872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20873         Likewise.
20874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20875         Likewise.
20876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20877         Likewise.
20878         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20879         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20883         file.
20884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20885         file.
20886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20887         file.
20888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20889         file.
20890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20891         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20895         new VIS2 routines.
20896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20899         Likewise.
20900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20901         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20905         routines to libm-sysdep_routines.
20906         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20909         fdim/fdimf to libm-sysdep_routines.
20910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20911         file.
20912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20914         file.
20915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20918         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20919         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20920         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20921         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20923 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20925         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20926         to optimize copies.
20928         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20933         local variable MPTWO.
20934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20935         Likewise.
20937 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20939         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20940         GLOB_NOESCAPE.
20942 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20944         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20946 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20948         * manual/pattern.texi (glob_t): Document gl_flags.
20949         (glob64_t): Likewise.
20951 2013-01-11  David S. Miller  <davem@davemloft.net>
20953         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20954         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20955         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
20956         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20957         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20958         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20959         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20960         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20961         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20962         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20963         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20964         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20965         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20967         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20968         sparc V9 rather than using V8 code.
20969         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20970         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20972         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20973         Move to...
20974         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20975         Here.
20977 2013-01-11  Roland McGrath  <roland@hack.frob.com>
20979         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20980         not in the main loop.
20981         * configure: Regenerated.
20983 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
20985         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20986         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20987         to just #else.
20988         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
20989         [!__GLIBC_HAVE_LONG_LONG] case.
20990         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20991         condition to just #else.
20992         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20993         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20994         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20995         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20996         unconditional.
20997         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20998         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20999         #elif condition to just #else.
21000         * sysdeps/unix/sysv/linux/sys/sysmacros.h
21001         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21002         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21003         #elif condition to just #else.
21005 2013-01-11  Steve Ellcey  <sellcey@mips.com>
21007         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21008         (EF_MIPS_ARCH_64): Fix value.
21009         (EF_MIPS_ARCH_32R2): New.
21010         (EF_MIPS_ARCH_64R2): New.
21012 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
21014         * Makeconfig (+link-pie-before-libc): New.
21015         (+link-pie-after-libc): Likewise.
21016         (+link-pie-tests): Likewise.
21017         (+link-pie): Rewritten.
21018         (link-before-libc): Remove $(config-LDFLAGS).
21019         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21020         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21021         (config-LDFLAGS): Renamed to ...
21022         (rtld-LDFLAGS): This.
21023         (rtld-tests-LDFLAGS): New macro.
21024         (link-libc-rpath-link): Likewise.
21025         (link-libc-tests-rpath-link): Likewise.
21026         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21027         (link-libc): Prepand $(link-libc-rpath-link).
21028         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21029         (test-program-prefix): New macro.
21030         (test-via-rtld-prefix): Likewise.
21031         (test-program-cmd): Likewise.
21032         (host-test-program-cmd): Likewise.
21033         * Makefile ($(common-objpfx)testrun.sh): Replace
21034         $(run-program-prefix) with $(test-program-prefix).
21035         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21036         $(rtld-LDFLAGS).
21037         ($(common-objpfx)shlib.lds): Likewise.
21038         (build-module-helper): Likewise.
21039         ($(common-objpfx)format.lds): Likewise.
21040         * Rules (binaries-pie-tests): New.
21041         (binaries-pie-notests): Likewise.
21042         (binaries-pie): Rewritten.
21043         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21044         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21045         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21046         (make-test-out): Replace $(host-built-program-cmd) with
21047         $(host-test-program-cmd).
21048         * config.make.in (build-hardcoded-path-in-tests): New variable.
21049         * configure.in (--enable-hardcoded-path-in-tests): New configure
21050         option.
21051         (hardcoded_path_in_tests): New AC_SUBST.
21052         * configure: Regenerated.
21053         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21054         $(built-program-cmd) with $(test-program-cmd).
21055         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21056         (test_program_cmd): This.
21057         * elf/Makefile ($(objpfx)order.out): Run test with
21058         $(test-program-prefix).
21059         ($(objpfx)order2.out): Likewise.
21060         ($(objpfx)tst-initorder.out): Likewise.
21061         ($(objpfx)tst-initorder2.out): Likewise.
21062         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21063         $(test-program-cmd).
21064         ($(objpfx)tst-array1-static.out): Likewise.
21065         ($(objpfx)tst-array2.out): Likewise.
21066         ($(objpfx)tst-array3.out): Likewise.
21067         ($(objpfx)tst-array4.out): Likewise.
21068         ($(objpfx)tst-array5.out): Likewise.
21069         ($(objpfx)tst-array5-static.out): Likewise.
21070         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21071         $(test-program-cmd).
21072         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21073         $(run-program-prefix) with $(test-program-prefix).
21074         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21075         (test_program_prefix): This.
21076         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21077         $(run-program-prefix) with $(test-program-prefix).
21078         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21079         (test_program_prefix): This.
21080         * iconvdata/tst-tables.sh: Likewise.
21081         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21082         $(run-program-prefix) with $(test-program-prefix).
21083         ($(objpfx)tst-translit.out): Likewise.
21084         ($(objpfx)tst-gettext2.out): Likewise.
21085         ($(objpfx)tst-gettext4.out): Likewise.
21086         ($(objpfx)tst-gettext6.out): Likewise.
21087         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21088         (test_program_prefix): This.
21089         * intl/tst-gettext2.sh: Likewise.
21090         * intl/tst-gettext4.sh  Likewise.
21091         * intl/tst-gettext6.sh: Likewise.
21092         * intl/tst-translit.sh: Likewise.
21093         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21094         with $(test-program-cmd).
21095         * libio/Makefile ($(objpfx)test-freopen.out): Replace
21096         $(run-program-prefix) with $(test-program-prefix).
21097         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21098         (test_program_prefix): This.
21099         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21100         $(run-program-prefix) with $(test-program-prefix).
21101         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21102         (test_program_prefix): This.
21103         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21104         * posix/Makefile ($(objpfx)globtest.out): Replace
21105         $(run-via-rtld-prefix) and $(test-wrapper) with
21106         $(test-program-prefix) and $(test-via-rtld-prefix).
21107         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21108         $(test-program-prefix).
21109         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21110         $(host-test-program-cmd).
21111         (tst-spawn-ARGS): Likewise.
21112         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21113         $(test-program-prefix).
21114         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21115         (test_via_rtld_prefix): This.
21116         (test_wrapper): Renamed to ...
21117         (test_program_prefix): This.
21118         (run_program_prefix): Replaced by test_program_prefix.
21119         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21120         (test_program_prefix): This.
21121         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21122         with $(host-test-program-cmd).
21123         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21124         $(run-program-prefix) with $(test-program-prefix).
21125         ($(objpfx)tst-printf.out): Likewise.
21126         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21127         $(test-program-cmd).
21128         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21129         (test_program_prefix): This.
21130         * stdio-common/tst-unbputc.sh: Likewise.
21131         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21132         $(run-program-prefix) with $(test-program-prefix).
21133         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21134         (test_program_prefix): This.
21135         * string/Makefile ($(objpfx)tst-svc.out):  Replace
21136         $(built-program-cmd) with $(test-program-cmd).
21138 2013-01-11  Andreas Jaeger  <aj@suse.de>
21140         [BZ #15003]
21141         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21142         value. Sync with Linux 3.7.
21144 2013-01-10  David S. Miller  <davem@davemloft.net>
21146         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21147         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21148         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21150 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21152         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21153         never set.
21154         * configure: Regenerated.
21156 2013-01-10  David S. Miller  <davem@davemloft.net>
21158         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21159         sparc V9 rather than using V8 code.
21160         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21161         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21163 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21165         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21166         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21167         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21168         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21169         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21170         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21171         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21172         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21173         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21174         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21175         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21176         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21177         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21178         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21179         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21180         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21181         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21182         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21183         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21184         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21185         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21186         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21187         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21188         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21189         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21190         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21191         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21193 2013-01-10  David S. Miller  <davem@davemloft.net>
21195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21197 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21199         * posix/Makefile (tests-static): New variable.
21200         (tests): Add $(tests-static).
21201         (tst-exec-static-ARGS): New variable.
21202         (tst-spawn-static-ARGS): Likewise.
21203         * posix/tst-exec-static.c: New file.
21204         * posix/tst-spawn-static.c: Likewise.
21205         * posix/tst-exec.c: Support run directly.
21206         * posix/tst-spawn.c: Likewise.
21208 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
21210         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21211         long.
21212         * math/bits/mathcalls.h (llrint): Likewise.
21213         (llround): Likewise.
21214         * stdlib/stdlib.h (struct drand48_data): Likewise.
21215         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21216         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21217         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21218         Likewise.
21219         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21220         Likewise.
21221         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21222         (elf_greg_t): Likewise.
21223         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21224         (__jmp_buf): Likewise.
21225         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21226         definitions.
21227         (llrint): Likewise, for all definitions.
21228         (llrintl): Likewise.
21230         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21231         Remove [__GNUC__] condition.
21232         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21233         condition to just [__USE_ISOC99].
21234         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21236 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21238         [BZ #14200]
21239         * sysdeps/unix/sysv/linux/x86/bits/environments.h
21240         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21241         defined.
21242         (_POSIX_V6_ILP32_OFF32): Likewise.
21243         (_XBS5_ILP32_OFF32): Likewise.
21244         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21245         (__ILP32_OFFBIG_LDFLAGS): Likewise.
21247 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21249         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21252         doubles __mpexp_twomm1.  Adjust usage.
21253         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21254         Remove.
21256 2013-01-10  Andreas Schwab  <schwab@suse.de>
21258         [BZ #14964]
21259         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21260         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21262 2013-01-09  David S. Miller  <davem@davemloft.net>
21264         [BZ #15003]
21265         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21266         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21267         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21268         (TCP_FASTOPEN): Define.
21269         (tcp_repair_opt): New structure.
21270         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21271         enum values.
21272         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21273         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21274         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21275         (tcp_cookie_transactions): New structure.
21277 2013-01-09  Anton Blanchard  <anton@samba.org>
21279         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21280         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21281         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21282         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21284 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
21286         * include/features.h (__USE_ANSI): Remove.
21288 2013-01-09  Roland McGrath  <roland@hack.frob.com>
21290         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21292         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21294 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21296         * sysdeps/s390/fpu/libm-test-ulps: Update.
21298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21300         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21301         (__acr): Likewise.
21302         (__cpy): Likewise.
21303         (norm): Likewise.
21304         (denorm): Likewise.
21305         (__mp_dbl): Likewise.
21306         (__dbl_mp): Likewise.
21307         (add_magnitudes): Likewise.
21308         (sub_magnitudes): Likewise.
21309         (__add): Likewise.
21310         (__sub): Likewise.
21311         (__mul): Likewise.
21312         (__inv): Likewise.
21313         (__dvd): Likewise.
21314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21315         (__acr): Likewise.
21316         (__cpy): Likewise.
21317         (norm): Likewise.
21318         (denorm): Likewise.
21319         (__mp_dbl): Likewise.
21320         (__dbl_mp): Likewise.
21321         (add_magnitudes): Likewise.
21322         (sub_magnitudes): Likewise.
21323         (__add): Likewise.
21324         (__sub): Likewise.
21325         (__mul): Likewise.
21326         (__inv): Likewise.
21327         (__dvd): Likewise.
21328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21329         (__acr): Likewise.
21330         (__cpy): Likewise.
21331         (norm): Likewise.
21332         (denorm): Likewise.
21333         (__mp_dbl): Likewise.
21334         (__dbl_mp): Likewise.
21335         (add_magnitudes): Likewise.
21336         (sub_magnitudes): Likewise.
21337         (__add): Likewise.
21338         (__sub): Likewise.
21339         (__mul): Likewise.
21340         (__inv): Likewise.
21341         (__dvd): Likewise.
21343 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
21345         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21346         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21347         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21348         2 && __USE_EXTERN_INLINES]: Likewise.
21350 2013-01-08  Andreas Jaeger  <aj@suse.de>
21352         [BZ# 14985]
21353         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21354         Remove.
21355         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21356         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21358 2013-01-07  Anton Blanchard  <anton@samba.org>
21360         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21361         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21362         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21363         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21364         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21365         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21366         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21367         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21369         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21370         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21371         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21372         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21373         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21374         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21375         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21376         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21377         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21378         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21379         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21380         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21381         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21382         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21383         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21384         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21385         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21386         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21387         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21388         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21389         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21390         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21392         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21393         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21394         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21395         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21396         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21397         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21398         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21399         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21400         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21401         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21402         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21404 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
21406         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21407         (__MALLOC_PMT): Likewise.
21408         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21409         [__GNUC__], only on [_LIBC].
21410         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21411         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21412         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21413         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21414         forward declaration.
21415         (realloc_hook_ini): Likewise.
21416         (memalign_hook_ini): Likewise.
21417         (__libc_memalign): Do not use __MALLOC_PMT in variable
21418         declaration.
21419         (__libc_valloc): Likewise.
21420         (__libc_pvalloc): Likewise.
21421         (__libc_calloc): Likewise.
21422         (__posix_memalign): Likewise.
21424         [BZ #14996]
21425         * math/s_casinh.c: Include <float.h>.
21426         (__casinh): Do not do computation with squaring and square root
21427         for large arguments.
21428         * math/s_casinhf.c: Include <float.h>.
21429         (__casinhf): Do not do computation with squaring and square root
21430         for large arguments.
21431         * math/s_casinhl.c: Include <float.h>.
21432         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21433         (__casinhl): Do not do computation with squaring and square root
21434         for large arguments.
21435         * math/libm-test.inc (casin_test): Add more tests.
21436         (casinh_test): Likewise.
21437         * sysdeps/i386/fpu/libm-test-ulps: Update.
21438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21440 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
21442         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21443         (__x86_64_raw_data_cache_size): Likewise.
21444         (__x86_64_data_cache_size_half): Likewise.
21445         (__x86_64_raw_data_cache_size_half): Likewise.
21446         (__x86_64_shared_cache_size): Likewise.
21447         (__x86_64_raw_shared_cache_size): Likewise.
21448         (__x86_64_shared_cache_size_half): Likewise.
21449         (__x86_64_raw_shared_cache_size_half): Likewise.
21450         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21451         to ...
21452         (__x86_data_cache_size): This.
21453         (__x86_64_raw_data_cache_size): Renamed to ...
21454         (__x86_raw_data_cache_size): This.
21455         (__x86_64_data_cache_size_half): Renamed to ...
21456         (__x86_data_cache_size_half): This.
21457         (__x86_64_raw_data_cache_size_half): Renamed to ...
21458         (__x86_raw_data_cache_size_half): This.
21459         (__x86_64_shared_cache_size): Renamed to ...
21460         (__x86_shared_cache_size): This.
21461         (__x86_64_raw_shared_cache_size): Renamed to ...
21462         (__x86_raw_shared_cache_size): This.
21463         (__x86_64_shared_cache_size_half): Renamed to ...
21464         (__x86_shared_cache_size_half): This.
21465         (__x86_64_raw_shared_cache_size_half): Renamed to ...
21466         (__x86_raw_shared_cache_size_half): This.
21467         * sysdeps/x86_64/memcpy.S: Updated.
21468         * sysdeps/x86_64/memset.S: Likewise.
21469         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21470         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21471         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21473 2013-01-04  David S. Miller  <davem@davemloft.net>
21475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21477 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
21479         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21480         1 to avoid redefinition warning.
21481         (__USE_GNU): Don't define.
21482         (init_signaling_nan): Protoize.
21484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21486 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21488         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21490         (__cpymn): Likewise.
21491         (norm): Remove commented code.
21492         (denorm): Likewise.
21493         (__mp_dbl): Likewise.
21494         (__inv): Likewise.
21495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21496         (__cpymn): Likewise.
21497         (norm): Remove commented code.
21498         (denorm): Likewise.
21499         (__mp_dbl): Likewise.
21500         (__inv): Likewise.
21502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21503         mp_no value for 1.0 and 2.0.
21504         (norm): Use RADIXI instead of radixi.d.
21505         (denorm): Likewise.
21506         (__mul): Use 0.0 instead of zero.d.
21507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21508         mp_no value for 1.0 and 2.0.
21509         (norm): Use RADIXI instead of radixi.d.
21510         (denorm): Likewise.
21511         (__mul): Use 0.0 instead of zero.d.
21513 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
21515         [BZ #14994]
21516         * math/s_casinh.c (__casinh): Reduce finite argument to first
21517         quadrant then set signs of results at the end.
21518         * math/s_casinhf.c (__casinhf): Likewise.
21519         * math/s_casinhl.c (__casinhl): Likewise.
21520         * math/libm-test.inc (casin_test): Add more tests.
21521         (casinh_test): Likewise.
21522         * sysdeps/i386/fpu/libm-test-ulps: Update.
21523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21525 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21527         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21529         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21531         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21532         declarations.
21533         (denorm): Likewise.
21534         (__mp_dbl): Likewise.
21535         (__inv): Likewise.
21537         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21538         and adjust the header comment.
21540         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21541         variable name from declaration.
21543 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21546         Initialize COMMON_CPUID_INDEX_7 element.
21547         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21548         (CPUID_RTM): Likewise.
21549         (HAS_RTM): Likewise.
21550         (COMMON_CPUID_INDEX_7): New enum.
21552 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21554         [BZ #14981]
21555         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21556         size is zero, record memory as freed.
21558 2013-01-03  Andreas Jaeger  <aj@suse.de>
21560         * po/ia.po: Add new Interlingua translation.
21562 2012-01-03  Allan McRae  <allan@archlinux.org>
21564         * locale/programs/localedef.c: Fix description of '--posix' flag.
21566 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21568         * NEWS: Update dates in second copyright notice.
21569         * README: Update copyright dates in example.
21570         * manual/libc.texinfo: Update copyright dates.
21571         * scripts/test-installation.pl: Update copyright date in --version
21572         output.
21574         * hurd/ctty-input.c: Fix copyright notice formatting.
21575         * hurd/ctty-output.c: Likewise.
21576         * hurd/dtable.c: Likewise.
21577         * hurd/hurd-raise.c: Likewise.
21578         * hurd/hurdprio.c: Likewise.
21579         * hurd/msgportdemux.c: Likewise.
21580         * misc/sys/file.h: Likewise.
21581         * misc/sys/ioctl.h: Likewise.
21582         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21583         * sysdeps/mach/hurd/chdir.c: Likewise.
21584         * sysdeps/mach/hurd/fchdir.c: Likewise.
21585         * sysdeps/mach/hurd/rename.c: Likewise.
21586         * sysdeps/mach/hurd/rmdir.c: Likewise.
21587         * sysdeps/mach/hurd/seekdir.c: Likewise.
21588         * sysdeps/mach/hurd/setsid.c: Likewise.
21589         * sysdeps/posix/wait3.c: Likewise.
21591         * All files with FSF copyright notices: Update copyright dates
21592         using scripts/update-copyrights.
21593         * intl/plural.c: Regenerated.
21594         * locale/programs/charmap-kw.h: Likewise.
21595         * locale/programs/locfile-kw.h: Likewise.
21597 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21599         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21600         four values.
21602         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21603         calculation loop and add branch prediction.
21605         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21606         check access beyond bounds of m1np.
21608         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21609         MPTWO.
21610         (__inv): Remove local variable MPTWO to use the global
21611         constant.
21612         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21613         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21614         variable MPTWO.
21615         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21616         MP3HALFS static const.
21618 2013-01-01  David S. Miller  <davem@davemloft.net>
21620         * po/ca.po: Update from translation team.
21622 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21624         * scripts/update-copyrights: New file.
21625         * Makeconfig: Reformat copyright notice.
21626         * ctype/ctype.h: Likewise.
21627         * debug/swprintf_chk.c: Likewise.
21628         * elf/dl-cache.c: Likewise.
21629         * elf/dl-debug.c: Likewise.
21630         * elf/dl-object.c: Likewise.
21631         * grp/initgroups.c: Likewise.
21632         * hurd/Makefile: Likewise.
21633         * hurd/hurd/signal.h: Likewise.
21634         * hurd/hurdfault.c: Likewise.
21635         * hurd/hurdioctl.c: Likewise.
21636         * hurd/hurdlookup.c: Likewise.
21637         * hurd/intr-msg.c: Likewise.
21638         * iconv/gconv_open.c: Likewise.
21639         * libio/swprintf.c: Likewise.
21640         * locale/lc-ctype.c: Likewise.
21641         * locale/nl_langinfo.c: Likewise.
21642         * mach/Machrules: Likewise.
21643         * mach/Makefile: Likewise.
21644         * malloc/obstack.h: Likewise.
21645         * manual/Makefile: Likewise.
21646         * manual/tsort.awk: Likewise.
21647         * misc/bits/stab.def: Likewise.
21648         * nis/nis_print_group_entry.c: Likewise.
21649         * nis/nis_table.c: Likewise.
21650         * nis/nss_compat/compat-pwd.c: Likewise.
21651         * nis/nss_compat/compat-spwd.c: Likewise.
21652         * po/Makefile: Likewise.
21653         * posix/fnmatch.c: Likewise.
21654         * posix/regex.h: Likewise.
21655         * resolv/Makefile: Likewise.
21656         * resolv/nss_dns/dns-network.c: Likewise.
21657         * resolv/res_hconf.c: Likewise.
21658         * scripts/gen-sorted.awk: Likewise.
21659         * soft-fp/soft-fp.h: Likewise.
21660         * stdio-common/printf.h: Likewise.
21661         * stdlib/monetary.h: Likewise.
21662         * stdlib/random.c: Likewise.
21663         * stdlib/random_r.c: Likewise.
21664         * sysdeps/generic/Makefile: Likewise.
21665         * sysdeps/gnu/Makefile: Likewise.
21666         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21668         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21669         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21670         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21671         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21672         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21673         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21674         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21675         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21676         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21677         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21678         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21679         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21680         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21681         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21682         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21683         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21684         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21685         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21686         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21687         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21688         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21689         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21690         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21691         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21692         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21693         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21694         * sysdeps/mach/hurd/errnos.awk: Likewise.
21695         * sysdeps/mach/hurd/fork.c: Likewise.
21696         * sysdeps/mach/hurd/getcwd.c: Likewise.
21697         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21698         * sysdeps/mach/hurd/mmap.c: Likewise.
21699         * sysdeps/mach/hurd/utimes.c: Likewise.
21700         * sysdeps/mach/hurd/xmknod.c: Likewise.
21701         * sysdeps/posix/profil.c: Likewise.
21702         * sysdeps/posix/readdir_r.c: Likewise.
21703         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21704         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21705         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21706         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21708         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21709         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21710         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21712         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21713         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21714         * sysdeps/pthread/lio_listio.c: Likewise.
21715         * sysdeps/sparc/dl-procinfo.h: Likewise.
21716         * sysdeps/unix/i386/sysdep.S: Likewise.
21717         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21718         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21719         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21720         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21722         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21723         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21724         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21725         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21726         * sysdeps/wordsize-32/divdi3.c: Likewise.
21727         * time/sys/time.h: Likewise.
21728         * wcsmbs/Makefile: Likewise.
21730 2013-01-01  David S. Miller  <davem@davemloft.net>
21732         * po/fr.po: Update from translation team.
21734         * catgets/gencat.c: Update copyright year.
21735         * csu/version.c: Likewise.
21736         * debug/catchsegv.sh: Likewise.
21737         * debug/pcprofiledump.c: Likewise.
21738         * debug/xtrace.sh: Likewise.
21739         * elf/ldconfig.c: Likewise.
21740         * elf/ldd.bash.in: Likewise.
21741         * elf/pldd.c: Likewise.
21742         * elf/sotruss.ksh: Likewise.
21743         * elf/sprof.c: Likewise.
21744         * iconv/iconv_prog.c: Likewise.
21745         * iconv/iconvconfig.c: Likewise.
21746         * locale/programs/locale.c: Likewise.
21747         * locale/programs/localedef.c: Likewise.
21748         * login/programs/pt_chown.c: Likewise.
21749         * malloc/memusage.sh: Likewise.
21750         * malloc/memusagestat.c: Likewise.
21751         * malloc/mtrace.pl: Likewise.
21752         * nscd/nscd.c: Likewise.
21753         * nss/getent.c: Likewise.
21754         * nss/makedb.c: Likewise.
21755         * posix/getconf.c: Likewise.
21757 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21759         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21760         numbers.
21762 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21764         * math/bits/mathcalls.h (modf): Use __nonnull.
21766 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21768         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21769         (split): Use macro CN instead of the bare value.
21770         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21771         could be used.
21772         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21773         instead of the bare value.
21774         (power1): Likewise.
21776 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21778         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21779         __ATAN_TWOM.
21780         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21782         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21783         their values.
21784         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21785         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21786         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21787         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21789 2012-12-28  Andreas Jaeger  <aj@suse.de>
21791         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21792         values are from Linux 3.7.
21794         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21795         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21797 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21799         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21800         TRUE case.
21802         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21803         (norm): Likewise.
21804         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21805         variables with preprocessor constants.
21806         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21807         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21808         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21810 2012-12-27  Bruno Haible  <bruno@clisp.org>
21812         [BZ #14317]
21813         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21814         only if needed.
21816 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21819         and use variable directly.
21820         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21822         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21823         MPONE.
21824         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21825         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21826         variable MPONE.
21827         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21828         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21829         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21830         include directive.  Remove local variable MPONE.
21831         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21832         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21833         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21835 2012-12-25  David S. Miller  <davem@davemloft.net>
21837         * version.h (RELEASE): Set to "development".
21838         (VERSION): Set to "2.17.90".
21839         * NEWS: Add 2.18 section.
21841 2012-12-21  David S. Miller  <davem@davemloft.net>
21843         * po/hr.po: Update from translation team.
21845 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21847         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21849 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21851         * NEWS:  Mention new memcpy for MIPS.
21853 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21855         * manual/contrib.texi (Contributors): Spelling correction.
21857 2012-12-15  David S. Miller  <davem@davemloft.net>
21859         * po/ru.po: Update from translation team.
21861 2012-12-13  David S. Miller  <davem@davemloft.net>
21863         * NEWS: Mention IFUNC testsuite enhancements.
21865         * po/pl.po: Update from translation team.
21866         * po/bg.po: Likewise.
21868         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21869         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21871 2012-12-11  David S. Miller  <davem@davemloft.net>
21873         * po/sv.po: Update from translation team.
21875         * po/vi.po: Update from translation team.
21877         * po/cs.po: Update from translation team.
21879         * po/de.po: Update from translation team.
21880         * po/eo.po: Likewise.
21881         * po/nl.po: Likewise.
21883 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21885         [BZ #14246]
21886         * manual/argp.texi (Argp Helper Functions): Move node to follow
21887         Argp Parsing State.
21889         [BZ #14872]
21890         * manual/conf.texi (Limits on File System Capacity): Mention if
21891         terminating null is included in the max size.
21893 2012-12-10  Andreas Jaeger  <aj@suse.de>
21895         * po/cs.po: Update from translation team.
21897 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21899         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21900         void pointer and cast to uintptr_t.
21901         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21902         path.
21903         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21904         * sysdeps/s390/s390-64/memset.S: Likewise.
21906 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21908         [BZ #14833]
21909         * menual/message.texi (Message Translation): Fix typos.
21910         (Helper programs for gettext): Likewise.
21912 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21914         [BZ #14898]
21915         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21916         Change to -1.
21918 2012-12-07  David S. Miller  <davem@davemloft.net>
21920         * po/libc.pot: Update.
21922 2012-12-07  Richard Henderson  <rth@redhat.com>
21924         [BZ #10114]
21925         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21926         normal/normal case to before the switch.
21927         (_FP_DIV): Likewise.
21929 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21930             Mike Frysinger  <vapier@gentoo.org>
21932         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21933         check for __NR_fadvise64_64.
21935 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
21937         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21938         0, not just to plain "0" as a statement.
21939         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21940         with cw.
21942 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
21944         * NEWS: Use sourceware.org in Bugzilla URL.
21946 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21949         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21951         * stdio-common/tst-put-error.c (do_test): Add newline to the
21952         padded test to ensure flush.
21954 2012-12-05  Jeff Law  <law@redhat.com>
21956         * sunrpc/etc.rpc (fedfs_admin): Add entry.
21958 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
21960         * README: Don't refer to ports add-on as distributed separately.
21961         Mention AArch64 in list of systems supported in the ports add-on.
21963         * LICENSES: Add more non-FSF copyright and license notices.
21965         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21966         ((unused)).
21968         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21970         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21971         10000 as width of padded output.
21973 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21975         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21977         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21978         variable LX with __attribute__ ((unused)).
21979         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21980         Likewise.
21981         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21982         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21983         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21984         with __attribute__ ((unused)).
21986 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
21988         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21990 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21992         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21993         (CFLAGS-nldbl-acos.c): New variable.
21994         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21995         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21996         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21997         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21998         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21999         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22000         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22001         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22002         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22003         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22004         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22005         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22006         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22007         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22008         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22009         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22010         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22011         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22012         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22013         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22014         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22015         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22016         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22017         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22018         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22019         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22020         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22021         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22022         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22023         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22024         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22025         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22026         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22027         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22028         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22029         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22030         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22031         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22032         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22033         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22034         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22035         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22036         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22037         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22038         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22039         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22040         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22041         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22042         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22043         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22044         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22045         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22046         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22047         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22048         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22049         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22050         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22051         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22052         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22053         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22054         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22055         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22056         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22057         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22058         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22059         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22060         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22061         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22062         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22063         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22064         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22065         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22066         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22067         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22068         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22069         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22070         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22071         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22072         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22073         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22074         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22075         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22076         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22077         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22078         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22079         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22080         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22081         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22082         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22083         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22084         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22085         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22086         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22087         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22088         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22089         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22090         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22093         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22095         [BZ #14914]
22096         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22097         whole low double instead of just low 47 bits when splitting values
22098         into two parts.
22100 2012-12-03  Allan McRae  <allan@archlinux.org>
22102         * manual/stdio.texi (Predefined Printf Handlers): Remove
22103         @hsep and @vsep usage.
22105 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
22107         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22108         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22110 2012-12-03  Jeff Law  <law@redhat.com>
22112         * time/sys/time.h (settimeofday): Do not mark TV argument
22113         as __nonnull.
22115 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
22117         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22118         when currently writing and seek to current position when not.
22119         * libio/Makefile (tests): Remove bug-fclose1.
22120         * libio/bug-fclose1.c: Delete.
22122 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
22124         * manual/arith.texi (feenableexcept): Fix typo.
22125         (fedisableexcept): Likewise.
22127 2012-11-30  Roland McGrath  <roland@hack.frob.com>
22129         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22130         second, differently-typed declaration, rather than a cast.
22132 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22134         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22135         * include/rpc/svc.h: ... here.
22137 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
22139         [BZ #13013]
22140         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22141         depending n and resplen2 to catch cases where answer
22142         equals answerp2.
22144 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
22146         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22147         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22149 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
22151         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22153 2012-11-29  Roland McGrath  <roland@hack.frob.com>
22155         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22157 2012-11-28  Jeff Law  <law@redhat.com>
22159         [BZ #13761]
22160         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22161         dataset_temporary.  Track alloca usage into alloca_used.
22162         If dataset is large allocate and release it via malloc/free.
22164 2012-06-04  Florian Weimer  <fweimer@redhat.com>
22166         [BZ #14197]
22167         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22169 2012-11-28  David S. Miller  <davem@davemloft.net>
22171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22173 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22175         [BZ #14803]
22176         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22177         of pi/2 rounded to nearest to 64 bits.
22178         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22179         nearest to 64 bits.
22180         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22181         bits.
22183 2012-11-28  Jeff Law <law@redhat.com>
22184             Martin Osvald <mosvald@redhat.com>
22186         [BZ #14889]
22187         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22188         * sunrpc/svc.c: Include time.h.
22189         (__svc_accept_failed): New function.
22190         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22191         any reason other than EINTR, call __svc_accept_failed.
22192         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22193         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22195 2012-11-28  Andreas Schwab  <schwab@suse.de>
22197         * scripts/abilist.awk: Also handle indirect functions in .opd
22198         section.
22200 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22202         [BZ #13881]
22203         * sysdeps/x86/fpu/powl_helper.c: New file.
22204         * sysdeps/x86/fpu/Makefile: Likewise.
22205         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22206         (p3): New object.
22207         (__ieee754_powl): Use __powl_helper for finite arguments except
22208         integer exponents below 8.
22209         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22210         (p3): New object.
22211         (__ieee754_powl): Use __powl_helper for finite arguments except
22212         integer exponents below 8.
22213         * math/libm-test.inc (pow_test): Add more tests and enable some
22214         previously disabled tests.
22215         * sysdeps/i386/fpu/libm-test-ulps: Update.
22216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22218 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22219             Carlos O'Donell  <carlos_odonell@mentor.com>
22221         * nss/makedb.c (is_prime): Assert that input is odd and greater
22222         than 4.  Note that fact in a comment too.
22223         (next_prime): Add 4 to input.
22225 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22227         [BZ #11741]
22228         * libio/Makefile (tests): Add test case tst-fwrite-error.
22229         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22230         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22231         * libio/tst-fwrite-error.c: New test case.
22233 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
22235         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22236         before casting to void *.
22237         * include/libc-internal.h (__pointer_type): New macro.
22238         (__integer_if_pointer_type_sub): Likewise.
22239         (__integer_if_pointer_type): Likewise.
22240         (cast_to_integer): Likewise.
22241         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22242         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22243         before casting to atomic64_t.
22244         (atomic_exchange_acq): Likewise.
22245         (__arch_exchange_and_add_body): Likewise.
22246         (__arch_add_body): Likewise.
22247         (atomic_add_negative): Likewise.
22248         (atomic_add_zero): Likewise.
22250 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
22252         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22253         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22254         (add_fdes): Likewise.
22255         (linear_search_fdes): Likewise.
22256         (binary_search_unencoded_fdes): Likewise.
22258 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
22260         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22262 2012-11-24  Adam Conrad  <adconrad@0c3.net>
22264         * configure.in: Autodetect C++ header directories.
22265         * configure: Regenerated.
22267 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
22269         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22271 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
22273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22275 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
22277         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22278         LDBL_MANT_DIG == 106]: Disable some tests.
22279         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22280         Likewise.
22281         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22282         Likewise.
22284         [BZ #14871]
22285         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22286         input for small inputs.  Return +/- pi/2 for large inputs.
22287         * math/libm-test.inc (atan_test): Add more tests.
22289         * sysdeps/generic/unwind-dw2-fde-glibc.c
22290         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22291         __attribute__ ((unused)).
22293         [BZ #14645]
22294         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22295         x * y if x and y are nonzero and z is zero.
22297         [BZ #14811]
22298         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22299         nonzero exponents with absolute value below 0x1p-117 to +/-
22300         0x1p-117.
22302         [BZ #14869]
22303         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22304         up arguments below 2**-450, not just those below 2**-500.
22305         * math/libm-test.inc (hypot_test): Add another test.
22307         [BZ #14868]
22308         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22309         Return a+b for ratio over 2**120, not 2**60.
22310         * math/libm-test.inc (hypot_test): Add another test.
22312         * math/libm-test.inc (clog_test): Use
22313         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22314         (clog10_test): Likewise.
22316         [BZ #6778]
22317         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22319 2012-11-22  Andreas Schwab  <schwab@suse.de>
22321         * sysdeps/i386/fpu/libm-test-ulps: Update.
22323 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
22325         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22326         printf output with newline.
22328 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
22330         [BZ #14865]
22331         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22332         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22333         -z nodlopen, -z initfirst and -z execstack support.
22334         * configure: Regenerated.
22336         * elf/elf.h (DF_1_NODIRECT): New macro.
22337         (DF_1_IGNMULDEF): Likewise.
22338         (DF_1_NOKSYMS): Likewise.
22339         (DF_1_NOHDR): Likewise.
22340         (DF_1_EDITED): Likewise.
22341         (DF_1_NORELOC): Likewise.
22342         (DF_1_SYMINTPOSE): Likewise.
22343         (DF_1_GLOBAUDIT): Likewise.
22344         (DF_1_SINGLETON): Likewise.
22345         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22346         DT_1_SUPPORTED_MASK bits.
22347         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22349 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
22351         * sysdeps/unix/make-syscalls.sh: Document prefixes.
22353 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
22355         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22356         macro.
22358         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22359         (sendmmsg): Move declarations...
22360         * socket/sys/socket.h: ... here.
22361         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22362         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22363         include it from...
22364         * socket/recvmmsg.c: ... this new file.
22365         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22366         (sendmmsg): Rename to __sendmmsg, create weak alias and make
22367         definition of __sendmmsg hidden.
22368         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22369         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22370         Move ENOSYS stub into and include it from...
22371         * socket/sendmmsg.c: ... this new file.
22372         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22373         (sysdep_routines): Move recvmmsg and sendmmsg...
22374         * socket/Makefile (routines): ... here.
22375         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22376         (GLIBC_PRIVATE): Add __sendmmsg.
22377         * include/sys/socket.h (__sendmmsg): Add declarations.
22378         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22379         sendmmsg.
22381 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
22383         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22384         variable I1 with __attribute__ ((unused)).
22385         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22387 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22389         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22390         DUMMY variables with __attribute__ ((unused)).
22392         * bits/byteswap.h: Include <bits/types.h>.
22393         (__bswap_64): Use __uint64_t instead of unsigned long long int.
22395 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22397         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22398         string_t.  Do not manually set errno.
22399         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22400         length with __strnlen.  Make sure to both set errno and return it on
22401         failure.
22403 2012-11-19  David S. Miller  <davem@davemloft.net>
22405         With help from Joseph Myers.
22406         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22407         very large arguments properly.
22408         * math/libm-test.inc (atan_test): New tests.
22409         (atan2_test): New tests.
22410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22413 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22415         [BZ #14856]
22416         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22417         Define to 3.
22419         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22420         [POSIX] (EADDRNOTAVAIL): Likewise.
22421         [POSIX] (EAFNOSUPPORT): Likewise.
22422         [POSIX] (EALREADY): Likewise.
22423         [POSIX] (ECONNABORTED): Likewise.
22424         [POSIX] (ECONNREFUSED): Likewise.
22425         [POSIX] (ECONNRESET): Likewise.
22426         [POSIX] (EDESTADDRREQ): Likewise.
22427         [POSIX] (EDQUOT): Likewise.
22428         [POSIX] (EHOSTUNREACH): Likewise.
22429         [POSIX] (EIDRM): Likewise.
22430         [POSIX] (EISCONN): Likewise.
22431         [POSIX] (ELOOP): Likewise.
22432         [POSIX] (EMULTIHOP): Likewise.
22433         [POSIX] (ENETDOWN): Likewise.
22434         [POSIX] (ENETUNREACH): Likewise.
22435         [POSIX] (ENOBUFS): Likewise.
22436         [POSIX] (ENODATA): Likewise.
22437         [POSIX] (ENOLINK): Likewise.
22438         [POSIX] (ENOMSG): Likewise.
22439         [POSIX] (ENOPROTOOPT): Likewise.
22440         [POSIX] (ENOSR): Likewise.
22441         [POSIX] (ENOSTR): Likewise.
22442         [POSIX] (ENOTCONN): Likewise.
22443         [POSIX] (ENOTSOCK): Likewise.
22444         [POSIX] (EOPNOTSUPP): Likewise.
22445         [POSIX] (EOVERFLOW): Likewise.
22446         [POSIX] (EPROTO): Likewise.
22447         [POSIX] (EPROTONOSUPPORT): Likewise.
22448         [POSIX] (EPROTOTYPE): Likewise.
22449         [POSIX] (ESTALE): Likewise.
22450         [POSIX] (ETIME): Likewise.
22451         [POSIX] (ETXTBSY): Likewise.
22452         [POSIX] (EWOULDBLOCK): Likewise.
22453         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22454         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22455         [POSIX] (SEEK_CUR): Likewise.
22456         [POSIX] (SEEK_END): Likewise.
22457         [POSIX || UNIX98] (mode_t): Do not require.
22458         [POSIX] (off_t): Likewise.
22459         [POSIX] (pid_t): Likewise.
22460         [POSIX] (sys/stat.h): Do not allow header.
22461         [POSIX] (unistd.h): Likewise.
22462         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22463         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22464         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22465         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22466         require.
22467         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22468         sigevent): Specify elements.
22469         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22470         entry.
22471         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22472         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22474         * conform/data/cpio.h-data [POSIX]: Disable whole file.
22475         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22476         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22477         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22478         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22479         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22480         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22481         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22482         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22483         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22484         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22485         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22486         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22487         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22488         Likewise.
22489         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22490         Likewise.
22491         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22492         Likewise.
22493         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22494         Likewise.
22495         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22496         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22497         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22498         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22499         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22500         Specify lower bound on value.
22501         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22502         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22503         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22504         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22505         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22506         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22507         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22508         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22509         value.
22510         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22511         as optional.
22512         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22513         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22514         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22515         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22516         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22517         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22518         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22519         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22520         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22521         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22522         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22523         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22524         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22525         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22526         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22527         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22528         entry.
22529         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22530         optional.
22531         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22532         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22533         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22534         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22535         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22536         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22537         Likewise.
22538         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22539         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22540         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22541         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22542         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22543         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22544         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22545         as optional.
22546         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22547         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22548         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22549         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22550         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22551         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22552         specify as optional.
22553         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22554         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22555         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22556         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22557         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22558         [XPG3] (NL_LANGMAX): Likewise.
22559         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22560         [POSIX || XPG3] (NL_NMAX): Likewise.
22561         [POSIX || XPG3] (NL_SETMAX): Likewise.
22562         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22563         [XPG3] (NZERO): Likewise.
22564         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22565         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22566         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22567         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22568         (REG_ERANGE): Expect.
22569         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22570         optional-constant.
22571         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22572         Use (void) in prototype.
22573         [POSIX] (*_t): Allow.
22574         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22575         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22576         (WRDE_BADVAL): Expect.
22578         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22579         expect.
22580         [XPG3 || XPG4] (O_RSYNC): Likewise.
22581         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22582         Likewise.
22583         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22584         [XPG3 || XPG4] (sigqueue): Likewise.
22585         [XPG3 || XPG4] (sigtimedwait): Likewise.
22586         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22587         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22588         [XPG3 || XPG4] (vsnprintf): Likewise.
22589         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22590         Likewise.
22591         [XPG3 || XPG4] (blksize_t): Likewise.
22592         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22593         Likewise.
22594         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22595         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22596         [XPG3 || XPG4] (struct itimerspec): Likewise.
22597         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22598         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22599         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22600         [XPG3 || XPG4] (clockid_t): Likewise.
22601         [XPG3 || XPG4] (timer_t): Likewise.
22602         [XPG3 || XPG4] (clock_getres): Likewise.
22603         [XPG3 || XPG4] (clock_gettime): Likewise.
22604         [XPG3 || XPG4] (clock_settime): Likewise.
22605         [XPG3 || XPG4] (nanosleep): Likewise.
22606         [XPG3 || XPG4] (timer_create): Likewise.
22607         [XPG3 || XPG4] (timer_delete): Likewise.
22608         [XPG3 || XPG4] (timer_gettime): Likewise.
22609         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22610         [XPG3 || XPG4] (timer_settime): Likewise.
22611         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22612         [XPG3 || XPG4] (getlogin_r): Likewise.
22613         [XPG3 || XPG4] (pread): Likewise.
22614         [XPG3 || XPG4] (pthread_atfork): Likewise.
22615         [XPG3 || XPG4] (pwrite): Likewise.
22617         [BZ #14835]
22618         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22619         <bits/siginfo.h>.
22621 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22623         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22624         finalizing MALLSTREAM.
22626         * sysdeps/mach/hurd/syncfs.c: New file.
22628 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22630         [BZ #14719]
22631         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22632         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22633         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22634         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22635         (_nss_dns_gethostbyname4_r): Likewise.
22636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22637         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22639 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22641         [BZ #13763]
22642         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22644 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22646         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22647         * elf/cache.c (print_entry): Print ",AArch64" for
22648         FLAG_AARCH64_LIB64
22650         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22651         * elf/cache.c (print_entry): Print ",hard-float" for
22652         FLAG_ARM_LIBHF.
22654 2012-11-18  David S. Miller  <davem@davemloft.net>
22656         With help from Joseph Myers.
22657         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22658         cutoff to 2**-13.
22659         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22660         cutoff to 2**-25.
22661         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22662         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22663         small.
22664         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22665         * math/libm-test.inc (y0_test): New tests.
22666         (y1_test): New tests.
22667         * sysdeps/i386/fpu/libm-test-ulps: Update.
22668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22671 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22673         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22674         64-bit targets.
22675         * configure: Regenerated.
22677 2012-11-17  David S. Miller  <davem@davemloft.net>
22679         [BZ #14811]
22680         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22681         nonzero exponents with absolute value below 0x1p-128 to +/-
22682         0x1p-128.
22684 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22686         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22688         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22690         * posix/getconf-speclist.c: New file.
22691         * posix/posix-envs.def: Likewise.
22692         * posix/confstr.c (START_ENV_GROUP): New macro.
22693         (END_ENV_GROUP): Likewise.
22694         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22695         (KNOWN_PRESENT_ENV_STRING): Likewise.
22696         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22697         (UNKNOWN_ENVIRONMENT): Likewise.
22698         (confstr): Include posix-envs.def instead of handling
22699         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22700         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22701         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22702         (END_ENV_GROUP): Likewise.
22703         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22704         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22705         (UNKNOWN_ENVIRONMENT): Likewise.
22706         (__sysconf): Include posix-envs.def instead of handling associated
22707         cases directly here.
22708         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22709         preprocessing getconf-speclist.c rather than running getconf or
22710         generating empty file.
22712 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22714         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22716 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22718         [BZ #14672]
22719         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22721 2012-11-16  David S. Miller  <davem@davemloft.net>
22723         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22724         smaller than LDBL_EPSILON/2.0L, just return xm1.
22726 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22728         * elf/tst-array1.c (init): Set constructor priority to 1000.
22729         (fini): Set destructor priority to 1000.
22730         * elf/tst-array2dep.c: Likewise.
22732 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22734         [BZ #11741]
22735         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22736         (_IO_new_file_xsputn): Also return EOF if none of the input
22737         data was written when overflow failed.
22738         * libio/iopadn.c (_IO_padn): Likewise.
22739         * libio/iowpadn.c (_IO_wpadn): Likewise.
22740         * stdio-common/tst-put-error.c: Add copyright notice.
22741         (do_test): Add case for printing padded string.
22742         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22743         _IO_padn returned error.
22744         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22745         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22746         return EOF.
22748 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22750         * libio/libioP.h: Add comment note that the references to C++
22751         bits are now obsolete.
22753 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22755         * math/libm-test.inc (check_complex): Use asprintf.
22757 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22759         * debug/pcprofiledump.c (print_version): Update copyright year.
22760         * malloc/memusagestat.c (print_version): Likewise.
22762 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22764         [BZ #14831]
22765         * elf/Makefile (tests): Add tst-audit8.
22766         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22767         ($(objpfx)tst-audit8.out): New target.
22768         (tst-audit8-ENV): New variable.
22769         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22770         audit if l_reloc_result is NULL.
22771         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22772         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22773         * elf/tst-audit8.c: New file.
22775 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22777         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22778         * misc/Makefile (CFLAGS-select.c): Define.
22779         * posix/Makefile (CFLAGS-pause.c): Define.
22781 2012-11-13  David S. Miller  <davem@davemloft.net>
22783         * crypt/Makefile: Move test targets after toplevel Rules
22784         inclusion.  Grab any necessary sysdep routines when linking.
22785         * crypt/md5.c (md5_process_block): Remove define, we will always
22786         name it __md5_process_block.
22787         (md5_finish_ctx): Update md5_process_block call.
22788         (md5_stream): Likewise.
22789         (md5_process_bytes): Likewise.
22790         (md5_process_block): Rename to __md5_process_block and move to ...
22791         * crypt/md5-block.c: ... here.
22792         * crypt/sha256.c (sha256_process_block): Move to ...
22793         * crypt/sha256-block.c: ... here.
22794         * crypt/sha512.c (sha512_process_block): Move to ...
22795         * crypt/sha512-block.c: ... here.
22796         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22797         path.
22798         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22799         * sysdeps/sparc/sparc64/multiarch/Makefile
22800         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22801         crypt subdir.
22802         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22803         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22804         multiarch changes.
22805         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22806         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22807         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22808         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22809         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22810         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22811         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22812         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22813         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22814         file.
22815         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22816         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22817         file.
22818         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22820 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22822         * timezone/tzselect.ksh: Update from tzcode git revision
22823         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22824         * timezone/zdump.c: Likewise.
22825         * timezone/zic.c: Likewise.
22826         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22827         in TZVERSION setting, not $(PKGVERSION).
22828         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22829         REPORT_BUGS_TO settings.
22831         [BZ #14838]
22832         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22833         macro.
22835 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22837         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22838         detection to immediately after _FP_ROUND().
22839         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22840         bits are 0.
22842 2012-11-11  David S. Miller  <davem@davemloft.net>
22844         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22845         inttypes.h
22846         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22847         __close rather than their public counterparts.
22849 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22851         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22852         file.
22853         [UNIX98] (sem_timedwait): Do not expect.
22854         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22855         [XPG4 || UNIX98] (sockatmark): Do not expect.
22856         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22857         (clock_getcpuclockid): Do not expect.
22858         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22859         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22860         Do not expect.
22861         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22862         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22863         [UNIX98] (vwscanf): Likewise.
22864         [UNIX98] (vswscanf): Likewise.
22866 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22868         * timezone/version.h: Remove file.
22869         * timezone/README: Do not refer to version.h.
22870         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22871         $(objpfx)version.h.
22872         ($(objpfx)zdump.o): Likewise.
22873         ($(objpfx)version.h): New target.
22875         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22876         2012i.
22877         * timezone/README: Don't mention modification to tzselect.ksh.
22878         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22879         work on unmodified tzselect.ksh.  Substitute version numbers in
22880         tzselect.ksh.
22882         * Makefile (format-me): Remove.
22883         (INSTALL): Adjust indentation.  Use commands directly instead of
22884         using $(format-me).
22886         * aclocal.m4 (ACX_PKGVERSION): New macro.
22887         (ACX_BUGURL): Likewise.
22888         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22889         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22890         (REPORT_BUGS_TO): Likewise.
22891         * configure: Regenerated.
22892         * config.h.in (PKGVERSION): New macro.
22893         (REPORT_BUGS_TO): Likewise.
22894         * config.make.in (PKGVERSION): New variable.
22895         (PKGVERSION_TEXI): Likewise.
22896         (REPORT_BUGS_TO): Likewise.
22897         (REPORT_BUGS_TEXI): Likewise.
22898         * Makefile (format-me): Use -I$(common-objpfx)manual.
22899         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22900         ($(common-objpfx)manual/%): New target.
22901         (manual/%): Remove target.
22902         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22903         (print_version): Use PKGVERSION.
22904         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22905         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22906         and REPORT_BUGS_TO.
22907         ($(objpfx)xtrace): Likewise.
22908         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22909         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22910         (print_version): Use PKGVERSION.
22911         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22912         (do_version): Use PKGVERSION.
22913         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22914         REPORT_BUGS_TO.
22915         (common-ldd-rewrite): Likewise.
22916         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22917         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22918         (print_version): Use PKGVERSION.
22919         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22920         * elf/pldd.c (argp_program_bug_address): Remove variable.
22921         (more_help): New function.
22922         (argp): Use more_help.
22923         (print_version): Use PKGVERSION.
22924         * elf/sln.c (main): Use PKGVERSION.
22925         (usage): Use REPORT_BUGS_TO.
22926         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22927         (top level): Use PKGVERSION.
22928         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22929         (print_version): Use PKGVERSION.
22930         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22931         (print_version): Use PKGVERSION.
22932         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22933         (print_version): Use PKGVERSION.
22934         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22935         (print_version): Use PKGVERSION.
22936         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22937         (print_version): Use PKGVERSION.
22938         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22939         (print_version): Use PKGVERSION.
22940         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22941         and BUGURL.
22942         ($(objpfx)memusage): Likewise.
22943         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22944         (do_version): Use PKGVERSION.
22945         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22946         (print_version): Use PKGVERSION.
22947         * malloc/mtrace.pl ($PACKAGE): Remove variable.
22948         ($PKGVERSION): New variable.
22949         ($REPORT_BUGS_TO): Likewise.
22950         (usage): Use $REPORT_BUGS_TO.
22951         (top level): Use $PKGVERSION.
22952         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22953         ($(objpfx)pkgvers.texi): New rule.
22954         ($(objpfx)stamp-pkgvers): Likewise.
22955         * manual/install.texi: Include pkgvers.texi.
22956         (--with-pkgversion): Document new configure option.
22957         (--with-bugurl): Likewise.
22958         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22959         than necessarily for this particular distribution.  Use
22960         REPORT_BUGS_TO for where to report bugs.
22961         * INSTALL: Regenerated.
22962         * manual/libc.texinfo: Include pkgvers.texi.
22963         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22964         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22965         (print_version): Use PKGVERSION.
22966         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22967         (print_version): Use PKGVERSION.
22968         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22969         (print_version): Use PKGVERSION.
22970         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22971         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22972         macro.
22973         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22974         (print_version): Use PKGVERSION.
22975         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22976         (print_version): Use PKGVERSION.
22977         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22978         and PKGVERSION.
22980         * timezone/checktab.awk: Update from tzcode 2012i.
22981         * timezone/ialloc.c: Likewise.
22982         * timezone/private.h: Likewise.
22983         * timezone/scheck.c: Likewise.
22984         * timezone/tzfile.h: Likewise.
22985         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22986         (TZVERSION): Hardcode tzcode version number.
22987         * timezone/zdump.c: Update from tzcode 2012i.
22988         * timezone/zic.c: Likewise.
22989         * timezone/version.h: New file.
22990         * timezone/README: Describe version.h.  Update upstream location.
22992         [BZ #14824]
22993         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22994         (mktemp): Enable declaration.
22995         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22997         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22999         Likewise.
23000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23001         Likewise.
23002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23003         Likewise.
23004         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23005         Likewise.
23006         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23007         Likewise.
23008         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23009         Likewise.
23011         [BZ #14821]
23012         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23013         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
23014         for copies of such integer values.
23015         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23016         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23018 2012-11-09  Andreas Jaeger  <aj@suse.de>
23020         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23021         definitions and declarations that are provided by
23022         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23024 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23026         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23027         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23028         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23029         definition.
23031 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23033         * elf/elf.h: Update comment before AArch64 relocations.
23035 2012-11-07  David S. Miller  <davem@davemloft.net>
23037         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23038         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23039         (__start_context): Declare.
23040         (__makecontext_ret): Delete.
23041         (__makecontext): Hook up __start_context instead of
23042         __makecontext_ret.
23043         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23044         (sysdep_routines): Add __start_context when in stdlib.
23046 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23048         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23049         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23050         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
23051         hardcoded "nm".
23052         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
23053         (READELF): New variable.  Use it instead of hardcoded "readelf".
23055 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23057         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23058         * sysdeps/x86/Makefile: Here.
23059         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23060         * sysdeps/x86/tst-xmmymm.sh: This.
23062 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23064         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23065         expectations.
23066         [UNIX98] (pthread_barrier_t): Do not expect.
23067         [UNIX98] (pthread_barrierattr_t): Likewise.
23068         [UNIX98] (pthread_spinlock_t): Likewise.
23069         [UNIX98] (pthread_barrier_destroy): Likewise.
23070         [UNIX98] (pthread_barrier_init): Likewise.
23071         [UNIX98] (pthread_barrier_wait): Likewise.
23072         [UNIX98] (pthread_barrierattr_destroy): Likewise.
23073         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23074         [UNIX98] (pthread_barrierattr_init): Likewise.
23075         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23076         [UNIX98] (pthread_getcpuclockid): Likewise.
23077         [UNIX98] (pthread_mutex_timedlock): Likewise.
23078         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23079         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23080         [UNIX98] (pthread_sigmask): Likewise.
23081         [UNIX98] (pthread_spin_destroy): Likewise.
23082         [UNIX98] (pthread_spin_init): Likewise.
23083         [UNIX98] (pthread_spin_lock): Likewise.
23084         [UNIX98] (pthread_spin_trylock): Likewise.
23085         [UNIX98] (pthread_spin_unlock): Likewise.
23086         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23087         Do not expect.
23088         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23089         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23090         [XPG3 || XPG4] (pthread_cond_t): Likewise.
23091         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23092         [XPG3 || XPG4] (pthread_key_t): Likewise.
23093         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23094         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23095         [XPG3 || XPG4] (pthread_once_t): Likewise.
23096         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23097         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23098         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23099         [XPG3 || XPG4] (pthread_t): Likewise.
23101         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23102         not expect.
23103         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23105         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23106         Change function return type to int.
23108         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23109         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23110         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23111         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23112         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23113         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23114         [!POSIX] (posix_madvise): Likewise.
23115         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23116         && !UNIX98].
23117         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23118         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23119         (mode_t): Likewise.
23120         (posix_mem_offset): Likewise.
23121         (posix_typed_mem_get_info): Likewise.
23122         (posix_typed_mem_open): Likewise.
23124         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23125         Change condition to [XOPEN2K8].
23127         * conform/conformtest.pl: Preprocess allow-header data with -x c
23128         instead of from stdin.
23129         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23130         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23131         [C99-based standards] (cerfc): Likewise.
23132         [C99-based standards] (cexp2): Likewise.
23133         [C99-based standards] (cexpm1): Likewise.
23134         [C99-based standards] (clog10): Likewise.
23135         [C99-based standards] (clog1p): Likewise.
23136         [C99-based standards] (clog2): Likewise.
23137         [C99-based standards] (clgamma): Likewise.
23138         [C99-based standards] (ctgamma): Likewise.
23139         [C99-based standards] (cerff): Likewise.
23140         [C99-based standards] (cerfcf): Likewise.
23141         [C99-based standards] (cexp2f): Likewise.
23142         [C99-based standards] (cexpm1f): Likewise.
23143         [C99-based standards] (clog10f): Likewise.
23144         [C99-based standards] (clog1pf): Likewise.
23145         [C99-based standards] (clog2f): Likewise.
23146         [C99-based standards] (clgammaf): Likewise.
23147         [C99-based standards] (ctgammaf): Likewise.
23148         [C99-based standards] (cerfl): Likewise.
23149         [C99-based standards] (cerfcl): Likewise.
23150         [C99-based standards] (cexp2l): Likewise.
23151         [C99-based standards] (cexpm1l): Likewise.
23152         [C99-based standards] (clog10l): Likewise.
23153         [C99-based standards] (clog1pl): Likewise.
23154         [C99-based standards] (clog2l): Likewise.
23155         [C99-based standards] (clgammal): Likewise.
23156         [C99-based standards] (ctgammal): Likewise.
23157         * conform/data/inttypes.h-data [C99-based standards]: Include
23158         stdint.h-data.  Remove all expectations for stdint.h contents.
23159         [C99-based standards] (PRI*): Do not allow.
23160         [C99-based standards] (SCN*): Likewise.
23161         [C99-based standards] (*_t): Likewise.
23162         [C99-based-standards] (PRId8): Expect macro.
23163         [C99-based-standards] (PRIi8): Likewise.
23164         [C99-based-standards] (PRIo8): Likewise.
23165         [C99-based-standards] (PRIu8): Likewise.
23166         [C99-based-standards] (PRIx8): Likewise.
23167         [C99-based-standards] (PRIX8): Likewise.
23168         [C99-based-standards] (SCNd8): Likewise.
23169         [C99-based-standards] (SCNi8): Likewise.
23170         [C99-based-standards] (SCNo8): Likewise.
23171         [C99-based-standards] (SCNu8): Likewise.
23172         [C99-based-standards] (SCNx8): Likewise.
23173         [C99-based-standards] (PRIdLEAST8): Likewise.
23174         [C99-based-standards] (PRIiLEAST8): Likewise.
23175         [C99-based-standards] (PRIoLEAST8): Likewise.
23176         [C99-based-standards] (PRIuLEAST8): Likewise.
23177         [C99-based-standards] (PRIxLEAST8): Likewise.
23178         [C99-based-standards] (PRIXLEAST8): Likewise.
23179         [C99-based-standards] (SCNdLEAST8): Likewise.
23180         [C99-based-standards] (SCNiLEAST8): Likewise.
23181         [C99-based-standards] (SCNoLEAST8): Likewise.
23182         [C99-based-standards] (SCNuLEAST8): Likewise.
23183         [C99-based-standards] (SCNxLEAST8): Likewise.
23184         [C99-based-standards] (PRIdFAST8): Likewise.
23185         [C99-based-standards] (PRIiFAST8): Likewise.
23186         [C99-based-standards] (PRIoFAST8): Likewise.
23187         [C99-based-standards] (PRIuFAST8): Likewise.
23188         [C99-based-standards] (PRIxFAST8): Likewise.
23189         [C99-based-standards] (PRIXFAST8): Likewise.
23190         [C99-based-standards] (SCNdFAST8): Likewise.
23191         [C99-based-standards] (SCNiFAST8): Likewise.
23192         [C99-based-standards] (SCNoFAST8): Likewise.
23193         [C99-based-standards] (SCNuFAST8): Likewise.
23194         [C99-based-standards] (SCNxFAST8): Likewise.
23195         [C99-based-standards] (PRId16): Likewise.
23196         [C99-based-standards] (PRIi16): Likewise.
23197         [C99-based-standards] (PRIo16): Likewise.
23198         [C99-based-standards] (PRIu16): Likewise.
23199         [C99-based-standards] (PRIx16): Likewise.
23200         [C99-based-standards] (PRIX16): Likewise.
23201         [C99-based-standards] (SCNd16): Likewise.
23202         [C99-based-standards] (SCNi16): Likewise.
23203         [C99-based-standards] (SCNo16): Likewise.
23204         [C99-based-standards] (SCNu16): Likewise.
23205         [C99-based-standards] (SCNx16): Likewise.
23206         [C99-based-standards] (PRIdLEAST16): Likewise.
23207         [C99-based-standards] (PRIiLEAST16): Likewise.
23208         [C99-based-standards] (PRIoLEAST16): Likewise.
23209         [C99-based-standards] (PRIuLEAST16): Likewise.
23210         [C99-based-standards] (PRIxLEAST16): Likewise.
23211         [C99-based-standards] (PRIXLEAST16): Likewise.
23212         [C99-based-standards] (SCNdLEAST16): Likewise.
23213         [C99-based-standards] (SCNiLEAST16): Likewise.
23214         [C99-based-standards] (SCNoLEAST16): Likewise.
23215         [C99-based-standards] (SCNuLEAST16): Likewise.
23216         [C99-based-standards] (SCNxLEAST16): Likewise.
23217         [C99-based-standards] (PRIdFAST16): Likewise.
23218         [C99-based-standards] (PRIiFAST16): Likewise.
23219         [C99-based-standards] (PRIoFAST16): Likewise.
23220         [C99-based-standards] (PRIuFAST16): Likewise.
23221         [C99-based-standards] (PRIxFAST16): Likewise.
23222         [C99-based-standards] (PRIXFAST16): Likewise.
23223         [C99-based-standards] (SCNdFAST16): Likewise.
23224         [C99-based-standards] (SCNiFAST16): Likewise.
23225         [C99-based-standards] (SCNoFAST16): Likewise.
23226         [C99-based-standards] (SCNuFAST16): Likewise.
23227         [C99-based-standards] (SCNxFAST16): Likewise.
23228         [C99-based-standards] (PRId32): Likewise.
23229         [C99-based-standards] (PRIi32): Likewise.
23230         [C99-based-standards] (PRIo32): Likewise.
23231         [C99-based-standards] (PRIu32): Likewise.
23232         [C99-based-standards] (PRIx32): Likewise.
23233         [C99-based-standards] (PRIX32): Likewise.
23234         [C99-based-standards] (SCNd32): Likewise.
23235         [C99-based-standards] (SCNi32): Likewise.
23236         [C99-based-standards] (SCNo32): Likewise.
23237         [C99-based-standards] (SCNu32): Likewise.
23238         [C99-based-standards] (SCNx32): Likewise.
23239         [C99-based-standards] (PRIdLEAST32): Likewise.
23240         [C99-based-standards] (PRIiLEAST32): Likewise.
23241         [C99-based-standards] (PRIoLEAST32): Likewise.
23242         [C99-based-standards] (PRIuLEAST32): Likewise.
23243         [C99-based-standards] (PRIxLEAST32): Likewise.
23244         [C99-based-standards] (PRIXLEAST32): Likewise.
23245         [C99-based-standards] (SCNdLEAST32): Likewise.
23246         [C99-based-standards] (SCNiLEAST32): Likewise.
23247         [C99-based-standards] (SCNoLEAST32): Likewise.
23248         [C99-based-standards] (SCNuLEAST32): Likewise.
23249         [C99-based-standards] (SCNxLEAST32): Likewise.
23250         [C99-based-standards] (PRIdFAST32): Likewise.
23251         [C99-based-standards] (PRIiFAST32): Likewise.
23252         [C99-based-standards] (PRIoFAST32): Likewise.
23253         [C99-based-standards] (PRIuFAST32): Likewise.
23254         [C99-based-standards] (PRIxFAST32): Likewise.
23255         [C99-based-standards] (PRIXFAST32): Likewise.
23256         [C99-based-standards] (SCNdFAST32): Likewise.
23257         [C99-based-standards] (SCNiFAST32): Likewise.
23258         [C99-based-standards] (SCNoFAST32): Likewise.
23259         [C99-based-standards] (SCNuFAST32): Likewise.
23260         [C99-based-standards] (SCNxFAST32): Likewise.
23261         [C99-based-standards] (PRId64): Likewise.
23262         [C99-based-standards] (PRIi64): Likewise.
23263         [C99-based-standards] (PRIo64): Likewise.
23264         [C99-based-standards] (PRIu64): Likewise.
23265         [C99-based-standards] (PRIx64): Likewise.
23266         [C99-based-standards] (PRIX64): Likewise.
23267         [C99-based-standards] (SCNd64): Likewise.
23268         [C99-based-standards] (SCNi64): Likewise.
23269         [C99-based-standards] (SCNo64): Likewise.
23270         [C99-based-standards] (SCNu64): Likewise.
23271         [C99-based-standards] (SCNx64): Likewise.
23272         [C99-based-standards] (PRIdLEAST64): Likewise.
23273         [C99-based-standards] (PRIiLEAST64): Likewise.
23274         [C99-based-standards] (PRIoLEAST64): Likewise.
23275         [C99-based-standards] (PRIuLEAST64): Likewise.
23276         [C99-based-standards] (PRIxLEAST64): Likewise.
23277         [C99-based-standards] (PRIXLEAST64): Likewise.
23278         [C99-based-standards] (SCNdLEAST64): Likewise.
23279         [C99-based-standards] (SCNiLEAST64): Likewise.
23280         [C99-based-standards] (SCNoLEAST64): Likewise.
23281         [C99-based-standards] (SCNuLEAST64): Likewise.
23282         [C99-based-standards] (SCNxLEAST64): Likewise.
23283         [C99-based-standards] (PRIdFAST64): Likewise.
23284         [C99-based-standards] (PRIiFAST64): Likewise.
23285         [C99-based-standards] (PRIoFAST64): Likewise.
23286         [C99-based-standards] (PRIuFAST64): Likewise.
23287         [C99-based-standards] (PRIxFAST64): Likewise.
23288         [C99-based-standards] (PRIXFAST64): Likewise.
23289         [C99-based-standards] (SCNdFAST64): Likewise.
23290         [C99-based-standards] (SCNiFAST64): Likewise.
23291         [C99-based-standards] (SCNoFAST64): Likewise.
23292         [C99-based-standards] (SCNuFAST64): Likewise.
23293         [C99-based-standards] (SCNxFAST64): Likewise.
23294         [C99-based-standards] (PRIdMAX): Likewise.
23295         [C99-based-standards] (PRIiMAX): Likewise.
23296         [C99-based-standards] (PRIoMAX): Likewise.
23297         [C99-based-standards] (PRIuMAX): Likewise.
23298         [C99-based-standards] (PRIxMAX): Likewise.
23299         [C99-based-standards] (PRIXMAX): Likewise.
23300         [C99-based-standards] (SCNdMAX): Likewise.
23301         [C99-based-standards] (SCNiMAX): Likewise.
23302         [C99-based-standards] (SCNoMAX): Likewise.
23303         [C99-based-standards] (SCNuMAX): Likewise.
23304         [C99-based-standards] (SCNxMAX): Likewise.
23305         [C99-based-standards] (PRIdPTR): Likewise.
23306         [C99-based-standards] (PRIiPTR): Likewise.
23307         [C99-based-standards] (PRIoPTR): Likewise.
23308         [C99-based-standards] (PRIuPTR): Likewise.
23309         [C99-based-standards] (PRIxPTR): Likewise.
23310         [C99-based-standards] (PRIXPTR): Likewise.
23311         [C99-based-standards] (SCNdPTR): Likewise.
23312         [C99-based-standards] (SCNiPTR): Likewise.
23313         [C99-based-standards] (SCNoPTR): Likewise.
23314         [C99-based-standards] (SCNuPTR): Likewise.
23315         [C99-based-standards] (SCNxPTR): Likewise.
23316         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23317         allow.
23318         * conform/data/stdint.h-data: Update comments to clarify
23319         requirements.
23320         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
23321         type.
23322         [C99-based standards] (INT8_MAX): Likewise.
23323         [C99-based standards] (INT16_MIN): Likewise.
23324         [C99-based standards] (INT16_MAX): Likewise.
23325         [C99-based standards] (INT32_MIN): Likewise.
23326         [C99-based standards] (INT32_MAX): Likewise.
23327         [C99-based standards] (INT64_MIN): Likewise.
23328         [C99-based standards] (INT64_MAX): Likewise.
23329         [C99-based standards] (UINT8_MAX): Likewise.
23330         [C99-based standards] (UINT16_MAX): Likewise.
23331         [C99-based standards] (UINT32_MAX): Likewise.
23332         [C99-based standards] (UINT64_MAX): Likewise.
23333         [C99-based standards] (INT_LEAST8_MIN): Likewise.
23334         [C99-based standards] (INT_LEAST8_MAX): Likewise.
23335         [C99-based standards] (INT_LEAST16_MIN): Likewise.
23336         [C99-based standards] (INT_LEAST16_MAX): Likewise.
23337         [C99-based standards] (INT_LEAST32_MIN): Likewise.
23338         [C99-based standards] (INT_LEAST32_MAX): Likewise.
23339         [C99-based standards] (INT_LEAST64_MIN): Likewise.
23340         [C99-based standards] (INT_LEAST64_MAX): Likewise.
23341         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23342         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23343         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23344         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23345         [C99-based standards] (INT_FAST8_MIN): Likewise.
23346         [C99-based standards] (INT_FAST8_MAX): Likewise.
23347         [C99-based standards] (INT_FAST16_MIN): Likewise.
23348         [C99-based standards] (INT_FAST16_MAX): Likewise.
23349         [C99-based standards] (INT_FAST32_MIN): Likewise.
23350         [C99-based standards] (INT_FAST32_MAX): Likewise.
23351         [C99-based standards] (INT_FAST64_MIN): Likewise.
23352         [C99-based standards] (INT_FAST64_MAX): Likewise.
23353         [C99-based standards] (UINT_FAST8_MAX): Likewise.
23354         [C99-based standards] (UINT_FAST16_MAX): Likewise.
23355         [C99-based standards] (UINT_FAST32_MAX): Likewise.
23356         [C99-based standards] (UINT_FAST64_MAX): Likewise.
23357         [C99-based standards] (INTPTR_MIN): Likewise.
23358         [C99-based standards] (INTPTR_MAX): Likewise.
23359         [C99-based standards] (UINTPTR_MAX): Likewise.
23360         [C99-based standards] (INTMAX_MIN): Likewise.
23361         [C99-based standards] (INTMAX_MAX): Likewise.
23362         [C99-based standards] (UINTMAX_MAX): Likewise.
23363         [C99-based standards] (PTRDIFF_MIN): Likewise.
23364         [C99-based standards] (PTRDIFF_MAX): Likewise.
23365         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23366         [C99-based standards] (SIZE_MAX): Likewise.
23367         [C99-based standards] (WCHAR_MAX): Likewise.
23368         [C99-based standards] (WINT_MAX): Likewise.
23369         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
23370         constraint on value.
23371         [C99-based standards] (WCHAR_MIN): Likewise.
23372         [C99-based standards] (WINT_MIN): Likewise.
23373         [C99-based standards] (*_t): Allow.
23374         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23375         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23376         Include math.h-data and complex.h-data.  Remove all expectations
23377         of math.h and complex.h contents.
23378         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23379         at end of line.
23380         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23381         (struct tm): Expect tag.
23382         [C99-based-standards] (wcstof): Expect function.
23383         [C99-based-standards] (wcstold): Likewise.
23384         [C99-based-standards] (wcstoll): Likewise.
23385         [C99-based-standards] (wcstoull): Likewise.
23386         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23387         macro-int-constant.  Specify type.
23388         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
23389         constraint on value.
23390         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23391         Specify type.
23392         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23393         Specify value.
23394         [ISO C standards]: Do not allow headers.
23395         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23396         wcs[abcdefghijklmnopqrstuvwxyz]*.
23397         [ISO C standards] (*_t): Do not allow.
23398         * conform/data/wctype.h-data [C99-based standards] (iswblank):
23399         Expect function.
23400         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23401         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23402         Specify type.
23403         [ISO C standards]: Do not allow headers.
23404         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23405         is[abcdefghijklmnopqrstuvwxyz]*.
23406         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23407         to[abcdefghijklmnopqrstuvwxyz]*.
23408         [ISO C standards] (*_t): Do not allow.
23409         * conform/data/stdalign.h-data: New file.
23410         * conform/data/stdbool.h-data: Likewise.
23411         * conform/data/stdnoreturn.h-data: Likewise.
23413 2012-11-07  Roland McGrath  <roland@hack.frob.com>
23415         [BZ #14815]
23416         * manual/filesys.texi (Directory Entries): Typo fix.
23417         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23419 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23421         * elf/elf.h (EM_AARCH64): New macro.
23422         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23423         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23424         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23425         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23426         (R_AARCH64_TLSDESC): Likewise.
23427         (NT_ARM_TLS): Likewise.
23428         (NT_ARM_HW_BREAK): Likewise.
23429         (NT_ARM_HW_WATCH): Likewise.
23431 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23433         [BZ #14811]
23434         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23435         (__ieee754_powl): Saturate nonzero exponents with absolute value
23436         below 0x1p-79 to +/- 0x1p-79.
23437         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23438         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23439         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23440         nonzero exponents with absolute value below 0x1p-32 to +/-
23441         0x1p-32.
23442         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23443         (__ieee754_powl): Saturate nonzero exponents with absolute value
23444         below 0x1p-79 to +/- 0x1p-79.
23445         * math/libm-test.inc (pow_test): Add more tests.
23447 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23449         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23450         _dl_s390_cap_flags with kernel. Increase string length.
23451         (_dl_s390_platforms): Add z196 and zEC12.
23453 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23455         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23456         Change XOPEN21K to XOPEN2K.
23458 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
23460         * string/memmove.c: Use memcpy when possible.
23462 2012-11-06  Andreas Jaeger  <aj@suse.de>
23464         * po/eo.po: Update from translation team.
23466 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
23468         [BZ #14793]
23469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23470         exponent and small x and y exponents, scale x or y up.  Increase
23471         by 2 the exponent used in scaling up.
23472         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23473         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23474         * math/libm-test.inc (fma_test): Add more tests.
23475         (fma_test_towardzero): Likewise.
23476         (fma_test_downward): Likewise.
23477         (fma_test_upward): Likewise.
23479 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
23481         [BZ #14805]
23482         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23483         fenv_t *.
23485         [BZ #14801]
23486         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23487         namespace for names of struct fields.
23488         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23489         fenv_t fields.
23490         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23491         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23493 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23495         [BZ #3665]
23496         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23498 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23500         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23501         PTR_DEMANGLE.
23503         [BZ #5246]
23504         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23505         PTR_DEMANGLE.
23507 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
23509         [BZ #14797]
23510         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23511         definitely overflow as x * y not x * y + z.
23512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23513         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23514         * math/libm-test.inc (fma_test): Add more tests.
23515         (fma_test_towardzero): Likewise.
23516         (fma_test_downward): Likewise.
23517         (fma_test_upward): Likewise.
23519 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23521         [BZ #157]
23523         * include/stub-tag.h: Remove file.
23524         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23525         '#include' of it.
23526         * manual/maint.texi (Porting): Don't reference it.
23527         * Makerules ($(objpfx)stubs): Likewise.
23528         * dirent/closedir.c: Don't include <stub-tag.h>.
23529         * dirent/dirfd.c: Likewise.
23530         * dirent/fdopendir.c: Likewise.
23531         * dirent/getdents.c: Likewise.
23532         * dirent/getdents64.c: Likewise.
23533         * dirent/opendir.c: Likewise.
23534         * dirent/readdir.c: Likewise.
23535         * dirent/readdir64.c: Likewise.
23536         * dirent/readdir64_r.c: Likewise.
23537         * dirent/readdir_r.c: Likewise.
23538         * dirent/rewinddir.c: Likewise.
23539         * dirent/seekdir.c: Likewise.
23540         * dirent/telldir.c: Likewise.
23541         * gmon/profil.c: Likewise.
23542         * grp/setgroups.c: Likewise.
23543         * inet/if_index.c: Likewise.
23544         * io/access.c: Likewise.
23545         * io/chdir.c: Likewise.
23546         * io/chmod.c: Likewise.
23547         * io/chown.c: Likewise.
23548         * io/close.c: Likewise.
23549         * io/dup.c: Likewise.
23550         * io/dup2.c: Likewise.
23551         * io/dup3.c: Likewise.
23552         * io/euidaccess.c: Likewise.
23553         * io/faccessat.c: Likewise.
23554         * io/fchdir.c: Likewise.
23555         * io/fchmod.c: Likewise.
23556         * io/fchmodat.c: Likewise.
23557         * io/fchown.c: Likewise.
23558         * io/fchownat.c: Likewise.
23559         * io/fcntl.c: Likewise.
23560         * io/flock.c: Likewise.
23561         * io/fstatfs.c: Likewise.
23562         * io/fstatfs64.c: Likewise.
23563         * io/fstatvfs.c: Likewise.
23564         * io/fstatvfs64.c: Likewise.
23565         * io/futimens.c: Likewise.
23566         * io/fxstat.c: Likewise.
23567         * io/fxstat64.c: Likewise.
23568         * io/fxstatat.c: Likewise.
23569         * io/fxstatat64.c: Likewise.
23570         * io/getcwd.c: Likewise.
23571         * io/isatty.c: Likewise.
23572         * io/lchmod.c: Likewise.
23573         * io/lchown.c: Likewise.
23574         * io/link.c: Likewise.
23575         * io/linkat.c: Likewise.
23576         * io/lseek.c: Likewise.
23577         * io/lseek64.c: Likewise.
23578         * io/lxstat64.c: Likewise.
23579         * io/mkdir.c: Likewise.
23580         * io/mkdirat.c: Likewise.
23581         * io/mkfifo.c: Likewise.
23582         * io/mkfifoat.c: Likewise.
23583         * io/open.c: Likewise.
23584         * io/open64.c: Likewise.
23585         * io/openat.c: Likewise.
23586         * io/openat64.c: Likewise.
23587         * io/pipe.c: Likewise.
23588         * io/pipe2.c: Likewise.
23589         * io/poll.c: Likewise.
23590         * io/posix_fadvise.c: Likewise.
23591         * io/posix_fadvise64.c: Likewise.
23592         * io/posix_fallocate.c: Likewise.
23593         * io/posix_fallocate64.c: Likewise.
23594         * io/read.c: Likewise.
23595         * io/readlink.c: Likewise.
23596         * io/readlinkat.c: Likewise.
23597         * io/rmdir.c: Likewise.
23598         * io/sendfile.c: Likewise.
23599         * io/sendfile64.c: Likewise.
23600         * io/statfs.c: Likewise.
23601         * io/statfs64.c: Likewise.
23602         * io/statvfs.c: Likewise.
23603         * io/statvfs64.c: Likewise.
23604         * io/symlink.c: Likewise.
23605         * io/symlinkat.c: Likewise.
23606         * io/ttyname.c: Likewise.
23607         * io/ttyname_r.c: Likewise.
23608         * io/umask.c: Likewise.
23609         * io/unlink.c: Likewise.
23610         * io/unlinkat.c: Likewise.
23611         * io/utime.c: Likewise.
23612         * io/utimensat.c: Likewise.
23613         * io/write.c: Likewise.
23614         * io/xmknod.c: Likewise.
23615         * io/xmknodat.c: Likewise.
23616         * io/xstat.c: Likewise.
23617         * io/xstat64.c: Likewise.
23618         * login/getpt.c: Likewise.
23619         * login/grantpt.c: Likewise.
23620         * login/unlockpt.c: Likewise.
23621         * math/e_acoshl.c: Likewise.
23622         * math/e_acosl.c: Likewise.
23623         * math/e_asinl.c: Likewise.
23624         * math/e_atan2l.c: Likewise.
23625         * math/e_atanhl.c: Likewise.
23626         * math/e_coshl.c: Likewise.
23627         * math/e_expl.c: Likewise.
23628         * math/e_fmodl.c: Likewise.
23629         * math/e_gammal_r.c: Likewise.
23630         * math/e_hypotl.c: Likewise.
23631         * math/e_j0l.c: Likewise.
23632         * math/e_j1l.c: Likewise.
23633         * math/e_jnl.c: Likewise.
23634         * math/e_lgammal_r.c: Likewise.
23635         * math/e_log10l.c: Likewise.
23636         * math/e_log2l.c: Likewise.
23637         * math/e_logl.c: Likewise.
23638         * math/e_powl.c: Likewise.
23639         * math/e_rem_pio2l.c: Likewise.
23640         * math/e_sinhl.c: Likewise.
23641         * math/e_sqrtl.c: Likewise.
23642         * math/fclrexcpt.c: Likewise.
23643         * math/fedisblxcpt.c: Likewise.
23644         * math/feenablxcpt.c: Likewise.
23645         * math/fegetenv.c: Likewise.
23646         * math/fegetexcept.c: Likewise.
23647         * math/fegetround.c: Likewise.
23648         * math/feholdexcpt.c: Likewise.
23649         * math/fesetenv.c: Likewise.
23650         * math/fesetround.c: Likewise.
23651         * math/feupdateenv.c: Likewise.
23652         * math/fgetexcptflg.c: Likewise.
23653         * math/fraiseexcpt.c: Likewise.
23654         * math/fsetexcptflg.c: Likewise.
23655         * math/ftestexcept.c: Likewise.
23656         * math/k_cosl.c: Likewise.
23657         * math/k_rem_pio2l.c: Likewise.
23658         * math/k_sinl.c: Likewise.
23659         * math/k_tanl.c: Likewise.
23660         * math/s_asinhl.c: Likewise.
23661         * math/s_atanl.c: Likewise.
23662         * math/s_cbrtl.c: Likewise.
23663         * math/s_erfl.c: Likewise.
23664         * math/s_expm1l.c: Likewise.
23665         * math/s_log1pl.c: Likewise.
23666         * math/s_tanhl.c: Likewise.
23667         * misc/acct.c: Likewise.
23668         * misc/brk.c: Likewise.
23669         * misc/chflags.c: Likewise.
23670         * misc/chroot.c: Likewise.
23671         * misc/fchflags.c: Likewise.
23672         * misc/fgetxattr.c: Likewise.
23673         * misc/flistxattr.c: Likewise.
23674         * misc/fremovexattr.c: Likewise.
23675         * misc/fsetxattr.c: Likewise.
23676         * misc/fsync.c: Likewise.
23677         * misc/ftruncate.c: Likewise.
23678         * misc/futimes.c: Likewise.
23679         * misc/futimesat.c: Likewise.
23680         * misc/getdomain.c: Likewise.
23681         * misc/getdtsz.c: Likewise.
23682         * misc/gethostid.c: Likewise.
23683         * misc/gethostname.c: Likewise.
23684         * misc/getloadavg.c: Likewise.
23685         * misc/getpagesize.c: Likewise.
23686         * misc/getsysstats.c: Likewise.
23687         * misc/getxattr.c: Likewise.
23688         * misc/gtty.c: Likewise.
23689         * misc/ioctl.c: Likewise.
23690         * misc/lgetxattr.c: Likewise.
23691         * misc/listxattr.c: Likewise.
23692         * misc/llistxattr.c: Likewise.
23693         * misc/lremovexattr.c: Likewise.
23694         * misc/lsetxattr.c: Likewise.
23695         * misc/lutimes.c: Likewise.
23696         * misc/madvise.c: Likewise.
23697         * misc/mincore.c: Likewise.
23698         * misc/mlock.c: Likewise.
23699         * misc/mlockall.c: Likewise.
23700         * misc/mmap.c: Likewise.
23701         * misc/mprotect.c: Likewise.
23702         * misc/msync.c: Likewise.
23703         * misc/munlock.c: Likewise.
23704         * misc/munlockall.c: Likewise.
23705         * misc/munmap.c: Likewise.
23706         * misc/preadv.c: Likewise.
23707         * misc/preadv64.c: Likewise.
23708         * misc/ptrace.c: Likewise.
23709         * misc/pwritev.c: Likewise.
23710         * misc/pwritev64.c: Likewise.
23711         * misc/readv.c: Likewise.
23712         * misc/reboot.c: Likewise.
23713         * misc/remap_file_pages.c: Likewise.
23714         * misc/removexattr.c: Likewise.
23715         * misc/revoke.c: Likewise.
23716         * misc/select.c: Likewise.
23717         * misc/setdomain.c: Likewise.
23718         * misc/setegid.c: Likewise.
23719         * misc/seteuid.c: Likewise.
23720         * misc/sethostid.c: Likewise.
23721         * misc/sethostname.c: Likewise.
23722         * misc/setregid.c: Likewise.
23723         * misc/setreuid.c: Likewise.
23724         * misc/setxattr.c: Likewise.
23725         * misc/sstk.c: Likewise.
23726         * misc/stty.c: Likewise.
23727         * misc/swapoff.c: Likewise.
23728         * misc/swapon.c: Likewise.
23729         * misc/sync.c: Likewise.
23730         * misc/syncfs.c: Likewise.
23731         * misc/syscall.c: Likewise.
23732         * misc/truncate.c: Likewise.
23733         * misc/ualarm.c: Likewise.
23734         * misc/usleep.c: Likewise.
23735         * misc/ustat.c: Likewise.
23736         * misc/utimes.c: Likewise.
23737         * misc/vhangup.c: Likewise.
23738         * misc/writev.c: Likewise.
23739         * posix/_exit.c: Likewise.
23740         * posix/alarm.c: Likewise.
23741         * posix/execve.c: Likewise.
23742         * posix/fexecve.c: Likewise.
23743         * posix/fork.c: Likewise.
23744         * posix/fpathconf.c: Likewise.
23745         * posix/getaddrinfo.c: Likewise.
23746         * posix/getegid.c: Likewise.
23747         * posix/geteuid.c: Likewise.
23748         * posix/getgid.c: Likewise.
23749         * posix/getgroups.c: Likewise.
23750         * posix/getlogin.c: Likewise.
23751         * posix/getlogin_r.c: Likewise.
23752         * posix/getpgid.c: Likewise.
23753         * posix/getpid.c: Likewise.
23754         * posix/getppid.c: Likewise.
23755         * posix/getresgid.c: Likewise.
23756         * posix/getresuid.c: Likewise.
23757         * posix/getsid.c: Likewise.
23758         * posix/getuid.c: Likewise.
23759         * posix/glob64.c: Likewise.
23760         * posix/nanosleep.c: Likewise.
23761         * posix/pathconf.c: Likewise.
23762         * posix/pause.c: Likewise.
23763         * posix/posix_madvise.c: Likewise.
23764         * posix/pread.c: Likewise.
23765         * posix/pread64.c: Likewise.
23766         * posix/pwrite.c: Likewise.
23767         * posix/pwrite64.c: Likewise.
23768         * posix/sched_getaffinity.c: Likewise.
23769         * posix/sched_getp.c: Likewise.
23770         * posix/sched_gets.c: Likewise.
23771         * posix/sched_primax.c: Likewise.
23772         * posix/sched_primin.c: Likewise.
23773         * posix/sched_rr_gi.c: Likewise.
23774         * posix/sched_setaffinity.c: Likewise.
23775         * posix/sched_setp.c: Likewise.
23776         * posix/sched_sets.c: Likewise.
23777         * posix/sched_yield.c: Likewise.
23778         * posix/setgid.c: Likewise.
23779         * posix/setlogin.c: Likewise.
23780         * posix/setpgid.c: Likewise.
23781         * posix/setresgid.c: Likewise.
23782         * posix/setresuid.c: Likewise.
23783         * posix/setsid.c: Likewise.
23784         * posix/setuid.c: Likewise.
23785         * posix/sleep.c: Likewise.
23786         * posix/spawni.c: Likewise.
23787         * posix/sysconf.c: Likewise.
23788         * posix/times.c: Likewise.
23789         * posix/wait.c: Likewise.
23790         * posix/wait3.c: Likewise.
23791         * posix/wait4.c: Likewise.
23792         * posix/waitpid.c: Likewise.
23793         * resolv/gai_sigqueue.c: Likewise.
23794         * resource/getpriority.c: Likewise.
23795         * resource/getrlimit.c: Likewise.
23796         * resource/getrusage.c: Likewise.
23797         * resource/nice.c: Likewise.
23798         * resource/setpriority.c: Likewise.
23799         * resource/setrlimit.c: Likewise.
23800         * resource/ulimit.c: Likewise.
23801         * rt/aio_cancel.c: Likewise.
23802         * rt/aio_fsync.c: Likewise.
23803         * rt/aio_read.c: Likewise.
23804         * rt/aio_sigqueue.c: Likewise.
23805         * rt/aio_suspend.c: Likewise.
23806         * rt/aio_write.c: Likewise.
23807         * rt/clock_getres.c: Likewise.
23808         * rt/clock_gettime.c: Likewise.
23809         * rt/clock_nanosleep.c: Likewise.
23810         * rt/clock_settime.c: Likewise.
23811         * rt/lio_listio.c: Likewise.
23812         * rt/mq_close.c: Likewise.
23813         * rt/mq_getattr.c: Likewise.
23814         * rt/mq_notify.c: Likewise.
23815         * rt/mq_open.c: Likewise.
23816         * rt/mq_receive.c: Likewise.
23817         * rt/mq_send.c: Likewise.
23818         * rt/mq_setattr.c: Likewise.
23819         * rt/mq_timedreceive.c: Likewise.
23820         * rt/mq_timedsend.c: Likewise.
23821         * rt/mq_unlink.c: Likewise.
23822         * rt/shm_open.c: Likewise.
23823         * rt/shm_unlink.c: Likewise.
23824         * rt/timer_create.c: Likewise.
23825         * rt/timer_delete.c: Likewise.
23826         * rt/timer_getoverr.c: Likewise.
23827         * rt/timer_gettime.c: Likewise.
23828         * rt/timer_settime.c: Likewise.
23829         * setjmp/__longjmp.c: Likewise.
23830         * setjmp/setjmp.c: Likewise.
23831         * signal/kill.c: Likewise.
23832         * signal/killpg.c: Likewise.
23833         * signal/raise.c: Likewise.
23834         * signal/sigaction.c: Likewise.
23835         * signal/sigaltstack.c: Likewise.
23836         * signal/sigblock.c: Likewise.
23837         * signal/sigignore.c: Likewise.
23838         * signal/sigintr.c: Likewise.
23839         * signal/signal.c: Likewise.
23840         * signal/sigpause.c: Likewise.
23841         * signal/sigpending.c: Likewise.
23842         * signal/sigqueue.c: Likewise.
23843         * signal/sigreturn.c: Likewise.
23844         * signal/sigset.c: Likewise.
23845         * signal/sigsetmask.c: Likewise.
23846         * signal/sigstack.c: Likewise.
23847         * signal/sigsuspend.c: Likewise.
23848         * signal/sigtimedwait.c: Likewise.
23849         * signal/sigvec.c: Likewise.
23850         * signal/sigwait.c: Likewise.
23851         * signal/sigwaitinfo.c: Likewise.
23852         * signal/sysv_signal.c: Likewise.
23853         * socket/accept.c: Likewise.
23854         * socket/accept4.c: Likewise.
23855         * socket/bind.c: Likewise.
23856         * socket/connect.c: Likewise.
23857         * socket/getpeername.c: Likewise.
23858         * socket/getsockname.c: Likewise.
23859         * socket/getsockopt.c: Likewise.
23860         * socket/isfdtype.c: Likewise.
23861         * socket/listen.c: Likewise.
23862         * socket/recv.c: Likewise.
23863         * socket/recvfrom.c: Likewise.
23864         * socket/recvmsg.c: Likewise.
23865         * socket/send.c: Likewise.
23866         * socket/sendmsg.c: Likewise.
23867         * socket/sendto.c: Likewise.
23868         * socket/setsockopt.c: Likewise.
23869         * socket/shutdown.c: Likewise.
23870         * socket/sockatmark.c: Likewise.
23871         * socket/socket.c: Likewise.
23872         * socket/socketpair.c: Likewise.
23873         * stdio-common/ctermid.c: Likewise.
23874         * stdio-common/cuserid.c: Likewise.
23875         * stdio-common/remove.c: Likewise.
23876         * stdio-common/rename.c: Likewise.
23877         * stdio-common/renameat.c: Likewise.
23878         * stdio-common/tempname.c: Likewise.
23879         * stdlib/getcontext.c: Likewise.
23880         * stdlib/makecontext.c: Likewise.
23881         * stdlib/setcontext.c: Likewise.
23882         * stdlib/swapcontext.c: Likewise.
23883         * stdlib/system.c: Likewise.
23884         * streams/fattach.c: Likewise.
23885         * streams/fdetach.c: Likewise.
23886         * streams/getmsg.c: Likewise.
23887         * streams/getpmsg.c: Likewise.
23888         * streams/putmsg.c: Likewise.
23889         * streams/putpmsg.c: Likewise.
23890         * sysdeps/unix/bsd/getpt.c: Likewise.
23891         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23892         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23893         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23895         Likewise.
23896         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23897         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23898         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23899         * sysvipc/msgctl.c: Likewise.
23900         * sysvipc/msgget.c: Likewise.
23901         * sysvipc/msgrcv.c: Likewise.
23902         * sysvipc/msgsnd.c: Likewise.
23903         * sysvipc/semctl.c: Likewise.
23904         * sysvipc/semget.c: Likewise.
23905         * sysvipc/semop.c: Likewise.
23906         * sysvipc/semtimedop.c: Likewise.
23907         * sysvipc/shmat.c: Likewise.
23908         * sysvipc/shmctl.c: Likewise.
23909         * sysvipc/shmdt.c: Likewise.
23910         * sysvipc/shmget.c: Likewise.
23911         * termios/tcdrain.c: Likewise.
23912         * termios/tcflow.c: Likewise.
23913         * termios/tcflush.c: Likewise.
23914         * termios/tcgetattr.c: Likewise.
23915         * termios/tcgetpgrp.c: Likewise.
23916         * termios/tcsendbrk.c: Likewise.
23917         * termios/tcsetattr.c: Likewise.
23918         * termios/tcsetpgrp.c: Likewise.
23919         * time/adjtime.c: Likewise.
23920         * time/clock.c: Likewise.
23921         * time/getitimer.c: Likewise.
23922         * time/gettimeofday.c: Likewise.
23923         * time/setitimer.c: Likewise.
23924         * time/settimeofday.c: Likewise.
23925         * time/stime.c: Likewise.
23926         * time/time.c: Likewise.
23928 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23930         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23931         /usr/old/bin.
23933         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23934         instead of spaces.
23935         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23937 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
23939         [BZ #14796]
23940         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23941         FE_TONEAREST before applying Dekker multiplication and Knuth
23942         addition.  Clear inexact exceptions and check for exact zero
23943         results afterwards.
23944         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23945         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23946         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23947         * math/libm-test.inc (fma_test): Add more tests.
23948         (fma_test_towardzero): Likewise.
23949         (fma_test_downward): Likewise.
23950         (fma_test_upward): Likewise.
23951         * sysdeps/generic/math_private.h (default_libc_fesetround): New
23952         function.
23953         (libc_fesetround): New macro.
23954         (libc_fesetroundf): Likewise.
23955         (libc_fesetroundl): Likewise.
23956         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23957         function.
23958         (libc_fesetround_387): Likewise.
23959         (libc_fesetroundf): New macro.
23960         (libc_fesetround): Likewise.
23961         (libc_fesetroundl): Likewise.
23962         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23963         function.
23964         (libc_fesetroundf): New macro.
23965         (libc_fesetround): Likewise.
23966         (libc_fesetroundl): Likewise.
23967         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23968         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23969         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23970         libm_hidden_ver.
23971         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23972         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23973         libm_hidden_def.
23974         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23975         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23976         libm_hidden_ver.
23977         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23978         libm_hidden_def.
23980         [BZ #3439]
23981         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23982         integer constant usable in #if and use that to give value to enum
23983         constant.
23984         (FE_DIVBYZERO): Likewise.
23985         (FE_UNDERFLOW): Likewise.
23986         (FE_OVERFLOW): Likewise.
23987         (FE_INVALID): Likewise.
23988         (FE_INVALID_SNAN): Likewise.
23989         (FE_INVALID_ISI): Likewise.
23990         (FE_INVALID_IDI): Likewise.
23991         (FE_INVALID_ZDZ): Likewise.
23992         (FE_INVALID_IMZ): Likewise.
23993         (FE_INVALID_COMPARE): Likewise.
23994         (FE_INVALID_SOFTWARE): Likewise.
23995         (FE_INVALID_SQRT): Likewise.
23996         (FE_INVALID_INTEGER_CONVERSION): Likewise.
23997         (FE_TONEAREST): Likewise.
23998         (FE_TOWARDZERO): Likewise.
23999         (FE_UPWARD): Likewise.
24000         (FE_DOWNWARD): Likewise.
24001         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24002         (FE_DIVBYZERO): Likewise.
24003         (FE_OVERFLOW): Likewise.
24004         (FE_UNDERFLOW): Likewise.
24005         (FE_INEXACT): Likewise.
24006         (FE_TONEAREST): Likewise.
24007         (FE_DOWNWARD): Likewise.
24008         (FE_UPWARD): Likewise.
24009         (FE_TOWARDZERO): Likewise.
24010         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24011         (FE_UNDERFLOW): Likewise.
24012         (FE_OVERFLOW): Likewise.
24013         (FE_DIVBYZERO): Likewise.
24014         (FE_INVALID): Likewise.
24015         (FE_TONEAREST): Likewise.
24016         (FE_TOWARDZERO): Likewise.
24017         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24018         (FE_OVERFLOW): Likewise.
24019         (FE_UNDERFLOW): Likewise.
24020         (FE_DIVBYZERO): Likewise.
24021         (FE_INEXACT): Likewise.
24022         (FE_TONEAREST): Likewise.
24023         (FE_TOWARDZERO): Likewise.
24024         (FE_UPWARD): Likewise.
24025         (FE_DOWNWARD): Likewise.
24026         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24027         (FE_DIVBYZERO): Likewise.
24028         (FE_OVERFLOW): Likewise.
24029         (FE_UNDERFLOW): Likewise.
24030         (FE_INEXACT): Likewise.
24031         (FE_TONEAREST): Likewise.
24032         (FE_DOWNWARD): Likewise.
24033         (FE_UPWARD): Likewise.
24034         (FE_TOWARDZERO): Likewise.
24036 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
24038         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24040 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
24042         * scripts/cross-test-ssh.sh (command): Use newlines to separate
24043         commands.  Quote $PWD.
24044         (blacklist_exports): Don't use remove_newlines.  Replace "declare
24045         -x" by "export".
24046         (remove_newlines): Remove.
24048 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
24050         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24051         * stdlib/stdlib.h (atof): Moved to ...
24052         * include/bits/stdlib-float.h: Here.  New file.
24053         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24054         * stdlib/bits/stdlib-float.h: New file.
24055         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24056         -mno-sse -mno-mmx.
24057         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24058         <xmmintrin.h>.
24060 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24062         * conform/conformtest.pl (@headers): Add fenv.h.
24063         * conform/data/fenv.h-data: New file.
24064         * include/fenv.h [_ISOMAC]: Disable all contents of file except
24065         include of <math/fenv.h>.
24067         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24068         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24069         && !UNIX98].  Enables tests for XOPEN2K8.
24070         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24071         POSIX2008]: Likewise.
24073         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24074         (struct rusage): Do not expect type or its members.
24076         [BZ #3439]
24077         * math/math.h (FP_NAN): Define macro to integer constant usable in
24078         #if and use that to give value to enum constant.
24079         (FP_INFINITE): Likewise.
24080         (FP_ZERO): Likewise.
24081         (FP_SUBNORMAL): Likewise.
24082         (FP_NORMAL): Likewise.
24084 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
24086         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24087         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24088         arguments.
24090 2012-11-02  Roland McGrath  <roland@hack.frob.com>
24092         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24093         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24094         autoconf-time if not.
24095         * configure.in: Remove AC_PREREQ.
24097 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24099         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24100         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24101         of the internal implementation.
24103 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24105         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24106         except include of <misc/sys/syslog.h>.
24108 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24111         function returns with a NULL context exit with zero.
24113 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24115         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24117 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
24119         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24120         (run_program_cmd): This.
24121         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24122         (tst_langinfo): New variable.  Use it.
24124 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
24126         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24127         floating point opcodes.
24129 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24131         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24132         variable.
24134         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24136         * sysdeps/mach/hurd/powerpc: Remove directory.
24137         * sysdeps/mach/powerpc: Likewise.
24139 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24141         * scripts/check-local-headers.sh: Ignore c++ headers.
24143 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24145         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24146         __libc_cleanup_region_start argument.
24148 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
24150         [BZ #14784]
24151         [BZ #14785]
24152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24153         x * y using scaling, not as x * y + z.
24154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24155         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24156         * math/libm-test.inc (fma_test): Add more tests.
24157         (fma_test_towardzero): Likewise.
24158         (fma_test_downward): Likewise.
24159         (fma_test_upward): Likewise.
24161 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24163         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24165 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24167         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24168         New variable.
24170 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
24172         * rt/tst-shm.c (worker): Correct checking for mmap failure.
24174 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24177         Fix sort order.
24178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24179         Likewise.
24181 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24184         Fix the order of the list for glibc 2.17.
24185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24186         Likewise.
24188 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24192 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24194         [BZ #14610]
24195         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24196         for low part of x being zero before using __atanl (y).
24197         * math/libm-test.inc (atan2_test): Add another test.
24199         * manual/install.texi (Configuring and compiling): Document
24200         general use of test-wrapper and test-wrapper-env.
24201         * INSTALL: Regenerated.
24203         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24204         (__fma): Do not extract and scale down low bits on after-rounding
24205         systems when result rounded to normal precision would have normal
24206         exponent.
24207         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24208         (__fmal): Do not extract and scale down low bits on after-rounding
24209         systems when result rounded to normal precision would have normal
24210         exponent.
24211         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24212         (__fmal): Do not extract and scale down low bits on after-rounding
24213         systems when result rounded to normal precision would have normal
24214         exponent.
24215         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24216         macro.
24217         (fma_test): Add more tests.
24218         (fma_test_towardzero): Likewise.
24219         (fma_test_downward): Likewise.
24220         (fma_test_upward): Likewise.
24222 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
24224         * sysdeps/i386/tininess.h: Renamed to ...
24225         * sysdeps/x86/tininess.h: This.
24226         * sysdeps/x86_64/tininess.h: Removed.
24228 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24230         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24231         input.  Use $(build-program-cmd).
24232         ($(objpfx)tst-array1-static.out): Likewise.
24233         ($(objpfx)tst-array2.out): Likewise.
24234         ($(objpfx)tst-array3.out): Likewise.
24235         ($(objpfx)tst-array4.out): Likewise.
24236         ($(objpfx)tst-array5.out): Likewise.
24237         ($(objpfx)tst-array5-static.out): Likewise.
24239 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
24241         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24242         if defined.
24244         * nss/nsswitch.h (nss_interface_function): Provide new
24245         macro for use with NSS functions.
24246         * grp/initgroups.c: Use new macro.
24247         * nss/getXXbyYY.c: Likewise.
24248         * nss/getXXbyYY_r.c: Likewise.
24249         * nss/getXXent.c: Likewise.
24250         * nss/getXXent_r.c: Likewise.
24251         * sysdeps/posix/getaddrinfo.c: Likewise.
24253 2012-10-30  Andreas Jaeger  <aj@suse.de>
24255         * po/ru.po: Update Russion translation from translation project.
24257 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24259         [BZ #14152]
24260         [BZ #14783]
24261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24262         result and shift together with sticky bit instead of replicating
24263         round-to-nearest rounding.
24264         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24265         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24266         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
24267         missing underflow exceptions.
24268         (fma_test_towardzero): Add more tests.
24269         (fma_test_downward): Likewise.
24270         (fma_test_upward): Likewise.
24272         [BZ #14047]
24273         * sysdeps/generic/tininess.h: New file.
24274         * sysdeps/i386/tininess.h: Likewise.
24275         * sysdeps/sh/tininess.h: Likewise.
24276         * sysdeps/x86_64/tininess.h: Likewise.
24277         * stdlib/tst-strtod-underflow.c: Likewise.
24278         * stdlib/tst-tininess.c: Likewise.
24279         * stdlib/strtod_l.c: Include <tininess.h>.
24280         (round_and_return): Do not set errno for exact underflow cases.
24281         Force an underflow exception when setting errno for underflow.
24282         Determine underflow based on rounding to normal precision if
24283         TININESS_AFTER_ROUNDING.
24284         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24285         ERANGE for exact underflow cases.
24286         * stdlib/Makefile (tests): Add tst-tininess and
24287         tst-strtod-underflow.
24288         ($(objpfx)tst-tininess): Use $(link-libm).
24289         ($(objpfx)tst-strtod-underflow): Likewise.
24291 2012-10-30  Andreas Jaeger  <aj@suse.de>
24293         [BZ#14767]
24294         * elf/Makefile (tests): Remove conditional for have-initfini-array
24295         since this is now always required and the variable does not exist
24296         anymore.
24297         (tests-static): Likewise.
24298         (modules-names): Likewise.
24300         * po/eo.po: Add Esperanto translation from translation project.
24302         * elf/tst-array1.c (fini_array): Make writeable so that it can be
24303         merged with constructor/destructor.
24304         (init_array): Likewise.
24305         * elf/tst-array2dep.c (fini_array): Likewise.
24306         (init_array): Likewise.
24308 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
24310         * manual/message.texi: Delete @cartouche tags.
24312 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
24314         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24315         EOPNOTSUPP.
24316         * sysdeps/mach/hurd/fsync.c: Likewise.
24318         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24319         [_POSIX_REALTIME_SIGNALS]: Change condition to
24320         [_POSIX_REALTIME_SIGNALS > 0].
24322 2012-10-27  Andreas Jaeger  <aj@suse.de>
24324         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24325         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24326         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24327         [__WORDSIZE != 64]: Likewise.
24329 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
24331         *  iconvdata/tst-table.sh: Remove ${SHELL}.
24332         *  iconvdata/tst-tables.sh: Likewise.
24334 2012-10-25  David S. Miller  <davem@davemloft.net>
24336         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24337         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24338         of strtoull.
24340         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24341         ifunc-impl-list.c
24342         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24343         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24344         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24345         file.
24347 2012-10-25  Roland McGrath  <roland@hack.frob.com>
24349         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24350         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24351         __getdirentries.
24353 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24354             Jim Blandy  <jimb@codesourcery.com>
24356         * scripts/cross-test-ssh.sh: New file.
24357         * manual/install.texi (Configuring and compiling): Document use of
24358         cross-test-ssh.sh.
24359         * INSTALL: Regenerated.
24361 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
24363         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24364         EOPNOTSUPP.
24366 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24368         * Makeconfig (run-program-prefix): Fix comment.
24370 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24371             Jim Blandy  <jimb@codesourcery.com>
24373         * Makeconfig (test-wrapper): New variable,
24374         (test-wrapper-env): Likewise.
24375         [$(cross-compiling) = yes && $(test-wrapper) != ""]
24376         (run-built-tests): Define to yes.
24377         (run-program-prefix): Use $(test-wrapper).
24378         (built-program-cmd): Likewise.
24379         * Rules (make-test-out): Use $(test-wrapper-env) and
24380         $(host-built-program-cmd).
24381         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24382         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24383         tst-pathopt.sh.
24384         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24385         $(test-wrapper-env) to tst-rtld-load-self.sh.
24386         ($(objpfx)order2.out): Use $(test-wrapper).
24387         ($(objpfx)tst-initorder.out): Likewise.
24388         ($(objpfx)tst-initorder2.out): Likewise.
24389         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24390         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24391         (test_wrapper_env): New variable.  Use it to run ld.so.
24392         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24393         Use it to run ld.so.
24394         (test_wrapper_env): Likewise.
24395         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24396         $(test-wrapper) to run-iconv-test.sh.
24397         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24398         (ICONV): Use $test_wrapper.
24399         * posix/Makefile ($(objpfx)globtest.out): Pass
24400         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24401         globtest.sh, not $(run-program-prefix).
24402         * posix/globtest.sh (run_via_rtld_prefix): New variable.
24403         (test_wrapper): Likewise.
24404         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
24405         set together with run_via_rtld_prefix.
24406         (run_program_prefix): Define in terms of test_wrapper and
24407         run_via_rtld_prefix.
24409 2012-10-24  Roland McGrath  <roland@hack.frob.com>
24411         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24412         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24413         Targets removed.
24415         [BZ #14743]
24416         * include/time.h: Remove librt_hidden_proto (clock_gettime).
24417         Declare __clock_getres, __clock_gettime, __clock_settime,
24418         __clock_nanosleep, and __clock_getcpuclockid.
24419         * rt/clock_gettime.c: Define __clock_gettime as an alias.
24420         Remove librt_hidden_def (clock_gettime).
24421         * sysdeps/unix/clock_gettime.c: Likewise.
24422         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24423         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24424         * rt/clock_getres.c: Define __clock_getres as an alias.
24425         * sysdeps/posix/clock_getres.c: Likewise.
24426         * rt/clock_settime.c: Define __clock_settime as an alias.
24427         * sysdeps/unix/clock_settime.c: Likewise.
24428         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24429         * sysdeps/unix/clock_nanosleep.c: Likewise.
24430         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24431         * rt/clock-compat.c: New file.
24432         * rt/Makefile (librt-routines): Add clock-compat and move
24433         $(clock-routines) to ...
24434         (routines): ... here, new variable.
24435         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24436         Don't add get_clockfreq here.
24437         * rt/Versions (libc: GLIBC_2.17): New version set.
24438         Add clock_* symbols here.
24439         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
24440         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24441         (GLIBC_2.17): Add clock_* symbols.
24442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24444         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24446         Likewise.
24447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24448         Likewise.
24449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24453         * NEWS: Mention the move.
24455         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24456         Use __open, __read, __close rather than their public counterparts.
24457         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24458         (__get_clockfreq_via_cpuinfo): Likewise.
24459         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24460         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24462         * config.h.in (HAVE_IFUNC): New #undef.
24463         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24464         was successful.
24465         * configure: Regenerated.
24467 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24469         * configure.in: Move READELF check to start of file.
24470         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24471         libc_cv_asm_gnu_indirect_function in the process.
24472         * configure: Regenerated.
24474 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24476         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24477         send the output to /dev/null.
24478         (libc_cv_cc_with_libunwind): Likewise.
24479         (libc_cv_as_noexecstack): Likewise.
24480         * configure: Regenerate.
24482 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24484         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24486         * posix/globtest.sh (TMPDIR): Do not set.
24487         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24488         (testout): Likewise.
24490 2012-10-24  Andreas Jaeger  <aj@suse.de>
24492         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24493         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24494         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24495         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24496         posix_fadvise64, posix_fallocate64.
24498         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24499         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24500         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24501         Likewise.
24502         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24503         Likewise.
24504         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24507         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24508         <bits/fcntl-linux.h>.
24509         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24511         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24512         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24513         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24514         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24515         [__WORDSIZE != 64]: Likewise.
24517 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24519         * Makeconfig (run-built-tests): New variable.
24520         * Rules [$(cross-compiling) = yes]: Change condition to
24521         [$(run-built-tests) = no].
24522         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24523         to [$(run-built-tests) = yes].
24524         * elf/Makefile [$(cross-compiling) = no]: Likewise
24525         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24526         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24527         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24528         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24529         * io/Makefile [$(cross-compiling) = no]: Likewise.
24530         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24531         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24532         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24533         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24534         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24535         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24536         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24537         * string/Makefile [$(cross-compiling) = no]: Likewise.
24539         * posix/Makefile ($(objpfx)globtest.out): Pass
24540         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24541         $(rtld-installed-name).
24542         * posix/globtest.sh (elf_objpfx): Remove variable.
24543         (rtld_installed_name): Likewise.
24544         (library_path): Likewise.
24545         (run_program_prefix): New variable.  Use for running globtest
24546         binary.
24548 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24549             Joseph Myers  <joseph@codesourcery.com>
24551         * Makeconfig (host-built-program-cmd): New variable.
24552         * elf/Makefile (tst-stackguard1-ARGS): Use
24553         $(host-built-program-cmd).
24554         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24555         (tst-spawn-ARGS): Likewise.
24556         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24558 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24559             Jim Blandy  <jimb@codesourcery.com>
24561         * Makeconfig (run-via-rtld-prefix): New variable.
24562         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24563         (built-program-cmd): Likewise.
24565 2012-10-22  Andreas Jaeger  <aj@suse.de>
24567         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24568         __O_RSYNC if it exists, otherwise to O_SYNC.
24570 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24571             Joseph Myers  <joseph@codesourcery.com>
24573         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24574         /dev/null.
24575         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24576         from /dev/null
24577         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24578         /dev/null.
24580 2012-10-22  Andreas Jaeger  <aj@suse.de>
24582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24583         Define always.
24584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24587         bits/fcntl-linux.h.
24589         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24590         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24592         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24593         to __O_LARGEFILE.
24594         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24595         to __O_LARGEFILE.
24597 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24598             Joseph Myers  <joseph@codesourcery.com>
24600         * config.make.in (NM): New variable.
24602 2012-10-21  Andreas Jaeger  <aj@suse.de>
24604         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24605         definitions and declarations that are provided by
24606         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24608 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24610         [BZ #14683]
24611         * elf/Makefile (tests-static): Add tst-leaks1-static.
24612         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24613         ($(objpfx)tst-leaks1-static): New rule.
24614         ($(objpfx)tst-leaks1-static-mem): Likewise.
24615         (tst-leaks1-static-ENV): New macro.
24616         * elf/dl-open.c (dl_open_worker): Check the main application
24617         only if SHARED is defined.
24618         * elf/tst-leaks1-static.c: New file.
24620 2012-10-20  Andreas Jaeger  <aj@suse.de>
24622         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24623         generic values for Linux.
24624         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24625         and declarations that are provided by <bits/fcntl-linux.h> and
24626         include <bits/fcntl-linux.h>.
24627         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24628         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24630 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24632         * io/fcntl.h: Move include of <bits/types.h> to the top and
24633         include it unconditionally.
24635 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24637         * wcsmbs/Makefile (tests-ifunc): New variable.
24638         (tests): Add $(tests-ifunc).
24639         * wcsmbs/test-wcschr-ifunc.c: New file.
24640         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24641         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24642         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24643         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24644         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24646         * string/Makefile (tests-ifunc): New variable.
24647         (tests): Add $(tests-ifunc).
24648         * string/test-memccpy.c (TEST_NAME): New macro.
24649         * string/test-memchr.c (TEST_NAME): Likewise.
24650         * string/test-memcmp.c (TEST_NAME): Likewise.
24651         * string/test-memcpy.c (TEST_NAME): Likewise.
24652         * string/test-memmem.c (TEST_NAME): Likewise.
24653         * string/test-memmove.c (TEST_NAME): Likewise.
24654         * string/test-memset.c (TEST_NAME): Likewise.
24655         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24656         * string/test-stpcpy.c (TEST_NAME): Likewise.
24657         * string/test-stpncpy.c (TEST_NAME): Likewise.
24658         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24659         * string/test-strcasestr.c (TEST_NAME): Likewise.
24660         * string/test-strcat.c (TEST_NAME): Likewise.
24661         * string/test-strchr.c (TEST_NAME): Likewise.
24662         * string/test-strcmp.c(TEST_NAME): Likewise.
24663         * string/test-strcpy.c (TEST_NAME): Likewise.
24664         * string/test-strcspn.c (TEST_NAME): Likewise.
24665         * string/test-strlen.c (TEST_NAME): Likewise.
24666         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24667         * string/test-strncmp.c (TEST_NAME): Likewise.
24668         * string/test-strncpy.c (TEST_NAME): Likewise.
24669         * string/test-strnlen.c (TEST_NAME): Likewise.
24670         * string/test-strpbrk.c (TEST_NAME): Likewise.
24671         * string/test-strrchr.c (TEST_NAME): Likewise.
24672         * string/test-strspn.c (TEST_NAME): Likewise.
24673         * string/test-strstr.c (TEST_NAME): Likewise.
24674         * string/test-bcopy-ifunc.c: New file.
24675         * string/test-bzero-ifunc.c: Likewise.
24676         * string/test-memccpy-ifunc.c: Likewise.
24677         * string/test-memchr-ifunc.c: Likewise.
24678         * string/test-memcmp-ifunc.c: Likewise.
24679         * string/test-memcpy-ifunc.c: Likewise.
24680         * string/test-memmem-ifunc.c: Likewise.
24681         * string/test-memmove-ifunc.c: Likewise.
24682         * string/test-mempcpy-ifunc.c: Likewise.
24683         * string/test-memset-ifunc.c: Likewise.
24684         * string/test-rawmemchr-ifunc.c: Likewise.
24685         * string/test-stpcpy-ifunc.c: Likewise.
24686         * string/test-stpncpy-ifunc.c: Likewise.
24687         * string/test-strcasecmp-ifunc.c: Likewise.
24688         * string/test-strcasestr-ifunc.c: Likewise.
24689         * string/test-strcat-ifunc.c: Likewise.
24690         * string/test-strchr-ifunc.c: Likewise.
24691         * string/test-strchrnul-ifunc.c: Likewise.
24692         * string/test-strcmp-ifunc.c: Likewise.
24693         * string/test-strcpy-ifunc.c: Likewise.
24694         * string/test-strcspn-ifunc.c: Likewise.
24695         * string/test-strlen-ifunc.c: Likewise.
24696         * string/test-strncasecmp-ifunc.c: Likewise.
24697         * string/test-strncat-ifunc.c: Likewise.
24698         * string/test-strncmp-ifunc.c: Likewise.
24699         * string/test-strncpy-ifunc.c: Likewise.
24700         * string/test-strnlen-ifunc.c: Likewise.
24701         * string/test-strpbrk-ifunc.c: Likewise.
24702         * string/test-strrchr-ifunc.c: Likewise.
24703         * string/test-strspn-ifunc.c: Likewise.
24704         * string/test-strstr-ifunc.c: Likewise.
24706         * debug/Makefile (tests-ifunc): New variable.
24707         (tests): Add $(tests-ifunc).
24708         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24709         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24710         * debug/test-stpcpy_chk-ifunc.c: New file.
24711         * debug/test-strcpy_chk-ifunc.c: Likewise.
24713 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24715         [BZ #13601]
24716         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24717         header is not read in.
24719 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24721         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24722         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24723         directly.  Pass built executable to script as
24724         $(built-program-cmd).
24725         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24726         $testprogram without using LD_LIBRARY_PATH and $ldso.
24728         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24729         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24730         $(rtld-installed-name).
24731         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24732         (rtld_installed_name): Likewise.
24733         (library_path): Likewise.
24734         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24735         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24736         $(run-program-prefix) to tst-tables.sh.
24737         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24738         it to run tst-table-from and tst-table-to.
24739         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24740         Pass it to tst-table.sh.
24741         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24742         $(run-program-prefix) to tst-gettext.sh.
24743         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24744         tst-translit.sh.
24745         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24746         tst-gettext2.sh.
24747         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24748         to run tst-gettext.
24749         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24750         to run tst-gettext2.
24751         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24752         to run tst-translit.
24753         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24754         $(run-program-prefix) to tst-mtrace.sh.
24755         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24756         to run tst-mtrace.
24757         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24758         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24759         $(rtld-installed-name).
24760         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24761         (rtld_installed_name): Likewise.
24762         (run_program_prefix): New variable.  Use it to run wordexp-test.
24764         * Makeconfig (ARCH): Remove all definitions.
24765         (machine): Likewise.
24766         [ARCH]: Remove conditional code.
24767         [!objdir]: Give error.
24768         [!objdir] (objpfx): Remove.
24769         [!objdir] (common-objpfx): Likewise.
24770         [!objdir] (common-objdir): Likewise.
24771         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24772         AC_CONFIG_FILES call.
24773         * configure: Regenerated.
24775         [BZ #13888]
24776         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24777         or TMPDIR.
24778         (testout): Likewise.
24780         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24781         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24782         $(rtld-installed-name).
24783         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24784         (rtld_installed_name): Likwise.
24785         (runit): Remove function.
24786         (run_getconf): New variable,  Use it for running getconf binary.
24788 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24790         [BZ #14716]
24791         * string/test-memmem.c (check_result): New function.
24792         (do_one_test): Use it.
24793         (check1): New function.
24794         (test_main): Use it.
24796 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24798         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24800 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24802         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24803         (_G_LSEEK64): Likewise.
24804         (_G_MMAP64): Likewise.
24805         (_G_FSTAT64): Likewise.
24806         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24807         (_G_LSEEK64): Likewise.
24808         (_G_MMAP64): Likewise.
24809         (_G_FSTAT64): Likewise.
24810         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24811         unconditional.  Call __mmap64 directly.
24812         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24813         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24814         __lseek64 directly.
24815         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24816         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24817         __mmap64 directly.
24818         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24819         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24820         __lseek64 directly.
24821         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24822         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24823         __lseek64 directly.
24824         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24825         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24826         __lseek64 directly.
24827         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24828         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24829         __fxstat64 directly.
24830         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24831         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24832         unconditional.
24833         (freopen64) [!_G_OPEN64]: Remove conditional code.
24834         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24835         unconditional.
24836         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24837         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24838         unconditional.
24839         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24840         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24841         unconditional.
24842         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24843         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24844         unconditional.
24845         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24846         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24847         unconditional.
24848         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24849         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24850         unconditional.
24851         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24852         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24853         unconditional.
24854         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24856 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24858         [BZ #12140]
24859         * manual/memory.texi (Malloc Tunable Parameters): Add note
24860         about free list pointers overwriting some perturb bytes.
24861         Wording suggested by Roland McGrath.
24863 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24865         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24866         (lgamma_test): Likewise.
24867         (tgamma_test): Likewise.
24869 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24871         [BZ #14700]
24872         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24873         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24875 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24877         * NEWS: Mention BZ #14716.
24878         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24879         when removing AVAILABLE1_USES_J macro.
24881 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24883         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24884         (__bswap_64): __uint64_t for unsigned 64-bit int.
24886 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24888         * include/string.h (memmem): Declare libc hidden alias.
24889         * string/memmem.c (memmem): Define libc hidden alias.
24890         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24891         __read, __close instead of open, read, close.
24893 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24896         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24897         global and hidden.
24898         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24899         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24900         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24901         Likewise.
24902         (__rawmemchr_sse2): Likewise.
24903         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24904         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24905         (__strchr_sse2): Likewise.
24906         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24907         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24908         (__strcasecmp_sse2): Likewise.
24909         (__strncasecmp_sse2): Likewise.
24910         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24911         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24912         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24913         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24914         (__strrchr_sse2): Likewise.
24915         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24916         ifunc-impl-list.c.
24917         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24918         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24919         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24920         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24921         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24922         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24923         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24924         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24925         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24926         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24927         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24928         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24929         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24930         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24931         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24932         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24933         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24934         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24935         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24936         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24937         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24938         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24939         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24940         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24941         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24942         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24943         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24944         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24945         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24946         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24948         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24949         global and hidden.
24950         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24951         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24952         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24953         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24954         Likewise.
24955         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24956         Likewise.
24957         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24958         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24959         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24960         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24961         ifunc-impl-list.c.
24962         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24963         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24964         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24965         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24966         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24967         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24968         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24969         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24970         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24971         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24972         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24973         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24974         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24975         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24976         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24977         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24978         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24979         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24980         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24981         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24982         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24983         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24984         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24985         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24986         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24987         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24988         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24989         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24990         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24991         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24992         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24993         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24994         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24995         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24996         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24997         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24998         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24999         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25000         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25001         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25002         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25004         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25005         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25006         * include/ifunc-impl-list.h: New file.
25007         * misc/ifunc-impl-list.c: Likewise.
25008         * misc/Makefile (routines): Add ifunc-impl-list.
25009         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25010         * string/test-string.h: Include <ifunc-impl-list.h>.
25011         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25012         TEST_NAME]: New variables.
25013         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25014         are defined.
25015         (test_init): Call __libc_ifunc_impl_list to initialize
25016         func_list if TEST_IFUNC and TEST_NAME are defined.
25018         * string/Makefile (strop-tests): Add bcopy and bzero.
25019         * string/test-bcopy.c: New file.
25020         * string/test-bzero.c: Likewise.
25021         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25022         defined.
25023         * string/test-memset.c: Support bzero test if TEST_BZERO is
25024         defined.
25025         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25026         __libc_memmove.
25027         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25028         __libc_memset.
25029         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25030         of memset.
25032 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
25034         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25035         * configure: Regenerated.
25037         * Makeconfig (+link-static-before-libc): Don't include
25038         $(link-static-libc).
25040         * libio/libio.h (_IO_pos_t): Remove.
25042 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25044         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
25045         McGrath.
25047 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25049         * crypt/crypt-entry.c: Include fips-private.h.
25050         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25051         * crypt/md5c-test.c (main): Tolerate disabled MD5.
25052         * sysdeps/unix/sysv/linux/fips-private.h: New file.
25053         * sysdeps/generic/fips-private.h: New file, dummy fallback.
25055 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25057         * crypt/crypt-private.h: Include stdbool.h.
25058         (_ufc_setup_salt_r): Return bool.
25059         * crypt/crypt-entry.c: Include errno.h.
25060         (__crypt_r): Return NULL with EINVAL for bad salt.
25061         * crypt/crypt_util.c (bad_for_salt): New.
25062         (_ufc_setup_salt_r): Check that salt is long enough and within
25063         the specified alphabet.
25064         * crypt/badsalttest.c: New file.
25065         * crypt/Makefile (tests): Add it.
25066         ($(objpfx)badsalttest): New.
25068 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
25070         * NEWS: Add entry for BZ #14602.
25072 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25074         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25075         type-generic.
25076         * math/libm-test.inc: Update comment listing what functions and
25077         macros are tested.
25078         (isgreater_test): New function.
25079         (isgreaterequal_test): Likewise.
25080         (isless_test): Likewise.
25081         (islessequal_test): Likewise.
25082         (islessgreater_test): Likewise.
25083         (isunordered_test): Likewise.
25084         (main): Call the new functions.
25086 2012-10-09  Roland McGrath  <roland@hack.frob.com>
25088         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25089         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25090         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25091         * sysdeps/i386/configure: Regenerated.
25092         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25093         * sysdeps/mach/configure: Regenerated.
25094         * sysdeps/mach/hurd/configure: Regenerated.
25095         * sysdeps/powerpc/configure: Regenerated.
25096         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25097         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25098         * sysdeps/s390/s390-32/configure: Regenerated.
25099         * sysdeps/s390/s390-64/configure: Regenerated.
25100         * sysdeps/sh/configure: Regenerated.
25101         * sysdeps/sparc/configure: Regenerated.
25102         * sysdeps/unix/sysv/linux/configure: Regenerated.
25103         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25104         * sysdeps/x86_64/configure: Regenerated.
25106         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25107         defined.  Don't check if MAP is NULL.
25109 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25111         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25112         (_G_stat64): Likewise.
25113         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25114         (_G_stat64): Likewise.
25115         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25116         instead of struct _G_stat64.
25117         * libio/fileops.c (mmap_remap_check): Likewise.
25118         (decide_maybe_mmap): Likewise.
25119         (_IO_new_file_seekoff): Likewise.
25120         (_IO_file_stat): Likewise.
25121         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25122         _G_off64_t.
25123         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25124         instead of struct _G_stat64.
25125         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25127 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
25129         [BZ #14602]
25130         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25131         Replace with ...
25132         (CHECK_EOL): New macro.
25133         (two_way_short_needle): Check beginning of haystack for EOL.  Use
25134         CHECK_EOL.
25135         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25136         Replace with CHECK_EOL.
25137         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25138         Replace with CHECK_EOL.
25140 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
25142         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25143         type-generic.
25144         * math/libm-test.inc: Update comment listing what functions and
25145         macros are tested.
25146         (finite_test): New function.
25147         (isinf_test): Likewise.
25148         (isnan_test): Likewise.
25149         (fpclassify_test): Test subnormal input.
25150         (isfinite_test): Likewise.
25151         (isnormal_test): Likewise.
25152         (main): Call the new functions.
25154 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
25156         [BZ #14660]
25157         * Makerules (%.dynsym): Force C locale when running
25158         $(OBJDUMP) --dynamic-syms.
25160 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
25162         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25163         <stdint.h>.
25165 2012-10-06  David S. Miller  <davem@davemloft.net>
25167         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25168         upper 32-bits of the length value in %o2 since we use branch-on-register
25169         tests which consider the entire 64-bit register.
25171 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
25173         * string/test-strstr.c (check2): Add a test for page boundary.
25175 2012-10-05  David S. Miller  <davem@davemloft.net>
25177         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25178         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25179         file.
25180         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25181         sysdep_routines.
25182         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25183         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25184         and bzero when HWCAP_SPARC_CRYPTO is present.
25186 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
25188         [BZ #14602]
25189         * string/test-strstr.c (check2): New function.
25190         (test_main): Call check2.
25192         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25193         and bug-strchr1.
25194         * string/bug-strcasestr1.c (do_test): Moved to ...
25195         * string/test-strcasestr.c (check1): Here.  New function.
25196         (do_one_test): Break out result checking code into ...
25197         (check_result): This.  New function.
25198         (do_one_test): Call check_result.
25199         (test_main): Call check1.
25200         * string/bug-strchr1.c (do_test): Moved to ...
25201         * string/test-strchr.c (check1): Here.  New function.
25202         (do_one_test): Break out result checking code into ...
25203         (check_result): This.  New function.
25204         (do_one_test): Call check_result.
25205         (test_main): Call check1.
25206         * string/bug-strstr1.c (main): Moved to ...
25207         * string/test-strstr.c (check1): Here.  New function.
25208         (do_one_test): Break out result checking code into ...
25209         (check_result): This.  New function.
25210         (do_one_test): Call check_result.
25211         (test_main): Call check1.
25212         * string/bug-strcasestr1.c: Removed.
25213         * string/bug-strchr1.c: Likewise.
25214         * string/bug-strstr1.c: Likewise.
25216         * elf/Makefile (dl-routines): Add hwcaps.
25217         * elf/dl-support.c (_dl_important_hwcaps): Removed.
25218         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25219         (_dl_important_hwcaps): Moved to ...
25220         * elf/dl-hwcaps.c: Here.  New file.
25221         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25223         [BZ #14557]
25224         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25225         if IS_IN_rtld isn't defined.
25227         * elf/dl-support.c (_dl_sysinfo_map): New.
25228         Include "get-dynamic-info.h" and "setup-vdso.h".
25229         (_dl_non_dynamic_init): Call setup_vdso.
25230         * elf/dynamic-link.h: Don't include <assert.h>.
25231         (elf_get_dynamic_info): Moved to ...
25232         * elf/get-dynamic-info.h: Here.  New file.
25233         * elf/dynamic-link.h: Include "get-dynamic-info.h".
25234         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25235         * elf/setup-vdso.h: Here.  New file.
25236         * elf/rtld.c: Include "setup-vdso.h".
25237         (dl_main): Call setup_vdso.
25239 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
25241         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25242         creal in comment listing functions tested.  List finite, isinf,
25243         isnan, isless, islessequal, isgreater, isgreaterequal,
25244         islessgreater, isunordered, lgamma_r and pow10 as functions and
25245         macros not tested.  Mention which functions not tested are aliases
25246         for other functions.  Fix typo.  Note that signs of NaNs are not
25247         tested.
25249         * scripts/config.guess: Update from config.git.
25250         * scripts/config.sub: Likewise.
25252 2012-10-04  Roland McGrath  <roland@hack.frob.com>
25254         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25255         * misc/madvise.c (madvise): Renamed to __madvise.
25256         Make madvise a weak alias.
25257         * include/sys/mman.h: Declare __madvise.
25258         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25259         * sysdeps/unix/syscalls.list
25260         (madvise): Make __madvise the strong name, and madvise a weak alias.
25261         * sysdeps/unix/sysv/linux/syscalls.list
25262         (madvise, mmap): Remove redundant entries.
25263         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25264         * malloc/malloc.c (mtrim): Likewise.
25265         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25267 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25269         * sysdeps/mach/hurd/dl-cache.c: File removed.
25270         * config.h.in (USE_LDCONFIG): New #undef.
25271         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25272         * configure: Regenerated.
25273         * elf/Makefile (dl-routines): Add dl-cache only under
25274         [$(use-ldconfig) = yes].
25275         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25276         cache on [USE_LDCONFIG].
25277         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25278         [USE_LDCONFIG].
25279         * elf/rtld.c (dl_main): Likewise.
25281 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
25283         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25284         _SC_LEVEL4_CACHE_LINESIZE.
25286 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25288         * sysdeps/unix/bsd/confstr.h: File removed.
25290 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
25292         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25293         sys/sdt-config.h.
25295 2012-10-02  Roland McGrath  <roland@hack.frob.com>
25297         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25298         Make 'mapoff' field ElfW(Off) rather than off_t.
25300 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
25302         * nscd/Makefile: Remove nscd-cflags and all its users.
25303         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25304         (CFLAGS-nonlib): Add compiler flags for nscd modules.
25306         [BZ #10631]
25307         * malloc.c (malloc_printerr): Clarify error message.
25309 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
25311         [BZ #14648]
25312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25313         Set bit_FMA_Usable if FMA is supported.
25314         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25315         macro.
25316         (bit_FMA4_Usable): Updated.
25317         (index_FMA_Usable): New macro.
25318         (CPUID_FMA): Likewise
25319         (HAS_FMA): Defined with bit_FMA_Usable.
25321 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25323         * bits/types.h (__swblk_t): Type removed.
25324         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25325         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25326         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25327         (__SWBLK_T_TYPE): Likewise.
25328         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25329         (__SWBLK_T_TYPE): Likewise.
25330         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25331         (__SWBLK_T_TYPE): Likewise.
25332         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25333         (__SWBLK_T_TYPE): Likewise.
25335 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
25336             Honza Horak <hhorak@redhat.com>
25338         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25339         (xdr_mapname): Use YPMAXMAP as maxsize.
25340         (xdr_peername): Use YPMAXPEER as maxsize.
25341         (xdr_keydat): Use YPAXRECORD as maxsize.
25342         (xdr_valdat): Use YPMAXRECORD as maxsize.
25344 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25346         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25348         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25349         * csu/init-first.c: ... here.
25350         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25351         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25352         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25353         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25354         * sysdeps/i386/init-first.c: File removed.
25355         * sysdeps/sh/init-first.c: File removed.
25357 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
25359         [BZ #14645]
25360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25361         if x * y might underflow to zero and z is zero.
25362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25363         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25364         * math/libm-test.inc (min_subnorm_value): New variable.
25365         (fma_test): Add more tests.
25366         (fma_test_towardzero): Likewise.
25367         (fma_test_downward): Likewise
25368         (fma_test_upward): Likewise.
25369         (initialize): Set min_subnorm_value.
25371 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
25373         [BZ #14638]
25374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25375         0 + 0.
25376         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25377         mode for addition resulting in exact zero.
25378         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25380         exact 0 + 0.
25381         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25382         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25383         * math/libm-test.inc (fma_test): Add more tests.
25384         (fma_test_towardzero): New function.
25385         (fma_test_downward): Likewise.
25386         (fma_test_upward): Likewise.
25387         (main): Call the new functions.
25389 2012-09-28  David S. Miller  <davem@davemloft.net>
25391         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25393 2012-09-28  Roland McGrath  <roland@hack.frob.com>
25395         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25396         instead of SIGALRM.
25398         * sysdeps/gnu/_G_config.h: Moved to ...
25399         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25400         * sysdeps/mach/hurd/_G_config.h: Moved to ...
25401         * sysdeps/generic/_G_config.h: ... here.
25403         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
25405         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25407         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25408         Conditionalize target on [libnss_test1.so-version].
25410         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25412         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25413         (elfobjdir): Move out of conditionals.
25415         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25416         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25417         (__nss_lookup_function): Conditionalize label remove_from_tree on
25418         [!DO_STATIC_NSS || SHARED], matching its only use.
25420 2012-09-28  David S. Miller  <davem@davemloft.net>
25422         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25423         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25424         file.
25425         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25426         sysdep_routines.
25427         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25429         when HWCAP_SPARC_CRYPTO is present.
25431 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25433         * io/tst-mknodat.c: Create a FIFO instead of a socket.
25435 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
25437         [BZ #6530]
25438         * stdio-common/vfprintf.c (process_string_arg): Revert
25439         2000-07-22 change.
25441 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
25443         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25444         for testcase.
25445         * stdio-common/tst-sprintf.c: Include <locale.h>
25446         (main): Test sprintf's handling of incomplete multibyte
25447         characters.
25449 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
25451         * elf/dl-runtime.c (VERSYMIDX): Removed.
25452         * elf/dl-version.c (VERSYMIDX): Likewise.
25453         * elf/do-rel.h (VERSYMIDX): Likewise.
25454         (VALIDX): Likewise.
25455         * elf/dynamic-link.h (VERSYMIDX): Likewise.
25456         * elf/rtld.c (VALIDX): Likewise.
25457         (ADDRIDX): Likewise.
25458         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25459         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25460         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25461         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25462         (VALIDX): Likewise.
25463         (ADDRIDX): Likewise.
25465 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25467         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25469 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
25471         [BZ #11438]
25472         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25473         to global scope.
25474         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25475         addresses are in the same scope as 192.0.2/24.
25476         * posix/gai.conf: Document new scope table defaults.
25478 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25480         [BZ #5298]
25481         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25482         for ftell.  Compute offsets from write pointers instead.
25483         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25485 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25487         [BZ #14543]
25488         * libio/Makefile (tests): New test case tst-fseek.
25489         * libio/tst-fseek.c: New test case to verify that fseek/ftell
25490         combination works in wide mode.
25491         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25492         state when the external buffer state changes.
25494 2012-09-27  David S. Miller  <davem@davemloft.net>
25496         [BZ #14376]
25497         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25498         pass reloc->r_addend in as the 'high' argument to
25499         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25503 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25505         * rt/tst-aio2.c: Include <pthread.h>.
25506         * rt/tst-aio3.c: Likewise.
25508 2012-09-27  Steve Ellcey  <sellcey@mips.com>
25510         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25512 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
25514         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25515         contents on [SHARED].
25517 2012-09-26  Marek Polacek  <polacek@redhat.com>
25519         [BZ #14530]
25520         [BZ #13741]
25521         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25522         for C++ and GCC <4.3 as well as for non GCC compilers.
25524 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25528 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25530         * Makefile.in (all, install): Declare with .PHONY.
25531         Reported by Michael Hope <michael.hope@linaro.org>.
25533 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25535         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25536         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25537         system header.
25538         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25539         Likewise.
25540         (sydep_routines): Add the new and the internal functions.
25541         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25542         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25544         (GLIBC_2.17): Add the new function.
25545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25546         (GLIBC_2.17): Likewise.
25547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25548         (GLIBC_2.17): Likewise.
25549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25550         (GLIBC_2.17): Likewise.
25551         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25553 2012-09-25  Alan Modra  <amodra@gmail.com>
25555         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25556         Add release barrier before setting once_control to say
25557         initialisation is done.  Add hints on lwarx.  Use macro in
25558         place of isync.
25559         (clear_once_control): Add release barrier.
25561 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25563         [BZ #13629]
25564         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25565         specially.
25566         * math/s_clog10.c (__clog10): Likewise.
25567         * math/s_clog10f.c (__clog10f): Likewise.
25568         * math/s_clog10l.c (__clog10l): Likewise.
25569         * math/s_clogf.c (__clogf): Likewise.
25570         * math/s_clogl.c (__clogl): Likewise.
25571         * math/Makefile (libm-calls): Add x2y2m1.
25572         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25573         (__x2y2m1): Likewise.
25574         (__x2y2m1l): Likewise.
25575         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25576         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25577         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25578         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25579         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25580         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25581         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25582         * sysdeps/i386/fpu/libm-test-ulps: Update.
25583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25585         [BZ #14621]
25586         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25587         int as type of variable DEPTH.
25588         (glob): Use size_t instead of int as type of variables NEWCOUNT
25589         and OLD_PATHC.
25591 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25593         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25594         Add s_sincosf-sse2.
25595         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25596         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25597         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25598         macros for using routine as __sincosf_ia32.
25599         Use macro for function declaration and weak_alias.
25600         * sysdeps/i386/fpu/libm-test-ulps: Update.
25602         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25605         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25606         subnormal argument.
25607         * math/s_cexpf.c (__cexpf): Likewise.
25608         * math/s_csinf.c (__csinf): Likewise.
25609         * math/s_csinhf.c (__csinhf): Likewise.
25610         * math/s_ctanf.c (__ctanf): Likewise.
25611         * math/s_ctanhf.c (__ctanhf): Likewise.
25612         * math/s_ccosh.c (__ccoshf): Likewise.
25613         * math/s_cexp.c (__cexpl): Likewise.
25614         * math/s_csin.c (__csin): Likewise.
25615         * math/s_csinh.c (__csinh): Likewise.
25616         * math/s_ctan.c (__ctan): Likewise.
25617         * math/s_ctanh.c (ctanh): Likewise.
25618         * math/s_ccoshl.c (__ccoshl): Likewise.
25619         * math/s_cexpl.c (__cexpl): Likewise.
25620         * math/s_csinl.c (__csinl): Likewise.
25621         * math/s_csinhl.c (__csinhl): Likewise.
25622         * math/s_ctanl.c (__ctanl): Likewise.
25623         * math/s_ctanhl.c (__ctanhl): Likewise.
25625 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25627         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25628         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25629         (_IO_off_t): Define to __off_t, not _G_off_t.
25630         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25631         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25632         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25633         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25634         type of __dummy and __dummy2 fields.
25635         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25636         (_G_ssize_t): Likewise.
25637         (_G_off_t): Likewise.
25638         (_G_pid_t): Likewise.
25639         (_G_uid_t): Likewise.
25640         (_G_wchar_t): Likewise.
25641         (_G_wint_t): Likewise.
25642         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25643         (_G_ssize_t): Likewise.
25644         (_G_off_t): Likewise.
25645         (_G_pid_t): Likewise.
25646         (_G_uid_t): Likewise.
25647         (_G_wchar_t): Likewise.
25648         (_G_wint_t): Likewise.
25649         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25650         (_G_ssize_t): Likewise.
25651         (_G_off_t): Likewise.
25652         (_G_pid_t): Likewise.
25653         (_G_uid_t): Likewise.
25654         (_G_wchar_t): Likewise.
25655         (_G_wint_t): Likewise.
25657 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25659         * malloc/arena.c: Include malloc-sysdep.h.
25660         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25661         is sufficient to shrink the heap or an unmap is needed.
25662         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25663         new function check_may_shrink_heap.
25664         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25665         new function check_may_shrink_heap.
25667 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25669         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25670         comments.
25672 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25674         * catgets/test-gencat.sh: Add "set -e".
25675         * elf/tst-pathopt.sh: Likewise.
25676         * grp/tst_fgetgrent.sh: Likewise.
25677         * iconvdata/run-iconv-test.sh: Likewise.
25678         * intl/tst-gettext.sh: Likewise.
25679         * intl/tst-gettext2.sh: Likewise.
25680         * intl/tst-gettext4.sh: Likewise.
25681         * intl/tst-gettext6.sh: Likewise.
25682         * intl/tst-translit.sh: Likewise.
25683         * io/ftwtest-sh: Likewise.
25684         * libio/test-freopen.sh: Likewise.
25685         * malloc/tst-mtrace.sh: Likewise.
25686         * posix/globtest.sh: Likewise.
25687         * posix/tst-getconf.sh: Likewise.
25688         * posix/wordexp-tst.sh: Likewise.
25689         * stdio-common/tst-printf.sh: Likewise.
25690         * stdio-common/tst-unbputc.sh: Likewise.
25691         * stdlib/tst-fmtmsg.sh: Likewise.
25692         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25693         * catgets/Makefile: Do not specify -e option when running
25694         testsuite shell scripts.
25695         * elf/Makefile: Likewise.
25696         * grp/Makefile: Likewise.
25697         * iconvdata/Makefile: Likewise.
25698         * intl/Makefile: Likewise.
25699         * io/Makefile: Likewise.
25700         * libio/Makefile: Likewise.
25701         * malloc/Makefile: Likewise.
25702         * posix/Makefile: Likewise.
25703         * stdio-common/Makefile: Likewise.
25704         * stdlib/Makefile: Likewise.
25705         * sysdeps/x86_64/Makefile: Likewise.
25707         * io/ftwtest-sh: Add copyright header.
25708         * posix/globtest.sh: Likewise.
25709         * posix/tst-getconf.sh: Likewise.
25710         * posix/wordexp-tst.sh: Likewise.
25711         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25713 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25715         [BZ #13679]
25716         * Makeconfig (+link): Defined as $(+link-static) if
25717         $(build-shared) isn't yes.
25718         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25719         isn't yes.
25720         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25722         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25724         [BZ #14562]
25725         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25726         new chunk size with MALLOC_ALIGN_MASK.
25728 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25730         [BZ #5044]
25731         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25732         <rounding-mode.h>.
25733         (__printf_fphex): Determine rounding using get_rounding_mode and
25734         round_away.
25735         * stdio-common/tst-printf-round.c (struct hex_test): New
25736         structure.
25737         (hex_tests): New variable.
25738         (test_hex_in_one_mode): New function.
25739         (do_test): Also run tests for hex float output.
25741 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25743         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25744         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25745         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25746         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25747         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25748         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25749         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25750         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25752 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25754         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25755         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25756         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25757         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25759 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25761         [BZ #14579]
25762         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25763         mode only.
25764         * elf/tst-rtld-load-self.sh: New test.
25765         * elf/Makefile: Run it.
25767 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25769         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25770         (tst-writev-ENV): Remove.
25771         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25773 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25775         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25777 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25779         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25780         unconditional.
25781         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25782         Likewise.
25783         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25784         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25785         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25786         Likewise.
25788 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25790         [BZ #14587]
25791         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25792         * config.make.in (have-cpp-asm-debuginfo): Removed.
25793         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25794         * configure: Regenerated.
25796 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25798         [BZ #5044]
25799         * stdio-common/printf_fp.c: Include <stdbool.h> and
25800         <rounding-mode.h>.
25801         (___printf_fp): Determine rounding using get_rounding_mode and
25802         round_away.
25803         * stdio-common/tst-printf-round.c: New file.
25804         * stdio-common/Makefile (tests): Add tst-printf-round.
25805         (link-libm): New variable.
25806         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25808 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25810         [BZ #14576]
25811         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25812         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25813         Likewise.
25814         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25815         Likewise.
25817 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25819         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25820         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25821         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25822         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25824 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25826         [BZ #14518]
25827         * include/rounding-mode.h: New file.
25828         * sysdeps/generic/get-rounding-mode.h: Likewise.
25829         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25830         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25831         (MAX_VALUE): New macro.
25832         (MIN_VALUE): Likewise.
25833         (overflow_value): New function.
25834         (underflow_value): Likewise.
25835         (round_and_return): Use overflow_value and underflow_value to
25836         determine return values in overflow and underflow cases.  Use
25837         round_away to determine rounding depending on rounding mode.
25838         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25839         determine return values in overflow and underflow cases.
25840         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25841         (struct test_results): New structure.
25842         (struct test): Use struct test_results to store expected results
25843         for all rounding modes.
25844         (TEST): Include expected results for all rounding modes.
25845         (test_in_one_mode): New function.
25846         (do_test): Use test_in_one_mode to compute and check results.
25847         Check results for all rounding modes.
25848         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25849         $(link-libm).
25851 2012-12-09  Allan McRae  <allan@archlinux.org>
25853         * sysdeps/i386/fpu/libm-test-ulps: Update
25855 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25857         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25858         (_G_int32_t): Likewise.
25859         (_G_uint16_t): Likewise.
25860         (_G_uint32_t): Likewise.
25861         (_G_HAVE_BOOL): Likewise.
25862         (_G_HAVE_ATEXIT): Likewise.
25863         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25864         (_G_HAVE_IO_FILE_OPEN): Likewise.
25865         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25866         (_G_int32_t): Likewise.
25867         (_G_uint16_t): Likewise.
25868         (_G_uint32_t): Likewise.
25869         (_G_HAVE_BOOL): Likewise.
25870         (_G_HAVE_ATEXIT): Likewise.
25871         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25872         (_G_HAVE_IO_FILE_OPEN): Likewise.
25873         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25874         (_G_int32_t): Likewise.
25875         (_G_uint16_t): Likewise.
25876         (_G_uint32_t): Likewise.
25877         (_G_HAVE_BOOL): Likewise.
25878         (_G_HAVE_ATEXIT): Likewise.
25879         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25880         (_G_HAVE_IO_FILE_OPEN): Likewise.
25882 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25884         * csu/libc-tls.c: Update copyright years.
25886 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25888         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25889         [!_G_USING_THUNKS]: Remove conditional code.
25890         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25891         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25893         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25894         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25895         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25896         (_G_VTABLE_LABEL_PREFIX): Likewise.
25897         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25898         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25899         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25900         (_G_VTABLE_LABEL_PREFIX): Likewise.
25901         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25902         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25903         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25904         (_G_VTABLE_LABEL_PREFIX): Likewise.
25905         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25907 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25909         * libio/Makefile: Include ../Makeconfig before tests.
25910         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25911         only if $(build-shared) is yes.
25913         * iconv/gconv_db.c: Update copyright years.
25915 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25917         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25918         unwind info if defined PIC. Fix special cases description.
25919         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25921         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25922         DP_HI_MASK entry.
25923         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25925 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25927         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25929         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25930         is NULL.
25932         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25933         (LDLIBS-tst-chk4): This.
25934         (LDFLAGS-tst-chk5): Renamed to ...
25935         (LDLIBS-tst-chk5): This.
25936         (LDFLAGS-tst-chk6): Renamed to ...
25937         (LDLIBS-tst-chk6): This.
25938         (LDFLAGS-tst-lfschk4): Renamed to ...
25939         (LDLIBS-tst-lfschk4): This.
25940         (LDFLAGS-tst-lfschk5): Renamed to ...
25941         (LDLIBS-tst-lfschk5): This.
25942         (LDFLAGS-tst-lfschk6): Renamed to ...
25943         (LDLIBS-tst-lfschk6): This.
25945         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25946         on $(common-objpfx)soversions.mk.
25948 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
25950         [BZ #10014]
25951         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25952         example host name.
25954 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25956         * malloc/arena.c (arena_get_retry): New function that gets
25957         another arena for the caller to try its request on.
25958         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25959         current arena cannot fulfill the request.
25960         (__libc_memalign): Likewise.
25961         (__libc_memalign): Likewise.
25962         (__libc_pvalloc): Likewise.
25963         (__libc_calloc): Likewise.
25965 2012-09-05  John Tobey  <john.tobey@gmail.com>
25967         [BZ #13542]
25968         * manual/arith.texi (Operations on Complex): Fix description
25969         of carg branch cut.
25971 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25973         [BZ #10014]
25974         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25975         host name.
25977         [BZ #10038]
25978         * manual/memory.texi (Memory): Make order of menu items match
25979         order of sections.
25981 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25983         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25984         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
25985         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25987 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25989         * csu/libc-tls.c (static_dtv): Renamed to ...
25990         (_dl_static_dtv): This.  Make it global.
25991         (_dl_initial_dtv): Removed.
25992         (__libc_setup_tls): Updated.
25993         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25994         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25995         DL_INITIAL_DTV.
25997 2012-09-06  Petr Machata  <pmachata@redhat.com>
25999         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26000         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26001         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26002         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26004 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26006         [BZ #14545]
26007         * csu/libc-tls.c (_dl_initial_dtv): New variable.
26008         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26009         freeing dtv[-1].
26011 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26013         [BZ #14544]
26014         * Makeconfig (link-static-before-libc): Replace $(+prector)
26015         with $(+prectorT).
26016         (link-static-after-libc): Replace $(+postctor) with
26017         $(+postctorT).
26018         (link-bounded): Replace $(+prector)/$(+postctor) with
26019         $(+prectorT)/$(+postctorT).
26020         (+prectorT): New macro.
26021         (+postctorT): Likewise.
26023 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26025         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26026         (round_str): Handle values above the maximum for IBM long double
26027         as inexact.
26028         * stdlib/tst-strtod-round.c (tests): Regenerated.
26030 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26032         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26033         assembler flag.
26034         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26035         zarch_nohighgprs around the zarch optimized routines.
26036         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26037         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26038         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26039         for zarch.
26041 2012-09-05  David S. Miller  <davem@davemloft.net>
26043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26045         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26046         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26047         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26048         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26049         entries.
26051 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26053         * malloc/arena.c: Fold copyright years.
26054         * malloc/mcheck.c, malloc/memusage.c: Likewise.
26056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26058         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26060 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26062         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
26064 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26066         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26067         change internal state upon failure.
26069 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26071         * malloc/mcheck.c (mcheck_check_all): Fix typo.
26072         * malloc/memusage.c (mmap): Likewise.
26073         (mmap64, mremap): Likewise.  Adjust name in comment.
26075 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26077         * libio/fileops.c: Fix typos in comments.
26078         * libio/oldfileops.c: Likewise.
26079         * libio/wfileops.c: Likewise.
26081 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26083         [BZ #1349]
26084         * malloc/Makefile (tests): Add tst-malloc-usable test case.
26085         (tst-malloc-usable-ENV): Set environment for test case.
26086         * malloc/hooks.c (malloc_check_get_size): New function to get
26087         requested size.
26088         * malloc/malloc.c (musable): Use malloc_check_get_size.
26089         * malloc/tst-malloc-usable.c: New test case.
26091 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26093         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26095 2012-09-05  Allan McRae  <allan@archlinux.org>
26097         [BZ #13966]
26098         * configure.in (CXX_SYSINCLUDES): Use compiler output to
26099         determine header location.
26100         * configure: Regenerated.
26102 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26104         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26105         float format.
26106         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26107         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26108         format.
26109         (test): Regenerate.
26111 2012-09-04  David S. Miller  <davem@davemloft.net>
26113         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26114         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26115         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26117 2012-09-04  Florian Weimer  <fweimer@redhat.com>
26119         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26120         failures.
26122         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26124 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
26126         [BZ #9914]
26127         * libio/iogetdelim.c: Include <limits.h>.
26128         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26129         + len + 1 would overflow.
26131 2012-09-03  Andreas Jaeger  <aj@suse.de>
26133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26134         * sysdeps/i386/fpu/libm-test-ulps: Update.
26136 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26138         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26139         Add s_sinf-sse2, s_conf-sse2.
26141         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26142         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26143         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26144         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26146         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26147         for using routine as __sinf_ia32.
26148         Use macro for function declaration and weak_alias.
26149         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26150         for using routine as __cosf_ia32.
26151         Use macro for function declaration and weak_alias.
26153         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26154         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26156         * sysdeps/x86_64/fpu/s_sinf.S: New file.
26157         * sysdeps/x86_64/fpu/s_cosf.S: New file.
26158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26160         * math/libm-test.inc (cos_test): Add more test cases.
26161         (sin_test): Likewise.
26162         (sincos_test): Likewise.
26164 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26166         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26167         (IFUNC_RESOLVE): Make pointers to the specialized implementations
26168         hidden.
26169         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26171 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
26173         [BZ #14538]
26174         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26175         first element of the GOT.
26176         (elf_machine_load_address): Return the difference between
26177         the runtime address of _DYNAMIC and elf_machine_dynamic ().
26179 2012-09-01  Allan McRae  <allan@archlinux.org>
26181         [BZ #13412]
26182         * configure.in (AWK): Require gawk version 3.0 or later.
26183         * configure: Regenerated.
26185 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
26187         * sysdeps/unix/sysv/linux/kernel-features.h
26188         (__ASSUME_POSIX_CPU_TIMERS): Remove.
26189         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26190         [__NR_clock_getres]: Make code unconditional.
26191         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26192         (clock_getcpuclockid): Remove code left unreachable by removal of
26193         conditionals.
26194         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26195         code unconditional.
26196         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26197         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26198         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26199         Make code unconditional.
26200         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26201         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26202         * sysdeps/unix/sysv/linux/clock_settime.c
26203         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26204         conditional code.
26205         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26206         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26208 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
26210         [BZ #14476]
26211         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26212         scripts/test-installation.pl.
26214         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26215         and $ld_so_version if it is set.
26217 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26219         [BZ #14516]
26220         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26221         failure if reading from procfs failed.
26222         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26224 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26226         * sysdeps/unix/sysv/linux/kernel-features.h
26227         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26228         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26229         Remove conditional code.
26230         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26231         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26232         Remove conditional code.
26233         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26234         * sysdeps/unix/sysv/linux/i386/fxstat.c
26235         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26236         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26237         * sysdeps/unix/sysv/linux/i386/fxstatat.c
26238         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26239         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26240         * sysdeps/unix/sysv/linux/i386/lxstat.c
26241         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26242         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26243         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26244         Remove conditional code.
26245         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26246         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26247         Remove conditional code.
26248         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26249         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26250         <kernel-features.h>.
26251         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26252         Remove.
26253         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26254         Remove conditional code.
26255         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26256         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26257         Remove conditional.
26259 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
26261         [BZ #5400]
26262         * NEWS: Add fixed bug number.
26264 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26266         [BZ #14519]
26267         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26268         underflowing exponent in case of negative sign.
26269         * stdlib/tst-strtod-round-data: Add more tests.
26270         * stdlib/tst-strtod-round.c (tests): Regenerated.
26272         [BZ #3479]
26273         * stdlib/strtod_l.c (NDIG): Remove.
26274         (HEXNDIG): Likewise.
26275         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26276         smallest representable value.
26277         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26278         lie within an exact representation of 1/2 ulp of the result.
26279         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26280         unconditionally.
26281         (TENS_P9_IDX): Define unconditionally.
26282         (TENS_P9_SIZE): Likewise.
26283         (TENS_P10_IDX): Likewise.
26284         (TENS_P10_SIZE): Likewise.
26285         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26286         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26287         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26288         entries for 10^2^13 and 10^2^14.
26289         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26290         (TENS_P13_IDX): Define.
26291         (TENS_P13_SIZE): Likewise.
26292         (TENS_P14_IDX): Likewise.
26293         (TENS_P14_SIZE): Likewise.
26294         (_fpioconst_pow10): Change array size to
26295         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
26296         unconditional.
26297         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26298         1024]: Add entries for 10^2^13 and 10^2^14.
26299         [LAST_POW10 > _LAST_POW10]: Remove #error.
26300         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26301         (_fpioconst_pow10): Change array size to
26302         FPIOCONST_POW10_ARRAY_SIZE.
26303         * stdlib/gen-fpioconst.c: New file.
26304         * stdlib/gen-tst-strtod-round.c: Likewise.
26305         * stdlib/tst-strtod-round-data: Likewise.
26306         * stdlib/tst-strtod-round.c: Likewise.
26307         * stdlib/Makefile (tests): Add tst-strtod-round.
26309         [BZ #14459]
26310         * stdlib/strtod_l.c: Include <stdint.h>.
26311         (NDEBUG): Do not define.
26312         (round_and_return): Change EXPONENT parameter to type intmax_t.
26313         Rearrange calculations to avoid internal overflow possibilities.
26314         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26315         Rearrange calculations to avoid internal overflow possibilities.
26316         Assert that number fits inside MPNSIZE limbs.
26317         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26318         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
26319         calculations and add assertions to avoid internal overflow
26320         possibilities.  Add casts to avoid signed/unsigned operations.
26321         * stdlib/tst-strtod-overflow.c: New file.
26322         * stdlib/Makefile (tests): Add tst-strtod-overflow.
26324 2012-08-25  Marek Polacek  <polacek@redhat.com>
26326         * time/time.h: Fix some typos in comments.
26328 2012-08-23  Roland McGrath  <roland@hack.frob.com>
26330         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26331         * posix/tst-rfc3484-2.c: Likewise.
26332         * posix/tst-rfc3484-3.c: Likewise.
26334 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
26336         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26337         (EF_ARM_ABI_FLOAT_HARD): Likewise.
26339 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
26341         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26342         #include of fxstatat64.c.
26344 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26346         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26347         * shadow/getspent_r.c: Likewise.
26348         * shadow/getspnam.c: Likewise.
26349         * shadow/getspnam_r.c: Likewise.
26350         * gshadow/getsgent.c: Likewise.
26351         * gshadow/getsgent_r.c: Likewise.
26352         * gshadow/getsgnam.c: Likewise.
26353         * gshadow/getsgnam_r.c: Likewise.
26354         * inet/getnetbyad.c: Likewise.
26355         * inet/getnetbyad_r.c: Likewise.
26356         * inet/getnetbynm.c: Likewise.
26357         * inet/getnetbynm_r.c: Likewise.
26358         * inet/getnetent.c: Likewise.
26359         * inet/getnetent_r.c: Likewise.
26360         * inet/getproto.c: Likewise.
26361         * inet/getproto_r.c: Likewise.
26362         * inet/getprtent.c: Likewise.
26363         * inet/getprtent_r.c: Likewise.
26364         * inet/getprtname.c: Likewise.
26365         * inet/getprtname_r.c: Likewise.
26366         * inet/getrpcbyname.c: Likewise.
26367         * inet/getrpcbyname_r.c: Likewise.
26368         * inet/getrpcbynumber.c: Likewise.
26369         * inet/getrpcbynumber_r.c: Likewise.
26370         * inet/getrpcent.c: Likewise.
26371         * inet/getrpcent_r.c: Likewise.
26372         * inet/getaliasent.c: Likewise.
26373         * inet/getaliasent_r.c: Likewise.
26374         * inet/getaliasname.c: Likewise.
26375         * inet/getaliasname_r.c: Likewise.
26376         * nscd/getgrgid_r.c: Likewise.
26377         * nscd/getgrnam_r.c: Likewise.
26378         * nscd/gethstbyad_r.c: Likewise.
26379         * nscd/gethstbynm3_r.c: Likewise.
26380         * nscd/getpwnam_r.c: Likewise.
26381         * nscd/getpwuid_r.c: Likewise.
26382         * nscd/getsrvbynm_r.c: Likewise.
26383         * nscd/getsrvbypt_r.c: Likewise.
26384         * nscd/gai.c: Likewise.
26386         * configure.in (build_nscd): New substituted variable, set
26387         by --disable-build-nscd and defaults to $use_nscd.
26388         * configure: Regenerated.
26389         * config.make.in (build-nscd): New substituted variable.
26390         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26391         Change conditional to require [$(build-nscd) = yes] as well.
26392         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26394         [BZ# 13696]
26395         * configure.in (use_nscd): New substituted variable, set by
26396         --disable-nscd.  If enabled, define USE_NSCD.
26397         * configure: Regenerated.
26398         * config.h.in: Add USE_NSCD.
26399         * config.make.in (use-nscd): New substituted variable.
26400         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26401         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26402         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26403         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26404         (CFLAGS-getgrnam_r.c): Likewise.
26405         (CFLAGS-initgroups.c): Likewise.
26406         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26407         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26408         Variables removed.
26409         * inet/getnetgrent_r.c
26410         (nscd_setnetgrent): New function, broken out of ...
26411         (setnetgrent): ... here.  Call it.
26412         (innetgr): Conditionalize nscd bits on [USE_NSCD].
26413         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26414         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26415         * nscd/Makefile (routines, aux): Move definitions after include of
26416         Makeconfig.  Conditionalize on [$(use-nscd) != no].
26417         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26418         Conditionalize on [USE_NSCD].
26419         (is_nscd, nscd_init_cb): Likewise.
26420         (nss_load_library): Conditionalize init callback on [USE_NSCD].
26421         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26422         * nss/nss_db/db-init.c: Likewise.
26423         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26424         [USE_NSCD].
26425         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26426         (make_request): Use it.
26427         (cache_valid_p): New function.
26428         (__check_pf): Use it.
26429         * NEWS: Add item for --disable-nscd.
26431 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
26433         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26434         to support sed >= 4.2.1-20-ga9bf076.
26435         * configure: Regenerated.
26437 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26439         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26440         Conditionalize whole body on [IREL].
26442 2012-08-22  Jeff Law <law@redhat.com>
26444         [BZ #14505]
26445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26446         if the family is PF_UNSPEC.
26448 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
26450         * Makerules (lib-version): Rename from V.
26451         (install-lib-nosubdir): Change V to lib-version.
26453 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
26455         [BZ #14252]
26456         * powerpc32/power6/wcschr.c: New file.
26457         * powerpc32/power6/wcscpy.c: New file.
26458         * powerpc32/power6/wcsrchr.c: New file.
26459         * powerpc64/power6/wcschr.c: New file.
26460         * powerpc64/power6/wcscpy.c: New file.
26461         * powerpc64/power6/wcsrchr.c: New file.
26463 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26465         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26466         (two_way_short_needle): Use it.
26467         * string/strstr.c (AVAILABLE1_USES_J): Define.
26468         * string/strcasestr.c: Likewise.
26470         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26471         array references.
26472         * string/strcasestr.c (TOLOWER): Make side-effect safe.
26474         [BZ #11607]
26475         * NEWS: Add an entry.
26476         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26477         define their defaults.
26478         (two_way_short_needle): Detect end-of-string on-the-fly.
26479         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26480         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26481         * string/bug-strcasestr1.c: New test.
26482         * string/Makefile: Run it.
26484 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26486         [BZ #11607]
26487         * string/str-two-way.h (two_way_short_needle): Optimize matching of
26488         the first character.
26490 2012-08-21  Roland McGrath  <roland@hack.frob.com>
26492         * csu/elf-init.c (__libc_csu_irel): Function removed.
26493         * csu/libc-start.c (apply_irel): New function.
26494         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26496 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
26498         * sysdeps/unix/sysv/linux/kernel-features.h
26499         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26500         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26501         <kernel-features.h>.
26502         [__NR_fadvise64_64]: Make code unconditional.
26503         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26504         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26505         !__NR_fadvise64_64)]: Likewise.
26506         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26507         !__NR_fadvise64_64))]: Likewise.
26508         [__NR_fadvise64]: Make code unconditional.
26509         [!__NR_fadvise64]: Remove conditional code.
26510         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26511         <kernel-features.h>.
26512         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26513         unconditional.
26514         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26515         conditional code.
26516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26517         not include <kernel-features.h>.
26518         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26519         unconditional.
26520         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26521         conditional code.
26522         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26523         include <kernel-features.h>.
26524         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26525         unconditional.
26526         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26527         conditional code.
26529 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26531         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26532         slight instruction rearrangements per scrollpipe analysis.
26533         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26535 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26537         * manual/syslog.texi (syslog; vsyslog, closelog):
26538         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26539         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26541         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26542         DSOCAPS to match condition on defining it.
26544 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26546         * sysdeps/unix/sysv/linux/kernel-features.h
26547         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26549         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26550         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26552         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26553         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26555         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26556         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26558         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26559         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26561         * sysdeps/unix/sysv/linux/kernel-features.h
26562         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26563         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26564         unconditional.
26565         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26566         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26567         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26568         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26569         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26570         Make code unconditional.
26571         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26572         (__mmap64) [!__NR_mmap2]: Likewise.
26573         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26574         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26575         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26576         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26577         [__NR_mmap2]: Make code unconditional.
26578         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26579         (__mmap64) [!__NR_mmap2]: Likewise.
26581 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26583         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26585 2012-08-18  Andreas Jaeger  <aj@suse.de>
26587         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26589 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26591         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26592         * include/unistd.h (__have_sock_cloexec): Likewise.
26593         (__have_pipe2): Likewise.
26594         (__have_dup3): Likewise.
26596 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26598         [BZ #9685]
26599         * include/unistd.h (__have_pipe2): Change define into an extern int.
26600         (__have_dup3): Likewise.
26601         * socket/have_sock_cloexec.c: Include fcntl.h.
26602         (__have_pipe2): New variable.
26603         (__have_dup3): Likewise.
26605 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26607         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26609 2012-08-17  Marek Polacek  <polacek@redhat.com>
26611         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26612         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26614 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26616         * configure.in: Add AC_SUBST for sysheaders.
26617         * configure: Regenerated.
26618         * config.make.in (sysheaders): New substituted variable.
26620         * sysdeps/unix/mkfifo.c: Moved ...
26621         * sysdeps/posix/mkfifo.c: ... here.
26622         * sysdeps/unix/mkfifoat.c: Moved ...
26623         * sysdeps/posix/mkfifoat.c: ... here.
26625         * sysdeps/unix/utime.c: Moved ...
26626         * sysdeps/posix/utime.c: ... here.
26628         * sysdeps/unix/time.c: Moved ...
26629         * sysdeps/posix/time.c: ... here.
26630         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26631         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26633         * sysdeps/unix/nice.c: Moved ...
26634         * sysdeps/posix/nice.c: ... here.
26636         * sysdeps/unix/alarm.c: Moved ...
26637         * sysdeps/posix/alarm.c: ... here.
26639         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26641 2012-08-17  Jeff Law <law@redhat.com>
26643         * intl/Makefile (codeset_mo): New variable.
26644         ($(codeset_mo)): New target.
26645         (tst-codeset.out): Depend on that.  Remove explicit rule.
26646         (tst-gettext3.out, tst-gettext5.out): Likewise.
26647         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26648         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26649         * intl/tst-codeset.sh: Remove.
26650         * intl/tst-gettext3.sh: Likewise.
26651         * intl/tst-gettext5.sh: Likewise.
26653 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26655         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26656         * sysdeps/unix/syscalls.list: ... here.
26658         * sysdeps/posix/getaddrinfo.c
26659         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26660         (gaiconf_init, gaiconf_reload): Use them.
26661         [!_STATBUF_ST_NSEC]
26662         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26663         Define using time_t rather than struct timespec.
26665         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26666         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26667         Macros removed.
26668         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26669         [!NO_THREADS].
26670         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26671         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26672         Likewise.
26674         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26675         __libc_cleanup_push argument.
26677         * bits/param.h: New file.
26678         * misc/sys/param.h: New file.
26679         * include/sys/param.h: New file.
26680         * misc/Makefile (headers): Add bits/param.h.
26681         * sysdeps/generic/sys/param.h: File removed.
26682         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26683         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26684         * sysdeps/mach/hurd/bits/param.h: New file.
26685         * sysdeps/mach/hurd/sys/param.h: File removed.
26687         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26688         last change.
26690         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26691         [_IO_MTSAFE_IO].
26692         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26693         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26694         New macros.
26696         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26697         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26698         rather than -D_IO_MTSAFE_IO conditionally.
26699         * stdio-common/Makefile (CPPFLAGS): Likewise.
26700         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26701         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26702         Use $(libio-mtsafe).
26703         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26704         of -D_IO_MTSAFE_IO.
26705         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26706         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26707         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26708         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26709         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26710         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26711         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26712         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26713         (CFLAGS-fread_u_chk.c): Likewise.
26714         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26715         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26716         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26717         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26718         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26719         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26720         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26721         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26722         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26724         * libio/Makefile: Test [$(libc-reentrant) = yes]
26725         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26727         * Makeconfig
26728         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26729         * sysdeps/pthread/configure: File removed.
26730         * sysdeps/pthread/Makeconfig: New file.
26731         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26732         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26734 2012-08-16  Gary Benson  <gbenson@redhat.com>
26736         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26737         unmapping the first object in a namespace.
26739 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26741         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26742         (__internal_setnetgrent): ... this.  Add internal_function to
26743         definition.  Add libc_hidden_def.
26744         (setnetgrent): Update caller.
26745         (internal_endnetgrent): Renamed to ...
26746         (__internal_endnetgrent): ... this.  Add internal_function to
26747         definition.  Add libc_hidden_def.
26748         (endnetgrent): Update caller.
26749         (internal_getnetgrent_r): Renamed to ...
26750         (__internal_getnetgrent_r): ... this.  Add internal_function to
26751         definition.  Add libc_hidden_def.
26752         (__getnetgrent_r): Update caller.
26753         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26755 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26757         * stdlib/longlong.h: Update from GCC.
26759 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26761         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26762         on _QL, which is set by umul_ppmm but never used.
26763         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26764         variables, which are set by GMP macros but never used.
26765         * stdio-common/_itowa.c (_itowa): Likewise.
26766         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26767         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26769 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26771         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26772         struct La_sh_regs is not constant.
26773         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26774         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26775         and struct La_sparc64_regs are not constant.
26777 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26779         * sysdeps/unix/sysv/linux/kernel-features.h
26780         (__ASSUME_POSIX_TIMERS): Remove.
26781         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26782         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26783         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26784         Make code unconditional.
26785         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26786         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26787         Make code unconditional.
26788         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26789         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26790         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26791         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26792         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26793         Make code unconditional.
26794         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26795         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26796         (__libc_missing_posix_timers): Remove.
26798 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26800         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26801         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26803         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26805         * elf/dl-sym.c: Include <stdlib.h>.
26807         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26808         constants, which avoids warnings in 32-bit builds.
26810         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26811         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26813         * misc/lseek.c: File moved to ...
26814         * io/lseek.c: ... here.
26816         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26818         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26819         shifting LEN more than 31 bits at once.
26821 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26823         [BZ #14195]
26824         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26825         segmentation fault for a case of two empty input strings.
26826         * string/test-strncasecmp.c (check1): Renamed to...
26827         (bz12205): ...this.
26828         (bz14195): Add new testcase for two empty input strings and N > 0.
26829         (test_main): Call new testcase, adapt for renamed function.
26831 2012-08-15  Andreas Jaeger  <aj@suse.de>
26833         [BZ #14090]
26834         * crypt/md5test2.c: New test, based on test supplied by Serge
26835         Belyshev <belyshev@depni.sinp.msu.ru>.
26836         * crypt/Makefile (xtests): Add md5test-giant..
26837         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26839 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26841         [BZ #14090]
26842         * crypt/md5.c (md5_process_block): Don't assume the buffer
26843         length is less than 2**32.
26844         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26845         length is less than 2**64.
26847 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26849         * string/str-two-way.h: Include <sys/param.h>.
26850         (MAX): Macro removed.
26852         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26853         Move #define and #undef of memmove to just before and after
26854         including <string.h>.
26856         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26857         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26858         and after including <string.h>.  Move declarations of
26859         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26860         to before #include "string/memmove.c".
26862         * include/dirent.h: Declare __getdirentries.
26864         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26865         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26867 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26869         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26870         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26871         * sysdeps/i386/configure: Regenerated.
26872         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26873         STABS_CURRENT_FILE, and STABS_FUN.
26874         (END): Remove call to STABS_FUN_END.
26875         (STABS_CURRENT_FILE1): Delete.
26876         (STABS_CURRENT_FILE): Likewise.
26877         (STABS_FUN): Likewise.
26878         (STABS_FUN_END): Likewise.
26879         (STABS_FUN2): Likewise.
26880         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26881         * sysdeps/x86_64/configure: Regenerated.
26883 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26885         * elf/dl-open.c: Include <atomic.h>.
26886         * elf/dl-lookup.c: Likewise.
26888 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26890         * sysdeps/unix/sysv/linux/kernel-features.h
26891         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26892         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26893         unconditionally.
26894         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26895         unconditionally.
26896         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26897         condition on __ASSUME_CLONE_THREAD_FLAGS.
26899 2012-08-14  Andreas Jaeger  <aj@suse.de>
26901         * sysdeps/i386/fpu/libm-test-ulps: Update.
26903 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26905         * include/atomic.h (atomic_exchange_and_add): Split into ...
26906         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26907         New atomic macros.
26909 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26913 2012-08-13  Jeff Law <law@redhat.com>
26915         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26916         null byte in the output string.
26918 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26920         * sysdeps/unix/sysv/linux/kernel-features.h
26921         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26922         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26923         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26924         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26925         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26926         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26927         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26929 2012-08-09  Jeff Law <law@redhat.com>
26931         [BZ #13939]
26932         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26933         When avoid_arena is set, don't retry in the that arena.  Pick the
26934         next one, whatever it might be.
26935         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26936         (arena_lock): Pass in new parameter to arena_get2.
26937         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26938         arena_get2.
26939         (__libc_malloc): Unify retrying after main arena failure with
26940         __libc_memalign version.
26941         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26943 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26945         [BZ #14166]
26946         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26947         to __redirect_strstr.
26948         (__strstr_sse42): Use typeof __redirect_strstr.
26949         (__strstr_ia32): Likewise.
26950         (__libc_strstr): New prototype.
26951         (strstr): Renamed to ...
26952         (__libc_strstr): This.
26953         (strstr): New strong alias of __libc_strstr.
26954         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26955         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26956         __redirect_time.
26957         Include <time.h>.
26958         (__libc_time): New prototype.
26959         (time_ifunc): Replace time with __libc_time.
26960         (time): New strong alias and hidden definition of __libc_time.
26961         (__GI_time): Remove strong alias.
26962         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26963         Include <stddef.h>.
26964         (memmove): Redefined to __redirect_memmove.
26965         (__memmove_sse2): Use typeof __redirect_memmove.
26966         (__memmove_ssse3): Likewise.
26967         (__memmove_ssse3_back): Likewise.
26968         (__libc_memmove): New prototype.
26969         (memmove): Renamed to ...
26970         (__libc_memmove): This.
26971         (memmove): New strong alias of __libc_memmove.
26973 2012-08-08  Mark Salter  <msalter@redhat.com>
26975         * elf/elf.h
26976         (R_MN10300_TLS_GD): Define.
26977         (R_MN10300_TLS_LD): Likewise.
26978         (R_MN10300_TLS_LDO): Likewise.
26979         (R_MN10300_TLS_GOTIE): Likewise.
26980         (R_MN10300_TLS_IE): Likewise.
26981         (R_MN10300_TLS_LE): Likewise.
26982         (R_MN10300_TLS_DTPMOD): Likewise.
26983         (R_MN10300_TLS_DTPOFF): Likewise.
26984         (R_MN10300_TLS_TPOFF): Likewise.
26985         (R_MN10300_SYM_DIFF): Likewise.
26986         (R_MN10300_ALIGN): Likewise.
26987         (R_MN10300_NUM): Update.
26989 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
26991         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26992         Remove.
26994 2012-08-08  Roland McGrath  <roland@hack.frob.com>
26996         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26998         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26999         sysdeps/unix -> sysdeps/posix move.
27000         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27002 2012-08-07      Allan McRae     <allan@archlinux.org>
27004         [BZ #14303]
27005         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27006         (SUNOS_CPP): Likewise.
27007         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27008         not found.
27009         (open_input): Call CPP using execvp.
27011 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27013         * sysdeps/unix/sysv/linux/kernel-features.h
27014         (__ASSUME_PROT_GROWSUPDOWN): Remove.
27015         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27016         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27017         (__ASSUME_WAITID_SYSCALL): Likewise.
27018         * sysdeps/unix/sysv/linux/dl-execstack.c
27019         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27020         code unconditional.
27021         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27022         conditional code.
27023         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27024         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27025         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27026         code.
27027         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27028         unconditional.
27029         [__ASSUME_WAITID_SYSCALL]: Likewise.
27030         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27032 2012-08-07  Roland McGrath  <roland@hack.frob.com>
27034         * sysdeps/unix/closedir.c: Renamed to ...
27035         * sysdeps/posix/closedir.c: ... here.
27036         * sysdeps/unix/dirfd.c: Renamed to ...
27037         * sysdeps/posix/dirfd.c: ... here.
27038         * sysdeps/unix/dirstream.h: Renamed to ...
27039         * sysdeps/posix/dirstream.h: ... here.
27040         * sysdeps/unix/fdopendir.c: Renamed to ...
27041         * sysdeps/posix/fdopendir.c: ... here.
27042         * sysdeps/unix/opendir.c: Renamed to ...
27043         * sysdeps/posix/opendir.c: ... here.
27044         * sysdeps/unix/readdir.c: Renamed to ...
27045         * sysdeps/posix/readdir.c: ... here.
27046         * sysdeps/unix/readdir_r.c: Renamed to ...
27047         * sysdeps/posix/readdir_r.c: ... here.
27048         * sysdeps/unix/rewinddir.c: Renamed to ...
27049         * sysdeps/posix/rewinddir.c: ... here.
27050         * sysdeps/unix/seekdir.c: Renamed to ...
27051         * sysdeps/posix/seekdir.c: ... here.
27052         * sysdeps/unix/telldir.c: Renamed to ...
27053         * sysdeps/posix/telldir.c: ... here.
27054         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27055         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27056         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27057         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27059         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27060         * bits/fcntl.h: ... here.
27062         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27063         not 0.
27064         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27065         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27066         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27067         (struct flock): Move l_start, l_len to the beginning.
27068         Use __pid_t for l_pid.
27069         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27070         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27071         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27072         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27073         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27074         [__USE_LARGEFILE64] (struct flock64): New type.
27075         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27077         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27078         * bits/dirent.h: ... here.
27080         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27081         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27083 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27085         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27086         Change from 2.6.0 to 2.6.16.
27087         * sysdeps/unix/sysv/linux/configure: Regenerated.
27088         * sysdeps/unix/sysv/linux/kernel-features.h
27089         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27090         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27091         version.
27092         (__ASSUME_UTIMES): Likewise.
27093         (__ASSUME_CLONE_STOPPED): Remove.
27094         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27095         architectures, not kernel version.
27096         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27097         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27098         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27099         (__ASSUME_WAITID_SYSCALL): Likewise.
27100         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27101         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27102         * README: State 2.6.16 as minimum Linux kernel version.  Do not
27103         refer to older versions.
27105 2012-08-06  Roland McGrath  <roland@hack.frob.com>
27107         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27108         Define alphasort64 as an alias.
27109         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27110         Define versionsort64 as an alias.
27111         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27112         Define scandir64 as an alias.
27113         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27114         Define scandirat64 as an alias.
27115         * dirent/alphasort64.c (alphasort64):
27116         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27117         * dirent/versionsort64.c: Likewise.
27118         * dirent/scandir64.c: Likewise.
27119         * dirent/scandirat64.c: Likewise.
27120         * sysdeps/wordsize-64/alphasort.c: File removed.
27121         * sysdeps/wordsize-64/alphasort64.c: File removed.
27122         * sysdeps/wordsize-64/scandir.c: File removed.
27123         * sysdeps/wordsize-64/scandir64.c: File removed.
27124         * sysdeps/wordsize-64/scandirat.c: File removed.
27125         * sysdeps/wordsize-64/scandirat64.c: File removed.
27126         * sysdeps/wordsize-64/versionsort.c: File removed.
27127         * sysdeps/wordsize-64/versionsort64.c: File removed.
27128         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27129         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27130         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27131         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27132         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27133         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27134         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27135         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27137         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27138         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27139         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27140         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27141         [defined __arch64__ || defined __sparcv9]
27142         (__INO_T_MATCHES_INO64_T): New macro.
27143         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27144         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27145         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27146         * sysdeps/unix/sysv/linux/bits/dirent.h
27147         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27148         (_DIRENT_MATCHES_DIRENT64): New macro.
27150         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27151         Define lockf64 as an alias.
27152         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27153         Define fseeko64 as an alias.
27154         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27155         Define ftello64 as an alias.
27156         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27157         Define _IO_fgetpos64 and fgetpos64 as aliases.
27158         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27159         Define _IO_fsetpos64 and fsetpos64 as aliases.
27160         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27161         Conditionalize body on this.
27162         * libio/fseeko64.c: Likewise.
27163         * libio/ftello64.c: Likewise.
27164         * libio/iofgetpos64.c: Likewise.
27165         * libio/iofsetpos64.c: Likewise.
27166         * sysdeps/wordsize-64/lockf.c: File removed.
27167         * sysdeps/wordsize-64/lockf64.c: File removed.
27168         * sysdeps/wordsize-64/fseeko.c: File removed.
27169         * sysdeps/wordsize-64/fseeko64.c: File removed.
27170         * sysdeps/wordsize-64/ftello.c: File removed.
27171         * sysdeps/wordsize-64/ftello64.c: File removed.
27172         * sysdeps/wordsize-64/iofgetpos.c: File removed.
27173         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27174         * sysdeps/wordsize-64/iofsetpos.c: File removed.
27175         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27176         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27177         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27178         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27179         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27180         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27181         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27182         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27183         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27184         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27185         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27187         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27188         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27189         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27190         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27191         [defined __arch64__ || defined __sparcv9]
27192         (__OFF_T_MATCHES_OFF64_T): New macro.
27193         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27194         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27195         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27196         (__OFF_T_MATCHES_OFF64_T): New macro.
27198 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27200         * stdlib/secure-getenv.c (__secure_getenv): Replace
27201         GLIBC_2_16 with GLIBC_2_17.
27203 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27205         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27206         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27208 2012-08-03  David S. Miller  <davem@davemloft.net>
27210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27212 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27214         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27215         Remove.
27216         (__ASSUME_CORRECT_SI_PID): Likewise.
27217         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27218         (__ASSUME_TMPFS_NAME): Likewise.
27219         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27220         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27221         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27222         (HAVE_AUX_SECURE): Make definition unconditional.
27223         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27224         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27226 2012-08-03  Roland McGrath  <roland@hack.frob.com>
27228         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27229         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27230         * sysdeps/mach/hurd/eloop-threshold.h: New file.
27231         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27232         __eloop_threshold instead of SYMLOOP_MAX.
27234         * sysdeps/generic/eloop-threshold.h: New file.
27235         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27236         of MAXSYMLINKS.
27237         * elf/chroot_canon.c (chroot_canon): Likewise.
27239 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27241         [BZ #13717]
27242         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27243         Change to 2.6.0 everywhere.
27244         * sysdeps/unix/sysv/linux/configure: Regenerated.
27245         * sysdeps/unix/sysv/linux/kernel-features.h
27246         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27247         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27248         kernel versions.
27249         (__ASSUME_POSIX_TIMERS): Define unconditionally.
27250         (__ASSUME_FUTEX_REQUEUE): Remove.
27251         (__ASSUME_STATFS64): Define unconditionally.
27252         (__ASSUME_AT_SECURE): Likewise.
27253         (__ASSUME_CORRECT_SI_PID): Likewise.
27254         (__ASSUME_TGKILL): Define without depending on kernel version for
27255         i386.
27256         (__ASSUME_UTIMES): Likewise.
27257         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27258         kernel version.
27259         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27260         (__ASSUME_TMPFS_NAME): Likewise.
27261         * README: Update reference to Linux kernel versions.
27263 2012-08-02  Marek Polacek  <polacek@redhat.com>
27265         [BZ# 14150]
27266         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
27267         libc_cv_asm_type_prefix with %.
27268         * configure: Regenerated.
27269         * include/libc-symbols.h: Remove comment about
27270         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27271         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27272         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27273         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27274         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27275         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27276         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27277         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27278         * elf/tst-unique2mod1.c: Likewise.
27279         * elf/tst-unique1mod2.c: Likewise.
27280         * elf/tst-unique1mod1.c: Likewise.
27281         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27282         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27283         Replace ASM_TYPE_DIRECTIVE with .type.
27284         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27285         * sysdeps/i386/sysdep.h: Likewise.
27286         * sysdeps/x86_64/sysdep.h: Likewise.
27287         * sysdeps/sh/sysdep.h: Likewise.
27288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27289         Do not define ASM_TYPE_DIRECTIVE.
27290         * sysdeps/powerpc/sysdep.h: Likewise.
27291         * sysdeps/powerpc/powerpc32/sysdep.h:
27292         Replace ASM_TYPE_DIRECTIVE with .type.
27293         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27294         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27295         * sysdeps/i386/fpu/e_powf.S: Likewise.
27296         * sysdeps/i386/fpu/e_expl.S: Likewise.
27297         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27298         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27299         * sysdeps/i386/fpu/e_pow.S: Likewise.
27300         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27301         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27302         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27303         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27304         * sysdeps/i386/fpu/e_log2.S: Likewise.
27305         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27306         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27307         * sysdeps/i386/fpu/e_powl.S: Likewise.
27308         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27309         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27310         * sysdeps/i386/fpu/e_logl.S: Likewise.
27311         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27312         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27313         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27314         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27315         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27316         * sysdeps/i386/fpu/e_log.S: Likewise.
27317         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27318         * sysdeps/i386/fpu/e_logf.S: Likewise.
27319         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27320         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27321         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27322         * sysdeps/i386/fpu/e_log10.S: Likewise.
27323         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27324         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27325         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27326         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27327         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27328         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27329         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27330         * sysdeps/i386/i686/strtok.S: Likewise.
27331         * sysdeps/i386/i386-mcount.S: Likewise.
27332         * sysdeps/i386/strtok.S: Likewise.
27333         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27334         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27335         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27336         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27337         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27338         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27339         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27340         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27341         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27342         * sysdeps/x86_64/_mcount.S: Likewise.
27343         * sysdeps/x86_64/strtok.S: Likewise.
27344         * sysdeps/sh/_mcount.S: Likewise.
27346 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27348         * libio/iofopen.c: Include <fcntl.h>.
27349         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27350         (_IO_fopen64, fopen64): Define as aliases.
27351         * libio/iofopen64.c: Include <fcntl.h>.
27352         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27353         Conditionalize body on this.
27354         * sysdeps/wordsize-64/iofopen.c: File removed.
27355         * sysdeps/wordsize-64/iofopen64.c: File removed.
27357 2012-08-01  Marek Polacek  <polacek@redhat.com>
27359         * libc/Makeconfig: Use elf in place of binfmt-subdir.
27360         Use dlfcn directly instead of a variable.
27361         (binfmt-subdir): Do not define.
27362         (dlfcn): Likewise.
27364 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
27366         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27367         Remove all definitions.
27368         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27369         <kernel-features.h>.
27370         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27371         (miss_F_GETOWN_EX): Remove all definitions.
27372         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27373         macro definition.
27374         [!__ASSUME_FCNTL64]: Remove conditional code.
27375         [__ASSUME_FCNTL64]: Make code unconditional.
27376         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27377         <kernel-features.h>.
27378         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27379         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27380         (lockf64) [__NR_fcntl64]: Make code unconditional.
27381         (lockf64) [__ASSUME_FCNTL64]: Likewise.
27383         * sysdeps/unix/sysv/linux/kernel-features.h
27384         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27385         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27386         Make code unconditional.
27387         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27388         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27390         [__NR_vfork]: Make code unconditional.
27391         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27392         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27394         [__NR_vfork]: Make code unconditional.
27395         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27396         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27398 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27400         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27401         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27403         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27404         Define mkstemp64 as an alias.
27405         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27406         Define mkstemps64 as an alias.
27407         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27408         Define mkostemp64 as an alias.
27409         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27410         Define mkostemps64 as an alias.
27411         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27412         Conditionalize body on this.
27413         * misc/mkostemp64.c: Likewise.
27414         * misc/mkostemps64.c: Likewise.
27415         * misc/mkstemps64.c: Likewise.
27416         * sysdeps/wordsize-64/mkstemp64.c: File removed.
27417         * sysdeps/wordsize-64/mkostemp64.c: File removed.
27418         * sysdeps/wordsize-64/mkostemp.c: File removed.
27419         * sysdeps/wordsize-64/mkstemp.c: File removed.
27420         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27421         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27422         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27423         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27425         [BZ #14138]
27426         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27427         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27428         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27429         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27431         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27432         compat_symbol macros from <shlib-compat.h> rather than the underlying
27433         default_symbol_version and symbol_version macros, so that DEFAULT
27434         lines in shlib-versions are respected.
27435         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27437 2012-08-01  Florian Weimer  <fweimer@redhat.com>
27439         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27440         Declare with warn_unused_result.
27441         (setgid, setregid, setegid, setresgid): Likewise.
27442         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27443         Likewise.
27444         * WUR-REPORT: Remove set*id functions.
27446 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
27448         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27450 2012-07-31  Roland McGrath  <roland@hack.frob.com>
27452         [BZ #10191]
27453         * include/sys/socket.h (__libc_accept, __libc_accept4):
27454         Add attribute_hidden.
27455         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27457         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27458         use of PTR_MANGLE.
27459         * inet/getnetgrent_r.c (setup): Likewise.
27461         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27463 2012-07-31  David S. Miller  <davem@davemloft.net>
27465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27467 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
27469         [BZ #13629]
27470         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27471         value between 1.0 and 2.0 and smaller part has absolute value less
27472         than 1.0.
27473         * math/s_clog10.c (__clog10): Likewise.
27474         * math/s_clog10f.c (__clog10f): Likewise.
27475         * math/s_clog10l.c (__clog10l): Likewise.
27476         * math/s_clogf.c (__clogf): Likewise.
27477         * math/s_clogl.c (__clogl): Likewise.
27478         * math/libm-test.inc (clog_test): Add more tests.
27479         (clog10_test): Likewise.
27480         * sysdeps/i386/fpu/libm-test-ulps: Update.
27481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27483 2012-07-31  Florian Weimer  <fweimer@redhat.com>
27485         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27486         Exit with zero in case no suitable GID is found, and write a
27487         message to standard error.
27489 2012-07-30  Roland McGrath  <roland@hack.frob.com>
27491         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27492         rather than to 1.
27493         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27494         (MAXPATHLEN): Removed.
27495         (NOGROUP, NODEV): New macros.
27496         (setbit, clrbit, isset, isclr): New macros.
27497         (howmany, roundup, powerof2): New macros.
27498         (DEV_BSIZE): New macro.
27500         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27501         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27503         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27504         definition on [!__NO_LONG_DOUBLE_MATH].
27506         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27507         PTR_MANGLE and PTR_DEMANGLE.
27509         * socket/accept4.c (accept4): Rename to __libc_accept4.
27510         Define accept4 as a weak alias.
27512         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27513         on [_DIRENT_HAVE_D_TYPE].
27514         * io/ftw.c (ftw_dir): Likewise.
27516         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27518         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27520         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27521         Use the BSD numbers rather than the arbitrary ones we had.
27522         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27523         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27524         (SIGXCPU, SIGXFSZ): New macros.
27525         (_NSIG): Now 32.
27527         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27528         initializer on [_LIBC_REENTRANT].
27530         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27531         definitions inside [_POSIX_MAPPED_FILES].
27533         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27535         * dirent/opendir.c: Include <fcntl.h>.
27537         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27538         (__libc_getspecific): Likewise.
27539         (__libc_key_create): Likewise.
27541         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27542         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27543         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27544         (tmpfile64): Define as alias.
27545         * sysdeps/wordsize-64/tmpfile.c: File removed.
27546         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27547         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27548         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27550         * stdio-common/vfscanf.c: Include <stdbool.h>.
27551         * nss/makedb.c: Likewise.
27552         * stdio-common/_i18n_number.h: Likewise.
27553         * argp/argp-help.c: Likewise.
27554         * posix/wordexp.c: Likewise.
27555         * sysdeps/posix/spawni.c: Likewise.
27556         * nss/nss_files/files-initgroups.c: Likewise.
27557         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27558         * nss/nss_files/files-initgroups.c: Likewise.
27559         * nss/nss_db/db-netgrp.c: Likewise.
27560         * nss/nss_db/db-initgroups.c: Likewise.
27561         * io/fchmodat.c: Include <sys/stat.h>.
27563         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27564         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27566         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27567         [HAVE_MMAP].
27569         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27570         Add multiple inclusion protection.
27572 2012-07-27  David S. Miller  <davem@davemloft.net>
27574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27576 2012-07-27  Gary Benson  <gbenson@redhat.com>
27578         [BZ #14298]
27579         * elf/rtld.c: Include <stap-probe.h>.
27580         (dl_main): Added static probes "init_start" and "init_complete".
27581         * elf/dl-load.c: Include <stap-probe.h>.
27582         (lose): Take new parameter "nsid".
27583         Added static probe "map_failed".
27584         (_dl_map_object_from_fd): Pass namespace id to lose.
27585         Added static probe "map_start".
27586         (open_verify): Pass namespace id to lose.
27587         * elf/dl-open.c: Include <stap-probe.h>.
27588         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27589         and "reloc_complete".
27590         * elf/dl-close.c: Include <stap-probe.h>.
27591         (_dl_close_worker): Added static probes "unmap_start" and
27592         "unmap_complete".
27593         * elf/rtld-debugger-interface.txt: New file documenting the above.
27595 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27597         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27598         rather than a string variable.
27599         * sunrpc/rpc_main.c (h_output): Likewise.
27600         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27602 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27604         * inet/check_native.c: New file.
27606 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27608         [BZ #13629]
27609         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27610         if larger part has absolute value 1.0.
27611         * math/s_clog10.c (__clog10): Likewise.
27612         * math/s_clog10f.c (__clog10f): Likewise.
27613         * math/s_clog10l.c (__clog10l): Likewise.
27614         * math/s_clogf.c (__clogf): Likewise.
27615         * math/s_clogl.c (__clogl): Likewise.
27616         * math/libm-test.inc (clog_test): Add more tests.
27617         (clog10_test): Likewise.
27618         * sysdeps/i386/fpu/libm-test-ulps: Update.
27619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27621         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27622         (pltexit): Likewise.
27623         (La_regs): Likewise.
27624         (La_retval): Likewise.
27625         (int_retval): Likewise.
27626         Update #error for removed macros to refer only to definitions in
27627         tst-audit.h.
27628         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27629         macro.
27630         (pltexit): Likewise.
27631         (La_regs): Likewise.
27632         (La_retval): Likewise.
27633         (int_retval): Likewise.
27634         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27635         macro.
27636         (pltexit): Likewise.
27637         (La_regs): Likewise.
27638         (La_retval): Likewise.
27639         (int_retval): Likewise.
27640         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27641         macro.
27642         (pltexit): Likewise.
27643         (La_regs): Likewise.
27644         (La_retval): Likewise.
27645         (int_retval): Likewise.
27646         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27647         macro.
27648         (pltexit): Likewise.
27649         (La_regs): Likewise.
27650         (La_retval): Likewise.
27651         (int_retval): Likewise.
27652         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27653         macro.
27654         (pltexit): Likewise.
27655         (La_regs): Likewise.
27656         (La_retval): Likewise.
27657         (int_retval): Likewise.
27658         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27659         macro.
27660         (pltexit): Likewise.
27661         (La_regs): Likewise.
27662         (La_retval): Likewise.
27663         (int_retval): Likewise.
27664         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27665         macro definitions in tst-audit.h.
27666         * sysdeps/i386/tst-audit.h: New file.
27667         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27668         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27669         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27670         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27671         * sysdeps/sh/tst-audit.h: Likewise.
27672         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27673         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27674         * sysdeps/x86_64/tst-audit.h: Likewise.
27676 2012-07-26  Andreas Jaeger  <aj@suse.de>
27678         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27679         ptrace.
27681         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27682         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27683         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27684         PTRACE_O_MASK.
27685         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27686         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27687         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27689         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27690         value.
27692         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27693         _sigsys.
27694         (si_call_addr, si_syscall, si_arch): Define new macro.
27695         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27696         _sigsys.
27697         (si_call_addr, si_syscall, si_arch): Define new marcro.
27698         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27699         _sigsys.
27700         (si_call_addr, si_syscall, si_arch): Define new macro.
27701         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27702         _sigsys.
27703         (si_call_addr, si_syscall, si_arch): Define new macro.
27705 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27707         [BZ #13717]
27708         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27709         Change to 2.4.21 where previously 2.4.1.
27710         * sysdeps/unix/sysv/linux/configure: Regenerated.
27711         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27712         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27713         Linux kernel version.
27714         (__ASSUME_STD_AUXV): Remove.
27715         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27716         kernel version.
27717         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27718         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27719         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27720         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27721         (__ASSUME_NETLINK_SUPPORT): Likewise.
27722         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27723         (__no_netlink_support): Remove conditional definition.
27724         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27725         Remove.
27726         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27727         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27728         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27729         (if_nameindex_ioctl): Remove.
27730         (if_nameindex_netlink): Do not handle __no_netlink_support.
27731         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27732         code.
27733         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27734         Remove conditional code.
27735         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27736         code.
27737         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27738         unconditional.
27739         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27740         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27741         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27742         Remove.
27743         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27744         [!__ASSUME_STD_AUXV]: Remove conditional code.
27745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27746         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27747         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27749         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27750         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27751         code.
27752         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27754         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27755         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27756         conditional code.
27757         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27759         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27760         code.
27761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27762         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27763         conditional code.
27764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27765         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27766         code unconditional.
27767         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27768         conditional code.
27769         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27770         unconditional.
27771         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27772         conditional code.
27773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27774         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27775         unconditional.
27776         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27777         conditional code.
27778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27779         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27780         code unconditional.
27781         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27782         conditional code.
27783         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27784         unconditional.
27785         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27786         conditional code.
27787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27788         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27789         code unconditional.
27790         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27791         conditional code.
27792         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27793         unconditional.
27794         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27795         conditional code.
27797 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27799         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27800         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27801         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27802         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27803         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27804         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27805         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27806         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27807         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27808         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27809         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27810         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27811         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27812         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27813         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27814         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27815         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27816         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27817         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27819         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27820         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27821         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27823 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27825         * Versions.def: Add GLIBC_2.17.
27826         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27827         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27828         Introduce __libc_secure_getenv.
27829         * stdlib/Versions (2.17): Add secure_getenv
27830         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27831         * stdlib/secure-getenv.c: Rename __secure_getenv to
27832         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27833         symbol __secure_getenv for GLIBC_2.0.
27834         * stdlib/tst-secure-getenv.c: New.
27835         * stdlib/Makefile (tests): Add testcase.
27836         * manual/startup.texi (Environment Access): Document
27837         secure_getenv.
27838         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27839         __libc_secure_getenv.
27840         * inet/ruserpass.c (ruserpass): Likewise.
27841         * malloc/mtrace.c (mtrace): Likewise.
27842         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27843         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27844         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27845         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27846         HAVE_SECURE_GETENV.
27847         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27848         __secure_getenv to __libc_secure_getenv.
27849         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27851         Likewise.
27852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27853         Likewise.
27854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27856         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27862 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27864         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27865         (struct La_i86_retval): Likewise.
27866         (struct La_x86_64_regs): Likewise.
27867         (struct La_x86_64_retval): Likewise.
27868         (struct La_x32_regs): Likewise.
27869         (struct La_x32_retval): Likewise.
27870         (struct La_ppc32_regs): Likewise.
27871         (struct La_ppc32_retval): Likewise.
27872         (struct La_ppc64_regs): Likewise.
27873         (struct La_ppc64_retval): Likewise.
27874         (struct La_sh_regs): Likewise.
27875         (struct La_sh_retval): Likewise.
27876         (struct La_s390_32_regs): Likewise.
27877         (struct La_s390_32_retval): Likewise.
27878         (struct La_s390_64_regs): Likewise.
27879         (struct La_s390_64_retval): Likewise.
27880         (struct La_sparc32_regs): Likewise.
27881         (struct La_sparc32_retval): Likewise.
27882         (struct La_sparc64_regs): Likewise.
27883         (struct La_sparc64_retval): Likewise.
27884         (struct audit_ifaces): Remove architecture-specific pltenter and
27885         pltexit members.
27886         * sysdeps/i386/ldsodefs.h: New file.
27887         * sysdeps/powerpc/ldsodefs.h: Likewise.
27888         * sysdeps/s390/ldsodefs.h: Likewise.
27889         * sysdeps/sh/ldsodefs.h: Likewise.
27890         * sysdeps/sparc/ldsodefs.h: Likewise.
27891         * sysdeps/x86_64/ldsodefs.h: Likewise.
27893 2012-07-25  Marek Polacek  <polacek@redhat.com>
27895         [BZ #6808]
27896         * math/libm-test.inc (yn_test): Add another test.
27897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27898         to ERANGE when the result is +-Inf.
27899         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27900         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27901         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27902         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27904 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27906         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27907         equal to 0.
27908         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27909         clock_t.
27910         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27912 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27914         * configure.in <sysdeps resolving>: Correct printing
27915         Implies_before.
27916         * configure: Regenerate.
27918 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27920         * math/w_ilogb.c: Include <limits.h>.
27921         * math/w_ilogbl.c: Likewise.
27923 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27925         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27926         va_copy.  Document allowing for unavailable va_copy only as
27927         pre-C99 compatibility.
27928         * manual/string.texi (Copying and Concatenation): Use va_copy
27929         instead of __va_copy in concat example.
27931 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27933         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27934         (__sendto): Use create_address_port.  Initialize APORT and deallocate
27935         it if not null.
27937         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27938         with O_NOLINK passed to __file_name_lookup.
27940         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27941         with O_NOLINK passed to __file_name_lookup.
27943         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27944         negative N or less than NGIDS.
27946         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27947         type to string_t.  Set ERANGE as errno and return it if NAME is not big
27948         enough.  Use memcpy instead of strncpy.
27950 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27952         * elf/Makefile (check-data): Remove.
27953         (localplt.data): New vpath directive.
27954         ($(objpfx)check-localplt.out): Use localplt.data from vpath
27955         instead of $(check-data).
27956         * scripts/data/localplt-generic.data: Move to ...
27957         * sysdeps/generic/localplt.data: ... here.
27958         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27959         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27960         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27962         ... here.
27963         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27965         ... here.
27966         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27968         ... here.
27969         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27971         ... here.
27972         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27974         ... here.
27975         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27977         ... here.
27979 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27981         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27982         PPC32 and PPC64 files.
27983         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27984         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27986 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27988         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27989         __makecontext_ret to ...
27990         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27991         ... here and call exit if uc_link is NULL.  New file.
27992         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27993         __makecontext_ret.S.
27994         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27995         __makecontext_ret to ...
27996         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27997         ... here and call exit if uc_link is NULL.  New file.
27998         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27999         __makecontext_ret.S.
28001 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28003         * elf/elf.h (R_390_IRELATIVE): New definition.
28004         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28005         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
28006         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28007         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28008         (elf_machine_lazy_rel): Likewise.
28009         * sysdeps/s390/dl-irel.h: New file.
28010         * sysdeps/s390/s390-64/memcpy.S: New asm code.
28011         * sysdeps/s390/s390-64/memset.S: New asm code.
28012         * sysdeps/s390/s390-64/memcmp.S: New asm code.
28013         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28014         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28015         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28016         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28017         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28018         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28019         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28020         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28021         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28022         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28023         * sysdeps/s390/s390-32/memcpy.S: New asm code.
28024         * sysdeps/s390/s390-32/memset.S: New asm code.
28025         * sysdeps/s390/s390-32/memcmp.S: New asm code.
28027 2012-07-17  Marek Polacek  <polacek@redhat.com>
28029         [BZ #14349]
28030         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28031         * sysdeps/s390/s390-64/configure.in: Likewise.
28032         * sysdeps/sparc/configure.in: Likewise.
28033         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28034         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28035         * sysdeps/i386/configure.in: Likewise.
28036         * sysdeps/x86_64/configure.in: Likewise.
28037         * sysdeps/sh/configure.in: Likewise.
28038         * sysdeps/s390/s390-32/configure: Regenerated.
28039         * sysdeps/s390/s390-64/configure: Likewise.
28040         * sysdeps/x86_64/configure: Likewise.
28041         * sysdeps/sh/configure: Likewise.
28042         * sysdeps/powerpc/powerpc64/configure: Likewise.
28043         * sysdeps/powerpc/powerpc32/configure: Likewise.
28044         * sysdeps/sparc/configure: Likwise.
28045         * sysdeps/i386/configure: Likewise.
28047         * elf/dl-open.c: Comment fixes.
28049 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
28051         * Makefile [CXX] (check-data): Remove.
28052         [CXX] (c++-types.data): New vpath directive.
28053         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28054         vpath.  Do not allow for C++ type data being missing.
28055         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28056         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28057         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28058         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28059         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28060         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28061         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28063         ... here.
28064         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28066         ... here.
28067         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28069         ... here.
28070         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28072         ... here.
28073         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28075         ... here.
28076         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28078         ... here.
28079         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28081         ... here.
28082         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28085         * elf/tls-macros.h (TLS_LE): Move architecture-specific
28086         definitions to architecture-specific files.
28087         (TLS_IE): Likewise.
28088         (TLS_LD): Likewise.
28089         (TLS_GD): Likewise.
28090         * sysdeps/i386/tls-macros.h: New file.
28091         * sysdeps/powerpc/tls-macros.h: Likewise.
28092         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28093         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28094         * sysdeps/sh/tls-macros.h: Likewise.
28095         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28096         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28097         * sysdeps/x86_64/tls-macros.h: Likewise.
28099 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28101         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28102         zero value for regular exit case.
28104         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28105         (__start_context): Preserve zero value for regular exit case.
28107 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28108             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28110         * manual/setjmp.texi (setcontext): Clarify normal process
28111         termination when uc_link is the null pointer.
28112         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28113         exit call.
28115 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
28117         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28118         preprocessor.  Test for each exception mask separately.
28120 2012-07-16  Andreas Jaeger  <aj@suse.de>
28122         * po/ru.po: Update from translation team.
28124 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
28126         * conform/data/string.h-data (NULL): Use macro-constant.  Require
28127         equal to 0.
28128         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28129         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28130         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28131         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28132         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28134 2012-07-13  Andreas Jaeger  <aj@suse.de>
28136         * po/fr.po: Update from translation team.
28138 2012-07-12  Marek Polacek  <polacek@redhat.com>
28140         [BZ #14173]
28141         * math/libm-test.inc (yn_test): Add test for BZ #14173.
28142         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28143         loop condition.
28145 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
28147         [BZ #13717]
28148         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28149         Change to 2.4.1 where previously 2.4.0.
28150         * sysdeps/unix/sysv/linux/configure: Regenerated.
28151         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28152         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28153         version.
28154         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28155         (__ASSUME_AT_CLKTCK): Remove.
28156         (__ASSUME_AT_PAGESIZE): Likewise.
28157         (__ASSUME_AT_XID): Likewise.
28158         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28159         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28160         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28161         unconditionally.
28162         (HAVE_AUX_PAGESIZE): Likewise.
28163         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28164         [__ASSUME_AT_CLKTCK]: Make code unconditional.
28165         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28167 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
28169         [BZ #14307]
28170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28171         the temporary buffer used to invoke __gethostbyname2_r,
28172         __gethostbyaddr_r and gethostbyname4_r to make room for struct
28173         host_data / struct gaih_addrtuple.
28174         * resolv/nss_dns/dns-host.c (global scope): Move definition of
28175         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28176         header file nss/nsswitch.h.
28177         * nss/nsswitch.h (global scope): Add definition of implementation
28178         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28179         resolv/nss_dns/dns-host.c).
28181 2012-07-11  Andreas Jaeger  <aj@suse.de>
28183         * po/fr.po: Update from translation team.
28185         * po/sv.po: Update from translation team
28186         * po/fr.po: Another update from translation team.
28188 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28190         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28191         for subnormals or multiply small sinh result by itself.
28192         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28195 2012-07-11  David S. Miller  <davem@davemloft.net>
28197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28199 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
28201         [BZ #14347]
28202         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28203         (INTERNAL_MARK): Shift it here.
28205 2012-07-10  Marek Polacek  <polacek@redhat.com>
28207         [BZ #14151]
28208         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
28209         libc_cv_asm_global_directive with .globl.
28210         * configure: Regenerated.
28211         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28212         with .globl.
28213         * sysdeps/i386/configure: Regenerated.
28214         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28215         with .globl.
28216         * sysdeps/x86_64/configure: Regenerated.
28217         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28218         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28219         * elf/tst-unique2mod2.c: Likewise.
28220         * elf/tst-unique2mod1.c: Likewise.
28221         * elf/tst-unique1mod2.c: Likewise.
28222         * elf/tst-unique1mod1.c: Likewise.
28223         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28224         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28225         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28226         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28227         * sysdeps/mach/sysdep.h: Likewise.
28228         * sysdeps/i386/sysdep.h: Likewise.
28229         * sysdeps/i386/i386-mcount.S: Likewise.
28230         * sysdeps/x86_64/_mcount.S: Likewise.
28231         * sysdeps/x86_64/sysdep.h: Likewise.
28232         * sysdeps/sh/_mcount.S: Likewise.
28233         * sysdeps/sh/sysdep.h: Likewise.
28234         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28235         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28236         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28237         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28238         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28239         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28240         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28241         * locale/localeinfo.h: Likewise.
28242         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28243         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28245 2012-07-09  Roland McGrath  <roland@hack.frob.com>
28247         [BZ #14336]
28248         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28249         system".
28250         * manual/message.texi (The Uniforum approach): Likewise.
28251         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28252         (glibc iconv Implementation): Likewise.
28254 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
28256         [BZ #14337]
28257         * math/s_clog.c (__clog): Avoid scaling a value down where that
28258         could result in underflow.
28259         * math/s_clog10.c (__clog10): Likewise.
28260         * math/s_clog10f.c (__clog10f): Likewise.
28261         * math/s_clog10l.c (__clog10l): Likewise.
28262         * math/s_clogf.c (__clogf): Likewise.
28263         * math/s_clogl.c (__clogl): Likewise.
28264         * math/libm-test.inc (clog_test): Add more tests.
28265         (clog10_test): Likewise.
28266         * sysdeps/i386/fpu/libm-test-ulps: Update.
28267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28269 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
28271         [BZ #14283]
28272         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28273         by 7 not 8 to examine high bit of fractional part.
28275         [BZ #14042]
28276         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28277         for call to __mcount_internal.
28278         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28279         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28280         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28282 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
28284         [BZ #14154]
28285         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28286         approximation for values within 0x1p-13f of an odd multiple of
28287         pi/4.
28288         * math/libm-test.inc (tan_test): Do not allow spurious underflow
28289         exception.  Add more tests.
28290         * sysdeps/i386/fpu/libm-test-ulps: Update.
28292         [BZ #6778]
28293         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28294         inputs and return -1 for them.  Do not check for +Inf in case not
28295         reachable for +Inf.
28296         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28297         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28298         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28299         and return -1 for them.  Do not check for +Inf in case not
28300         reachable for +Inf.
28301         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28302         define.
28303         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28304         and return -1 for them.  Do not check for +Inf in case not
28305         reachable for +Inf.
28306         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
28307         spurious underflow.
28308         * sysdeps/i386/fpu/libm-test-ulps: Update.
28309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28311 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
28313         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28315 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
28317         [BZ #14157]
28318         [BZ #14331]
28319         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28320         could result in spurious underflow.  Scale down values above
28321         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28322         * math/s_csqrtf.c (__csqrtf): Likewise.
28323         * math/s_csqrtl.c (__csqrtl): Likewise.
28324         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
28325         spurious underflow.
28326         * sysdeps/i386/fpu/libm-test-ulps: Update.
28327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28329 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
28331         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28332         xopen-msg.sed.
28333         * catgets/xopen-msg.awk: New file.
28334         * catgets/xopen-msg.sed: Removed.
28336         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28337         po2text.sed.
28338         * intl/po2test.awk: New file.
28339         * intl/po2test.sed: Removed.
28341 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
28343         [BZ #14328]
28344         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28345         or multiply small sinh result by itself.
28346         * math/s_ctanf.c (__ctanf): Likewise.
28347         * math/s_ctanh.c (__ctanh): Likewise.
28348         * math/s_ctanhf.c (__ctanhf): Likewise.
28349         * math/s_ctanhl.c (__ctanhl): Likewise.
28350         * math/s_ctanl.c (__ctanl): Likewise.
28351         * math/libm-test.inc (ctan_test_tonearest): New function.
28352         (ctan_test_towardzero): Likewise.
28353         (ctan_test_downward): Likewise.
28354         (ctan_test_upward): Likewise.
28355         (ctanh_test_tonearest): Likewise.
28356         (ctanh_test_towardzero): Likewise.
28357         (ctanh_test_downward): Likewise.
28358         (ctanh_test_upward): Likewise.
28359         (main): Call these new functions.
28360         * sysdeps/i386/fpu/libm-test-ulps: Update.
28361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28363 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
28365         * .gitignore: Delete /ports entry.
28367 2012-07-03  Andreas Jaeger  <aj@suse.de>
28369         * po/bg.po: Update from translation team.
28370         * po/cs.po: Likewise.
28371         * po/de.po: Likewise.
28372         * po/hr.po: Likewise.
28373         * po/nl.pl: Likewise.
28374         * po/pl.po: Likewise.
28375         * po/vi.po: Likewise.
28377 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
28379         * Makeconfig [!+link] (+link-before-libc): New variable.
28380         [!+link] (+link-after-libc): Likewise.
28381         [!+link] (+link-tests): Likewise.
28382         [!+link] (+link): Define in terms of $(+link-before-libc) and
28383         $(+link-after-libc).
28384         [!+link-static] (+link-static-before-libc): New variable.
28385         [!+link-static] (+link-static-after-libc): Likewise.
28386         [!+link-static] (+link-static-tests): Likewise.
28387         [!+link-static] (+link-static): Define in terms of
28388         $(+link-static-before-libc) and $(+link-static-after-libc).
28389         [build-shared] (link-libc-before-gnulib): New variable.
28390         [build-shared] (link-libc-tests): Likewise.
28391         [build-shared] (link-libc): Define in terms of
28392         $(link-libc-before-gnulib).
28393         [!build-shared] (link-libc-tests): New variable.
28394         (link-libc-static-tests): New variable.
28395         [!gnulib] (gnulib-arch): New variable.
28396         [!gnulib] (gnulib-tests): Likewise.
28397         [!gnulib] (static-gnulib-arch): Likewise.
28398         [!gnulib] (static-gnulib-tests): Likewise.
28399         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
28400         Define with "=" instead of ":=".
28401         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
28402         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
28403         * Rules (binaries-all-notests): New variable.
28404         (binaries-all-tests): Likewise.
28405         (binaries-static-notests): Likewise.
28406         (binaries-static-tests): Likewise.
28407         (binaries-all): Define using $(binaries-all-notests) and
28408         $(binaries-all-tests).
28409         (binaries-static): Define using $(binaries-static-notests) and
28410         $(binaries-static-tests).
28411         (binaries-shared-tests): New variable.
28412         (binaries-shared-notests): Likewise.
28413         (binaries-shared): Remove variable.
28414         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28415         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28416         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28417         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28418         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28419         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28420         * elf/Makefile (sln-modules): New variable.
28421         (extra-objs): Add $(sln-modules:=.o).
28422         (ldconfig-modules): Add static-stubs.
28423         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28424         * elf/static-stubs.c: New file.
28426         [BZ #14283]
28427         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28428         by 7 not 8 to examine high bit of fractional part.  Use volatile
28429         variables when splitting into final array of floats if
28430         __FLT_EVAL_METHOD__ != 0.
28431         * math/libm-test.inc (cos_test): Add another test.
28432         (sin_test): Likewise.
28433         * sysdeps/i386/fpu/libm-test-ulps: Update.
28435         [BZ #14273]
28436         * math/libm-test.inc (cosh_test): Add more tests.
28438         * version.h (RELEASE): Set to "development".
28439         (VERSION): Set to "2.16.90".
28441 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
28443         * NEWS: Update copyright. Remove last-updated date.
28444         Mention math library bug fixes and timezone data changes.
28445         * README: Mention GNU/Hurd, x32, and HPPA support status.
28447 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
28449         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28451 2012-06-27  Andreas Jaeger  <aj@suse.de>
28453         * manual/contrib.texi (Contributors): Add Samuel Thibault.
28455 2012-06-25  Andreas Jaeger  <aj@suse.de>
28457         * sysdeps/s390/fpu/libm-test-ulps: Update.
28459 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
28460             Thomas Schwinge  <thomas@codesourcery.com>
28462         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28463         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28464         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28465         fanotify_mark.
28467 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
28469         * sysdeps/mach/start.c: Remove file.
28470         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28471         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28472         * sysdeps/sh/init-first.c: Likewise.
28474         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28475         registers for frame unwinding purposes, add CFI directives.
28476         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28477         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28478         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28479         Likewise.
28481         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28482         __fortify_fail returning.
28483         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28485         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28486         sysdeps/sh/____longjmp_chk.S.
28487         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28488         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28489         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28490         (gen-as-const-headers): Append sigaltstack-offsets.sym.
28492         * sysdeps/sh/abort-instr.h: New file.
28493         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28494         process in case exit returns.
28496         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28497         initialize the GOT register before use.
28499         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28500         calculation of ARGC > 4.
28502         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28503         meaningful names to some local labels.
28505 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28506             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28508         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28509         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28510         (__arch_compare_and_exchange_val_16_acq): Likewise.
28511         (__arch_compare_and_exchange_val_32_acq): Likewise.
28512         (atomic_exchange_and_add): Fix gUSA sequence.
28513         (atomic_add): Likewise.
28514         (atomic_add_negative): Likewise.
28515         (atomic_add_zero): Likewise.
28516         (atomic_bit_test_set): Likewise.
28518 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28520         [BZ #13579]
28521         * include/link.h (struct link_map): Add l_free_initfini.
28522         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28523         l_initfini.
28524         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28525         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28526         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28527         set.
28529 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28531         * configure.in: Use AC_LANG_SOURCE.
28532         * configure: Regenerate.
28534 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28536         * configure.in (libc_cv_localstatedir): New substituted variable.
28537         * configure: Regenerated.
28538         * config.make.in (localstatedir): New variable, substituted from
28539         libc_cv_localstatedir.
28540         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28541         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28542         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28543         * sysdeps/gnu/configure: Regenerated.
28545 2012-06-21  Jeff Law  <law@redhat.com>
28547         [BZ #14277]
28548         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28549         free.  Simplify list management for _LIBC case.
28551 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28553         [BZ #14273]
28554         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28555         Clear sign bit of 64-bit integer value before comparing against
28556         overflow value.
28558         * sysdeps/mach/configure: Regenerated.
28560 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28562         [BZ #14278]
28563         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28565 2012-06-21  Jeff Law  <law@redhat.com>
28567         [BZ #13882]
28568         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28569         uint16_t for elements in the "seen" array to avoid char overflows.
28570         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28571         * elf/dl-open.c (dl_open_worker): Likewise.
28573 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28575         * scripts/list-sources.sh: Scan PORTS for translations.
28576         * po/libc.pot: Regenerated.
28578 2012-06-21  Andreas Jaeger  <aj@suse.de>
28580         [BZ #12194]
28581         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28582         warning.
28583         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28584         * bits/byteswap-16.h (__bswap_16): Likewise.
28585         * bits/byteswap.h (__bswap_constant_16): Likewise.
28587 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28589         [BZ #14117]
28590         * sysdeps/i386/fpu_control.h: Removed.
28591         * sysdeps/x86_64/fpu_control.h: Moved to ...
28592         * sysdeps/x86/fpu_control.h: Here.
28594         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28595         (_FPU_SETCW): Likewise.
28597 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28599         [BZ #14117]
28600         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28601         * sysdeps/x86/fpu/bits/mathinline.h: This.
28602         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28604         [BZ #14050]
28605         [BZ #14117]
28606         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28607         functions if __x86_64__ is defined.
28609 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28611         * string/endian.h: Add !__ASSEMBLER__ condition for including
28612         conversion interfaces.
28614 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28616         [BZ #14241]
28617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28618         of ABS(x) in calculating zero to negative powers other than odd
28619         integers.
28620         * math/libm-test.inc (pow_test): Add more tests.
28622 2012-06-15  Andreas Jaeger  <aj@suse.de>
28624         * manual/contrib.texi (Contributors): Update entry of Liubov
28625         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28626         Machado Filho.
28628 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28630         * string/string.h: Add __wur to GNU version of strerror_r.
28632 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28634         [BZ #14229]
28635         * string/Makefile (tests): Add tst-strtok_r.
28636         * string/tst-strtok_r.c: New file.
28637         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28638         RAX_LP/RDX_LP on SAVE_PTR.
28640 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28642         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28644 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28646         * libm_test.inc (csqrt_test): Allow more spurious underflow
28647         exceptions.
28648         (j0_test): Likewise.
28649         (j1_test): Likewise.
28650         (y0_test): Likewise.
28651         (y1_test): Likewise.
28653 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28655         * po/Makefile (libc.pot): Use UTF-8 charset.
28657 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28659         [BZ #14210]
28660         Suppress sign-conversion warning from FD_SET.
28661         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28662         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28663         not unsigned long int.
28664         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28666 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28668         [BZ #14050]
28669         [BZ #14117]
28670         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28671         __extern_always_inline instead of __extern_inline.
28672         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28673         (__signbit): Likewise.
28674         (__signbitl): Support C++ namespace.
28675         (lrintf): New inline function.
28676         (lrint): Likewise.
28677         (llrintf): Likewise.
28678         (llrint): Likewise.
28679         (fmaxf): Likewise.
28680         (fmax): Likewise.
28681         (fminf): Likewise.
28682         (fmin): Likewise.
28683         (rint): Likewise.
28684         (rintf): Likewise.
28685         (ceil): Likewise.
28686         (ceilf): Likewise.
28687         (floor): Likewise.
28688         (floorf): Likewise.
28689         (nearbyint): Likewise.
28690         (nearbyintf): Likewise.
28692 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28694         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28695         non-default versions.
28697 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28699         [BZ #14218]
28700         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28702 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28704         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28705         (FE_UPWARD, FE_DOWNWARD): Don't define.
28706         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28707         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28709         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28710         reading it.
28711         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28712         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28714 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28716         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28717         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28718         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28719         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28721 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28723         [BZ #14117]
28724         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28725         * sysdeps/i386/fpu/Implies: New file.
28726         * sysdeps/x86_64/fpu/Implies: Likewise.
28727         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28728         * sysdeps/x86/fpu/bits/fenv.h: This.
28730         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28731         __SSE_MATH__.
28733 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28735         [BZ #14134]
28736         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28737         character 0xffff that matches the last element of the
28738         conversion table.
28740 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28742         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28743         fmodl commit.
28745 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28747         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28748         values higher than 25.6283.
28750 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28752         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28753         subnormal exponent extraction and add some __builtin_expect.
28754         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28755         Fix for subnormal mantissa calculation.
28757 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28759         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28760         cpu2 is -1 and errno is not ENOSYS.
28762 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28764         [BZ #14117]
28765         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28766         * sysdeps/x86/bits/string.h: This.
28767         * sysdeps/x86_64/bits/string.h: Removed.
28769         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28770         if not compiling for x86-64, but compiling for >= i486.
28772         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28773         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28775         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28776         New macro from Linux kernel 3.4.0.
28777         (FP_XSTATE_MAGIC2): Likewise.
28778         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28779         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28780         (struct _fpx_sw_bytes): New struct.
28781         (struct _xsave_hdr): Likewise.
28782         (struct _ymmh_state): Likewise.
28783         (struct _xstate): Likewise.
28785         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28786         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28787         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28788         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28789         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28790         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28792         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28793         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28794         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28795         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28796         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28797         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28799 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28801         [BZ #13743]
28802         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28803         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28804         (sysdep_headers): Include sys/platform/ppc.h.
28805         * sysdeps/powerpc/test-gettimebase.c: Test for
28806         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28807         * manual/Makefile (appendices): Include platform.texi.
28808         * manual/contrib.texi (Contributors): Update @node pointers.
28809         * manual/maint.texi (Maintenance): Likewise.
28810         (Platform): New node.
28811         * manual/platform.texi: New file.  Document the new features.
28813 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28814             Jakub Jelinek  <jakub@redhat.com>
28816         [BZ #14188]
28817         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28818         where __builtin_expect is unavailable.
28820 2012-06-03  David S. Miller  <davem@davemloft.net>
28822         * stdlib/longlong.h: Updated from GCC.
28824 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28826         [BZ #14042]
28827         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28828         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28829         __mcount_internal.
28830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28831         (GLIBC_2.16): Likewise.
28833 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28835         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28837 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28840         (default-abi): New variable.
28841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28842         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28843         variable.
28844         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28845         Likewise.
28846         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28847         Likewise.
28848         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28849         Likewise.
28851         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28852         definition.  Document in comment.
28854 2012-06-01  David S. Miller  <davem@davemloft.net>
28856         * stdlib/longlong.h: Updated from GCC.
28858 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28860         [BZ #14117]
28861         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28862         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28863         sys/debugreg.h sys/io.h here.
28864         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28865         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28866         sys/io.h.
28867         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28868         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28869         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28870         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28871         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28872         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28874         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28875         Define only if __x86_64__ is defined.
28877 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28879         [BZ #14048]
28880         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28881         Use int64_t for variable i.
28882         * math/libm-test.inc (fmod_test): Add more tests.
28884         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28885         z computation is not scheduled after fetestexcept.
28886         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28887         Use math_force_eval instead of asm to ensure calculation scheduled
28888         before exception test.
28889         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28890         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28892 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28894         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28895         computation is not scheduled after fetestexcept.
28897 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28899         [BZ #14117]
28900         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28901         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28903 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28905         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28906         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28908 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28910         [BZ #14117]
28911         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28912         <bits/wordsize.h>.
28913         (__WCHAR_MIN): Support __WORDSIZE == 64.
28914         (__WCHAR_MAX): Likewise.
28916         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28917         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28919         [BZ #14183]
28920         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28921         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28923         [BZ #14117]
28924         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28925         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28927         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28928         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28930         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28931         Defined to 1 if __x86_64__ isn't defined.
28932         (_STAT_VER_LINUX_OLD): New.
28933         (st_atime): Remove duplicate.
28934         (st_mtime): Likewise.
28935         (st_ctime): Likewise.
28937 2012-05-31  David S. Miller  <davem@davemloft.net>
28939         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28940         entries.
28942 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
28944         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28945         gen-libm-test.pl.
28947         [BZ #14132]
28948         * elf/dl-reloc.c: Include <_itoa.h>.
28949         (_dl_reloc_bad_type): Remove use of INTUSE.
28950         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28951         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28952         * stdio-common/psiginfo.c (psiginfo): Likewise.
28953         * stdio-common/psignal.c (psignal): Likewise.
28954         * string/strsignal.c (strsignal): Likewise.
28955         * include/signal.h (_sys_siglist): Declare hidden proto.
28956         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
28957         INTVARDEF with libc_hidden_data_def.
28958         * stdio-common/itoa-udigits.c: Likewise.
28959         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28960         (_itoa_lower_digits_internal): Remove declaration.
28961         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28962         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28963         (_sys_sigabbrev_internal): Remove aliases.
28964         (_sys_siglist): Define hidden alias.
28966 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
28968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28969         bits/sysctl.h.
28971 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28973         [BZ #14117]
28974         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28975         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28977         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28978         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28979         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28980         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28981         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28982         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28984         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28985         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28986         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28988         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28989         with __addr.
28990         (insw): Likewise.
28991         (insl): Likewise.
28992         (outsb): Likewise.
28993         (outsw): Likewise.
28994         (outsl): Likewise.
28996         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28998         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29000         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29001         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29002         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29003         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29004         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29005         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29007         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29008         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29010         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29011         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29013         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29014         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29015         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29017         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29018         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29019         to ...
29020         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29022         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29023         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29024         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29026         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29027         for x86-64.
29028         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29030 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
29032         * math/math.h (M_El): Use two more decimal places.
29033         (M_LOG2El): Likewise.
29034         (M_LOG10El): Likewise.
29035         (M_LN2l): Likewise.
29036         (M_LN10l): Likewise.
29037         (M_PIl): Likewise.
29038         (M_PI_2l): Likewise.
29039         (M_PI_4l): Likewise.
29040         (M_1_PIl): Likewise.
29041         (M_2_PIl): Likewise.
29042         (M_2_SQRTPIl): Likewise.
29043         (M_SQRT2l): Likewise.
29044         (M_SQRT1_2l): Likewise.
29046 2012-05-31  David S. Miller  <davem@davemloft.net>
29048         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29049         values between float registers.
29050         * sysdeps/sparc/sparc64/memset.S: Likewise.
29051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29053 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
29055         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29056         -D_FORTIFY_SOURCE=1.
29057         (CPPFLAGS-tst-longjmp_chk.c): Define.
29058         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29059         (CPPFLAGS-tst-longjmp_chk2.c): Define.
29060         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29061         CFLAGS-tst-wchar-h.c.
29063 2012-05-31  Marek Polacek  <polacek@redhat.com>
29065         [BZ #14132]
29066         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29067         __endmntent_internal): Remove declaration.
29068         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29069         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29070         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29072 2012-05-30  David S. Miller  <davem@davemloft.net>
29074         * sysdeps/sparc/sparc32/soft-fp/q_util.c
29075         (___Q_simulate_exceptions): Use real FP ops rather than writing
29076         into the %fsr.
29077         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29078         Likewise.
29080 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29082         [BZ #14117]
29083         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29084         * sysdeps/x86/bits/xtitypes.h: This.
29086         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29087         * sysdeps/x86/bits/wordsize.h: This.
29089         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29090         * sysdeps/x86/bits/huge_vall.h: This.
29092         * sysdeps/i386/bits/select.h: Removed.
29093         * sysdeps/x86_64/bits/select.h: Renamed to ...
29094         * sysdeps/x86/bits/select.h: This.
29096         * sysdeps/i386/bits/setjmp.h: Removed.
29097         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29098         * sysdeps/x86/bits/setjmp.h: This.
29100         * sysdeps/i386/bits/mathdef.h: Removed.
29101         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29102         * sysdeps/x86/bits/mathdef.h: This.
29104 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
29106         [BZ #14132]
29107         * include/sys/socket.h (__connect_internal)
29108         (__libc_sa_len_internal): Remove declaration.
29109         (__connect, __libc_sa_len): Declare hidden_proto.
29110         (SA_LEN): Remove use of INTUSE.
29111         * socket/connect.c: Add libc_hidden_def.
29112         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29113         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29114         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29115         alias.
29116         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29117         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29118         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29119         of adding _internal alias.
29121 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29123         [BZ #14117]
29124         * sysdeps/i386/bits/link.h: Removed.
29125         * sysdeps/i386/bits/linkmap.h: Likewise.
29126         * sysdeps/x86_64/bits/link.h: Renamed to ...
29127         * sysdeps/x86/bits/link.h: This.
29128         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29129         * sysdeps/x86/bits/linkmap.h: This.
29131         * sysdeps/i386/bits/endian.h: Removed.
29132         * sysdeps/x86_64/bits/endian.h: Renamed to ...
29133         * sysdeps/x86/bits/endian.h: This.
29135         * sysdeps/i386/bits/byteswap.h: Removed.
29136         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29137         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29138         * sysdeps/x86/bits/byteswap.h: This.
29139         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29140         * sysdeps/x86/bits/byteswap-16.h: This.
29141         * sysdeps/i386/Implies: Add x86.
29142         * sysdeps/x86_64/Implies: Likewise.
29144 2012-05-30  David S. Miller  <davem@davemloft.net>
29146         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29147         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29148         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29149         (FP_TRAPPING_EXCEPTIONS): Define.
29150         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29151         (FP_TRAPPING_EXCEPTIONS): Define.
29152         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29153         subnormals only when inexact has been signalled or underflow
29154         exceptions are enabled.
29155         (_FP_PACK_CANONICAL): Likewise.
29157 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29159         [BZ #14183]
29160         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29161         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29163 2012-05-30  Richard Henderson  <rth@twiddle.net>
29165         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29166         with #ifndef NOT_IN_libc.
29168         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
29169         marked to avoid plt entry.
29171 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29173         [BZ #14112]
29174         * Makeconfig (default-abi): New macro.
29175         (abi-includes): Likewise.
29176         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
29177         $(abi-$(default-abi)-lib-soname) for soname if defined.
29178         ($(common-objpfx)gnu/lib-names.stmp): Generate from
29179         abi-variants.
29180         * Makefile (installed-stubs): Likewise.
29181         * include/stubs-biarch.h: Removed.
29182         * scripts/lib-names.awk: Only handle one library at a time.
29183         * scripts/soversions.awk: Remove WORDSIZE support.
29184         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29185         entries.
29186         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29187         Removed.
29188         (syscall-list-default-condition): Likewise.
29189         (syscall-list-default-condition): Likewise.
29190         (syscall-list-includes): Likewise.
29191         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29192         syscall-list-* with abi-*.  Handle undefined abi-variants.
29193         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29194         * sysdeps/unix/sysv/linux/i386/Implies: New file.
29195         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29196         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29197         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29198         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29199         Removed.
29200         (syscall-list-32-options): Likewise.
29201         (syscall-list-32-condition): Likewise.
29202         (syscall-list-64-options): Likewise.
29203         (syscall-list-64-condition): Likewise.
29204         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29205         macro.
29206         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29207         Renamed to ...
29208         (abi-*): This.
29209         (abi-64-ld-soname): New macro.
29210         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29211         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29212         Renamed to ...
29213         (abi-*): This.
29214         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29215         * sysdeps/x86_64/x32/shlib-versions: Likewise.
29217 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
29219         * sysdeps/unix/sysv/linux/kernel-features.h
29220         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29221         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29222         include <kernel-features.h>.
29223         [!__NR_ftruncate64]: Remove conditional code.
29224         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29225         [__NR_ftruncate64]: Make code unconditional.
29226         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29227         * sysdeps/unix/sysv/linux/truncate64.c: Do not
29228         include <kernel-features.h>.
29229         [!__NR_ftruncate64]: Remove conditional code.
29230         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29231         [__NR_ftruncate64]: Make code unconditional.
29232         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29234         include <kernel-features.h>.
29235         [!__NR_ftruncate64]: Remove conditional code.
29236         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29237         [__NR_ftruncate64]: Make code unconditional.
29238         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29240         include <kernel-features.h>.
29241         [!__NR_ftruncate64]: Remove conditional code.
29242         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29243         [__NR_ftruncate64]: Make code unconditional.
29244         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29246         * configure.in (libc_cv_fpie): Weaken to a compile test using
29247         LIBC_TRY_CC_OPTION.
29248         * configure: Regenerated.
29250 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29256         Refreshed.
29257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29263         Refreshed.
29265 2012-05-27  David S. Miller  <davem@davemloft.net>
29267         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29268         (___Q_zero): New.
29269         (__Q_simulate_exceptions): Return void.  Change to simulate
29270         exceptions by writing into the %fsr.
29271         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29272         (__Qp_handle_exceptions): Likewise.
29273         (numbers): Delete.
29274         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29275         __Qp_handle_exceptions.
29276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29277         __Qp_handle_exceptions.
29278         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29279         as unused and give dummy FP_RND_NEAREST initializer.
29280         (FP_INHIBIT_RESULTS): Define.
29281         (___Q_simulate_exceptions): Update declaration.
29282         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29283         formatting.
29284         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29285         as unused and give dummy FP_RND_NEAREST initializer.
29286         (__Qp_handle_exceptions): Update declaration.
29287         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29288         formatting.
29290 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
29292         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29293         the temporary FPU control word.
29294         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29295         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29296         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29297         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29298         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29299         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29300         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29301         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29302         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29303         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29304         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29306 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29308         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29309         fields.
29311 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
29313         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29314         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29315         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29316         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29317         Likewise.
29318         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29319         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29320         Likewise.
29322 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
29324         * po/h.po: Update from translation team.
29326 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
29328         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29330         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29331         handling of denormals.
29332         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29333         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29334         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29335         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29336         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29339         Likewise.
29341 2012-05-26  Marek Polacek  <polacek@redhat.com>
29343         [BZ #14152]
29344         * math/libm-test.inc (fma_test): Don't always expect underflow
29345         exception.
29347 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29349         [BZ #12416]
29350         * elf/tst-execstack.c: Include stackinfo.h.
29351         (do_test): Adjust test case to ensure that pthread_getattr_np
29352         behaviour remains the same after marking stack executable.
29354 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29356         * sysdeps/unix/sysv/linux/kernel-features.h
29357         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29358         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29359         kernel-features.h.
29360         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29361         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29362         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29363         kernel-features.h.
29364         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29365         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29367 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
29369         * configure.in: Define the default includes to being none.
29370         * configure: Regenerated.
29372 2012-05-25  Roland McGrath  <roland@hack.frob.com>
29374         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29375         * sysdeps/x86_64/setjmp.S: Likewise.
29376         * sysdeps/i386/bsd-setjmp.S: Likewise.
29377         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29378         * sysdeps/i386/setjmp.S: Likewise.
29379         * sysdeps/i386/__longjmp.S: Likewise.
29380         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29381         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29383         * include/stap-probe.h: New file.
29384         * configure.in: Handle --enable-systemtap.
29385         * configure: Regenerated.
29386         * config.h.in (USE_STAP_PROBE): New #undef.
29387         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29388         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29389         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29391 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29393         [BZ #13717]
29394         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29395         to 2.4.0 where earlier.
29396         * sysdeps/unix/sysv/linux/configure: Regenerated.
29397         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29398         <kernel-features.h>.
29399         [__ASSUME_32BITUIDS]: Make code unconditional.
29400         [!__ASSUME_32BITUIDS]: Remove conditional code.
29401         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29402         <kernel-features.h>.
29403         [__ASSUME_32BITUIDS]: Make code unconditional.
29404         [!__ASSUME_32BITUIDS]: Remove conditional code.
29405         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29406         [__ASSUME_32BITUIDS]: Make code unconditional.
29407         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29408         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29409         <kernel-features.h>.
29410         [__ASSUME_32BITUIDS]: Make code unconditional.
29411         [!__ASSUME_32BITUIDS]: Remove conditional code.
29412         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29413         <kernel-features.h>.
29414         [__ASSUME_32BITUIDS]: Make code unconditional.
29415         [!__ASSUME_32BITUIDS]: Remove conditional code.
29416         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29417         <kernel-features.h>.
29418         [__ASSUME_32BITUIDS]: Make code unconditional.
29419         [!__ASSUME_32BITUIDS]: Remove conditional code.
29420         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29421         <kernel-features.h>.
29422         [__ASSUME_32BITUIDS]: Make code unconditional.
29423         [!__ASSUME_32BITUIDS]: Remove conditional code.
29424         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29425         <kernel-features.h>.
29426         [__ASSUME_32BITUIDS]: Make code unconditional.
29427         [!__ASSUME_32BITUIDS]: Remove conditional code.
29428         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29429         <kernel-features.h>.
29430         [__ASSUME_32BITUIDS]: Make code unconditional.
29431         [!__ASSUME_32BITUIDS]: Remove conditional code.
29432         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29433         <kernel-features.h>.
29434         [__ASSUME_32BITUIDS]: Make code unconditional.
29435         [!__ASSUME_32BITUIDS]: Remove conditional code.
29436         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29437         <kernel-features.h>.
29438         [__ASSUME_32BITUIDS]: Make code unconditional.
29439         [!__ASSUME_32BITUIDS]: Remove conditional code.
29440         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29441         <kernel-features.h>.
29442         [__ASSUME_32BITUIDS]: Make code unconditional.
29443         [!__ASSUME_32BITUIDS]: Remove conditional code.
29444         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29445         <kernel-features.h>.
29446         [__ASSUME_32BITUIDS]: Make code unconditional.
29447         [!__ASSUME_32BITUIDS]: Remove conditional code.
29448         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29449         <kernel-features.h>.
29450         [__NR_setresgid] (__setresgid): Do not declare.
29451         [__ASSUME_32BITUIDS]: Make code unconditional.
29452         [!__ASSUME_32BITUIDS]: Remove conditional code.
29453         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29454         <kernel-features.h>.
29455         [__NR_setresuid] (__setresuid): Do not declare.
29456         [__ASSUME_32BITUIDS]: Make code unconditional.
29457         [!__ASSUME_32BITUIDS]: Remove conditional code.
29458         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29459         <kernel-features.h>.
29460         [__ASSUME_32BITUIDS]: Make code unconditional.
29461         [!__ASSUME_32BITUIDS]: Remove conditional code.
29462         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29463         <kernel-features.h>.
29464         [__ASSUME_32BITUIDS]: Make code unconditional.
29465         [!__ASSUME_32BITUIDS]: Remove conditional code.
29466         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29467         <kernel-features.h>.
29468         [__ASSUME_32BITUIDS]: Make code unconditional.
29469         [!__ASSUME_32BITUIDS]: Remove conditional code.
29470         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29471         <kernel-features.h>.
29472         [__ASSUME_32BITUIDS]: Make code unconditional.
29473         [!__ASSUME_32BITUIDS]: Remove conditional code.
29474         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29475         <kernel-features.h>.
29476         [__ASSUME_32BITUIDS]: Make code unconditional.
29477         [!__ASSUME_32BITUIDS]: Remove conditional code.
29478         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29479         <kernel-features.h>.
29480         [__ASSUME_32BITUIDS]: Make code unconditional.
29481         [!__ASSUME_32BITUIDS]: Remove conditional code.
29482         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29483         <kernel-features.h>.
29484         [__ASSUME_32BITUIDS]: Make code unconditional.
29485         [!__ASSUME_32BITUIDS]: Remove conditional code.
29486         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29487         <kernel-features.h>.
29488         [__ASSUME_32BITUIDS]: Make code unconditional.
29489         [!__ASSUME_32BITUIDS]: Remove conditional code.
29490         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29491         <kernel-features.h>.
29492         [__ASSUME_32BITUIDS]: Make code unconditional.
29493         [!__ASSUME_32BITUIDS]: Remove conditional code.
29494         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29495         <kernel-features.h>.
29496         [__ASSUME_32BITUIDS]: Make code unconditional.
29497         [!__ASSUME_32BITUIDS]: Remove conditional code.
29498         * sysdeps/unix/sysv/linux/kernel-features.h
29499         (__ASSUME_SETRESUID_SYSCALL): Remove.
29500         (__ASSUME_SETRESGID_SYSCALL): Likewise.
29501         (__ASSUME_32BITUIDS): Likewise.
29502         (__ASSUME_LDT_WORKS): Likewise.
29503         (__ASSUME_O_DIRECTORY): Likewise.
29504         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29505         architecture but not kernel version.
29506         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29507         (__ASSUME_MMAP2_SYSCALL): Likewise.
29508         (__ASSUME_STAT64_SYSCALL): Likewise.
29509         (__ASSUME_IPC64): Likewise.
29510         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29511         <kernel-features.h>.
29512         [__ASSUME_32BITUIDS]: Make code unconditional.
29513         [!__ASSUME_32BITUIDS]: Remove conditional code.
29514         * sysdeps/unix/sysv/linux/opendir.c: Do not include
29515         <kernel-features.h>.
29516         [__ASSUME_O_DIRECTORY]: Make code unconditional.
29517         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29518         132096]: Remove conditional code.
29519         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29520         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29521         <kernel-features.h>.
29522         [__ASSUME_32BITUIDS]: Make code unconditional.
29523         [!__ASSUME_32BITUIDS]: Remove conditional code.
29524         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29525         <kernel-features.h>.
29526         [__ASSUME_32BITUIDS]: Make code unconditional.
29527         [!__ASSUME_32BITUIDS]: Remove conditional code.
29528         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29529         <kernel-features.h>.
29530         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29531         unconditional.
29532         (__setresgid): Do not declare.
29533         [__ASSUME_32BITUIDS]: Make code unconditional.
29534         [!__ASSUME_32BITUIDS]: Remove conditional code.
29535         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29536         <kernel-features.h>.
29537         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29538         unconditional.
29539         (__setresuid): Do not declare.
29540         [__ASSUME_32BITUIDS]: Make code unconditional.
29541         [!__ASSUME_32BITUIDS]: Remove conditional code.
29542         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29543         <kernel-features.h>.
29544         [__ASSUME_32BITUIDS]: Make code unconditional.
29545         [!__ASSUME_32BITUIDS]: Remove conditional code.
29546         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29547         <kernel-features.h>.
29548         [__ASSUME_32BITUIDS]: Make code unconditional.
29549         [!__ASSUME_32BITUIDS]: Remove conditional code.
29551 2012-05-25  Richard Henderson  <rth@twiddle.net>
29553         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29554         dl_hwcap to ifunc resolver.
29555         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29556         elf_ifunc_invoke.
29557         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29558         dl_hwcap to ifunc resolver.
29559         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29561 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29563         [BZ #14153]
29564         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29565         for |x| <= 2**-26, not 2**-57.
29566         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29567         exception.
29569 2012-05-24  Jeff Law  <law@redhat.com>
29571         * stdio-common/Makefile (tests): Add bug25.
29572         * stdio-common/bug25.c: New test.
29574 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29576         [BZ #13576]
29577         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29578         multiple of MALLOC_ALIGNMENT in size.
29579         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29581 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29583         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29584         Require >= 256.
29585         (FILENAME_MAX): Use macro-int-constant.
29586         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29587         (_IOFBF): Use macro-int-constant.
29588         (_IOLBF): Likewise.
29589         (_IONBF): Likewise.
29590         (SEEK_CUR): Likewise.
29591         (SEEK_END): Likewise.
29592         (SEEK_SET): Likewise.
29593         (TMP_MAX): Likewise.
29594         (EOF): Use macro-int-constant.  Require < 0.
29595         (NULL): Use macro-constant.  Require == 0.
29596         (stdin): Require type to be FILE *.
29597         (stdout): Likewise.
29598         (stderr): Likewise.
29599         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29600         macro-int-constant.
29601         (EXIT_SUCCESS): Likewise.
29602         (NULL): Use macro-constant.  Require == 0.
29603         (RAND_MAX): Use macro-int-constant.
29604         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29605         [C99-based standards] (strtof): Require function.
29606         [C99-based standards] (strtold): Likewise.
29607         [C99-based standards] (strtoll): Likewise.
29608         [C99-based standards] (strtoull): Likewise.
29609         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29610         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29611         [ISO || ISO99 || ISO11] (math.h): Likewise.
29612         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29613         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29616 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29618         [BZ #14132]
29619         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29620         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29621         * intl/dgettext.c (DCGETTEXT): Likewise.
29622         * intl/gettext.c (DCGETTEXT): Likewise.
29623         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29624         * posix/regex_internal.h (gettext): Likewise.
29625         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29626         Remove declaration.
29627         * include/argz.h (__argz_count_internal)
29628         (__argz_stringify_internal): Remove declaration.
29629         (__argz_count, __argz_stringify): Declare hidden proto.
29630         * intl/dcgettext.c: Remove use of INTDEF.
29631         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29632         * string/argz-stringify.c: Likewise.
29633         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29634         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29635         Declare hidden proto.
29636         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29637         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29638         Declare hidden proto.
29639         * include/stdio.h (__asprintf_internal): Don't declare.
29640         (__asprintf): Don't define as macro.  Declare hidden proto.
29641         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29642         (__fsetlocking): Declare hidden proto.
29643         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29644         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29645         hidden proto.
29646         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29647         (_IO_setlinebuf): Remove use of INTUSE.
29648         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29649         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29650         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29651         Remove declaration.
29652         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29653         (_IO_do_flush): Remove use of INTUSE.
29654         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29655         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29656         (_IO_adjust_column, _IO_least_wmarker)
29657         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29658         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29659         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29660         (_IO_default_doallocate, _IO_wdefault_doallocate)
29661         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29662         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29663         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29664         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29665         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29666         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29667         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29668         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29669         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29670         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29671         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29672         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29673         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29674         proto.
29675         (_IO_flush_all_internal, _IO_adjust_column_internal)
29676         (_IO_default_uflow_internal, _IO_default_finish_internal)
29677         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29678         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29679         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29680         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29681         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29682         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29683         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29684         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29685         (_IO_file_close_internal, _IO_file_close_it_internal)
29686         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29687         (_IO_file_init_internal, _IO_file_attach_internal)
29688         (_IO_file_fopen_internal, _IO_file_read_internal)
29689         (_IO_file_sync_internal, _IO_file_seek_internal)
29690         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29691         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29692         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29693         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29694         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29695         (_IO_list_all_internal, _IO_link_in_internal)
29696         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29697         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29698         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29699         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29700         (_IO_do_write_internal, _IO_padn_internal)
29701         (_IO_getline_info_internal, _IO_getline_internal)
29702         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29703         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29704         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29705         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29706         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29707         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29708         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29709         with libc_hidden_ver, remove use of INTUSE.
29710         * libio/genops.c: Likewise.
29711         * libio/freopen.c: Likewise.
29712         * libio/freopen64.c: Likewise.
29713         * libio/iofclose.c: Likewise.
29714         * libio/iofdopen.c: Likewise.
29715         * libio/iofflush.c: Likewise.
29716         * libio/iofflush_u.c: Likewise.
29717         * libio/iofgets.c: Likewise.
29718         * libio/iofgets_u.c: Likewise.
29719         * libio/iofopen.c: Likewise.
29720         * libio/iofopncook.c: Likewise.
29721         * libio/iofread.c: Likewise.
29722         * libio/iofread_u.c: Likewise.
29723         * libio/ioftell.c: Likewise.
29724         * libio/iofwrite.c: Likewise.
29725         * libio/iogetline.c: Likewise.
29726         * libio/iogets.c: Likewise.
29727         * libio/iogetwline.c: Likewise.
29728         * libio/iopadn.c: Likewise.
29729         * libio/iopopen.c: Likewise.
29730         * libio/ioseekoff.c: Likewise.
29731         * libio/ioseekpos.c: Likewise.
29732         * libio/iosetbuffer.c: Likewise.
29733         * libio/iosetvbuf.c: Likewise.
29734         * libio/ioungetc.c: Likewise.
29735         * libio/ioungetwc.c: Likewise.
29736         * libio/iovdprintf.c: Likewise.
29737         * libio/iovsprintf.c: Likewise.
29738         * libio/iovsscanf.c: Likewise.
29739         * libio/memstream.c: Likewise.
29740         * libio/obprintf.c: Likewise.
29741         * libio/oldfileops.c: Likewise.
29742         * libio/oldiofclose.c: Likewise.
29743         * libio/oldiofdopen.c: Likewise.
29744         * libio/oldiofopen.c: Likewise.
29745         * libio/oldiopopen.c: Likewise.
29746         * libio/oldstdfiles.c: Likewise.
29747         * libio/putc.c: Likewise.
29748         * libio/setbuf.c: Likewise.
29749         * libio/setlinebuf.c: Likewise.
29750         * libio/stdfiles.c: Likewise.
29751         * libio/strops.c: Likewise.
29752         * libio/vasprintf.c: Likewise.
29753         * libio/vscanf.c: Likewise.
29754         * libio/vsnprintf.c: Likewise.
29755         * libio/vswprintf.c: Likewise.
29756         * libio/wfiledoalloc.c: Likewise.
29757         * libio/wfileops.c: Likewise.
29758         * libio/wgenops.c: Likewise.
29759         * libio/wmemstream.c: Likewise.
29760         * libio/wstrops.c: Likewise.
29761         * libio/__fpurge.c: Likewise.
29762         * libio/__fsetlocking.c: Likewise.
29763         * assert/assert.c: Likewise.
29764         * debug/fgets_chk.c: Likewise.
29765         * debug/fgets_u_chk.c: Likewise.
29766         * debug/fread_chk.c: Likewise.
29767         * debug/fread_u_chk.c: Likewise.
29768         * debug/gets_chk.c: Likewise.
29769         * debug/obprintf_chk.c: Likewise.
29770         * debug/vasprintf_chk.c: Likewise.
29771         * debug/vdprintf_chk.c: Likewise.
29772         * debug/vsnprintf_chk.c: Likewise.
29773         * debug/vsprintf_chk.c: Likewise.
29774         * malloc/mtrace.c: Likewise.
29775         * misc/error.c: Likewise.
29776         * misc/syslog.c: Likewise.
29777         * stdio-common/asprintf.c: Likewise.
29778         * stdio-common/fxprintf.c: Likewise.
29779         * stdio-common/getw.c: Likewise.
29780         * stdio-common/isoc99_fscanf.c: Likewise.
29781         * stdio-common/isoc99_scanf.c: Likewise.
29782         * stdio-common/isoc99_vfscanf.c: Likewise.
29783         * stdio-common/isoc99_vscanf.c: Likewise.
29784         * stdio-common/isoc99_vsscanf.c: Likewise.
29785         * stdio-common/printf-prs.c: Likewise.
29786         * stdio-common/printf_fp.c: Likewise.
29787         * stdio-common/printf_fphex.c: Likewise.
29788         * stdio-common/printf_size.c: Likewise.
29789         * stdio-common/putw.c: Likewise.
29790         * stdio-common/scanf.c: Likewise.
29791         * stdio-common/sprintf.c: Likewise.
29792         * stdio-common/tmpfile.c: Likewise.
29793         * stdio-common/vfprintf.c: Likewise.
29794         * stdio-common/vfscanf.c: Likewise.
29795         * stdlib/strfmon_l.c: Likewise.
29796         * sunrpc/openchild.c: Likewise.
29797         * sunrpc/xdr_stdio.c: Likewise.
29798         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29799         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29801 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29803         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29805         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29806         in the third column, to generate for the shared library an IFUNC
29807         that uses _dl_vdso_vsym.
29808         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29809         * Makeconfig (object-suffixes-noshared): New variable.
29811         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29812         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29813         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29814         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29816         [BZ #14132]
29817         * include/sys/time.h (__gettimeofday): Remove macro.
29818         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29819         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29820         Remove INTDEF.
29821         (__gettimeofday): Add libc_hidden_def.
29822         (gettimeofday): Add libc_hidden_weak.
29823         * sysdeps/mach/gettimeofday.c: Likewise.
29824         * sysdeps/posix/gettimeofday.c: Likewise.
29825         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29826         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29827         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29828         (__gettimeofday_internal): Remove strong_alias.
29829         (__gettimeofday): Add libc_hidden_def.
29830         (gettimeofday): Add libc_hidden_weak.
29831         * sysdeps/unix/syscalls.list (gettimeofday):
29832         Remove __gettimeofday_internal alias.
29834 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29835             H.J. Lu  <hongjiu.lu@intel.com>
29837         [BZ #12495]
29838         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29839         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29840         (largebin_index_32_big): New.
29841         (largebin_index): Use it for 16-byte alignment.
29842         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29843         correction with front_misalign.
29845 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29849         Likewise.
29850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29851         Likewise.
29852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29853         Likewise.
29854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29855         Likewise.
29856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29857         Likewise.
29858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29859         Likewise.
29860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29861         Likewise.
29862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29863         Likewise.
29864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29865         Likewise.
29866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29867         Likewise.
29868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29869         Likewise.
29870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29871         Likewise.
29873         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29874         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29876 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29878         [BZ #10846]
29879         [BZ #14036]
29880         * math/libm-test.inc (exp_test): Add test from bug 14036.
29881         (pow_test): Add test from bug 10846.
29883         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29884         and other flags.
29885         (special_function): Do not include flags in test name.
29886         (parse_args): Likewise.
29887         * sysdeps/i386/fpu/libm-test-ulps: Update.
29888         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29889         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29890         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29893         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29894         exceptions.
29895         * math/libm-test.inc ("Philosophy"): Update comment about
29896         exception testing.
29897         (UNDERFLOW_EXCEPTION): New macro.
29898         (UNDERFLOW_EXCEPTION_OK): Likewise.
29899         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29900         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29901         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29902         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29903         (INVALID_EXCEPTION_OK): Update value.
29904         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29905         (OVERFLOW_EXCEPTION_OK): Likewise.
29906         (IGNORE_ZERO_INF_SIGN): Likewise.
29907         (test_exceptions): Handle underflow exceptions.
29908         (acos_test): Update for underflow exception expectations.
29909         (cexp_test): Likewise.
29910         (clog_test): Likewise.
29911         (clog10_test): Likewise.
29912         (csqrt_test): Likewise.
29913         (ctan_test): Likewise.
29914         (ctanh_test): Likewise.
29915         (exp_test): Likewise.
29916         (exp10_test): Likewise.
29917         (exp2_test): Likewise.
29918         (expm1_test): Likewise.
29919         (fma_test): Likewise.
29920         (j0_test): Likewise.
29921         (jn_test): Likewise.
29922         (nexttoward_test): Likewise.
29923         (pow_test): Likewise.
29924         (scalbn_test): Likewise.
29925         (scalbln_test): Likewise.
29926         (tan_test): Likewise.
29927         (y1_test): Likewise.
29928         * sysdeps/i386/fpu/libm-test-ulps: Update.
29929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29931 2012-05-23  David S. Miller  <davem@davemloft.net>
29933         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29934         (__libc_sigaction): Remove unused local variables.
29936 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29938         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29940 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
29942         mktime: avoid signed integer overflow
29943         * time/mktime.c (__mktime_internal): Do not mishandle the case
29944         where diff == INT_MIN.
29946         mktime: simplify computation of average
29947         * time/mktime.c (ranged_convert): Use new time_t_avg function
29948         instead of rolling our own (probably-slower) code.
29950         mktime: do not assume signed right shift propagates sign bit
29951         * time/mktime.c (isdst_differ): New static function.
29952         (__mktime_internal): No need to normalize tm_isdst now.
29953         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29954         tm_isdst values.
29956         mktime: merge another wrapv change from gnulib
29957         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29958         from some compilers.
29960         mktime: remove incorrect attempt at unusual arithmetics
29961         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29962         The code didn't really work on such machines anyway.
29963         (TYPE_MINIMUM): Assume two's complement.
29964         (twos_complement_arithmetic): Verify that long_int and time_t
29965         are two's complement (or unsigned, in the latter case).
29967         mktime: check signed shifts on long_int and time_t, too
29968         * time/mktime.c (SHR): Check that shifts work as desired
29969         on the types long_int and time_t too, as SHR is used on
29970         such types.
29972         mktime: do not assume 'long' is wide enough
29973         * time/mktime.c (verify): Move decl up.
29974         (long_int): New type.
29975         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29976         to remove assumption in the code that 'long' is wide enough to
29977         store year values.  This assumption is not true on x32 and on
29978         some non-glibc platforms.
29980         mktime: merge wrapv change from gnulib
29981         * time/mktime.c (WRAPV): New macro.
29982         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29983         (guess_time_tm, __mktime_internal): Do not assume that signed
29984         integer overflow wraps around; modern compilers generate code
29985         where this assumption is no longer valid.
29987 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29989         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29990         Replace "jmp L(pseudo_end)" with "ret".
29991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29992         Likewise.
29994 2012-05-23  Andreas Jaeger  <aj@suse.de>
29996         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29997         * sysdeps/unix/sysv/linux/poll.c: Remove file.
29999 2012-05-23  Andreas Jaeger  <aj@suse.de>
30000             Maximilian Attems  <max@stro.at>
30002         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30003         New macros.
30005 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30007         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30008         code so that pseudo_end is just ret and the stack pointer is
30009         correct also for static library in error case.
30011 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
30013         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30014         move to syscalls.list.
30015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30020         * manual/install.texi (Running make install): Do not mention Linux
30021         kernel version for which pt_chown is not needed.
30022         (Linux): Do not mention problems with nscd with 2.0 kernels.
30023         * INSTALL: Regenerated.
30025 2012-05-23  Andreas Jaeger  <aj@suse.de>
30027         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30028         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30029         macro.
30030         * sysdeps/unix/sysv/linux/s390/bits/mman.h
30031         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30032         * sysdeps/unix/sysv/linux/sh/bits/mman.h
30033         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30034         * sysdeps/unix/sysv/linux/i386/bits/mman.h
30035         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30036         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30037         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30038         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30039         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30040         * sysdeps/unix/sysv/linux/bits/in.h
30041         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30043 2012-05-22  Roland McGrath  <roland@hack.frob.com>
30045         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30046         (PREPARE_VERSION): Just use assert instead, it will be elided
30047         under [NDEBUG] anyway.
30049 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30051         * sysdeps/unix/sysv/linux/Makefile: Include
30052         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30053         (sysdep_routines): Remove sysctl.
30054         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30055         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30056         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30057         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30058         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30060 2012-05-22  Andreas Jaeger  <aj@suse.de>
30062         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30063         that pseudo_end is just ret and the stack pointer is correct also
30064         for static library in error case.
30066 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30068         [BZ #14122]
30069         * nss/nsswitch.c (defconfig_entries): New variable.
30070         (__nss_database_lookup): Don't leak defconfig entries.
30071         (nss_parse_service_list): Don't leak on error paths.
30072         (free_database_entries): New function.
30073         (free_defconfig): New function.
30074         (free_mem): Move common code to free_database_entries.
30076 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30078         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30079         Add arch_prctl.
30080         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30082         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30083         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30084         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30085         New macro.
30086         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30087         (INTERNAL_SYSCALL_TYPES): Likewise.
30088         (LOAD_ARGS_TYPES_[1-6]): Likewise.
30089         (LOAD_REGS_TYPES_[1-6]): Likewise.
30090         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30091         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30093 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30095         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30096         copysignl for GLIBC_2_0.
30097         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30098         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30099         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30100         logbl for GLIBC_2_0.
30101         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30102         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30104 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30106         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30107         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30109         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30110         Use "neg %eax".
30112         * time/mktime.c: Update copyright years.
30114 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30116         mktime: merge comment-quoting-style change from gnulib
30117         * time/mktime.c: Quote 'like this' in comments.
30118         The GNU coding standards suggest that we no longer quote `like this',
30119         as "`" and "'" are typically rendered asymmetrically nowadays.
30120         The typical gnulib style is to quote 'like this' when quoting
30121         code, and "like this" when quoting English.
30123         * time/mktime.c (compile-command): Add "-I.".
30125         mktime: merge mktime-internal.h change from gnulib
30126         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30128         mktime: merge time_r change from gnulib
30129         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30131         mktime: merge DEBUG change from gnulib
30132         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30133         case system <time.h> has a #define.
30135         mktime: merge <sys/types.h> change from gnulib
30136         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30137         since <time.t> is now guaranteed to define time_t.
30139         mktime: merge HAVE_CONFIG_H change from gnulib
30140         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30142 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30144         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30145         Use "neg %eax".
30147         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30148         __rlim_t cast.
30149         (struct rusage): Use anonymous union to pad each field to
30150         __syscall_slong_t.
30152 2012-05-21  David S. Miller  <davem@davemloft.net>
30154         * Makefules (o-iterator): Remove .s cases.
30155         (compile-command.s): Delete.
30156         (COMPILE.s): Delete.
30157         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30159 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
30161         * configure.in (libc_cv_predef_stack_protector): Only consider
30162         "foobar" and "__stack_chk_fail" lines in libc_undefs.
30163         * configure: Regenerated.
30165 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30168         New macro.  Use R*LP on int and pointer.
30169         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30170         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30171         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30172         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30174         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30175         [__WORDSIZE_TIME64_COMPAT32] instead of
30176         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30177         (struct utmp): Likewise.
30178         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30179         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30180         Renamed to ...
30181         (__WORDSIZE_TIME64_COMPAT32): This.
30182         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30183         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30184         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30185         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30186         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30187         (__WORDSIZE_TIME64_COMPAT32): New macro.
30189 2012-05-21  Andreas Jaeger  <aj@suse.de>
30191         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30192         only if [SHARED]. Add prototype for __wcschr_ia32.
30194 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30196         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30197         of %rbp unmolested in the jmp_buf while mangling the low bits.
30198         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30199         unmolested high bits of %rbp while demangling the low bits.
30200         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30202 2012-05-21  Andreas Jaeger  <aj@suse.de>
30204         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30205         * sunrpc/svc_simple.c: Use it for registerrpc.
30206         * sunrpc/xcrypt.c: Use it for passwd2des.
30208         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30210 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30212         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30213         Don't define if [__SYSCALL_WORDSIZE != 32].
30214         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30215         New macro.
30217 2012-05-21  Bruno Haible  <bruno@clisp.org>
30218             Andreas Jaeger  <aj@suse.de>
30220         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30221         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30222         inptr and inend for must_buffer_ch.
30223         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30224         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30225         * stdio-common/Makefile (tests): Remove bug15.
30226         (bug15-ENV): Remove macro.
30227         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30228         anymore.
30230 2012-05-19  Andreas Jaeger  <aj@suse.de>
30231             Roland McGrath  <roland@hack.frob.com>
30233         * manual/contrib.texi: Completely rewritten. It contains now an
30234         alphabetical list of contributors and their contributions.
30236 2012-05-21  Richard Henderson  <rth@twiddle.net>
30238         * misc/getauxval.c (__getauxval): Use unsigned long int.
30239         * misc/sys/auxv.h: Include <sys/cdefs.h>.
30240         (getauxval): Use unsigned long int.
30242 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30244         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30246 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30248         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30249         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30250         __alignof__ (long double).
30252 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30256 2012-05-20  Richard Henderson  <rth@twiddle.net>
30258         * misc/getauxval.c: New file.
30259         * misc/sys/auxv.h: New file.
30260         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30261         (routines): Add getauxval.
30262         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30263         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30264         * elf/dl-sysdep.c (_dl_auxv): Remove.
30265         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30266         * elf/dl-support.c (_dl_auxv): New variable.
30267         (_dl_aux_init): Initialize it.
30268         * manual/startup.texi (Auxiliary Vector): New node.
30269         * sysdeps/generic/bits/hwcap.h: New file.
30270         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30271         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
30272         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30273         * sysdeps/sparc/sysdep.h: ... here.  Include it.
30274         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30275         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30277         Update.
30278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30281         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30287 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30291 2012-05-19  David S. Miller  <davem@davemloft.net>
30293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30295 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30297         [BZ #14123]
30298         * math/s_ccosh.c: Include <float.h>
30299         (__ccosh): Avoid internal overflow calculating sinh and cosh
30300         values before multiplying by sin and cos values.
30301         * math/s_ccoshf.c: Likewise.
30302         * math/s_ccoshl.c: Likewise.
30303         * math/s_csin.c: Likewise.
30304         * math/s_csinf.c: Likewise.
30305         * math/s_csinl.c: Likewise.
30306         * math/s_csinh.c: Likewise.
30307         * math/s_csinhf.c: Likewise.
30308         * math/s_csinhl.c: Likewise.
30309         * math/libm-test.inc (ccos_test): Add more tests.
30310         (ccosh_test): Likewise.
30311         (csin_test): Likewise.
30312         (csinh_test): Likewise.
30313         * sysdeps/i386/fpu/libm-test-ulps: Update.
30314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30316 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
30318         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30319         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30321         * sysdeps/x86_64/x32/_itoa.h: Add comment.
30323 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30325         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30326         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30327         * sysdeps/powerpc/soft-fp/Versions: Likewise.
30328         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30329         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30330         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30331         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30332         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30333         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30334         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30335         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30336         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30337         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30338         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30339         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30340         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30341         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30342         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30343         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30344         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30345         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30346         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30347         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30348         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30349         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30350         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30351         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30352         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30353         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30354         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30355         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30357 2012-05-18  Andreas Jaeger  <aj@suse.de>
30359         * csu/.gitignore: Delete.
30361 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30363         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30364         (timex): Use __syscall_slong_t.
30366 2012-05-18  Andreas Jaeger  <aj@suse.de>
30367             Carlos O'Donell  <carlos_odonell@mentor.com>
30369         * manual/install.texi (Configuring and compiling): Update
30370         description about files modified in the source directory.
30371         * INSTALL: Regenerated.
30373 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30375         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30376         value.  Use "or" to set return value to -1.
30377         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30378         negate return value.
30380 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30382         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30383         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30384         failure if the compiler has Graphite support disabled.
30385         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30386         Likewise.
30387         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30388         (CFLAGS-memmove.c): Likewise.
30389         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30390         Likewise.
30392 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30394         * sysdeps/x86_64/x32/_itoa.h: New file.
30396         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30397         getdents system call only if kernel and user dirents have the
30398         same d_ino and d_off.
30400         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30401         LLONG_MAX != LONG_MAX.
30402         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30403         (_fitoa_word): Likewise.
30405         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30406         years.
30407         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30408         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30409         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30411         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30412         include <bits/wordsize.h>.  Check __x86_64__ instead of
30413         __WORDSIZE.
30414         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30415         if __x86_64__ is defined.  Use anonymous union on fpstate.
30417         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30418         anonymous union.
30420 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
30422         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30423         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30424         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30425         Refer to _rtld_local_ro instead of _rtld_global_ro.
30426         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30427         Likewise.
30428         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30429         Likewise.
30430         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30431         Likewise.
30432         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30433         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30434         of _rtld_global, and rtld_progname instead of _dl_argv[0].
30436         * sysdeps/powerpc/powerpc32/dl-machine.c
30437         (__elf_machine_runtime_setup) [PROF]: Don't reference
30438         _dl_prof_resolve.
30440 2012-05-18  Andreas Jaeger  <aj@suse.de>
30442         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30443         function only available for GCCs before 3.4 since GCC 3.4
30444         introduced a builtin.
30445         (lrint): Likewise.
30446         (llrintf): Likewise.
30447         (llrint): Likewise.
30448         (fmaxf): Likewise.
30449         (fmax): Likewise.
30450         (fminf): Likewise.
30451         (fmin): Likewise.
30452         (rint): Likewise.
30453         (rintf): Likewise.
30454         (nearbyint): Likewise.
30455         (nearbyintf): Likewise.
30456         (ceil): Likewise.
30457         (ceilf): Likewise.
30458         (floor): Likewise.
30459         (floorf): Likewise.
30461 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30463         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30464         on both fields and cast pointer to __syscall_ulong_t.
30466         * bits/types.h (__fsword_t): New type.
30467         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30468         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30469         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30470         (__FSWORD_T_TYPE): Likewise.
30471         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30472         (__FSWORD_T_TYPE): Likewise.
30473         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30474         (__FSWORD_T_TYPE): Likewise.
30475         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30476         (__FSWORD_T_TYPE): Likewise.
30477         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30478         __SWORD_TYPE with __fsword_t.
30479         (statfs64): Likewise.
30481 2012-05-17  David S. Miller  <davem@davemloft.net>
30483         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30485 2012-05-17  Andreas Jaeger  <aj@suse.de>
30487         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30488         warning.
30490 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30492         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30494 2012-05-17  Andreas Jaeger  <aj@suse.de>
30496         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30497         when it is used.
30499 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30501         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30503 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30505         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30506         * sysdeps/x86_64/tst-mallocalign1.c: New file.
30508 2012-05-17  Andreas Jaeger  <aj@suse.de>
30509             Carlos O'Donell  <carlos_odonell@mentor.com>
30511         [BZ #14059]
30512         * sysdeps/x86_64/multiarch/init-arch.h
30513         (bit_YMM_Usable): Rename to...
30514         (bit_AVX_Usable): ... this.
30515         (bit_FMA4_Usable): New macro.
30516         (bit_XMM_state): New macro.
30517         (bit_YMM_state): New macro.
30518         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30519         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30520         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30521         (CPUID_OSXSAVE): New macro.
30522         (CPUID_AVX): New macro.
30523         (CPUID_FMA4): New macro.
30524         (index_YMM_Usable): Rename to...
30525         (index_AVX_Usable): ... this.
30526         (HAS_AVX): Use HAS_ARCH_FEATURE.
30527         (HAS_FMA4): Likewise.
30528         (HAS_YMM_USABLE): Remove.
30529         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30530         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30531         are present.
30532         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30533         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30534         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30535         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30536         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30538 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30540         * math/libm-test.c: Support platforms without multiple rounding modes.
30541         * math/bug-nextafter.c: Support platforms without FP exceptions.
30542         * math/bug-nexttoward.c: Likewise.
30543         * math/test-fenv.c: Likewise.
30544         * math/test-misc.c: Likewise.
30545         * stdlib/bug-getcontext.c: Likewise.
30547 2012-05-17  Andreas Jaeger  <aj@suse.de>
30549         * manual/examples/search.c (critter_cmp): Change signature to
30550         avoid warnings.
30551         * manual/string.texi (Collation Functions): Likewise.
30553 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30555         * bits/types.h: Fold copyright years.
30556         * bits/typesizes.h: Likewise.
30557         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30558         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30559         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30560         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30561         * time/time.h: Likewise.
30563 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30565         [BZ #208]
30566         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30567         in instead of returning them.  Return void.
30568         (__libc_mallinfo): Accumulate over all arenas.
30569         (__malloc_stats): Adjust for change in int_mallinfo interface.
30571 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30573         [BZ #10375]
30574         * configure.in (NM): Add AC_CHECK_TOOL for it.
30575         (libc_extra_cflags): New substituted variable.
30576         Check for -fstack-protector being used implicitly.
30577         * configure: Regenerated.
30578         * config.make.in (config-extra-cflags): New variable,
30579         gets @libc_extra_cflags@.
30580         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30582         [BZ #10375]
30583         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30584         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30585         * configure: Regenerated.
30586         * config.make.in (CPPUNDEFS): New substituted variable.
30587         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30588         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30589         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30591 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30593         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30594         (mq_attr): Use __syscall_slong_t.
30596 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30598         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30599         Check __x86_64__ instead of __WORDSIZE.
30600         (_STAT_VER_LINUX): Likewise.
30601         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30602         __syscall_ulong_t and __syscall_slong_t.
30603         (stat64): Likewise.
30605 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30607         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30609 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30611         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30613 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30615         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30616         __syscall_ulong_t.
30618         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30619         include <bits/wordsize.h>.  Check __x86_64__ instead of
30620         __WORDSIZE.
30621         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30622         defined.
30623         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30625         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30626         include <bits/wordsize.h>.  Check __x86_64__ instead of
30627         __WORDSIZE.
30628         (user_regs_struct): Use "__extension__ unsigned long long"
30629         instead of "unsigned long" if __x86_64__ is defined.
30630         (user): Likewise.  Pad after pointer field if __ILP32__ is
30631         defined.
30633 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30635         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30636         versions 5 to 9.
30637         * configure: Regenerated.
30638         * manual/install.texi (texinfo): Increase version requirement to
30639         4.5 or later.
30640         * INSTALL: Regenerated.
30642         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30644 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30646         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30648         * sysdeps/x86_64/x32/ffs.c: New file.
30650         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30651         __syscall_ulong_t.
30652         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30653         defined.  Use __syscall_ulong_t.
30654         (shminfo): Use __syscall_ulong_t.
30655         (shm_info): Likewise.
30657         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30658         __syscall_ulong_t.
30660         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30661         <bits/wordsize.h>.
30662         (msgqnum_t): Use __syscall_ulong_t.
30663         (msglen_t): Likewise.
30664         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30665         __syscall_ulong_t.
30667         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30668         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30670         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30672         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30673         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30675         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30676         __syscall_slong_t.
30678         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30679         include <bits/wordsize.h>.  Check __x86_64__ instead of
30680         __WORDSIZE.
30682         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30683         "unsigned long long int" if __x86_64__ is defined.
30684         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30686         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30687         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30688         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30690         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30691         <stdint.h>.
30692         (GET_PC): Cast to uintptr_t first.
30693         (GET_FRAME): Likewise.
30694         (GET_STACK): Likewise.
30696         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30697         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30698         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30699         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30700         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30701         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30702         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30703         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30704         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30705         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30706         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30707         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30708         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30709         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30710         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30711         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30712         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30713         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30714         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30715         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30716         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30717         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30718         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30719         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30720         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30721         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30722         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30723         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30724         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30726 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30728         * Makerules (+depfiles): Also collect depfiles from .oS in
30729         $(extra-objs).
30730         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30731         .oS, $(libnldbl-routines)).
30733         * Makerules (native-compile-mkdep-flags): Define.
30734         * sunrpc/Makefile (extra-objs): Add $(addprefix
30735         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30736         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30737         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30738         calling $(make-target-directory).
30740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30742         * bits/types.h (__snseconds_t): Removed.
30743         * time/time.h (struct timespec): Replace __snseconds_t with
30744         __syscall_slong_t.
30745         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30746         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30747         Likewise.
30748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30749         (__SNSECONDS_T_TYPE): Likewise.
30750         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30751         (__SNSECONDS_T_TYPE): Likewise.
30752         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30753         (__SNSECONDS_T_TYPE): Likewise.
30755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30757         * sysdeps/mach/hurd/bits/typesizes.h
30758         (__SYSCALL_SLONG_TYPE): New macro.
30759         (__SYSCALL_ULONG_TYPE): Likewise.
30761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30763         * bits/types.h (__syscall_slong_t): New type.
30764         (__syscall_ulong_t): Likewise.
30766         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30767         (__SYSCALL_ULONG_TYPE): Likewise.
30768         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30769         (__SYSCALL_SLONG_TYPE): Likewise.
30770         (__SYSCALL_ULONG_TYPE): Likewise.
30771         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30772         (__SYSCALL_SLONG_TYPE): Likewise.
30773         (__SYSCALL_ULONG_TYPE): Likewise.
30774         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30775         (__SYSCALL_SLONG_TYPE): Likewise.
30776         (__SYSCALL_ULONG_TYPE): Likewise.
30778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30780         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30781         Add sigaltstack-offsets.sym.
30782         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30783         <sigaltstack-offsets.h>.
30784         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30785         longjmp_msg pointer.
30786         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30787         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30788         signal stack.
30789         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30791 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30793         * elf/stackguard-macros.h: Remove file.
30794         * sysdeps/generic/stackguard-macros.h: New file.
30795         * sysdeps/i386/stackguard-macros.h: Likewise.
30796         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30797         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30798         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30799         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30800         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30801         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30802         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30803         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30804         <elf/stackguard-macros.h>.
30806         [BZ #14109]
30807         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30808         __aligned__ in attribute.
30809         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30810         (gregset_t): Likewise.
30812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30814         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30815         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30816         * sysdeps/x86_64/x32/Implies-after: New file.
30818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30820         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30821         and access return value for _dl_profile_fixup.  Use R10_LP to
30822         load frame size.
30824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30826         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30830         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30831         * sysdeps/x86_64/x32/sysdep.h: New file.
30833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30835         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30836         * sysdeps/x86_64/setjmp.S: Likewise.
30838 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30840         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30841         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30842         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30843         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30844         remove unused global constant.
30846 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30848         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30849         include of <not-cancel.h>.
30851 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30853         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30855 2012-05-15  Jeff Law  <law@redhat.com>
30856             Andreas Jaeger  <aj@suse.de>
30858         [BZ #13594]
30859         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30860         out from...
30861         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30862         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30863         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30864         code changing __hst_map_handle.map.
30866 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30868         * configure.in (sysnames): Look for Implies-before and Implies-after
30869         files.
30870         * configure: Regenerated.
30872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30874         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30875         8-byte data alignment with LP_SIZE alignment.
30877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30879         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30880         into R10_LP.
30882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30884         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30888         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30889         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30890         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30891         Likewise.
30892         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30896         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30897         (stackinfo_sub_sp): Likewise.
30899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30901         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30902         RAX_LP.
30904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30906         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30907         into R*_LP.
30909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30911         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30912         sizes into R*_LP.
30914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30916         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30920         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30921         into R11_LP and load __x86_64_shared_cache_size_half into
30922         R8_LP.
30924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30926         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30927         R8_LP.
30929 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30931         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30932         logb for POWER7.
30933         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30934         logbf for POWER7.
30935         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30936         logbl for POWER7.
30937         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30938         powerpc32/power7/fpu/s_logb.c via #include.
30939         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30940         powerpc32/power7/fpu/s_logbf.c via #include.
30941         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30942         powerpc32/power7/fpu/s_logbl.c via #include.
30944 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30946         * README.libm: Remove file.
30948 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30950         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30951         count for x32.  Use R*_LP and omit operand-size suffix.
30953 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30955         * shlib-versions: Move x86_64-.*-linux.* entries to ...
30956         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
30957         * sysdeps/x86_64/x32/shlib-versions: New file.
30959 2012-05-14  Roland McGrath  <roland@hack.frob.com>
30961         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30962         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30963         Use _dl_fatal_printf instead.
30965 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30967         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30968         set if not set by the user.  Do not allow for being unset.
30969         * sysdeps/unix/sysv/linux/configure: Regenerated.
30971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30973         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30974         the `q' suffix from lea and replace .quad with ASM_ADDR.
30976 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30979         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
30980         instead of $17.
30981         (PTR_DEMANGLE): Likewise.
30983 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30985         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30986         (LP_OP): Likewise.
30987         (ASM_ADDR): Likewise.
30988         (RAX_LP): Likewise.
30989         (RBP_LP): Likewise.
30990         (RBX_LP): Likewise.
30991         (RCX_LP): Likewise.
30992         (RDI_LP): Likewise.
30993         (RSI_LP): Likewise.
30994         (RSP_LP): Likewise.
30995         (R8_LP): Likewise.
30996         (R9_LP): Likewise.
30997         (R10_LP): Likewise.
30998         (R10_LP): Likewise.
30999         (R11_LP): Likewise.
31000         (R12_LP): Likewise.
31001         (R13_LP): Likewise.
31002         (R14_LP): Likewise.
31003         (R15_LP): Likewise.
31005 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31007         * sysdeps/x86_64/x32/dl-machine.h: New file.
31009 2012-05-14  Andreas Jaeger  <aj@suse.de>
31011         * manual/Makefile (subdir): Remove export of subdir.
31012         (all): Remove target.
31013         (.PHONY): Remove all from list.
31014         (mkinstalldirs): Remove.
31015         (.PHONY): Remove installdirs from list.
31016         ($(inst_infodir)/libc.info): Use make-target-directory.
31017         (installdirs): Remove.
31018         (subdir_%): Remove.
31019         (glibc-targets): Remove.
31020         (lib): Remove.
31021         (stubs): Remove.
31022         ($(objpfx)stubs ../po/manual.pot): Remove.
31023         ($(objpfx)stamp%): Remove.
31024         (make-target-directory): Remove.
31025         (subdir_install): Remove.
31026         (routines): Remove.
31027         (aux): Remove.
31028         (sources): Remove.
31029         (objects): Remove.
31030         (headers): Remove.
31032         [BZ #13750]
31033         * manual/.gitignore: Remove, it's not needed anymore.
31034         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31035         all files in it.
31036         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31037         directory.
31038         (texis): Renamed to $(objpfx)texis.
31039         (texis-path): New, contains path to generated files.
31040         (chapters.%): Use texis-path for complete path, add extra argument
31041         libc-texinfo.sh.
31042         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31043         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31044         (summary,texi, stamp-summary): Use complete path of
31045         files. Generate files in build dir.
31046         (dir-add.texi): Build in build dir.
31047         (libm-err.texi,stamp-libm-err): Likewise.
31048         (version.texi, stamp-version): Likewise.
31049         (.%c.texi): Likewise.
31050         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31051         (mostlyclean): Remove target.
31052         (realclean): Remove target.
31053         (generated): Add new variable with contents from mostlyclean and
31054         realclean, remove entries duplicated in common-mostlyclean, add
31055         stamp-libm-err and stamp-version.
31056         (generated-dirs): Add libc directory.
31057         ($(inst_infodir)/libc.info): Install files from build dir.
31059         * manual/install.texi (Configuring and compiling): Adjust since
31060         the info files are not part of the tar ball anymore.
31062 2012-05-14  Andreas Jaeger  <aj@suse.de>
31064         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31065         variable.
31067 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31069         [BZ #13717]
31070         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31071         to 2.2.0 where earlier.
31072         * sysdeps/unix/sysv/linux/configure: Regenerated.
31073         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31074         Remove conditional code.
31075         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31076         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31077         Remove conditional code.
31078         [!__NR_lchown]: Likewise.
31079         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31080         [__NR_lchown]: Likewise.
31081         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31082         comment referencing __ASSUME_LCHOWN_SYSCALL.
31083         * sysdeps/unix/sysv/linux/i386/sigaction.c
31084         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31085         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31086         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31087         Remove conditional code.
31088         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31089         (__protocol_available): Remove #if 0 code.
31090         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31091         conditional code.
31092         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31093         * sysdeps/unix/sysv/linux/kernel-features.h
31094         (__ASSUME_GETCWD_SYSCALL): Don't define.
31095         (__ASSUME_REALTIME_SIGNALS): Likewise.
31096         (__ASSUME_PREAD_SYSCALL): Likewise.
31097         (__ASSUME_PWRITE_SYSCALL): Likewise.
31098         (__ASSUME_POLL_SYSCALL): Likewise.
31099         (__ASSUME_LCHOWN_SYSCALL): Likewise.
31100         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31101         non-SPARC.
31102         (__ASSUME_SIOCGIFNAME): Don't define.
31103         (__ASSUME_MSG_NOSIGNAL): Likewise.
31104         (__ASSUME_SENDFILE): Define unconditionally.
31105         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31106         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31107         conditional code.
31108         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31109         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31110         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31111         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31112         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31113         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31114         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31116         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31117         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31119         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31120         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31122         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31123         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31125         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31126         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31128         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31129         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31131         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31132         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31134         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31135         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31137         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31138         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31139         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31140         Remove conditional code.
31141         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31142         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31143         Remove conditional code.
31144         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31145         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31146         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31147         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31148         Remove conditional code.
31149         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31150         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31151         Remove conditional code.
31152         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31153         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31154         Remove conditional code.
31155         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31156         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31157         Remove conditional code.
31158         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31159         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31160         Remove conditional code.
31161         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31162         * sysdeps/unix/sysv/linux/sh/pwrite64.c
31163         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31164         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31165         * sysdeps/unix/sysv/linux/sigaction.c
31166         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31167         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31168         * sysdeps/unix/sysv/linux/sigpending.c
31169         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31170         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31171         * sysdeps/unix/sysv/linux/sigprocmask.c
31172         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31173         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31174         * sysdeps/unix/sysv/linux/sigsuspend.c
31175         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31176         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31177         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31178         (__libc_missing_rt_sigs): Remove.
31179         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31180         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31181         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31182         Remove conditional code.
31183         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31184         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31185         return 1.
31186         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31187         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31188         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31189         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31191 2012-05-14  Andreas Jaeger  <aj@suse.de>
31193         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31194         it's not used in glibc.
31195         (__coshm1): Likewise.
31196         (__acosh1p): Likewise.
31197         (__sgn): Likewise.
31199         * manual/string.texi (Copying and Concatenation): Add missing
31200         variable in concat example.
31201         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31205         [BZ #14103]
31206         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31207         __builtin_clzl with __builtin_clzll.
31209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31211         [BZ #14104]
31212         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31213         libc_freeres_ptr.
31215 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31217         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31218         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31219         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31220         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31222 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
31224         * NEWS: Update ia64 info.
31226 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
31228         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31229         used as bcopy.
31231 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
31233         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31234         * sysdeps/unix/syscalls.list (dup3): Likewise.
31235         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31236         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31238 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31240         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31241         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31243 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31245         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31246         thread pointer.
31247         (TLS_IE): Use mov/add instead of movq/addq to load thread
31248         pointer.
31249         (TLS_GD_PREFIX): New.
31250         (TLS_GD): Use it.
31252 2012-05-11  David S. Miller  <davem@davemloft.net>
31254         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31255         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31256         (_FPU_SETCW): Likewise.
31258 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31260         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31261         is 32-byte aligned.
31263 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
31265         [BZ #11837]
31266         * iconvdata/gb18030.c: Update tables.
31267         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
31268         characters specially.
31269         (BODY for TO_LOOP): Add encoding of missing ranges.
31271 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
31273         [BZ #13673]
31274         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31275         * sysdeps/mach/hurd/dup3.c: Likewise.
31276         * sysdeps/mach/hurd/readlinkat.c: Likewise.
31277         * sysdeps/powerpc/memmove.c:: Likewise.
31279 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31281         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31282         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31284 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31286         * elf/elf.h (R_X86_64_RELATIVE64): New.
31287         (R_X86_64_NUM): Updated.
31288         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31289         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
31290         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31291         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31292         tst-quad1pie tst-quad2pie
31293         (modules-names): Add tst-quadmod1 tst-quadmod2.
31294         ($(objpfx)tst-quad1): New dependency.
31295         ($(objpfx)tst-quad2): Likewise.
31296         ($(objpfx)tst-quad1pie): Likewise.
31297         ($(objpfx)tst-quad2pie): Likewise.
31298         * sysdeps/x86_64/tst-quad1.c: New file.
31299         * sysdeps/x86_64/tst-quad1pie.c: New file.
31300         * sysdeps/x86_64/tst-quad2.c: Likewise.
31301         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31302         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31303         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31304         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31305         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31307 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31309         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31310         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31311         * streams/stropts.h (t_scalar_t): Define type.
31313         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31314         (_PATH_PRESERVE): Set to "/var/lib".
31315         (_PATH_RWHODIR): Set to "/var/spool/rwho".
31317         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31318         instead of int.
31320         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31321         if __dir_mkfile succeeded.
31323         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31324         checking for _hurd_dtablesize.  Unlock it right after having
31325         finished _hurd_dtable allocation.
31327 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31329         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31330         * sysdeps/mach/hurd/configure: Regenerated.
31331         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31332         special-casing to...
31333         * sysdeps/gnu/configure.in: ... this new file.
31334         * sysdeps/unix/sysv/linux/configure: Regenerated.
31335         * sysdeps/gnu/configure: New generated file.
31337         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31338         for Linux: use nsec instead of usec, as well as:
31339         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31340         members of type struct timespec.
31341         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31342         New macros.
31343         (struct stat64): Likewise.
31344         (_STATBUF_ST_NSEC): New macro.
31345         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31347         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31348         __strtoul_internal rather than strtoul.
31350 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31352         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31353         and reject them.
31355 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31357         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31358         which preserves existing values.
31359         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31361 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31363         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31364         TIMEOUT values.  Return EINVAL for NFDS values either negative or
31365         greater than FD_SETSIZE.
31367 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31369         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31370         allocated, call __vm_protect to finish enabling the existing space, and
31371         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31372         allocate the remainder.
31374 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31376         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31377         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
31379 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31381         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31382         sysdeps/mach/hurd/readlink.c.
31384         * posix/tst-sysconf.c (posix_options): Only use
31385         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31386         _POSIX_SYNCHRONIZED_IO when they are defined
31387         * sysdeps/mach/hurd/bits/posix_opt.h:
31388         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31389         (_XOPEN_REALTIME): Undefine macro.
31390         (_XOPEN_REALTIME_THREADS): Undefine macro.
31391         (_XOPEN_SHM): Undefine macro.
31392         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31393         macro to -1.
31394         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31395         macro to -1.
31396         (_POSIX_ASYNC_IO): Undefine macro.
31397         (_POSIX_PRIORITIZED_IO): Undefine macro.
31398         (_POSIX_SPIN_LOCKS): Define macro to -1.
31400         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31401         SA_NODEFER, SA_RESETHAND.
31402         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31403         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31404         F_DUPFD_CLOEXEC.
31406 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31408         * elf/Makefile (pldd-modules): Define unconditionally.
31410 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31412         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31414 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31416         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31417         Return ENOENT when name is empty.
31418         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31422         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31424         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31426 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31428         Fix mlock in all cases except non-readable pages.
31429         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31430         instead of VM_PROT_ALL as parameter to __vm_wire function.
31432         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31433         (__mkdir): When path is `/', just fail with EEXIST.
31434         * sysdeps/mach/hurd/mkdirat.c: Likewise.
31436 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31438         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31439         <sys/uio.h> (for writev).
31440         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31441         and <sys/param.h> (for MIN).
31443 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31445         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31446         REQUESTED_TIME.  Properly set the remaining time and return EINTR
31447         if interrupted.
31449 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31451         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31452         Depend on against $(link-rpcuserlibs).
31454 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31456         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31457         (__libc_stack_end): Do not use attribute_relro.
31458         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31459         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31460         to libthread-provided value.
31461         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31462         attribute_relro.
31464 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31466         [BZ #3748]
31467         * bits/libc-lock.h (__libc_once_get): New macro.
31468         * sysdeps/mach/bits/libc-lock.h: Likewise.
31469         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31470         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31471         instead of using implementation details.
31473         * libio/fileops.c: Unconditionally include <kernel-features.h>.
31474         * libio/freopen.c: Likewise.
31475         * libio/freopen64.c: Likewise.
31476         * misc/syslog.c: Likewise.
31477         * nscd/connections.c: Likewise.
31478         * nscd/netgroupcache.c: Likewise.
31479         * sysdeps/posix/getcwd.c: Likewise.
31481 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31483         * math/w_ilogbf.c: Add #include <limits.h>.
31485 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31487         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31488         path instead of returning without unlocking.
31490         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31491         immediate-write ioctls.
31492         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31494 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31496         * sysdeps/mach/hurd/i386/init-first.c (init): Use
31497         __builtin_frame_address instead of making assumptions about the
31498         location of the return address relative to DATA.  Force early load of
31499         the return address.
31500         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31501         __builtin_frame_address.
31503         dup3 for GNU Hurd.
31504         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31505         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
31506         implement dup3 and do some further code clean-ups.
31507         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31508         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31512         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31514         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31515         HURD_CRITICAL_END around holding _hurd_dtable_lock.
31516         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31517         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31518         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31519         d->port.lock.
31521         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31522         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31523         when handler == SIG_ERR, not when handler != SIG_ERR.
31525 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31527         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31528         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31529         definitions.
31531         accept4 for GNU Hurd.
31532         * include/sys/socket.h (__libc_accept4): New prototype.
31533         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31534         to implement __libc_accept4.
31535         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31536         __libc_accept4.
31537         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31539         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31540         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31541         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31542         signal-defines.sym.
31544 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31546         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31548 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31550         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31551         assertion on O_CLOEXEC flag.
31552         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31553         * hurd/intern-fd.c: Likewise.
31554         * hurd/port2fd.c: Likewise.
31556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31558         [BZ #3906]
31559         * bits/in.h (IPV6_PKTINFO): Define new macro.
31560         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31562 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31564         [BZ #13954]
31565         [BZ #13955]
31566         [BZ #13956]
31567         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31568         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31569         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31570         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31572         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31573         * math/libm-test.inc (logb_test) : Additional logb tests.
31575 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31576             Andreas Jaeger  <aj@suse.de>
31578         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31579         * configure: Regenerated.
31580         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31581         * config.make.in (link-obsolete-rpc): New substituted variable.
31582         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31583         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31584         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31585         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31586         so that libc.a contains the symbols.
31587         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31588         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31589         * sunrpc/auth_none.c: Likewise.
31590         * sunrpc/auth_unix.c: Likewise.
31591         * sunrpc/authdes_prot.c: Likewise.
31592         * sunrpc/authuxprot.c: Likewise.
31593         * sunrpc/clnt_gen.c: Likewise.
31594         * sunrpc/clnt_perr.c: Likewise.
31595         * sunrpc/clnt_raw.c: Likewise.
31596         * sunrpc/clnt_simp.c: Likewise.
31597         * sunrpc/clnt_tcp.c: Likewise.
31598         * sunrpc/clnt_udp.c: Likewise.
31599         * sunrpc/clnt_unix.c: Likewise.
31600         * sunrpc/des_crypt.c: Likewise.
31601         * sunrpc/des_soft.c: Likewise.
31602         * sunrpc/get_myaddr.c: Likewise.
31603         * sunrpc/key_call.c: Likewise.
31604         * sunrpc/key_prot.c: Likewise.
31605         * sunrpc/netname.c: Likewise.
31606         * sunrpc/pm_getmaps.c: Likewise.
31607         * sunrpc/pm_getport.c: Likewise.
31608         * sunrpc/pmap_clnt.c: Likewise.
31609         * sunrpc/pmap_prot.c: Likewise.
31610         * sunrpc/pmap_prot2.c: Likewise.
31611         * sunrpc/pmap_rmt.c: Likewise.
31612         * sunrpc/publickey.c: Likewise.
31613         * sunrpc/rpc_cmsg.c: Likewise.
31614         * sunrpc/rpc_common.c: Likewise.
31615         * sunrpc/rpc_dtable.c: Likewise.
31616         * sunrpc/rpc_prot.c: Likewise.
31617         * sunrpc/rpc_thread.c: Likewise.
31618         * sunrpc/rtime.c: Likewise.
31619         * sunrpc/svc.c: Likewise.
31620         * sunrpc/svc_auth.c: Likewise.
31621         * sunrpc/svc_raw.c: Likewise.
31622         * sunrpc/svc_run.c: Likewise.
31623         * sunrpc/svc_tcp.c: Likewise.
31624         * sunrpc/svc_udp.c: Likewise.
31625         * sunrpc/svc_unix.c: Likewise.
31626         * sunrpc/svcauth_des.c: Likewise.
31627         * sunrpc/xcrypt.c: Likewise.
31628         * sunrpc/xdr.c: Likewise.
31629         * sunrpc/xdr_array.c: Likewise.
31630         * sunrpc/xdr_float.c: Likewise.
31631         * sunrpc/xdr_intXX_t.c: Likewise.
31632         * sunrpc/xdr_mem.c: Likewise.
31633         * sunrpc/xdr_rec.c: Likewise.
31634         * sunrpc/xdr_ref.c: Likewise.
31635         * sunrpc/xdr_sizeof.c: Likewise.
31636         * sunrpc/xdr_stdio.c: Likewise.
31638 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31640         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31641         change.  Update copyright years.
31643 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31645         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31647 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31648             Joseph Myers  <joseph@codesourcery.com>
31649             Paul Pluzhnikov  <ppluzhnikov@google.com>
31651         [BZ #14012]
31652         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31653         requiring rpcgen.
31654         [cross-compiling] (extra-libs): Likewise.
31655         [cross-compiling] (extra-libs-others): Likewise.
31656         [cross-compiling] (librpcsvc-routines): Likewise.
31657         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31658         [cross-compiling] (omit-deps): Likewise.
31659         (sunrpc-CPPFLAGS): New variable.
31660         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31661         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31662         (cross-rpcgen-objs): New variable.
31663         (extra-objs): Append $(cross-rpcgen-objs).
31664         ($(cross-rpcgen-objs)): New rule.
31665         ($(objpfx)cross-rpcgen): Likewise.
31666         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31667         comment.
31668         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31669         ($(objpfx)x%.stmp): Likewise.
31670         * sunrpc/proto.h [IS_IN_build] (_): Define.
31671         [IS_IN_build] (_libc_intl_domainname): Likewise.
31673 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31675         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31676         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31677         and R_X86_64_TPOFF64.
31679 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31681         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31682         sysdeps/unix/sysv/syscalls.list.
31683         (stime): Likewise.
31684         (utime): Likewise.
31685         * sysdeps/unix/sysv/syscalls.list: Remove file.
31687 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31689         [BZ #3440]
31690         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31691         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31692         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31693         (__LC_IDENTIFICATION): Make these macros useful in #if
31694         expressions, as required by C99.
31696 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31698         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31699         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31700         after this.
31702 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31704         * stdlib/longlong.h: Updated from GCC.
31706 2012-05-09  Andreas Jaeger  <aj@suse.de>
31708         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31709         default is first entry.
31710         (run_mode): Set type.
31711         (main): Remove informal message about syslog.
31712         (options): Fix typo.
31714         [BZ #14053]
31715         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31716         to asm.
31717         (lrint): Likewise.
31718         (llrintf): Likewise.
31719         (llrint): Likewise.
31720         (rint): Likewise.
31721         (rintf): Likewise.
31722         (nearbyint): Likewise.
31723         (nearbyintf): Likewise.
31725 2012-05-09  Andreas Jaeger  <aj@suse.de>
31726             Pedro Alves  <palves@redhat.com>
31728         * nscd/nscd.c (run_mode): Use enum.
31729         (main): Cleanup coding style issue.
31731 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31732             Andreas Jaeger  <aj@suse.de>
31734         * nscd/nscd.c (go_background): Replaced with...
31735         (run_mode): ... this.
31736         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31737         (options): Add -F --foreground.
31738         (main): Implement it.
31739         (parse_opt): Parse it.
31741 2012-05-09  Andreas Jaeger  <aj@suse.de>
31743         [BZ #14083]
31744         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31745         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31746         -Wconversion warning.
31747         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31748         Likewise.
31750 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31752         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31753         == 0.
31754         (LC_ALL): Use macro-int-constant.
31755         (LC_COLLATE): Likewise.
31756         (LC_CTYPE): Likewise.
31757         (LC_MESSAGES): Likewise.
31758         (LC_MONETARY): Likewise.
31759         (LC_NUMERIC): Likewise.
31760         (LC_TIME): Likewise.
31761         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31762         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31763         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31764         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31765         Specify type.
31766         [C99-based standards] (float_t): Expect type.
31767         [C99-based standards] (double_t): Expect type.
31768         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31769         type.
31770         [C99-based standards] (HUGE_VALL): Likewise.
31771         [C99-based standards] (INFINITY): Likewise.
31772         [C99-based standards] (NAN): Likewise.
31773         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31774         [C99-based standards] (FP_NAN): Likewise.
31775         [C99-based standards] (FP_NORMAL): Likewise.
31776         [C99-based standards] (FP_SUBNORMAL): Likewise.
31777         [C99-based standards] (FP_ZERO): Likewise.
31778         [C99-based standards] (FP_FAST_FMA): Use
31779         optional-macro-int-constant.  Specify type.  Require == 1.
31780         [C99-based standards] (FP_FAST_FMAF): Likewise.
31781         [C99-based standards] (FP_FAST_FMAL): Likewise.
31782         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31783         [C99-based standards] (FP_ILOGBNAN): Likewise.
31784         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31785         Specify type.
31786         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31787         [C99-based standards] (math_errhandling): Specify type.
31788         [ISO99 || ISO11] (signgam): Do not allow.
31789         [non-C99-based standards] (copysignf): Do not allow.
31790         [non-C99-based standards] (exp2f): Likewise.
31791         [non-C99-based standards] (log2f): Likewise.
31792         [non-C99-based standards] (modff): Allow.
31793         [non-C99-based standards] (erff): Do not allow.
31794         [non-C99-based standards] (erfcf): Likewise.
31795         [non-C99-based standards] (gammaf): Likewise.
31796         [non-C99-based standards] (hypotf): Likewise.
31797         [non-C99-based standards] (j0f): Likewise.
31798         [non-C99-based standards] (j1f): Likewise.
31799         [non-C99-based standards] (jnf): Likewise.
31800         [non-C99-based standards] (lgammaf): Likewise.
31801         [non-C99-based standards] (tgammaf): Likewise.
31802         [non-C99-based standards] (y0f): Likewise.
31803         [non-C99-based standards] (y1f): Likewise.
31804         [non-C99-based standards] (ynf): Likewise.
31805         [non-C99-based standards] (isnanf): Likewise.
31806         [non-C99-based standards] (acoshf): Likewise.
31807         [non-C99-based standards] (asinhf): Likewise.
31808         [non-C99-based standards] (atanhf): Likewise.
31809         [non-C99-based standards] (cbrtf): Likewise.
31810         [non-C99-based standards] (expm1f): Likewise.
31811         [non-C99-based standards] (ilogbf): Likewise.
31812         [non-C99-based standards] (log1pf): Likewise.
31813         [non-C99-based standards] (logbf): Likewise.
31814         [non-C99-based standards] (nextafterf): Likewise.
31815         [non-C99-based standards] (remainderf): Likewise.
31816         [non-C99-based standards] (rintf): Likewise.
31817         [non-C99-based standards] (scalbf): Likewise.
31818         [non-C99-based standards] (copysignl): Likewise.
31819         [non-C99-based standards] (exp2l): Likewise.
31820         [non-C99-based standards] (log2l): Likewise.
31821         [non-C99-based standards] (modfl): Allow.
31822         [non-C99-based standards] (erfl): Do not allow.
31823         [non-C99-based standards] (erfcl): Likewise.
31824         [non-C99-based standards] (gammal): Likewise.
31825         [non-C99-based standards] (hypotl): Likewise.
31826         [non-C99-based standards] (j0l): Likewise.
31827         [non-C99-based standards] (j1l): Likewise.
31828         [non-C99-based standards] (jnl): Likewise.
31829         [non-C99-based standards] (lgammal): Likewise.
31830         [non-C99-based standards] (tgammal): Likewise.
31831         [non-C99-based standards] (y0l): Likewise.
31832         [non-C99-based standards] (y1l): Likewise.
31833         [non-C99-based standards] (ynl): Likewise.
31834         [non-C99-based standards] (isnanl): Likewise.
31835         [non-C99-based standards] (acoshl): Likewise.
31836         [non-C99-based standards] (asinhl): Likewise.
31837         [non-C99-based standards] (atanhl): Likewise.
31838         [non-C99-based standards] (cbrtl): Likewise.
31839         [non-C99-based standards] (expm1l): Likewise.
31840         [non-C99-based standards] (ilogbl): Likewise.
31841         [non-C99-based standards] (log1pl): Likewise.
31842         [non-C99-based standards] (logbl): Likewise.
31843         [non-C99-based standards] (nextafterl): Likewise.
31844         [non-C99-based standards] (remainderl): Likewise.
31845         [non-C99-based standards] (rintl): Likewise.
31846         [non-C99-based standards] (scalbl): Likewise.
31847         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31848         [non-C99-based standards] (FP_*): Do not allow.
31849         [C99-based standards] (FP_*): Change to
31850         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31851         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31852         allow.
31853         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31854         (SIG_ERR): Likewise.
31855         [X/Open-based standards] (SIG_HOLD): Likewise.
31856         (SIG_IGN): Likewise.
31857         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31858         positive value.
31859         (SIGFPE): Likewise.
31860         (SIGILL): Likewise.
31861         (SIGINT): Likewise.
31862         (SIGSEGV): Likewise.
31863         (SIGTER): Likewise.
31864         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31865         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31866         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31867         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31868         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31869         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31870         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31871         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31872         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31873         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31874         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31875         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31876         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31877         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31878         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31879         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31880         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31881         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31882         [X/Open-based standards] (SIGTRAP): Likewise.
31883         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31884         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31885         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31886         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31887         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31888         allow.
31890 2012-05-08  Ian Wienand  <ianw@vmware.com>
31892         [BZ #14080]
31893         * time/tzset.c (__tzset_parse_tz): Update default rules for
31894         daylight time changes in the Energy Policy Act of 2005.
31896 2012-05-09  Andreas Jaeger  <aj@suse.de>
31898         [BZ #13983]
31899         * elf/ldconfig.c (parse_conf): Change string to make clear that
31900         ldconfig only issued a warning if ld.so.conf does not exist.
31902 2012-05-08  David S. Miller  <davem@davemloft.net>
31904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31905         movxtod instead of popping the value on the stack.
31907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31909 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31911         * config.h.in: Add HAVE_ARM_PCS_VFP.
31913 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31915         [BZ #13979]
31916         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31917         checking but the checks are disabled for any reason.
31919 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31921         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31922         and ELF64_R_TYPE with ELFW(R_TYPE).
31924 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31926         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31927         (ulimit): Likewise.
31929         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31930         (settimeofday): Likewise.
31932 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31934         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
31935         a struct th_u2 inside the union, and move tu_block/tu_code into
31936         a new th_u3 union of tu_block/tu_code inside of that.  Move
31937         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
31938         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
31939         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31940         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31941         (th_stuff): Change to th_u1.tu_stuff.
31942         (th_data): Define.
31943         (th_msg): Change to th_u1.th_u2.tu_data.
31945 2012-05-07  David S. Miller  <davem@davemloft.net>
31947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31949         [BZ #14074]
31950         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31951         (SETUP_PIC_REG): Use it.
31952         (SETUP_PIC_REG_LEAF): Use it.
31954 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
31956         [BZ #13885]
31957         [BZ #13923]
31958         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31959         USE_AS_EXPM1L.
31960         (EXPL_FINITE): Likewise.
31961         (FLDLOG): Likewise.
31962         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31963         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31964         e_expl.S.
31965         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31966         USE_AS_EXPM1L.
31967         (EXPL_FINITE): Likewise.
31968         (FLDLOG): Likewise.
31969         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31970         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31971         e_expl.S.
31972         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
31973         test of -max_value argument for long double.
31974         * sysdeps/i386/fpu/libm-test-ulps: Update.
31975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31977 2012-05-06  David S. Miller  <davem@davemloft.net>
31979         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31980         quad soft-float symbols whose references which are compiler
31981         generated.
31982         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31984 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
31986         [BZ #13884]
31987         [BZ #13914]
31988         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31989         USE_AS_EXP10L.
31990         (EXPL_FINITE): Likewise.
31991         (FLDLOG): Likewise.
31992         (c0): Likewise.
31993         (c1): Likewise.
31994         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31995         Adjust comments for base varying.
31996         (__expl_finite): Change alias to EXPL_FINITE.
31997         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31998         e_expl.S.
31999         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32000         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32001         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32002         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32003         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32004         USE_AS_EXP10L.
32005         (EXPL_FINITE): Likewise.
32006         (FLDLOG): Likewise.
32007         (c0): Likewise.
32008         (c1): Likewise.
32009         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32010         Adjust comments for base varying.
32011         (__expl_finite): Change alias to EXPL_FINITE.
32012         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
32013         tests for bugs.
32014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32016         [BZ #14064]
32017         * math/libm-test.inc (check_float_internal): Correct ulp
32018         calculation for subnormal expected results.
32020 2012-05-06  Andreas Jaeger  <aj@suse.de>
32022         * Makeconfig (+math-flags): New, set to -frounding-math.
32023         (+cflags): Add +math-flags so that all of glibc gets compiled with
32024         it.
32026         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32028 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
32030         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32031         Disable one test.
32033         [BZ #13787]
32034         [BZ #13922]
32035         [BZ #14036]
32036         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32037         (__ieee754_expl): Allow for and saturate large arguments.
32038         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32039         (u_threshold): Likewise.
32040         (__exp): Call __ieee754_exp before checking for overflow and
32041         underflow.
32042         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32043         (u_threshold): Likewise.
32044         (__expf): Call __ieee754_expf before checking for overflow and
32045         underflow.
32046         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32047         (u_threshold): Likewise.
32048         (__expl): Call __ieee754_expl before checking for overflow and
32049         underflow.
32050         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32051         (__ieee754_expl): Allow for and saturate large arguments.
32052         * math/libm-test.inc (exp_test): Add another test.  Do not allow
32053         missing overflow exception on overflow.
32054         (expm1_test): Do not allow missing overflow exception on overflow.
32056         * sysdeps/i386/fpu/e_expl.c: Move to ...
32057         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
32058         rather than using inline asm.
32059         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32060         * sysdeps/x86_64/fpu/e_expl.S: Copy from
32061         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32063         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32064         (nice): Likewise.
32065         (poll): Likewise.
32066         (signal): Likewise.
32067         (time): Likewise.
32068         (times): Likewise.
32070 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32072         * sysdeps/unix/syscalls.list (adjtime): Add entry from
32073         sysdeps/unix/common/syscalls.list.
32074         (fchmod): Likewise.
32075         (fchown): Likewise.
32076         (ftruncate): Likewise.
32077         (getrusage): Likewise.
32078         (gettimeofday): Likewise.
32079         (setpgid): Likewise.
32080         (setregid): Likewise.
32081         (setreuid): Likewise.
32082         (sigaction): Likewise.
32083         (truncate): Likewise.
32084         (vhangup): Likewise.
32085         * sysdeps/unix/common/syscalls.list: Remove file.
32086         * sysdeps/unix/bsd/Implies: Don't include unix/common.
32087         * sysdeps/unix/sysv/linux/Implies: Likewise.
32089 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
32091         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32093         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32094         Moved to ...
32095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32096         Here.
32097         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32098         to ...
32099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32100         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32101         to ...
32102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32103         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32104         to ...
32105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32106         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32107         to ...
32108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32109         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32110         to ...
32111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32112         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32113         to ...
32114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32115         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32116         to ...
32117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32118         Here.
32119         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32120         to ...
32121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32122         Here.
32123         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32124         to ...
32125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32126         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32127         Moved to ...
32128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32129         Here.
32130         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32131         to ...
32132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32134 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32136         * sysdeps/unix/common/bits/dirent.h: Remove file.
32137         * sysdeps/unix/common/bits/fcntl.h: Likewise.
32139         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32140         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32141         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32142         * sysdeps/unix/bsd/isatty.c: Likewise.
32143         * sysdeps/unix/bsd/tcdrain.c: Likewise.
32144         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32145         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32147 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32149         [BZ #13563]
32150         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32151         long double comparison inaccuracies.
32152         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32155 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
32157         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32158         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32160 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32162         [BZ #14049]
32163         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32164         nonzero digits before rounding a hex value.
32165         * stdlib/tst-strtod.c (tests): Add another test.
32167 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32169         * sysdeps/s390/fpu/libm-test-ulps: Update.
32171 2012-05-03  Andreas Jaeger  <aj@suse.de>
32173         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32174         does not get optimized out.
32175         (malloc_opt_barrier): New.
32177 2012-05-03  Andreas Jaeger  <aj@suse.de>
32178             Roland McGrath  <roland@hack.frob.com>
32180         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32181         intermediate file deletion.
32182         (generated): Add .symlist files.
32184 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
32186         [BZ #13775]
32187         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32188         Redirect under this condition.
32189         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32190         [__USE_GNU] (__dprintf_chk): Not under this condition.
32191         [__USE_GNU] (__vdprintf_chk): Likewise.
32192         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32193         under this condition.
32194         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32195         [__USE_XOPEN2K8] (dprintf): Define under this condition.
32196         [__USE_XOPEN2K8] (vdprintf): Likewise.
32197         [__USE_GNU] (__dprintf_chk): Not under this condition.
32198         [__USE_GNU] (__vdprintf_chk): Likewise.
32199         [__USE_GNU] (dprintf): Likewise.
32200         [__USE_GNU] (vdprintf): Likewise.
32202 2012-05-03  Roland McGrath  <roland@hack.frob.com>
32204         * elf/Makefile (common-generated): Set this instead of generated for
32205         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
32206         $(all-built-dso)-derived lists.
32208 2012-05-03  Andreas Jaeger  <aj@suse.de>
32210         * sysdeps/i386/fpu/libm-test-ulps: Update.
32212         * FAQ: Removed.
32213         * FAQ.in: Likewise.
32214         * scripts/gen-FAQ.pl: Likewise.
32215         * manual/install.texi (Installation): Point to online location of
32216         FAQ.
32217         * Makefile (files-for-dist): Remove FAQ.
32218         (FAQ): Remove.
32220 2012-05-02  Allan McRae  <allan@archlinux.org>
32222         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32223         (LDFLAGS-reldepmod5.so): Likewise.
32224         (LDFLAGS-reldep6mod1.so): Likewise.
32225         (LDFLAGS-reldep6mod4.so): Likewise.
32226         (LDFLAGS-reldep8mod3.so): Likewise.
32227         (LDFLAGS-unload4mod1.so): Likewise.
32228         (LDFLAGS-unload4mod2.so): Likewise.
32229         (LDFLAGS-tst-initorder): Likewise.
32230         (LDFLAGS-tst-initordera2.so): Likewise.
32231         (LDFLAGS-tst-initordera3.so): Likewise.
32232         (LDFLAGS-tst-initordera4.so): Likewise.
32233         (LDFLAGS-tst-initorderb2.so): Likewise.
32234         (LDFLAGS-noload): Likewise.
32235         (LDFLAGS-next): Likewise.
32236         (LDFLAGS-order2mod1.so): Likewise.
32237         (LDFLAGS-order2mod2.so): Likewise.
32238         (LDFLAGS-tst-initorder2): Likewise.
32239         (LDFLAGS-tst-initorder2a.so): Likewise.
32240         (LDFLAGS-tst-initorder2b.so): Likewise.
32241         (LDFLAGS-tst-initorder2c.so): Likewise.
32242         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32244 2012-05-02  David S. Miller  <davem@davemloft.net>
32246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32248 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32250         [BZ #14055]
32251         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32253 2012-05-02  Andreas Jaeger  <aj@suse.de>
32255         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32256         since we manipulate rounding mode.
32257         (CPPFLAGS-test-idouble.c): Likewise.
32258         (CPPFLAGS-test-ifloat.c): Likewise.
32259         (CFLAGS-test-ldouble.c): Likewise.
32260         (CFLAGS-test-double.c): Likewise.
32261         (CFLAGS-test-float.c): Likewise.
32262         (CFLAGS-test-misc.c): Likewise.
32263         (CFLAGS-test-test-fenv.c): Likewise.
32265 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32267         [BZ #2550]
32268         [BZ #2570]
32269         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32270         comparisons to determine direction to adjust input.
32272 2012-05-01  Roland McGrath  <roland@hack.frob.com>
32274         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32275         output to the target.
32277         * scripts/localplt.awk: New file.
32278         * elf/Makefile ($(objpfx)check-localplt): Target removed.
32279         (check-localplt-CFLAGS): Variable removed.
32280         ($(all-built-dso:=.jmprel)): New static pattern rule.
32281         (generated): Add those targets.
32282         (localplt-built-dso): New variable.
32283         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32285         * elf/check-localplt.c: File removed.
32287         * scripts/check-execstack.awk: New file.
32288         * elf/Makefile ($(objpfx)check-execstack): Target removed.
32289         (check-execstack-CFLAGS): Variable removed.
32290         ($(objpfx)check-execstack.h): Target removed.
32291         ($(objpfx)execstack-default): New target.
32292         (generated): Add that instead of check-execstack.h.
32293         ($(all-built-dso:=.phdr)): New static pattern rule.
32294         (generated): Add those targets.
32295         * elf/check-execstack.c: File removed.
32297         * scripts/check-textrel.awk: New file.
32298         * elf/Makefile ($(objpfx)check-textrel): Target removed.
32299         (check-textrel-CFLAGS): Variable removed.
32300         (all-built-dso): Use := to define.o
32301         ($(all-built-dso:=.dyn)): New static pattern rule.
32302         (generated): Add those targets.
32303         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32304         * config.make.in (READELF): New substituted variable.
32305         * elf/check-textrel.c: File removed.
32307 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32309         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32310         allow.
32311         * conform/data/ctype.h-data [C99-based standards] (isblank):
32312         Expect function.
32313         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32314         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32315         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32316         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32317         Specify type.  Require positive value.
32318         (EILSEQ): Likewise.
32319         (ERANGE): Likewise.
32320         [ISO || POSIX] (EILSEQ): Do not expect.
32321         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32322         Specify type.  Require positive value.
32323         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32324         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32325         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32326         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32327         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32328         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32329         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32330         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32331         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32332         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32333         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32334         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32335         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32336         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32337         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32338         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32339         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32340         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32341         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32342         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32343         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32344         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32345         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32346         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32347         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32348         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32349         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32350         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32351         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32352         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32353         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32354         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32355         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32356         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32357         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32358         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32359         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32360         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32361         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32362         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32363         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32364         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32365         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32366         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32367         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32368         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32369         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32370         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32371         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32372         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32373         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32374         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32375         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32376         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32377         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32378         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32379         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32380         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32381         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32382         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32383         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32384         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32385         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32386         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32387         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32388         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32389         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32390         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32391         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32392         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32393         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32394         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32395         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32396         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32397         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32398         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32399         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32400         Require >= 2.
32401         (FLT_ROUNDS): Expect as macro, not constant.
32402         (FLT_MANT_DIG): Use macro-int-constant.
32403         (DBL_MANT_DIG): Likewise.
32404         (LDBL_MANT_DIG): Likewise.
32405         (FLT_DIG): Likewise.
32406         (DBL_DIG): Likewise.
32407         (LDBL_DIG): Likewise.
32408         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
32409         (DBL_MIN_EXP): Likewise.
32410         (LDBL_MIN_EXP): Likewise.
32411         (FLT_MAX_EXP): Use macro-int-constant.
32412         (DBL_MAX_EXP): Likewise.
32413         (LDBL_MAX_EXP): Likewise.
32414         (FLT_MAX_10_EXP): Likewise.
32415         (DBL_MAX_10_EXP): Likewise.
32416         (LDBL_MAX_10_EXP): Likewise.
32417         (FLT_MAX): Use macro-constant.
32418         (DBL_MAX): Likewise.
32419         (LDBL_MAX): Likewise.
32420         (FLT_EPSILON): Use macro-constant.  Give upper bound.
32421         (DBL_EPSILON): Likewise.
32422         (LDBL_EPSILON): Likewise.
32423         (FLT_MIN): Likewise.
32424         (DBL_MIN): Likewise.
32425         (LDBL_MIN): Likewise.
32426         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32427         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32428         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32429         [ISO11] (FLT_HAS_SUBNORM): Likewise.
32430         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32431         [ISO11] (DBL_DECIMAL_DIG): Likewise.
32432         [ISO11] (FLT_DECIMAL_DIG): Likewise.
32433         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32434         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32435         [ISO11] (FLT_TRUE_MIN): Likewise.
32436         [ISO11] (LDBL_TRUE_MIN): Likewise.
32437         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32438         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32439         (SCHAR_MIN): Use macro-int-constant.  Specify type.
32440         (SCHAR_MAX): Likewise.
32441         (UCHAR_MAX): Likewise.
32442         (CHAR_MIN): Likewise.
32443         (CHAR_MAX): Likewise.
32444         (MB_LEN_MAX): Use macro-int-constant.
32445         (SHRT_MIN): Use macro-int-constant.  Specify type.
32446         (SHRT_MAX): Likewise.
32447         (USHRT_MAX): Likewise.
32448         (INT_MAX): Likewise.
32449         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
32450         bound negative.
32451         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32452         bound with "U".
32453         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32454         bound with "L".
32455         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
32456         bound negative.  Suffix upper bound with "L".
32457         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32458         bound with "UL".
32459         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32460         Specify type.
32461         [C99-based standards] (LLONG_MAX): Likewise.
32462         [C99-based standards] (ULLONG_MAX): Likewise.
32463         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
32464         == 0.
32465         [ISO11] (max_align_t): Require type.
32466         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32468         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32469         from $CFLAGS, without defining away __attribute__ calls.
32470         (checknamespace): Use $CFLAGS_namespace.
32472         * conform/conformtest.pl (@keywords): Only include C99 keywords
32473         for standards based on C99 or C11.
32475         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32476         Disable tests.
32477         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32478         UNIX98]: Likewise.
32480         * conform/conformtest.pl: Handle "macro-int-constant" and test for
32481         usability of symbols in #if.
32483         * conform/conformtest.pl: If macro or constant types start
32484         "promoted:", expect the symbol to be of the following type
32485         promoted by the integer promotions.
32487         * conform/conformtest.pl: Parse all "constant" and "macro" lines
32488         in one place.  Also handle "macro-constant".
32490         * conform/conformtest.pl: Only accept expected macro values with
32491         "==".  Parse all "macro" lines in one place.
32492         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32494         * conform/conformtest.pl: Handle braced types on "constant" lines
32495         instead of handling "typed-constant".
32496         * conform/data/signal.h-data: Use "constant" instead of
32497         "typed-constant".
32499         * conform/conformtest.pl: Handle "optional-" at start of lines in
32500         one place rather than duplicating several cases.  Handle each
32501         format of "macro" line with initial "optional-".
32503         * conform/conformtest.pl: Only accept expected constant or
32504         optional-constant values with "==".  Parse all "constant" lines in
32505         one place.  Parse all "optional-constant" lines in one place.
32506         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32507         * conform/data/fmtmsg.h-data: Likewise.
32508         * conform/data/netinet/in.h-data: Likewise.
32509         * conform/data/tar.h-data: Likewise.
32510         * conform/data/limits.h-data: Use "==" form on "constant" and
32511         "optional-constant" lines.
32513         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32514         Use -std=c99 for XOPEN2K.
32515         (@knownproblems): Remove.
32516         (newtoken): Don't check %isknown.
32518         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32519         Do not expect macro.
32520         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32521         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32522         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32523         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32524         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32525         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32526         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32527         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32528         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32529         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32530         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32531         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32532         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32533         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32534         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32535         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32536         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32537         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32538         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32539         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32540         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32541         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32542         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32543         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32544         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32545         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32546         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32547         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32548         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32549         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32550         [XPG3] (acosh): Likewise.
32551         [XPG3] (asinh): Likewise.
32552         [XPG3] (atanh): Likewise.
32553         [XPG3] (cbrt): Likewise.
32554         [XPG3] (expm1): Likewise.
32555         [XPG3] (ilogb): Likewise.
32556         [XPG3] (log1p): Likewise.
32557         [XPG3] (logb): Likewise.
32558         [XPG3] (nextafter): Likewise.
32559         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32560         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32561         [XPG3] (remainder): Likewise.
32562         [XPG3] (rint): Likewise.
32563         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32564         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32565         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32566         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32567         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32568         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32569         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32570         [UNIX98 || XOPEN2K] (scalb): Expect.
32571         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32572         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32573         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32574         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32575         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32576         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32577         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32578         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32579         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32580         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32581         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32582         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32583         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32584         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32585         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32586         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32587         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32588         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32589         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32590         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32591         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32592         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32593         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32594         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32595         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32596         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32597         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32598         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32599         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32600         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32601         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32602         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32603         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32604         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32605         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32606         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32607         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32608         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32609         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32610         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32611         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32612         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32613         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32614         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32615         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32616         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32617         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32618         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32619         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32620         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32621         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32622         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32623         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32624         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32625         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32626         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32627         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32628         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32629         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32630         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32631         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32632         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32633         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32634         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32635         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32636         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32637         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32638         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32639         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32640         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32641         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32642         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32643         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32644         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32645         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32646         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32647         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32648         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32649         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32650         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32651         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32652         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32653         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32654         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32655         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32656         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32657         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32658         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32659         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32660         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32661         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32662         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32663         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32664         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32665         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32666         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32667         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32668         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32669         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32670         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32671         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32672         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32673         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32674         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32675         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32676         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32677         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32678         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32679         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32680         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32681         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32682         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32683         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32684         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32685         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32686         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32687         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32688         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32689         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32690         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32691         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32692         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32693         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32694         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32695         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32696         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32697         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32698         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32699         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32700         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32701         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32702         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32703         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32704         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32705         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32706         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32707         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32709         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32710         _XOPEN_SOURCE_EXTENDED for XPG4.
32712         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32714         * Makeconfig (localtime): Remove variable.
32715         (inst_localtime-file): Likewise.
32717 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32720         Update.
32721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32722         Update.
32723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32724         Update.
32725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32726         Update.
32727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32728         Update.
32729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32730         Update.
32731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32732         Update.
32733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32734         Update.
32735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32736         Update.
32738 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32740         [BZ #2550]
32741         [BZ #2570]
32742         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32743         comparisons to determine direction to adjust input.
32744         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32745         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32746         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32747         Likewise.
32748         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32749         Likewise.
32750         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32751         Likewise.
32752         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32753         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32754         Likewise.
32755         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32756         Likewise.
32757         * math/libm-test.inc (nexttoward_test): Add more tests.
32759 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32761         [BZ #14040]
32762         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32763         in version GLIBC_2.1, not GLIBC_2.0.
32764         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32765         Likewise.
32767 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32769         [BZ #13942]
32770         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32771         (1 - x) * (1 + x).
32772         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32773         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32774         * math/libm-test.inc (acos_test): Add more tests.
32775         (asin_test): Likewise.
32776         * sysdeps/i386/fpu/libm-test-ulps: Update.
32777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32779         [BZ #14034]
32780         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32781         of square root.
32782         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32783         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32784         * math/libm-test.inc (acos_test_tonearest): New function.
32785         (acos_test_towardzero): Likewise.
32786         (acos_test_downward): Likewise.
32787         (acos_test_upward): Likewise.
32788         (asin_test_tonearest): Likewise.
32789         (asin_test_towardzero): Likewise.
32790         (asin_test_downward): Likewise.
32791         (asin_test_upward): Likewise.
32792         (main): Call the new functions.
32793         * sysdeps/i386/fpu/libm-test-ulps: Update.
32794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32796         [BZ #13884]
32797         [BZ #13924]
32798         * math/e_exp10.c: Include <float.h>.
32799         (__ieee754_exp10): Handle underflow here rather than multiplying
32800         large negative argument by M_LN10.
32801         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32802         of __ieee754_expf.
32803         * math/e_exp10l.c: Include <float.h>.
32804         (__ieee754_exp10l): Handle underflow here rather than multiplying
32805         large negative argument by M_LN10l.
32806         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32807         spurious overflow exception on underflow.
32809 2012-04-29  Marek Polacek  <polacek@redhat.com>
32811         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32812         (__fortify_function): New macro.
32813         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32814         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32815         __extern_always_inline.
32816         * libio/bits/stdio2.h: Likewise.
32817         * libio/bits/stdio.h: Likewise.
32818         * string/string.h: Likewise.
32819         * string/bits/string3.h: Likewise.
32820         * include/stdio.h: Likewise.
32821         * stdlib/bits/stdlib.h: Likewise.
32822         * stdlib/stdlib.h: Likewise.
32823         * rt/bits/mqueue2.h: Likewise.
32824         * rt/mqueue.h: Likewise.
32825         * posix/bits/unistd.h: Likewise.
32826         * posix/unistd.h: Likewise.
32827         * io/bits/poll2.h: Likewise.
32828         * io/bits/fcntl2.h: Likewise.
32829         * io/fcntl.h: Likewise.
32830         * io/sys/poll.h: Likewise.
32831         * misc/bits/syslog.h: Likewise.
32832         * misc/bits/syslog-ldbl.h: Likewise.
32833         * misc/sys/syslog.h: Likewise.
32834         * socket/bits/socket2.h: Likewise.
32835         * socket/sys/socket.h: Likewise.
32836         * debug/tst-chk1.c: Likewise.
32837         * wcsmbs/bits/wchar2.h: Likewise.
32838         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32839         * wcsmbs/wchar.h: Likewise.
32841 2012-04-29  Andreas Jaeger  <aj@suse.de>
32843         * Makerules (tests): Remove enable-check-abi protection.
32844         (check-abi-warn): Remove.
32845         (check-abi-%): Remove check-abi-warn usage.
32847         * configure.in: Remove check-abi configure option.
32848         * configure: Regenerated.
32849         * config.make.in (enable-check-abi): Remove.
32851 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32853         [BZ #14033]
32854         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32855         double functions to double *_finite functions.
32857         [BZ #13941]
32858         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32859         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32860         LDBL_MIN_EXP.
32861         * stdio-common/Makefile (tests): Add tst-sprintf3.
32862         * stdio-common/tst-sprintf3.c: New file.
32864         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32865         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32867 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32869         * conform/conformtest.pl: Remove duplicate typed-constant
32870         handling.
32872 2012-04-28  David S. Miller  <davem@davemloft.net>
32874         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32875         (check-abi-%): Remove AWK script prerequisite and explicit
32876         abilist directory.
32877         (check-abi): Rewrite to just diff the symlist with the abilist.
32878         (config-tls, config-abi-config): Delete, no longer used.
32879         (update-abi-%): Remove AWK script and explicit abilist directory.
32880         (update-abi): Rewrite to simply compare and conditionally copy the
32881         symlist and the sysdep abilist file.  Remove update-abi-config
32882         checks.
32883         * abilist/ld.abilist: Remove.
32884         * abilist/libBrokenLocale.abilist: Remove.
32885         * abilist/libanl.abilist: Remove.
32886         * abilist/libcrypt.abilist: Remove.
32887         * abilist/libdl.abilist: Remove.
32888         * abilist/librt.abilist: Remove.
32889         * abilist/libthread_db.abilist: Remove.
32890         * abilist/libutil.abilist: Remove.
32891         * scripts/extract-abilist.awk: Remove.
32892         * scripts/merge-abilist.awk: Remove.
32893         * sysdeps/generic/libcidn.abilist: New file.
32894         * sysdeps/generic/libnss_compat.abilist: New file.
32895         * sysdeps/generic/libnss_db.abilist: New file.
32896         * sysdeps/generic/libnss_dns.abilist: New file.
32897         * sysdeps/generic/libnss_files.abilist: New file.
32898         * sysdeps/generic/libnss_hesiod.abilist: New file.
32899         * sysdeps/generic/libnss_nis.abilist: New file.
32900         * sysdeps/generic/libnss_nisplus.abilist: New file.
32901         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32902         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32903         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32904         file.
32905         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32906         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32907         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32908         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32909         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32910         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32911         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32912         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32913         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32914         file.
32915         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32916         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32917         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32918         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32919         file.
32920         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32921         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32922         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32923         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32924         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32925         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32926         file.
32927         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32928         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32929         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32930         file.
32931         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32932         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32933         New file.
32934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32935         New file.
32936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32937         New file.
32938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32939         New file.
32940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32941         New file.
32942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32943         New file.
32944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32945         New file.
32946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32947         New file.
32948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32949         New file.
32950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32951         New file.
32952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32953         New file.
32954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32955         New file.
32956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32957         New file.
32958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32959         file.
32960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32961         New file.
32962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32963         New file.
32964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32965         file.
32966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32967         New file.
32968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32969         New file.
32970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32971         file.
32972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32973         New file.
32974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32975         New file.
32976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32977         New file.
32978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32979         New file.
32980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32981         New file.
32982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32983         New file.
32984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32986         file.
32987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32988         New file.
32989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32990         file.
32991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32992         file.
32993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32994         file.
32995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32996         file.
32997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32998         file.
32999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33000         New file.
33001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33002         file.
33003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33004         file.
33005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33006         New file.
33007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33008         file.
33009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33011         file.
33012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33013         New file.
33014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33015         file.
33016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33017         file.
33018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33019         file.
33020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33021         file.
33022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33023         file.
33024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33025         New file.
33026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33027         file.
33028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33029         file.
33030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33031         New file.
33032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33033         file.
33034         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33035         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33036         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33037         file.
33038         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33039         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33040         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33041         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33042         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33043         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33044         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33045         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33046         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33047         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33050         file.
33051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33052         New file.
33053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33054         file.
33055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33056         file.
33057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33058         file.
33059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33060         file.
33061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33062         file.
33063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33064         New file.
33065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33066         New file.
33067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33068         file.
33069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33070         New file.
33071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33072         file.
33073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33075         file.
33076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33077         New file.
33078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33079         file.
33080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33081         file.
33082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33083         file.
33084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33085         file.
33086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33087         file.
33088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33089         New file.
33090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33091         New file.
33092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33093         file.
33094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33095         New file.
33096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33097         file.
33099 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33101         * conform/conformtest.pl: Fix typo in handling typed-constant from
33102         allow-header.
33104 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33106         * README: Cut down references to pre-2.6 Linux kernels and
33107         Linuxthreads.  Update lists of configurations in libc and ports
33108         and sort alphabetically.  Say "or newer" with Linux kernel version
33109         requirements.
33111         * config.h.in [IS_IN_build]: Allow compiling without optimization.
33113 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33115         [BZ #887]
33116         * math/libm-test.inc (logb_test_downward): New test to expose
33117         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33118         rounding mode.
33120 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33122         [BZ #14027]
33123         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33124         to be done.
33125         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33126         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33128 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
33130         * sysdeps/unix/i386/brk.S: Remove file.
33131         * sysdeps/unix/i386/dl-brk.S: Likewise.
33132         * sysdeps/unix/i386/pipe.S: Likewise.
33133         * sysdeps/unix/i386/sigreturn.S: Likewise.
33134         * sysdeps/unix/i386/syscall.S: Likewise.
33135         * sysdeps/unix/i386/vfork.S: Likewise.
33136         * sysdeps/unix/i386/wait.S: Likewise.
33138         * sysdeps/unix/common/tcsendbrk.c: Move to ...
33139         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33141         * configure.in (arm*-none*): Do not allow without
33142         --enable-hacker-mode.
33143         (netbsd*): Remove case setting base_os.
33144         (386bsd*): Likewise.
33145         (freebsd*): Likewise.
33146         (bsdi*): Likewise.
33147         (osf*): Likewise.
33148         (sunos*): Likewise.
33149         (ultrix*): Likewise.
33150         (newsos*): Likewise.
33151         (dynix*): Likewise.
33152         (*bsd*): Likewise.
33153         (sysv*): Likewise.
33154         (isc*): Likewise.
33155         (esix*): Likewise.
33156         (sco*): Likewise.
33157         (minix*): Likewise.
33158         (irix4*): Likewise.
33159         (irix6*): Likewise.
33160         (solaris[2-9]*): Likewise.
33161         (none): Likewise.
33162         * configure: Regenerated.
33164 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33166         [BZ #11521]
33167         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33168         overflow or cancellation in calculating denominator.
33169         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33170         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33171         down expression to avoid unexpected rounding in newer GCCs.
33172         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33174 2012-04-26  David S. Miller  <davem@davemloft.net>
33176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33177         long-double compat symbols.
33178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33192 2012-04-25  David S. Miller  <davem@davemloft.net>
33194         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33195         HWCAP_* values only after the memory barriers have been defined.
33196         (atomic_full_barrier): Define.
33197         (atomic_read_barrier): Define.
33198         (atomic_write_barrier): Define.
33200 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33202         * shlib-versions: Add libgcc_s version information.
33203         * sysdeps/generic/libgcc_s.h: Remove.
33204         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33205         libgcc_s.h.
33206         * sysdeps/gnu/unwind-resume.c: Likewise.
33207         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33209 2012-04-25  David S. Miller  <davem@davemloft.net>
33211         * sysdeps/unix/sparc/brk.S: Delete.
33212         * sysdeps/unix/sparc/dl-brk.S: Delete.
33213         * sysdeps/unix/sparc/pipe.S: Delete.
33214         * sysdeps/unix/sparc/sysdep.S: Delete.
33215         * sysdeps/unix/sparc/sysdep.h: Delete.
33216         * sysdeps/unix/sparc/vfork.S: Delete.
33217         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33218         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33219         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33220         (ret_ERRVAL, r0, r1, MOVE): Define.
33221         (JUMPTARGET): Remove.
33222         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33223         sysdeps/unix/sparc/sysdep.h
33224         (ENTRY, END): Remove.
33225         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33227 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
33229         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33230         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33231         -DIS_IN_build.
33233         * timezone/README: Update upstream location and email address for
33234         tzcode and tzdata.
33235         * timezone/zdump.c: Update from tzcode 2012b.
33236         * timezone/zic.c: Likewise.
33238         * configure.in (libc_cv_as_needed): Remove test.
33239         * configure: Regenerated.
33240         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33241         conditional definition.
33242         [$(have-as-needed) != yes] (no-as-needed): Likewise.
33243         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33244         * config.make.in (have-as-needed): Remove variable.
33246 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33247             Paul Pluzhnikov  <ppluzhnikov@google.com>
33249         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33250         strings correctly.
33252 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
33254         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33255         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33256         * sysdeps/sh/strlen.S: Likewise.
33258 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33260         * sysdeps/unix/fork.S: Remove file.
33261         * sysdeps/unix/i386/fork.S: Likewise.
33262         * sysdeps/unix/sparc/fork.S: Likewise.
33264         * sysdeps/unix/system.c: Remove file.
33265         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33267         * sysdeps/unix/getegid.S: Remove file.
33268         * sysdeps/unix/geteuid.S: Likewise.
33270 2012-04-24  Roland McGrath  <roland@hack.frob.com>
33272         * scripts/check-localplt.awk: New file.
33273         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33274         of diff.
33275         * scripts/data/localplt-generic.data: Add a comment.
33277         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33278         NODE when __dir_mkfile failed.
33279         * sysdeps/mach/hurd/symlinkat.c: Likewise.
33280         Reported by Ludovic Courtès <ludo@gnu.org>.
33282 2012-04-24  Andreas Jaeger  <aj@suse.de>
33284         * Makerules (common-clean): Also remove gen-as-const-headers
33285         files.
33287 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33289         * Makerules (native-compile): Do not change working directory for
33290         build.  Use $(OUTPUT_OPTION) in command.
33291         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33293 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33295         [BZ #13886]
33296         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33297         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33298         * math/libm-test.inc (floor_test): Add more tests.
33299         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33301 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33303         * sysdeps/unix/getdents.c: Remove file.
33304         * sysdeps/unix/sysv/getdents.c: Likewise.
33305         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33307         * sysdeps/unix/syscalls.list (madvise): Add syscall from
33308         sysdeps/unix/mman/syscalls.list.
33309         (mmap): Likewise.
33310         (mprotect): Likewise.
33311         (msync): Likewise.
33312         (munmap): Likewise.
33313         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33314         * sysdeps/unix/mman/syscalls.list: Remove.
33315         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33317         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33318         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33319         * configure: Regenerated.
33320         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33321         $(libgcc_s_suffix).
33322         * config.make.in (libgcc_s_suffix): Remove variable.
33324 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33326         * sysdeps/unix/sysv/gethostname.c: Move to ...
33327         * sysdeps/posix/gethostname.c: ... here.
33329         * sysdeps/unix/execve.S: Remove file.
33331         * sysdeps/unix/_exit.S: Remove file.
33333 2012-04-23  Andreas Jaeger  <aj@suse.de>
33335         [BZ #13739]
33336         * manual/Makefile: Remove make dist support, there's no
33337         need for a stand-alone documentation tar ball.
33338         (TEXI2DVI): Define always, it's not in Makeconfig.
33339         (dist): Removed.
33340         (tar-it): Removed.
33341         (edition): Removed.
33342         (glibc-doc-$(edition).tar): Removed
33343         (%.Z): Removed.
33344         (%.gz): Removed.
33345         (%.uu): Removed.
33346         (ETAGS): Remove, it's in Makeconfig.
33347         (move-if-change): Remove, it's in Makeconfig.
33349 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
33351         [BZ #13970]
33352         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33353         (strtod, strtof, strtold, strtol, strtoul, strtoq)
33354         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33355         (strtod_l, strtof_l, strtold_l): Remove __wur.
33356         It is not necessarily an error to ignore strtol's return value.
33357         One can reliably look at the stored endptr to decide whether
33358         the number had valid syntax.
33360 2012-04-21  Andreas Jaeger  <aj@suse.de>
33362         [BZ #13739]
33363         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33365 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
33367         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33368         * sysdeps/unix/sysv/Versions: Remove file.
33370 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
33372         [BZ #13927]
33373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33375 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
33377         [BZ #7064]
33378         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33379         version from __vm86.
33381 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
33383         * sysdeps/unix/common/lxstat.c: Remove file.
33384         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33386         * sysdeps/unix/sysv/Makefile: Remove file.
33388         * sysdeps/unix/sysv/direct.h: Remove file.
33390         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33391         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33392         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33393         * sysdeps/unix/sysv/bits/signum.h: Likewise.
33394         * sysdeps/unix/sysv/bits/stat.h: Likewise.
33395         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33396         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33398         * sysdeps/unix/sysv/setrlimit.c: Remove file.
33400         * sysdeps/unix/xmknod.c: Remove file.
33401         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33403         * sysdeps/unix/sysv/settimeofday.c: Remove file.
33405         * sysdeps/unix/sysv/i386/time.S: Remove file.
33407         * sysdeps/unix/fxstat.c: Remove file.
33408         * sysdeps/unix/xstat.c: Likewise.
33409         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33411         * sysdeps/unix/sysv/sigaction.c: Remove file.
33413         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33414         (sysdep_headers): Remove variable.
33415         [termio.h not in sysdep_headers] (generated): Likewise.
33416         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33417         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33418         * sysdeps/unix/sysv/tcdrain.c: Likewise.
33419         * sysdeps/unix/sysv/tcflow.c: Likewise.
33420         * sysdeps/unix/sysv/tcflush.c: Likewise.
33421         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33422         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33423         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33424         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33425         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33427         * sysdeps/unix/siglist.c: Remove file.
33429         * sysdeps/unix/getppid.S: Remove file.
33431         * sysdeps/unix/mkdir.c: Remove file.
33432         * sysdeps/unix/rmdir.c: Likewise.
33434 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
33436         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33437         ERR_MAX value.
33438         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33439         errlist-compat value.
33441 2012-04-18  David S. Miller  <davem@davemloft.net>
33443         * sysdeps/generic/memcopy.h (reg_char): Delete.
33444         * debug/strcat_chk.c: Use char, not reg_char.
33445         * debug/strcpy_chk.c: Likewise.
33446         * debug/strncat_chk.c: Likewise.
33447         * debug/strncpy_chk.c: Likewise.
33448         * string/memchr.c: Likewise.
33449         * string/memrchr.c: Likewise.
33450         * string/rawmemchr.c: Likewise.
33451         * string/strcat.c: Likewise.
33452         * string/strchr.c: Likewise.
33453         * string/strchrnul.c: Likewise.
33454         * string/strcmp.c: Likewise.
33455         * string/strcpy.c: Likewise.
33456         * string/strncat.c: Likewise.
33457         * string/strncmp.c: Likewise.
33458         * string/strncpy.c: Likewise.
33460 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33462         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33463         __builtin_memcopy is called when src and dest ranges are known to not
33464         overlap.
33466 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33468         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33469         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33470         fwd_align_merge macro call.
33471         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33472         bwd_align_merge macro call.
33473         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33475 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33477         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33478         bwd_align_merge macros.
33479         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33480         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33481         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33483 2012-04-18  David S. Miller  <davem@davemloft.net>
33485         * sysdeps/sparc/sparc64/memcopy.h: Delete.
33487 2012-04-18  Andreas Jaeger  <aj@suse.de>
33489         [BZ# 6794]
33490         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33491         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33492         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33494         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33495         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33496         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33498         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33499         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33500         Adjust for changed ldbl-128 files.
33502         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33503         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33504         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33506 2012-04-17  David S. Miller  <davem@davemloft.net>
33508         * sysdeps/sparc/sparc32/memcopy.h: Delete.
33510 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
33512         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33513         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33514         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33515         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33516         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33517         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33519 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33521         [BZ #6794]
33522         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33523         * math/libm-test.inc: Add ilogb errno and exception tests.
33524         * math/w_ilogb.c: New file: ilogb wrapper.
33525         * math/w_ilogbf.c: New file: ilogbf wrapper.
33526         * math/w_ilogbl.c: New file: ilogbl wrapper.
33527         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33528         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33529         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33530         exception being thrown with 0.0 as argument.
33531         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33532         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33533         exception being thrown with 0.0 as argument.
33534         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33535         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33536         exception being thrown with 0.0 as argument.
33537         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33538         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33539         exception being thrown with 0.0 as argument.
33540         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33541         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33542         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33543         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33544         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33545         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33546         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33547         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33548         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33550 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33552         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33553         with altivec.
33555 2012-04-16  Marek Polacek  <polacek@redhat.com>
33557         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33559 2012-04-16  Marek Polacek  <polacek@redhat.com>
33561         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33562         operands of fdivp instruction.
33564 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33566         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33567         * elf/tst-auditmod3b.c: Likewise.
33568         * elf/tst-auditmod4b.c: Likewise.
33569         * elf/tst-auditmod5b.c: Likewise.
33570         * elf/tst-auditmod6b.c: Likewise.
33571         * elf/tst-auditmod6c.c: Likewise.
33572         * elf/tst-auditmod7b.c: Likewise.
33573         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33574         * sysdeps/x86_64/preconfigure.in: Likewise.
33575         * sysdeps/x86_64/preconfigure: Regenerated.
33577 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33579         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33580         __ILP32__.
33582 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33584         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33585         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33587 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33589         [BZ #13973]
33590         * locale/iso-639.def: Fix gl language name. Spotted by
33591         Yaron Shahrabani.
33593 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33595         [BZ #2074]
33596         * libio/libio.h (__io_write_fn): Update comment.
33598 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33600         [BZ #2074]
33601         * stdio.texi (Hook Functions): The user provided writer function
33602         is not allowed to return -1.
33604 2012-04-11  David S. Miller  <davem@davemloft.net>
33606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33608 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33610         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33611         Add a leading slash to rtkaio.
33613 2012-04-11  Jim Meyering  <meyering@redhat.com>
33615         [BZ #11959]
33616         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33617         It is not necessarily an error to ignore fwrite's return
33618         value.  One can reliably use ferror to test for errors after
33619         the fact.
33621 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33623         * bits/types.h (__snseconds_t): New type.
33624         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33626         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33627         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33628         (__SNSECONDS_T_TYPE): Likewise.
33629         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33630         (__SNSECONDS_T_TYPE): Likewise.
33631         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33632         (__SNSECONDS_T_TYPE): Likewise.
33634 2012-04-10  Andreas Jaeger  <aj@suse.de>
33636         [BZ #2636]
33637         * manual/time.texi (Processor Time): Return type of times is
33638         elapsed real time since an arbitrary point in the past.
33639         (CPU Time): Move CLK_TCK from here...
33640         (Processor Time): ...to here.  Correct description.
33641         * manual/conf.texi (Constants for Sysconf): Correct description of
33642         _SC_CLK_TCK.
33644 2012-04-10  David S. Miller  <davem@davemloft.net>
33646         [BZ #13967]
33647         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33648         where the is a gap between DT_REL(A) and DT_JMPREL.
33650 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33652         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33653         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33654         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33656 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33658         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33659         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33660         (dl_main): Handle --inhibit-cache.
33661         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33662         _dl_inhibit_cache.
33663         * elf/dl-load.c (_dl_map_object): Use it.
33664         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33666 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33668         [BZ #13872]
33669         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33670         (__ieee754_powl): Saturate large exponents rather than testing for
33671         overflow of y*log2(x).
33672         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33673         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33674         exceptions.
33676         [BZ #11521]
33677         * math/s_ctan.c: Include <float.h>.
33678         (__ctan): Avoid internal overflow or cancellation in calculating
33679         denominator.
33680         * math/s_ctanf.c: Likewise.
33681         * math/s_ctanl.c: Likewise.
33682         * math/s_ctanh.c: Likewise.
33683         * math/s_ctanhf.c: Likewise.
33684         * math/s_ctanhl.c: Likewise.
33685         * math/libm-test.inc (ctan_test): Add more tests.
33686         (ctanh_test): Likewise.
33687         * sysdeps/i386/fpu/libm-test-ulps: Update.
33688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33690 2012-04-09  Andreas Jaeger  <aj@suse.de>
33692         [BZ #6894]
33693         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33694         is an optional BSD extension.
33696         [BZ #10254]
33697         * manual/stdio.texi (Opening Streams): Document additional fopen
33698         parameters.
33700 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33702         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33703         %eax without telling the compiler.
33705 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33707         [BZ # 13963]
33708         * manual/install.texi: Use sourceware.org.
33710 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33712         [BZ #13873]
33713         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33714         (__ieee754_pow): Generate overflow and underflow using huge*huge
33715         and tiny*tiny rather than just returning constant infinity or zero
33716         for large exponents.
33717         * math/libm-test.inc (pow_test): Require overflow exceptions for
33718         applicable cases of large exponents.
33720         [BZ #706]
33721         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33722         (__ieee754_pow): Use iterative multiplication algorithm only for
33723         integer exponents with absolute value below 1024.  Check for odd
33724         integer exponents when using algorithm for real exponents.
33725         * math/libm-test.inc (pow_test): Add more tests.
33726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33728 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33730         [BZ #13705]
33731         * math/libm-test.inc (exp_test): Do not allow overflow exception
33732         on underflow test.
33734 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33736         [BZ #13705]
33737         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33738         instead of __kernel_standard_f.
33740 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33742         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33743         * sysdeps/x86_64/memset_chk.S: Likewise.
33745 2012-04-08  Andreas Jaeger  <aj@suse.de>
33747         [BZ #10153]
33748         * manual/startup.texi (Environment Access): Describe return value
33749         for putenv and setenv.
33751         [BZ #6895]
33752         * manual/filesys.texi (Directory Entries): Add description for
33753         DT_LNK.
33755         [BZ #6890]
33756         * manual/filesys.texi (Directory Entries): Clarify that it's file
33757         system not operating system in the description of DT_UNKNOWN.
33759         [BZ #6578]
33760         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33762 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33764         [BZ #6649]
33765         * manual/llio.texi (Opening and Closing Files): Add cross
33766         reference to explain mode argument.
33768 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33770         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33771         * sysdeps/x86_64/memset_chk.S: Likewise.
33773 2012-04-07  David S. Miller  <davem@davemloft.net>
33775         * elf/elf.h (R_SPARC_WDISP10): Define.
33776         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33777         R_SPARC_SIZE32.
33778         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33779         R_SPARC_SIZE64 and R_SPARC_H34.
33781 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33783         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33784         conditions and remove no longer applicable assertion.
33786 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33788         * bits/byteswap.h: Include <features.h>.
33789         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33790         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33792 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33794         * bits/byteswap.h (__bswap_16): Removed.
33795         Include <bits/byteswap-16.h> to get __bswap_16.
33796         * sysdeps/i386/bits/byteswap.h: Likewise.
33797         * sysdeps/s390/bits/byteswap.h: Likewise.
33798         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33799         * bits/byteswap-16.h: New file.
33800         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33801         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33802         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33803         * string/Makefile (headers): Add bits/byteswap-16.h.
33805 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33807         [BZ #13895]
33808         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33809         extra indirection.
33810         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33811         * nss/tst-nss-static.c: New.
33813 2012-04-06  Robert Millan  <rmh@gnu.org>
33815         [BZ #6486]
33816         * manual/llio.texi (File Position Primitive): lseek
33817         refers to WHENCE when it really means OFFSET.
33819 2012-04-06  Andreas Jaeger  <aj@suse.de>
33821         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33822         strncmp declarations.
33824         * abilist/libc.abilist: Add __poll and __ppoll.
33826 2012-04-05  David S. Miller  <davem@davemloft.net>
33828         * scripts/check-local-headers.sh: Accept a host triplet in the
33829         path matched by the exclude regexp.
33831         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33832         definition.
33833         * sysdeps/powerpc/powerpc32/dl-machine.h
33834         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33835         * sysdeps/s390/s390-32/dl-machine.h
33836         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33837         * sysdeps/sparc/sparc32/dl-machine.h
33838         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33839         * sysdeps/sparc/sparc64/dl-machine.h
33840         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33842         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33843         lazy binding.
33844         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33845         undefined symbol errors.
33847         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33848         DT_NEEDED entries.
33850 2012-04-05  Michael Matz  <matz@suse.de>
33852         [BZ #13592]
33853         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33855 2012-04-05  Andreas Jaeger  <aj@suse.de>
33857         [BZ #13908]
33858         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33859         comment.
33861 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33863         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33864         which ROUND is no valid rounding mode.
33866 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33868         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33869         read again.
33870         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33872 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33874         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33875         an exception using FPU order intentionally.
33877 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33879         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33880         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33881         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33882         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33884 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33886         [BZ #12340]
33887         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33888         EINVAL when BUFLEN is too smal.
33890 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33892         [BZ #13553]
33893         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33894         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33896 2012-04-03  Andreas Jaeger  <aj@suse.de>
33898         [BZ #13938]
33899         * manual/setjmp.texi (System V contexts): Fix sentence.
33901         [BZ #13926]
33902         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33903         New macro for this case.
33904         [!__GNUC__] (__bswap_64): New inline function for this case.
33905         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33906         * bits/byteswap.h: Likewise.
33907         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33908         ull, guard with __GLIBC_HAVE_LONG_LONG.
33910         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33911         __GLIBC_HAVE_LONG_LONG.
33913         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33914         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33916 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33918         [BZ #13691]
33919         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33920         inptr and inend, rather than using last_ch.
33922 2012-04-02  David S. Miller  <davem@davemloft.net>
33924         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33925         * stdio-common/printf-parse.h (read_int): Change return type to
33926         'int', return -1 on INT_MAX overflow.
33927         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33928         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33929         overflows INT_MAX.  Check for overflow of in-format-string precision
33930         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33931         SIZE_MAX not INT_MAX for integer overflow test.
33932         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33933         skip the construct in the format string but do not record anything.
33934         * stdio-common/bug22.c: Adjust to test both width/prevision
33935         INT_MAX overflow as well as total length INT_MAX overflow.  Check
33936         explicitly for proper errno values.
33938 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33940         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33941         CHAR_MAX.
33942         * string/test-strcmp.c [! WIDE]: Likewise.
33943         * time/tst-mktime2.c: Likewise for INT_MAX.
33944         * string/test-string.h: #include <sys/param.h> for MIN.
33946         * csu/init-first.c (__libc_init_first): Call __ctype_init.
33947         * sysdeps/i386/init-first.c (init): Likewise.
33948         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33949         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33950         * sysdeps/sh/init-first.c (init): Likewise.
33952 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
33954         * po/ru.po: Update from translation team.
33955         * po/vi.po: Likewise.
33957 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33959         * resolv/nss_dns/dns-host.c: Merge copyright years.
33961 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33963         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33964         Optimize memcpy with prefetch if
33965         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
33966         src, dst pointers have unequal 16 byte alignments.
33968 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33970         [BZ #13928]
33971         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33972         from a CNAME entry and return the minimum ttl for the query.
33973         (gaih_getanswer_slice): Likewise.
33975 2012-03-30  Jeff Law  <law@redhat.com>
33977         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33978         due to long keys.
33979         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33980         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33982         * resolv/nss_dns/dns-host.c: Update copyright year.
33984 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
33986         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33987         requests to save a system call.  Fix check that all bytes are sent.
33989         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33990         comments for sendmmsg.
33992 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33994         [BZ #13691]
33995         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33996         with only 1 character between 0x0041 and 0x01b0.
33997         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33998         * wcsmbs/tst-mbsnrtowcs.c: New file.
34000 2012-03-29  David S. Miller  <davem@davemloft.net>
34002         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34003         small copies by hand.
34005 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34007         [BZ #13761]
34008         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34009         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34010         group memberships.
34012 2012-03-28  David S. Miller  <davem@davemloft.net>
34014         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34015         that branches into memcpy.
34016         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34017         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34018         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34019         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34020         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34021         bits.
34022         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34023         implementation too.
34024         * sysdeps/sparc/mempcpy.S: New file.
34026         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34027         the IFUNC routine in the libc case.
34028         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34030         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34031         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34032         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34033         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34034         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34035         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34036         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34037         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34039         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34040         loop to 256 bytes instead of 64 bytes and fix test signedness.
34042         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34043         * sysdeps/sparc/sparc32/Makefile: rather than here...
34044         * sysdeps/sparc/sparc64/Makefile: and here.
34046 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
34048         * malloc/mallocbug.c: Avoid warnings about unused variables.
34050 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34052         [BZ #13760]
34053         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34054         in the right place. Discard and retry query if response is
34055         larger than input buffer size.
34057 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
34059         [BZ #369]
34060         [BZ #2678]
34061         [BZ #3866]
34062         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34063         x for large integer exponent.
34064         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34065         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
34066         sign of result as needed afterwards.
34067         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34068         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34069         result for underflowing pow the same as for overflow.
34070         (__kernel_standard_l): Handle powl overflow and underflow here
34071         rather than calling __kernel_standard.
34072         * math/libm-test.inc (pow_test): Add more tests.
34074         [BZ #3868]
34075         [BZ #13879]
34076         [BZ #13910]
34077         [BZ #13911]
34078         [BZ #13912]
34079         [BZ #13913]
34080         [BZ #13915]
34081         [BZ #13916]
34082         [BZ #13917]
34083         [BZ #13918]
34084         [BZ #13919]
34085         [BZ #13920]
34086         [BZ #13921]
34087         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34088         * sysdeps/ieee754/k_standard.c: Include <float.h>.
34089         (__kernel_standard_l): New function.
34090         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34091         __kernel_standard.
34092         * math/w_acosl.c (__acosl): Likewise.
34093         * math/w_asinl.c (__asinl): Likewise.
34094         * math/w_atan2l.c (__atan2l): Likewise.
34095         * math/w_atanhl.c (__atanhl): Likewise.
34096         * math/w_coshl.c (__coshl): Likewise.
34097         * math/w_exp10l.c (__exp10l): Likewise.
34098         * math/w_exp2l.c (__exp2l): Likewise.
34099         * math/w_fmodl.c (__fmodl): Likewise.
34100         * math/w_hypotl.c (__hypotl): Likewise.
34101         * math/w_j0l.c (__j0l, __y0l): Likewise.
34102         * math/w_j1l.c (__j1l, __y1l): Likewise.
34103         * math/w_jnl.c (__jnl, __ynl): Likewise.
34104         * math/w_lgammal.c (__lgammal): Likewise.
34105         * math/w_log10l.c (__log10l): Likewise.
34106         * math/w_log2l.c (__log2l): Likewise.
34107         * math/w_logl.c (__logl): Likewise.
34108         * math/w_powl.c (__powl): Likewise.
34109         * math/w_remainderl.c (__remainderl): Likewise.
34110         * math/w_scalbl.c (sysv_scalbl): Likewise.
34111         * math/w_sinhl.c (__sinhl): Likewise.
34112         * math/w_sqrtl.c (__sqrtl): Likewise.
34113         * math/w_tgammal.c (__tgammal): Likewise.
34114         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34115         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34116         * math/libm-test.inc (acos_test): Add more tests.
34117         (acosh_test): Likewise.
34118         (asin_test): Likewise.
34119         (atanh_test): Likewise.
34120         (exp_test): Likewise.
34121         (exp10_test): Likewise.
34122         (exp2_test): Likewise.
34123         (expm1_test): Likewise.
34124         (lgamma_test): Likewise.
34125         (log_test): Likewise.
34126         (log10_test): Likewise.
34127         (log1p_test): Likewise.
34128         (log2_test): Likewise.
34129         (pow_test): Do not allow some spurious overflow exceptions.
34130         (sqrt_test): Add more tests.
34131         (tgamma_test): Likewise.
34132         (y0_test): Likewise.
34133         (y1_test): Likewise.
34134         (yn_test): Likewise.
34136 2012-03-27  Anton Blanchard  <anton@samba.org>
34138         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34139         MAP_HUGETLB.
34140         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34141         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34142         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34144 2012-03-27  David S. Miller  <davem@davemloft.net>
34146         * conform/Makefile: Run run-conformtest.sh using $(BASH).
34148         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34149         have-as-vis3 check.
34151 2012-03-27  Andreas Jaeger  <aj@suse.de>
34153         * sysdeps/x86_64/elf/configure.in: Moved to ...
34154         * sysdeps/x86_64/configure.in: ... here.
34155         * sysdeps/x86_64/elf/start.S: Moved to ...
34156         * sysdeps/x86_64/start.S: ... here.
34157         * sysdeps/x86_64/elf/configure: Delete.
34159         * sysdeps/x86_64/configure.in: Merge contents from
34160         sysdeps/i386/configure.in (without i686 check).
34162         * sysdeps/i386/elf/Versions: Merge into ...
34163         * sysdeps/i386/Versions: ... this.
34164         * sysdeps/i386/elf/Versions: Delete file.
34165         * sysdeps/i386/elf/start.S: Moved to ...
34166         * sysdeps/i386/start.S: ...here.
34167         * sysdeps/i386/elf/configure.in: Merge into...
34168         * sysdeps/i386/configure.in: ...here.
34169         * sysdeps/i386/elf/configure.in: Delete file.
34170         * sysdeps/i386/elf/configure: Delete file.
34172         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34173         * debug/backtracesyms.c: ... here.
34174         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34175         * debug/backtracesymsfd.c: ... here.
34176         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34177         * sysdeps/generic/ifunc-sel.h: ... here.
34179         * sysdeps/unix/i386/start.c: Delete file.
34180         * sysdeps/unix/sparc/start.c: Delete file.
34181         * sysdeps/unix/start.c: Delete file.
34183         * sysdeps/sh/elf/configure.in: Moved to ...
34184         * sysdeps/sh/configure.in: ... here.
34185         * sysdeps/sh/elf/start.S: Moved to ...
34186         * sysdeps/sh/start.S: ... here.
34187         * sysdeps/sh/elf/configure: Delete file.
34189         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34190         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34191         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34192         * sysdeps/powerpc/powerpc64/entry.h: ... here.
34193         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34194         * sysdeps/powerpc/powerpc64/start.S: here.
34195         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34196         * sysdeps/powerpc/powerpc64/Makefile: ... this.
34197         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34198         * sysdeps/powerpc/powerpc64/configure.in: ... this.
34199         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34201         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34202         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34203         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34204         * sysdeps/powerpc/powerpc32/start.S: ... here.
34205         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34206         * sysdeps/powerpc/powerpc32/configure.in: ... this.
34207         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34209         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34210         * sysdeps/powerpc/ifunc-sel.h: ... here.
34211         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34212         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34214         * sysdeps/sparc/elf/configure.in: Moved to ...
34215         * sysdeps/sparc/configure.in: ... here.
34216         * sysdeps/sparc/elf/configure: Delete file.
34217         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34218         * sysdeps/sparc/sparc32/start.S: ... here.
34219         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34220         * sysdeps/sparc/sparc64/start.S: ... here.
34221         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34222         * sysdeps/sparc/sparc32/Makefile: ... this.
34223         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34224         * sysdeps/sparc/sparc64/Makefile: ... this.
34226         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34227         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34228         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34229         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34230         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34231         * sysdeps/s390/s390-32/setjmp.S: ... here.
34232         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34233         * sysdeps/s390/s390-32/configure.in: ... here.
34234         * sysdeps/s390/s390-32/elf/configure: Delete file.
34235         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34236         * sysdeps/s390/s390-32/start.S: ... here.
34238         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34239         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34240         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34241         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34242         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34243         * sysdeps/s390/s390-64/setjmp.S: ... here.
34244         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34245         * sysdeps/s390/s390-64/configure.in: ... here
34246         * sysdeps/s390/s390-64/elf/configure: Delete file.
34247         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34248         * sysdeps/s390/s390-64/start.S: ... here.
34249         * sysdeps/s390/s390-64/elf/configure: Delete.
34251         * configure.in: Remove support for elf directories in sysdeps.
34253         * configure: Regenerated.
34254         * sysdeps/i386/configure: Regenerated.
34255         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34256         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34257         * sysdeps/s390/s390-32/configure: Regenerated.
34258         * sysdeps/s390/s390-64/configure: Regenerated.
34259         * sysdeps/sh/configure: Regenerated.
34260         * sysdeps/sparc/configure: Regenerated.
34261         * sysdeps/x86_64/configure: Regenerated.
34263 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
34265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34267         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34268         denormal result into account.
34270 2012-03-25  Roland McGrath  <roland@hack.frob.com>
34272         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34273         Reported by Allan McRae <allan@archlinux.org>.
34275 2012-03-23  Jeff Law  <law@redhat.com>
34277         * nss/getnssent.c (__nss_getent): Fix typo.
34279 2012-03-23  David S. Miller  <davem@davemloft.net>
34281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34283 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
34285         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34286         to pad to uint64_t for each field.
34287         (dl_tls_index): Replace unsigned long with uint64_t.
34289 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
34290         Paul Pluzhnikov  <ppluzhnikov@google.com>
34292         [BZ #6528]
34293         * grp/Makefile (otherlibs): Don't set it.
34294         * inet/Makefile (otherlibs): Likewise.
34295         * login/Makefile (otherlibs): Likewise.
34296         * nscd/Makefile (otherlibs): Likewise.
34297         * posix/Makefile (otherlibs): Likewise.
34298         * pwd/Makefile (otherlibs): Likewise.
34299         * rt/Makefile (otherlibs): Likewise.
34300         * sunrpc/Makefile (otherlibs): Likewise.
34301         * nss/Makefile (otherlibs): Likewise.
34302         Add libnss_files to routines and static-only-routines.
34303         ($(objpfx)getent): Remove rule.
34304         * resolv/Makefile: Add libnss_dns and libresolv to routines and
34305         static-only-routines.
34307 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34309         [BZ #13892]
34310         * math/s_cexp.c: Include <float.h>.
34311         (__cexp): Handle exp result overflowing not necessarily
34312         overflowing both real and imaginary parts of result.
34313         * math/s_cexpf.c: Likewise.
34314         * math/s_cexpl.c: Likewise.
34315         * math/libm-test.inc (cexp_test): Add more tests.
34316         * sysdeps/i386/fpu/libm-test-ulps: Update.
34317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34319 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34321         * include/link.h (ELFW): New macro.
34322         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34323         Replace ELF64_R_TYPE with ELFW(R_TYPE).
34325 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34327         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34328         with uint64_t.
34330 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34332         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34333         declaration.
34334         (struct La_x32_retval): Likewise.
34336 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34338         * sysdeps/x86_64/preconfigure.in: New file.
34339         * sysdeps/x86_64/preconfigure: New generated file.
34341 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34343         [BZ #13824]
34344         * math/e_exp2l.c: Include <float.h>.
34345         (__ieee754_exp2l): Handle overflow and underflow cases
34346         separately.  Only pass fractional part of argument to
34347         __ieee754_expl.
34348         * math/libm-test.inc (exp2_test): Add more tests.
34350         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34351         negating x to take absolute value.
34352         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34353         Likewise.
34354         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34355         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34356         Likewise.
34357         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34358         computing low part if x was negated.
34359         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34361 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34363         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34364         la_x32_gnu_pltexit.
34365         (pltexit): Cast int_retval to ptrdiff_t.
34366         * elf/tst-auditmod3b.c: Likewise.
34367         * elf/tst-auditmod4b.c: Likewise.
34368         * elf/tst-auditmod5b.c: Likewise.
34369         * elf/tst-auditmod6b.c: Likewise.
34370         * elf/tst-auditmod6c.c: Likewise.
34371         * elf/tst-auditmod7b.c: Likewise.
34373         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34374         and x32_gnu_pltexit.
34376         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34377         __ELF_NATIVE_CLASS.
34378         (La_x32_regs): New macro.
34379         (La_x32_retval): Likewise.
34380         (la_x32_gnu_pltenter): New function prototype.
34381         (la_x32_gnu_pltexit): Likewise.
34383 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
34385         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34386         exponent.
34388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34390         * configure.in (libc_cv_cc_nofma): Check for option to disable
34391         generation of FMA instructions.
34392         * configure: Regenerate.
34393         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34394         * sysdeps/ieee754/dbl-64/Makefile: New file.
34395         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34396         Remove brandred-fma4.
34397         (CFLAGS-brandred-fma4.c): Remove.
34398         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34399         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34400         define.
34401         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34402         define.
34404 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34406         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34407         LLONG_MAX != LONG_MAX.
34408         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34409         (_fitoa_word): Likewise.
34410         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34411         LLONG_MAX != LONG_MAX.
34412         * stdio-common/_itowa.h: Include <_itoa.h>.
34413         (_itowa_word): Use _ITOA_WORD_TYPE on value.
34414         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
34415         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
34416         only if not defined.
34417         (_ITOA_WORD_TYPE): Likewise.
34418         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34419         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34421 2012-03-21  David S. Miller  <davem@davemloft.net>
34423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34425 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34427         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34428         of x86_64 when setting libc_cv_slibdir, libdir and
34429         libc_cv_localedir.
34430         * sysdeps/unix/sysv/linux/configure: Regenerated.
34432 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34434         * manual/lang.texi (Old Varargs): Remove section.
34435         (How Variadic): Update menu.
34436         (va_start): Do not mention varargs.h.
34438 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34439             Joseph Myers  <joseph@codesourcery.com>
34441         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34442         link test.
34443         * configure: Regenerated.
34445 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34447         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34448         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34449         conformtest.pl
34451 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34453         * NOTES: Remove.
34454         * Makefile (files-for-dist): Remove NOTES.
34455         (NOTES): Remove rule.
34456         * README: Don't refer to NOTES.
34457         * manual/creature.texi: Don't include macros.texi.
34458         * manual/intro.texi (creature.texi): Remove comment referring to
34459         NOTES.
34461         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34462         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34463         * configure: Regenerated.
34464         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34465         LIBC_TRY_CC_OPTION.
34466         (libc_cv_as_i686): Likewise.
34467         (libc_cv_cc_avx): Likewise.
34468         (libc_cv_cc_sse2avx): Likewise.
34469         (libc_cv_cc_fma4): Likewise.
34470         (libc_cv_cc_novzeroupper): Likewise.
34471         * sysdeps/i386/configure: Regenerated.
34473         [BZ #13883]
34474         * sysdeps/i386/fpu/s_cexp.S: Remove.
34475         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34476         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34477         * math/libm-test.inc (cexp_test): Add more tests.
34478         * sysdeps/i386/fpu/libm-test-ulps: Update.
34479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34481 2012-03-21  Allan McRae  <allan@archlinux.org>
34483         * timezone/Makefile: Do not install iso3166.tab and zone.tab
34485 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34487         [BZ #13871]
34488         * math/w_exp2.c: Do not include <float.h>.
34489         (o_threshold, u_threshold): Remove.
34490         (__exp2): Calculate result before checking finiteness and calling
34491         __kernel_standard.
34492         * math/w_exp2f.c: Likewise.
34493         * math/w_exp2l.c: Likewise.
34494         * math/libm-test.inc (exp2_test): Require overflow exception for
34495         1e6 input.
34497         [BZ #3866]
34498         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34499         range of signed 64-bit integers before using fistpll.  Remove
34500         checks for whether integers fit in mantissa bits.
34501         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34502         the range of signed 32-bit integers before using fistpl.  Remove
34503         checks for whether integers fit in mantissa bits.
34504         * sysdeps/i386/fpu/e_powl.S (p64): New object.
34505         (__ieee754_powl): Test for y outside the range of signed 64-bit
34506         integers before using fistpll.  Reduce 64-bit values to 63-bit
34507         ones as needed.
34508         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34509         divide-by-zero is raised for zero to large negative powers.
34510         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34511         (__ieee754_powl): Test for y outside the range of signed 64-bit
34512         integers before using fistpll.  Reduce 64-bit values to 63-bit
34513         ones as needed.
34514         * math/libm-test.inc (pow_test): Add more tests.
34516 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34518         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34519         <stdio-common/_itoa.h>.
34520         * debug/segfault.c: Likewise.
34521         * elf/dl-cache.c: Likewise.
34522         * elf/dl-minimal.c: Likewise.
34523         * elf/dl-misc.c: Likewise.
34524         * elf/dl-sysdep.c: Likewise.
34525         * elf/dl-version.c: Likewise.
34526         * elf/rtld.c: Likewise.
34527         * hurd/hurdsock.c: Likewise.
34528         * hurd/lookup-retry.c: Likewise.
34529         * malloc/malloc.c: Likewise.
34530         * malloc/mtrace.c: Likewise.
34531         * nscd/nscd_getgr_r.c: Likewise.
34532         * nscd/nscd_getpw_r.c: Likewise.
34533         * nscd/nscd_getserv_r.c: Likewise.
34534         * posix/getopt_init.c: Likewise.
34535         * posix/wordexp.c: Likewise.
34536         * stdio-common/_itoa.c: Likewise.
34537         * stdio-common/printf_fphex.c: Likewise.
34538         * stdio-common/vfprintf.c: Likewise.
34539         * string/_strerror.c: Likewise.
34540         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34541         * sysdeps/i386/i686/hp-timing.h: Likewise.
34542         * sysdeps/mach/_strerror.c: Likewise.
34543         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34544         * sysdeps/mach/hurd/sethostid.c: Likewise.
34545         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34546         * sysdeps/mach/xpg-strerror.c: Likewise.
34547         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34548         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34549         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34550         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34551         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34552         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34553         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34554         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34555         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34556         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34557         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34558         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34559         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34560         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34561         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34562         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34563         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34564         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34565         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34566         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34567         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34569         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34571         * stdio-common/_itoa.h: Moved to ...
34572         * sysdeps/generic/_itoa.h: Here.
34574         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34576         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34577         instead of "_itoa.h" and "_itowa.h".
34578         * stdio-common/vfprintf.: Likewise.
34580 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34582         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34583         <bits/wordsize.h>.
34584         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34585         (__signbit): Likwise.
34586         (llrintf): Likwise.
34587         (llrint): Likwise.
34589 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34591         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34592         __WORDSIZE != 64.
34594 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34596         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34597         OVERFLOW_EXCEPTION_OK.
34598         * math/libm-test.inc ("Philosophy"): Update comment about
34599         exception testing.
34600         (OVERFLOW_EXCEPTION): Define.
34601         (OVERFLOW_EXCEPTION_OK): Likewise.
34602         (INVALID_EXCEPTION_OK): Renumber.
34603         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34604         (IGNORE_ZERO_INF_SIGN): Likewise.
34605         (test_exceptions): Handle FE_OVERFLOW.
34606         (exp10_test): Expect overflow exceptions.
34607         (exp2_test): Likewise.
34608         (expm1_test): Likewise.
34609         (nextafter_test): Likewise.
34610         (pow_test): Likewise.
34611         (scalbn_test): Likewise.
34612         (scalbln_test): Likewise.
34614 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34616         * sysdeps/x86_64/bits/atomic.h
34617         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34618         64bit integer.
34619         (atomic_exchange_acq): Likewise.
34620         (__arch_exchange_and_add_body): Likewise.
34621         (__arch_add_body): Likewise.
34622         (atomic_add_negative): Likewise.
34623         (atomic_add_zero): Likewise.
34625 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34627         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34628         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34630 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34632         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34633         Check __x86_64__ instead of __WORDSIZE.
34635 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34637         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34639 2012-03-19  David S. Miller  <davem@davemloft.net>
34641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34643         * sysdeps/sparc/fpu/fenv_private.h: New file.
34644         * sysdeps/sparc/fpu/math_private.h: Use it.
34645         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34646         Remove.
34647         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34648         (libc_feholdexcept_setroundl): Remove.
34649         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34650         Remove.
34651         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34652         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34654 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34656         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34657         int64_t instead of long int.
34658         (INSERT_WORDS64): Likwise.
34660 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34662         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34663         _Unwind_GetCFA return to _Unwind_Ptr first.
34665 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34667         [BZ #13629]
34668         * math/s_clog.c: Include <float.h>.
34669         (__clog): Scale large or subnormal inputs.
34670         * math/s_clogf.c: Likewise.
34671         * math/s_clogl.c: Likewise.
34672         * math/s_clog10.c: Include <float.h>.
34673         (M_LOG10_2): Define.
34674         (__clog10): Scale large or subnormal inputs.
34675         * math/s_clog10f.c: Likewise.
34676         * math/s_clog10l.c: Likewise.
34677         * math/libm-test.inc (clog_test): Add more tests.
34678         (clog10_test): Likewise.
34679         * sysdeps/i386/fpu/libm-test-ulps: Update.
34680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34682         [BZ #11451]
34683         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34684         x and y.
34685         * math/libm-test.inc (atan2_test): Add another test.
34687         * Makerules (common-objdir-compile): Remove.
34688         * sysdeps/unix/Makefile (config-generated): Do not add
34689         $(unix-generated) to variable.
34690         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34691         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34692         Remove rule.
34693         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34694         Likewise.
34695         [generic bits/local_lim.h] (before-compile): Do not append to
34696         variable.
34697         [generic bits/local_lim.h] (common-generated): Likewise.
34698         [generic sys/param.h] (before-compile): Do not append to variable.
34699         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34700         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34701         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34702         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34703         include.
34704         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34705         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34706         [generic sys/param.h] ($(addprefix
34707         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34708         [generic sys/param.h] (common-generated): Do not append to
34709         variable.
34710         [generic sys/param.h] (sysdep_headers): Likewise.
34711         [generic bits/errno.h] (before-compile): Do not append to
34712         variable.
34713         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34714         rule.
34715         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34716         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34717         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34718         [generic bits/errno.h] (common-generated): Do not append to
34719         variable.
34720         [generic bits/ioctls.h] (before-compile): Do not append to
34721         variable.
34722         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34723         rule.
34724         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34725         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34726         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34727         rule.
34728         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34729         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34730         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34731         [generic bits/ioctls.h] (common-generated): Do not append to
34732         variable.
34733         [generic sys/syscall.h] (syscall.h): Remove variable.
34734         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34735         rule.
34736         [generic sys/syscall.h] (before-compile): Do not append to
34737         variable.
34738         [generic sys/syscall.h] (common-generated): Likewise.
34739         * sysdeps/unix/errnos-tmpl.c: Remove file.
34740         * sysdeps/unix/errnos.awk: Likewise.
34741         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34742         * sysdeps/unix/ioctls.awk: Likewise.
34743         * sysdeps/unix/mk-local_lim.c: Likewise.
34744         * sysdeps/unix/snarf-ioctls: Likewise.
34746 2012-03-19  Richard Henderson  <rth@twiddle.net>
34748         * sysdeps/i386/fpu/fenv_private.h: New file.
34749         * sysdeps/i386/fpu/math_private.h: Use it.
34750         (math_opt_barrier, math_force_eval): Remove.
34751         (libc_feholdexcept_setround_53bit): Remove.
34752         (libc_feupdateenv_53bit): Remove.
34753         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34754         (math_opt_barrier, math_force_eval): Remove.
34755         (libc_feholdexcept): Remove.
34756         (libc_feholdexcept_setround): Remove.
34757         (libc_fetestexcept, libc_fesetenv): Remove.
34758         (libc_feupdateenv_test): Remove.
34759         (libc_feupdateenv, libc_feholdsetround): Remove.
34760         (libc_feresetround): Remove.
34762         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34763         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34765         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34766         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34767         (libc_feupdateenv_testl): New.
34768         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34769         (libc_feupdateenv_testf): New.
34770         (libc_feupdateenv): Use libc_feupdateenv_test.
34771         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34772         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34774         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34775         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34776         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34777         (libc_feresetround_noex): New.
34778         (libc_feresetround_noexf): New.
34779         (libc_feresetround_noexl): New.
34780         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34781         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34782         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34783         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34784         SET_RESTORE_ROUND.
34785         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34786         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34787         (__cos): Likewise.
34788         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34789         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34790         SET_RESTORE_ROUND_NOEX.
34791         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34792         SET_RESTORE_ROUND_NOEXF.
34793         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34794         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34795         (libc_feholdsetroundf): New.
34796         (libc_feresetround, libc_feresetroundf): New.
34798         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34799         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34800         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34802         * sysdeps/generic/math_private.h: Include <fenv.h>.
34803         (default_libc_feholdexcept): New.
34804         (default_libc_feholdexcept_setround): New.
34805         (default_libc_fesetenv, default_libc_feupdateenv): New.
34806         (libc_feholdexcept): Only define if undefined.
34807         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34808         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34809         (libc_feholdexcept_setroundl): Likewise.
34810         (libc_feholdexcept_setround_53bit): Likewise.
34811         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34812         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34813         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34814         (libc_feupdateenv_53bit): Likewise.
34815         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34816         (libc_feholdexcept): Convert from macro to inline function.
34817         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34818         (libc_fesetenv, libc_feupdateenv): Likewise.
34820         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34821         not previously defined.
34822         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34823         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34824         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34825         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34826         * sysdeps/ieee754/flt-32/math_private.h: New file.
34827         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34828         math_private.h below SET_FLOAT_WORD.
34829         (__isnan, __isinf_ns, __finite): Remove.
34830         (__isnanf, __isinf_nsf, __finitef): Remove.
34832 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34836 2012-03-17  David S. Miller  <davem@davemloft.net>
34838         [BZ #6471]
34839         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34840         for 2.16.
34842 2012-03-16  David S. Miller  <davem@davemloft.net>
34844         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34845         warnings.
34847         [BZ #6471]
34848         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34849         properly.
34850         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34851         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34852         sysdep_routines when subdir is sysvipc.
34853         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34854         __getshmlba helper.
34856         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34858 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34860         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34861         [__LP64__].
34863 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34865         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34866         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34867         (__lround): Renamed to ...
34868         (__llround): This.  Replace long int with long long int.
34869         Define lround functions as aliases of llround functions.
34870         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34872 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34874         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34875         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34876         adresses to uintptr_t.  Replace "long int" and "unsigned long
34877         int" with "greg_t" on va_arg.
34879 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34881         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34882         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34884         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34885         Move e_machine check before EI_CLASS check.  Handle x32
34886         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34887         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34888         SKIP_EM_IA_64 and include
34889         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34891         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34892         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34893         (add_system_dir): New macro.
34895         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34896         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34898 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34900         [BZ #2551]
34901         [BZ #2552]
34902         [BZ #2553]
34903         [BZ #2554]
34904         [BZ #2562]
34905         [BZ #2563]
34906         [BZ #2565]
34907         [BZ #2566]
34908         [BZ #2576]
34909         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34910         (y0): Likewise.
34911         * math/w_j0f.c (j0f): Likewise.
34912         (y0f): Likewise.
34913         * math/w_j0l.c (__j0l): Likewise.
34914         (__y0l): Likewise.
34915         * math/w_j1.c (j1): Likewise.
34916         (y1): Likewise.
34917         * math/w_j1f.c (j1f): Likewise.
34918         (y1f): Likewise.
34919         * math/w_j1l.c (__j1l): Likewise.
34920         (__y1l): Likewise.
34921         * math/w_jn.c (jn): Likewise.
34922         (yn): Likewise.
34923         * math/w_jnf.c (jnf): Likewise.
34924         (ynf): Likewise.
34925         * math/w_jnl.c (__jnl): Likewise.
34926         (__ynl): Likewise.
34927         * math/libm-test.inc (j0_test): Add more tests.
34928         (j1_test): Likewise.
34929         (jn_test): Likewise.  Add trailing semicolon to existing test.
34930         (y0_test): Likewise.
34931         (y1_test): Likewise.
34932         * sysdeps/i386/fpu/libm-test-ulps: Update.
34933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34935         [BZ #13851]
34936         [BZ #13854]
34937         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34938         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34939         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34940         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34941         (__tanl): Set errno for infinite argument.
34942         * sysdeps/i386/fpu/mptan.c: Remove.
34943         * sysdeps/i386/fpu/s_tan.S: Likewise.
34944         * sysdeps/i386/fpu/s_tanl.S: Likewise.
34945         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34946         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34947         * math/libm-test.inc (tan_test): Add more tests and enable more
34948         tests for double and long double.
34949         * sysdeps/i386/fpu/libm-test-ulps: Update.
34950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34952 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
34954         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34955         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34957 2012-03-16  Roland McGrath  <roland@hack.frob.com>
34959         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34960         * configure.in: Use it for both main tree and add-ons.
34961         * configure: Regenerated.
34963 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34965         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34967 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34969         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34970         in comment.
34972         [BZ #13851]
34973         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34974         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34975         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34976         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34977         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34978         infinite argument.
34979         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34980         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34981         != 0 for prec == 2.
34982         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34983         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34984         * sysdeps/i386/fpu/s_cosl.S: Likewise.
34985         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34986         * sysdeps/i386/fpu/s_sinl.S: Likewise.
34987         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34988         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34989         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34990         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34991         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34992         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34993         * math/libm-test.inc (cos_test): Add more tests and enable more
34994         tests for long double.
34995         (sin_test): Likewise.
34996         (sincos_test): Likewise.
34997         * sysdeps/i386/fpu/libm-test-ulps: Update.
34998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35000 2012-03-16  David S. Miller  <davem@davemloft.net>
35002         * sysdeps/sparc/fpu/math_private.h: New file.
35004 2012-03-15  David S. Miller  <davem@davemloft.net>
35006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35007         file.
35008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35010         file.
35011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35016         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35017         sysdep routines.
35018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35020         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35021         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35023         * sysdeps/sparc/sparc-ifunc.h: New file.
35024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35025         sparc-ifunc.h
35026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35028         Likewise.
35029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35030         Likewise.
35031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35035         Likewise.
35036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35041         Likewise.
35042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35043         Likewise.
35044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35050         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35051         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35053         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35054         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35058         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35062         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35063         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35064         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35065         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35066         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35067         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35069 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35071         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35072         scaling.
35073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35075 2012-03-15  Andreas Jaeger  <aj@suse.de>
35077         [BZ #13852]
35078         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35079         ieee754/flt-32 implementation for sin, cos and sincos.
35080         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35081         * sysdeps/i386/fpu/s_cosf.S: Likewise.
35082         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35083         * sysdeps/i386/fpu/s_sinf.S: Likewise.
35084         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35085         ieee754/flt-32 implementation for tan.
35087         * math/libm-test.inc (cos_test): Enable some large input tests for
35088         float as well
35089         (sin_test): Likewise.
35090         (sincos_test): Likewise.
35091         (tan_test): Add tests for large input.
35093         * sysdeps/i386/fpu/libm-test-ulps: Update.
35095 2012-03-15  Andreas Jaeger  <aj@suse.de>
35097         [BZ #13658]
35098         * math/libm-test.inc (cos_test): Add more test cases.
35099         (sin_test): Likewise.
35100         (sincos_test): Likewise.
35102 2012-03-15  Andreas Jaeger  <aj@suse.de>
35104         [BZ #13837]
35105         * math/libm-test.inc (cos_test): Add a test case for large input
35106         value.
35107         (sin_test): Likewise.
35108         (sincos_test): Likewise.
35110 2012-03-15  Andreas Jaeger  <aj@suse.de>
35111             Joseph Myers  <joseph@codesourcery.com>
35113         [BZ #13658]
35114         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35115         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35116         * sysdeps/i386/fpu/branred.c: Likewise.
35117         * sysdeps/i386/fpu/dosincos.c: Likewise.
35118         * sysdeps/i386/fpu/mpa.c: Likewise.
35119         * sysdeps/i386/fpu/s_cos.S: Likewise.
35120         * sysdeps/i386/fpu/s_sin.S: Likewise.
35121         * sysdeps/i386/fpu/s_sincos.S: Likewise.
35122         * sysdeps/i386/fpu/sincos32.c: Likewise.
35124         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35125         Define.
35126         (libc_feupdateenv_53bit): Define.
35127         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35128         Define.
35129         (libc_feupdateenv_53bit): Define.
35131         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35132         53 bit (without extend i386 double precision).
35134         * math/libm-test.inc (sincos_test): Add tests for large input.
35135         (sin): Likewise.
35136         (cos): Likewise.
35138         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35140 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35144 2012-03-15  David S. Miller  <davem@davemloft.net>
35146         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35147         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35148         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35149         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35162         file.
35163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35165         file.
35166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35168         file.
35169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35171         file.
35172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35173         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35174         fmin/fmax sysdep routines.
35175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35177 2012-03-14  David S. Miller  <davem@davemloft.net>
35179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35183         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35184         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35199         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35200         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35201         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35202         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35203         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35204         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35205         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35206         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35207         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35208         routines.
35209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35210         file.
35211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35213         file.
35214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35216         file.
35217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35219         file.
35220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35222         file.
35223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35225         file.
35226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35227         file.
35228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35229         file.
35230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35231         file.
35232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35233         New file.
35234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35235         file.
35236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35237         file.
35238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35240         file.
35241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35243         file.
35244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35246         file.
35247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35249         VIS3 routines.
35251         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35252         New file.
35254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35256         * sysdeps/sparc/configure.in: New file.
35257         * sysdeps/sparc/configure: Generate.
35258         * configure.in (libc_cv_sparc_as_vis3): Substitute.
35259         * configure: Regenerate.
35260         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35261         * config.make.in (have-as-vis3): New.
35262         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35263         available use -Av9d instead of -Av9a.
35264         * sysdeps/sparc/sparc64/Makefile: Likewise.
35265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35267         New file.
35268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35269         file.
35270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35271         New file.
35272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35273         file.
35274         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35275         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35276         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35277         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35278         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35280         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35281         fzeros/fnegs to load 0x80000000 into a float register instead of
35282         using the stack.
35283         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35285 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35288         bits/syscall.h.
35289         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35290         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35291         ($(inst_includedir)/bits/syscall.h): Remove rule.
35292         ($(objpfx)bits/syscall.d): Include instead of
35293         $(objpfx)syscall-list.d.
35294         (generated): Change syscall-list.h and syscall-list.d to
35295         bits/syscall.h and bits/syscall.d.
35297 2012-03-14  Roland McGrath  <roland@hack.frob.com>
35299         [BZ #13846]
35300         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35302 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35304         [BZ #13841]
35305         * math/s_csqrt.c: Include <float.h>.
35306         (__csqrt): Scale large or subnormal inputs.
35307         * math/s_csqrtf.c: Likewise.
35308         * math/s_csqrtl.c: Likewise.
35309         * math/libm-test.inc (csqrt_test): Add more tests.
35310         * sysdeps/i386/fpu/libm-test-ulps: Update.
35311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35313         [BZ #13840]
35314         * math/libm-test.inc (hypot_test): Add more tests.
35316 2012-03-13  David S. Miller  <davem@davemloft.net>
35318         [BZ #13840]
35319         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35320         double-precision for the calculation instead of scaling.
35322 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
35324         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35325         manipulate bits before adding and subtracting TWO52[sx].
35326         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35327         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35328         Likewise.
35329         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35331 2012-03-13  David S. Miller  <davem@davemloft.net>
35333         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35334         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35335         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35336         rtld-global-offsets.h
35337         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35339         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35340         large parameters.
35342         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35344         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35345         'err' in the ifdef scope in which it is actually used.
35347         * nss/nss_db/db-init.c: Include string.h
35349 2012-03-12  David S. Miller  <davem@davemloft.net>
35351         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35352         masking out of the most significant byte of random value used.
35353         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35354         Fix coding style in previous change.
35356         * sysdeps/unix/sysv/linux/kernel-features.h
35357         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35358         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35359         expression.
35360         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35361         later.
35363 2012-03-11  David S. Miller  <davem@davemloft.net>
35365         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35366         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35367         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35368         for 'resultvar' otherwise things get truncated on 64-bit.
35370         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35371         Fix masking out of the most significant byte of random value used.
35373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35375 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
35377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35379 2012-03-09  David S. Miller  <davem@davemloft.net>
35381         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35382         variables with appropriate CPP guards.
35383         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35384         from the frame pointer, not the stack pointer.  Correct layout
35385         comments.  Fix test on resulting framesize and the management of
35386         the outregs buffer for pltexit.  Preserve floating point return
35387         values across _dl_call_pltexit call.
35388         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35389         framesize and the management of the outregs buffer for pltexit.
35390         Preserve floating point return values across _dl_call_pltexit
35391         call.
35392         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35393         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35394         (la_sparc64_gnu_pltexit): New functions.
35395         (print_exit): Fix format string for return register value.
35397 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
35399         * sunrpc/Makefile (others): Add rpcgen.
35400         ($(objpfx)rpcgen): Remove special build rule and dependency on
35401         libc.
35402         * sunrpc/rpcgen.c: New file.
35404 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
35406         [BZ #13673]
35407         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35408         * stdio-common/bug-vfprintf-nargs.c: Likewise.
35409         * sysdeps/i386/crti.S: Likewise.
35410         * sysdeps/i386/crtn.S: Likewise.
35411         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35412         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35413         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35414         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35415         * sysdeps/sh/crti.S: Likewise.
35416         * sysdeps/sh/crtn.S: Likewise.
35417         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35419         [BZ #13673]
35420         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35421         with URL.
35422         * locale/programs/locfile-kw.gperf: Likewise.
35423         * locale/programs/charmap-kw.h: Regenerated.
35424         * locale/programs/locfile-kw.h: Likewise.
35426         [BZ #13673]
35427         * intl/plural.y: Replace FSF snail mail address with URL.
35428         * intl/plural.c: Regenerated.
35430 2012-03-09  Richard Henderson  <rth@twiddle.net>
35432         * include/math_private.h: Remove file.
35433         * math/math_private.h: Move file ...
35434         * sysdeps/generic/math_private.h: ... here.
35436         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35437         * sysdeps/powerpc/fpu/math_private.h: Likewise.
35438         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35440         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35441         and <math_private.h>.
35442         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35443         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35444         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35445         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35446         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35447         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35448         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35449         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35450         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35451         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35452         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35453         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35454         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35455         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35456         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35457         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35458         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35459         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35460         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35461         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35462         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35463         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35464         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35466         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35467         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35468         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35469         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35470         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35471         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35472         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35473         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35474         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35475         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35476         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35477         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35478         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35479         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35480         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35481         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35482         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35483         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35484         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35485         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35486         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35487         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35488         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35489         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35490         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35491         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35492         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35493         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35494         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35495         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35496         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35497         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35498         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35499         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35500         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35501         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35502         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35503         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35504         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35505         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35506         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35507         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35508         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35509         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35510         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35511         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35512         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35513         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35514         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35515         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35516         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35517         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35519         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35520         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35521         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35522         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35523         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35524         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35525         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35526         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35527         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35528         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35529         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35530         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35531         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35532         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35533         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35534         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35535         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35536         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35537         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35538         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35539         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35540         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35541         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35542         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35543         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35544         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35545         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35546         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35547         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35548         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35549         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35550         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35551         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35552         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35553         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35554         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35555         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35556         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35557         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35558         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35559         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35560         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35561         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35562         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35563         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35564         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35565         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35566         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35567         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35568         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35569         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35570         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35571         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35572         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35573         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35574         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35575         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35576         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35577         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35578         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35579         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35580         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35581         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35582         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35583         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35584         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35585         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35586         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35587         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35588         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35589         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35590         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35591         * sysdeps/ieee754/k_standard.c: Likewise.
35592         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35593         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35594         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35595         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35596         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35597         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35598         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35599         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35600         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35601         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35602         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35603         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35604         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35605         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35606         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35607         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35608         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35609         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35610         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35611         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35612         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35613         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35614         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35615         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35616         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35617         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35618         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35619         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35620         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35621         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35622         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35623         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35624         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35625         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35626         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35627         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35628         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35629         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35630         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35631         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35632         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35633         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35634         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35635         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35636         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35637         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35638         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35639         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35640         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35641         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35642         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35643         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35644         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35645         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35646         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35647         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35648         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35649         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35650         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35651         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35652         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35653         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35654         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35655         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35656         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35657         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35658         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35659         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35660         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35661         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35662         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35664         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35665         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35666         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35667         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35668         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35669         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35670         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35671         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35672         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35673         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35674         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35675         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35676         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35677         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35678         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35679         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35680         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35681         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35682         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35683         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35684         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35685         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35686         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35687         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35688         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35689         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35690         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35691         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35692         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35693         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35694         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35695         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35696         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35697         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35698         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35699         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35700         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35701         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35702         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35703         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35704         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35705         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35706         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35707         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35708         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35709         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35710         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35711         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35712         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35713         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35714         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35715         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35716         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35717         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35718         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35719         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35720         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35721         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35722         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35723         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35724         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35725         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35726         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35727         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35728         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35729         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35730         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35731         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35732         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35733         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35734         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35735         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35736         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35737         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35738         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35739         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35740         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35741         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35742         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35743         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35744         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35745         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35746         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35747         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35748         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35749         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35750         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35751         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35752         * sysdeps/ieee754/s_lib_version.c: Likewise.
35753         * sysdeps/ieee754/s_matherr.c: Likewise.
35754         * sysdeps/ieee754/s_signgam.c: Likewise.
35755         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35756         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35757         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35758         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35759         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35760         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35761         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35762         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35763         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35764         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35765         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35766         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35767         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35768         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35769         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35770         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35771         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35772         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35773         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35775         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35777 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35779         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35780         * sunrpc/rpc_main.c: Likewise.
35781         * sunrpc/rpc_svcout.c: Likewise.
35783 2012-03-09  David S. Miller  <davem@davemloft.net>
35785         * include/math_private.h: New file.
35787 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35789         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35790         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35791         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35792         from <bits/socket_type.h>.
35793         (enum __socket_type): Don't define here.
35794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35796         bits/socket_type.h.
35798         [BZ #13566]
35799         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35800         checking __USE_GNU.
35802         * Makerules ($(inst_includedir)/%.h): New rule.
35803         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35804         (install-others): Remove variable setting.
35805         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35807 2012-03-08  Richard Henderson  <rth@twiddle.net>
35809         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35810         from macro to inline function; merge with the
35811         !__LIBC_INTERNAL_MATH_INLINES version.
35812         (__ieee754_sqrtf): Likewise.
35814         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35815         to inline function.
35816         (__rintf, __floor, __floorf): Likewise.
35818         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35819         macro to inline function.
35820         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35822         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35823         not <math/math_private.h>.
35825 2012-03-08  David S. Miller  <davem@davemloft.net>
35827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35828         copyright year.
35829         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35831 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35833         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35834         normalization.
35835         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35836         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35838 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35840         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35841         be defined individually, they must be defined as a block.  Define
35842         S for printing a string instead of hidint the different by using a
35843         macro for adding the 'l'.
35844         * stdio-common/tst-fphex-wide.c: Adjust.
35846 2012-03-07  Marek Polacek  <polacek@redhat.com>
35848         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35850 2012-03-08  Marek Polacek  <polacek@redhat.com>
35852         [BZ #13806]
35853         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35854         * stdio-common/tst-fphex.c: Define a few macros to make the
35855         test reusable.  Use them.
35856         * stdio-common/tst-fphex-wide.c: New file.
35858 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35860         [BZ #6911]
35861         * manual/macros.texi (gnusystems): New macro.
35862         (nongnusystems): Likewise.
35863         (gnulinuxhurdsystems): Likewise.
35864         (gnuhurdsystems): Likewise..
35865         (gnulinuxsystems): Likewise.
35866         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35867         variants of the GNU system, not "GNU system".
35868         * manual/conf.texi: Likewise.
35869         * manual/errno.texi: Likewise.  Update example of errno macro
35870         expansion.
35871         * manual/filesys.texi: Likewise.
35872         (getumask): Document as specific to GNU/Hurd.
35873         * manual/install.texi: Likewise.  Reword some references to
35874         GNU/Linux.
35875         * manual/intro.texi: Likewise.
35876         * manual/io.texi: Likewise.
35877         (File Name Portability): Detail which constraints are inapplicable
35878         to all GNU systems and which are only inapplicable to GNU/Hurd.
35879         * manual/job.texi: Likewise.
35880         * manual/llio.texi: Likewise.
35881         (O_NOCTTY): Document as present on GNU/Linux.
35882         * manual/maint.texi: Likewise.
35883         * manual/memory.texi: Likewise.
35884         * manual/pattern.texi: Likewise.
35885         * manual/pipe.texi: Likewise.
35886         * manual/process.texi: Likewise.
35887         * manual/resource.texi: Likewise.
35888         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35889         child on GNU/Hurd.
35890         * manual/setjmp.texi: Likewise.
35891         * manual/signal.texi: Likewise.
35892         * manual/startup.texi: Likewise.
35893         * manual/stdio.texi: Likewise.
35894         * manual/terminal.texi: Likewise.
35895         (ONLCR): Document as POSIX.
35896         (OXTABS): Document availability on GNU/Linux as XTABS.
35897         (ONOEOT): Document availability separately from other bits.
35898         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35899         * manual/time.texi: Likewise.
35900         * manual/users.texi: Likewise.
35901         * INSTALL: Regenerated.
35902         * sysdeps/gnu/errlist.c: Regenerated.
35904         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35905         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35906         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35907         puts.
35908         * configure: Regenerated.
35910 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35912         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35913         default includes instead of AC_HEADER_CHECK.
35914         * sysdeps/i386/configure: Regenerated.
35916         [BZ #10716]
35917         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35918         * math/s_cacoshf.c (__cacoshf): Likewise.
35919         * math/s_cacoshl.c (__cacoshl): Likewise.
35920         * math/s_casinh.c (__casinh): Set signs of result from argument.
35921         * math/s_casinhf.c (__casinhf): Likewise.
35922         * math/s_casinhl.c (__casinhl): Likewise.
35923         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35924         (casinh_test): Add more tests.
35925         * sysdeps/i386/fpu/libm-test-ulps: Update.
35926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35928 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35930         * po/zh_TW.po: Update from translation team.
35932         * login/Makefile (distribute): Remove variable.
35933         * catgets/Makefile: Likewise.
35934         * mach/Makefile: Likewise.
35935         * malloc/Makefile: Likewise.
35936         * misc/Makefile: Likewise.
35937         * iconv/Makefile: Likewise.
35938         * nscd/Makefile: Likewise.
35939         * hurd/Makefile: Likewise.
35940         * manual/Makefile: Likewise.
35941         * locale/Makefile: Likewise.
35942         * intl/Makefile: Likewise.
35943         * conform/Makefile: Likewise.
35944         * nss/Makefile: Likewise.
35945         * time/Makefile: Likewise.
35946         * soft-fp/Makefile: Likewise.
35947         * dirent/Makefile: Likewise.
35948         * gmon/Makefile: Likewise.
35949         * po/Makefile: Likewise.
35950         * rt/Makefile: Likewise.
35951         * socket/Makefile: Likewise.
35952         * math/Makefile: Likewise.
35953         * signal/Makefile: Likewise.
35954         * debug/Makefile: Likewise.
35955         * elf/Makefile: Likewise.
35956         * timezone/Makefile: Likewise.
35957         * stdlib/Makefile: Likewise.
35958         * iconvdata/Makefile: Likewise.
35959         * sunrpc/Makefile: Likewise.
35960         * io/Makefile: Likewise.
35961         * argp/Makefile: Likewise.
35962         * inet/Makefile: Likewise.
35963         * hesiod/Makefile: Likewise.
35964         * grp/Makefile: Likewise.
35965         * csu/Makefile: Likewise.
35966         * wctype/Makefile: Likewise.
35967         * crypt/Makefile: Likewise.
35968         * libio/Makefile: Likewise.
35969         * string/Makefile: Likewise.
35970         * nis/Makefile: Likewise.
35971         * resolv/Makefile: Likewise.
35972         * stdio-common/Makefile: Likewise.
35973         * wcsmbs/Makefile: Likewise.
35974         * dlfcn/Makefile: Likewise.
35975         * posix/Makefile: Likewise.
35977         [BZ #6959]
35978         * timezone/Makefile: Don't install timezone files, just the programs
35979         and scripts.
35981 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
35983         * nss/databases.def: Add missing gshadow entry.
35985         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
35987 2012-03-06  Marek Polacek  <polacek@redhat.com>
35989         [BZ #13726]
35990         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35991         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35992         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35993         * stdio-common/tst-long-dbl-fphex.c: New file.
35995 2012-03-06  David S. Miller  <davem@davemloft.net>
35997         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35998         (set_obp_int): New function.
35999         (get_obp_int): New function.
36000         (__get_clockfreq_via_dev_openprom): Likewise.
36001         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36002         Avoid unused variable warnings on 'val' and use builtin_expect.
36003         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36004         __builtin_expect.
36005         (INLINE_CLONE_SYSCALL): Likewise.
36007 2012-03-05  David S. Miller  <davem@davemloft.net>
36009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36011 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
36013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36015         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36016         only for |x| >= 40.
36017         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36019 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36021         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36022         Replace gettimeofday with __vdso_gettimeofday.
36024         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36025         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36026         __vdso_clock_gettime and __vdso_getcpu.
36028         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36029         time with __vdso_time.
36031 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36033         * manual/lang.texi (size_t): Note types to which size_t may be
36034         equivalent with the GNU C Library, but do not describe when
36035         differences between them are significant.
36037 2012-03-05  Andreas Jaeger  <aj@suse.de>
36039         * sysdeps/i386/fpu/libm-test-ulps: Update.
36041 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36043         [BZ #3976]
36044         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36045         (__ieee754_pow): Save and restore rounding mode and use
36046         round-to-nearest for main computations.
36047         * math/libm-test.inc (pow_test_tonearest): New function.
36048         (pow_test_towardzero): Likewise.
36049         (pow_test_downward): Likewise.
36050         (pow_test_upward): Likewise.
36051         (main): Call the new functions.
36052         * sysdeps/i386/fpu/libm-test-ulps: Update.
36053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36055         [BZ #3976]
36056         * math/libm-test.inc (cosh_test_tonearest): New function.
36057         (cosh_test_towardzero): Likewise.
36058         (cosh_test_downward): Likewise.
36059         (cosh_test_upward): Likewise.
36060         (sinh_test_tonearest): Likewise.
36061         (sinh_test_towardzero): Likewise.
36062         (sinh_test_downward): Likewise.
36063         (sinh_test_upward): Likewise.
36064         (main): Call the new functions.
36065         * sysdeps/i386/fpu/libm-test-ulps: Update.
36066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36068 2012-03-05  Tom de Vries  <tom@codesourcery.com>
36070         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36071         default stack guard is set in last bytes.
36072         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36074 2012-03-05  Kees Cook  <keescook@chromium.org>
36076         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36078         [BZ #13656]
36079         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36080         possibly allocate from heap instead of stack.
36081         * stdio-common/bug-vfprintf-nargs.c: New file.
36082         * stdio-common/Makefile (tests): Add nargs overflow test.
36084 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
36086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36088 2012-03-03  Marek Polacek  <polacek@redhat.com>
36090         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36091         * math/math_private.h: Likewise.
36092         * stdlib/tst-strtod.c: Likewise.
36093         * sysdeps/i386/i486/bits/atomic.h: Likewise.
36094         * sysdeps/x86_64/bits/atomic.h: Likewise.
36096 2012-03-02  David S. Miller  <davem@davemloft.net>
36098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36102         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36103         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36104         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36105         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36107 2012-03-02  Roland McGrath  <roland@hack.frob.com>
36109         [BZ #13792]
36110         * manual/examples/README: New file, says the example source files
36111         can be used under GPL>=2.
36112         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36113         line containing just "*/".
36114         * manual/examples/add.c: Add copyright header (GPL>=2).
36115         * manual/examples/argp-ex1.c: Likewise.
36116         * manual/examples/argp-ex2.c: Likewise.
36117         * manual/examples/argp-ex3.c: Likewise.
36118         * manual/examples/argp-ex4.c: Likewise.
36119         * manual/examples/atexit.c: Likewise.
36120         * manual/examples/db.c: Likewise.
36121         * manual/examples/dir.c: Likewise.
36122         * manual/examples/dir2.c: Likewise.
36123         * manual/examples/execinfo.c: Likewise.
36124         * manual/examples/filecli.c: Likewise.
36125         * manual/examples/filesrv.c: Likewise.
36126         * manual/examples/fmtmsgexpl.c: Likewise.
36127         * manual/examples/genpass.c: Likewise.
36128         * manual/examples/inetcli.c: Likewise.
36129         * manual/examples/inetsrv.c: Likewise.
36130         * manual/examples/isockad.c: Likewise.
36131         * manual/examples/longopt.c: Likewise.
36132         * manual/examples/memopen.c: Likewise.
36133         * manual/examples/memstrm.c: Likewise.
36134         * manual/examples/mkfsock.c: Likewise.
36135         * manual/examples/mkisock.c: Likewise.
36136         * manual/examples/mygetpass.c: Likewise.
36137         * manual/examples/pipe.c: Likewise.
36138         * manual/examples/popen.c: Likewise.
36139         * manual/examples/rprintf.c: Likewise.
36140         * manual/examples/search.c: Likewise.
36141         * manual/examples/select.c: Likewise.
36142         * manual/examples/setjmp.c: Likewise.
36143         * manual/examples/sigh1.c: Likewise.
36144         * manual/examples/sigusr.c: Likewise.
36145         * manual/examples/stpcpy.c: Likewise.
36146         * manual/examples/strdupa.c: Likewise.
36147         * manual/examples/strftim.c: Likewise.
36148         * manual/examples/strncat.c: Likewise.
36149         * manual/examples/subopt.c: Likewise.
36150         * manual/examples/swapcontext.c: Likewise.
36151         * manual/examples/termios.c: Likewise.
36152         * manual/examples/testopt.c: Likewise.
36153         * manual/examples/testpass.c: Likewise.
36154         * manual/examples/timeval_subtract.c: Likewise.
36156         [BZ #13792]
36157         * manual/time.texi (Elapsed Time): Move timeval_subtract example
36158         function to ...
36159         * manual/timeval_subtract.c.texi: ... here, new file.
36161 2012-03-02  David S. Miller  <davem@davemloft.net>
36163         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36165 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
36167         [BZ #3976]
36168         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36169         (__sin): Save and restore rounding mode and use round-to-nearest
36170         for all computations.
36171         (__cos): Save and restore rounding mode and use round-to-nearest
36172         for all computations.
36173         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36174         <fenv.h>.
36175         (tan): Save and restore rounding mode and use round-to-nearest for
36176         all computations.
36177         * math/libm-test.inc (cos_test_tonearest): New function.
36178         (cos_test_towardzero): Likewise.
36179         (cos_test_downward): Likewise.
36180         (cos_test_upward): Likewise.
36181         (sin_test_tonearest): Likewise.
36182         (sin_test_towardzero): Likewise.
36183         (sin_test_downward): Likewise.
36184         (sin_test_upward): Likewise.
36185         (tan_test_tonearest): Likewise.
36186         (tan_test_towardzero): Likewise.
36187         (tan_test_downward): Likewise.
36188         (tan_test_upward): Likewise.
36189         (main): Call the new functions.
36190         * sysdeps/i386/fpu/libm-test-ulps: Update.
36191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36193         [BZ #10135]
36194         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36195         small n, then large n, before computing and testing k+n.
36196         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36197         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36198         Likewise.
36199         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36200         Likewise.
36201         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36202         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36203         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36204         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36205         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36206         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36207         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36208         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36209         * math/libm-test.inc (scalbn_test): Add more tests.
36210         (scalbln_test): Likewise.
36212         * manual/filesys.texi (mode_t): Describe constraints on size and
36213         signedness, not exact equivalence to a particular type.
36214         (ino_t): Likewise.
36215         (ino64_t): Likewise.
36216         (dev_t): Likewise.
36217         (nlink_t): Likewise.
36218         (blkcnt_t): Likewise.
36219         (blkcnt64_t): Likewise.
36220         * manual/llio.texi (off_t): Likewise.
36222         [BZ #3976]
36223         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36224         (__ieee754_exp): Save and restore rounding mode and use
36225         round-to-nearest for all computations.
36226         * math/libm-test.inc (exp_test_tonearest): New function.
36227         (exp_test_towardzero): Likewise.
36228         (exp_test_downward): Likewise.
36229         (exp_test_upward): Likewise.
36230         (main): Call the new functions.
36231         * sysdeps/i386/fpu/libm-test-ulps: Update.
36232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36234 2012-03-01  Chris Demetriou  <cgd@google.com>
36236         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36237         have predictable order.
36239 2012-03-01  David S. Miller  <davem@davemloft.net>
36241         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36243         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36244         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36245         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36246         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36248         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36249         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36250         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36252         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36253         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36254         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36255         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36256         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36260         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36261         * sysdeps/sparc/fpu/libm-test-ulps: to here.
36262         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36264         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36265         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36266         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36267         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36268         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36269         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36270         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36271         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36272         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36273         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36274         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36275         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36277         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36278         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36280         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36281         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36282         * sysdeps/sparc/elf/configure: Regenerated.
36284 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
36286         * configure.in (AS, LD): Require binutils 2.20 or later.
36287         * configure: Regenerated.
36288         * manual/install.texi (Tools for Compilation): Give binutils 2.20
36289         as required minimum version.
36290         * INSTALL: Regenerated.
36292         [BZ #2541]
36293         [BZ #4108]
36294         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36295         before squaring exponent.
36296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36297         bottom long double and 27 bits of top long double before squaring
36298         exponent.
36299         * math/libm-test.inc (erfc_test): Add more tests.
36300         * sysdeps/i386/fpu/libm-test-ulps: Update.
36301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36304 2012-03-01  Kai Tietz  <ktietz@redhat.com>
36306         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36307         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36308         containing bit-fields.
36309         * soft-fp/extended.h (_FP_UNION_E): Likewise.
36310         * soft-fp/single.h (_FP_UNION_S): Likewise.
36311         * soft-fp/double.h (_FP_UNION_D): Likewise.
36313 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36315         [BZ #13786]
36316         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36317         not include ../strcmp.S.
36318         [USE_AS_STRNCASECMP_L]: Likewise.
36319         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36320         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36321         * sysdeps/i386/i686/multiarch/strncase_l-c.c
36322         (__strncasecmp_l_ia32): Define as alias to
36323         __strncasecmp_l_nonascii.
36325         [BZ #5794]
36326         * math/libm-test.inc (expm1_test): Add test for bug 5794.
36327         * sysdeps/i386/fpu/libm-test-ulps: Update.
36328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36330         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36333 2012-02-29  Jeff Law  <law@redhat.com>
36335         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36336         out of bounds read.
36338 2012-02-29  Marek Polacek  <polacek@redhat.com>
36340         [BZ #13706]
36341         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36342         * elf/Makefile: Add rules to run tst-unused-dep.out.
36344 2012-02-28  David S. Miller  <davem@davemloft.net>
36346         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36347         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36348         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36349         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36350         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36351         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36353 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36355         * math/libm-test.inc (llround_test): Move one test from
36356         lround_test.  Use TEST_f_L in moved test.
36357         (lround_test): Move misplaced test to llround_test.  Add testcase
36358         from bug 2561.
36360 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
36362         * sysdeps/x86_64/fpu/e_expf.S: New file.
36363         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36365 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
36367         [BZ #13637]
36368         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36369         of remain_len that may cause incomplete multi-byte character and
36370         false match.
36371         * posix/bug-regex33.c: New file.
36372         * posix/Makefile (tests): Add bug-regex33.
36374 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
36376         * manual/macros.texi: New file.
36377         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36378         * manual/libc.texinfo: Include macros.texi.
36379         * manual/creatute.texi: Likewise.
36380         * manual/install.texi: Likewise.
36381         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36382         @glibcadj{} in references to the GNU C Library.
36383         * manual/charset.texi: Likewise.
36384         * manual/conf.texi: Likewise.
36385         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
36386         when not using those macros.
36387         * manual/creature.texi: Likewise.
36388         * manual/crypt.texi: Likewise.
36389         * manual/errno.texi: Likewise.
36390         * manual/filesys.texi: Likewise.
36391         * manual/header.texi: Likewise.
36392         * manual/install.texi: Likewise.
36393         * manual/intro.texi: Likewise.
36394         * manual/io.texi: Likewise.
36395         * manual/job.texi: Likewise.
36396         * manual/lang.texi: Likewise.
36397         * manual/libc.texiinfo: Likewise.
36398         * manual/llio.texi: Likewise.
36399         * manual/locale.texi: Likewise.
36400         * manual/maint.texi: Likewise.
36401         * manual/math.texi: Likewise.
36402         * manual/memory.texi: Likewise.
36403         * manual/message.texi: Likewise.
36404         * manual/nss.texi: Likewise.
36405         * manual/pattern.texi: Likewise.
36406         * manual/process.texi: Likewise.
36407         * manual/resource.texi: Likewise.
36408         * manual/search.texi: Likewise.
36409         * manual/setjmp.texi: Likewise.
36410         * manual/signal.texi: Likewise.
36411         * manual/socket.texi: Likewise.
36412         * manual/startup.texi: Likewise.
36413         * manual/stdio.texi: Likewise.
36414         * manual/string.texi: Likewise.
36415         * manual/sysinfo.texi: Likewise.
36416         * manual/syslog.texi: Likewise.
36417         * manual/terminal.texi: Likewise.
36418         * manual/time.texi: Likewise.
36419         * manual/users.texi: Likewise.
36420         * INSTALL: Regenerated.
36421         * NOTES: Regenerated.
36422         * sysdeps/gnu/errlist.c: Regenerated.
36424 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
36426         * include/dirent.h: Include <dirstream.h> before
36427         <dirent/dirent.h>.
36429 2012-02-28  David S. Miller  <davem@davemloft.net>
36431         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36432         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36433         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36434         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36436 2012-02-27  David S. Miller  <davem@davemloft.net>
36438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36440         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36441         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36444         frame pointer instead of stack pointer relative arg slot.
36445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36446         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36447         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36449 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
36451         [BZ #3992]
36452         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36454 2012-02-27  David S. Miller  <davem@davemloft.net>
36456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36460         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36461         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36462         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36463         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36465 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36467         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36468         later.  Allow versions 5-9.
36469         * configure: Regenerated.
36470         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36471         required minimum version and 4.6 as recommended version.  Do not
36472         mention bugs in GCC 2.7 and 2.8.
36473         * INSTALL: Regenerated.
36475 2012-02-27  David S. Miller  <davem@davemloft.net>
36477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36481         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36482         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36483         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36484         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36486         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36487         manipulate bits before adding and subtracting TWO112[sx].
36488         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36490 2012-02-27  Roland McGrath  <roland@hack.frob.com>
36492         [BZ #13775]
36493         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36494         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36495         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36496         being in POSIX, because they are in 1003.1-2008.
36498         * rt/tst-aio.c: Include <fcntl.h>.
36499         * rt/tst-aio7.c: Likewise.
36500         * rt/tst-aio64.c: Likewise.
36502         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36504 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36506         * manual/install.texi (--with-headers): Describe headers as
36507         interface headers, not private headers.
36508         (Specific advice for GNU/Linux systems): Describe use of headers
36509         from "make headers_install", not private headers from older
36510         kernels.
36511         * INSTALL: Regenerated.
36512         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36513         Change to 2.6.19.
36514         * sysdeps/unix/sysv/linux/configure: Regenerated.
36516         * manual/llio.texi (fclean): Remove documentation.
36518         * manual/Makefile (libc-texi-generated): New variable.  Include
36519         version.texi.
36520         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36521         $(libc-texi-generated), not duplicated list of files.
36522         (version.texi, stamp-version): New rules.
36523         (realclean): Remove $(libc-texi-generated), not individual files
36524         from that list.  Do not remove dir-add.texinfo.
36525         * manual/libc.texinfo: Comment out uses of edition numbers and
36526         references to printed manual.  Remove last-updated dates.
36527         (EDITION): Comment out.
36528         (ISBN): Likewise.
36529         (VERSION, UPDATED): Remove.
36530         (version.texi): Include.
36532 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36534         * sysdeps/posix/spawni.c: Include <signal.h>.
36535         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36536         * sysdeps/pthread/aio_fsync.c: Likewise.
36538 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36540         * conform/Makefile (tests): Run only when not cross-compiling and
36541         when fast-check is not defined.
36543         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36544         * conform/data/limits.h-data: Fixes for POSIX2008.
36545         * conform/run-conformtest.sh: Run all tests.
36546         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36547         headers.
36548         * include/bits/dlfcn.h: Likewise.
36549         * include/langinfo.h: Likewise.
36550         * include/monetary.h: Likewise.
36551         * include/sys/poll.h: Likewise.
36553         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36554         for __USE_GNU.
36555         * posix/spawn.h: Define __need_sigset_t.
36556         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36557         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36558         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36559         to get sigevent_t only.
36560         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36561         only for __USE_GNU.
36562         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36563         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36564         process_vm_writev only for __USE_GNU.
36565         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36567         * conform/Makefile: For now ignore errors from run-conformtest.
36568         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36569         POSIX to avoid namespace pollution.  Don't prepend headers.
36570         * conform/data/aio.h-data: Fixes for POSIX testing.
36571         * conform/data/fcntl.h-data: Likewise.
36572         * conform/data/glob.h-data: Likewise.
36573         * conform/data/grp.h-data: Likewise.
36574         * conform/data/pthread.h-data: Likewise.
36575         * conform/data/pwd.h-data: Likewise.
36576         * conform/data/signal.h-data: Likewise.
36577         * conform/data/spawn.h-data: Likewise.
36578         * conform/data/stdio.h-data: Likewise.
36579         * conform/data/stdlib.h-data: Likewise.
36580         * conform/data/stropts.h-data: Likewise.
36581         * conform/data/sys/mman.h-data: Likewise.
36582         * conform/data/sys/stat.h-data: Likewise.
36583         * conform/data/sys/types.h-data: Likewise.
36584         * conform/data/sys/wait.h-data: Likewise.
36585         * conform/data/time.h-data: Likewise.
36586         * conform/data/unistd.h-data: Likewise.
36587         * conform/data/utime.h-data: Likewise.
36589         * io/sys/stat.h: fchmod was always in POSIX.
36590         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36591         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36592         * rt/aio.h: Define __need_timespec before including <time.h>.
36593         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36594         struct.  Add forward declaration of pthread_attr_t and use it in
36595         sigevent.
36596         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36597         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36598         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36599         always remove CLK_TCK definition.
36601 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36603         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36605 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36607         * conform/run-conformtest.sh: New file.
36608         * conform/Makefile: Run run-conformtest for tests.
36609         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36610         support.
36612         * conform/data/uchar.h-data: New file.
36613         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36614         * conform/data/arpa/inet.h-data: Likewise.
36615         * conform/data/assert.h-data: Likewise.
36616         * conform/data/complex.h-data: Likewise.
36617         * conform/data/cpio.h-data: Likewise.
36618         * conform/data/ctype.h-data: Likewise.
36619         * conform/data/dirent.h-data: Likewise.
36620         * conform/data/dlfcn.h-data: Likewise.
36621         * conform/data/errno.h-data: Likewise.
36622         * conform/data/fcntl.h-data: Likewise.
36623         * conform/data/float.h-data: Likewise.
36624         * conform/data/fmtmsg.h-data: Likewise.
36625         * conform/data/fnmatch.h-data: Likewise.
36626         * conform/data/ftw.h-data: Likewise.
36627         * conform/data/glob.h-data: Likewise.
36628         * conform/data/grp.h-data: Likewise.
36629         * conform/data/iconv.h-data: Likewise.
36630         * conform/data/inttypes.h-data: Likewise.
36631         * conform/data/langinfo.h-data: Likewise.
36632         * conform/data/libgen.h-data: Likewise.
36633         * conform/data/limits.h-data: Likewise.
36634         * conform/data/locale.h-data: Likewise.
36635         * conform/data/math.h-data: Likewise.
36636         * conform/data/monetary.h-data: Likewise.
36637         * conform/data/mqueue.h-data: Likewise.
36638         * conform/data/ndbm.h-data: Likewise.
36639         * conform/data/net/if.h-data: Likewise.
36640         * conform/data/netdb.h-data: Likewise.
36641         * conform/data/netinet/in.h-data: Likewise.
36642         * conform/data/nl_types.h-data: Likewise.
36643         * conform/data/poll.h-data: Likewise.
36644         * conform/data/pthread.h-data: Likewise.
36645         * conform/data/pwd.h-data: Likewise.
36646         * conform/data/regex.h-data: Likewise.
36647         * conform/data/sched.h-data: Likewise.
36648         * conform/data/search.h-data: Likewise.
36649         * conform/data/semaphore.h-data: Likewise.
36650         * conform/data/setjmp.h-data: Likewise.
36651         * conform/data/signal.h-data: Likewise.
36652         * conform/data/spawn.h-data: Likewise.
36653         * conform/data/stdarg.h-data: Likewise.
36654         * conform/data/stdio.h-data: Likewise.
36655         * conform/data/stdlib.h-data: Likewise.
36656         * conform/data/string.h-data: Likewise.
36657         * conform/data/strings.h-data: Likewise.
36658         * conform/data/stropts.h-data: Likewise.
36659         * conform/data/sys/ipc.h-data: Likewise.
36660         * conform/data/sys/mman.h-data: Likewise.
36661         * conform/data/sys/msg.h-data: Likewise.
36662         * conform/data/sys/resource.h-data: Likewise.
36663         * conform/data/sys/select.h-data: Likewise.
36664         * conform/data/sys/sem.h-data: Likewise.
36665         * conform/data/sys/shm.h-data: Likewise.
36666         * conform/data/sys/socket.h-data: Likewise.
36667         * conform/data/sys/stat.h-data: Likewise.
36668         * conform/data/sys/statvfs.h-data: Likewise.
36669         * conform/data/sys/time.h-data: Likewise.
36670         * conform/data/sys/timeb.h-data: Likewise.
36671         * conform/data/sys/times.h-data: Likewise.
36672         * conform/data/sys/types.h-data: Likewise.
36673         * conform/data/sys/uio.h-data: Likewise.
36674         * conform/data/sys/un.h-data: Likewise.
36675         * conform/data/sys/utsname.h-data: Likewise.
36676         * conform/data/sys/wait.h-data: Likewise.
36677         * conform/data/syslog.h-data: Likewise.
36678         * conform/data/tar.h-data: Likewise.
36679         * conform/data/termios.h-data: Likewise.
36680         * conform/data/utime.h-data: Likewise.
36681         * conform/data/utmpx.h-data: Likewise.
36682         * conform/data/varargs.h-data: Likewise.
36683         * conform/data/wchar.h-data: Likewise.
36684         * conform/data/wctype.h-data: Likewise.
36685         * conform/data/wordexp.h-data: Likewise.
36687         * include/stropts.h: New file.
36688         * include/uchar.h: New file.
36689         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36690         * include/assert.h: Likewise.
36691         * include/ctype.h: Likewise.
36692         * include/dirent.h: Likewise.
36693         * include/dlfcn.h: Likewise.
36694         * include/fcntl.h: Likewise.
36695         * include/fnmatch.h: Likewise.
36696         * include/glob.h: Likewise.
36697         * include/grp.h: Likewise.
36698         * include/libio.h: Likewise.
36699         * include/locale.h: Likewise.
36700         * include/math.h: Likewise.
36701         * include/net/if.h: Likewise.
36702         * include/netdb.h: Likewise.
36703         * include/netinet/in.h: Likewise.
36704         * include/pthread.h: Likewise.
36705         * include/pwd.h: Likewise.
36706         * include/regex.h: Likewise.
36707         * include/sched.h: Likewise.
36708         * include/search.h: Likewise.
36709         * include/setjmp.h: Likewise.
36710         * include/signal.h: Likewise.
36711         * include/stdio.h: Likewise.
36712         * include/stdlib.h: Likewise.
36713         * include/string.h: Likewise.
36714         * include/sys/cdefs.h: Likewise.
36715         * include/sys/mman.h: Likewise.
36716         * include/sys/msg.h: Likewise.
36717         * include/sys/resource.h: Likewise.
36718         * include/sys/select.h: Likewise.
36719         * include/sys/socket.h: Likewise.
36720         * include/sys/stat.h: Likewise.
36721         * include/sys/statvfs.h: Likewise.
36722         * include/sys/time.h: Likewise.
36723         * include/sys/times.h: Likewise.
36724         * include/sys/uio.h: Likewise.
36725         * include/sys/utsname.h: Likewise.
36726         * include/sys/wait.h: Likewise.
36727         * include/termios.h: Likewise.
36728         * include/time.h: Likewise.
36729         * include/ulimit.h: Likewise.
36730         * include/unistd.h: Likewise.
36731         * include/utime.h: Likewise.
36732         * include/wchar.h: Likewise.
36733         * include/wctype.h: Likewise.
36734         * include/wordexp.h: Likewise.
36736         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36738         * time/time.h: TIME_UTC must be a macro.
36739         Make timespec_get available for ISO C11 only as well.
36741 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36743         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36744         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36746 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36748         * configure.in: Use -o not -a in test for unsupported multi-arch.
36750 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36752         * manual/texinfo.tex: Update to version 2012-01-19.16.
36754 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36756         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36758 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36760         [BZ #13738]
36761         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36762         * manual/fdl-1.3.texi: New file.
36763         * manual/fdl-1.1.texi: File removed.
36765         [BZ #13738]
36766         * manual/libc.texinfo (FDL_VERSION): New @set.
36767         Use it for mention of FDL in cover text.
36768         (Documentation License): Use it in @include file name.
36770 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36771             Roland McGrath  <roland@hack.frob.com>
36773         [BZ #5461]
36774         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36775         (not LONG_LONG_MAX and LONG_LONG_MIN.
36776         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36777         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36778         name.
36779         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36781 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36783         [BZ #2547]
36784         [BZ #11365]
36785         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36786         manipulate bits before adding and subtracting TWO23[sx].
36787         * math/libm-test.inc (nearbyint_test): Add more tests.
36789 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36791         [BZ #2548]
36792         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36793         bits before adding and subtracting TWO23[sx].
36794         * math/libm-test.inc (rint_test): Add more tests.
36795         (rint_test_tonearest): Likewise.
36796         (rint_test_towardzero): Likewise.
36797         (rint_test_downward): Likewise.
36798         (rint_test_upward: Likewise.
36800 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36802         [BZ #10110]
36803         * include/stdc-predef.h: New file.  Extracted from features.h.
36804         * include/features.h: Include stdc-predef.h.
36805         * Makefile (headers): Add stdc-predef.h.
36806         * CONFORMANCE (Compiler limitations): Update.
36808 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36810         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36812 2012-02-21  David S. Miller  <davem@davemloft.net>
36814         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36815         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36817 2012-02-20  David S. Miller  <davem@davemloft.net>
36819         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36820         using a normal save/restore sequence, rather than allocating a
36821         dummy stack frame just to store a frame pointer and restore.
36822         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36824 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36826         * manual/install.texi: Fix stray word in line-wrapped comment.
36828 2012-02-20  David S. Miller  <davem@davemloft.net>
36830         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36831         both binutils and gcc support GOTDATA.
36833         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36834         "rd %pc" in the PIC register setup sequences.
36836         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36837         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36838         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36839         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36840         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36842         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36843         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36845         (SYSCALL_ERROR_HANDLER): Likewise.
36846         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36847         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36848         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36849         (SYSCALL_ERROR_HANDLER): Likewise.
36851         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36852         (HAVE_GCC_GOTDATA): New.
36853         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36854         relocation support in both binutils and gcc.
36855         * sysdeps/sparc/elf/configure: Regenerate.
36857         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36858         * sysdeps/sparc/sparc32/elf/configure: Delete.
36859         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36860         * sysdeps/sparc/sparc64/elf/configure: Delete.
36861         * sysdeps/sparc/elf/configure.in: New file.
36862         * sysdeps/sparc/elf/configure: Generate.
36864         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36865         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36866         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36867         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36868         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36870 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36872         * manual/install.texi: Do not mention specific glibc version
36873         numbers.
36874         * manual/libc.texinfo (VERSION, UPDATED): Update.
36875         (@copying): Use @copyright{} and range of years.
36877 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36879         [BZ #13695]
36880         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36881         [crti.S not in sysdirs] (generated): Do not append.
36882         [crti.S not in sysdirs] (omit-deps): Likewise.
36883         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36884         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36885         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36886         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36887         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36888         Likewise.
36889         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36890         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36891         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36892         * csu/defs.awk: Remove file.
36893         * sysdeps/generic/initfini.c: Likewise.
36894         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36895         variable.
36896         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36897         Likewise.
36899 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36901         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36902         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36903         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36904         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36905         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36906         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36907         <bits/epoll.h>.
36908         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36909         (__EPOLL_PACKED): Define to empty if not defined by
36910         <bits/epoll.h>.
36911         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36913         bits/epoll.h.
36915 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36917         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36918         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36919         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36920         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36921         <bits/timerfd.h>.
36922         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36924         bits/timerfd.h.
36926 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36928         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36929         in C locale.
36930         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36931         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36932         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36935 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
36937         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36938         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36940 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
36942         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36943         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36944         defined.
36945         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36946         Likewise.
36947         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36948         entry for 2.16.
36950 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
36952         * math/w_acos.c: Use non-signaling floating-point comparisons.
36953         * math/w_acosf.c: Likewise.
36954         * math/w_acosh.c: Likewise.
36955         * math/w_acoshf.c: Likewise.
36956         * math/w_acoshl.c: Likewise.
36957         * math/w_acosl.c: Likewise.
36958         * math/w_asin.c: Likewise.
36959         * math/w_asinf.c: Likewise.
36960         * math/w_asinl.c: Likewise.
36961         * math/w_atanh.c: Likewise.
36962         * math/w_atanhf.c: Likewise.
36963         * math/w_atanhl.c: Likewise.
36964         * math/w_exp2.c: Likewise.
36965         * math/w_exp2f.c: Likewise.
36966         * math/w_exp2l.c: Likewise.
36967         * math/w_j0.c: Likewise.
36968         * math/w_j0f.c: Likewise.
36969         * math/w_j0l.c: Likewise.
36970         * math/w_j1.c: Likewise.
36971         * math/w_j1f.c: Likewise.
36972         * math/w_j1l.c: Likewise.
36973         * math/w_jn.c: Likewise.
36974         * math/w_jnf.c: Likewise.
36975         * math/w_log.c: Likewise.
36976         * math/w_log10.c: Likewise.
36977         * math/w_log10f.c: Likewise.
36978         * math/w_log10l.c: Likewise.
36979         * math/w_log2.c: Likewise.
36980         * math/w_log2f.c: Likewise.
36981         * math/w_log2l.c: Likewise.
36982         * math/w_logf.c: Likewise.
36983         * math/w_logl.c: Likewise.
36984         * math/w_sqrt.c: Likewise.
36985         * math/w_sqrtf.c: Likewise.
36986         * math/w_sqrtl.c: Likewise.
36987         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36988         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36989         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36990         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36991         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36993 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36995         [BZ #9739]
36996         * manual/string.texi (strnlen): Use correct parameter name in
36997         equivalent expression.
36999 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37001         [BZ #11174]
37002         * manual/users.texi (seteuid): Consistently use neweuid for
37003         argument name.
37005 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37007         [BZ #13704]
37008         * manual/nss.texi (Services in the NSS configuration): Correct
37009         list of services in example configuration file.
37011 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
37013         [BZ #11322]
37014         * manual/arith.texi: Remove statements about negative zero
37015         behaving identically to zero.
37017 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37019         [BZ #5993]
37020         * manual/install.texi: Do not document upgrading from libc5.
37022 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37024         [BZ #4596]
37025         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37027 2012-02-18  David S. Miller  <davem@davemloft.net>
37029         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37030         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37031         %o7 across the call.
37032         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37033         instead.
37034         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37035         SETUP_PIC_REG_LEAF.
37036         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37037         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37038         * sysdeps/sparc/crtn.S: Likewise.
37040 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
37042         * aout/Makefile: Remove.
37044 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
37046         [BZ #13058]
37047         * manual/examples/argp-ex1.c (main): Format definition in GNU
37048         style.
37049         * manual/examples/argp-ex2.c (main): Likewise.
37050         * manual/examples/argp-ex3.c (main): Likewise.
37051         * manual/examples/argp-ex4.c (main): Likewise.
37052         * manual/examples/longopt.c (main): Use new-style prototype
37053         definition.
37054         * manual/examples/strncat.c (main): Specify return type and use
37055         (void) for arguments.
37056         * manual/examples/subopt.c (main): Use char **argv argument.
37058 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37060         [BZ #5077]
37061         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37062         rounding modes.
37064 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
37066         [BZ #6907]
37067         * manual/string.texi (strchr): Change when strchrnul is
37068         recommended.
37070 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
37072         [BZ #174]
37073         * manual/locale.texi (setlocale): Document LOCPATH.
37075 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37077         [BZ #10210]
37078         * manual/process.texi (execle): Move @dots{} before last argument.
37080 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
37082         [BZ #12047]
37083         * manual/charset.texi (Generic Charset Conversion): Fix typo
37084         (LC_TYPE -> LC_CTYPE).
37086 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
37088         [BZ #5805]
37089         * manual/arith.texi (scalbn): Use @var{} on parameter names.
37090         (scalbnf): Likewise.
37091         (scalbnl): Likewise.
37092         (scalbln): Likewise.
37093         (scalblnf): Likewise.
37094         (scalblnl): Likewise.
37095         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37096         (vwarnx): Likewise.
37097         (verr): Likewise.
37098         (verrx): Likewise.
37099         * manual/filesys.texi (telldir): Use braces around return type.
37100         * manual/llio.texi (mmap): Add space after comma.
37101         (mmap64): Likewise.
37102         * manual/math.texi (jn): Use @var{} on parameter names.
37103         (jnf): Likewise.
37104         (jnl): Likewise.
37105         (yn): Likewise.
37106         (ynf): Likewise.
37107         (ynl): Likewise.
37108         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37109         line.
37110         * manual/resource.texi (ulimit): Use @dots{} instead of literal
37111         "...".
37112         (sched_get_priority_min): Remove semicolon on @deftypefun line.
37113         (sched_get_priority_max): Likewise.
37114         * manual/signal.texi (sigvec): Add space after comma.
37115         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37116         names.
37117         (if_indextoname): Likewise.
37118         (if_freenameindex): Likewise.
37119         (sendto): Use ',' instead of '.' in prototype.
37120         * manual/startup.texi (syscall): Use @dots{} instead of literal
37121         "...".
37122         * manual/stdio.texi (__fpending): Separate initial words of
37123         paragraph from @deftypefun line.
37124         * manual/syslog.texi (syslog): Use @dots{} instead of literal
37125         "...".
37126         (vsyslog): Use @var{} on parameter names.
37127         * manual/terminal.texi (stty): Use @var{} on parameter names.
37128         * manual/users.texi (getutmp): Use @var{} on parameter names.
37129         (getutmpx): Likewise.
37131 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37133         [BZ #6884]
37134         * manual/stdio.texi (fopen): Fix typos in description of
37135         ",ccs=STRING".
37137 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
37139         [BZ #4026]
37140         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37141         get clock_id definition.
37143 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
37145         [BZ #4822]
37146         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37147         (madvise): Cast every argument to void on its own.
37149 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37151         [BZ #9902]
37152         * manual/startup.texi (Exit Status): Fix typo.
37154 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37156         [BZ #10140]
37157         * manual/examples/argp-ex1.c: Include <stdlib.h>.
37158         * manual/examples/argp-ex2.c: Likewise.
37159         * manual/examples/argp-ex3.c: Likewise.
37161 2012-02-16  Richard Henderson  <rth@redhat.com>
37163         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37164         * sysdeps/s390/s390-32/initfini.c: Remove.
37165         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37166         * sysdeps/s390/s390-64/initfini.c: Remove.
37168 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37170         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37171         compiler output for sysdeps/generic/initfini.c.
37172         * sysdeps/sh/elf/initfini.c: Remove file.
37174 2012-02-16  David S. Miller  <davem@davemloft.net>
37176         [BZ #11494]
37177         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37179         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37180         * sysdeps/sparc/crti.S: New file.
37181         * sysdeps/sparc/crtn.S: New file.
37182         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37183         * sysdeps/sparc/sparc64/Makefile: Likewise.
37185 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
37187         [BZ #3335]
37188         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37190 2012-02-15  Roland McGrath  <roland@hack.frob.com>
37192         [BZ #4822]
37193         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37195         * mach/devstream.c (cookie_io_functions_t): Macro removed.
37196         (write, read, close): Likewise.
37197         Patch by Aurelien Jarno <aurelien@aurel32.net>.
37199 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
37201         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37202         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37203         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37204         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37205         <bits/signalfd.h>.
37206         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37208         bits/signalfd.h.
37210 2012-02-14  Marek Polacek  <polacek@redhat.com>
37212         * sysdeps/x86_64/crti.S: New file.
37213         * sysdeps/x86_64/crtn.S: New file.
37214         * sysdeps/x86_64/elf/initfini.c: Remove file.
37216 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37218         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37219         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37220         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37221         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37222         <bits/inotify.h>.
37223         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37225         bits/inotify.h.
37227 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37229         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37230         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37231         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37232         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37233         <bits/eventfd.h>.
37234         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37235         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37236         bits/eventfd.h.
37238 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
37240         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37241         __feraiseexcept instead of feraiseexcept.
37243         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37244         nanosleep invocations.
37245         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37246         strings, and add error checking for a nanosleep invocations.
37248 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
37250         Replace FSF snail mail address with URLs, as per GNU coding standards.
37251         Most of the snail mail addresses were wrong anyway, and omitting
37252         them makes the source code easier to maintain.  Almost all of the
37253         changes are to license notices and to locale LC_IDENTIFICATION
37254         addresses, except for this one:
37255         * manual/libc.texinfo: In "Published by", give the FSF's URL,
37256         not its snail mail address.
37258 2012-02-09  Richard Henderson  <rth@twiddle.net>
37260         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37261         of kernel-features.h.
37263         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37265 2012-02-08  Marek Polacek  <polacek@redhat.com>
37267         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37268         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37269         * sysdeps/gnu/_G_config.h: Likewise.
37270         * sysdeps/generic/_G_config.h: Likewise.
37272 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
37274         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37275         tests.
37276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37278         * sysdeps/powerpc/powerpc32/crti.S: New file.
37279         * sysdeps/powerpc/powerpc32/crtn.S: New file.
37280         * sysdeps/powerpc/powerpc64/crti.S: New file.
37281         * sysdeps/powerpc/powerpc64/crtn.S: New file.
37283         * Makeconfig (have-initfini): Don't set.
37284         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37285         * configure.in (nopic_initfini): Don't substitute.
37286         * config.h.in (HAVE_INITFINI): Don't #undef.
37287         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37288         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37290 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
37292         Support crti.S and crtn.S provided directly by architectures.
37293         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37294         [crti.S in sysdirs] (omit-deps): Likewise.
37295         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37296         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37297         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37298         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37299         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37300         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37301         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37302         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37303         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37304         compiler output for sysdeps/generic/initfini.c.
37305         * sysdeps/i386/elf/Makefile: Remove file.
37306         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37308 2012-02-07  Marek Polacek  <polacek@redhat.com>
37310         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37311         * sysdeps/gnu/_G_config.h: Likewise.
37312         * sysdeps/mach/hurd/_G_config.h: Likewise.
37314 2012-02-07  Marek Polacek  <polacek@redhat.com>
37316         * math/Makefile (tests): Add tst-CMPLX2.
37317         * math/tst-CMPLX2.c: New file.
37319 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
37321         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37323         * math/libm-test.inc (jn_test): Add missing L suffix.
37325 2012-02-06  Marek Polacek  <polacek@redhat.com>
37327         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37328         * sysdeps/i386/fpu/e_powf.S: Likewise.
37329         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37330         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37331         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37332         * sysdeps/i386/fpu/e_pow.S: Likewise.
37333         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37334         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37335         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37336         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37337         * sysdeps/i386/fpu/e_log2.S: Likewise.
37338         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37339         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37340         * sysdeps/i386/fpu/e_powl.S: Likewise.
37341         * sysdeps/i386/fpu/s_log1p.S: Likewise.
37342         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37343         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37344         * sysdeps/i386/fpu/e_logl.S: Likewise.
37345         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37346         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37347         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37348         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37349         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37350         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37351         * sysdeps/i386/fpu/e_log.S: Likewise.
37352         * sysdeps/i386/fpu/s_cexp.S: Likewise.
37353         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37354         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37355         * sysdeps/i386/fpu/e_logf.S: Likewise.
37356         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37357         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37358         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37359         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37360         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37361         * sysdeps/i386/fpu/e_log10.S: Likewise.
37362         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37363         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37364         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37365         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37366         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37367         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37368         * sysdeps/i386/asm-syntax.h: Likewise.
37369         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37370         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37371         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37372         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37373         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37374         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37375         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37376         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37377         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37378         * sysdeps/powerpc/sysdep.h: Likewise.
37379         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37380         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37382 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37384         [BZ #411]
37385         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37387 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37389         * sysdeps/i386/sysdep.h: Include <features.h>.
37390         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37391         version.
37393 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
37395         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37396         Define.
37397         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37398         LOAD_PIC_REG_STR.
37400 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37402         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37403         (SETUP_PIC_REG): Use GET_PC_THUNK.
37404         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37405         macro.
37407 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37409         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37410         for non-PIC compilation.
37411         (SETUP_PIC_REG): Add .p2align directive.
37412         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37413         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37414         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37415         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37416         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37417         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37418         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37419         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37420         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37421         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37422         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37423         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37424         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37425         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37426         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37427         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37428         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37429         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37430         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37431         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37432         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37433         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37434         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37435         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37436         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37437         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37438         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37439         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37440         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37441         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37442         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37443         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37444         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37445         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37446         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37447         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37448         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37449         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37450         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37451         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37452         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37454 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37456         * math/tst-CMPLX.c: Include <stdio.h>.
37458 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
37460         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37461         float.
37462         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37463         * sysdeps/sparc/bits/mathdef.h: Likewise.
37465 2012-01-31  Marek Polacek  <polacek@redhat.com>
37467         * libio/libio.h: Don't define _PARAMS.
37468         * locale/programs/config.h: Don't define PARAMS.
37469         * stdlib/strtol_l.c: Likewise.
37470         (__strtol_l): Remove PARAMS from the prototype.
37472 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
37474         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
37475         names.  Just use the correct names.  Remove unnecessary wrapper
37476         functions.
37477         * malloc/arena.c: Likewise.
37478         * malloc/hooks.c: Likewise.
37480         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37481         ARENA_TEST says not to.  Simplify test for creation of a new arena.
37482         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37484 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
37486         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37487         into tail calls.
37488         (update_get_addr): New function.
37489         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37490         GET_ADDR_MODULE parameter.
37492 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37494         * crypt/cert.c: Remove __STDC__ conditionals.
37495         * crypt/crypt-entry.c: Likewise.
37496         * crypt/crypt_util.c: Likewise.
37497         * libio/filedoalloc.c: Likewise.
37498         * libio/fileops.c: Likewise.
37499         * libio/genops.c: Likewise.
37500         * libio/iofclose.c: Likewise.
37501         * libio/iofdopen.c: Likewise.
37502         * libio/iofopen.c: Likewise.
37503         * libio/iofopen64.c: Likewise.
37504         * libio/iogetdelim.c: Likewise.
37505         * libio/iopopen.c: Likewise.
37506         * libio/obprintf.c: Likewise.
37507         * libio/oldfileops.c: Likewise.
37508         * libio/oldiofclose.c: Likewise.
37509         * libio/oldiofdopen.c: Likewise.
37510         * libio/oldiofopen.c: Likewise.
37511         * libio/oldiopopen.c: Likewise.
37512         * libio/wfiledoalloc.c: Likewise.
37513         * libio/wgenops.c: Likewise.
37514         * locale/programs/xmalloc.c: Likewise.
37515         * misc/syslog.c: Likewise.
37516         * stdio-common/xbug.c: Likewise.
37517         * string/memchr.c: Likewise.
37518         * string/memcmp.c: Likewise.
37519         * string/memrchr.c: Likewise.
37520         * string/rawmemchr.c: Likewise.
37521         * sysdeps/posix/getcwd.c: Likewise.
37522         * time/strftime_l.c: Likewise.
37524 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37526         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37527         * config.make.in (config-cflags-sse2avx): Define.
37528         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37529         Fix typo.
37531 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37533         * scripts/config.guess: Update from upstream config git repository.
37534         * scripts/config.sub: Likewise.
37536 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37538         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37539         (EM_NUM): Update.
37540         (R_TILEPRO_*, R_TILEGX_*): New macros.
37542         * scripts/firstversions.awk: Fix bug in version range handling.
37544         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37546         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37548         * include/sys/epoll.h: New file.
37549         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37550         libc_hidden_def.
37552 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37554         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37555         Avoid unnecessary __WORDSIZE == 64 test.
37556         (fmaxf): Use VEX format if possible.
37557         (fmax): Likewise.
37558         (fminf): Likewise.
37559         (fmin): Likewise.
37561         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37562         * math/math_private.h: Remove libc_fegetround* and
37563         libc_fesetround*.
37564         * sysdeps/i386/configure.in: Check for -msse2avx.
37565         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37566         also if SSE2AVX is defined.
37567         Remove libc_fegetround* and libc_fesetround*.
37568         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37569         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37570         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37571         of HAS_YMM_USABLE.
37572         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37573         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37574         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37575         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37576         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37578         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37580 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37582         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37583         size is not set.
37584         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37586 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37588         [BZ #13618]
37589         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37590         relocation.
37591         * Makeconfig (libm): Define.
37592         * elf/Makefile: Add rules to build and run tst-relsort1.
37593         * elf/tst-relsort1.c: New file.
37594         * elf/tst-relsort1mod1.c: New file.
37595         * elf/tst-relsort1mod2.c: New file.
37597 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37599         * math/s_ldexp.c: Remove __STDC__ conditionals.
37600         * math/s_ldexpf.c: Likewise.
37601         * math/s_ldexpl.c: Likewise.
37602         * math/s_nextafter.c: Likewise.
37603         * math/s_nexttowardf.c: Likewise.
37604         * math/s_significand.c: Likewise.
37605         * math/s_significandf.c: Likewise.
37606         * math/s_significandl.c: Likewise.
37607         * math/w_jnl.c: Likewise.
37608         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37609         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37610         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37611         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37612         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37613         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37614         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37615         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37616         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37617         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37618         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37619         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37620         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37621         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37622         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37623         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37624         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37625         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37626         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37627         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37628         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37629         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37630         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37631         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37632         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37633         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37634         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37635         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37636         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37637         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37638         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37639         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37640         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37641         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37642         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37643         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37644         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37645         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37646         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37647         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37648         * sysdeps/ieee754/k_standard.c: Likewise.
37649         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37650         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37651         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37652         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37653         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37654         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37655         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37656         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37657         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37658         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37659         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37660         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37661         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37662         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37663         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37664         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37665         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37666         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37667         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37668         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37669         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37670         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37671         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37672         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37673         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37674         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37675         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37676         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37677         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37678         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37679         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37680         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37681         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37682         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37683         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37684         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37685         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37686         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37687         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37688         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37689         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37691         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37692         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37693         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37694         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37695         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37696         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37697         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37698         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37699         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37700         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37701         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37702         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37703         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37704         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37705         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37706         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37707         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37708         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37709         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37710         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37711         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37712         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37713         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37714         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37715         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37716         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37717         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37718         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37719         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37720         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37721         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37722         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37723         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37724         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37725         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37726         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37727         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37728         * sysdeps/ieee754/s_matherr.c: Likewise.
37729         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37730         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37734 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37736         * crypt/md5.h: Remove __STDC__ conditionals.
37737         * libio/libioP.h: Likewise.
37738         * locale/programs/config.h: Likewise.
37739         * sysdeps/generic/sysdep.h: Likewise.
37740         * sysdeps/i386/asm-syntax.h: Likewise.
37741         * sysdeps/s390/asm-syntax.h: Likewise.
37742         * sysdeps/unix/sysdep.h: Likewise.
37743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37746 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37748         * libio/libio.h: Remove __STDC__ conditionals.
37749         * malloc/obstack.h: Likewise.
37750         * math/complex.h: Likewise.
37751         * math/math.h: Likewise.
37752         * sysdeps/generic/_G_config.h: Likewise.
37753         * sysdeps/gnu/_G_config.h: Likewise.
37754         * sysdeps/mach/hurd/_G_config.h: Likewise.
37755         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37756         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37757         * sysdeps/sparc/bits/mathdef.h: Likewise.
37759 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37761         [BZ #13583]
37762         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37763         Clean up HAS_* macros.
37764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37765         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37766         possible.
37767         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37768         HAS_AVX.
37769         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37770         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37771         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37772         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37773         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37775 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37777         * elf/tst-unique3.cc (gets): Remove declaration.
37778         * elf/tst-unique3lib.cc (gets): Likewise.
37779         * elf/tst-unique3lib2.cc (gets): Likewise.
37780         * elf/tst-unique4.cc (gets): Likewise.
37782 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37784         * include/stdio.h: Add C++ protection.  Add gets declarations and
37785         definitions.
37786         * debug/tst-chk1.c: Don't declare gets here.
37787         * stdio-common/tst-gets.c: Likewise.
37789 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37791         * posix/glob: Remove directory.
37793 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37795         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37797 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37799         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37800         of the non-standard EPFNOSUPPORT.
37802 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37804         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37805         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37806         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37808 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37810         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37812 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37814         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37815         transient errors.
37816         * nscd/grpcache.c (cache_addgr): Likewise.
37817         * nscd/hstcache.c (cache_addhst): Likewise.
37818         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37819         * nscd/pwdcache.c (cache_addpw): Likewise.
37820         * nscd/servicescache.c (cache_addserv): Likewise.
37822 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37824         * malloc/malloc.c: Various cleanups.
37825         * malloc/hooks.c: Likewise.
37827         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37828         * stdlib/bug-fmtmsg1.c: New file.
37830         * stdlib/fmtmsg.c (init): Add missing unlock.
37831         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37833 2012-01-12  Marek Polacek  <polacek@redhat.com>
37835         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37836         and _GNU_SOURCE.
37838 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37840         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37841         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37842         macro to ensure uniqueness of label name.
37843         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37844         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37846 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37848         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37850         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37851         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37852         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37853         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37855 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37857         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37859         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37860         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37861         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37863         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37865         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37866         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37867         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37870         * math/bits/math-finite.h: Add ldexp support.
37872 2012-01-10  Marek Polacek  <polacek@redhat.com>
37874         * locale/programs/localedef.h (show_archive_content): Add noreturn
37875         attribute.
37877 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37879         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37881 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37883         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37885         * io/Makefile (headers): Add bits/poll2.h.
37887 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37890         typo #include statement.
37892 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37894         * include/sys/cdefs.h: Define __attribute_alloc_size.
37895         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37896         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37897         * elf/pldd.c: Likewise.
37898         * iconv/iconv_charmap.c: Likewise.
37899         * iconv/iconvconfig.c: Likewise.
37900         * iconv/strtab.c: Likewise.
37901         * locale/programs/locale.c: Likewise.
37902         * locale/programs/localedef.h: Likewise.
37903         * locale/programs/simple-hash.c: Likewise.
37904         * nscd/nscd.h: Likewise.
37905         * nss/makedb.c: Likewise.
37906         * sysdeps/generic/ldconfig.h: Likewise.
37907         * locale/programs/localedef.c: Remove xmalloc prototype.
37908         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37910 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37912         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37913         appropriate.
37915 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37917         * math/Makefile (tests): Add tst-CMPLX.
37918         * math/tst-CMPLX.c: New file.
37920         * math/complex.h (CMPLXL): Fix typo.
37922         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37923         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37924         GLIBC_2.16.
37925         * debug/tst-chk1.c: Add poll and ppoll tests.
37926         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37927         * include/sys/poll.h: Add hidden proto for ppoll.
37928         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37929         * sysdeps/mach/hurd/ppoll.c: Likewise.
37930         * io/ppoll.c: Likewise.
37931         * debug/poll_chk.c: New file.
37932         * debug/ppoll_chk.c: New file.
37933         * include/bits/poll2.h: New file.
37934         * io/bits/poll2.h: New file.
37936         [BZ #1350]
37937         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37939         * configure.in: static is always set to yes.  Remove.
37940         * config.make.in: Don't set build-static.
37941         * Makeconfig: Remove use of build-static.
37942         * dlfcn/Makefile: Likewise.
37943         * elf/Makefile: Likewise.
37944         * math/Makefile: Likewise.
37945         * misc/Makefile: Likewise.
37946         * nptl/Makefile: Likewise.
37947         * sysdeps/mach/hurd/Makefile: Likewise.
37949         * configure.in: PWD_P is not used anymore.
37950         * config.make.in: Remove PWD_P entry.
37952         * configure.in: Remove last remnants of RANLIB.
37953         No need to check for signed size_t anymore.
37954         Don't set libc_commonpagesize and libc_relro_required here for Alpha
37955         and IA-64.
37956         Remove __builtin_expect test because we require at least gcc 3.4.
37957         * aclocal.m4: Likewise.
37959         * wcsmbs/mbrtoc16.c: Implement using towc function.
37960         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37961         * wcsmbs/wcsmbsload.c: Likewise.
37962         * iconv/gconv_simple.c: Likewise.
37963         * iconv/gconv_int.h: Likewise.
37964         * iconv/gconv_builtin.h: Likewise.
37965         * iconv/iconv_prog.c: Remove CHAR16 handling.
37967         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37969         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37971         * configure.in: Remove --with-elf and --enable-bounded options.
37972         Dont set base_machine for ia64.  More non-ELF conditions removed.
37973         Remove testing and setting of leading underscore information.
37974         * config.make.in (build-bounded): Set to no.
37975         * config.h.in: Remove NO_UNDERSCORES entry.
37976         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
37977         them.
37978         * csu/start.c: Remove !NO_UNDERSCORE code.
37979         * locale/localeinfo.h: Likewise.
37980         * sysdeps/generic/machine-gmon.h: Likewise.
37981         * sysdeps/generic/sysdep.h: Likewise.
37982         * sysdeps/i386/sysdep.h: Likewise.
37983         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37984         * sysdeps/mach/sysdep.h: Likewise.
37985         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37986         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37987         * sysdeps/sh/sysdep.h: Likewise.
37988         * sysdeps/sparc/sparc32/alloca.S: Likewise.
37989         * sysdeps/unix/i386/sysdep.S: Likewise.
37990         * sysdeps/unix/sparc/start.c: Likewise.
37991         * sysdeps/unix/sparc/sysdep.S: Likewise.
37992         * sysdeps/unix/sparc/sysdep.h: Likewise.
37993         * sysdeps/unix/start.c: Likewise.
37994         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37995         * sysdeps/x86_64/sysdep.h: Likewise.
37997 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
37999         [BZ #13553]
38000         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38001         for non-gcc.
38002         * argp/argp-fmtstream.h: Use const instead __const.
38003         * argp/argp.h: Likewise.
38004         * assert/assert.h: Likewise.
38005         * bits/fenv.h: Likewise.
38006         * bits/sched.h: Likewise.
38007         * bits/sigset.h: Likewise.
38008         * bits/sigthread.h: Likewise.
38009         * catgets/nl_types.h: Likewise.
38010         * conform/data/pthread.h-data: Likewise.
38011         * crypt/crypt-private.h: Likewise.
38012         * crypt/crypt.h: Likewise.
38013         * crypt/crypt_util.c: Likewise.
38014         * ctype/ctype.h: Likewise.
38015         * debug/execinfo.h: Likewise.
38016         * debug/mbsnrtowcs_chk.c: Likewise.
38017         * debug/mbsrtowcs_chk.c: Likewise.
38018         * debug/wcsnrtombs_chk.c: Likewise.
38019         * debug/wcsrtombs_chk.c: Likewise.
38020         * debug/wcstombs_chk.c: Likewise.
38021         * dirent/dirent.h: Likewise.
38022         * dlfcn/dlfcn.h: Likewise.
38023         * elf/neededtest4.c: Likewise.
38024         * grp/grp.h: Likewise.
38025         * gshadow/gshadow.h: Likewise.
38026         * iconv/gconv.h: Likewise.
38027         * iconv/gconv_int.h: Likewise.
38028         * iconv/gconv_simple.c: Likewise.
38029         * iconv/iconv.h: Likewise.
38030         * iconv/loop.c: Likewise.
38031         * iconv/skeleton.c: Likewise.
38032         * include/aio.h: Likewise.
38033         * include/aliases.h: Likewise.
38034         * include/argz.h: Likewise.
38035         * include/arpa/inet.h: Likewise.
38036         * include/assert.h: Likewise.
38037         * include/dirent.h: Likewise.
38038         * include/dlfcn.h: Likewise.
38039         * include/execinfo.h: Likewise.
38040         * include/fcntl.h: Likewise.
38041         * include/fenv.h: Likewise.
38042         * include/glob.h: Likewise.
38043         * include/grp.h: Likewise.
38044         * include/libintl.h: Likewise.
38045         * include/mntent.h: Likewise.
38046         * include/netdb.h: Likewise.
38047         * include/pwd.h: Likewise.
38048         * include/rpc/netdb.h: Likewise.
38049         * include/sched.h: Likewise.
38050         * include/search.h: Likewise.
38051         * include/shadow.h: Likewise.
38052         * include/signal.h: Likewise.
38053         * include/stdio.h: Likewise.
38054         * include/stdlib.h: Likewise.
38055         * include/string.h: Likewise.
38056         * include/sys/socket.h: Likewise.
38057         * include/sys/stat.h: Likewise.
38058         * include/sys/statfs.h: Likewise.
38059         * include/sys/statvfs.h: Likewise.
38060         * include/sys/syslog.h: Likewise.
38061         * include/sys/time.h: Likewise.
38062         * include/sys/uio.h: Likewise.
38063         * include/time.h: Likewise.
38064         * include/unistd.h: Likewise.
38065         * include/utmp.h: Likewise.
38066         * include/wchar.h: Likewise.
38067         * include/wctype.h: Likewise.
38068         * inet/aliases.h: Likewise.
38069         * inet/arpa/inet.h: Likewise.
38070         * inet/netinet/ether.h: Likewise.
38071         * inet/netinet/in.h: Likewise.
38072         * intl/libintl.h: Likewise.
38073         * io/bits/fcntl2.h: Likewise.
38074         * io/fcntl.h: Likewise.
38075         * io/ftw.h: Likewise.
38076         * io/sys/poll.h: Likewise.
38077         * io/sys/stat.h: Likewise.
38078         * io/sys/statfs.h: Likewise.
38079         * io/sys/statvfs.h: Likewise.
38080         * io/utime.h: Likewise.
38081         * libio/bits/stdio.h: Likewise.
38082         * libio/bits/stdio2.h: Likewise.
38083         * libio/libio.h: Likewise.
38084         * libio/libioP.h: Likewise.
38085         * libio/stdio.h: Likewise.
38086         * locale/lc-ctype.c: Likewise.
38087         * locale/locale.h: Likewise.
38088         * login/utmp.h: Likewise.
38089         * malloc/arena.c: Likewise.
38090         * malloc/malloc.c: Likewise.
38091         * malloc/malloc.h: Likewise.
38092         * malloc/mcheck.c: Likewise.
38093         * malloc/mtrace.c: Likewise.
38094         * math/bits/mathcalls.h: Likewise.
38095         * math/fenv.h: Likewise.
38096         * math/math_private.h: Likewise.
38097         * misc/bits/error.h: Likewise.
38098         * misc/bits/syslog.h: Likewise.
38099         * misc/err.h: Likewise.
38100         * misc/error.h: Likewise.
38101         * misc/fstab.h: Likewise.
38102         * misc/mntent.h: Likewise.
38103         * misc/regexp.h: Likewise.
38104         * misc/search.h: Likewise.
38105         * misc/sgtty.h: Likewise.
38106         * misc/sys/mman.h: Likewise.
38107         * misc/sys/syslog.h: Likewise.
38108         * misc/sys/uio.h: Likewise.
38109         * misc/sys/xattr.h: Likewise.
38110         * misc/ttyent.h: Likewise.
38111         * nis/rpcsvc/ypclnt.h: Likewise.
38112         * nss/nss.h: Likewise.
38113         * posix/bits/unistd.h: Likewise.
38114         * posix/fnmatch.h: Likewise.
38115         * posix/glob.h: Likewise.
38116         * posix/sched.h: Likewise.
38117         * posix/spawn.h: Likewise.
38118         * posix/sys/wait.h: Likewise.
38119         * posix/unistd.h: Likewise.
38120         * posix/wordexp.h: Likewise.
38121         * pwd/pwd.h: Likewise.
38122         * resolv/netdb.h: Likewise.
38123         * resource/sys/resource.h: Likewise.
38124         * rt/aio.h: Likewise.
38125         * rt/bits/mqueue2.h: Likewise.
38126         * rt/mqueue.h: Likewise.
38127         * shadow/shadow.h: Likewise.
38128         * signal/signal.h: Likewise.
38129         * socket/send.c: Likewise.
38130         * socket/sendto.c: Likewise.
38131         * socket/sys/socket.h: Likewise.
38132         * stdio-common/printf.h: Likewise.
38133         * stdlib/bits/stdlib.h: Likewise.
38134         * stdlib/fmtmsg.h: Likewise.
38135         * stdlib/monetary.h: Likewise.
38136         * stdlib/stdlib.h: Likewise.
38137         * stdlib/ucontext.h: Likewise.
38138         * streams/stropts.h: Likewise.
38139         * string/argz.h: Likewise.
38140         * string/bits/string2.h: Likewise.
38141         * string/string.h: Likewise.
38142         * string/strings.h: Likewise.
38143         * sunrpc/rpc/auth.h: Likewise.
38144         * sunrpc/rpc/auth_des.h: Likewise.
38145         * sunrpc/rpc/clnt.h: Likewise.
38146         * sunrpc/rpc/netdb.h: Likewise.
38147         * sunrpc/rpc/pmap_clnt.h: Likewise.
38148         * sunrpc/rpc/xdr.h: Likewise.
38149         * sysdeps/generic/inttypes.h: Likewise.
38150         * sysdeps/generic/net/if.h: Likewise.
38151         * sysdeps/generic/sys/swap.h: Likewise.
38152         * sysdeps/gnu/net/if.h: Likewise.
38153         * sysdeps/gnu/utmpx.h: Likewise.
38154         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38155         * sysdeps/i386/i486/bits/string.h: Likewise.
38156         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38157         * sysdeps/s390/bits/string.h: Likewise.
38158         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38159         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38160         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38161         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38162         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38163         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38164         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38165         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38166         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38167         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38168         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38169         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38170         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38171         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38172         * sysdeps/unix/sysv/linux/readv.c: Likewise.
38173         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38174         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38175         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38176         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38177         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38178         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38179         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38180         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38181         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38182         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38183         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38184         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38185         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38186         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38187         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38188         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38189         * sysvipc/sys/ipc.h: Likewise.
38190         * sysvipc/sys/msg.h: Likewise.
38191         * sysvipc/sys/sem.h: Likewise.
38192         * sysvipc/sys/shm.h: Likewise.
38193         * termios/termios.h: Likewise.
38194         * time/sys/time.h: Likewise.
38195         * time/time.h: Likewise.
38196         * wcsmbs/bits/wchar2.h: Likewise.
38197         * wcsmbs/uchar.h: Likewise.
38198         * wcsmbs/wchar.h: Likewise.
38199         * wctype/wctype.h: Likewise.
38201         [BZ #13551]
38202         * Makeconfig: Remove all but ELF support including AIX support.
38203         * Makerules: Likewise.
38204         * config.h.in: Likewise.
38205         * config.make.in: Likewise.
38206         * configure: Likewise.
38207         * configure.in: Likewise.
38208         * csu/Makefile: Likewise.
38209         * csu/version.c: Likewise.
38210         * debug/Makefile: Likewise.
38211         * dlfcn/Makefile: Likewise.
38212         * elf/Makefile: Likewise.
38213         * extra-lib.mk: Likewise.
38214         * iconv/Makefile: Likewise.
38215         * include/libc-symbols.h: Likewise.
38216         * include/shlib-compat.h: Likewise.
38217         * resolv/Makefile: Likewise.
38218         * resolv/res_libc.c: Likewise.
38219         * rt/Makefile: Likewise.
38220         * sysdeps/i386/asm-syntax.h: Likewise.
38221         * sysdeps/i386/sysdep.h: Likewise.
38222         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38223         * sysdeps/mach/sysdep.h: Likewise.
38224         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38225         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38226         * sysdeps/s390/asm-syntax.h: Likewise.
38227         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38228         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38229         * sysdeps/sh/sysdep.h: Likewise.
38230         * sysdeps/unix/sparc/sysdep.h: Likewise.
38231         * sysdeps/wordsize-32/divdi3.c: Likewise.
38232         * sysdeps/x86_64/sysdep.h: Likewise.
38234         * argp/Versions: Remove _argp_unlock_xxx.
38236         [BZ #13559]
38237         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
38238         * abilist/libBrokenLocale.abilist: Likewise.
38239         * abilist/libanl.abilist: Likewise.
38240         * abilist/libc.abilist: Likewise.
38241         * abilist/libcrypt.abilist: Likewise.
38242         * abilist/libdl.abilist: Likewise.
38243         * abilist/libm.abilist: Likewise.
38244         * abilist/libnsl.abilist: Likewise.
38245         * abilist/libpthread.abilist: Likewise.
38246         * abilist/libresolv.abilist: Likewise.
38247         * abilist/librt.abilist: Likewise.
38248         * abilist/libthread_db.abilist: Likewise.
38249         * abilist/libutil.abilist: Likewise.
38250         * abilist/libnss_db.abilist: New file.
38252         * scripts/abilist.awk: Add support for indirect functions.
38254         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38256         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38258         * shlib-versions: Remove entries for ports architectures.
38260         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
38261         files in ports.
38262         * elf/stackguard-macros.h: Remove support for IA-64.
38263         * elf/tst-auditmod1.c: Likewise.
38264         * sysdeps/generic/ldsodefs.h: Likewise.
38266         * sysdeps/unix/sysv/linux/configure.in: Ports should define
38267         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38268         configure files.
38270         [BZ #13552]
38271         * configure.in: Remove --enable-omitfp support.
38272         * FAQ.in: Adjust.
38273         * config.make.in: Likewise.
38274         * Makeconfig: Likewise.
38275         * manual/install.texi: Likewise.
38277         In case anyone cares, the IA-64 architecture could move to ports.
38278         * sysdeps/ia64/*: Removed.
38279         * sysdeps/unix/sysv/linux/ia64/*: Removed.
38280         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38282         [BZ #13555]
38283         * configure.in: Remove entries for unsupported architectures.
38285         [BZ #13533]
38286         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38287         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
38288         routines.
38289         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38290         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38291         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
38292         fall back to using wcrtomb.
38293         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38294         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
38295         renaming.
38296         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38297         * wcsmbs/tst-c16c32-1.c: New file.
38299         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38300         local variable.
38302         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38304         * elf/tst-unique3.cc: Add explicit declaration of gets.
38305         * elf/tst-unique3lib.cc: Likewise.
38306         * elf/tst-unique3lib2.cc: Likewise.
38307         * elf/tst-unique4.cc: Likewise.
38309         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38311 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
38313         [BZ #13566]
38314         * assert/assert.h (static_assert): Don't define for C++.
38315         * libio/stdio.h (gets): Do declare for C++ <= C++11.
38316         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38318 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
38320         * iconv/loop.c (single loop): Fix assertion in storing of
38321         remaining bytes.
38323         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38325 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
38327         * posix/getconf.c: Update copyright year.
38328         * nss/getent.c: Likewise.
38329         * nss/makedb.c: Likewise.
38330         * iconv/iconvconfig.c: Likewise.
38331         * iconv/iconv_prog.c: Likewise.
38332         * elf/ldconfig.c: Likewise.
38333         * elf/pldd.c: Likewise.
38334         * elf/sotruss.ksh: Likewise.
38335         * catgets/gencat.c: Likewise.
38336         * csu/version.c: Likewise.
38337         * elf/ldd.bash.in: Likewise.
38338         * elf/sprof.c (print_version): Likewise.
38339         * locale/programs/locale.c: Likewise.
38340         * locale/programs/localedef.c: Likewise.
38341         * login/programs/pt_chown.c: Likewise.
38342         * nscd/nscd.c (print_version): Likewise.
38343         * debug/xtrace.sh: Likewise.
38344         * malloc/memusage.sh: Likewise.
38345         * malloc/mtrace.pl: Likewise.
38346         * debug/catchsegv.sh: Likewise.
38348 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
38350         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38351         pure attribute.
38353 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
38355         [BZ #13533]
38356         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38357         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38358         transformations.
38359         * iconv/gconv_int.h: Likewise.
38360         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38361         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38362         from libc for GLIBC_2.16.
38363         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38364         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38365         * wcsmbs/uchar.h: Really define mbstate_t.
38366         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38367         * wcsmbs/c16rtomb.c: New file.
38368         * wcsmbs/mbrtoc16.c: New file.
38369         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38370         for C/POSIX locale.
38371         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38372         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38374         * wcsmbs/wchar.h: Add missing __restrict.
38376 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38378         [BZ #13532]
38379         * time/Makefile (routines): Add timespec_get.
38380         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38381         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
38382         timespec for ISO C11.
38383         * time/timespec_get.c: New file.
38384         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38385         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38387         [BZ #13531]
38388         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38389         * stdlib/stdlib.h: Declare aligned_alloc.
38390         * Versions.def: Add GLIBC_2.16 for libc.
38391         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38393         [BZ 13527]
38394         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38395         ISO C11.
38397         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38398         code.
38400         [BZ #13528]
38401         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38403         [BZ #13529]
38404         * assert/assert.h (static_assert): Define.
38406         * version.h: Update for 2.16 development version.
38408         [BZ #13526]
38409         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38410         _ISOC11_SOURCE.
38412         * version.h (RELEASE): Bump for 2.15 release.
38413         * include/features.h (__GLIBC_MINOR__): Bump to 15.
38415         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38416         Patch by Marek Polacek <mpolacek@redhat.com>.
38418         * bits/byteswap.h: Protect long long constants with __extension__.
38419         * sysdeps/i386/bits/byteswap.h: Likewise.
38420         * sysdeps/ia64/bits/byteswap.h: Likewise.
38421         * sysdeps/s390/bits/byteswap.h: Likewise.
38422         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38424 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38426         [BZ #13540]
38427         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38428         destination buffer.
38429         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38431 2011-12-23  Marek Polacek  <polacek@redhat.com>
38433         * elf/dl-addr.c (determine_info): Add inline keyword.
38434         * elf/tst-auditmod4b.c (check_avx): Likewise.
38435         * elf/tst-auditmod6b.c (check_avx): Likewise.
38436         * elf/tst-auditmod6c.c (check_avx): Likewise.
38437         * elf/tst-auditmod7b.c (check_avx): Likewise.
38439 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38441         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38442         !__SSE_MATH__.
38444 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38446         [BZ #13540]
38447         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38448         processing for last bytes.
38450 2011-08-06  Bruno Haible  <bruno@clisp.org>
38452         [BZ #13061]
38453         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38454         U+0385, not to U+1FEE.
38456         [BZ #13062]
38457         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38458         entry for U+00A5 U+0301.
38460 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38462         [BZ #13166]
38463         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38464         buffer for the output is too small.
38466         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38467         optimization.
38469         [BZ #13185]
38470         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38471         SSE flags if possible.
38473 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38475         [BZ #13540]
38476         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38477         processing for last bytes.
38479 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
38481         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38482         (syscall-list-default-options, syscall-list-default-condition)
38483         (syscall-list-includes): Define.
38484         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38485         list of ABIs and options and #if conditions for each ABI.  Do not
38486         handle common syscalls between ABIs specially.
38487         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38488         Remove.
38489         (syscall-list-variants, syscall-list-32bit-options)
38490         (syscall-list-32bit-condition, syscall-list-64bit-options)
38491         (syscall-list-64bit-condition): Define.
38492         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38493         (syscall-list-variants, syscall-list-32bit-options)
38494         (syscall-list-32bit-condition, syscall-list-64bit-options)
38495         (syscall-list-64bit-condition): Define.
38496         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38497         Remove.
38498         (syscall-list-variants, syscall-list-32bit-options)
38499         (syscall-list-32bit-condition, syscall-list-64bit-options)
38500         (syscall-list-64bit-condition): Define.
38501         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38502         Remove.
38503         (syscall-list-variants, syscall-list-32bit-options)
38504         (syscall-list-32bit-condition, syscall-list-64bit-options)
38505         (syscall-list-64bit-condition): Define.
38507 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38509         * locale/iso-639.def: Add brx entry.
38511         [BZ #13328]
38512         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38513         Proposed by Mariusz_Cukr <marcukr@op.pl>.
38515         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38516         __feraiseexcept_renamed.
38518 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38520         [BZ #13538]
38521         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38522         EPOLLET with unsigned values.
38523         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38524         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38526         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38527         to large cancellation.
38528         * math/s_cacoshf.c: Likewise.
38529         * math/s_cacoshl.c: Likewise.
38531 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38533         [BZ #13305]
38534         [BZ #12786]
38535         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38536         * math/s_cacoshf.c: Likewise.
38537         * math/s_cacoshl.c: Likewise.
38539 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38541         [BZ #13439]
38542         * iconv/gconv.h: Define __GCONV_SWAP.
38543         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38544         * iconvdata/utf-16.c: Likewise.
38545         * iconvdata/utf-32.c: Likewise.
38547 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38549         [BZ #13524]
38550         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38551         numerator after shifting it by one limb.
38553 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38555         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38556         under [__USE_EXTERN_INLINES].
38558 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38560         [BZ #13446]
38561         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38563 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38565         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38566         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38567         optimized code.
38568         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38569         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38570         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38571         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38572         for strncasecmp/strncasecmp_l compilation.
38573         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38574         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38576 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38578         [BZ #13484]
38579         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38580         of __asm__.
38582 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38584         [BZ #13506]
38585         * time/tzfile.c (__tzfile_read): Check values from file header.
38587 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38589         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38590         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38591         * powerpc/powerpc32/dl-start.S: Likewise.
38592         * powerpc/powerpc32/elf/start.S: Likewise.
38593         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38594         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38595         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38596         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38597         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38598         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38599         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38600         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38601         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38602         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38603         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38604         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38605         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38606         * powerpc/powerpc32/memset.S: Likewise.
38607         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38608         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38609         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38610         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38611         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38612         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38613         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38614         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38615         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38616         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38617         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38618         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38619         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38621 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38623         * math/libm-test.inc: Added more nearbyint tests.
38624         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38625         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38626         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38627         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38629 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38631         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38632         FD_CLOEXEC.
38634 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38636         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38637         Add wcscpy-ssse3 wcscpy-c.
38638         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38639         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38640         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38641         * sysdeps/x86_64/wcschr.S: New file.
38642         * sysdeps/x86_64/wcsrchr.S: New file.
38643         * string/test-strcmp.c: Remove checking of wcscmp function for
38644         wrong alignments.
38645         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38646         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38647         wcsrchr-sse2 wcsrchr-c.
38648         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38649         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38650         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38651         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38652         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38653         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38654         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38655         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38656         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38657         * wcsmbc/wcschr.c (WCSCHR): New macro.
38659 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38661         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38662         * wcsmbs/test-wcsrchr.c: New file.
38663         * string/test-strrchr.c: Add wcsrchr support.
38664         (WIDE): New macro.
38665         * wcsmbs/test-wcscpy.c: New file.
38666         * string/test-strcpy.c: Add wcscpy support.
38667         (WIDE): New macro.
38669 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38671         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38672         the inner loop.
38674 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38676         [BZ #13472]
38677         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38679 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38681         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38682         Minor optimizations.
38684         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38685         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38686         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38688 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38690         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38691         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38692         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38693         for gcc to avoid warnings.
38694         * inet/Makefile (tests): Add tst-checks.
38695         * inet/tst-checks.c: New file.
38697         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38698         warning.
38700         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38701         __wmemcmp_sse2.
38703         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38704         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38706         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38708 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38710         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38711         problem.
38713         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38715 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38717         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38718         conditional on GCC version.
38719         (__arch_compare_and_exchange_val_8_acq)
38720         (__arch_compare_and_exchange_val_16_acq)
38721         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38722         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38723         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38725 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38727         * sysdeps/sh/backtrace.c: New file.
38729 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38731         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38732         parenthesis.
38734 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38736         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38737         falling back to utime.
38739 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38741         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38742         expectations for float.
38744 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38746         * locale/weight.h (findidx): Add parameter len.
38747         * locale/weightwc.h (findidx): Likewise.
38748         * posix/fnmatch_loop.c (FCT): Adjust caller.
38749         * posix/regcomp.c (build_equiv_class): Likewise.
38750         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38751         * posix/regexec.c (check_node_accept_bytes): Likewise.
38752         * string/strcoll_l.c (STRCOLL): Likewise.
38753         * string/strxfrm_l.c (STRXFRM): Likewise.
38755 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38757         * Makefile.in: Remove CVSOPT handling.
38758         * configure.in: Remove use of AC_REVISION.
38759         * iconvdata/Makefile (distribute): No need to filter out CVS.
38760         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38761         handling.
38763 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38766         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38767         [USE_AS_STRNCASECMP_L]: Likewise.
38768         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38769         NO_TLS_DIRECT_SEG_REFS.
38770         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38771         Fix argument offsets for non-PIC.
38772         [USE_AS_STRNCASECMP_L]: Likewise.
38773         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38774         NO_TLS_DIRECT_SEG_REFS.
38776 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38778         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38779         O_CLOEXEC.
38780         * locale/loadlocale.c (_nl_load_locale): Likewise.
38782 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38784         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38785         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38786         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38787         (SYSCALL_GETTIME): Set errno on error.
38789         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38790         count references to noai6ai_cached.
38792 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38794         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38796         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38797         FD_CLOEXEC for /proc/self/maps.
38799         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38800         FD_CLOEXEC for /proc/meminfo.
38802         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38803         gai.conf.
38805         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38806         FD_CLOEXEC for given file.
38808         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38810         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38811         FD_CLOEXEC for /etc/hosts.
38812         (_gethtent): Likewise.
38814         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38816         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38817         cancellation and set FD_CLOEXEC for /etc/netgroup.
38819         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38820         reading /etc/publickey.
38822         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38823         allow cancellation when reading /etc/group.
38825         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38826         cancellation.
38827         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38829         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38830         when using data file.
38832         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38834         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38835         (write_nis_obj): Use "c" and "e" in fopen.
38837         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38839         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38841         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38843         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38845         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38846         locale.alias.
38848         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38850         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38852         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38854         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38855         file parsing and set FD_CLOEXEC.
38857 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38859         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38861 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38863         * malloc/arena.c (arena_get2): Don't call reused_arena when
38864         _int_new_arena failed.
38866 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38868         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38869         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38870         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38871         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38872         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38873         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38874         to compile strcasecmp and strncasecmp.
38875         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38876         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38880 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38882         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38883         locale-defines.sym to gen-as-const-headers.
38884         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38885         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38886         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38887         to compile strcasecmp and strncasecmp.
38888         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38889         strcasecmp_l and strncasecmp_l.
38890         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38891         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38892         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38893         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38894         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38895         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38896         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38897         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38898         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38899         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38900         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38902 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38904         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38905         result of SYSDEP_GETTIME_CPU to retval.
38906         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38907         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38909         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38910         variable.
38912         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38913         mantissa words.
38914         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38916         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38917         from unused variable.
38919         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38920         DWARF definitions.
38921         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38922         for assembling.
38924         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38925         over namespaces.
38927         * sunrpc/rpc_prot.c (rejected): Fix case value.
38929         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38930         unsigned long long int to avoid warnings in shift.
38932         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38933         of use of trans.
38934         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38935         variable tmp.
38937         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38938         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38939         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38941         * nis/nis_table.c (nis_list): Use variable of correct type for
38942         result of __follow_path call.
38944 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38946         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38947         of math functions ceil, trunc, floor, round, and sqrt, when
38948         avaliable on the platform.
38949         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38950         name clash.
38951         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38952         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38953         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38955 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
38957         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38958         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38960 2011-11-11  Roland McGrath  <roland@hack.frob.com>
38962         * include/unistd.h: Fix __readlink return type.
38963         Reported by Chris Metcalf <cmetcalf@tilera.com>.
38965 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
38967         * stdlib/ucontext.h: Undo last change for makecontext.
38969 2011-11-11  Andreas Schwab  <schwab@redhat.com>
38971         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38973         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38974         * setjmp/setjmp.h: Mark functions as non-leaf.
38975         * setjmp/bits/setjmp2.h: Likewise.
38976         * stdlib/ucontext.h: Likewise.
38978 2011-11-10  Andreas Schwab  <schwab@redhat.com>
38980         * malloc/arena.c (_int_new_arena): Don't increment narenas.
38981         (reused_arena): Don't check arena limit.
38982         (arena_get2): Atomically check arena limit.
38984 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
38986         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38987         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38989         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38990         instructions.
38992 2011-11-07  Andreas Schwab  <schwab@redhat.com>
38994         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38995         handler when locking.
38997         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38998         Fix size of allocated buffer.
39000 2011-11-04  Andreas Schwab  <schwab@redhat.com>
39002         [BZ #10103]
39003         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39004         declarations for long double functions.
39005         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39007         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39009 2011-11-03  Andreas Schwab  <schwab@redhat.com>
39011         * nscd/nscd.c (main): Don't start AVC thread until credentials are
39012         installed.
39014         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39015         is disabled.
39017 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39019         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39021 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39023         * include/alloca.h (stackinfo_alloca_round): Define.
39024         (extend_alloca): Use it.
39025         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39026         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39027         here.
39029         * scripts/check-local-headers.sh: Ignore libaudit.h.
39031         * nscd/Makefile (extra-objs): Make recursively expanded.
39033 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
39035         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39036         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39038         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39039         * posix/tst-rfc3484-2.c: Likewise.
39040         * posix/tst-rfc3484-3.c: Likewise.
39042         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39043         process_vm_writev.
39044         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39045         process_vm_writev.
39046         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39047         process_vm_writev from libc using GLIBC_2.15 version.
39049         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39051 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
39053         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39054         stack usage.
39056 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
39058         [BZ #13367]
39059         * nss/getent.c (initgroups_keys): Show error message in case no group
39060         names are given.
39062         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39063         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39064         __bump_nl_timestamp.
39065         * nscd/connections (nscd_init): When host database is served open
39066         netlink socket and request notification about configuration changes.
39067         (main_loop_poll): Track netlink file descriptor and bump timestamp
39068         in case data becomes available.
39069         (main_loop_epoll): Likewise.
39070         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39071         (database_pers_head): Add extra_data fileds.
39072         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39073         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39074         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39075         Adjust caller.
39076         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39077         in6ai data, call __free_in6ai.
39078         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39079         Add -DHAVE_NETLINK.
39080         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
39081         interface information.  Reuse previous data if netlink timestamp
39082         is not changed.
39083         (__bump_nl_timestamp): New function.
39084         (__free_in6ai): New function.
39086 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
39088         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39089         close_not_cancel_no_status here.
39090         (__check_pf): Reorganize code a bit to not call close twice if OOM.
39092 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39094         [BZ #13276]
39095         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39096         return value.
39098         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39099         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39100         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39102 2011-07-03  Andreas Jaeger  <aj@suse.de>
39104         [BZ #10709]
39105         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39106         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39107         * math/libm-test.inc (sin_test): Add test case.
39109 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39111         [BZ #13337]
39112         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39113         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39115         * elf/chroot_canon.c (chroot_canon): Cleanups.
39117         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39119         [BZ #13335]
39120         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39121         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39123         * string/test-strchr.c: Make usable for strchrnul testing.
39124         * string/test-strchrnul.c: New file.
39125         * string/Makefile (strop-tests): Add strchrnul.
39127         * po/it.po: Update from translation team.
39128         * po/es.po: Likewise.
39130 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
39132         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39133         the three constants needed as parameters.  Drop the others.
39134         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39135         __m128i_strloadu_tolower.
39136         Create and initialize variable zero and use it in all the places
39137         where _mm_setzero_si128 was used.
39139         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39140         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39141         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39142         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39143         anymore.
39144         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39145         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39146         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39147         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39148         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39149         __mpranred, __mptan.
39150         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39151         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39152         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39153         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39154         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39155         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39156         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39157         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39158         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39160 2011-10-28  Andreas Schwab  <schwab@redhat.com>
39162         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39163         redefine if SHARED.
39164         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39166         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39167         wide char related routines to wcsmbs subdir.
39169 2011-10-27  Andreas Schwab  <schwab@redhat.com>
39171         [BZ #13344]
39172         * misc/sys/cdefs.h (__THROWNL): Define.
39173         * posix/unistd.h: Use __THREADNL instead of __THREAD
39174         for memory synchronization functions.
39176 2011-10-26  Roland McGrath  <roland@hack.frob.com>
39178         [BZ #13349]
39179         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39180         doesn't exist.
39181         * manual/stdio.texi (Obstack Streams): Node removed.
39183 2011-10-26  Andreas Schwab  <schwab@redhat.com>
39185         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39186         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39187         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39189         * math/math_private.h (math_force_eval): Allow non-addressable
39190         arguments.
39191         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39193 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39195         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39196         file is not needed.
39198         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39199         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39200         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39201         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39202         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39203         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39204         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39205         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39206         Add AVX variants.
39207         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39208         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39209         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39210         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39211         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39212         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39213         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39214         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39215         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39216         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39217         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39218         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39219         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39220         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39221         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39222         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39223         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39224         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39225         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39227         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39228         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
39230         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39231         place.  Use VEX encoding when compiling for AVX.
39233 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39235         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39236         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39238         * string/test-strchr.c (do_test): Don't generate NUL bytes.
39240 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39242         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39243         useless if() expression.
39244         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39245         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39246         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39247         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39248         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39249         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39250         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39251         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39252         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39253         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39254         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39255         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39256         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39257         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39258         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39259         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39260         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39261         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39262         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39264         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39266 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39268         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39269         condition.
39270         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39272 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39274         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39275         .text section.  Avoid duplicate constants.
39276         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39277         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39278         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39279         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39280         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39281         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39282         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39283         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39284         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39285         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39286         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39287         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39288         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39289         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39290         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39291         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39292         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39293         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39294         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39295         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39296         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39297         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39298         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39299         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39300         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39301         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39302         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39303         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39304         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39305         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39306         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39307         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39308         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39309         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39310         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39311         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39312         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39313         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39314         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39315         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39316         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39317         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39318         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39319         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39320         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39322 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
39324         * sysdeps/x86_64/dla.h: Move to ...
39325         * sysdeps/x86_64/fpu/dla.h: ...here.
39326         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39327         situations.  Use __builtin_fma only for gcc 4.6 and up.
39329         * config.make.in: Add have-mfma4 entry.
39330         * configure.in: Substitute libc_cv_cc_fma4.
39331         * math/Makefile (dbl-only-routines): Add sincostab.
39332         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39333         Use __sincostab not sincos.
39334         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39335         name is a macro.
39336         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39339         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
39340         using __copysign.
39341         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
39342         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
39343         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39344         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39345         and __inv.
39346         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39347         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39348         __copysign.
39349         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
39350         define aliases when function name is a macro.
39351         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39352         sysdeps/ieee754/dbl-64/sincos.tbl.
39353         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39354         fma4-enabled routines.
39355         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39356         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39357         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39358         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39359         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39360         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39361         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39362         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39363         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39364         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39365         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39366         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39367         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39368         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39369         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39370         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39371         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39372         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39373         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39374         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39375         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39376         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39377         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39378         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39379         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39380         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39381         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39382         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39383         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39384         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39386         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39387         rename.
39388         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39389         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39390         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39391         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39392         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39393         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39394         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39395         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39397 2011-10-24  Andreas Schwab  <schwab@redhat.com>
39399         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39401 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39403         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39405         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39406         prediction.
39407         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39409         * string/strnlen.c: Don't define STRNLEN, reverse logic.
39410         Remove unused variable magic_bits.
39411         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39413         * string/strnlen.c: Define and use STRNLEN macro.
39414         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39415         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39416         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39417         * wcsmbs/wcslen.c: Define and use WCSLEN.
39418         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39419         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39420         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39421         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39422         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39423         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39424         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39426 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39429         strnlen-sse2-no-bsf.
39430         Rename strlen-no-bsf to strlen-sse2-no-bsf.
39431         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39432         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39433         Add strnlen support.
39434         (USE_AS_STRNLEN): New macro.
39435         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39436         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39437         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39438         * sysdeps/x86_64/wcslen.S: New file.
39440 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
39442         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39443         XMM-moves are used for copying on small sizes.
39445 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39447         * wcsmbs/Makefile (strop-tests): Add wcschr.
39448         * wcsmbs/test-wcschr.c: New file.
39449         * string/test-strchr.c: Update.
39450         Add wcschr support.
39451         (WIDE): New macro.
39453 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39455         * wcsmbs/Makefile (strop-tests): Add wcslen.
39456         * wcsmbs/test-wcslen.c: New file.
39457         * string/test-strlen.c: Update.
39458         Add wcslen support.
39459         (WIDE): New macro.
39461 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39463         * po/it.po: Update from translation team.
39465 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39467         * sysdeps/x86_64/wcscmp.S: Update.
39468         Fix wrong comparison semantics.
39469         wcscmp shall use signed comparison not unsigned.
39470         Don't use substraction to avoid overflow bug.
39471         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39472         * wcsmbc/wcscmp.c: Likewise.
39473         * string/test-strcmp.c: Likewise.
39474         Add new tests to check cases with negative values.
39476 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39478         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39479         * sysdeps/x86_64/dla.h: ...here.  New file.
39480         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39481         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39482         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39483         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39484         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39485         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39486         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39487         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39488         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39490 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
39492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39493         __ynl_finite aliases.
39495 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39499         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39500         define DLA_FMA.
39501         [DLA_FMA] (EMULV): Use DLA_FMA.
39502         [DLA_FMA] (MUL12): Use EMULV.
39503         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39504         that are not needed.
39505         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39506         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39507         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39508         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39509         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39510         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39511         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39513 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
39515         * math/s_nan.c: Undef __nan.
39516         * math/s_nanf.c: Undef __nanf.
39517         * math/s_nanl.c: Undef __nanl.
39518         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39519         "math_private.h".
39521 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39523         * math/s_catan.c: Add branch predictions.
39524         * math/s_catanf.c: Likewise.
39525         * math/s_catanh.c: Likewise.
39526         * math/s_catanhf.c: Likewise.
39527         * math/s_catanhl.c: Likewise.
39528         * math/s_catanl.c: Likewise.
39529         * math/s_cexp.c: Likewise.
39530         * math/s_cexpf.c: Likewise.
39531         * math/s_cexpl.c: Likewise.
39532         * math/s_clog.c: Likewise.
39533         * math/s_clog10.c: Likewise.
39534         * math/s_clog10f.c: Likewise.
39535         * math/s_clog10l.c: Likewise.
39536         * math/s_clogf.c: Likewise.
39537         * math/s_clogl.c: Likewise.
39538         * math/s_csqrt.c: Likewise.
39539         * math/s_csqrtf.c: Likewise.
39540         * math/s_csqrtl.c: Likewise.
39541         * math/s_ctanf.c: Likewise.
39542         * math/s_ctanh.c: Likewise.
39543         * math/s_ctanhf.c: Likewise.
39544         * math/s_ctanhl.c: Likewise.
39545         * math/s_ctanl.c: Likewise.
39547         * math/math_private.h: Define __nan, __nanf, __nanl.
39548         * math/s_cacosh.c: Include <math_private.h>.
39549         * math/s_cacoshl.c: Likewise.
39550         * math/s_casinh.c: Likewise.
39551         * math/s_casinhf.c: Likewise.
39552         * math/s_casinhl.c: Likewise.
39553         * math/s_ccos.c: Rely entire on ccosh.
39554         * math/s_ccosf.c: Rely entire on ccoshf.
39555         * math/s_ccosl.c: Rely entirely on ccoshl.
39556         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39557         Remove tests for FE_INVALID.
39558         * math/s_ccoshf.c: Likewise.
39559         * math/s_ccoshl.c: Likewise.
39560         * math/s_csin.c: Likewise.
39561         * math/s_csinf.c: Likewise.
39562         * math/s_csinh.c Likewise.
39563         * math/s_csinhf.c: Likewise.
39564         * math/s_csinhl.c: Likewise.
39565         * math/s_csinl.c: Likewise.
39566         * math/s_ctan.c: Likewise.
39567         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39568         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39569         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39571 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39574         compilation problems.
39576         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39577         __builtin_expect.
39579 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39581         * sysdeps/i386/configure.in: Test for -mfma4 option.
39582         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39583         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39584         COMMON_CPUID_INDEX_80000001.
39585         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39586         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39587         use it if FMA3 is not supported.
39588         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39590         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39591         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39593 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39595         [BZ #12892]
39596         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39597         it would create a cycle with a link time dependency.
39599 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39601         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39602         instruction.
39603         * string/Makefile (strop-tests): Add rawmemchr.
39604         * string/test-rawmemchr.c: New file.
39606         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39607         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39608         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39609         when compiling str{,n}casecmp and when AVX is available.  Hook up
39610         new optimized code in initializers.
39612 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39614         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39615         __feraiseexcept instead of feraiseexcept.
39617 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39619         * math/math_private.h: Define defaults for libc_fetestexcept and
39620         libc_feupdateenv.
39621         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39622         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39623         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39624         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39625         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39626         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39627         libc_fetestexcept and libc_feupdateenv.
39629         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39630         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39631         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39632         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39633         libc_feholdexcept_setround.
39635         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39636         Add s_nearbyint-c and s_nearbyintf-c.
39637         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39638         nearbyintf inlines.
39639         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39640         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39641         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39642         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39644         * math/math_private.h: Define defaults for libc_fegetround,
39645         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39646         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39647         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39648         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39649         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39650         standard functions.
39651         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39652         Remove comments and hacks for old compiler versions.
39653         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39654         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39655         libc_feholdexceptl.
39657 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39659         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39660         (__feraiseexcept_renamed): Add __NTH.
39661         (feraiseexcept): Add __NTH.  Rename local variables to fix
39662         namespace violations.
39664 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39666         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39668         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39670         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39671         recently added interfaces.
39672         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39674         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39675         about macro parameter expansion.
39677         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39678         __NO_MATH_INLINES is defined.  Cleanups.
39680         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39681         and __floorf is target has SSE4.1.
39682         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39683         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39684         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39685         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39687         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39688         name.
39689         (floorf): Likewise.
39691         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39693 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39695         * misc/sys/cdefs.h: Fix last change.
39697         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39698         database lookup.
39700 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39702         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39704         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39705         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39706         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39707         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39708         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39709         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39710         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39711         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39712         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39713         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39714         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39715         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39716         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39717         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39718         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39719         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39720         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39721         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39722         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39723         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39724         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39725         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39727         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39728         ceil, ceilf, floor, floorf.
39730         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39731         Perform IRELATIVE relocations last.
39733         * elf/do-rel.h: Add another parameter nrelative, replacing the
39734         local variable with the same name.  Change name of the function
39735         to end in Rel or Rela (uppercase).
39736         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39737         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39738         elf_dynamic_do_##reloc function.
39740 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39742         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39743         is sufficient, at least on modern CPUs.
39745         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39747         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39748         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39750         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39751         __expl_finite.
39752         * math/bits/math-finite.h: Add entries for exp.
39753         * math/e_expl.c: Add __*_finite alias.
39754         * sysdeps/i386/fpu/e_exp.S: Likewise.
39755         * sysdeps/i386/fpu/e_expf.S: Likewise.
39756         * sysdeps/i386/fpu/e_expl.c: Likewise.
39757         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39758         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39759         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39760         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39761         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39762         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39763         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39765         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39766         is sufficient, at least on modern CPUs.
39768         * ctype/ctype-info.c (__ctype_init): Define.
39769         * include/ctype.h (__ctype_init): Declare.
39770         (__ctype_b_loc): The variable is always initialized.
39771         (__ctype_toupper_loc): Likewise.
39772         (__ctype_tolower_loc): Likewise.
39773         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39774         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39776 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39778         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39780         * configure.in: Also look in $cxxmachine/include for C++ system
39781         headers.
39783 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39785         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39786         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39787         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39788         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39789         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39790         (USE_AS_WMEMCMP): New macro.
39791         Fixing indents.
39792         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39793         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39794         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39795         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39796         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39797         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39798         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39799         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39800         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39801         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39802         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39803         (USE_AS_WMEMCMP): New macro.
39804         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39805         * sysdeps/string/test-memcmp.c: Update.
39806         Fix simple_wmemcmp.
39807         Add new tests.
39808         * wcsmbs/wmemcmp.c: Update.
39809         (WMEMCMP): New macro.
39810         Fix overflow bug.
39812 2011-10-12  Andreas Jaeger  <aj@suse.de>
39814         [BZ #13268]
39815         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39817 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39819         * libio/iofwide.c (do_length): Avoid warning.
39821         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39823 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39825         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39827         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39828         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39829         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39830         * sysdeps/i386/i686/fpu/e_log.S: New file.
39831         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39832         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39834         * ctype/ctype.h: Add support for inlined isXXX functions when
39835         compiling C++ code.
39837 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39839         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39841         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39843 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39845         [BZ #13291]
39846         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39848 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39850         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39851         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39852         feraiseexcept.
39854         * sysdeps/x86_64/memrchr.S: Check for zero size.
39856         * string/stratcliff.c: Add memrchr tests.
39858 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39861         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39862         rawmemchr-sse2 rawmemchr-sse2-bsf.
39863         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39864         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39865         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39866         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39867         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39868         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39869         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39870         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39871         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39872         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39873         * string/memrchr.c (MEMRCHR): New macro.
39875 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39877         Add integration with gcc's -ffinite-math-only and optimize wrapper
39878         functions in libm.
39879         * Versions.def: Define GLIBC_2.15 version for libm.
39880         * math/Makefile (headers): Add bits/math-finite.h.
39881         * math/bits/math-finite.h: New file.
39882         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39883         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39884         * math/e_acoshl.c: Add __*_finite alias.
39885         * math/e_acosl.c: Likewise.
39886         * math/e_asinl.c: Likewise.
39887         * math/e_atan2l.c: Likewise.
39888         * math/e_atanhl.c: Likewise.
39889         * math/e_coshl.c: Likewise.
39890         * math/e_exp10.c: Likewise.
39891         * math/e_exp10f.c: Likewise.
39892         * math/e_exp10l.c: Likewise.
39893         * math/e_exp2l.c: Likewise.
39894         * math/e_fmodl.c: Likewise.
39895         * math/e_gammal_r.c: Likewise.
39896         * math/e_hypotl.c: Likewise.
39897         * math/e_j0l.c: Likewise.
39898         * math/e_j1l.c: Likewise.
39899         * math/e_jnl.c: Likewise.
39900         * math/e_lgammal_r.c: Likewise.
39901         * math/e_log10l.c: Likewise.
39902         * math/e_log2l.c: Likewise.
39903         * math/e_logl.c: Likewise.
39904         * math/e_powl.c: Likewise.
39905         * math/e_sinhl.c: Likewise.
39906         * math/e_sqrtl.c: Likewise.
39907         * math/e_scalb.c: Completely rewritten and optimized.
39908         * math/e_scalbf.c: Likewise.
39909         * math/e_scalbl.c: Likewise.
39910         * math/w_acos.c: Likewise.
39911         * math/w_acosf.c: Likewise.
39912         * math/w_acosl.c: Likewise.
39913         * math/w_acosh.c: Likewise.
39914         * math/w_acoshf.c: Likewise.
39915         * math/w_acoshl.c: Likewise.
39916         * math/w_asin.c: Likewise.
39917         * math/w_asinf.c: Likewise.
39918         * math/w_asinl.c: Likewise.
39919         * math/w_atan2.c: Likewise.
39920         * math/w_atan2f.c: Likewise.
39921         * math/w_atan2l.c: Likewise.
39922         * math/w_atanh.c: Likewise.
39923         * math/w_atanhf.c: Likewise.
39924         * math/w_atanhl.c: Likewise.
39925         * math/w_exp10.c: Likewise.
39926         * math/w_exp10f.c: Likewise.
39927         * math/w_exp10l.c: Likewise.
39928         * math/w_fmod.c: Likewise.
39929         * math/w_fmodf.c: Likewise.
39930         * math/w_fmodl.c: Likewise.
39931         * math/w_j0.c: Likewise.
39932         * math/w_j0f.c: Likewise.
39933         * math/w_j0l.c: Likewise.
39934         * math/w_j1.c: Likewise.
39935         * math/w_j1f.c: Likewise.
39936         * math/w_j1l.c: Likewise.
39937         * math/w_jn.c: Likewise.
39938         * math/w_jnf.c: Likewise.
39939         * math/w_log.c: Likewise.
39940         * math/w_logf.c: Likewise.
39941         * math/w_logl.c: Likewise.
39942         * math/w_log10.c: Likewise.
39943         * math/w_log10f.c: Likewise.
39944         * math/w_log10l.c: Likewise.
39945         * math/w_log2.c: Likewise.
39946         * math/w_log2f.c: Likewise.
39947         * math/w_log2l.c: Likewise.
39948         * math/w_pow.c: Likewise.
39949         * math/w_powf.c: Likewise.
39950         * math/w_powl.c: Likewise.
39951         * math/w_remainder.c: Likewise.
39952         * math/w_remainderf.c: Likewise.
39953         * math/w_remainderl.c: Likewise.
39954         * math/w_scalb.c: Likewise.
39955         * math/w_scalbf.c: Likewise.
39956         * math/w_scalbl.c: Likewise.
39957         * math/w_sqrt.c: Likewise.
39958         * math/w_sqrtf.c: Likewise.
39959         * math/w_sqrtl.c: Likewise.
39960         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39961         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
39962         used.
39963         * math/math_private.h: Declare __kernel_standard_f.
39964         * math/w_cosh.c: Remove cruft and optimize a bit.
39965         * math/w_coshf.c: Likewise.
39966         * math/w_coshl.c: Likewise.
39967         * math/w_exp2.c: Likewise.
39968         * math/w_exp2f.c: Likewise.
39969         * math/w_exp2l.c: Likewise.
39970         * math/w_hypot.c: Likewise.
39971         * math/w_hypotf.c: Likewise.
39972         * math/w_hypotl.c: Likewise.
39973         * math/w_lgamma.c: Likewise.
39974         * math/w_lgamma_r.c: Likewise.
39975         * math/w_lgammaf.c: Likewise.
39976         * math/w_lgammaf_r.c: Likewise.
39977         * math/w_lgammal.c: Likewise.
39978         * math/w_lgammal_r.c: Likewise.
39979         * math/w_sinh.c: Likewise.
39980         * math/w_sinhf.c: Likewise.
39981         * math/w_sinhl.c: Likewise.
39982         * math/w_tgamma.c: Likewise.
39983         * math/w_tgammaf.c: Likewise.
39984         * math/w_tgammal.c: Likewise.
39985         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39986         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39987         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39988         Minor optimizations.  Pretty printing.  Remove cruft.
39989         * sysdeps/i386/fpu/e_acosf.S: Likewise.
39990         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39991         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39992         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39993         * sysdeps/i386/fpu/e_acosl.c: Likewise.
39994         * sysdeps/i386/fpu/e_asin.S: Likewise.
39995         * sysdeps/i386/fpu/e_asinf.S: Likewise.
39996         * sysdeps/i386/fpu/e_atan2.S: Likewise.
39997         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39998         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39999         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40000         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40001         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40002         * sysdeps/i386/fpu/e_exp10.S: Likewise.
40003         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40004         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40005         * sysdeps/i386/fpu/e_exp2.S: Likewise.
40006         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40007         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40008         * sysdeps/i386/fpu/e_fmod.S: Likewise.
40009         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40010         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40011         * sysdeps/i386/fpu/e_hypot.S: Likewise.
40012         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40013         * sysdeps/i386/fpu/e_log.S: Likewise.
40014         * sysdeps/i386/fpu/e_log10.S: Likewise.
40015         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40016         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40017         * sysdeps/i386/fpu/e_log2.S: Likewise.
40018         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40019         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40020         * sysdeps/i386/fpu/e_logf.S: Likewise.
40021         * sysdeps/i386/fpu/e_logl.S: Likewise.
40022         * sysdeps/i386/fpu/e_pow.S: Likewise.
40023         * sysdeps/i386/fpu/e_powf.S: Likewise.
40024         * sysdeps/i386/fpu/e_powl.S: Likewise.
40025         * sysdeps/i386/fpu/e_remainder.S: Likewise.
40026         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40027         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40028         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40029         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40030         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40031         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40032         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40033         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40034         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40035         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40037         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40038         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40039         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40040         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40041         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40042         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40043         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40044         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40045         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40047         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40048         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40050         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40051         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40052         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40053         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40054         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40055         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40056         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40057         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40058         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40059         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40060         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40061         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40062         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40063         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40064         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40065         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40066         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40067         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40068         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40069         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40070         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40071         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40072         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40073         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40074         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40075         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40076         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40077         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40078         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40079         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40080         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40081         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40082         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40083         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40084         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40085         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40086         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40087         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40088         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40089         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40090         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40091         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40092         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40093         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40094         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40095         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40096         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40097         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40098         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40099         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40100         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40101         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40102         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40103         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40104         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40105         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40106         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40107         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40108         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40109         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40110         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40111         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40112         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40113         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40115         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40116         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40117         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40118         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40119         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40120         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40121         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40122         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40123         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40124         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40125         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40126         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40127         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40128         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40129         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40130         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40131         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40132         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40133         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40134         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40135         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40136         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40137         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40138         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40139         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40140         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40141         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40142         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40143         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40144         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
40145         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40146         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40147         (__isnanf): Likewise.
40148         (__isinf_ns): Likewise.
40149         (__isinf_nsf): Likewise.
40150         (__finite): Likewise.
40151         (__finitef): Likewise.
40152         (__ieee754_sqrt): Define as macro.
40153         (__ieee754_sqrtf): Define as macro.
40154         (__ieee754_sqrtl): Define as macro.
40155         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40156         inlined copy.
40157         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40158         __FINITE_MATH_ONLY__ consistent.
40159         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40161 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
40163         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40164         of rawmemchr.
40166         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40168 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
40170         * po/ja.po: Update from translation team.
40172 2011-10-08  Roland McGrath  <roland@hack.frob.com>
40174         * locale/programs/locarchive.c (prepare_address_space): New function.
40175         (create_archive, enlarge_archive, open_archive): Use it.
40177         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40178         inside [SHARED], where it is used.
40180         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40182         * nss/getent.c (netgroup_keys): Remove unused variable.
40183         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40185 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
40187         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40188         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40190         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40191         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40192         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40193         * math/Makefile (libm-calls): Add s_isinf_ns.
40194         * math/divtc3.c: Use __isinf_nsl instead of isinf.
40195         * math/multc3.c: Likewise.
40196         * math/s_casin.c: Likewise.
40197         * math/s_casinf.c: Likewise.
40198         * math/s_casinl.c: Likewise.
40199         * math/s_ccos.c: Likewise.
40200         * math/s_ccosf.c: Likewise.
40201         * math/s_ccosl.c: Likewise.
40202         * math/s_ctan.c: Likewise.
40203         * math/s_ctanf.c: Likewise.
40204         * math/s_ctanh.c: Likewise.
40205         * math/s_ctanhf.c: Likewise.
40206         * math/s_ctanhl.c: Likewise.
40207         * math/s_ctanl.c: Likewise.
40208         * math/w_fmod.c: Likewise.
40209         * math/w_fmodf.c: Likewise.
40210         * math/w_fmodl.c: Likewise.
40211         * math/w_remainder.c: Likewise.
40212         * math/w_remainderf.c: Likewise.
40213         * math/w_remainderl.c: Likewise.
40214         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40215         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40216         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40217         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40218         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40219         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40220         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40221         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40223         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40224         of the number.
40225         * stdio-common/printf_fphex.c: Likewise.
40226         * stdio-common/printf_size.c: Likewise.
40228         * math/e_exp10.c: Include math_private.h using <...> not "...".
40229         * math/e_exp10f.c: Likewise.
40230         * math/e_exp10l.c: Likewise.
40231         * math/e_exp2l.c: Likewise.
40232         * math/e_j0l.c: Likewise.
40233         * math/e_j1l.c: Likewise.
40234         * math/e_jnl.c: Likewise.
40235         * math/e_lgammal_r.c: Likewise.
40236         * math/e_rem_pio2l.c: Likewise.
40237         * math/e_scalb.c: Likewise.
40238         * math/e_scalbf.c: Likewise.
40239         * math/e_scalbl.c: Likewise.
40240         * math/k_cosl.c: Likewise.
40241         * math/k_sinl.c: Likewise.
40242         * math/k_tanl.c: Likewise.
40243         * math/s_cacoshf.c: Likewise.
40244         * math/s_catan.c: Likewise.
40245         * math/s_catanf.c: Likewise.
40246         * math/s_catanh.c: Likewise.
40247         * math/s_catanhf.c: Likewise.
40248         * math/s_catanhl.c: Likewise.
40249         * math/s_catanl.c: Likewise.
40250         * math/s_ccosh.c: Likewise.
40251         * math/s_ccoshf.c: Likewise.
40252         * math/s_ccoshl.c: Likewise.
40253         * math/s_cexp.c: Likewise.
40254         * math/s_cexpf.c: Likewise.
40255         * math/s_cexpl.c: Likewise.
40256         * math/s_clog.c: Likewise.
40257         * math/s_clog10.c: Likewise.
40258         * math/s_clog10f.c: Likewise.
40259         * math/s_clog10l.c: Likewise.
40260         * math/s_clogf.c: Likewise.
40261         * math/s_clogl.c: Likewise.
40262         * math/s_csin.c: Likewise.
40263         * math/s_csinf.c: Likewise.
40264         * math/s_csinh.c: Likewise.
40265         * math/s_csinhf.c: Likewise.
40266         * math/s_csinhl.c: Likewise.
40267         * math/s_csinl.c: Likewise.
40268         * math/s_csqrt.c: Likewise.
40269         * math/s_csqrtf.c: Likewise.
40270         * math/s_csqrtl.c: Likewise.
40271         * math/s_ctan.c: Likewise.
40272         * math/s_ctanf.c: Likewise.
40273         * math/s_ctanh.c: Likewise.
40274         * math/s_ctanhf.c: Likewise.
40275         * math/s_ctanhl.c: Likewise.
40276         * math/s_ctanl.c: Likewise.
40277         * math/s_ldexp.c: Likewise.
40278         * math/s_ldexpf.c: Likewise.
40279         * math/s_ldexpl.c: Likewise.
40280         * math/s_significand.c: Likewise.
40281         * math/s_significandf.c: Likewise.
40282         * math/s_significandl.c: Likewise.
40283         * math/w_acos.c: Likewise.
40284         * math/w_acosf.c: Likewise.
40285         * math/w_acosh.c: Likewise.
40286         * math/w_acoshf.c: Likewise.
40287         * math/w_acoshl.c: Likewise.
40288         * math/w_acosl.c: Likewise.
40289         * math/w_asin.c: Likewise.
40290         * math/w_asinf.c: Likewise.
40291         * math/w_asinl.c: Likewise.
40292         * math/w_atan2.c: Likewise.
40293         * math/w_atan2f.c: Likewise.
40294         * math/w_atan2l.c: Likewise.
40295         * math/w_atanh.c: Likewise.
40296         * math/w_atanhf.c: Likewise.
40297         * math/w_atanhl.c: Likewise.
40298         * math/w_cosh.c: Likewise.
40299         * math/w_coshf.c: Likewise.
40300         * math/w_coshl.c: Likewise.
40301         * math/w_dremf.c: Likewise.
40302         * math/w_exp10.c: Likewise.
40303         * math/w_exp10f.c: Likewise.
40304         * math/w_exp10l.c: Likewise.
40305         * math/w_exp2.c: Likewise.
40306         * math/w_exp2f.c: Likewise.
40307         * math/w_fmod.c: Likewise.
40308         * math/w_fmodf.c: Likewise.
40309         * math/w_fmodl.c: Likewise.
40310         * math/w_hypot.c: Likewise.
40311         * math/w_hypotf.c: Likewise.
40312         * math/w_hypotl.c: Likewise.
40313         * math/w_j0.c: Likewise.
40314         * math/w_j0f.c: Likewise.
40315         * math/w_j0l.c: Likewise.
40316         * math/w_j1.c: Likewise.
40317         * math/w_j1f.c: Likewise.
40318         * math/w_j1l.c: Likewise.
40319         * math/w_jn.c: Likewise.
40320         * math/w_jnf.c: Likewise.
40321         * math/w_jnl.c: Likewise.
40322         * math/w_lgamma.c: Likewise.
40323         * math/w_lgamma_r.c: Likewise.
40324         * math/w_lgammaf.c: Likewise.
40325         * math/w_lgammaf_r.c: Likewise.
40326         * math/w_lgammal.c: Likewise.
40327         * math/w_lgammal_r.c: Likewise.
40328         * math/w_log.c: Likewise.
40329         * math/w_log10.c: Likewise.
40330         * math/w_log10f.c: Likewise.
40331         * math/w_log10l.c: Likewise.
40332         * math/w_log2.c: Likewise.
40333         * math/w_log2f.c: Likewise.
40334         * math/w_log2l.c: Likewise.
40335         * math/w_logf.c: Likewise.
40336         * math/w_logl.c: Likewise.
40337         * math/w_pow.c: Likewise.
40338         * math/w_powf.c: Likewise.
40339         * math/w_powl.c: Likewise.
40340         * math/w_remainder.c: Likewise.
40341         * math/w_remainderf.c: Likewise.
40342         * math/w_remainderl.c: Likewise.
40343         * math/w_scalb.c: Likewise.
40344         * math/w_scalbf.c: Likewise.
40345         * math/w_scalbl.c: Likewise.
40346         * math/w_sinh.c: Likewise.
40347         * math/w_sinhf.c: Likewise.
40348         * math/w_sinhl.c: Likewise.
40349         * math/w_sqrt.c: Likewise.
40350         * math/w_sqrtf.c: Likewise.
40351         * math/w_sqrtl.c: Likewise.
40352         * math/w_tgamma.c: Likewise.
40353         * math/w_tgammaf.c: Likewise.
40354         * math/w_tgammal.c: Likewise.
40356         * po/ja.po: Update from translation team.
40358 2011-09-29  Andreas Jaeger  <aj@suse.de>
40360         [BZ #13179]
40361         * sunrpc/netname.c (netname2host): Fix logic.
40363         [BZ #6779]
40364         [BZ #6783]
40365         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40366         correctly.
40367         * math/w_remainder.c (__remainder): Likewise.
40368         * math/w_remainderf.c (__remainderf): Likewise.
40369         * math/libm-test.inc (remainder_test): Add test cases.
40371 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40373         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
40374         sdiv_qrnnd.
40376 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40378         * string/test-memcmp.c: Avoid unncessary #defines.
40379         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40381 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40383         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40384         Use new sse2 version for core i3 - i7 as it's faster
40385         than sse42 version.
40386         (bit_Prefer_PMINUB_for_stringop): New.
40387         * sysdeps/x86_64/rawmemchr.S: Update.
40388         Replace with faster SSE2 version.
40389         * sysdeps/x86_64/memrchr.S: New file.
40390         * sysdeps/x86_64/memchr.S: Update.
40391         Replace with faster SSE2 version.
40393 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
40395         * elf/dl-load.c (lose): Add cast to avoid warning.
40397 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40399         * po/ca.po: Update from translation team.
40401         * inet/getnetgrent_r.c: Hook up nscd.
40402         * nscd/Makefile (routines): Add nscd_netgroup.
40403         (nscd-modules): Add netgroupcache.
40404         (CFLAGS-netgroupcache.c): Define.
40405         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40406         (cache_search): Add const to second parameter.
40407         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40408         INNETGR.
40409         (dbs): Add netgrdb entry.
40410         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40411         (verify_persistent_db): Handle netgrdb.
40412         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40413         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40414         GETFDNETGR.
40415         (netgroup_response_header): Define.
40416         (innetgroup_response_header): Define.
40417         (datahead): Add netgroup_response_header and innetgroup_response_header
40418         elements.
40419         * nscd/nscd.conf: Add entries for netgroup cache.
40420         * nscd/nscd.h (dbtype): Add netgrdb.
40421         (_PATH_NSCD_NETGROUP_DB): Define.
40422         (netgroup_iov_disabled): Declare.
40423         (xmalloc, xcalloc, xrealloc): Move declarations here.
40424         (cache_search): Adjust prototype.
40425         Add netgroup-related prototypes.
40426         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40427         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40428         (__nscd_innetgr): Declare.
40429         * nscd/selinux.c (perms): Use access_vector_t as element type and
40430         add netgroup-related initializers.
40431         * nscd/netgroupcache.c: New file.
40432         * nscd/nscd_netgroup.c: New file.
40433         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40434         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40435         For four parameters use innetgr.
40436         * nss/nss_files/files-init.c: Add definition and callback for netgr.
40437         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40438         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40439         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40441         * nscd/connections.c (register_traced_file): Don't register file
40442         for disabled databases.
40444 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
40446         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40448         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40449         from tree and freeing node.
40451 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
40453         * nss/nsswitch.c (__nss_database_lookup): Handle
40454         nss_parse_service_list out of memory case.
40456 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
40458         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40459         out of memory case.
40461 2011-10-04  Andreas Schwab  <schwab@redhat.com>
40463         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40464         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40465         pass it down.
40466         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40467         elf_machine_rela, elf_machine_lazy_rel.
40468         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40469         (ELF_DYNAMIC_DO_REL): Likewise.
40470         (ELF_DYNAMIC_DO_RELA): Likewise.
40471         (ELF_DYNAMIC_RELOCATE): Likewise.
40472         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40473         to ELF_DYNAMIC_DO_REL.
40474         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40475         (dl_main): In trace mode always set __RTLD_NOIFUNC.
40476         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40477         elf_machine_rela.
40478         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40479         skip_ifunc, don't call ifunc function if non-zero.
40480         (elf_machine_rela): Likewise.
40481         (elf_machine_lazy_rel): Likewise.
40482         (elf_machine_lazy_rela): Likewise.
40483         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40484         (elf_machine_lazy_rel): Likewise.
40485         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40486         Likewise.
40487         (elf_machine_lazy_rel): Likewise.
40488         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40489         Likewise.
40490         (elf_machine_lazy_rel): Likewise.
40491         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40492         (elf_machine_lazy_rel): Likewise.
40493         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40494         (elf_machine_lazy_rel): Likewise.
40495         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40496         (elf_machine_lazy_rel): Likewise.
40497         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40498         (elf_machine_lazy_rel): Likewise.
40499         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40500         (elf_machine_lazy_rel): Likewise.
40501         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40502         (elf_machine_lazy_rel): Likewise.
40504 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
40506         * nss/nss_files/files-init.c (_nss_files_init): Use static
40507         initialization for all the *_traced_file variables.
40509 2011-09-28  Andreas Schwab  <schwab@redhat.com>
40511         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40513 2011-09-27  Roland McGrath  <roland@hack.frob.com>
40515         [BZ #13226]
40516         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40518 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40520         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40521         Reread the line before reparsing it.
40523 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40525         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40527 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40528             Maxim Kuvyrkov  <maxim@codesourcery.com>
40529             Joseph Myers  <joseph@codesourcery.com>
40531         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40532         if needed for __stack_chk_guard.
40534 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40536         * sysdeps/posix/spawni.c (script_execute): Always define it.
40537         It will be optimized away if unused.
40538         (maybe_script_execute): New function.
40539         (__spawni): Call it.
40541         * Makerules: Don't include tls.make.
40542         (config-tls): Always set to thread.
40543         * tls.make.c: File removed.
40545 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40547         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40548         * config.make.in (CPPFLAGS-config): New substituted variable.
40550 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40552         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40554         [BZ #13192]
40555         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40556         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40558 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40560         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40561         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40562         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40563         (CALL_FAIL): Likewise.
40564         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40565         (CALL_FAIL): Macro removed.
40566         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40568 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40570         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40571         for __FINITE_MATH_ONLY__ == 1.
40573 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40575         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40576         __ieee754_sqrt instead of sqrt.
40577         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40578         __ieee754_sqrtf instead of sqrtf.
40579         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40580         __floorf instead of floorf.
40581         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40582         __floorf, __truncf instead of floorf, truncf.
40584 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40586         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40588         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40589         __extern_always_inline.
40590         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40591         32-bit.
40593 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40595         * elf/rtld.c (dl_main): Also relocate in dependency order when
40596         doing symbol dependency testing.
40598 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40600         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40601         Always define `refsym'.
40603 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40605         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40606         (__FD_ELT): Renamed from __FDELT.
40607         * misc/bits/select2.h (__FD_ELT): Likewise.
40608         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40609         __FD_MASK instead of __FDELT, __FDMASK.
40610         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40611         Likewise.
40612         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40613         Likewise.
40615         * elf/Makefile (gen-ldd): Fix pattern.
40617         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40618         (init_tls): Likewise.
40620 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40622         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40624 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40626         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40627         `struct cmsghdr *' instead of `void *'.
40628         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40629         Likewise.
40631 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40633         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40634         if non-absolute.
40635         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40636         ldd_rewrite_script.
40638 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40640         * configure.in: Remove --with-tls option.
40641         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40642         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40643         out in case it is missing.
40644         * sysdeps/ia64/elf/configure.in: Likewise.
40645         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40646         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40647         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40648         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40649         * sysdeps/sh/elf/configure.in: Likewise.
40650         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40651         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40652         * sysdeps/x86_64/elf/configure.in: Likewise.
40653         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40654         * sysdeps/mach/hurd/tls.h: Likewise.
40656         [BZ #13067]
40657         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40659         [BZ #13090]
40660         * configure.in: Fix use of AC_INIT.
40662         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40664 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40666         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40667         __set_errno.
40668         * malloc/hooks.c: Likewise.
40670         [BZ #11929]
40671         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40672         variables statically.
40673         (narenas): Initialize.
40674         (list_lock): Initialize.
40675         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40676         initializtion of main_arena and list_lock.  Small cleanups.
40677         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40678         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40679         Add initializers to main_arena and mp_.
40680         (malloc_state): Remove pagesize member.  Change all users to use
40681         GLRO(dl_pagesize).
40683         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40684         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40685         is always initialized.
40687         * malloc/malloc.c: Removed unused configurations and dead code.
40688         * malloc/arena.c: Likewise.
40689         * malloc/hooks.c: Likewise.
40690         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40692         * include/tls.h: Removed.  USE___THREAD must always be defined.
40693         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40694         * elf/dl-libc.c: Likewise.
40695         * elf/dl-tsd.c: Likewise.
40696         * include/errno.h: Likewise.
40697         * include/netdb.h: Likewise.
40698         * include/resolv.h: Likewise.
40699         * inet/herrno-loc.c: Likewise.
40700         * inet/herrno.c: Likewise.
40701         * malloc/arena.c: Likewise.
40702         * malloc/hooks.c: Likewise.
40703         * malloc/malloc.c: Likewise.
40704         * resolv/res-state.c: Likewise.
40705         * resolv/res_libc.c: Likewise.
40706         * sysdeps/i386/dl-machine.h: Likewise.
40707         * sysdeps/ia64/dl-machine.h: Likewise.
40708         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40709         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40710         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40711         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40712         * sysdeps/sh/dl-machine.h: Likewise.
40713         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40714         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40715         * sysdeps/unix/i386/sysdep.S: Likewise.
40716         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40717         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40721         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40722         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40723         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40724         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40726         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40727         * sysdeps/x86_64/dl-machine.h: Likewise.
40728         * tls.make.c: Likewise.
40730         * configure.in: Remove --with-__thread option.  Make tests for
40731         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40732         tls_model attribute fail if no support is available.  Remove
40733         USE_IN_LIBIO.
40734         * Makeconfig: Adjust for dropped configure option.  All features are
40735         now mandatory.
40736         * Makerules: Likewise.
40737         * Versions.def: Likewise.
40738         * argp/argp-fmtstream.c: Likewise.
40739         * argp/argp-fmtstream.h: Likewise.
40740         * argp/argp-help.c: Likewise.
40741         * assert/assert.c: Likewise.
40742         * config.h.in: Likewise.
40743         * config.make.in: Likewise.
40744         * configure: Likewise.
40745         * configure.in: Likewise.
40746         * csu/Versions: Likewise.
40747         * csu/init.c: Likewise.
40748         * elf/tst-audit2.c: Likewise.
40749         * elf/tst-tls10.c: Likewise.
40750         * elf/tst-tls10.h: Likewise.
40751         * elf/tst-tls11.c: Likewise.
40752         * elf/tst-tls12.c: Likewise.
40753         * elf/tst-tls14.c: Likewise.
40754         * elf/tst-tlsmod11.c: Likewise.
40755         * elf/tst-tlsmod12.c: Likewise.
40756         * elf/tst-tlsmod13.c: Likewise.
40757         * elf/tst-tlsmod13a.c: Likewise.
40758         * elf/tst-tlsmod14a.c: Likewise.
40759         * elf/tst-tlsmod15b.c: Likewise.
40760         * elf/tst-tlsmod16a.c: Likewise.
40761         * elf/tst-tlsmod16b.c: Likewise.
40762         * elf/tst-tlsmod7.c: Likewise.
40763         * elf/tst-tlsmod8.c: Likewise.
40764         * elf/tst-tlsmod9.c: Likewise.
40765         * gmon/gmon.c: Likewise.
40766         * grp/fgetgrent_r.c: Likewise.
40767         * grp/putgrent.c: Likewise.
40768         * hurd/fopenport.c: Likewise.
40769         * include/libc-symbols.h: Likewise.
40770         * include/tls.h: Likewise.
40771         * intl/gettextP.h: Likewise.
40772         * intl/loadinfo.h: Likewise.
40773         * locale/global-locale.c: Likewise.
40774         * locale/localeinfo.h: Likewise.
40775         * mach/devstream.c: Likewise.
40776         * malloc/arena.c: Likewise.
40777         * malloc/set-freeres.c: Likewise.
40778         * misc/err.c: Likewise.
40779         * misc/getttyent.c: Likewise.
40780         * misc/mntent_r.c: Likewise.
40781         * posix/getopt.c: Likewise.
40782         * posix/wordexp.c: Likewise.
40783         * pwd/fgetpwent_r.c: Likewise.
40784         * resolv/Versions: Likewise.
40785         * resolv/res_hconf.c: Likewise.
40786         * shadow/fgetspent_r.c: Likewise.
40787         * shadow/putspent.c: Likewise.
40788         * stdio-common/printf_fphex.c: Likewise.
40789         * stdio-common/tmpfile.c: Likewise.
40790         * stdlib/abort.c: Likewise.
40791         * stdlib/fmtmsg.c: Likewise.
40792         * sunrpc/auth_unix.c: Likewise.
40793         * sunrpc/clnt_perr.c: Likewise.
40794         * sunrpc/clnt_tcp.c: Likewise.
40795         * sunrpc/clnt_udp.c: Likewise.
40796         * sunrpc/clnt_unix.c: Likewise.
40797         * sunrpc/openchild.c: Likewise.
40798         * sunrpc/svc_simple.c: Likewise.
40799         * sunrpc/svc_tcp.c: Likewise.
40800         * sunrpc/svc_udp.c: Likewise.
40801         * sunrpc/svc_unix.c: Likewise.
40802         * sunrpc/xdr.c: Likewise.
40803         * sunrpc/xdr_array.c: Likewise.
40804         * sunrpc/xdr_rec.c: Likewise.
40805         * sunrpc/xdr_ref.c: Likewise.
40806         * sunrpc/xdr_stdio.c: Likewise.
40808 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40810         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40812 2011-07-03  Andreas Jaeger  <aj@suse.de>
40814         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40815         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40816         regenerate with gen-libm-tests.pl.
40818 2010-05-12  Petr Baudis  <pasky@suse.cz>
40820         [BZ #11589]
40821         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40822         around j0() zero points by switching to j1().
40823         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40824         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40825         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40826         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40828 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40830         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40831         instead of 0.
40832         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40833         instead of 0.
40834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40835         Patch in part by Pavel Roskin <proski@gnu.org>.
40837         [BZ #13138]
40838         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40839         realloc.
40840         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40841         Free memory block if necessary.
40843         [BZ #12847]
40844         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40845         be NULL.  Don't lock in this case.
40847 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40849         * elf/elf.h (ELFOSABI_GNU): New macro.
40850         (ELFOSABI_LINUX): Define to that.
40852 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40854         * string/strncat.c (strncat): Undef the symbol in case it has been
40855         defined in bits/string.h.
40857 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40859         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40861         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40862         link map.
40864 2011-08-17  Andreas Jaeger  <aj@suse.de>
40866         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40868 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40869             Ian Lance Taylor  <iant@google.com>
40871         * math/libm-test.inc (lround_test): New testcase.
40872         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40874 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40876         * Makefile: Remove support for automatic cvs check-ins.
40877         * Makerules: Likewise.
40878         * config.make.in: Likewise.
40879         * configure.in: Likewise.
40880         * intl/Makefile: Likewise.
40881         * locale/Makefile: Likewise.
40882         * po/Makefile: Likewise.
40883         * posix/Makefile: Likewise.
40884         * sysdeps/gnu/Makefile: Likewise.
40885         * sysdeps/mach/hurd/Makefile: Likewise.
40886         * sysdeps/sparc/sparc32/Makefile: Likewise.
40888         [BZ #13118]
40889         * posix/Makefile (bug-regex32-ENV): Define.
40890         Patch by John Stanley <jpsinthemix@verizon.net>.
40892         * misc/Makefile (headers): Add bits/select2.h.
40893         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40894         * misc/bits/select2.h: New file.
40895         * include/bits/select2.h: New file.
40896         * debug/Makefile (routines): Add fdelt_chk.
40897         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40898         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40899         FD_ISSET.
40900         * debug/fdelt_chk.c: New file.
40902         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40903         * wcsmbs/test-wmemcmp.c: Likewise.
40904         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40905         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40907 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40909         * string/Makefile (strop-tests): Add memcmp.
40910         * string/test-wmemcmp.c: New file.
40911         * string/test-memcmp.c: Add wmemcmp support.
40913 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40915         [BZ #13153]
40916         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40917         2011-07-19 change.
40919         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40920         garbage value in a __mach_port_mod_refs call in the cases of the
40921         task-self and thread-self ports.
40923 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40925         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40927 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40929         * elf/dl-load.c (lose): Check for non-null L.
40931 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40933         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40935         * elf/dl-libc.c (dlerror_run): Pass back error code from
40936         dl_catch_error.
40938         [BZ #13123]
40939         * elf/dl-load.c (lose): Free l_origin if it is valid.
40941         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40942         names.
40943         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40944         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40945         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40946         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40947         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40948         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40950 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40952         * sysdeps/powerpc/fpu/e_hypot.c: New file.
40953         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40954         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40955         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40956         * sysdeps/powerpc/fpu/k_cosf.c: New file.
40957         * sysdeps/powerpc/fpu/k_sinf.c: New file.
40958         * sysdeps/powerpc/fpu/s_cosf.c: New file.
40959         * sysdeps/powerpc/fpu/s_sinf.c: New file.
40960         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40961         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40963 2011-08-15  Alan Modra  <amodra@gmail.com>
40965         [BZ #13092]
40966         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40967         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40968         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
40969         ppc_mcount to static-only-routines.
40970         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40971         __mcount_internal.
40972         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40973         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
40975 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
40977         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40978         for finite and infinity parameters.
40980 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40982         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40983         and add nop instructions for throughput optimization.
40984         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40986 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
40988         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40989         aligned copy for power7 with vector-scalar instructions.
40990         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40992 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
40994         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40995         AVX check.
40997 2011-09-07  Andreas Schwab  <schwab@redhat.com>
40999         [BZ #13144]
41000         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41001         last change.
41003 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41005         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41006         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41007         syscall wrapper around clock_gettime in __vdso_clock_gettime.
41008         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41009         clock_gettime.
41011 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41013         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41014         Forgot to demangle the pointer.
41016         * sysdeps/i386/sysdep.h: Define atom_text_section.
41017         * sysdeps/x86_64/sysdep.h: Likewise.
41018         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41019         section with atom_text_section.
41020         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41021         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41022         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41023         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41024         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41026         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41027         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41028         already be defined.  Change to take two parameters and don't assign
41029         result to variable.  Adjust all users.
41030         Define INTERNAL_GETTIME if not already defined.
41031         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41032         call.
41033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41034         HAVE_CLOCK_GETTIME_VSYSCALL.
41035         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41037         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41038         gettimeofday vsyscall, just use time.
41040 2011-09-06  Andreas Schwab  <schwab@redhat.com>
41042         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41043         <errno.h>.
41045 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41047         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41048         syscall on x86-64.
41049         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41050         syscall.
41051         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41052         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41053         syscall if possible.
41055 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41057         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41058         e_ident.  Don't pass to find_mapsXX.
41059         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41061 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41064         strchr-sse2-no-bsf strrchr-sse2-no-bsf
41065         * sysdeps/x86_64/multiarch/strchr.S: Update.
41066         Check bit_slow_BSF bit.
41067         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41068         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41069         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41071 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41073         [BZ #13134]
41074         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41075         before glibc 2.15.
41076         (tryshell): Define.
41077         (__spawni): Change last parameter to be flag.  Test
41078         SPAWN_XFLAGS_USE_PATH flag to use path or not.
41079         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41080         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41081         * posix/spawni.c: Likewise.
41082         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41083         * posix/spawnp.c: Likewise.  Change normal version to use
41084         SPAWN_XFLAGS_USE_PATH.
41085         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41086         SPAWN_XFLAGS_TRY_SHELL.
41088         [BZ #13150]
41089         * posix/glob.h: Remove gcc 1.x support.
41091         [BZ #13068]
41092         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41094 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41096         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41097         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41098         strrchr-sse2-bsf
41099         * sysdeps/i386/i686/multiarch/strchr.S: New file.
41100         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41101         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41102         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41103         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41104         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41106 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41108         * sysdeps/x86_64/wcscmp.S: New file.
41110         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41111         wcscmp-c wcscmp-sse2
41112         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41113         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41114         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41115         * wcsmbs/wcscmp.c: Allow renaming.
41117 2011-09-05  David S. Miller  <davem@davemloft.net>
41119         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41120         stack slot, rather than the struct return pointer slot.
41121         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41122         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41124         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41126 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41128         * po/ja.po: Update from translation team.
41130         [BZ #13144]
41131         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41132         kernel in 64-bit binaries.
41134 2011-09-01  David S. Miller  <davem@davemloft.net>
41136         * elf/elf.h (HWCAP_SPARC_*): Move to..
41137         * sysdeps/sparc/sysdep.h: this new file and add new values.
41138         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41139         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41140         _DL_HWCAP_COUNT to 24.
41141         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41142         entries.
41143         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41144         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41145         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41146         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41147         instead of magic constants.
41148         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41150 2011-08-31  David S. Miller  <davem@davemloft.net>
41152         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41153         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41154         Reimplement to do errno handling inline.
41155         (SYSCALL_ERROR_HANDLER): New macro.
41156         (__SYSCALL_STRING): Do not do errno handling in asm.
41157         (__CLONE_SYSCALL_STRING): Delete.
41158         (__INTERNAL_SYSCALL_STRING): Delete.
41159         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41160         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41161         (PSEUDO): Reimplement to do errno handling inline.
41162         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41163         (SYSCALL_ERROR_HANDLER): New macro.
41164         (__SYSCALL_STRING): Do not do errno handling in asm.
41165         (__CLONE_SYSCALL_STRING): Delete.
41166         (__INTERNAL_SYSCALL_STRING): Delete.
41167         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41168         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41169         i386.
41170         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41171         (inline_syscall*): Add 'err' argument.
41172         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41173         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41174         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41175         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41177         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41178         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41180 2011-08-30  Andreas Schwab  <schwab@redhat.com>
41182         * elf/rtld.c (dl_main): Relocate objects in dependency order.
41184 2011-08-29  Jiri Olsa <jolsa@redhat.com>
41186         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41187         directive.
41189 2011-08-24  David S. Miller  <davem@davemloft.net>
41191         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41193 2011-08-24  Andreas Schwab  <schwab@redhat.com>
41195         * elf/Makefile: Add rules to build and run unload8 test.
41196         * elf/unload8.c: New file.
41197         * elf/unload8mod1.c: New file.
41198         * elf/unload8mod1x.c: New file.
41199         * elf/unload8mod2.c: New file.
41200         * elf/unload8mod3.c: New file.
41202         * elf/dl-close.c (_dl_close_worker): Reset private search list if
41203         it wasn't used.
41205 2011-08-23  David S. Miller  <davem@davemloft.net>
41207         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41208         subtract stack bias.
41209         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41210         %sp not %fp in calculations.
41211         (_JMPBUF_UNWINDS_ADJ): Likewise.
41213         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41214         (aio_suspend): Call it to force an exception region around the
41215         AIO_MISC_WAIT() invocation.
41217 2011-08-23  Andreas Schwab  <schwab@redhat.com>
41219         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41220         backslash.
41222 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
41224         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41225         protection macro.
41226         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41227         and <dl-machine.h>.
41228         (Elf64_FuncDesc): Remove.
41230 2011-08-22  David S. Miller  <davem@davemloft.net>
41232         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41233         sigaltstack check, add missing cfi directives.
41234         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41235         missing cfi directives, and sigaltstack handling.
41237 2011-08-16  Andreas Schwab  <schwab@redhat.com>
41239         [BZ #11724]
41240         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41241         object is seen twice.
41242         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41244         * elf/Makefile (distribute): Add tst-initorder2.c.
41245         (tests): Add tst-initorder2.
41246         (modules-names): Add tst-initorder2a tst-initorder2b
41247         tst-initorder2c tst-initorder2d.  Add rules to build them.
41248         ($(objpfx)tst-initorder2.out): New rule.
41249         * elf/tst-initorder2.c: New file.
41250         * elf/tst-initorder2.exp: New file.
41252 2011-08-22  Andreas Schwab  <schwab@redhat.com>
41254         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41256         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41257         dependencies back to end of function.
41259         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41260         $(elfobjdir)/ld.so.
41262 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
41264         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41265         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41266         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41267         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41268         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41269         of __vdso_gettimeofday.
41270         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41271         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
41272         attribute_hidden.
41273         (_libc_vdso_platform_setup): Remove initialization of
41274         __vdso_gettimeofday and __vdso_time.
41276 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41278         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41279         and fgetc_unlocked.
41280         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41281         getc_unlocked.
41283         * elf/dl-open.c (add_to_global): Report additions to the global scope
41284         for LD_DEBUG=scopes.
41285         (dl_open_worker): Also print scope of newly loaded dependencies.
41286         (_dl_show_scope): Indicate if there is no scope.
41288         [BZ #13114]
41289         * stdio-common/Makefile (tests): Add bug24.
41290         * stdio-common/bug24.c: New file.
41292 2011-08-19  Andreas Jaeger  <aj@suse.de>
41294         [BZ #13114]
41295         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41296         non-existant file when using close-on-exec mode.
41298 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41300         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41301         the very first instruction.
41303         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41304         the CFI state in the end.
41305         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41306         inclusion of dl-trampoline.h.
41307         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41309 2011-08-19  Andreas Schwab  <schwab@redhat.com>
41311         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41312         expectations for long double.
41314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41315         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41317 2011-08-14  David S. Miller  <davem@davemloft.net>
41319         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41320         artificual limit depends upon the system page size.
41322 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41324         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41325         * resolv/Makefile: Define CFLAGS-libresolv.
41327 2011-08-17  Andreas Schwab  <schwab@redhat.com>
41329         * nss/makedb.c (compute_tables): Make variables used in nested
41330         function static.
41332 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41334         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41335         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41336         if buffer was too small.
41338         * elf/pldd.c (main): Attach to all threads in the process.
41339         Rewrite /proc handling to use *at functions.
41341 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
41343         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41344         specifies first scope to show.
41345         (dl_open_worker): Update callers.  Move printing scope of new
41346         object to before the relocation.
41347         * elf/rtld.c (dl_main): Update _dl_show_scope call.
41348         * sysdeps/generic/ldsodefs.h: Update declaration.
41350         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41351         string for the scope number.
41353 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
41355         * nscd/servicescache.c (cache_addserv): Make sure written is always
41356         initialized.
41358 2011-08-14  Roland McGrath  <roland@hack.frob.com>
41360         * sysdeps/i386/i486/bits/atomic.h
41361         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41362         statement expression, so as to suppress "set but not used" warning.
41363         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41365         * string/strncat.c (STRNCAT): Use prototype definition.
41367         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41368         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41369         -Iprograms here.
41370         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41371         (localedef-modules): Add localedef.
41372         (locale-modules): Add locale.
41374         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41375         * elf/rtld.c (dl_main): Invert order of assignment in last change,
41376         to avoid a warning.
41378 2011-08-14  David S. Miller  <davem@davemloft.net>
41380         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41381         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41383 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
41385         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41386         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41387         * elf/rtld.c (dl_main): Set l_name of vDSO.
41388         Call _dl_show_scope when DL_DEBUG_SCOPES.
41389         (process_dl_debug): Recognize scopes flag and also set it for all.
41390         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41391         Declare _dl_show_scope.
41393         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41394         (do_dlopen): Pass caller_dlopen to dl_open.
41395         (__libc_dlopen_mode): Initialize caller_dlopen.
41397         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41398         of libc.  Make tolower call locale-independent.  Optimize a bit by
41399         using isdigit instead of isalnum.
41400         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41402 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
41404         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41405         was a dependency or dynamically loaded.
41407 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
41409         * intl/l10nflist.c: Allow architecture-specific pop function.
41410         * sysdeps/x86_64/l10nflist.c: New file.
41412         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41413         classification.
41415 2011-08-10  Andreas Schwab  <schwab@redhat.com>
41417         * include/dirent.h: Add libc_hidden_proto for scandirat and
41418         scandirat64.  Don't declare __scandirat64.
41419         * dirent/scandirat.c: Add libc_hidden_def.
41420         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41421         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41423 2011-08-10  David S. Miller  <davem@davemloft.net>
41425         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41426         enum.
41427         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41428         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41431 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
41433         * Versions.def [libc]: Add GLIBC_2.15.
41434         * dirent/Makefile (routines): Add scandirat and scandirat64.
41435         * dirent/Versions [libc]: Export scandirat and scandirat64 for
41436         GLIBC_2.15.
41437         * dirent/dirent.h: Declare scandirat and scandirat64.
41438         * dirent/scandirat.c: New file.
41439         * dirent/scandirat64.c: New file.
41440         * sysdeps/wordsize-64/scandirat.c: New file.
41441         * sysdeps/wordsize-64/scandirat64.c: New file.
41442         * dirent/opendir.c: Define opendirat.
41443         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
41444         using scandirat.
41445         * dirent/scandir64.c: Adjust for scandir.c change.
41446         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
41447         __scandirat64, and __scandir_cancel_handler.
41448         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
41449         additional parameter and use openat instead of open (outside of ld.so).
41450         Add new __opendir as wrapper around __opendirat.
41451         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41452         here without requiring old scandirat implementation.
41454 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
41456         * dirent/scandir.c (cancel_handler): Renamed to
41457         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
41458         defined.  Adjust users.
41459         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41460         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41462 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
41464         * string/test-string.h (IMPL): Use __STRING to expand name and then
41465         stringify it.
41467         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
41468         of cleanups.
41470 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41472         * string/Makefile: Update.
41473         (strop-tests): Append strncat.
41474         * string/test-wcscmp.c: New file.
41475         New comprehensive test for wcscmp.
41476         * string/test-strcmp.c: Update.
41477         (WIDE): New define.
41479 2011-07-22  Andreas Schwab  <schwab@redhat.com>
41481         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41482         line.
41484 2011-07-26  Andreas Schwab  <schwab@redhat.com>
41486         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41487         encoding to ACE if AI_IDN.
41489 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
41491         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41492         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41494 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41496         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41497         Fix overflow bug in strncat.
41498         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41500         * string/test-strncat.c: Update.
41501         Add new tests for checking overflow bugs.
41503 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41505         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41506         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41507         * sysdeps/i386/i686/multiarch/strcat.S: New file.
41508         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41509         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41510         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41511         * sysdeps/i386/i686/multiarch/strncat.S: New file.
41512         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41513         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41515         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41516         (USE_AS_STRCAT): Define.
41517         Add strcat and strncat support.
41518         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41520 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41522         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41523         __n bigger than INT_MAX+1.
41524         (__strncmp_g): Likewise.
41526 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41528         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41529         * libio/stido.h: Likewise.
41531         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41532         (AF_NFC): Define.
41533         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41534         (AF_NFC): Define.
41536         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41537         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41538         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41539         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41540         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41542         [BZ #13021]
41543         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41544         installed.
41546         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41547         typo.
41548         (_dl_x86_64_save_sse): Likewise.
41550 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41552         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41553         OSXSAVE.
41554         (_dl_x86_64_save_sse): Likewise.
41556         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41558         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41560 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41562         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41563         change.
41564         (_dl_x86_64_save_sse): Use correct AVX check.
41566 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41568         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41569         bug in strncpy/strncat.
41570         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41572 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41574         * string/tester.c (test_strcat): Add tests for different alignments
41575         of source and destination.
41576         (test_strncat): Likewise.
41578 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41580         [BZ #12852]
41581         * posix/glob.c (glob): Check passed in values before using them in
41582         expressions to avoid some overflows.
41583         (glob_in_dir): Likewise.
41585         [BZ #13007]
41586         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41587         check for AVX enablement so that we don't crash with old kernels and
41588         new hardware.
41589         * elf/tst-audit4.c: Add same checks here.
41590         * elf/tst-audit6.c: Likewise.
41592         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41594 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41596         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41598 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41600         * po/cs.po: Update from translation team.
41601         * po/bg.po: Likewise.
41603 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41605         * misc/sys/cdefs.h: Add support for const attribute.
41606         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41607         to gnu_dev_{major,minor,makedev} functions.
41609 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41611         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41613 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41615         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41616         strlen results.
41618 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41621         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41622         register in order to avoid conflicts with the soft frame pointer
41623         being held in r11 when necessary.
41624         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41625         (INTERNAL_VSYSCALL_NCS): Likewise.
41627 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41629         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41630         * elf/dl-fini.c (_dl_fini): Adjust caller.
41631         * elf/dl-close.c (_dl_close_worker): Likewise.
41632         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41634 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41636         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41637         "aux_cache->nlibs < 0".
41639         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41640         in the reload-count case.
41642 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41645         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41646         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41647         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41648         * sysdeps/x86_64/multiarch/strcat.S: New file.
41649         * sysdeps/x86_64/multiarch/strncat.S: New file.
41650         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41651         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41652         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41653         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41654         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41655         (USE_AS_STRCAT): Define.
41656         Add strcat and strncat support.
41657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41658         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41659         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41660         * string/strncat.c: Update.
41661         (USE_AS_STRNCAT): Define.
41662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41663         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41664         and i7.
41665         * sysdeps/x86_64/multiarch/init-arch.h
41666         (bit_Prefer_PMINUB_for_stringop): New.
41667         (index_Prefer_PMINUB_for_stringop): Likewise.
41668         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41669         bit_Prefer_PMINUB_for_stringop.
41671 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41673         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41674         buffer64.
41675         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41676         of casting of buffer.
41677         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41678         buffer32 and buffer64.
41679         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41680         writes instead of casting of buffer.
41681         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41682         buffer32.
41683         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41684         casting of buffer.
41686 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41688         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41690 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41692         * nscd/nscd.c (termination_handler): Don't do anything for a database
41693         if it has not yet been initialized.
41695 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41697         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41699 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41701         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41703 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41705         * po/nl.po: Update from translation team.
41706         * po/sv.po: Likewise.
41708 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41710         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41711         now disallowed by GCC.
41713         * configure.in (use-default-link): Default to yes if a test -shared
41714         link meets our qualifications.
41715         * configure: Regenerated.
41717         * config.make.in (output-format): New variable.
41718         * configure.in: Check for ld --print-output-format support.
41719         * configure: Regenerated.
41720         * Makerules ($(common-objpfx)format.lds)
41721         [$(output-format) != unknown]: Just use $(output-format),
41722         instead of the linker-script munging.
41724 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41726         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41727         of $(common-objpfx)shlib.lds.
41728         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41730         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41731         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41733         * configure.in (-z relro check): Adjust test code to add a large
41734         writable data section after it.
41735         * configure: Regenerated.
41737 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41739         * configure.in (-z relro check): Fix test code to make the variable
41740         truly const.
41741         * configure: Regenerated.
41743 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41745         * nscd/nscd.h (struct traced_file): Define.
41746         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41747         elements.  Add traced_files.
41748         (inotify_fd): Declare.
41749         (register_traced_file): Declare.
41750         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41751         (inotify_fd): Export.
41752         (resolv_conf_descr): Remove.
41753         (nscd_init): Move inotify descriptor creation to main.
41754         Don't register files for notification here.
41755         (register_traced_file): New function.
41756         (invalidate_cache): Don't use reset_res to determine whether to call
41757         res_init, go through the list of registered files.
41758         (main_loop_poll): The inotify descriptors are now stored in the
41759         structures for the traced files.
41760         (main_loop_epoll): Likewise
41761         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41762         to __nss_disable_nscd.
41763         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41764         for a database anymore.  Check the records for all the registered
41765         files instead.
41766         * nss/Makefile (libnss_files-routines): Add files-init.
41767         (libnss_db-routines): Add db-init.
41768         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41769         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41770         * nss/nss_db/db-init.c: New file.
41771         * nss/nss_files/files-init.c: New file.
41772         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41773         __nss_lookup_function.
41774         (__nss_lookup_function): Call nss_load_library.
41775         (nss_load_all_libraries): New function.
41776         (__nss_disable_nscd): Take parameter with callback function for files
41777         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41778         used for the cached services.
41779         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41780         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41781         options for features to all the files in nscd.
41783         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41785 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41787         * csu/elf-init.c (__libc_csu_init): Comment typo.
41789 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41791         * po/pl.po: Update from translation team.
41792         * po/ja.po: Likewise.
41793         * po/ru.po: Likewise.
41794         * po/ko.po: Likewise.
41795         * po/fr.po: Likewise.
41797 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41799         * configure.in (.ctors/.dtors header and trailer check):
41800         Use an empirical test on a built program.
41801         * configure: Regenerated.
41803         * configure.in (-z relro check): Use an empirical test on a built DSO.
41804         Detect, but do not require, on ia64.
41805         * configure: Regenerated.
41807         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41808         Update tests that use readelf to use $READELF instead.
41809         * configure: Regenerated.
41811 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41813         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41814         if the result is not used.
41816 2011-07-05  Andreas Jaeger  <aj@suse.de>
41818         [BZ#9696]
41819         * stdlib/tst-strtod.c: Add testcase.
41821 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41823         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41824         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41825         The latter has a higher limit.  Take additional parameter to pass to
41826         the new function.
41827         (__pathconf): Pass file to __statfs_link_max.
41828         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41829         __statfs_link_max.
41830         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41831         __statfs_link_max.
41833         [BZ #12868]
41834         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41835         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41836         Handle Lustre.
41837         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41838         (__statfs_filesize_max): Likewise.
41839         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41841 2011-07-05  Andreas Jaeger  <aj@suse.de>
41843         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41845 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41847         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41848         `status' variable.
41849         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41850         Likewise.
41852 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41854         * Makefile (strop-tests): Add strncat.
41855         * string/test-strncat.c: New file.
41857 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41859         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41861 2011-06-21  Andreas Jaeger  <aj@suse.de>
41863         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41864         Copy rule from iconvdata/Makefile.
41866 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41868         [BZ #12922]
41869         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41870         but no long options are defined, just return 'W'.
41872 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41874         [BZ #9696]
41875         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41877 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41879         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41880         netgroups to read.
41881         (innetgr): Likewise.
41883 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41885         * config.make.in (install_root): Default to $(DESTDIR).
41887 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41889         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41891 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41893         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41895         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41896         containing directory rather than embedding absolute directory names.
41898         * scripts/check-local-headers.sh: Rewritten using awk.
41899         Match by word, not by line.  Print error messages for matches.
41900         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41902         * Makerules [shlib-lds-flags empty]:
41903         ($(common-objpfx)libc_pic.opts): New target.
41904         ($(common-objpfx)libc_pic.os.clean): New target.
41905         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41907         * config.make.in (OBJCOPY): New variable.
41908         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41909         * configure: Regenerated.
41911         * config.make.in (use-default-link): New variable.
41912         * configure.in (use_default_link): Grok --with-default-link to set it.
41913         * configure: Regenerated.
41914         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41915         (shlib-lds, shlib-lds-flags): Define to empty.
41917         * Makerules (shlib-lds): New variable.
41918         (shlib-lds-flags): New variable.
41919         (build-shlib, build-moduile, build-module-asneeded): Use it.
41920         ($(common-objpfx)libc.so): Use $(shlib-lds).
41921         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41922         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41924         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41925         DT_FLAGS/DT_FLAGS_1 with zero flags.
41927         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41928         linker script munging.
41930 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41932         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41933         as 128-bit value.
41934         * crypt/sha512.c (sha512_process_block): Perform total addition using
41935         128-bit if possible.
41936         (__sha512_finish_ctx): Likewise.
41937         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41938         as 64-bit value.
41939         * crypt/sha256.c (SWAP64): Define.
41940         (sha256_process_block): Perform total addition using 64-bit if
41941         possible.
41942         (__sha256_finish_ctx): Likewise.
41944 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
41946         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
41947         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41948         * nscd/hstcache.c (cache_addhst): Likewise.
41949         * nscd/grpcache.c (cache_addgr): Likewise.
41950         * nscd/aicache.c (addhstaiX): Likewise
41951         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41953 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
41955         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41956         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41957         * nscd/hstcache.c (cache_addhst): Likewise.
41958         * nscd/grpcache.c (cache_addgr): Likewise.
41959         * nscd/aicache.c (addhstaiX): Likewise
41961 2011-07-01  Andreas Schwab  <schwab@redhat.com>
41963         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41964         domain only when needed.
41966 2011-06-30  Andreas Schwab  <schwab@redhat.com>
41968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41969         is always restored.
41971 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
41973         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41974         are re-adding the entry.
41975         * nscd/servicescache.c (cache_addserv): Likewise.
41977 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
41979         * sysdeps/generic/dl-irel.h: fix protection against multiple
41980         inclusions.
41981         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41983 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
41985         [BZ #12935]
41986         * malloc/memusage.sh: Fix quoting in message.
41987         * debug/xtrace.sh: Likewise.
41989         * configure.in: Remove support for --experimental-malloc option, make
41990         it the default.
41991         * config.make.in: Likewise.
41992         * malloc/Makefile: Likewise.
41994 2011-06-27  Andreas Schwab  <schwab@redhat.com>
41996         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41997         two-byte characters.
41999 2011-06-27  Roland McGrath  <roland@hack.frob.com>
42001         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42002         AC_CACHE_CHECK invocation.
42003         * configure: Regenerated.
42005         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42007 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
42009         [BZ #12350]
42010         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
42011         bit from old_res_options.
42013         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42015         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42016         value type for setfct.
42018 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
42020         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42021         __gettimeofday instead of gettimeofday.
42023 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
42025         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42027 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
42029         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42031         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42032         info.
42034 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42037         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42038         strcpy-sse2-unaligned strncpy-sse2-unaligned
42039         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42040         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42041         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42042         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42043         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42044         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42045         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42046         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42047         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42048         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42049         (STRCPY): Support SSE2 and SSSE3 versions.
42051 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
42053         [BZ #12874]
42054         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42055         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42056         kernels which artificially limit size of requests.
42058 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42060         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42061         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42062         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42063         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42064         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42065         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42066         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42067         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42068         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42069         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42070         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42071         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42072         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42073         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42074         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42076         Enable unaligned load optimization for Intel Core i3, i5 and i7
42077         processors.
42078         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42079         Define.
42080         (index_Fast_Unaligned_Load): Define.
42081         (HAS_FAST_UNALIGNED_LOAD): Define.
42083 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
42085         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42087 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42089         [BZ #12907]
42090         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42091         until it is clear that the information is realy needed.
42092         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42094 2011-06-22  Andreas Schwab  <schwab@redhat.com>
42096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42098 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42100         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42101         /sys/devices/system/cpu/online if it is usable.
42103         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42104         reading the information from the /proc filesystem to once a second.
42106 2011-06-21  Andreas Jaeger  <aj@suse.de>
42108         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42109         NULL after inclusion of kernel headers.
42111 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
42113         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42114         calls to internal_setent.
42116         [BZ #12885]
42117         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42118         addresses using gethostbyname4_r ignore IPv4 addresses.
42120         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42121         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
42123         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42125 2011-06-20  David S. Miller  <davem@davemloft.net>
42127         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42128         inclusions.
42129         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42131         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42132         (elf_irel): Use it.
42133         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42134         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42135         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42136         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42137         * sysdeps/x86_64/dl-irel.h: Likewise.
42139         * elf/dl-runtime.c: Use elf_ifunc_invoke.
42140         * elf/dl-sym.c: Likewise.
42142 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42144         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
42145         need to dereference resplen2.
42147 2011-06-14  Andreas Schwab  <schwab@redhat.com>
42149         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42151 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42153         * Makeconfig: Define vardbdir and inst_vardbdir.
42154         * nss/Makefile: Add rules to install db-Makefile.
42156         * nss/nss_db/db-XXX.c: Cleanup.
42158         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42159         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42160         GLIBC_PRIVATE.
42161         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42162         * nss/makedb.c: Implement -g option to specify that value strings
42163         are generated and should not be added to table iterated over for
42164         get*ent calls.
42165         * nss/nss_db/db-initgroups.c: New file.
42167         * nss/getent.c: Add support for initgroups lookups through getgrouplist
42168         interface.
42170         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42171         (internal_getgrouplist): Adjust to name change.
42172         Update use_initgroups_entry if this is not the first call.
42173         * nss/databases.def: Add initgroups entry.
42175         * nss/makedb.c (compute_tables): Check result of multiple hash table
42176         sizes to minimize maximum chain length.
42178 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
42180         * Versions.def: Add entry for libnss_db.
42181         * shlib-versions: Likewise.
42182         * nss/Makefile: Add rules to build libnss_db.
42183         * nss/Versions: Add libnss_db information.  Organize libnss_files
42184         entries better.
42185         * nss/db-Makefile: Add gshadow support.  Change rules for the new
42186         makedb progra.  Some minor improvements to generate smaller files.
42187         * nss/nss_db/nss_db.h: Move NSS database header data structures to
42188         here from...
42189         * nss/makedb.c: ...here.
42190         Improve database format to be smaller and require less memory at
42191         runtime.
42192         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
42193         db anymore.
42194         * nss/nss_db/db-netgrp.c: Likewise.
42195         * nss/nss_db/db-open.c: Likewise.
42196         * nss/nss_files/flies-XXX.x: Adjust comments.
42197         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42198         * nss/nss_files/files-grp.c: Likewise.
42199         * nss/nss_files/files-hosts.c: Likewise.
42200         * nss/nss_files/files-network.c: Likewise.
42201         * nss/nss_files/files-proto.c: Likewise.
42202         * nss/nss_files/files-pwd.c: Likewise.
42203         * nss/nss_files/files-rpc.c: Likewise.
42204         * nss/nss_files/files-service.c: Likewise.
42205         * nss/nss_files/files-sgrp.c: Likewise.
42206         * nss/nss_files/files-spwd.c: Likewise.
42207         * nss/nss_db/db-alias.c: Removed.
42208         * nss/nss_db/dummy-db.h: Removed.
42210 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
42212         * nss/makedb.c: Rewritten to not use database library.
42213         * nss/Makefile: Update to build new makedb program.
42215 2011-06-14  Andreas Jaeger  <aj@suse.de>
42217         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42218         memset declaration.
42220 2011-06-10  Andreas Schwab  <schwab@redhat.com>
42222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42223         tmpbuf.
42225 2011-06-10  Roland McGrath  <roland@hack.frob.com>
42227         * Makerules (shlib.lds): Fail if the linker script comes out empty.
42228         * elf/Makefile ($(objpfx)ld.so): Likewise.
42230         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42231         Don't list ld.so twice in dependencies.
42233         * posix/bug-regex31.c: Include <stdlib.h>.
42235         * nscd/hstcache.c (cache_addhst): Remove unused variable.
42237         * nis/nss_compat/compat-spwd.c
42238         (getspent_next_nss_netgr): Remove unused variable.
42239         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42241         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42242         nonmembers" output to use the right array.
42244         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42246         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42248         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42249         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42250         * catgets/gencat.c (read_input_file): Likewise.
42251         * locale/programs/locarchive.c (enlarge_archive): Likewise.
42253         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42254         variable definition inside #if's controlling its use.
42256         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42258         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42260         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42262         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42263         unreachable code.
42265         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42267         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42268         * configure: Regenerated.
42270         * Makerules: Revert last change.
42271         * elf/Makefile: Likewise.
42273 2011-06-09  Roland McGrath  <roland@hack.frob.com>
42275         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42276         * elf/Makefile ($(objpfx)librtld.os): Likewise.
42277         (reloc-link): Likewise.
42279 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
42281         * elf/Makefile: Add rules to build pldd.
42282         * elf/pldd.c: New file.
42283         * elf/pldd-xx.c: New file.
42285 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
42287         * version.h: Update for 2.15 development version.
42289 2011-06-07  David S. Miller  <davem@davemloft.net>
42291         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42292         ifuncs.
42293         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42294         elf_machine_lazy_rel): Likewise.
42295         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42296         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42297         elf_machine_lazy_rel): Likewise.
42298         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42299         dl_hwcap via passed in argument.
42300         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42301         Likewise.
42303 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42305         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
42307 2011-06-06  Roland McGrath  <roland@hack.frob.com>
42309         [BZ #12849]
42310         * manual/fdl-1.1.texi: New file, verbatim from:
42311         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42312         * manual/lgpl-2.1.texi: New file, verbatim from:
42313         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42314         * manual/Makefile (licenses): New variable, list those new file names.
42315         (texis): Use it.
42316         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42318         * manual/fdl.texi: File removed.
42319         * manual/lesser.texi: File removed.
42320         * manual/libc.texinfo (Copying, Documentation License):
42321         Use new @include file names, put @appendix directive before @include.
42323 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
42325         [BZ #12841]
42326         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42327         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42328         (mq_open): Add __NTH.
42330 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
42332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42333         Assume Intel Core i3/i5/i7 processor if AVX is available.
42335 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42337         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42338         typo.
42340 2011-05-31  Andreas Schwab  <schwab@redhat.com>
42342         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42343         memory.  Use alloca_account.  Fix memory leak when retrying.
42345 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42347         * version.h (RELEASE): Bump for 2.14 release.
42348         * include/features.h (__GLIBC_MINOR__): Bump to 14.
42350         * config.make.in (RANLIB): Remove entry.
42352 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
42354         * po/Makefile (po-sed-cmd): Add ksh to extensions.
42355         (libc.pot): Work around missing support for .ksh extension in xgettext.
42357         [BZ #12684]
42358         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42359         if both request failed.
42360         (send_dg): In case of server errors clear resplen or *resplen2.
42362         [BZ #12454]
42363         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42364         when there are multiple maps.
42365         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42366         (_dl_fini): Remove test here.
42368         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42370 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
42372         [BZ #12350]
42373         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42374         bit from old_res_options.
42375         (gaih_inet): Likewise.
42377         [BZ #11099]
42378         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42379         as signed.
42381         * resolv/res_init.c (res_setoptions): Make the code more compact.
42383         [BZ #11558]
42384         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42385         set RES_USEVC.
42387         [BZ #11634]
42388         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42390         * malloc/malloc.h: Mark malloc hook variables as deprecated.
42392         [BZ #11781]
42393         * malloc/malloc.h: Declare malloc hook variables as volatile.
42395         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42396         in last patch.
42398         [BZ #11799]
42399         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42400         raise in the comment.
42401         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42402         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42403         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42405 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
42407         [BZ #12811]
42408         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42409         grow the buffers more if it already has to be sufficient.
42410         (build_wcs_upper_buffer): Likewise.
42411         * posix/regexec.c (check_matching): Likewise.
42412         (clean_state_log_if_needed): Likewise.
42413         (extend_buffers): Don't enlarge buffers beyond size of the input
42414         buffer.
42415         Patches mostly by Emil Wojak <emil@wojak.eu>.
42416         * posix/bug-regex32.c: New file.
42417         * posix/Makefile (tests): Add bug-regex32.
42419         * locale/findlocale.c (_nl_find_locale): Return right away if
42420         _nl_explode_name failed.
42421         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42423         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42425         * debug/xtrace.sh: Unify messages.
42426         * malloc/memusage.sh: Likewise.
42428         [BZ #12813]
42429         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42430         time symbol from vDSO.  Substitute with vsyscall if not available.
42431         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42432         __vdso_time.
42434         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42435         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42436         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42437         Add sendmmsg and internal_sendmmsg.
42438         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42439         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42440         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42442         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42443         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42444         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42446 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
42448         [BZ #12813]
42449         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42450         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
42451         available.
42452         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42453         __vdso_getcpu.
42455         [BZ #12814]
42456         * iconvdata/Makefile (tests): Add bug-iconv9.
42457         * iconvdata/bug-iconv9.c: New file.
42459 2011-05-27  Andreas Schwab  <schwab@redhat.com>
42461         [BZ #12814]
42462         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42464 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
42466         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42467         (struct user_regs_struct): Change intcs field back to cs.
42469 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
42471         * po/ja.po: Update from translation team.
42473 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
42475         [BZ #12795]
42476         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42477         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42479 2011-05-20  Andreas Schwab  <schwab@redhat.com>
42481         * stdlib/longlong.h: Update from GCC.
42483 2011-05-23  Andreas Schwab  <schwab@redhat.com>
42485         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42486         parameter name.
42487         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42488         Add parameter name.
42489         (__sysconf): Pass it down.
42491 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
42493         [BZ #12671]
42494         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42495         some situations.
42496         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42497         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42498         add in in __libc_use_alloca calls.  Adjust callers.
42499         (glob): Use malloc in some situations.
42501         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42502         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42503         pltexit.
42505 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
42507         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42508         and CLOCK_BOOTTIME_ALARM.
42510         [BZ #12782]
42511         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42512         is returned.
42514         * string/_strerror.c (__strerror_r): Print negative errors as signed
42515         numbers.
42517         [BZ #12777]
42518         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42519         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42520         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42522         * configure.in: Fix typo in redirection and correct removal of test
42523         files in two cases.
42525         [BZ #12788]
42526         * locale/setlocale.c (new_composite_name): Fix test to check for
42527         identical name of all categories.
42529         [BZ #12792]
42530         * libio/filedoalloc.c (local_isatty): New function.
42531         (_IO_file_doallocate): Use local_isatty.
42532         * stdio-common/perror.c (perror): In case a new stream is used
42533         forward the stream error.
42534         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42535         error flag.
42537 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42539         [BZ #11869]
42540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42541         alloca.
42542         * include/alloca.h (extend_alloca_account): Define.
42544         [BZ #11857]
42545         * posix/regex.h: Fix comments with documentation of user-accessible
42546         fields after compilation and describe correct free'ing of pattern
42547         after re_compile_pattern.
42548         Patch by Reuben Thomas <rrt@sc3d.org>.
42550 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42552         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42553         and -mno-altivec to prevent the compiler from using Altivec and/or
42554         VSX instructions when the corresponding registers are not available.
42556 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42558         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42560 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42562         * libio/freopen.c (freopen): Use __dup2, not dup2.
42563         * libio/freopen64.c (freopen64): Likewise.
42565 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42567         [BZ #12775]
42568         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42569         * math/Makefile (tests): Add test-powl.
42570         (CFLAGS-test-powl.c): Define.
42571         * math/test-powl.c: New file.
42573 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42575         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42577 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42579         [BZ #11837]
42580         * iconvdata/gb18030.c: Update to GB18020-2005.
42582 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42584         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42585         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42586         Patch by Aharon Robbins <arnold@skeeve.com>.
42588         [BZ #11892]
42589         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42590         on the stack.
42592         [BZ #11895]
42593         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42594         through underflows.
42596         [BZ #12766]
42597         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42598         point to strings before performing equality test for error_one_per_line
42599         mode.
42601         [BZ #11697]
42602         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42604         [BZ #11820]
42605         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42606         (struct user_fpregs_struct): Avoid __uint*_t types.
42608         [BZ #6420]
42609         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42610         symbol info.  Use it instead of calling _dl_addr locally.
42611         (lock_and_info): New function.
42612         (tr_freehook): Call lock_and_info and pass symbol info as additional
42613         parameter to tr_where.
42614         (tr_mallochook): Likewise.
42615         (tr_reallochook): Likewise.
42616         (tr_memalignhook): Likewise.
42618         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42619         used and couldn't be at all thread-safe.
42621 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42623         * libio/freopen.c (freopen): Don't close old file descriptor
42624         before the new one is opened.  Instead dup the new file descriptor
42625         to the old one after the new stream is created.
42626         * libio/freopen64.c (freopen64): Likewise.
42627         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42628         * libio/fileops.c (_IO_new_file_close_it): Handle new
42629         _IO_FLAGS2_NOCLOSE flag.
42630         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42631         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42632         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42633         _IO_FLAGS2_NOCLOSE flag.
42634         * include/unistd.h: Add hidden_proto for dup3.
42635         Define __have_dup3.
42636         * io/dup3.c: Define hidden symbol.
42637         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42639         [BZ #7101]
42640         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42641         when an incomplete long option is used.
42642         * posix/tst-getopt_long1.c: New file.
42643         * posix/Makefile (tests): Add tst-getopt_long1.
42645         [BZ #10138]
42646         * scripts/config.guess: Update from autoconf-2.68.
42647         * scripts/config.sub: Likewise.
42649         [BZ #10157]
42650         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42651         tests into ...
42652         (has_cpuclock): ...this.  New function.
42653         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42654         macro here based on has_cpuclock code.
42656         [BZ #10149]
42657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42658         First byte (not low byte) is now always NUL.
42659         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42662         Use non-cancelable interfaces.
42664         [BZ #9809]
42665         * locale/iso-639.def: Add entry for Sorani.
42667         [BZ #11901]
42668         * include/stdlib.h: Move include protection to the right place.
42669         Define abort_msg_s.  Declare __abort_msg with it.
42670         * stdlib/abort.c (__abort_msg): Adjust type.
42671         * assert/assert.c (__assert_fail_base): New function.  Majority
42672         of code from __assert_fail.  Allocate memory for __abort_msg with
42673         mmap.
42674         (__assert_fail): Now call __assert_fail_base.
42675         * assert/assert-perr.c: Remove bulk of implementation.  Use
42676         __assert_fail_base.
42677         * include/assert.hL Declare __assert_fail_base.
42678         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42679         mmap.
42680         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42682 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42684         [BZ #11952]
42685         [BZ #12453]
42686         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42687         until all modules are registered in the DTV.
42688         * elf/Makefile: Add rules to build and run tst-tls19.
42689         * elf/tst-tls19.c: New file.
42690         * elf/tst-tls19mod1.c: New file.
42691         * elf/tst-tls19mod2.c: New file.
42692         * elf/tst-tls19mod3.c: New file.
42693         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42695         [BZ #12083]
42696         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42697         correctly.
42699         [BZ #12601]
42700         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42701         two-byte sequence errors.
42702         * iconvdata/Makefile (tests): Add bug-iconv8.
42703         * iconvdata/bug-iconv8.c: New file.
42705         [BZ #12626]
42706         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42707         buf2 definition.
42709         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42711         [BZ #12432]
42712         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42713         (dummy_getcfa): New function.
42714         (init): Get _Unwind_GetCFA address, use dummy if not found.
42715         (backtrace_helper): In recursion check, also check whether CFA changes.
42716         (__backtrace): Completely initialize arg.
42718         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42719         storing incomplete byte sequence in state object.  Avoid testing for
42720         guaranteed too small input if we know there is enough data available.
42722 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42724         * Makeconfig (+link-pie): Indent.
42725         * Rules (binaries-pie): Define if $(have-fpie) and
42726         $(build-shared).
42727         (binaries-shared): Also filter out $(binaries-pie).
42728         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42729         * nscd/Makefile (others-pie): Add nscd.
42730         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42731         ($(objpfx)nscd): Remove command override.
42732         * login/Makefile (others-pie): Add pt_chown.
42733         ($(objpfx)pt_chown): Remove command override.
42734         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42735         remove command overrides.
42737 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42739         * libio/tst_putwc.c: Fix error messages.
42741         [BZ #12724]
42742         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42743         currently writing and seek to current position when not.
42744         * libio/Makefile (tests): Add bug-fclose1.
42745         * libio/bug-fclose1.c: New file.
42747 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42749         [BZ #12511]
42750         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42751         don't set DF_1_NODELETE here.
42752         (do_lookup_x): When entering new entry test for copy relocation
42753         and if necessary set DF_1_NODELETE flag.
42754         * elf/tst-unique4.cc: New file.
42755         * elf/tst-unique4.h: New file.
42756         * elf/tst-unique4lib.cc: New file.
42757         * elf/Makefile: Add rules to build and run tst-unique4.
42758         Patch by Piotr Bury <pbury@goahead.com>.
42760 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42762         [BZ #12052]
42763         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42765         [BZ #12625]
42766         * misc/mntent_r.c (addmntent): Flush the stream after the output
42768         [BZ #12393]
42769         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42770         (is_trusted_path_normalize): Skip initial colon.  Append slash
42771         to empty buffer.  Duplicate is_trusted_path code but allow
42772         constructed patch to be prefix.
42773         (is_dst): Allow $ORIGIN followed by /.
42774         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42775         Correct testing of result of is_trusted_path_normalize
42776         (decompose_rpath): Fix warning.
42778 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42780         [BZ #11257]
42781         * grp/initgroups.c (internal_getgrouplist): When we found the service
42782         list through the initgroups entry in nsswitch.conf do not always
42783         continue on a successful lookup.  Don't always use the
42784         __nss_group_database value if it is set.
42785         * nss/nsswitch.conf (initgroups): Change action for successful db
42786         lookup to continue for compatibility.
42788 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42790         [BZ #11532]
42791         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42792         and CP774 modules.
42793         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42794         and CP774 modules.
42795         * iconvdata/tst-tables.sh: Likewise.
42796         * iconvdata/cp770.c: New file.
42797         * iconvdata/cp771.c: New file.
42798         * iconvdata/cp772.c: New file.
42799         * iconvdata/cp773.c: New file.
42800         * iconvdata/cp774.c: New file.
42801         * iconvdata/testdata/CP770: New file.
42802         * iconvdata/testdata/CP770..UTF8: New file.
42803         * iconvdata/testdata/CP771: New file.
42804         * iconvdata/testdata/CP771..UTF8: New file.
42805         * iconvdata/testdata/CP772: New file.
42806         * iconvdata/testdata/CP772..UTF8: New file.
42807         * iconvdata/testdata/CP773: New file.
42808         * iconvdata/testdata/CP773..UTF8: New file.
42809         * iconvdata/testdata/CP774: New file.
42810         * iconvdata/testdata/CP774..UTF8: New file.
42812         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42813         END CHARMAP line.
42814         * iconvdata/gen-8bit-gap.sh: Likewise.
42815         * iconvdata/gen-8bit.sh: Likewise.
42817         * locale/iso-639.def: Add ary entry.
42819         [BZ #11258]
42820         * locale/C-translit.h.in: Add U20A1 transliteration.
42822         [BZ #12178]
42823         * locale/iso-639.def: Add wae entry.
42824         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42826         [BZ #12545]
42827         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42828         for n.
42830         [BZ #12711]
42831         * locale/C-translit.h.in: Add entry for U20B9.
42832         Patch by pravin.d.s@gmail.com.
42834 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42836         [BZ #12713]
42837         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42838         ENAMETOOLONG use generic getcwd.
42839         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42840         in rtld.  Use *stat64.
42841         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42842         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42843         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42844         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42845         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42846         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42847         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42848         __fstatat64 macros.
42849         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42850         * dirent/rewinddir.c: Add libc_hidden_def.
42851         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42852         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42854         * include/dirent.h (__alloc_dir): Add flags parameter.
42855         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42856         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42857         __alloc_dir.
42858         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42859         from fdopendir if O_CLOEXEC is already set.
42861 2011-03-15  Alan Modra  <amodra@gmail.com>
42863         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42864         l_tls_firstbyte_offset non-zero.  Save padding offset in
42865         l_tls_firstbyte_offset for later use.
42866         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42867         freeing static tls block.
42869 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42871         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42872         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42873         being defined by the kernel headers.
42875 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42877         [BZ #12734]
42878         * resolv/resolv.h: Define RES_NOTLDQUERY.
42879         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42880         no-tld-query and set RES_NOTLDQUERY.
42881         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42882         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42883         modern BIND to search name as TLD unless forbidden.
42885 2011-05-07  Petr Baudis  <pasky@suse.cz>
42886             Ulrich Drepper  <drepper@gmail.com>
42888         [BZ #12393]
42889         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42890         (is_trusted_path): ...to here.
42891         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42892         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42893         using is_trusted_path_normalize() in setuid scripts.
42895 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42897         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42898         __BEGIN/__END_DECLS.
42900 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42902         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42903         NSS_STATUS_NOTFOUND if no record was found.
42905 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42907         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42908         (headers-not-in-tirpc): Remove rpc/netdb.h
42909         * resolv/netdb.h: Revert last change.
42911 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42913         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42914         circular dependency between libgcc.a and libc.a.
42916 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42918         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42919         * nis/Makefile: Don't install rpcsvc/*.
42920         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42921         instead of <rpc/types.h>.
42922         (MAXHOSTNAMELEN): Define.
42924 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42926         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42928 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42930         [BZ #12714]
42931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42932         gethostbyname4_r when IPv6 results are possible.
42934 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
42936         [BZ #12723]
42937         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42938         _PC_PIPE_BUF handling.
42940 2011-04-30  Bruno Haible  <bruno@clisp.org>
42942         [BZ #12717]
42943         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42944         * resolv/netdb.h (getnameinfo): Change type of flags parameter
42945         to 'int'.
42946         * inet/getnameinfo.c (getnameinfo): Likewise.
42948 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
42950         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42951         to groups setting in database lookup.
42952         * nss/nsswitch.conf: Add initgroups entry.
42954 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
42956         [BZ #12685]
42957         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42958         mode string.
42959         Patch by Eric Blake <eblake@redhat.com>.
42961 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
42963         * sunrpc/Makefile (need-export-routines): Add svc_run.
42964         (routines): Remove svc_run.
42965         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42966         * sunrpc/clnt_perr.c (clnt_perrno): Export.
42967         * sunrpc/svc_run.c (svc_run): Likewise.
42968         * sunrpc/svc_udp.c (svcudp_create): Likewise.
42970 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
42972         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42973         problem in reallocation in last patch.
42975 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
42977         * sunrpc/Makefile: Move inclusion of Rules.
42979 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42981         * nss/nss_files/files-initgroups.c: New file.
42982         * nss/Makefile (libnss_files-routines): Add files-initgroups.
42983         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42984         _nss_files_initgroups_dyn.
42986 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
42988         * elf/elf.h (R_ARM_IRELATIVE): Define.
42990 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42992         * po/ru.po: Update from translation team.
42994 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42996         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42997         dependencies.
42999 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
43001         [BZ #12653]
43002         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43003         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43004         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43005         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43008 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
43010         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43011         differing bytes.
43012         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43013         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43014         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43016 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43018         [BZ #12420]
43019         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43020         storing it.
43021         * stdlib/bug-getcontext.c: New file.
43022         * stdlib/Makefile: Add rules to build and run bug-getcontext.
43024 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43026         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43027         instructions into .machine "z9-109".
43028         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43029         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43031 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43033         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43034         between environment variables and auxiliary vector.
43036 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
43038         * Makefile: Add rules to build linkobj/libc.so.
43039         * include/libc-symbols.h: Define libc_hidden_nolink.
43040         * include/rpc/auth.h: Mark functions which are to be hidden.
43041         * include/rpc/auth_des.h: Likewise.
43042         * include/rpc/auth_unix.h: Likewise.
43043         * include/rpc/clnt.h: Likewise.
43044         * include/rpc/des_crypt.h: Likewise.
43045         * include/rpc/key_prot.h: Likewise.
43046         * include/rpc/pmap_clnt.h: Likewise.
43047         * include/rpc/pmap_prot.h: Likewise.
43048         * include/rpc/pmap_rmt.h: Likewise.
43049         * include/rpc/rpc_msg.h: Likewise.
43050         * include/rpc/svc.h: Likewise.
43051         * include/rpc/svc_auth.h: Likewise.
43052         * include/rpc/xdr.h: Likewise.
43053         * nis/Makefile: Link all DSOs against linkobj/libc.so.
43054         * nss/Makefile: Likewise.
43055         * sunrpc/Makefile: Don't install headers.  Build library with normal
43056         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
43057         * sunrpc/auth_des.c: Hide exported symbols by default, export some
43058         for the compat linking library.  Remove use of INTDEF/INTUSE.
43059         * sunrpc/auth_none.c: Likewise.
43060         * sunrpc/auth_unix.c: Likewise.
43061         * sunrpc/authdes_prot.c: Likewise.
43062         * sunrpc/authuxprot.c: Likewise.
43063         * sunrpc/clnt_gen.c: Likewise.
43064         * sunrpc/clnt_perr.c: Likewise.
43065         * sunrpc/clnt_raw.c: Likewise.
43066         * sunrpc/clnt_simp.c: Likewise.
43067         * sunrpc/clnt_tcp.c: Likewise.
43068         * sunrpc/clnt_udp.c: Likewise.
43069         * sunrpc/clnt_unix.c: Likewise.
43070         * sunrpc/des_crypt.c: Likewise.
43071         * sunrpc/des_soft.c: Likewise.
43072         * sunrpc/get_myaddr.c: Likewise.
43073         * sunrpc/key_call.c: Likewise.
43074         * sunrpc/key_prot.c: Likewise.
43075         * sunrpc/netname.c: Likewise.
43076         * sunrpc/pm_getmaps.c: Likewise.
43077         * sunrpc/pm_getport.c: Likewise.
43078         * sunrpc/pmap_clnt.c: Likewise.
43079         * sunrpc/pmap_prot.c: Likewise.
43080         * sunrpc/pmap_prot2.c: Likewise.
43081         * sunrpc/pmap_rmt.c: Likewise.
43082         * sunrpc/publickey.c: Likewise.
43083         * sunrpc/rpc_cmsg.c: Likewise.
43084         * sunrpc/rpc_common.c: Likewise.
43085         * sunrpc/rpc_dtable.c: Likewise.
43086         * sunrpc/rpc_prot.c: Likewise.
43087         * sunrpc/rpc_thread.c: Likewise.
43088         * sunrpc/rtime.c: Likewise.
43089         * sunrpc/svc.c: Likewise.
43090         * sunrpc/svc_auth.c: Likewise.
43091         * sunrpc/svc_authux.c: Likewise.
43092         * sunrpc/svc_raw.c: Likewise.
43093         * sunrpc/svc_run.c: Likewise.
43094         * sunrpc/svc_simple.c: Likewise.
43095         * sunrpc/svc_tcp.c: Likewise.
43096         * sunrpc/svc_udp.c: Likewise.
43097         * sunrpc/svc_unix.c: Likewise.
43098         * sunrpc/svcauth_des.c: Likewise.
43099         * sunrpc/xcrypt.c: Likewise.
43100         * sunrpc/xdr.c: Likewise.
43101         * sunrpc/xdr_array.c: Likewise.
43102         * sunrpc/xdr_float.c: Likewise.
43103         * sunrpc/xdr_intXX_t.c: Likewise.
43104         * sunrpc/xdr_mem.c: Likewise.
43105         * sunrpc/xdr_rec.c: Likewise.
43106         * sunrpc/xdr_ref.c: Likewise.
43107         * sunrpc/xdr_sizeof.c: Likewise.
43108         * sunrpc/xdr_stdio.c: Likewise.
43110 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
43112         [BZ #12650]
43113         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43114         * sysdeps/ia64/dl-tls.h: Likewise.
43115         * sysdeps/powerpc/dl-tls.h: Likewise.
43116         * sysdeps/s390/dl-tls.h: Likewise.
43117         * sysdeps/sh/dl-tls.h: Likewise.
43118         * sysdeps/sparc/dl-tls.h: Likewise.
43119         * sysdeps/x86_64/dl-tls.h: Likewise.
43120         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43122 2011-03-14  Andreas Schwab  <schwab@redhat.com>
43124         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43125         rpath element also skip the following colon.
43126         (expand_dynamic_string_token): Add is_path parameter and pass
43127         down to DL_DST_REQUIRED and _dl_dst_substitute.
43128         (decompose_rpath): Call expand_dynamic_string_token with
43129         non-zero is_path.  Ignore empty rpaths.
43130         (_dl_map_object_from_fd): Call expand_dynamic_string_token
43131         with zero is_path.
43133 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
43135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43136         Make cancelable.
43138 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
43140         [BZ #12655]
43141         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43142         Patch by Filipe David Manana <fdmanana@apache.org>.
43144 2011-04-07  Andreas Schwab  <schwab@redhat.com>
43146         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43147         Maintain aligned stack.
43148         (CHECK_RSP): Remove unused macro.
43150 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
43152         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43153         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43155 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
43157         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43159         * include/features.h: Mention __USE_XOPEN2K8 in comment.
43161 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
43163         [BZ #12518]
43164         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43165         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43166         * sysdeps/x86_64/memmove.c: New file.
43167         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43168         (memcpy): Renamed to ...
43169         (__new_memcpy): This.
43170         (memcpy): Provide GLIBC_2_14 memcpy.
43171         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43172         (memcpy): Provide GLIBC_2_2_5 memcpy.
43174 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43176         [BZ #12631]
43177         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43179 2011-03-30  Andreas Schwab  <schwab@redhat.com>
43181         * misc/syncfs.c: New file.
43182         * misc/Makefile (routines): Add syncfs.
43183         * posix/unistd.h: Declare syncfs.
43184         * sysdeps/unix/syscalls.list: Add syncfs.
43186 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43188         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43189         open_by_handle_at.
43190         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43191         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43192         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43193         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43194         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43195         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43196         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43198 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43200         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43201         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43202         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43204         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43205         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43206         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43208         * io/Makefile: Compile fallocate.c, fallocate64.c, and
43209         sync_file_range.c with -fexceptions.
43210         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43211         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43212         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43213         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43214         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43215         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43216         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43217         sync_file_range as cancellation point
43218         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
43219         now a wrapper around __call_sync_file_range with cancellation handling.
43220         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43221         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
43222         function name to __call_sync_file_range.
43223         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43224         Add call_sync_file_range.
43226 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43229         bits/timex.h.
43231 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43233         * iconv/iconv.h: Fix typo in comment.
43234         * io/fcntl.h: Likewise.
43235         * libio/stdio.h: Likewise.
43236         * posix/spawn.h: Likewise.
43237         * posix/unistd.h: Likewise.
43238         * stdlib/stdlib.h: Likewise.
43239         * time/time.h: Likewise.
43240         * wcsmbs/wchar.h: Likewise.
43242         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43243         open_by_handle): Add.
43244         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43245         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
43246         Augment a few comments.
43247         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43248         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43249         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43250         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43251         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43252         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43253         open_by_handle.
43255         * io/fcntl.h (AT_EMPTY_PATH): Define.
43257 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
43259         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43260         * sysdeps/unix/sysv/linux/bits/time.h: New file.
43261         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43262         to...
43263         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
43264         * Versions.def: Add GLIBC_2.14.
43265         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43266         Export.
43268 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
43270         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43271         round counter.
43272         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43274 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43276         [BZ #12597]
43277         * string/test-strncmp.c (do_page_test): New function.
43278         (check2): Likewise.
43279         (test_main): Call check2.
43280         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43282 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
43284         [BZ #12587]
43285         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43286         Handle cache information in CPU leaf 4.
43287         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43289 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
43291         [BZ #12583]
43292         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43293         character representation.
43294         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43296 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
43298         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43299         END(__isnan) to END(__isnanf) to match function entry point/label
43300         EALIGN(__isnanf,...).
43302 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
43304         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43306 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
43308         [BZ #12510]
43309         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43310         copy from the symbol referenced in the relocation to initialize the
43311         used variable.
43312         Patch by Piotr Bury <pbury@goahead.com>.
43313         * elf/Makefile: Add rules to build and tst-unique3.
43314         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43315         * elf/tst-unique3.cc: New file.
43316         * elf/tst-unique3.h: New file.
43317         * elf/tst-unique3lib.cc: New file.
43318         * elf/tst-unique3lib2.cc: New file.
43320         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43322 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
43324         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43325         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
43326         to _start.
43328 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
43330         * elf/dl-load.c (_dl_map_object): If we are looking for the first
43331         to-be-loaded object along a path to loader is ld.so.
43333 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43334             Ulrich Drepper  <drepper@gmail.com>
43336         * sysdeps/x86_64/memset.S: After aligning destination, code
43337         branches to different locations depending on the value of
43338         misalignment, when multiarch is enabled. Fix this.
43340 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43342         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43343         Set _x86_64_preferred_memory_instruction for AMD processsors.
43344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43345         Set bit_Prefer_SSE_for_memop for AMD processors.
43347 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
43349         * libio/fmemopen.c (fmemopen): Optimize a bit.
43351 2011-03-03  Andreas Schwab  <schwab@redhat.com>
43353         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43355 2011-03-03  Roland McGrath  <roland@redhat.com>
43357         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43359 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
43361         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43362         __bzero_ultra1 instead of __memset_ultra1.
43364 2011-02-23  Andreas Schwab  <schwab@redhat.com>
43365             Ulrich Drepper  <drepper@gmail.com>
43367         [BZ #12509]
43368         * include/link.h (struct link_map): Add l_orig_initfini.
43369         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43370         returning unsuccessfully.
43371         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43372         close of a file loaded at startup, restore the original l_initfini
43373         list.
43374         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43375         list, store the pointer.
43376         * elf/Makefile ($(objpfx)noload-mem): New rule.
43377         (noload-ENV): Define.
43378         (tests): Add $(objpfx)noload-mem.
43379         * elf/noload.c: Include <memcheck.h>.
43380         (main): Call mtrace.  Close all opened handles.
43382 2011-02-17  Andreas Schwab  <schwab@redhat.com>
43384         [BZ #12454]
43385         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43386         dependencies are missing.
43388 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43390         Fix __if_freereq crash: Unlike the generic version which uses free,
43391         Hurd needs munmap.
43392         * sysdeps/mach/hurd/ifreq.h: New file.
43394 2011-01-27  Petr Baudis  <pasky@suse.cz>
43395             Ulrich Drepper  <drepper@gmail.com>
43397         [BZ 12445]#
43398         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43399         to extend_alloca().
43400         * stdio-common/bug23.c: New file.
43401         * stdio-common/Makefile (tests): Add bug23.
43403 2010-09-28  Andreas Schwab  <schwab@redhat.com>
43404             Ulrich Drepper  <drepper@gmail.com>
43406         [BZ #12489]
43407         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43408         before performing relro protection.  At old place add assertion
43409         to make sure nothing changed.
43411 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
43412             Glauber de Oliveira Costa  <glommer@gmail.com>
43414         * elf/elf.h: Add new ARM TLS relocs.
43416 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
43418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43419         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43420         cast from r3.
43421         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
43422         'tests' variable.
43423         * sysdeps/wordsize-64/tst-writev.c: New file.
43425 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
43427         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43428         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43429         insns in _dl_start to prevent a TOC reference before relocs are
43430         resolved.
43432 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
43434         [BZ #12469]
43435         * Makeconfig: Remove RANLIB definition.
43436         * Makerules: Don't use RANLIB.
43437         * aclocal.m4: Remove ranlib test.
43438         * configure.in: No need to check for ranlib.
43439         * elf/rtld-Rules: Don't use RANLIB.
43441 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43443         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43444         protection macro.
43445         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43446         inclusion protection macro.
43448         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43449         SIGRTMIN and SIGRTMAX and print information in that case only when
43450         SIGRTMIN is defined.
43452 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
43454         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43455         arginfo fn returning -1.
43457         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43458         and thousands string is zero terminated.
43460 2011-02-03  Andreas Schwab  <schwab@redhat.com>
43462         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43463         sysdeps/unix/sysv/linux/bits/socket.h.
43465 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43467         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43468         (__CPU_COUNT): Remove old macros.
43469         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43470         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43471         (__CPU_ALLOC, __CPU_FREE): Add macros.
43472         (__sched_cpualloc, __sched_cpufree): Add declarations.
43474 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
43476         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43477         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43478         * nscd/aicache.c (addhstaiX): Return timeout of added value.
43479         (readdhstai): Return value of addhstaiX call.
43480         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43481         (addgrbyX): Return value returned by cache_addgr.
43482         (readdgrbyname): Return value returned by addgrbyX.
43483         (readdgrbygid): Likewise.
43484         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43485         (addpwbyX): Return value returned by cache_addpw.
43486         (readdpwbyname): Return value returned by addhstbyX.
43487         (readdpwbyuid): Likewise.
43488         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43489         (addservbyX): Return value returned by cache_addserv.
43490         (readdservbyname): Return value returned by addservbyX:
43491         (readdservbyport): Likewise.
43492         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43493         (addhstbyX): Return value returned by cache_addhst.
43494         (readdhstbyname): Return value returned by addhstbyX.
43495         (readdhstbyaddr): Likewise.
43496         (readdhstbynamev6): Likewise.
43497         (readdhstbyaddrv6): Likewise.
43498         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43499         (readdinitgroups): Return value returned by addinitgroupsX.
43500         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43501         (prune_cache): Keep track of timeout value of re-added entries.
43502         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43503         * nscd/nscd.h: Adjust prototypes of readd* functions.
43505 2011-02-04  Roland McGrath  <roland@redhat.com>
43507         * nis/nis_server.c (nis_servstate): Use the right name for 0.
43508         (nis_stats): Likewise.
43509         * nis/nis_modify.c (nis_modify): Likewise.
43510         * nis/nis_remove.c (nis_remove): Likewise.
43511         * nis/nis_add.c (nis_add): Likewise.
43513         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43515         * posix/fnmatch_loop.c: Add some consts.
43517         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43519 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43521         [BZ #12460]
43522         * config.make.in (config-cflags-novzeroupper): Define.
43523         * configure.in: Substitute libc_cv_cc_novzeroupper.
43524         * elf/Makefile (AVX-CFLAGS): Define.
43525         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43526         (CFLAGS-tst-auditmod4a.c): Likewise.
43527         (CFLAGS-tst-auditmod4b.c): Likewise.
43528         (CFLAGS-tst-auditmod6b.c): Likewise.
43529         (CFLAGS-tst-auditmod6c.c): Likewise.
43530         (CFLAGS-tst-auditmod7b.c): Likewise.
43531         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43533 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43535         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43536         function to the callback.
43537         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43539 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43541         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43542         of errno.
43544 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43546         [BZ #11724]
43547         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43548         of constructors.
43549         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43550         of destructors.
43551         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43553         [BZ #11724]
43554         * elf/Makefile: Add rules to build and run new test.
43555         * elf/tst-initorder.c: New file.
43556         * elf/tst-initorder.exp: New file.
43557         * elf/tst-initordera1.c: New file.
43558         * elf/tst-initordera2.c: New file.
43559         * elf/tst-initordera3.c: New file.
43560         * elf/tst-initordera4.c: New file.
43561         * elf/tst-initorderb1.c: New file.
43562         * elf/tst-initorderb2.c: New file.
43563         * elf/tst-order-a1.c: New file.
43564         * elf/tst-order-a2.c: New file.
43565         * elf/tst-order-a3.c: New file.
43566         * elf/tst-order-a4.c: New file.
43567         * elf/tst-order-b1.c: New file.
43568         * elf/tst-order-b2.c: New file.
43569         * elf/tst-order-main.c: New file.
43570         New test case by George Gensure <werkt0@gmail.com>.
43572 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43575         decoding ACE if AI_CANONIDN.
43577 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43579         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43581 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43583         * version.h (RELEASE): Bump for 2.13 release.
43584         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43586         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43588         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43589         MADV_NOHUGEPAGE.
43590         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43591         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43592         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43593         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43594         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43595         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43597         * posix/getconf.c: Update copyright year.
43598         * catgets/gencat.c: Likewise.
43599         * csu/version.c: Likewise.
43600         * debug/catchsegv.sh: Likewise.
43601         * debug/xtrace.sh: Likewise.
43602         * elf/ldconfig.c: Likewise.
43603         * elf/ldd.bash.in: Likewise.
43604         * elf/sprof.c (print_version): Likewise.
43605         * iconv/iconv_prog.c: Likewise.
43606         * iconv/iconvconfig.c: Likewise.
43607         * locale/programs/locale.c: Likewise.
43608         * locale/programs/localedef.c: Likewise.
43609         * malloc/memusage.sh: Likewise.
43610         * malloc/mtrace.pl: Likewise.
43611         * nscd/nscd.c (print_version): Likewise.
43612         * nss/getent.c: Likewise.
43614         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43615         PF_CAIF, and PF_ALG.
43616         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43618 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43620         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43621         (modules-names): Use them.
43622         (ifunc-test-modules, ifunc-pie-tests): Define.
43623         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43624         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43625         (test-extras): Likewise.
43626         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43627         $(compile-command.c).
43628         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43629         (all-built-dso): Define.
43630         (check-textrel.out, check-execstack.out): Depend on it.
43632         * configure.in: Don't override --enable-multi-arch.
43634 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43636         [BZ #6812]
43637         * nscd/hstcache.c (tryagain): Define.
43638         (cache_addhst): Return tryagain not notfound for temporary errors.
43639         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43640         failed.
43642 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43644         [BZ #10563]
43645         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43646         to make the syscall.
43647         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43649         [BZ #12378]
43650         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43651         and fall back to matching as normal character if the string ends before
43652         the matching ']' is found.  This is what POSIX requires.
43653         * posix/testfnm.c: Adjust test result.
43654         * posix/globtest.sh: Adjust test result.  Add new test.
43655         * posix/tst-fnmatch.input: Likewise.
43656         * posix/tst-fnmatch2.c: Add new test.
43658 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43660         * elf/Makefile (check-execstack): Revert last change.  Depend on
43661         check-execstack.h.
43662         (check-execstack.h): New target.
43663         (generated): Add check-execstack.h.
43664         * elf/check-execstack.c: Include "check-execstack.h".
43665         (main): Revert last change.
43666         (handle_file): Return zero if GNU_STACK is absent and
43667         DEFAULT_STACK_PERMS doesn't include PF_X.
43669 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43671         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43672         in child fails because the descriptor is already closed.
43673         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43674         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43675         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43677         [BZ #12397]
43678         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43679         syscall.
43681         [BZ #10484]
43682         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43683         temporary buffer used to handle multi lookups locally.
43684         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43686 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43688         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43689         loader is ld.so.
43691 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43693         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43694         alignment for SSE2.
43696 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43698         [BZ #12394]
43699         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43700         characters.  When rounding increased number of integer digits recompute
43701         number of groups.
43702         * stdio-common/tst-grouping.c: New file.
43703         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43705 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43707         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43708         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43710         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43711         void.
43712         * bits/select.h: Likewise.
43714 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43716         * po/ja.po: Update from translation team.
43718 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43720         [BZ #11155]
43721         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43722         implementation just like for lxstat, fxstatat, et al.
43724 2010-12-27  Jim Meyering  <meyering@redhat.com>
43726         [BZ #12348]
43727         * posix/regexec.c (build_trtable): Return failure indication upon
43728         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43730 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43732         [BZ #12201]
43733         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43734         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43735         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43736         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43738         [BZ #12207]
43739         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43741         [BZ #12204]
43742         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43743         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43745 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43747         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43748         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43749         script has SORT_BY_INIT_PRIORITY.
43750         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43751         NO_CTORS_DTORS_SECTIONS is defined.
43752         * elf/soinit.c: Likewise.
43753         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43754         NO_CTORS_DTORS_SECTIONS is defined.
43755         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43756         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43757         * sysdeps/sh/init-first.c: Likewise.
43758         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43760 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43762         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43763         always use the slow path.
43765 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43767         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43768         similar rule which adds the sysdep directories to the header search in
43769         order to pick up the correct platform stackinfo.h.
43770         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43771         perform test if it is, otherwise return successfully without testing.
43772         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43773         DEFAULT_STACK_PERMS define in stackinfo.h.
43774         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43775         defined in stackinfo.h.
43776         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43777         DEFAULT_STACK_PERMS defined in stackinfo.h.
43778         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43779         * sysdeps/ia64/stackinfo.h: Likewise.
43780         * sysdeps/s390/stackinfo.h: Likewise.
43781         * sysdeps/sh/stackinfo.h: Likewise.
43782         * sysdeps/sparc/stackinfo.h: Likewise.
43783         * sysdeps/x86_64/stackinfo.h: Likewise.
43784         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43785         PF_X for powerpc64.  Retain PF_X for powerpc32.
43787 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43789         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43790         accurately.
43791         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43792         GETDENTS_64BIT_ALIGNED.
43794 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43796         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43798 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43800         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43801         _GNU_SOURCE.
43803         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43804         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43805         Remove __restrict.
43806         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43807         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43809 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43811         [BZ #11655]
43812         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43813         are initialized.
43815 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43817         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43819 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43821         * po/it.po: Update from translation team.
43823 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43825         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43826         unused codes.
43828 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43830         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43832 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43834         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43835         specially.
43836         (gaih_getanswer_slice): Likewise.
43838 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43842 2010-05-31  Petr Baudis  <pasky@suse.cz>
43844         [BZ #11149]
43845         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43846         silently even in the chroot mode.
43848 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43850         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43851         last patch a bit.  Pretty printing
43853 2010-05-31  Petr Baudis <pasky@suse.cz>
43855         [BZ #10085]
43856         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43857         initialization of skip_initgroups_dyn.
43859 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43861         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43862         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43864 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43866         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43868 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43870         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43871         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43872         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43873         ($(objpfx)tst-fnmatch-mem): New rule.
43874         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43875         * posix/tst-fnmatch.c (main): Call mtrace.
43877 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43879         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43880         Support Intel processor model 6 and model 0x2c.
43882 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43884         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43885           signed comparison.
43887 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43889         [BZ #12205]
43890         * string/test-strncasecmp.c (check_result): New function.
43891         (do_one_test): Use it.
43892         (check1): New function.
43893         (test_main): Use it.
43894         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43895         Support strcasecmp and strncasecmp.
43897 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43899         [BZ #12194]
43900         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43901         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43903 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43905         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43906         IFUNC support.
43907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43908         memset-x86-64.
43909         * sysdeps/x86_64/multiarch/bzero.S: New file.
43910         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43911         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43912         * sysdeps/x86_64/multiarch/memset.S: New file.
43913         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43915         Set bit_Prefer_SSE_for_memop for Intel processors.
43916         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43917         Define.
43918         (index_Prefer_SSE_for_memop): Define.
43919         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43921 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43923         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43926 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43928         [BZ #12191]
43929         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43930         (__x86_64_raw_data_cache_size_half): Likewise.
43931         (__x86_64_raw_shared_cache_size): Likewise.
43932         (__x86_64_raw_shared_cache_size_half): Likewise.
43934         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43935         (__x86_64_raw_data_cache_size_half): Likewise.
43936         (__x86_64_raw_shared_cache_size): Likewise.
43937         (__x86_64_raw_shared_cache_size_half): Likewise.
43938         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43939         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43940         and __x86_64_raw_shared_cache_size_half.  Round
43941         __x86_64_data_cache_size_half, __x86_64_data_cache_size
43942         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43943         to multiple of 256 bytes.
43945 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
43947         [BZ #12167]
43948         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43949         of inacessible symlinks.  Verify result of symlink before returning it.
43950         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43951         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43953 2010-10-28  Erich Ritz  <erichritz@gmail.com>
43955         * math/math.h (isinf): Fix typo in comment.
43957 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
43959         * po/da.po: Update from translation team.
43961 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
43963         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43964         is added to the list.
43966 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43967             Ulrich Drepper  <drepper@gmail.com>
43969         * elf/dl-object.c (_dl_new_object): Don't append the new object to
43970         the global list here.  Move code to...
43971         (_dl_add_to_namespace_list): ...here.  New function.
43972         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43973         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43974         * elf/dl-load.c (lose): Don't remove the element from the list.
43975         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43976         (_dl_map_object): Likewise.
43978 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
43980         [BZ #12159]
43981         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43982         into all bytes of SSE register.
43983         Patch by Richard Li <richardpku@gmail.com>.
43985 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
43987         [BZ #12140]
43988         * malloc/malloc.c (_int_free): Fill correct number of bytes when
43989         perturbing.
43991 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
43993         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43994         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43995         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43996         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43998         submachine.
43999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44001 2010-10-22  Andreas Schwab  <schwab@redhat.com>
44003         * include/dlfcn.h (__RTLD_SECURE): Define.
44004         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
44005         mode & __RTLD_SECURE instead.
44006         (open_path): Rename preloaded parameter to secure.
44007         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44008         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44009         * elf/dl-deps.c (openaux): Likewise.
44010         * elf/rtld.c (struct map_args): Remove is_preloaded.
44011         (map_doit): Don't use it.
44012         (dl_main): Likewise.
44013         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44014         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44016 2010-09-09  Andreas Schwab  <schwab@redhat.com>
44018         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44019         (sysd-rules-targets): Remove duplicates.
44020         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44021         rtld-%.$o dependency.
44023 2010-10-18  Andreas Schwab  <schwab@redhat.com>
44025         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44026         _dl_map_object do it.
44028 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
44030         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44031         fast fma builtins, define the macros in the C99 standard.
44032         (FP_FAST_FMAF): Likewise.
44033         (FP_FAST_FMAL): Likewise.
44034         * sysdeps/x86_64/bits/mathdef.h: Likewise.
44036         * bits/mathdef.h: Update copyright year.
44037         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44039 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
44041         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44042         builtins, define the macros in the C99 standard.
44043         (FP_FAST_FMAF): Likewise.
44044         (FP_FAST_FMAL): Likewise.
44045         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44046         multiply/add.
44047         (FP_FAST_FMAF): Likewise.
44049 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
44051         [BZ #3268]
44052         * math/libm-test.inc (fma_test): Some new testcases.
44053         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44054         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44055         y and infinite z.  Do multiplication by C already in long double.
44056         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44058         y and infinite z.  Do bitwise or of inexact bit into u.d.
44059         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44060         * sysdeps/i386/fpu/s_fmaf.S: Removed.
44061         * sysdeps/i386/fpu/s_fma.S: Removed.
44062         * sysdeps/i386/fpu/s_fmal.S: Removed.
44064 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
44066         [BZ #3268]
44067         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44068         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44069         computation is not scheduled after fetestexcept.  Fix value
44070         of minimum denormal long double.
44072 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
44074         [BZ #3268]
44075         * math/libm-test.inc (fma_test): Add some more tests.
44076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44077         correctly.
44079 2010-10-15  Andreas Schwab  <schwab@redhat.com>
44081         * scripts/data/localplt-s390-linux-gnu.data: New file.
44082         * scripts/data/localplt-s390x-linux-gnu.data: New file.
44084 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
44086         [BZ #3268]
44087         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44088         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44089         instead of dbl-64.
44090         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44091         inlines.
44092         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44094         if one of x and y is very large and the other is subnormal.
44095         * sysdeps/s390/fpu/s_fmaf.c: New file.
44096         * sysdeps/s390/fpu/s_fma.c: New file.
44097         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44098         * sysdeps/powerpc/fpu/s_fma.S: New file.
44099         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44100         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44101         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44103 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
44105         [BZ #3268]
44106         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44107         fma tests.
44108         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44109         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44110         * sysdeps/i386/i686/multiarch/s_fma.c: Include
44111         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44112         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44113         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44114         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44116 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
44118         [BZ #12078]
44119         * posix/regcomp.c (parse_branch): One more memory leak plugged.
44120         * posix/bug-regex31.input: Add test case.
44122 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44124         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44125         * posix/bug-regex31.input: New file.
44127         [BZ #12078]
44128         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44129         (parse_sub_exp): Fix last change, use postorder.
44131         * posix/bug-regex31.c: New file.
44132         * posix/Makefile: Add rules to build and run bug-regex31.
44134         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44136         [BZ #12078]
44137         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44139         [BZ #12108]
44140         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44141         to have entries in sys_siglist.
44143         [BZ #12093]
44144         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44145         be NULL.
44147 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
44149         [BZ #3268]
44150         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44151         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44152         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44153         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44154         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44155         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44156         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44157         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44158         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44159         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44160         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44161         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44162         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44163         * math/ftestexcept.c (fetestexcept): Likewise.
44164         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44165         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44166         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44167         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44168         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44169         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44170         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44172 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44174         [BZ #12107]
44175         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44176         newline.
44178 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
44180         * string/bug-strstr1.c: New file.
44181         * string/Makefile: Add rules to build and run bug-strstr1.
44183 2010-10-05  Eric Blake  <eblake@redhat.com>
44185         [BZ #12092]
44186         * string/str-two-way.h (two_way_long_needle): Always clear memory
44187         when skipping input due to the shift table.
44189 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
44191         [BZ #12005]
44192         * malloc/mcheck.c: Handle large requests.
44194         [BZ #12077]
44195         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44196         for strncmp and strncasecmp.
44197         * string/stratcliff.c: Add tests for strcmp and strncmp.
44198         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44200 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44202         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44203         __set_fpscr.
44205 2010-09-30  Andreas Jaeger  <aj@suse.de>
44207         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44208         (CGROUP_SUPER_MAGIC): Define.
44209         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44210         Handle btrfs and cgroup file systems.
44211         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44212         Likewise.
44214 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
44216         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44217         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44219 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44221         [BZ #12067]
44222         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44223         trying to locate the ELF header.
44225 2010-09-27  Andreas Schwab  <schwab@redhat.com>
44227         [BZ #11611]
44228         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44229         Mask out sign-bit copies when constructing f_fsid.
44231 2010-09-24  Petr Baudis <pasky@suse.cz>
44233         * debug/stack_chk_fail_local.c: Add missing licence exception.
44234         * debug/warning-nop.c: Likewise.
44236 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
44238         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44239         implementing getdents64 using getdents syscall, set d_type if
44240         __ASSUME_GETDENTS32_D_TYPE.
44242 2010-09-16  Andreas Schwab  <schwab@redhat.com>
44244         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44245         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44247 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
44249         [BZ #12037]
44250         * posix/unistd.h: Undo change of feature selection for ftruncate from
44251         2010-01-11.
44253 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
44255         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44256         detection.
44258 2010-09-20  Andreas Schwab  <schwab@redhat.com>
44260         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44261         fanotify_mark.
44262         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44264 2010-09-14  Andreas Schwab  <schwab@redhat.com>
44266         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44267         variables after CHECK_SP call.
44268         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44270 2010-09-13  Andreas Schwab  <schwab@redhat.com>
44271             Ulrich Drepper  <drepper@redhat.com>
44273         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44274         re-relocationg ld.so.
44275         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44276         _dl_init_paths call.
44277         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
44278         here anymore.
44280 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
44282         * resolv/res_init.c (__res_vinit): Count the default server we added.
44284 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
44285             Ulrich Drepper  <drepper@redhat.com>
44287         [BZ #11968]
44288         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44289         (____longjmp_chk): Use %ebx for saving value across system call.
44290         Add unwind info.
44292 2010-09-06  Andreas Schwab  <schwab@redhat.com>
44294         * manual/Makefile: Don't mix pattern rules with normal rules.
44296 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44298         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44299         operation.
44300         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44301         * libio/iofopncook.c (_IO_cookie_init): Likewise.
44302         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44303         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44305         Likewise.
44307 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
44309         [BZ #11979]
44310         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44311         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44313 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
44315         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44316         * sysdeps/x86_64/addmul_1.S: Likewise.
44317         * sysdeps/x86_64/lshift.S: Likewise.
44318         * sysdeps/x86_64/mul_1.S: Likewise.
44319         * sysdeps/x86_64/rshift.S: Likewise.
44320         * sysdeps/x86_64/sub_n.S: Likewise.
44321         * sysdeps/x86_64/submul_1.S: Likewise.
44323 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44325         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44326         Define __sched_param instead of SCHED_* and sched_param when
44327         <bits/sched.h> is included with __need_schedparam defined.
44328         * bits/sched.h [__need_schedparam]
44329         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44330         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44331         (__defined_schedparam): Define to 1.
44332         (__sched_param): New structure, identical to sched_param.
44333         (__need_schedparam): Undefine.
44335 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
44337         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44338         (epoll_create1): Declare.
44340         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44342 2010-08-31  Andreas Schwab  <schwab@redhat.com>
44344         [BZ #7066]
44345         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44346         shifting retval into place.
44348 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44350         * nis/rpcsvc/nis.h: Update copyright notice.
44351         * nis/rpcsvc/nis.x: Likewise.
44352         * nis/rpcsvc/nis_callback.h: Likewise.
44353         * nis/rpcsvc/nis_callback.x: Likewise.
44354         * nis/rpcsvc/nis_object.x: Likewise.
44355         * nis/rpcsvc/nis_tags.h: Likewise.
44356         * nis/rpcsvc/yp.h: Likewise.
44357         * nis/rpcsvc/yp.x: Likewise.
44358         * nis/rpcsvc/ypupd.h: Likewise.
44359         * nis/yp_xdr.c: Likewise.
44360         * nis/ypupdate_xdr.c: Likewise.
44362         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
44363         mainly the body of pmap_getport.  Add parameters to specify timeouts.
44364         (pmap_getport): Use __libc_rpc_getport.
44365         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44366         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44367         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44369 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
44371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44372         fanotify_mark.
44374 2010-08-27  Roland McGrath  <roland@redhat.com>
44376         * sysdeps/i386/i686/multiarch/Makefile
44377         (CFLAGS-varshift.c): New variable.
44379 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
44381         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44382         * sysdeps/i386/i686/multiarch/varshift.c: New file.
44384         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44386         * sysdeps/x86_64/strlen.S: Minimal code improvement.
44388 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
44390         * sysdeps/x86_64/strlen.S: Unroll the loop.
44391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44392         strlen-sse2 strlen-sse2-bsf.
44393         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44394         __strlen_no_bsf if bit_Slow_BSF is set.
44395         (__strlen_sse42): Removed.
44396         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44397         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44399 2010-08-25  Roland McGrath  <roland@redhat.com>
44401         * sysdeps/x86_64/multiarch/varshift.S: File removed.
44402         * sysdeps/x86_64/multiarch/varshift.c: New file.
44403         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44404         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44405         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44406         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44408 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
44410         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44411         strlen-sse2 strlen-sse2-bsf.
44412         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44413         __strlen_sse2_bsf if bit_Slow_BSF is unset.
44414         (__strlen_sse2): Removed.
44415         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44416         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44418         bit_Slow_BSF for Atom.
44419         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44420         (index_Slow_BSF): Define.
44421         (HAS_SLOW_BSF): Define.
44423 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
44425         [BZ #10851]
44426         * resolv/res_init.c (__res_vinit): When no server address at all
44427         is given default to loopback.
44429 2010-08-24  Roland McGrath  <roland@redhat.com>
44431         * configure.in: Remove config-name.h generation.
44432         * configure: Regenerated.
44433         * config-name.in: File removed.
44434         * scripts/config-uname.sh: New file.
44435         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44436         ($(objdir)config-name.h): New target.
44438         * sunrpc/rpc_parse.h: Avoid nested comment.
44440 2010-08-24  Richard Henderson  <rth@redhat.com>
44441             Ulrich Drepper  <drepper@redhat.com>
44442             H.J. Lu  <hongjiu.lu@intel.com>
44444         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44446         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44447         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
44448         _mm_alignr_epi8 with _mm_loadu_si128.
44449         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44450         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44451         (__m128i_shift_right): Removed.
44452         * sysdeps/i386/i686/multiarch/varshift.h: New file.
44453         * sysdeps/i386/i686/multiarch/varshift.S: New file.
44454         * sysdeps/x86_64/multiarch/varshift.h: New file.
44455         * sysdeps/x86_64/multiarch/varshift.S: New file.
44457 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
44459         * configure.in: Move assembler checks to before sysdep dir checking.
44461 2010-08-20  Petr Baudis  <pasky@suse.cz>
44463         * LICENSES: Sync the sunrpc license.
44465 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
44467         * sunrpc/auth_des.c: Update copyright notice once again.
44468         * sunrpc/auth_none.c: Likewise.
44469         * sunrpc/auth_unix.c: Likewise.
44470         * sunrpc/authdes_prot.c: Likewise.
44471         * sunrpc/authuxprot.c: Likewise.
44472         * sunrpc/bindrsvprt.c: Likewise.
44473         * sunrpc/clnt_gen.c: Likewise.
44474         * sunrpc/clnt_perr.c: Likewise.
44475         * sunrpc/clnt_raw.c: Likewise.
44476         * sunrpc/clnt_simp.c: Likewise.
44477         * sunrpc/clnt_tcp.c: Likewise.
44478         * sunrpc/clnt_udp.c: Likewise.
44479         * sunrpc/clnt_unix.c: Likewise.
44480         * sunrpc/des_crypt.c: Likewise.
44481         * sunrpc/des_soft.c: Likewise.
44482         * sunrpc/get_myaddr.c: Likewise.
44483         * sunrpc/getrpcport.c: Likewise.
44484         * sunrpc/key_call.c: Likewise.
44485         * sunrpc/key_prot.c: Likewise.
44486         * sunrpc/openchild.c: Likewise.
44487         * sunrpc/pm_getmaps.c: Likewise.
44488         * sunrpc/pm_getport.c: Likewise.
44489         * sunrpc/pmap_clnt.c: Likewise.
44490         * sunrpc/pmap_prot.c: Likewise.
44491         * sunrpc/pmap_prot2.c: Likewise.
44492         * sunrpc/pmap_rmt.c: Likewise.
44493         * sunrpc/rpc/auth.h: Likewise.
44494         * sunrpc/rpc/auth_unix.h: Likewise.
44495         * sunrpc/rpc/clnt.h: Likewise.
44496         * sunrpc/rpc/des_crypt.h: Likewise.
44497         * sunrpc/rpc/key_prot.h: Likewise.
44498         * sunrpc/rpc/netdb.h: Likewise.
44499         * sunrpc/rpc/pmap_clnt.h: Likewise.
44500         * sunrpc/rpc/pmap_prot.h: Likewise.
44501         * sunrpc/rpc/pmap_rmt.h: Likewise.
44502         * sunrpc/rpc/rpc.h: Likewise.
44503         * sunrpc/rpc/rpc_des.h: Likewise.
44504         * sunrpc/rpc/rpc_msg.h: Likewise.
44505         * sunrpc/rpc/svc.h: Likewise.
44506         * sunrpc/rpc/svc_auth.h: Likewise.
44507         * sunrpc/rpc/types.h: Likewise.
44508         * sunrpc/rpc/xdr.h: Likewise.
44509         * sunrpc/rpc_clntout.c: Likewise.
44510         * sunrpc/rpc_cmsg.c: Likewise.
44511         * sunrpc/rpc_common.c: Likewise.
44512         * sunrpc/rpc_cout.c: Likewise.
44513         * sunrpc/rpc_dtable.c: Likewise.
44514         * sunrpc/rpc_hout.c: Likewise.
44515         * sunrpc/rpc_main.c: Likewise.
44516         * sunrpc/rpc_parse.c: Likewise.
44517         * sunrpc/rpc_parse.h: Likewise.
44518         * sunrpc/rpc_prot.c: Likewise.
44519         * sunrpc/rpc_sample.c: Likewise.
44520         * sunrpc/rpc_scan.c: Likewise.
44521         * sunrpc/rpc_scan.h: Likewise.
44522         * sunrpc/rpc_svcout.c: Likewise.
44523         * sunrpc/rpc_tblout.c: Likewise.
44524         * sunrpc/rpc_util.c: Likewise.
44525         * sunrpc/rpc_util.h: Likewise.
44526         * sunrpc/rpcinfo.c: Likewise.
44527         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44528         * sunrpc/rpcsvc/key_prot.x: Likewise.
44529         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44530         * sunrpc/rpcsvc/mount.x: Likewise.
44531         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44532         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44533         * sunrpc/rpcsvc/rex.x: Likewise.
44534         * sunrpc/rpcsvc/rstat.x: Likewise.
44535         * sunrpc/rpcsvc/rusers.x: Likewise.
44536         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44537         * sunrpc/rpcsvc/spray.x: Likewise.
44538         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44539         * sunrpc/rtime.c: Likewise.
44540         * sunrpc/svc.c: Likewise.
44541         * sunrpc/svc_auth.c: Likewise.
44542         * sunrpc/svc_authux.c: Likewise.
44543         * sunrpc/svc_raw.c: Likewise.
44544         * sunrpc/svc_run.c: Likewise.
44545         * sunrpc/svc_simple.c: Likewise.
44546         * sunrpc/svc_tcp.c: Likewise.
44547         * sunrpc/svc_udp.c: Likewise.
44548         * sunrpc/svc_unix.c: Likewise.
44549         * sunrpc/svcauth_des.c: Likewise.
44550         * sunrpc/xcrypt.c: Likewise.
44551         * sunrpc/xdr.c: Likewise.
44552         * sunrpc/xdr_array.c: Likewise.
44553         * sunrpc/xdr_float.c: Likewise.
44554         * sunrpc/xdr_mem.c: Likewise.
44555         * sunrpc/xdr_rec.c: Likewise.
44556         * sunrpc/xdr_ref.c: Likewise.
44557         * sunrpc/xdr_sizeof.c: Likewise.
44558         * sunrpc/xdr_stdio.c: Likewise.
44560         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44561         handling.
44563 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44565         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44567 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44569         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44570         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44571         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44572         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44573         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44574         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44575         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44576         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44577         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44578         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44579         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44580         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44581         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44582         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44584 2010-07-26  Anton Blanchard  <anton@samba.org>
44586         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44587         * malloc/arena.c (heap_trim): Likewise.
44589 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44591         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44592         here.  Not...
44593         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44594         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44596 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44598         * sysdeps/i386/elf/Makefile: New file.
44600 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44602         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44603         from fanotify_init.
44604         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44605         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44607 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44609         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44610         of strncasecmp_l.
44611         * sysdeps/multiarch/strcmp.S: Likewise.
44613 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44615         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44616         strncase_l-nonascii.
44617         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44618         Add strncase_l-ssse3.
44619         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44620         * sysdeps/x86_64/strcmp.S: Likewise.
44621         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44622         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44623         * sysdeps/x86_64/strncase.S: New file.
44624         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44625         * sysdeps/x86_64/strncase_l.S: New file.
44626         * string/Makefile (strop-tests): Add strncasecmp.
44627         * string/test-strncasecmp.c: New file.
44629         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44630         warning.
44632         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44633         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44635 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44637         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44639 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44641         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44642         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44643         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44645 2010-05-01  Alan Modra  <amodra@gmail.com>
44647         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44648         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44649         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44650         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44651         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44652         tidying.  Don't tail-call __sigjmp_save for static lib.
44653         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44654         save location.
44655         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44656         (CALL_MCOUNT): Add eh info, and nop after bl.
44657         (TAIL_CALL_SYSCALL_ERROR): New macro.
44658         (PSEUDO_RET): Use it.
44659         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44660         Correct save location of integer regs and cr.
44661         (_dl_profile_resolve): Correct cr save location.  Delete nops
44662         after bl when SHARED.  Reduce cfi size a little by better
44663         placement of cfi directives.
44664         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44665         make a stack frame.  Instead use parm save area as a temp.
44666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44667         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44669         Don't make a stack frame for parent, use parm save area.
44670         Increase child stack frame to 112 bytes.  Don't save unused reg,
44671         and adjust reg usage.  Set up cfi on error recovery and
44672         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44674         (__makecontext): Add dummy nop after jump to exit.
44675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44676         Use correct parm save area and cr save, reduce stack frame.
44677         Correct cfi for possible PSEUDO_RET frame setup.
44678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44679         Branch to local label emitted by PSEUDO_RET rather than
44680         __syscall_error.
44682 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44684         [BZ #11904]
44685         * locale/programs/locale.c (print_assignment): New function.
44686         (show_locale_vars): Use it.
44688 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44690         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44691         field.
44692         (struct statfs64): Likewise.
44693         (_STATFS_F_FLAGS): Define.
44694         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44695         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44696         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44697         (ST_VALID): Define locally.
44698         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44699         __statvfs_getflags, use the provided value.
44700         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44701         __ASSUME_STATFS_F_FLAGS.
44703         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44705         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44706         Add sys/fanotify.h.
44707         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44708         fanotify_mask for GLIBC_2.13.
44709         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44710         fanotify_init and fanotify_mark.
44711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44712         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44714         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44715         Add prlimit.
44716         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44717         prlimit64 for GLIBC_2.13.
44718         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44719         prlimit64.
44720         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44721         syscall.
44722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44723         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44724         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44725         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44727         add prlimit alias.
44728         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44730         [BZ #11903]
44731         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44732         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44734         * nss/Makefile: Add rules to build and run tst-nss-test1.
44735         * shlib-versions: Add entry for libnss_test1.
44736         * nss/nss_test1.c: New file.
44737         * nss/tst-nss-test1.c: New file.
44739         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44740         (__nss_configure_lookup): Set appropriate entry in
44741         __nss_configure_lookup to true.
44742         * nss/nsswitch.h: Define enum with indeces of databases in
44743         databases and __nss_database_custom arrays.  Declare
44744         __nss_database_custom.
44745         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44746         to avoid using nscd when custom rules are installed.
44747         * nss/getXXbyYY_r.c: Likewise.
44748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44750         * nss/nss_files/files-parse.c: Whitespace fixes.
44752 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44754         [BZ #11883]
44755         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44756         * posix/fnmatch_loop.c: Likewise.
44758 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44760         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44761         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44762         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44763         * Versions.def [GLIBC_2.13]: Add.
44765 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44767         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44768         Also fail if tpwd after pwuid call is NULL.
44770 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44772         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44773         when converting to ms.
44775 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44777         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44778         EOPNOTSUPP errors with ENOTTY.
44779         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44780         EOPNOTSUPP errors with ENOTTY.
44782 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44784         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44785         Add strcasecmp_l-ssse3.
44786         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44787         strcasecmp.
44788         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44789         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44790         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44792 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44794         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44796         * string/Makefile (strop-tests): Add strcasecmp.
44797         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44798         strcasecmp_l-nonascii.
44799         (gen-as-const-headers): Add locale-defines.sym.
44800         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44801         * sysdeps/x86_64/strcasecmp.S: New file.
44802         * sysdeps/x86_64/strcasecmp_l.S: New file.
44803         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44804         * sysdeps/x86_64/locale-defines.sym: New file.
44805         * string/test-strcasecmp.c: New file.
44807         * string/test-strcasestr.c: Test both ends of the range of characters.
44808         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44810 2010-07-29  Roland McGrath  <roland@redhat.com>
44812         [BZ #11856]
44813         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44815 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44817         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44818         for ld.so.
44820 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44822         * manual/memory.texi (Malloc Tunable Parameters): Document
44823         M_PERTURB.
44825 2010-07-26  Roland McGrath  <roland@redhat.com>
44827         [BZ #11840]
44828         * configure.in (-fgnu89-inline check): Set and substitute
44829         gnu89_inline, not libc_cv_gnu89_inline.
44830         * configure: Regenerated.
44831         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44833 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44835         * string/test-strnlen.c: New file.
44836         * string/Makefile (strop-tests): Add strnlen.
44837         * string/tester.c (test_strnlen): Add a few more test cases.
44838         * string/tst-strlen.c: Better error reporting.
44840         * sysdeps/x86_64/strnlen.S: New file.
44842 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44844         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44845         lower-latency instructions.
44847 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44849         * string/test-strcasestr.c: New file.
44850         * string/test-strstr.c: New file.
44851         * string/Makefile (strop-tests): Add strstr and strcasestr.
44852         * string/str-two-way.h: Don't undefine MAX.
44853         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44855 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44858         strcasestr-nonascii.
44859         (CFLAGS-strcasestr-nonascii.c): Define.
44860         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44861         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44862         Remove unused attribute.
44864 2010-07-20  Roland McGrath  <roland@redhat.com>
44866         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44867         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44868         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44869         like LD_HWCAP_MASK can disable hwcaps.
44871 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44873         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44875 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44877         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44878         call in strcasestr.
44879         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44880         __strcasestr_sse42_nonascii.
44881         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44882         strcasestr-nonascii.c.
44883         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44885 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44887         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44888         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44889         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44890         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44892 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44894         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44895         fcntl.
44897 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44899         [BZ #11577]
44900         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44901         dl_signal_cerror.
44903 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44905         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44906         _PC_PIPE_BUF using F_GETPIPE_SZ.
44908 2010-07-05  Roland McGrath  <roland@redhat.com>
44910         * manual/arith.texi (Rounding Functions): Fix rint description
44911         implicit in round description.
44913 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44915         * elf/Makefile: Fix linking for a few tests to make recent linker
44916         happy.
44918 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44920         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44921         $(common-objpfx)libc_nonshared.a.
44923 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44925         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44926         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44927         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44928         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44929         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44930         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44931         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44932         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44947         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44948         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44949         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44950         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44951         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44952         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44953         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44954         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44955         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44956         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44957         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44958         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44974 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
44976         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44977         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
44978         * string/memmove.c (memmove): Renamed to ...
44979         (MEMMOVE): ...this.  Default to memmove.
44980         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44981         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44982         (END_CHK): Define.
44983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44984         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44985         mempcpy-ssse3-back memmove-ssse3-back.
44986         * sysdeps/x86_64/multiarch/bcopy.S: New file .
44987         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44988         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44989         * sysdeps/x86_64/multiarch/memcpy.S: New file.
44990         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44991         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44992         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44993         * sysdeps/x86_64/multiarch/memmove.c: New file.
44994         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44995         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44996         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44997         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44998         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44999         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45000         Define.
45001         (index_Fast_Copy_Backward): Define.
45002         (HAS_ARCH_FEATURE): Define.
45003         (HAS_FAST_REP_STRING): Define.
45004         (HAS_FAST_COPY_BACKWARD): Define.
45006 2010-06-21  Andreas Schwab  <schwab@redhat.com>
45008         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45009         Restore proper fallback handling.
45011 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
45013         [BZ #11701]
45014         * posix/group_member.c (__group_member): Correct checking loop.
45016         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45017         OOM in getpwuid_r correctly.  Return error number when the caller
45018         should return, otherwise -1.
45019         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45020         call returning > 0 value.
45021         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45023 2010-06-07  Andreas Schwab  <schwab@redhat.com>
45025         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45026         libc_nonshared.a from targets in modules-names.
45028 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
45030         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45031         requires it.
45033 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
45035         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45036         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45037         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45038         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45040 2010-06-02  Andreas Schwab  <schwab@redhat.com>
45042         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45044 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
45046         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45047         and F_GETPIPE_SZ.
45048         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45049         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45051         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45052         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45053         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45055 2010-06-14  Roland McGrath  <roland@redhat.com>
45057         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45059 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
45061         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45062         __REDIRECT followed by __THROW.
45063         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45064         * posix/getopt.h (getopt): Likewise.
45066 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45068         * hurd/lookup-at.c (__file_name_lookup_at): Accept
45069         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
45070         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45071         in AT_FLAGS.
45072         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45073         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45075 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
45077         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45079 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
45081         [BZ #11640]
45082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45083         Properly check family and model.
45085 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
45087         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45089 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
45091         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45093 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
45095         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45096         symbol reference.
45098 2010-05-19  Andreas Schwab  <schwab@redhat.com>
45100         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45101         symbol reference.
45103 2010-05-21  Andreas Schwab  <schwab@redhat.com>
45105         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45106         and internal_recvmmsg.
45107         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45108         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45109         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45110         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45112         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45113         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45114         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45116 2010-05-20  Andreas Schwab  <schwab@redhat.com>
45118         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45120 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
45122         POWER7 optimizations.
45123         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45124         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45126 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
45128         * version.h: Update for 2.13 development version.
45130 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
45132         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45133         exceptions.  Return 0.
45135 2010-05-07  Roland McGrath  <roland@redhat.com>
45137         * elf/ldconfig.c (main): Add a const.
45139 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
45141         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45142         (args_options): Add no-idn option.
45143         (ahosts_keys_int): Add idn_flags to ai_flags.
45144         (parse_option): Handle 'i' option to clear idn_flags.
45146         * malloc/malloc.c (_int_free): Possible race in the most recently
45147         added check.  Only act on the data if no current modification
45148         happened.
45150 See ChangeLog.17 for earlier changes.