SH: Consolidate NPTL/non versions of vfork
[glibc.git] / ChangeLog
blobad3118195ff2cb34d1ee9c2548908b0245184c96
1 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5         Label the code __libc_vfork rather than __vfork.
6         [!NOT_IN_libc] (vfork): Define as weak alias.
7         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13         * malloc/malloc.c (malloc_info): Fix format specifier for
14         n_mmaps.
16 2014-06-02  Wilco  <wdijkstr@arm.com>
18         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19         FPCR write.
21 2014-06-02  Wilco  <wdijkstr@arm.com>
23         [BZ #17009]
24         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25         Rewrite to reduce FPCR/FPSR accesses.
27 2014-06-01  David S. Miller  <davem@davemloft.net>
29         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31 2014-05-31  David S. Miller  <davem@davemloft.net>
33         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34         to occur in round to nearest mode when |x| >= 2.0
36 2014-05-30  Richard Henderson  <rth@twiddle.net>
38         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
39         (PSEUDO_RET_NOERRNO): Remove.
40         (ret): Don't redefine.
41         (ret_NOERRNO): Define in terms of ret.
42         (ret_ERRVAL): Likewise.
44         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45         use of PSEUDO_RET; perform the error check directly.
47 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
50         with __int128_t.
52 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54         * malloc/malloc (malloc_info): Fix formatting.
56 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57             Roland McGrath  <roland@hack.frob.com>
59         * malloc/malloc (malloc_info): Also print mmapped statistics.
61 2014-05-30  Roland McGrath  <roland@hack.frob.com>
63         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
64         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
66 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
68         * malloc/malloc.c (malloc_info): Inline mi_arena.
70 2014-05-29  Richard Henderson  <rth@twiddle.net>
72         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
73         Remove comma before expanding ASM_ARGS_##nr.
74         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
75         Make _x0 a strict output; make _x8 a strict input; adjust expansion
76         of ASM_ARGS_##nr.
77         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
78         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
79         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
80         (ASM_ARGS_1): Add leading comma.
82         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
83         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
84         to __errno_location.
85         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
86         Remove the expected plt for __errno_location.
88         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
89         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
90         call to __read_tp.
92         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
93         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
94         it and break it down.
95         (DOCARGS_0, DOCARGS_1): Do nothing.
96         (DOCARGS_2): Update to store into the new stack frame.
97         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
98         (UNDOCARGS_1): Update to restore from the new stack frame.
99         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
100         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
102         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
103         (SINGLE_THREAD_P): New parameter for result regno.
104         (PSEUDO): Update to match; use cbz instead of beq.
106         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
107         Use ENTRY to define the _nocancel entry point.  Share the syscall
108         and syscall error check paths with the cancel path.
109         (PSEUDO_END): New.
111         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
112         whitespace; tabs before and after asm mnemonics.
114 2014-05-29  Eric Wong  <normalperson@yhbt.net>
116         [BZ #15132]
117         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
118         Call fstat64 or stat64 internally, depending on arguments passed.
119         Replace stat buffer argument with file descriptor argument.
120         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
121         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
122         Pass fd to __internal_statvfs instead of calling fstat64.
123         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
124         Pass fd to __internal_statvfs64 instead of calling fstat64.
125         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
126         Pass -1 to __internal_statvfs instead of calling stat64.
127         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
128         Pass -1 to __internal_statvfs64 instead of calling stat64.
130 2014-05-28  Roland McGrath  <roland@hack.frob.com>
132         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
133         that was previously under [RESET_PID].
134         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
136         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
137         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
139 2014-05-27  Roland McGrath  <roland@hack.frob.com>
141         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
143         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
144         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
146 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
148         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
150 2014-05-27  Andreas Schwab  <schwab@suse.de>
152         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
153         TLS_INIT_TP macro.
154         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
155         * elf/rtld.c (init_tls, dl_main): Likewise.
156         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
157         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
158         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
159         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
160         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
161         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
162         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
163         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
164         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
165         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
166         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
167         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
168         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
169         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
170         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
171         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
172         * sysdeps/generic/tls.h: Update description.
174 2014-05-27  Will Newton  <will.newton@linaro.org>
176         [BZ #16990]
177         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
178         and restore r2 rather than just restoring.
180 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
182         [BZ #16724]
183         * libio/tst-ftell-append.c: New test case.
184         * libio/Makefile (tests): Add test case.
185         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
186         append mode.
187         * libio/wfileops.c (do_ftell_wide): Likewise.
189 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
193         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
194         ...
195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
197         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
198         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
199         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
200         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
201         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
202         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
203         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
204         Moved ...
205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
206         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
207         Moved ...
208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
209         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
210         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
211         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
212         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
213         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
214         ...
215         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
216         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
217         Moved ...
218         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
219         here.
220         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
221         ...
222         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
223         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
224         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
226         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
227         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
228         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
229         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
232         merge into ...
233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
235         ...
236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
237         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
238         ...
239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
241         Moved ...
242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
243         here.
244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
245         Moved ...
246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
247         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
248         Moved ...
249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
252         conditional [RESET_PID].
253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
255         removed.
256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
257         removed.
259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
260         <tcb-offsets.h>.
261         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
262         (__libc_vfork): New strong alias.
263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
264         removed.
265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
266         Removed.
268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
269         <tcb-offsets.h>.
270         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
271         (__libc_vfork): New strong alias.
272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
273         removed.
274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
275         removed.
277 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
279         * malloc/malloc.c (mi_arena): New function.
280         (malloc_info): Remove nested function mi_arena. Call non-nosted
281         function mi_arena.
283 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
285         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
286         by insrwi.
287         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
288         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
289         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
290         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
291         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
292         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
293         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
295 2014-05-26  Andreas Schwab  <schwab@suse.de>
297         [BZ #16984]
298         * locale/programs/repertoire.c (repertoire_read): Add slash
299         between I18NPATH element and file name.
300         * locale/programs/locfile.c (locfile_read): Likewise.
302 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
304         * nptl/pthread_mutexattr_settype.c
305         (__pthread_mutexattr_settype):
306         Disable lock elision for PTHREAD_MUTEX_NORMAL.
308 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
310         * nptl/tst-mutex5 (do_test):
311         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
313 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
315         * benchtests/README: Document 'init' directive.
316         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
317         BENCH_INIT.
318         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
319         (parse_file): Recognize 'init' directive.
321 2014-05-26  Kyle McMartin  <kyle@redhat.com>
323         [BZ #16796]
324         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
325         alignment of struct pthread.
327 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
329         [BZ #16878]
330         * nscd/netgroupcache.c (addgetnetgrentX): Look for
331         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
332         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
333         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
335 2014-05-25  Richard Henderson  <rth@twiddle.net>
337         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
338         (SINGLE_THREAD_P_PIC): Remove.
339         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
340         (SINGLE_THREAD_P_PIC): Remove.
342         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
343         branch to syscall error ...
344         (PSEUDO): ... here.
345         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
346         from __local_syscall_error to .Lsyscall_error.
347         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
348         (SYSCALL_ERROR): Update label name.
350         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
351         Do not use DOARGS/UNDOARGS.
352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
353         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
354         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
355         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
356         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
358         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
359         block comment.
361         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
362         define if !NOT_IN_libc.
363         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
364         define with non-default symbol versions.
366 2014-05-23  Richard Henderson  <rth@twiddle.net>
368         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
369         (vfork, __vfork): Define via compat_symbol.
371         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
372         [!HAVE_IFUNC] (vfork_compat): Remove.
373         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
375 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
377         [BZ #16978]
378         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
379         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
380         variable.
382 2014-05-23  Richard Henderson  <rth@twiddle.net>
384         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
385         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
386         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
387         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
389         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
390         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
391         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
392         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
393         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
394         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
395         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
396         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
397         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
398         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
399         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
400         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
401         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
402         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
403         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
404         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
405         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
406         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
407         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
408         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
409         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
410         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
411         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
412         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
413         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
414         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
415         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
416         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
417         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
418         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
419         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
420         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
421         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
422         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
423         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
424         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
425         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
426         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
427         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
428         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
429         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
430         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
431         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
432         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
433         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
434         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
436         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
438         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
439         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
440         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
441         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
442         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
443         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
444         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
446         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
447         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
448         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
449         before exiting on error.
450         (__libc_vfork): New strong alias.
451         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
452         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
454         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
455         that was previously under [RESET_PID].
456         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
458         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
460 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
462         [BZ #16977]
463         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
464         value when x - 1 is zero.
465         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
466         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
467         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
468         0.0L for an argument of 1.0L.
469         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
470         Likewise.
471         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
472         value when x - 1 is zero.
473         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
474         * sysdeps/i386/fpu/libm-test-ulps: Update.
475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
477 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
479         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
480         alphasort and versionsort.
482 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
484         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
485         macro.
486         [copysignf]: Likewise.
488 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
490         * crypt/md5-crypt.c: Fix formatting.
492 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
494         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
495         (b64_from_24bit): New function.
497 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
499         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
500         libc_hidden_builtin_def to ifunc.
501         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
502         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
504 2014-05-21  Roland McGrath  <roland@hack.frob.com>
506         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
507         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
509 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
511         * nscd/Depend (linuxthreads): Remove.
512         (nptl): Add.
513         * resolv/Depend (linuxthreads): Remove.
514         * rt/Depend (linuxthreads): Remove.
516         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
517         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
518         $(common-objpfx)elf/.
519         (link-libc-before-gnulib): Likewise.
520         (elfobjdir): Remove variable.
521         * Makefile (install): Use $(elf-objpfx) instead of
522         $(common-objpfx)elf/.
523         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
524         $(elfobjdir)/.
525         (link-libc-deps): Likewise.
526         ($(common-objpfx)libc.so): Likewise.
527         ($(common-objpfx)linkobj/libc.so): Likewise.
528         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
529         instead of $(common-objpfx)elf/.
530         (symbolic-link-list): Likewise.
531         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
532         [$(cross-compiling) = no]: Likewise.
533         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
534         $(elfobjdir)/.
535         (static-gnulib-arch): Likewise.
536         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
537         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
538         $(common-objpfx)elf/.
540 2014-05-21  Richard Henderson  <rth@redhat.com>
542         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
543         (SINGLE_THREAD_P): Use the correct width load.  Fold
544         into the ldr offset.
546         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
547         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
549 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
551         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
552         (libgcc_s_resume): Use __attribute_used__.
553         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
554         Likewise.
556 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
558         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
559         optimization when used with float constants.
561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
563 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
565         [BZ #16915]
566         * locale/nl_langinfo_l.c: Make direct reference to every
567         _nl_current_CATEGORY symbol.
568         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
569         (tests-static): Add tst-langinfo-static.
570         (tests-special): Add tst-langinfo-static.out.
571         ($(objpfx)tst-langinfo.out): Redirect output.
572         ($(objpfx)tst-langinfo-static.out): New.
573         * localedata/tst-langinfo.sh: Send output to stdout.
574         * localedata/tst-langinfo-static.c: New file.
576         [BZ #16965]
577         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
578         when the shift amount is modulo the limb size.
580 2014-05-20  Richard Henderson  <rth@redhat.com>
582         [BZ #16967]
583         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
584         Change type of sa_flags from unsigned int to int.
586         [BZ #16966]
587         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
589         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
591 2014-05-20  Will Newton  <will.newton@linaro.org>
593         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
594         Test the return value of the system call in the nocancel case.
596 2014-05-20  Will Newton  <will.newton@linaro.org>
597             Yvan Roux  <yvan.roux@linaro.org>
599         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
600         #include of asm/ptrace.h.
601         (PTRACE_GET_THREAD_AREA): Remove #undef.
602         (PTRACE_GETHBPREGS): Likewise.
603         (PTRACE_SETHBPREGS): Likewise.
604         (struct user_regs_struct): New structure.
605         (struct user_fpsimd_struct): New structure.
606         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
607         #include of asm/ptrace.h and second #include of sys/user.h.
608         (PTRACE_GET_THREAD_AREA): Remove #undef.
609         (PTRACE_GETHBPREGS): Likewise.
610         (PTRACE_SETHBPREGS): Likewise.
611         (ELF_NGREG): Use new struct user_regs_struct.
612         (elf_fpregset_t): Use new struct user_fpsimd_struct.
614 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
616         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
617         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
619 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
621         [BZ #16958]
622         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
623         membar to avoid block loads/stores to overlap previous stores.
625 2014-05-17  Richard Henderson  <rth@redhat.com>
627         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
628         Create the __##syscall_name##_nocancel entry point.
629         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
630         Remove; let the sysdep-cancel.h code create it.
632 2014-05-17  David S. Miller  <davem@davemloft.net>
634         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
635         Protect with __USE_GNU.
636         (TIOCSET_TEMPT): Likewise.
637         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
638         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
639         these are already provided in bits/ioctl-types.h
641 2014-05-16  Roland McGrath  <roland@hack.frob.com>
643         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
644         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
646         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
647         Use wait4 regardless of [__NR_waitpid].
649 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
651         PR libgcc/60166
652         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
653         (_FP_NANSIGN_Q): Set the quiet bit.
655 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
657         * benchtests/Makefile
658         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
659         not $(common-objpfx)math/libm.so.
660         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
661         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
662         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
663         $(common-objpfx)dlfcn/libdl.so.
664         ($(objpfx)tst-audit8): Depend on $(libm), not
665         $(common-objpfx)math/libm.so.
666         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
667         not $(common-objpfx)dlfcn/libdl.so.
668         * math/Makefile
669         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
670         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
671         [$(build-shared) = yes].
672         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
673         $(common-objpfx)nptl/libpthread.so.
674         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
675         $(common-objpfx)math/libm.so$(libm.so-version) or
676         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
677         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
678         $(common-objpfx)dlfcn/libdl.so.
679         * setjmp/Makefile (link-libm): Remove variable.
680         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
681         * stdio-common/Makefile (link-libm): Remove variable.
682         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
683         * stdlib/Makefile (link-libm): Remove variable.
684         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
685         ($(objpfx)tst-strtod-round): Likewise.
686         ($(objpfx)tst-tininess): Likewise.
687         ($(objpfx)tst-strtod-underflow): Likewise.
688         ($(objpfx)tst-strtod6): Likewise.
689         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
690         $(libdl), not $(common-objpfx)nptl/libpthread.so and
691         $(common-objpfx)dlfcn/libdl.so.
693 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
695         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
696         BSD terminal modes definitions.
698 2014-05-16  Roland McGrath  <roland@hack.frob.com>
700         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
701         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
703         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
704         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
705         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
706         Don't do #include_next.
707         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
708         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
709         Don't do #include_next.
710         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
711         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
712         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
713         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
715 2014-05-16  Allan McRae  <allan@archlinux.org>
717         * po/sv.po: Update Swedish translation from translation project.
719         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
720         in sed expression.
722 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
724         [BZ #16917]
725         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
726         errno if the TIOCGPTN ioctl fails with an error different than
727         EINVAL.
728         * login/tst-ptsname.c: New file.
729         * login/Makefile (tests): Add tst-ptsname.
731         [BZ #16943]
732         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
733         and prlimit64.
735 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
737         [BZ #16849]
738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
739         herrno to return EAI_AGAIN.
741 2014-05-14  Roland McGrath  <roland@hack.frob.com>
743         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
744         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
745         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
746         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
747         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
748         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
749         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
750         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
751         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
752         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
753         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
754         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
755         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
756         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
757         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
758         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
759         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
760         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
761         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
762         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
763         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
764         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
765         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
766         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
767         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
768         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
769         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
770         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
771         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
772         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
774         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
776         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
778         Moved ...
779         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
781         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
783         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
785         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
787         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
789         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
791         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
793         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
795         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
797         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
799         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
801         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
803         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
805         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
807         Moved ...
808         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
810         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
812         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
814         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
816         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
818         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
820         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
822         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
824         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
826         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
828         Moved ...
829         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
831         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
833         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
834         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
835         (libpthread-sysdep_routines): Add elision-related stuff here instead.
836         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
837         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
838         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
839         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
840         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
841         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
842         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
843         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
844         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
845         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
846         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
847         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
848         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
849         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
850         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
851         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
852         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
853         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
854         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
855         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
856         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
857         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
858         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
859         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
860         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
861         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
862         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
863         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
865         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
866         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
868         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
869         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
870         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
871         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
872         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
873         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
874         Moved ...
875         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
876         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
877         Moved ...
878         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
879         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
880         Moved ...
881         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
882         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
883         Moved ...
884         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
885         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
886         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
888         Moved ...
889         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
890         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
891         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
893         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
894         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
895         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
896         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
897         Moved ...
898         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
899         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
900         Moved ...
901         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
902         ... here.
903         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
904         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
905         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
906         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
908         Moved ...
909         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
910         ... here.
911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
912         Moved ...
913         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
914         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
915         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
916         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
917         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
918         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
919         Moved ...
920         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
921         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
922         Moved ...
923         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
924         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
925         Moved ...
926         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
927         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
928         Moved ...
929         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
930         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
931         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
933         Moved ...
934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
935         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
936         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
938         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
939         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
940         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
941         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
942         Moved ...
943         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
944         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
945         Moved ...
946         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
947         ... here.
948         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
949         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
950         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
951         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
953         Moved ...
954         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
955         ... here.
956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
957         Moved ...
958         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
959         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
960         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
961         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
962         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
963         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
964         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
965         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
966         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
967         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
968         Moved ...
969         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
970         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
971         Moved ...
972         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
973         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
974         Moved ...
975         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
976         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
977         Moved ...
978         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
979         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
980         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
981         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
982         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
984         Moved ...
985         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
986         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
987         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
988         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
989         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
990         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
991         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
993         Moved ...
994         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
995         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
996         Moved ...
997         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
998         ... here.
999         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1000         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1001         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1002         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1004         Moved ...
1005         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1006         ... here.
1007         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1008         Moved ...
1009         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1010         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1011         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1012         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1013         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1014         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1015         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1016         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1017         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1018         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1019         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1021         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1022         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1024         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1025         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1027         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1028         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1029         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1030         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1031         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1032         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1033         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1034         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1035         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1036         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1037         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1038         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1039         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1040         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1041         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1042         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1043         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1045         Moved ...
1046         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1048         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1050         Moved ...
1051         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1052         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1053         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1054         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1055         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1056         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1059         Moved ...
1060         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1062         Moved ...
1063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1069         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1070         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1071         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1072         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1073         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1074         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1075         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1076         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1077         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1078         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1079         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1081         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1082         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1083         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1084         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1085         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1087         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1088         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1089         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1090         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1091         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1092         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1093         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1094         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1095         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1096         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1098         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1101         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1102         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1103         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1104         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1105         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1106         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1107         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1108         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1109         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1110         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1111         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1112         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1113         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1114         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1116         Update #include.
1117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1118         Likewise.
1119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1120         Likewise.
1121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1122         Likewise.
1123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1124         Likewise.
1125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1126         Likewise.
1127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1128         Likewise.
1129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1130         Likewise.
1131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1132         Likewise.
1133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1134         Likewise.
1135         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1136         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1137         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1138         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1139         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1140         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1141         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1142         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1143         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1144         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1145         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1146         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1147         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1148         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
1149         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
1151         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1152         that was previously under [RESET_PID].
1153         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1154         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1155         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1157         * sysdeps/i386/nptl/Implies: New file.
1158         * sysdeps/x86_64/nptl/Implies: New file.
1159         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1160         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1161         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1162         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1164         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1165         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1166         (__libc_vfork): New strong alias.
1167         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1168         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1170         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1171         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1172         (__libc_vfork): New strong alias.
1173         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1174         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1176         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1177         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1178         (__libc_vfork): New strong alias.
1179         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1180         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1181         * nptl/pt-vfork.c: New file.
1182         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1183         (libpthread: GLIBC_2.20): New version set (empty).
1185 2014-05-14  Will Newton  <will.newton@linaro.org>
1187         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1188         rather than #if.
1190 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1192         [BZ #16564]
1193         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1194         arguments with exponent 65 or above.
1195         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1196         arguments 0x1p113L or above.
1197         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1198         to arguments 0x1p107L or above.
1199         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1200         positive arguments with exponent 65 or above.
1201         * math/auto-libm-test-in: Add more tests of log1p.
1202         * math/auto-libm-test-out: Regenerated.
1204         [BZ #16928]
1205         * math/s_cacos.c (__cacos): Ensure zero real part of result from
1206         non-finite arguments is +0.
1207         * math/s_cacosf.c (__cacosf): Likewise.
1208         * math/s_cacosl.c (__cacosl): Likewise.
1209         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1210         * sysdeps/i386/fpu/libm-test-ulps: Update.
1211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1213         [BZ #16927]
1214         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1215         value.
1216         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1217         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1218         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1219         for explicit high bit of mantissa when testing for argument equal
1220         to 1.
1221         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1222         * sysdeps/i386/fpu/libm-test-ulps: Update.
1223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1225         [BZ #16516]
1226         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1227         (__erf): Scale by 16 instead of 8 in potentially underflowing
1228         case.  Ensure exception if result actually underflows.
1229         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1230         (__erff): Scale by 16 instead of 8 in potentially underflowing
1231         case.  Ensure exception if result actually underflows.
1232         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1233         (efx8): Remove variable.
1234         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1235         case.  Ensure exception if result actually underflows.
1236         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1237         (efx8): Remove variable.
1238         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1239         case.  Ensure exception if result actually underflows.
1240         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1241         (efx8): Remove variable.
1242         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1243         case.  Ensure exception if result actually underflows.
1244         * math/auto-libm-test-in: Add more tests of erf.
1245         * math/auto-libm-test-out: Regenerated.
1247 2014-05-14  Andreas Schwab  <schwab@suse.de>
1249         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1250         Remove code conditionalized on USE___THREAD.
1252         * config.h.in (HAVE_PT_CHOWN): Define as 0.
1253         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1254         not definedness.
1256 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1258         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1259         Define unconditionally.
1260         (__ASSUME_O_CLOEXEC): Likewise.
1261         (__ASSUME_SOCK_CLOEXEC): Likewise.
1262         (__ASSUME_IN_NONBLOCK): Likewise.
1263         (__ASSUME_PIPE2): Likewise.
1264         (__ASSUME_EVENTFD2): Likewise.
1265         (__ASSUME_SIGNALFD4): Likewise.
1266         (__ASSUME_DUP3): Likewise.
1267         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1268         (__ASSUME_DUP3): Do not define.
1269         (__ASSUME_EVENTFD2): Likewise.
1270         (__ASSUME_IN_NONBLOCK): Likewise.
1271         (__ASSUME_O_CLOEXEC): Likewise.
1272         (__ASSUME_PIPE2): Likewise.
1273         (__ASSUME_SIGNALFD4): Likewise.
1274         (__ASSUME_SOCK_CLOEXEC): Likewise.
1275         (__ASSUME_UTIMES): Undefine.
1276         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1277         (__ASSUME_UTIMES): Do not define.
1278         (__ASSUME_O_CLOEXEC): Likewise.
1279         (__ASSUME_SOCK_CLOEXEC): Likewise.
1280         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1281         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1282         0x020621].
1283         (__ASSUME_PIPE2): Likewise.
1284         (__ASSUME_EVENTFD2): Likewise.
1285         (__ASSUME_SIGNALFD4): Likewise.
1286         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1287         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1288         Do not define.
1289         (__ASSUME_EVENTFD2): Likewise.
1290         (__ASSUME_SIGNALFD4): Likewise.
1291         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1292         (__ASSUME_32BITUIDS): Likewise.
1293         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1294         (__ASSUME_IPC64): Likewise.
1295         (__ASSUME_ST_INO_64_BIT): Likewise.
1296         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1297         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1298         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1299         (__ASSUME_UTIMES): Do not define.
1300         (__ASSUME_PSELECT): Likewise.
1301         (__ASSUME_PPOLL): Likewise.
1302         (__ASSUME_O_CLOEXEC): Likewise.
1303         (__ASSUME_SOCK_CLOEXEC): Likewise.
1304         (__ASSUME_IN_NONBLOCK): Likewise.
1305         (__ASSUME_PIPE2): Likewise.
1306         (__ASSUME_EVENTFD2): Likewise.
1307         (__ASSUME_SIGNALFD4): Likewise.
1308         (__ASSUME_DUP3): Likewise.
1309         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1310         (__ASSUME_UTIMES): Likewise.
1311         (__ASSUME_O_CLOEXEC): Likewise.
1312         (__ASSUME_SOCK_CLOEXEC): Likewise.
1313         (__ASSUME_IN_NONBLOCK): Likewise.
1314         (__ASSUME_PIPE2): Likewise.
1315         (__ASSUME_EVENTFD2): Likewise.
1316         (__ASSUME_SIGNALFD4): Likewise.
1317         (__ASSUME_DUP3): Likewise.
1318         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1319         (__ASSUME_UTIMES): Likewise.
1320         (__ASSUME_O_CLOEXEC): Likewise.
1321         (__ASSUME_SOCK_CLOEXEC): Likewise.
1322         (__ASSUME_IN_NONBLOCK): Likewise.
1323         (__ASSUME_PIPE2): Likewise.
1324         (__ASSUME_EVENTFD2): Likewise.
1325         (__ASSUME_SIGNALFD4): Likewise.
1326         (__ASSUME_DUP3): Likewise.
1327         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1328         Likewise.
1329         (__ASSUME_UTIMES): Likewise.
1330         (__ASSUME_EVENTFD2): Likewise.
1331         (__ASSUME_SIGNALFD4): Likewise.
1332         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1333         (__ASSUME_O_CLOEXEC): Likewise.
1334         (__ASSUME_SOCK_CLOEXEC): Likewise.
1335         (__ASSUME_IN_NONBLOCK): Likewise.
1336         (__ASSUME_PIPE2): Likewise.
1337         (__ASSUME_EVENTFD2): Likewise.
1338         (__ASSUME_SIGNALFD4): Likewise.
1339         (__ASSUME_DUP3): Likewise.
1340         (__ASSUME_UTIMES): Undefine.
1342         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1343         feclearexcept.  Remove symbol versioning code.
1344         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
1345         symbol versioning code.
1346         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
1347         symbol versioning code.
1348         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1349         feupdateenv.  Remove symbol versioning code.
1350         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1351         fegetexceptflag.  Remove symbol versioning code.
1352         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1353         fesetexceptflag.  Remove symbol versioning code.
1354         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1355         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
1356         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1357         (__posix_fadvise64_l32): Remove prototype.
1358         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1359         code.
1361 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1363         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1364         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1365         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1366         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1368 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
1370         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1371         current working directory
1373 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1375         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1376         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1377         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1378         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1379         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1380         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1381         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1382         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1383         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1384         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1385         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1386         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1387         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1388         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1389         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1390         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1391         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1392         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1393         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1394         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1395         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1396         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1397         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1398         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1399         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1400         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1401         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1402         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1403         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1404         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1405         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1406         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1407         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1408         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1409         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1410         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1411         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1412         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1413         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1414         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1415         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1416         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1418         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1419         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1421         * sysdeps/unix/sysv/linux/arm/Makefile
1422         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1423         Add rt-aeabi_unwind_cpp_pr1.
1424         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1425         Add nptl-aeabi_unwind_cpp_pr1.
1426         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1427         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1428         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1429         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1430         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1431         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1433         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1434         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1435         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1436         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1438         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1439         Deconditionalize the code that was previously under [RESET_PID].
1440         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1442         * sysdeps/generic/exit-thread.h: New file.
1443         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1444         * include/unistd.h (__exit_thread): Remove declaration.
1445         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1446         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1447         * csu/libc-start.c: Include <exit-thread.h>.
1448         (LIBC_START_MAIN): Pass no argument to __exit_thread.
1449         * nptl/pthread_create.c: Include <exit-thread.h>.
1450         (start_thread): Call __exit_thread in place of __exit_thread_inline.
1451         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1452         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1453         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1454         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1455         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1456         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1457         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1458         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1459         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1460         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1461         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1462         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1463         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1464         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1465         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1466         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1468 2014-05-13  Andreas Schwab  <schwab@suse.de>
1470         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1472 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
1474         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1475         (__ASSUME_UTIMES): Do not condition on kernel version.
1476         (__ASSUME_PSELECT): Define unconditionally.
1477         (__ASSUME_PPOLL): Likewise.
1478         (__ASSUME_ATFCTS): Likewise.
1479         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1480         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1481         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1482         (__ASSUME_UTIMENSAT): Define unconditionally.
1483         (__ASSUME_PRIVATE_FUTEX): Likewise.
1484         (__ASSUME_FALLOCATE): Likewise.
1485         (__ASSUME_O_CLOEXEC): Likewise.
1486         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1487         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1488         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1489         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1490         (__ASSUME_IN_NONBLOCK): Likewise.
1491         (__ASSUME_PIPE2): Likewise.
1492         (__ASSUME_EVENTFD2): Likewise.
1493         (__ASSUME_SIGNALFD4): Likewise.
1494         (__ASSUME_DUP3): Likewise.
1495         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1496         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1497         (__ASSUME_AT_RANDOM): Likewise.
1498         (__ASSUME_PREADV): Likewise.
1499         (__ASSUME_PWRITEV): Likewise.
1500         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1501         (__ASSUME_F_GETOWN_EX): Define unconditionally.
1502         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1503         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1504         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1505         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1506         (__ASSUME_O_CLOEXEC): Define unconditionally.
1507         (__ASSUME_PSELECT): Do not undefine conditionally.
1508         (__ASSUME_PPOLL): Likewise.
1509         (__ASSUME_ATFCTS): Likewise.
1510         (__ASSUME_SET_ROBUST_LIST): Likewise.
1511         (__ASSUME_UTIMENSAT): Likewise.
1512         (__ASSUME_FDATASYNC): Define unconditionally.
1513         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1514         (__ASSUME_SIGFRAME_V2): Likewise.
1515         )__ASSUME_EVENTFD2): Likewise.
1516         (__ASSUME_SIGNALFD4): Likewise.
1517         (__ASSUME_PSELECT): Do not undefine conditionally.
1518         (__ASSUME_PPOLL): Likewise.
1519         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1520         (__ASSUME_PSELECT): Define unconditionally.
1521         (__ASSUME_PPOLL): Likewise.
1522         (__ASSUME_O_CLOEXEC): Likewise.
1523         (__ASSUME_SOCK_CLOEXEC): Likewise.
1524         (__ASSUME_IN_NONBLOCK): Likewise.
1525         (__ASSUME_PIPE2): Likewise.
1526         (__ASSUME_EVENTFD2): Likewise.
1527         (__ASSUME_SIGNALFD4): Likewise.
1528         (__ASSUME_DUP3): Likewise.
1529         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1530         (__ASSUME_O_CLOEXEC): Likewise.
1531         (__ASSUME_SOCK_CLOEXEC): Likewise.
1532         (__ASSUME_IN_NONBLOCK): Likewise.
1533         (__ASSUME_PIPE2): Likewise.
1534         (__ASSUME_EVENTFD2): Likewise.
1535         (__ASSUME_SIGNALFD4): Likewise.
1536         (__ASSUME_DUP3): Likewise.
1537         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1538         (__ASSUME_EVENTFD2): Likewise.
1539         (__ASSUME_SIGNALFD4): Likewise.
1540         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1542 2014-05-12  Andreas Schwab  <schwab@suse.de>
1544         [BZ #16932]
1545         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1546         (_nss_nis_gethostbyname4_r): Return error if item length is larger
1547         than maximum RPC packet size.
1548         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1549         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1550         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1551         (_nss_nis_getservbyport_r): Likewise.
1553 2014-05-12  Will Newton  <will.newton@linaro.org>
1555         * malloc/Makefile (tests): Add tst-mallopt.
1556         * malloc/tst-mallopt.c: New file.
1558 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1560         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1561         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1563 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1565         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1566         (tst-tlsmod6.so): Likewise.
1568 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1570         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1572 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
1574         [BZ #16064]
1575         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1576         and <dl-procinfo.h>.
1577         (__fegetenv): Save SSE state in envp->__eip if supported.
1578         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1579         envp->__eip if supported.
1580         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1581         and <dl-procinfo.h>.
1582         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1583         __data_offset and __data_selector in environment to 0.  Set SSE
1584         state if supported.
1585         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1586         test-fenv-sse.
1587         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1588         -mfpmath=sse.
1589         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1591 2014-05-09  Will Newton  <will.newton@linaro.org>
1593         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1594         and libc_relro_required for ARM.
1595         * sysdeps/arm/preconfigure: Regenerate.
1597 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1598             Stefan Liebler  <stli@linux.vnet.ibm.com>
1600         * config.make.in (enable-lock-elision): New Makefile variable.
1601         * configure.ac: Likewise.
1602         * configure: Regenerate.
1603         * sysdeps/s390/configure.ac:
1604         Add check for gcc transactions support.
1605         * sysdeps/s390/configure: Regenerate.
1606         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1607         Build elision files if enabled.
1608         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1609         Add lock elision support for s390.
1610         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1611         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1612         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1613         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1614         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1615         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1616         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1617         Likewise.
1618         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1619         Likewise.
1620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1621         Likewise.
1622         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1623         Likewise.
1624         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1625         (__lll_timedlock_elision, __lll_lock_elision)
1626         (__lll_unlock_elision, __lll_trylock_elision)
1627         (lll_timedlock_elision, lll_lock_elision)
1628         (lll_unlock_elision, lll_trylock_elision): Add.
1629         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1630         (pthread_mutex_t): Add lock elision support for s390.
1632 2014-05-14  Wilco  <wdijkstr@arm.com>
1634         * sysdeps/arm/fclrexcpt.c: Cleanup.
1635         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1636         * sysdeps/arm/feenablxcpt.c: Cleanup.
1637         * sysdeps/arm/fegetenv.c: Cleanup.
1638         * sysdeps/arm/fegetexcept.c: Cleanup.
1639         * sysdeps/arm/fegetround.c: Cleanup.
1640         * sysdeps/arm/feholdexcpt.c: Cleanup.
1641         * sysdeps/arm/fesetenv.c: Cleanup.
1642         * sysdeps/arm/fesetround.c: Cleanup.
1643         * sysdeps/arm/feupdateenv.c: Cleanup.
1644         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1645         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1646         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1647         * sysdeps/arm/ftestexcept.c: Cleanup.
1648         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1649         * sysdeps/arm/setfpucw.c: Cleanup.
1651 2014-05-09  Will Newton  <will.newton@linaro.org>
1653         * sysdeps/arm/armv7/strcmp.S: New file.
1654         * NEWS: Mention addition of ARMv7 optimized strcmp.
1656 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1658         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1659         look for %.ac rather than %.in.
1661         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1662         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1663         * sysdeps/mach/hurd/configure: Regenerated.
1664         * sysdeps/unix/sysv/linux/configure: Regenerated.
1666         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1668 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1670         [BZ# 16922]
1671         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1672         (LONG_SUB): Ditto.
1673         (PTR_SUB): Ditto.
1675 2014-05-07  Andreas Schwab  <schwab@suse.de>
1677         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1678         when skipping over non-matching result from nscd.
1680 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1682         [BZ #16876]
1683         * nptl/sockperf.c (client): Check socket return value.
1685         [BZ #16877]
1686         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1687         nscd security class.
1689 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1691         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1692         * sysdeps/arm/unwind.h: ... here.
1694 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1696         [BZ# 16916]
1697         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1698         Define.
1700 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1702         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1703         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1704         multiarch strncpy for PPC64.
1705         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1706         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1708         multiarch optimizations.
1709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1710         (__libc_ifunc_impl_list): Likewise.
1711         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1712         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1713         multiarch stpncpy for PPC64.
1714         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1715         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1717 2014-05-06  Andreas Schwab  <schwab@suse.de>
1719         [BZ #16912]
1720         * gmon/mcount.c (_MCOUNT_DECL): Use
1721         atomic_compare_and_exchange_bool_acq instead of
1722         catomic_compare_and_exchange_bool_acq.
1724 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1726         * elf/Makefile (others, install-bin): Remove pldd.
1727         (pldd-modules): Variable removed.
1728         ($(objpfx)pldd): Target removed.
1729         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1730         (others, install-bin): Append pldd here.
1731         ($(objpfx)pldd): New target.
1733         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1734         to 0, so the first #if test emitted later doesn't see it undefined.
1735         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1736         * sysdeps/gnu/errlist.c: Regenerated.
1738 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1740         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1741         [libc_hidden_builtin_def]: Define to empty value.
1742         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1743         [libc_hidden_builtin_def]: Likewise.
1744         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1745         [libc_hidden_builtin_def]: Likewise.
1746         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1747         [libc_hidden_builtin_def]: Likewise.
1748         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1749         __redirect_memcpy and define ifunc as default hidden symbol.
1750         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1751         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1753 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1755         * locale/iso-4217.def: Reintroduce XDR currency.
1757 2014-05-04  Allan McRae  <allan@archlinux.org>
1759         * po/eo.po: Update Esperanto translation from translation project.
1761 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1763         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1764         and FEATURE_INDEX_MAX to 1.
1765         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1767 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1769         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1770         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1771         * iconvdata/big5.c (ONE_DIRECTION): Define.
1772         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1773         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1774         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1775         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1776         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1777         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1778         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1779         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1780         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1781         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1782         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1783         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1784         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1785         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1786         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1787         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1788         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1789         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1790         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1791         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1792         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1793         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1794         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1795         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1796         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1797         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1798         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1799         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1800         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1801         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1802         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1803         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1804         * iconvdata/johab.c (ONE_DIRECTION): Define.
1805         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1806         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1807         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1808         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1809         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1810         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1811         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1812         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1813         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1814         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1816 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1818         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1819         (_IO_JUMPS_OFFSET): Define to 0.
1821         * nptl/sysdeps/pthread/bits/libc-lock.h
1822         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1823         (__libc_lock_define_initialized_recursive): Always define using
1824         initializer.  Modern compilers treat uninitialized (implicit zero) and
1825         explicit zero initializers the same (i.e. put the datum in bss).
1827 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1829         * nscd/nscd-client.h: Include <string.h>.
1831 2014-05-01  David S. Miller  <davem@davemloft.net>
1833         [BZ #16885]
1834         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1835         multiple zero bytes exist at the end of a string.
1836         Reported by Aurelien Jarno <aurelien@aurel32.net>
1838         * string/test-strcmp.c (check): Add explicit test for situations where
1839         there are multiple zero bytes after the first.
1841 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1843         [BZ #16890]
1844         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1845         when compiling wprintf.
1846         * stdio-common/tstdiomisc.c (t3): New function.
1847         (main): Call it.
1849 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1851         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1852         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1853         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1854         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1856 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1858         * stdlib/longlong.h: Updated from GCC.
1860 2014-05-01  Will Newton  <will.newton@linaro.org>
1861             Bernard Ogden  <bernie.ogden@linaro.org>
1863         * NEWS: Update fixed bug list.
1865         [BZ #15119]
1866         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1868 2014-04-30  David S. Miller  <davem@davemloft.net>
1870         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1871         (libc_feholdexcept_setround_sparc_ctx): New function.
1872         (libc_fesetenv_sparc_ctx): Likewise.
1873         (libc_feupdateenv_sparc_ctx): Likewise.
1874         (libc_feholdsetround_sparc_ctx): Likewise.
1875         (libc_feholdexcept_setround_ctx): Define.
1876         (libc_feholdexcept_setroundf_ctx): Likewise.
1877         (libc_feholdexcept_setroundl_ctx): Likewise.
1878         (libc_fesetenv_ctx): Likewise.
1879         (libc_fesetenvf_ctx): Likewise.
1880         (libc_fesetenvl_ctx): Likewise.
1881         (libc_feupdateenv_ctx): Likewise.
1882         (libc_feupdateenvf_ctx): Likewise.
1883         (libc_feupdateenvl_ctx): Likewise.
1884         (libc_feresetround_ctx): Likewise.
1885         (libc_feresetroundf_ctx): Likewise.
1886         (libc_feresetroundl_ctx): Likewise.
1887         (libc_feholdsetround_ctx): Likewise.
1888         (libc_feholdsetroundf_ctx): Likewise.
1889         (libc_feholdsetroundl_ctx): Likewise.
1891         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1892         with __USE_GNU instead of XOPEN cpp guards.
1894         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1895         0.
1897         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1898         with XOPEN cpp guards.
1900 2014-04-30  Julian Brown  <julian@codesourcery.com>
1902         [BZ #16888]
1903         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1904         handling.
1906 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1908         [BZ #9894]
1909         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1910         Change to 2.6.32.
1911         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1912         * sysdeps/unix/sysv/linux/configure: Regenerated.
1913         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1914         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1915         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1916         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1917         * README: Update reference to required Linux kernel version.
1918         * manual/install.texi (Linux): Update reference to required Linux
1919         kernel headers version.
1920         * INSTALL: Regenerated.
1922         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1923         header inclusion.
1924         [POSIX] (limits.h): Likewise.
1925         [POSIX] (math.h): Likewise.
1926         [POSIX] (sys/wait.h): Likewise.
1927         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1928         function.
1929         [POSIX] (stddef.h): Do not allow header inclusion.
1931 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1933         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1935 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1937         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1938         Return immediately after lll_futex_wake.
1940 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1942         [BZ #16791]
1943         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1944         structure.
1945         (datahead_init_pos): Call datahead_init_common early.
1946         (datahead_init_neg): Likewise.
1948         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1949         datahead_init_neg): New functions.
1950         * nscd/aicache.c (addhstaiX): Use them.
1951         * nscd/grpcache.c (cache_addgr): Likewise.
1952         * nscd/hstcache.c (cache_addhst): Likewise.
1953         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1954         * nscd/netgroupcache.c (do_notfound): Likewise.
1955         (addgetnetgrentX): Likewise.
1956         (addinnetgrX): Likewise.
1957         * nscd/pwdcache.c (cache_addpw): Likewise.
1958         * nscd/servicescache.c (cache_addserv): Likewise.
1960 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1961             Atsushi Onoe  <atsushi@onoe.org>
1963         [BZ #14308]
1964         [BZ #12994]
1965         [BZ #13651]
1966         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1967         one response is valid.
1968         * resolv/res_send.c (send_dg): Check for validity of other
1969         response if the current response is a referral.
1971 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1973         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1975 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1977         [BZ #16823]
1978         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1979         Always divide by positive zero when computing -Inf result.
1980         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1981         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1983 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1985         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1986         FPSCR if value do not change.
1987         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1988         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1989         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1990         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1991         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1992         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1993         function.
1995 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1997         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1998         * sysdeps/unix/sysv/linux/hppa: Move directory from
1999         ports/systeps/unix/sysv/linux/hppa.
2000         * README: Update listing for hppa-*-linux-gnu.
2002 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
2004         [BZ #16754]
2005         * manual/stdio.texi (Hook functions): Fix types of stream hook
2006         functions.
2007         [BZ #16854]
2008         * socket/sys/socket.h: Fix typo in comment.
2010 2014-04-28  Wilco  <wdijkstr@arm.com>
2012         * sysdeps/arm/fenv_private.h: New file.
2013         * sysdeps/arm/math_private.h: New file.
2014         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2016 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
2018         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2019         with __int128_t.
2020         (La_x86_64_retval): Likewise.
2022 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
2024         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2025         fpsr if value didn't change.
2026         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2027         to fpcr if value didn't change.
2028         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2029         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2030         fpsr or fpcr if value didn't change.
2031         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2032         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2033         fpcr if value didn't change.
2034         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2035         to fpsr if value didn't change.
2037 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2039         * nptl/tst-sem3.c: Use test-skeleton.c
2040         (main): Rename to do_test.  Use return instead of
2041         exit.
2042         * nptl/tst-sem4.c: Use test-skeleton.c
2043         (main): Rename to do_test.
2045 2014-04-22  David S. Miller  <davem@davemloft.net>
2047         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2048         (struct sigaction): New struct member __glibc_reserved0, change
2049         type of sa_flags to int.
2051 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
2053         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2054         (COUNT_LEADING_ZEROS_0): Define for AArch64.
2056 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2058         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2059         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2061 2014-04-22  Will Newton  <will.newton@linaro.org>
2062             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
2064         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2065         (__longjmp): Add longjmp and longjmp_target SystemTap
2066         probes.
2067         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2068         (__sigsetjmp): Add setjmp SystemTap probe.
2070 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
2072         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2073         match manual order.
2075 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2077         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2079         * sysdeps/powerpc/fpu/fenv_private.h
2080         (libc_feholdexcept_setroundl_ctx): Define to
2081         libc_feholdexcept_setround_ppc_ctx.
2082         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2083         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2084         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2085         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2087 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2089         * sysdeps/aarch64/math-tests.h: New file.
2091 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
2093         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2094         New.
2095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2096         Check and set bit_AVX2_Usable.
2097         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2098         macro.
2099         (bit_AVX2): Likewise.
2100         (index_AVX2_Usable): Likewise.
2101         (CPUID_AVX2): Likewise.
2102         (HAS_AVX2): Likewise.
2104 2014-04-17  Will Newton  <will.newton@linaro.org>
2106         * manual/setjmp.texi (System V contexts): Add note that
2107         calling setcontext on a context created by a call to a
2108         signal handler is undefined.  Update text to note that
2109         setcontext from a signal handler is possible but not
2110         recommended.
2112         [BZ #16629]
2113         * stdlib/tst-setcontext.c: Include signal.h.
2114         (main): Check that the signal stack before and
2115         after swapcontext is the same.
2117         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2118         Re-implement to restore registers in user code and avoid
2119         rt_sigreturn system call.
2121 2014-04-17  Wilco  <wdijkstr@arm.com>
2123         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2124         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2125         * math/test-fenv.c: Skip exception trap tests on targets which only
2126         support non-stop mode.
2128 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2129             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2131         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2132         (libc_feholdsetround_aarch64_ctx)
2133         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2134         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2135         (libc_feresetround_ctx, libc_feresetroundf_ctx)
2136         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2137         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2138         (libc_feresetround_noexl_ctx): Define.
2140 2014-04-16  Richard Henderson  <rth@redhat.com>
2142         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2144         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2145         unwind tables.
2147         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2148         const from the non-libc, non-ldso copy.
2150         * sysdeps/alpha/libm-test-ulps: Regenerate.
2152 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
2153             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2155         * sysdeps/aarch64/fpu/math_private.h: New file.
2157 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2159         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2161 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
2163         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2164         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2165         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2166         Intel MPX bound registers before _dl_profile_fixup.
2167         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2168         registers after _dl_profile_fixup.  Save and restore bound
2169         registers bnd0/bnd1 when calling _dl_call_pltexit.
2170         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2171         (LR_BND_OFFSET): Likewise.
2172         (LRV_BND0_OFFSET): Likewise.
2173         (LRV_BND1_OFFSET): Likewise.
2175 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2177         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2178         to...
2179         * sysdeps/mach/hurd/i386/tls.h: ... here.
2180         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2181         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2182         fields.
2184 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2186         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2188 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2190         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2192 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2194         [BZ #14770]
2195         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2196         * sysdeps/s390/configure: Regenerate.
2198         [BZ #16824]
2199         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2200         Set round-to-nearest internally to reduce error accumulation.
2202 2014-04-16  Alan Modra  <amodra@gmail.com>
2204         [BZ #16740]
2205         [BZ #16619]
2206         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2207         * math/libm-test.inc (frexp_test_data): Add tests.
2208         * NEWS: Update fixed bug list.
2210 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2212         * benchtests/Makefile: Depend on libraries in build directory.
2213         (bench-math): Separate out math tests.
2214         (bench-pthread): Separate out pthread tests.
2215         (bench): Include math and pthread tests.
2217 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
2219         [BZ #16831]
2220         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2221         _dl_debug_initialize.
2223         * configure.ac: Remove SELinux header check.
2224         * configure: Regenerate.
2225         * nscd/selinux.c (perms): Array of const char* to permission names.
2226         (nscd_request_avc_has_perm): Call security_deny_unknown to find
2227         default policy. Call string_to_security_class and string_to_av_perm to
2228         translate strings. Enforce default policy and call avs_has_perm with
2229         results of translated strings.
2231 2014-04-13  David S. Miller  <davem@davemloft.net>
2233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2235 2014-04-12  Allan McRae  <allan@archlinux.org>
2237         [BZ #16838]
2238         * manual/string.texi (Collation Functions): Fix qsort argument
2239         order in example.
2240         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2242 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
2244         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2245         Make the test a no-op if there are no exceptions defined.
2247 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2249         * elf/Makefile (tests): make tst-dlopen-aout conditional on
2250         enable-hardcoded-path-in-tests
2252 2014-04-11  Will Newton  <will.newton@linaro.org>
2254         * benchtests/Makefile (extra-objs): Add json-lib.o.
2255         (bench-func): Tidy up JSON output.
2256         * benchtests/bench-skeleton.c: Include json-lib.h.
2257         (main): Use JSON library functions to do output of
2258         benchmark results.
2259         * benchtests/bench-timing-type.c (main): Output the
2260         timing type simply, leaving formatting to the user.
2261         * benchtests/json-lib.c: New file.
2262         * benchtests/json-lib.h: Likewise.
2264 2014-04-11  Torvald Riegel  <triegel@redhat.com>
2266         [BZ #15215]
2267         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2268         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
2269         memory barriers.  Add comments.
2270         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2271         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2272         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2273         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2274         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2275         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2277 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2279         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2280         * sysdeps/s390/s390-64/configure.ac: ... this ...
2281         * sysdeps/s390/configure.ac: ... to here.
2282         * sysdeps/s390/s390-32/configure: Delete file.
2283         * sysdeps/s390/s390-64/configure: Delete file.
2284         * sysdeps/s390/configure: Regenerate.
2286 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
2288         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2290 2014-04-11  Will Newton  <will.newton@linaro.org>
2292         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2293         to zero if it is not defined elsewhere.  (mtrim): Test
2294         the value of MALLOC_DEBUG with #if rather than #ifdef.
2296 2014-04-10 Torvald Riegel  <triegel@redhat.com>
2298         * benchtests/pthread_once-inputs: New file.
2299         * benchtests/pthread_once-source.c: New file.
2300         * benchtests/README: Update documentation.
2302 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2303             H.J. Lu  <hongjiu.lu@intel.com>
2305         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2306         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2307         * sysdeps/x86_64/configure: Regenerated.
2308         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2309         macro.
2310         (REGISTER_SAVE_RAX): Likewise.
2311         (REGISTER_SAVE_RCX): Likewise.
2312         (REGISTER_SAVE_RDX): Likewise.
2313         (REGISTER_SAVE_RSI): Likewise.
2314         (REGISTER_SAVE_RDI): Likewise.
2315         (REGISTER_SAVE_R8): Likewise.
2316         (REGISTER_SAVE_R9): Likewise.
2317         (REGISTER_SAVE_BND0): Likewise.
2318         (REGISTER_SAVE_BND1): Likewise.
2319         (REGISTER_SAVE_BND2): Likewise.
2320         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
2321         bound registers when calling _dl_fixup.
2323 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2325         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2326         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2327         of its definition.
2328         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2329         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2330         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2331         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2332         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2333         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2334         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2336 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
2338         [BZ #15514]
2339         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2340         pathconf(_PC_NAME_MAX).
2342 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2344         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2345         Remove macro usage.
2346         (__PTHREAD_SPINS): Move definition to ...
2347         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2348         (__PTHREAD_SPINS): ... here.
2349         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2350         (__PTHREAD_SPIN): Likewise.
2351         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2352         (__PTHREAD_SPIN): Likewise.
2353         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2354         (__PTHREAD_SPIN): Likewise.
2355         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2356         (__PTHREAD_SPIN): Likewise.
2357         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2358         (__PTHREAD_SPIN): Likewise.
2359         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2360         (__PTHREAD_SPIN): Likewise.
2361         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2362         (__PTHREAD_SPIN): Likewise.
2363         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2364         (__PTHREAD_SPIN): Likewise.
2365         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2366         (__PTHREAD_SPIN): Likewise.
2367         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2368         (__PTHREAD_SPIN): Likewise.
2369         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2370         (__PTHREAD_SPIN): Likewise.
2371         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2372         (__PTHREAD_SPIN): Likewise.
2374         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2375         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2376         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2377         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2378         imply folder.
2379         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2380         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2381         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2382         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2383         correct imply path.
2384         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2385         strlen symbol for non multi-arch builds.
2386         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2387         missing hidden_def and weak_alias.
2389 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
2391         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2393 2014-04-07  Will Newton  <will.newton@linaro.org>
2395         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2396         and contents.  [!_LIBC] Remove #ifndef and contents.
2397         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
2398         * string/memccpy.c (__memccpy): Use ANSI prototype.
2399         * string/memfrob.c (memfrob): Likewise.
2400         * string/strcoll.c (STRCOLL): Likewise.
2401         * string/strlen.c (strlen): Likewise.
2402         * string/strtok.c (STRTOK): Likewise.
2403         * string/strcat.c: Remove unused #include of memcopy.h.
2404         (strcat): Use ANSI prototype.
2405         * string/strchr.c: Remove unused #include of memcopy.h.
2406         (strchr): Use ANSI prototype.
2407         * string/strcmp.c: Remove unused #include of memcopy.h.
2408         (strcmp): Use ANSI prototype.
2409         * string/strcpy.c: Remove unused #include of memcopy.h.
2410         (strcpy): Use ANSI prototype.
2412 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2414         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2415         * config.make.in (config-extra-cppflags): Set it from
2416         libc_extra_cppflags.
2417         * configure.ac (libc_extra_cflags): Make it accumulate over
2418         configure fragments.
2419         (libc_extra_cppflags): New flag.
2420         * configure. Regenerate.
2421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2422         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2423         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2426         [BZ #16815]
2427         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2428         result for FE_DOWNWARD rounding mode.
2429         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2430         Likewise.
2431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2433 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
2435         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2436         in function argument name.
2438 2014-04-03  David Svoboda  <svoboda@cert.org>
2440         [BZ #5666]
2441         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2442         explicitly.
2444 2014-04-03  Roland McGrath  <roland@hack.frob.com>
2446         * elf/dl-unmap-segments.h: New file.
2447         * sysdeps/generic/ldsodefs.h
2448         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2449         * elf/dl-close.c: Include <dl-unmap-segments.h>.
2450         * elf/dl-fptr.c: Likewise.
2451         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2452         * sysdeps/aarch64/tlsdesc.c: Likewise.
2453         * sysdeps/arm/tlsdesc.c: Likewise.
2454         * sysdeps/i386/tlsdesc.c: Likewise.
2455         * sysdeps/tile/dl-runtime.c: Likewise.
2456         * sysdeps/x86_64/tlsdesc.c: Likewise.
2457         * elf/dl-load.h: New file.
2458         * elf/dl-load.c: Include it.
2459         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2460         Macros moved to dl-load.h.
2461         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2462         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2463         Use _dl_unmap_segments in place of __munmap.
2464         Break out segment-mapping loop into ...
2465         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2467 2014-04-03  Will Newton  <will.newton@linaro.org>
2469         * elf/dl-lookup.c (do_lookup_x): Remove comment
2470         referring to nested function and move variable
2471         declarations down to before first use.
2473 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
2475         [BZ #16799]
2476         [BZ #16800]
2477         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2478         with 0 numerator.
2479         * math/s_catanf.c (__catanf): Likewise.
2480         * math/s_catanh.c (__catanh): Likewise.
2481         * math/s_catanhf.c (__catanhf): Likewise.
2482         * math/s_catanhl.c (__catanhl): Likewise.
2483         * math/s_catanl.c (__catanl): Likewise.
2484         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2485         by positive zero when computing -Inf result.
2486         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2487         (catanh_test): Likewise.
2488         * sysdeps/i386/fpu/libm-test-ulps: Update.
2489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2491         [BZ #16789]
2492         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2493         instead of using underflowing value in computing result.
2494         * math/s_clog10.c (__clog10): Likewise.
2495         * math/s_clog10f.c (__clog10f): Likewise.
2496         * math/s_clog10l.c (__clog10l): Likewise.
2497         * math/s_clogf.c (__clogf): Likewise.
2498         * math/s_clogl.c (__clogl): Likewise.
2499         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2500         (clog10_test): Likewise.
2501         * sysdeps/i386/fpu/libm-test-ulps: Update.
2502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2504 2014-04-02  Alan Modra  <amodra@gmail.com>
2506         [BZ #16739]
2507         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2508         output when value is near a power of two.  Use int64_t for lx and
2509         remove casts.  Use decimal rather than hex exponent constants.
2510         Don't use long double multiplication when double will suffice.
2511         * math/libm-test.inc (nextafter_test_data): Add tests.
2512         * NEWS: Add 16739 and 16786 to bug list.
2514         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2516         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2518 2014-04-01  Will Newton  <will.newton@linaro.org>
2520         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2521         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
2523 2014-04-01  Florian Weimer  <fweimer@redhat.com>
2525         [BZ #13347]
2526         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2527         * nptl/tst-setuid2.c: New file.
2528         * nptl/Makefile (xtests): Add tst-setuid2.
2530 2014-04-01  Alan Modra  <amodra@gmail.com>
2532         [BZ #16786]
2533         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2535 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2537         [BZ #6803]
2538         [BZ #6804]
2539         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2540         set errno as appropriate.
2541         * math/w_scalbf.c (__scalbf): Likewise.
2542         * math/w_scalbl.c (__scalbl): Likewise.
2543         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2544         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2545         * math/libm-test.inc (scalb_test_data): Add errno expectations.
2546         Add more NaN tests.
2548         [BZ #16349]
2549         * math/w_atan2.c: Include <errno.h>.
2550         (__atan2): Set errno for result underflowing to zero.
2551         * math/w_atan2f.c: Include <errno.h>.
2552         (__atan2f): Set errno for result underflowing to zero.
2553         * math/w_atan2l.c: Include <errno.h>.
2554         (__atan2l): Set errno for result underflowing to zero.
2555         * math/auto-libm-test-in: Don't allow missing errno for some atan2
2556         tests.
2557         * math/auto-libm-test-out: Regenerated.
2559 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2561         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2562         Encode instruction correctly in little endian.
2563         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2564         Likewise.
2565         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2566         Likewise.
2567         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2568         Likewise.
2569         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2570         Likewise.
2572 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2574         [BZ #9894]
2575         * sysdeps/unix/sysv/linux/kernel-features.h
2576         [__sparc__ && !__arch64__ && !__sparc_v9__]
2577         (__ASSUME_SET_ROBUST_LIST): Do not define.
2578         [__sparc__ && !__arch64__ && !__sparc_v9__]
2579         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2580         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2581         Likewise.
2582         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2583         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2584         (__ASSUME_REQUEUE_PI): Likewise.
2585         (__ASSUME_SET_ROBUST_LIST): Likewise.
2586         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2587         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2588         Undefine.
2589         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2590         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2591         Likewise.
2592         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2593         Likewise.
2594         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2595         Likewise.
2596         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2597         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2598         Undefine.
2599         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2600         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2601         Likewise.
2603         [BZ #16648]
2604         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2605         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2606         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2608 2014-03-31  Will Newton  <will.newton@linaro.org>
2610         * benchtests/Makefile (bench): Add ffs and ffsll to list
2611         of tests.
2612         * benchtests/ffs-inputs: New file.
2613         * benchtests/ffsll-inputs: Likewise.
2615 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2617         [BZ #16770]
2618         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2619         too large before casting to int.
2620         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2621         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2622         * math/libm-test.inc (scalb_test_data): Add more tests.
2624 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2626         * benchtests/Makefile (DETAILED_OPT): New make option.
2627         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2628         set.
2629         * benchtests/bench-skeleton.c: Include stdbool.h.
2630         (main): Store and print timings per input.
2631         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2632         member to each argument value.
2633         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2634         (_print_arg_data): Initialize per-input timing to 0.
2636         * benchtests/Makefile (timing-type): New binary.
2637         (bench-clean): Also remove bench-timing-type.
2638         (bench): New target for timing-type.
2639         (bench-func): Print output in JSON format.
2640         * benchtests/bench-skeleton.c (main): Print output in JSON
2641         format.
2642         * benchtests/bench-timing-type.c: New file.
2643         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2644         (TIMING_PRINT_STATS): Remove.
2645         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2646         name separately.
2648         * benchtests/bench-modf.c: Remove.
2649         * benchtests/modf-inputs: New inputs file.
2651 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2653         [BZ #16362]
2654         * math/s_clog10.c (M_PI_LOG10E): New macro.
2655         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2656         imaginary parts are 0.
2657         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2658         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2659         imaginary parts are 0.
2660         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2661         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2662         imaginary parts are 0.
2663         * math/libm-test.inc (clog10_test_data): Update expected results
2664         for when real and imaginary parts are 0.
2666 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2668         * elf/dl-load.c: Finish conversion of __builtin_expect into
2669         __glibc_{un}likely.
2671 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2673         [BZ #16348]
2674         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2675         1+x for argument with exponent below -67.
2676         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2677         Likewise.
2678         * math/auto-libm-test-in: Add more tests of exp.
2679         * math/auto-libm-test-out: Regenerated.
2681 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2683         [BZ #16759]
2684         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2685         (nscd_getnetgrent): Use it.
2687         [BZ #16760]
2688         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2689         of stpcpy.
2691 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2693         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2694         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2695         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2696         (lll_robust_unlock): Remove out of line section. Use cfi
2697         intrinsics.
2698         (LLL_STUB_UNWIND_INFO*): Remove.
2699         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2700         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2701         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2702         (lll_robust_unlock): Remove out of line section. Use cfi
2703         intrinsics.
2704         (LLL_STUB_UNWIND_INFO*): Remove.
2706 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2708         [BZ #16758]
2709         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2710         blank values.
2712 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2714         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2716 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2718         [BZ #16198]
2719         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2720         fnstenv.
2721         * math/test-fenv-preserve.c: New file.
2722         * math/Makefile (tests): Add test-fenv-preserve.
2724 2014-03-26  Will Newton <will.newton@linaro.org>
2726         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2728 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2730         * scripts/versionlist.awk: Partition the version sets and emit all
2731         GLIBC_* (sorted) before all others (sorted).
2733 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2735         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2736         GLIBC_2.2.5 version.
2738 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2740         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2741         calls.
2743         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2744         previous change.
2746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2748 2014-03-25  Andreas Schwab  <schwab@suse.de>
2750         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2751         label to be used after in6ailist is initialized.
2753 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2755         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2756         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2758 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2760         [BZ #16357]
2761         [BZ #16599]
2762         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2763         min_plus_half.
2764         (fp_formats): Update initializers.
2765         (init_fp_formats): Initialize new field.
2766         (output_for_one_input_case): Allow underflow for results up to
2767         min_plus_half.
2768         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2769         * math/auto-libm-test-in: Don't mark some underflows from asin and
2770         atanh as spurious.
2771         * math/auto-libm-test-out: Regenerated.
2772         * sysdeps/i386/fpu/libm-test-ulps: Update.
2773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2775 2014-03-25  Andreas Schwab  <schwab@suse.de>
2777         * libio/Makefile (tst-ftell-partial-wide-ENV)
2778         (tst-ftell-active-handler-ENV): Define.
2780 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2782         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2784 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2786         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2788 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2790         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2791         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2792         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2794 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2796         [BZ #16634]
2797         * elf/dl-load.c (open_verify): Add mode parameter.
2798         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2799         (open_path): Change from boolean 'secure' to complete flag 'mode'
2800         (_dl_map_object): Adjust.
2801         * elf/Makefile (tests): Add tst-dlopen-aout.
2802         * elf/tst-dlopen-aout.c: New test.
2804 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2806         [BZ #16714]
2807         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2808         (struct stat): Rename member pad0 to __glibc_reserved0.
2810         [BZ #16712]
2811         * sysdeps/s390/s390-32/bits/wordsize.h
2812         (__WORDSIZE32_SIZE_ULONG): New define.
2813         * sysdeps/s390/s390-64/bits/wordsize.h
2814         (__WORDSIZE32_SIZE_ULONG): Likewise.
2815         * sysdeps/generic/stdint.h (SIZE_MAX):
2816         Define as UL if __WORDSIZE32_SIZE_ULONG.
2818         [BZ #16713]
2819         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2820         (__glibc_reserved0): New variable.
2821         (sa_flags): Change type to int.
2823         * posix/Makefile (before-compile): Use += before-compile instead
2824         of a :=.
2826         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2827         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2829 2014-03-20  Andreas Schwab  <schwab@suse.de>
2831         [BZ #16743]
2832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2833         non-matching result from nscd.
2835 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2837         * scripts/bench.py: Moved to ...
2838         * benchtests/scripts/bench.py: ... here.
2839         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2841 2014-03-24  Andreas Schwab  <schwab@suse.de>
2843         [BZ #16002]
2844         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2845         alloca_account and account alloca use for struct in6ailist.
2847 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2849         [BZ #16284]
2850         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2851         rounding mode to recompute results that overflow to infinity or
2852         underflow to zero.
2853         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2854         bug 16284.
2855         * math/auto-libm-test-out: Regenerated.
2856         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2857         (ccosh_test): Likewise.
2858         (csin_test_data): Use plus_oflow.
2859         (csin_test): Use ALL_RM_TEST.
2860         (csinh_test_data): Use plus_oflow.
2861         (csinh_test): Use ALL_RM_TEST.
2862         * sysdeps/i386/fpu/libm-test-ulps: Update.
2863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2865 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2867         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2868         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2869         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2871         [BZ #16731]
2872         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2873         when x - 1 is zero.
2874         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2875         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2876         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2877         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2878         argument is 1.
2879         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2880         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2881         zero.
2882         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2883         * sysdeps/i386/fpu/libm-test-ulps: Update.
2884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2886 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2888         * scripts/bench.pl: Remove file.
2889         * scripts/bench.py: New benchmark script.
2890         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2891         * benchtests/README: Mention python dependency.
2892         * scripts/pylintrc: New file.
2893         * scripts/pylint: New file.
2895         * bits/mathdef.h: Use #ifdef instead of #if.
2896         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2897         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2898         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2899         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2900         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2901         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2903 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2904             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2906         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2908         and strpbrk-ppc64 objects.
2909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2910         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2911         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2912         multiarch strpbrk for POWER7.
2913         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2914         multiarch strpbrk for PPC64.
2915         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2916         ifunc selector.
2917         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2918         strpbrk for POWER7.
2920 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2922         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2923         (atan_test): Likewise.
2924         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2925         (atanh_test): Use ALL_RM_TEST.
2926         (atan2_test_data): Likewise.
2927         (cabs_test): Likewise.
2928         (cacosh_test): Likewise.
2929         (carg_test): Likewise.
2930         (casin_test): Likewise.
2931         (casinh_test): Likewise.
2932         (cbrt_test): Likewise.
2933         (csqrt_test): Likewise.
2934         (erf_test): Likewise.
2935         (erfc_test): Likewise.
2936         (pow10_test): Likewise.
2937         (exp2_test): Likewise.
2938         (hypot_test): Likewise.
2939         (j0_test): Likewise.
2940         (j1_test): Likewise.
2941         (lgamma_test): Likewise.
2942         (gamma_test): Likewise.
2943         (sincos_test): Likewise.
2944         (tanh_test): Likewise.
2945         (y0_test): Likewise.
2946         (y1_test): Likewise.
2947         * sysdeps/i386/fpu/libm-test-ulps: Update.
2948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2950 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2952         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2954         and strcspn-ppc64 objects.
2955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2956         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2957         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2958         multiarch strcspn for POWER7.
2959         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2960         multiarch strcspn for PPC64.
2961         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2962         ifunc selector.
2963         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2964         strcspn for POWER7.
2966 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2968         * math/gen-libm-test.pl (generate_testfile): Expect only function
2969         name as argument to AUTO_TESTS_* and pass results for all rounding
2970         modes to parse_args.
2971         (parse_auto_input): Separate inputs of automatic tests from
2972         outputs before storing in %auto_tests.
2973         * math/libm-test.inc (acos_test_data): Update call to
2974         AUTO_TESTS_f_f.
2975         (acos_test): Use ALL_RM_TEST.
2976         (acos_tonearest_test_data): Remove.
2977         (acos_test_tonearest): Likewise.
2978         (acos_towardzero_test_data): Likewise.
2979         (acos_test_towardzero): Likewise.
2980         (acos_downward_test_data): Likewise.
2981         (acos_test_downward): Likewise.
2982         (acos_upward_test_data): Likewise.
2983         (acos_test_upward): Likewise.
2984         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2985         (asin_test_data): Likewise.
2986         (asin_test): Use ALL_RM_TEST.
2987         (asin_tonearest_test_data): Remove.
2988         (asin_test_tonearest): Likewise.
2989         (asin_towardzero_test_data): Likewise.
2990         (asin_test_towardzero): Likewise.
2991         (asin_downward_test_data): Likewise.
2992         (asin_test_downward): Likewise.
2993         (asin_upward_test_data): Likewise.
2994         (asin_test_upward): Likewise.
2995         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2996         (atan_test_data): Likewise.
2997         (atanh_test_data): Likewise.
2998         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2999         (cabs_test_data): Update call to AUTO_TESTS_c_f.
3000         (carg_test_data): Likewise.
3001         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3002         (ccos_test_data): Update call to AUTO_TESTS_c_c.
3003         (ccosh_test_data): Likewise.
3004         (cexp_test_data): Likewise.
3005         (clog_test_data): Likewise.
3006         (clog10_test_data): Likewise.
3007         (cos_test_data): Update call to AUTO_TESTS_f_f.
3008         (cos_test): Use ALL_RM_TEST.
3009         (cos_tonearest_test_data): Remove.
3010         (cos_test_tonearest): Likewise.
3011         (cos_towardzero_test_data): Likewise.
3012         (cos_test_towardzero): Likewise.
3013         (cos_downward_test_data): Likewise.
3014         (cos_test_downward): Likewise.
3015         (cos_upward_test_data): Likewise.
3016         (cos_test_upward): Likewise.
3017         (cosh_test_data): Update call to AUTO_TESTS_f_f.
3018         (cosh_test): Use ALL_RM_TEST.
3019         (cosh_tonearest_test_data): Remove.
3020         (cosh_test_tonearest): Likewise.
3021         (cosh_towardzero_test_data): Likewise.
3022         (cosh_test_towardzero): Likewise.
3023         (cosh_downward_test_data): Likewise.
3024         (cosh_test_downward): Likewise.
3025         (cosh_upward_test_data): Likewise.
3026         (cosh_test_upward): Likewise.
3027         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3028         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3029         (ctan_test_data): Likewise.
3030         (ctan_test): Use ALL_RM_TEST.
3031         (ctan_tonearest_test_data): Remove.
3032         (ctan_test_tonearest): Likewise.
3033         (ctan_towardzero_test_data): Likewise.
3034         (ctan_test_towardzero): Likewise.
3035         (ctan_downward_test_data): Likewise.
3036         (ctan_test_downward): Likewise.
3037         (ctan_upward_test_data): Likewise.
3038         (ctan_test_upward): Likewise.
3039         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3040         (ctanh_test): Use ALL_RM_TEST.
3041         (ctanh_tonearest_test_data): Remove.
3042         (ctanh_test_tonearest): Likewise.
3043         (ctanh_towardzero_test_data): Likewise.
3044         (ctanh_test_towardzero): Likewise.
3045         (ctanh_downward_test_data): Likewise.
3046         (ctanh_test_downward): Likewise.
3047         (ctanh_upward_test_data): Likewise.
3048         (ctanh_test_upward): Likewise.
3049         (erf_test_data): Update call to AUTO_TESTS_f_f.
3050         (erfc_test_data): Likewise.
3051         (exp_test_data): Likewise.
3052         (exp_test): Use ALL_RM_TEST.
3053         (exp_tonearest_test_data): Remove.
3054         (exp_test_tonearest): Likewise.
3055         (exp_towardzero_test_data): Likewise.
3056         (exp_test_towardzero): Likewise.
3057         (exp_downward_test_data): Likewise.
3058         (exp_test_downward): Likewise.
3059         (exp_upward_test_data): Likewise.
3060         (exp_test_upward): Likewise.
3061         (exp10_test_data): Update call to AUTO_TESTS_f_f.
3062         (exp10_test): Use ALL_RM_TEST.
3063         (exp10_tonearest_test_data): Remove.
3064         (exp10_test_tonearest): Likewise.
3065         (exp10_towardzero_test_data): Likewise.
3066         (exp10_test_towardzero): Likewise.
3067         (exp10_downward_test_data): Likewise.
3068         (exp10_test_downward): Likewise.
3069         (exp10_upward_test_data): Likewise.
3070         (exp10_test_upward): Likewise.
3071         (exp2_test_data): Update call to AUTO_TESTS_f_f.
3072         (expm1_test_data): Likewise.
3073         (expm1_test): Use ALL_RM_TEST.
3074         (expm1_tonearest_test_data): Remove.
3075         (expm1_test_tonearest): Likewise.
3076         (expm1_towardzero_test_data): Likewise.
3077         (expm1_test_towardzero): Likewise.
3078         (expm1_downward_test_data): Likewise.
3079         (expm1_test_downward): Likewise.
3080         (expm1_upward_test_data): Likewise.
3081         (expm1_test_upward): Likewise.
3082         (fma_test_data): Update call to AUTO_TESTS_fff_f.
3083         (fma_test): Use ALL_RM_TEST.
3084         (fma_towardzero_test_data): Remove.
3085         (fma_test_towardzero): Likewise.
3086         (fma_downward_test_data): Likewise.
3087         (fma_test_downward): Likewise.
3088         (fma_upward_test_data): Likewise.
3089         (fma_test_upward): Likewise.
3090         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3091         (j0_test_data): Update call to AUTO_TESTS_f_f.
3092         (j1_test_data): Likewise.
3093         (jn_test_data): Update call to AUTO_TESTS_if_f.
3094         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3095         (log_test_data): Update call to AUTO_TESTS_f_f.
3096         (log10_test_data): Likewise.
3097         (log1p_test_data): Likewise.
3098         (log2_test_data): Likewise.
3099         (pow_test_data): Update call to AUTO_TESTS_ff_f.
3100         (pow_tonearest_test_data): Likewise.
3101         (sin_test_data): Update call to AUTO_TESTS_f_f.
3102         (sin_test): Use ALL_RM_TEST.
3103         (sin_tonearest_test_data): Remove.
3104         (sin_test_tonearest): Likewise.
3105         (sin_towardzero_test_data): Likewise.
3106         (sin_test_towardzero): Likewise.
3107         (sin_downward_test_data): Likewise.
3108         (sin_test_downward): Likewise.
3109         (sin_upward_test_data): Likewise.
3110         (sin_test_upward): Likewise.
3111         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3112         (sinh_test_data): Update call to AUTO_TESTS_f_f.
3113         (sinh_test): Use ALL_RM_TEST.
3114         (sinh_tonearest_test_data): Remove.
3115         (sinh_test_tonearest): Likewise.
3116         (sinh_towardzero_test_data): Likewise.
3117         (sinh_test_towardzero): Likewise.
3118         (sinh_downward_test_data): Likewise.
3119         (sinh_test_downward): Likewise.
3120         (sinh_upward_test_data): Likewise.
3121         (sinh_test_upward): Likewise.
3122         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3123         (sqrt_test): Use ALL_RM_TEST.
3124         (sqrt_tonearest_test_data): Remove.
3125         (sqrt_test_tonearest): Likewise.
3126         (sqrt_towardzero_test_data): Likewise.
3127         (sqrt_test_towardzero): Likewise.
3128         (sqrt_downward_test_data): Likewise.
3129         (sqrt_test_downward): Likewise.
3130         (sqrt_upward_test_data): Likewise.
3131         (sqrt_test_upward): Likewise.
3132         (tan_test_data): Update call to AUTO_TESTS_f_f.
3133         (tan_test): Use ALL_RM_TEST.
3134         (tan_tonearest_test_data): Remove.
3135         (tan_test_tonearest): Likewise.
3136         (tan_towardzero_test_data): Likewise.
3137         (tan_test_towardzero): Likewise.
3138         (tan_downward_test_data): Likewise.
3139         (tan_test_downward): Likewise.
3140         (tan_upward_test_data): Likewise.
3141         (tan_test_upward): Likewise.
3142         (tanh_test_data): Update call to AUTO_TESTS_f_f.
3143         (tgamma_test_data): Likewise.
3144         (y0_test_data): Likewise.
3145         (y1_test_data): Likewise.
3146         (yn_test_data): Update call to AUTO_TESTS_if_f.
3147         (main): Do not call removed functions.
3149 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3151         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3152         (ldexp_test_data): Remove.
3153         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
3154         scalbn_test_data.
3155         (scalb_test): Use ALL_RM_TEST.
3157 2014-03-19  Andreas Schwab  <schwab@suse.de>
3159         * nscd/nscd.service: Also invalidate netgroup cache on reload.
3161 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3163         [BZ #16649]
3164         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3165         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3166         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3167         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3168         (__ASSUME_PREADV): Undefine.
3169         (__ASSUME_PWRITEV): Likewise.
3171 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3173         * bits/mman-linux.h: Add comment about non-Linux use.
3174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3175         bits/mman-linux.h resting place.
3177         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3178         * bits/mman-linux.h: ... here.
3180 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3182         * conform/conformtest.pl: Add standard definition when calling C
3183         preprocessor on data files.
3184         (checknamespace): Remove unused variable.
3186 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3188         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3189         minus_oflow, plus_uflow and minus_uflow in expected results.
3190         * math/libm-test.inc (scalbn_test_data): Add more tests of
3191         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
3192         minus_uflow.
3193         (scalbn_test): Use ALL_RM_TEST.
3194         (scalbln_test_data): Add more tests of negative arguments.  Use
3195         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3196         (scalbln_test): Use ALL_RM_TEST.
3198 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3200         * scripts/abilist.awk: Ignore symbols marked with .hidden.
3202 2014-03-18  Will Newton  <will.newton@linaro.org>
3204         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3205         inaccurate comment.
3207 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3209         * Makerules [!subdir] (check-abi): Exit with error status if a
3210         test failed.
3212 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3214         * math/libm-test.inc (nearbyint_test_data): Include all tests used
3215         for rint.  Include results for all rounding modes.
3216         (nearbyint_test): Use ALL_RM_TEST.
3217         (rint_test_data): Include all tests used for nearbyint.
3219 2014-03-17  Will Newton  <will.newton@linaro.org>
3221         * nptl/sysdeps/pthread/pthread.h: Revert previous
3222         change.
3224         * sysdeps/generic/ldsodefs.h: Revert previous
3225         change.
3227         * libio/genops.c: Revert previous change.
3228         * libio/libioP.h: Likewise.
3229         * stdio-common/vfprintf.c: Likewise.
3231         * sysdeps/generic/math_private.h: Revert previous
3232         change.
3234         * sysdeps/generic/math_private.h: Check whether
3235         HAVE_RM_CTX is defined with #ifdef rather
3236         than #if.
3238         * argp/argp-fmtstream.h: Check whether
3239         __STRICT_ANSI__ is defined with #ifdef rather
3240         than #if.
3241         * argp/argp.h: Likewise.
3243         * libio/genops.c: Check whether
3244         _IO_JUMPS_OFFSET is defined with #ifdef rather
3245         than #if.
3246         * libio/libioP.h: Likewise.
3247         * stdio-common/vfprintf.c: Likewise.
3249         * sysdeps/generic/ldsodefs.h: Check whether
3250         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3251         than #if.
3253         * nptl/sysdeps/pthread/pthread.h: Check
3254         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3255         its value.
3257 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3259         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3260         setting O_APPEND.
3261         * libio/tst-ftell-active-handler.c (do_append_test): Add a
3262         test case.
3264         [BZ #16680]
3265         * libio/fileops.c (_IO_file_open): Seek to end of file but
3266         don't cache the offset.
3267         (get_file_offset): Remove function.
3268         (do_ftell): Use cached offset when available.
3269         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3270         don't cache the offset.
3271         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3272         case.
3273         (do_one_test): Call it.
3274         (do_ftell_test): Fix up expected old offset for a+ mode.
3275         * libio/wfileops.c (do_ftell_wide): Used cached offset when
3276         available.
3278         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3279         up test status with function return status.
3280         (do_write_test): Likewise.
3281         (do_append_test): Likewise.
3283         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3284         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3285         Remove.
3287 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3289         * math/gen-libm-test.pl (parse_args): Handle results specified for
3290         each rounding mode separately.
3291         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3292         tests and results from lrint_tonearest_test_data,
3293         lrint_towardzero_test_data, lrint_downward_test_data and
3294         lrint_upward_test_data.
3295         (lrint_test): Use ALL_RM_TEST.
3296         (lrint_tonearest_test_data): Remove.
3297         (lrint_test_tonearest): Likewise.
3298         (lrint_towardzero_test_data): Likewise.
3299         (lrint_test_towardzero): Likewise.
3300         (lrint_downward_test_data): Likewise.
3301         (lrint_test_downward): Likewise.
3302         (lrint_upward_test_data): Likewise.
3303         (lrint_test_upward): Likewise.
3304         (llrint_test_data): Merge in per-rounding-mode tests and results
3305         from llrint_tonearest_test_data, llrint_towardzero_test_data,
3306         llrint_downward_test_data and llrint_upward_test_data.
3307         (llrint_test): Use ALL_RM_TEST.
3308         (llrint_tonearest_test_data): Remove.
3309         (llrint_test_tonearest): Likewise.
3310         (llrint_towardzero_test_data): Likewise.
3311         (llrint_test_towardzero): Likewise.
3312         (llrint_downward_test_data): Likewise.
3313         (llrint_test_downward): Likewise.
3314         (llrint_upward_test_data): Likewise.
3315         (llrint_test_upward): Likewise.
3316         (rint_test_data): Merge in per-rounding-mode tests and results
3317         from rint_tonearest_test_data, rint_towardzero_test_data,
3318         rint_downward_test_data and rint_upward_test_data.  Add
3319         per-rounding-mode results for tests not in those arrays.
3320         (rint_test): Use ALL_RM_TEST.
3321         (rint_tonearest_test_data): Remove.
3322         (rint_test_tonearest): Likewise.
3323         (rint_towardzero_test_data): Likewise.
3324         (rint_test_towardzero): Likewise.
3325         (rint_downward_test_data): Likewise.
3326         (rint_test_downward): Likewise.
3327         (rint_upward_test_data): Likewise.
3328         (rint_test_upward): Likewise.
3329         (main): Don't call removed functions.
3331 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3333         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3334         "Compiled on ..." crapola.  It is anti-useful.
3336 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
3338         * scripts/evaluate-test.sh: Handle fourth argument to determine
3339         whether test run should stop on failure.
3340         * Makeconfig (stop-on-test-failure): New variable.
3341         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3342         $(stop-on-test-failure).
3343         * Makefile (tests): Give a summary of results from testing and
3344         exit with failure status if they include an ERROR or FAIL.
3345         (xtests): Likewise.
3346         * manual/install.texi (Configuring and compiling): Mention
3347         stop-on-test-failure=y.
3348         * INSTALL: Regenerated.
3350 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3352         * scripts/versionlist.awk: New file.
3353         * Makerules [$(build-shared) = yes]
3354         (postclean-generated): Add Versions.def, not Versions.def.v and
3355         Versions.def.v.i.
3356         ($(common-objpfx)Versions.def.v.i): Target removed.
3357         ($(common-objpfx)Versions.def): New target.
3358         ($(common-objpfx)Versions.all): Depend on that rather that
3359         $(common-objpfx)Versions.def.v.
3360         * Versions.def: File removed.
3362         * Makeconfig (+gccwarn): Add -Wundef.
3363         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3364         a dl-sysdep.h breaking its contract.
3365         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3366         * include/stackinfo.h: New file.
3367         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3368         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3369         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3370         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3371         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3372         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3373         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3374         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3375         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3376         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3377         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3378         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3379         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3380         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3381         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3383 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3385         [BZ #16707]
3386         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3387         implementation.
3388         * math/libm-test.inc (round_test_data): Add more tests.
3390         [BZ #16706]
3391         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3392         implementation.
3393         * math/libm-test.inc (nearbyint_test_data): Add more tests.
3395         [BZ #16701]
3396         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3397         implementation.
3398         * math/libm-test.inc (ceil_test_data): Add more tests.
3400         * math/libm-test.inc (trunc_test_data): Add more tests related to
3401         BZ#16414.
3403 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3405         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3406         with #if rather than #ifdef.
3407         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3409 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3411         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3412         first.  Disable AVX-512 GCC support if assembler doesn't support
3413         it.
3414         * sysdeps/x86_64/configure: Regenerated.
3416 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
3418         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3419         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3420         (__old_pthread_attr_setstack): Likewise.
3421         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3422         [!_STACK_GROWS_DOWN]: Likewise.
3424 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3426         * config.make.in (have-bash2): Delete.
3427         * configure.ac (libc_cv_have_bash2): Delete.
3428         * configure: Regenerate.
3429         * elf/Makefile (common-ldd-rewrite): Rename to ...
3430         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
3431         (sh-ldd-rewrite): Delete.
3432         (bash-ldd-rewrite): Delete.
3433         (have-bash2): Delete checks.
3434         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3435         ldd-rewrite.
3437         * config.make.in (have-ksh): Delete.
3438         (KSH): Delete.
3439         * configure.ac (libc_cv_have_ksh): Delete.
3440         * configure: Regenerate.
3442         * elf/Makefile: Delete $(have-ksh) check.
3443         ($(objpfx)sotruss): Change KSH to BASH.
3444         * elf/sotruss.ksh: Rename to ...
3445         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
3446         function style to match POSIX.  Drop ksh vim mode setting.
3448         * manual/time.texi (Specifying the Time Zone with TZ): Change
3449         Tuesday to Thursday.
3451         * debug/tst-longjmp_chk2.c: Update header comment.
3452         (stackoverflow_handler): Add comment.  Call assert on pass value.
3454 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
3456         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3457         (HAVE_AVX512_ASM_SUPPORT): Likewise.
3458         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3459         (La_x86_64_vector): Add zmm.
3460         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3461         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3462         ($(objpfx)tst-audit10): New target.
3463         ($(objpfx)tst-audit10.out): Likewise.
3464         (tst-audit10-ENV): New.
3465         (AVX512-CFLAGS): Likewise.
3466         (CFLAGS-tst-audit10.c): Likewise.
3467         (CFLAGS-tst-auditmod10a.c): Likewise.
3468         (CFLAGS-tst-auditmod10b.c): Likewise.
3469         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3470         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3471         * sysdeps/x86_64/configure: Regenerated.
3472         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3473         AVX-512 zmm register support.
3474         (_dl_x86_64_save_sse): Likewise.
3475         (_dl_x86_64_restore_sse): Likewise.
3476         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3477         size vector registers.
3478         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3479         (ZMM_SIZE): Likewise.
3480         * sysdeps/x86_64/tst-audit10.c: New file.
3481         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3482         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3484 2014-03-13  Roland McGrath  <roland@hack.frob.com>
3486         * configure.ac (HAVE_EHDR_START): New check.
3487         * configure: Regenerated.
3488         * config.h.in (HAVE_EHDR_START): New #undef.
3489         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3490         assuming the lowest-addressed segment maps the start of the file.
3492 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
3494         * INSTALL: Regenerated.
3496 2014-03-13  Will Newton  <will.newton@linaro.org>
3498         * manual/setjmp.texi (System V contexts): Improve
3499         clarity and grammar of documentation.
3501 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3503         [BZ #16381]
3504         * elf/Makefile (tests): Add tst-pie2.
3505         (tests-pie): Add tst-pie2.
3506         * elf/tst-pie2.c: New file.
3507         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3508         for ET_EXEC.
3509         * elf/rtld.c (map_doit): Load executable as lt_executable.
3510         (dl_main): Likewise.
3512 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
3514         [BZ #16642]
3515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3516         (__ASSUME_PSELECT): Undefine.
3518 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3520         [BZ #16689]
3521         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3522         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3523         static build.
3524         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3525         selector for static builds.
3527 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3529         [BZ #16695]
3530         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3531         key in the buffer.
3533 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3535         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3536         IFUNC selector for static builds.
3538 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
3540         * sysdeps/mips/math_private.h [__mips_hard_float]
3541         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3542         libc_feresetround_mips_ctx.
3543         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3544         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3545         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3547         [BZ #16677]
3548         * math/s_nextafter.c (__nextafter): Do not return value from
3549         overflowing computation.
3550         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3551         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3552         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3553         Likewise.
3554         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3555         Likewise.
3556         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3557         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3559 2014-03-11  Roland McGrath  <roland@hack.frob.com>
3561         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3562         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3563         Move sfi_sp use from the load-multiple (that no longer sets sp) to
3564         the new mov targetting sp.
3566 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3568         [BZ #16683]
3569         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3570         Define it for static builds as well.
3571         (NO_BZERO_IMPL): Likewise.
3573 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3575         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3576         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3577         multiarch strspn for PPC64.
3578         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3579         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3581         (__libc_ifunc_impl_list): Likewise.
3582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3583         multiarch optimizations
3584         * string/strspn.c (strspn): Using macro to redefine symbol name.
3586 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3587             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3589         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3590         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3591         multiarch strncat for PPC64.
3592         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3593         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3595         (__libc_ifunc_impl_list): Likewise.
3596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3597         multiarch optimizations
3599 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3601         [BZ #16639]
3602         * nscd/nscd.service: Make service type forking.
3604 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3606         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3607         sign in non default rounding modes.
3608         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3610 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3612         * math/libm-test.inc (ALL_RM_TEST): New macro.
3613         (ceil_test): Use ALL_RM_TEST.
3614         (cimag_test): Likewise.
3615         (conj_test): Likewise.
3616         (copysign_test): Likewise.
3617         (cproj_test): Likewise.
3618         (creal_test): Likewise.
3619         (fabs_test): Likewise.
3620         (floor_test): Likewise.
3621         (fmax_test): Likewise.
3622         (fmin_test): Likewise.
3623         (fmod_test): Likewise.
3624         (fpclassify_test): Likewise.
3625         (frexp_test): Likewise.
3626         (ilogb_test): Likewise.
3627         (isfinite_test): Likewise.
3628         (finite_test): Likewise.
3629         (isgreater_test): Likewise.
3630         (isgreaterequal_test): Likewise.
3631         (isinf_test): Likewise.
3632         (isless_test): Likewise.
3633         (islessequal_test): Likewise.
3634         (islessgreater_test): Likewise.
3635         (isnan_test): Likewise.
3636         (isnormal_test): Likewise.
3637         (issignaling_test): Likewise.
3638         (isunordered_test): Likewise.
3639         (logb_test): Likewise.
3640         (logb_downward_test_data): Remove.
3641         (logb_test_downward): Likewise.
3642         (lround_test): Use ALL_RM_TEST.
3643         (llround_test): Likewise.
3644         (modf_test): Likewise.
3645         (nexttoward_test): Likewise.
3646         (remainder_test): Likewise.
3647         (drem_test): Likewise.
3648         (remainder_tonearest_test_data): Likewise.
3649         (remainder_test_tonearest): Likewise.
3650         (drem_test_tonearest): Likewise.
3651         (remainder_towardzero_test_data): Likewise.
3652         (remainder_test_towardzero): Likewise.
3653         (drem_test_towardzero): Likewise.
3654         (remainder_downward_test_data): Likewise.
3655         (remainder_test_downward): Likewise.
3656         (drem_test_downward): Likewise.
3657         (remainder_upward_test_data): Likewise.
3658         (remainder_test_upward): Likewise.
3659         (drem_test_upward): Likewise.
3660         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3661         (round_test): Use ALL_RM_TEST.
3662         (signbit_test): Likewise.
3663         (trunc_test): Likewise.
3664         (significand_test): Likewise.
3665         (main): Don't call removed functions.
3667 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3669         [BZ #16674]
3670         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3671         || __USE_XOPEN2K8].
3672         (ILL_ILLOPN): Likewise.
3673         (ILL_ILLADR): Likewise.
3674         (ILL_ILLTRP): Likewise.
3675         (ILL_PRVOPC): Likewise.
3676         (ILL_PRVREG): Likewise.
3677         (ILL_COPROC): Likewise.
3678         (ILL_BADSTK): Likewise.
3679         (FPE_INTDIV): Likewise.
3680         (FPE_INTOVF): Likewise.
3681         (FPE_FLTDIV): Likewise.
3682         (FPE_FLTOVF): Likewise.
3683         (FPE_FLTUND): Likewise.
3684         (FPE_FLTRES): Likewise.
3685         (FPE_FLTINV): Likewise.
3686         (FPE_FLTSUB): Likewise.
3687         (SEGV_MAPERR): Likewise.
3688         (SEGV_ACCERR): Likewise.
3689         (BUS_ADRALN): Likewise.
3690         (BUS_ADRERR): Likewise.
3691         (BUS_OBJERR): Likewise.
3692         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3693         (TRAP_TRACE): Likewise.
3694         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3695         __USE_XOPEN2K8].
3696         (CLD_KILLED): Likewise.
3697         (CLD_DUMPED): Likewise.
3698         (CLD_TRAPPED): Likewise.
3699         (CLD_STOPPED): Likewise.
3700         (CLD_CONTINUED): Likewise.
3701         (POLL_IN): Likewise.
3702         (POLL_OUT): Likewise.
3703         (POLL_MSG): Likewise.
3704         (POLL_ERR): Likewise.
3705         (POLL_PRI): Likewise.
3706         (POLL_HUP): Likewise.
3707         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3708         Likewise.
3709         (ILL_ILLOPN): Likewise.
3710         (ILL_ILLADR): Likewise.
3711         (ILL_ILLTRP): Likewise.
3712         (ILL_PRVOPC): Likewise.
3713         (ILL_PRVREG): Likewise.
3714         (ILL_COPROC): Likewise.
3715         (ILL_BADSTK): Likewise.
3716         (FPE_INTDIV): Likewise.
3717         (FPE_INTOVF): Likewise.
3718         (FPE_FLTDIV): Likewise.
3719         (FPE_FLTOVF): Likewise.
3720         (FPE_FLTUND): Likewise.
3721         (FPE_FLTRES): Likewise.
3722         (FPE_FLTINV): Likewise.
3723         (FPE_FLTSUB): Likewise.
3724         (SEGV_MAPERR): Likewise.
3725         (SEGV_ACCERR): Likewise.
3726         (BUS_ADRALN): Likewise.
3727         (BUS_ADRERR): Likewise.
3728         (BUS_OBJERR): Likewise.
3729         (BUS_MCEERR_AR): Likewise.
3730         (BUS_MCEERR_AO): Likewise.
3731         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3732         (TRAP_TRACE): Likewise.
3733         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3734         __USE_XOPEN2K8].
3735         (CLD_KILLED): Likewise.
3736         (CLD_DUMPED): Likewise.
3737         (CLD_TRAPPED): Likewise.
3738         (CLD_STOPPED): Likewise.
3739         (CLD_CONTINUED): Likewise.
3740         (POLL_IN): Likewise.
3741         (POLL_OUT): Likewise.
3742         (POLL_MSG): Likewise.
3743         (POLL_ERR): Likewise.
3744         (POLL_PRI): Likewise.
3745         (POLL_HUP): Likewise.
3746         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3747         (ILL_ILLOPN): Likewise.
3748         (ILL_ILLADR): Likewise.
3749         (ILL_ILLTRP): Likewise.
3750         (ILL_PRVOPC): Likewise.
3751         (ILL_PRVREG): Likewise.
3752         (ILL_COPROC): Likewise.
3753         (ILL_BADSTK): Likewise.
3754         (FPE_INTDIV): Likewise.
3755         (FPE_INTOVF): Likewise.
3756         (FPE_FLTDIV): Likewise.
3757         (FPE_FLTOVF): Likewise.
3758         (FPE_FLTUND): Likewise.
3759         (FPE_FLTRES): Likewise.
3760         (FPE_FLTINV): Likewise.
3761         (FPE_FLTSUB): Likewise.
3762         (SEGV_MAPERR): Likewise.
3763         (SEGV_ACCERR): Likewise.
3764         (BUS_ADRALN): Likewise.
3765         (BUS_ADRERR): Likewise.
3766         (BUS_OBJERR): Likewise.
3767         (BUS_MCEERR_AR): Likewise.
3768         (BUS_MCEERR_AO): Likewise.
3769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3770         (TRAP_TRACE): Likewise.
3771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3772         __USE_XOPEN2K8].
3773         (CLD_KILLED): Likewise.
3774         (CLD_DUMPED): Likewise.
3775         (CLD_TRAPPED): Likewise.
3776         (CLD_STOPPED): Likewise.
3777         (CLD_CONTINUED): Likewise.
3778         (POLL_IN): Likewise.
3779         (POLL_OUT): Likewise.
3780         (POLL_MSG): Likewise.
3781         (POLL_ERR): Likewise.
3782         (POLL_PRI): Likewise.
3783         (POLL_HUP): Likewise.
3784         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3785         Likewise.
3786         (ILL_ILLOPN): Likewise.
3787         (ILL_ILLADR): Likewise.
3788         (ILL_ILLTRP): Likewise.
3789         (ILL_PRVOPC): Likewise.
3790         (ILL_PRVREG): Likewise.
3791         (ILL_COPROC): Likewise.
3792         (ILL_BADSTK): Likewise.
3793         (ILL_BADIADDR): Likewise.
3794         (ILL_BREAK): Likewise.
3795         (FPE_INTDIV): Likewise.
3796         (FPE_INTOVF): Likewise.
3797         (FPE_FLTDIV): Likewise.
3798         (FPE_FLTOVF): Likewise.
3799         (FPE_FLTUND): Likewise.
3800         (FPE_FLTRES): Likewise.
3801         (FPE_FLTINV): Likewise.
3802         (FPE_FLTSUB): Likewise.
3803         (FPE_DECOVF): Likewise.
3804         (FPE_DECDIV): Likewise.
3805         (FPE_DECERR): Likewise.
3806         (FPE_INVASC): Likewise.
3807         (FPE_INVDEC): Likewise.
3808         (SEGV_MAPERR): Likewise.
3809         (SEGV_ACCERR): Likewise.
3810         (SEGV_PSTKOVF): Likewise.
3811         (BUS_ADRALN): Likewise.
3812         (BUS_ADRERR): Likewise.
3813         (BUS_OBJERR): Likewise.
3814         (BUS_MCEERR_AR): Likewise.
3815         (BUS_MCEERR_AO): Likewise.
3816         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3817         (TRAP_TRACE): Likewise.
3818         (TRAP_BRANCH): Likewise.
3819         (TRAP_HWBKPT): Likewise.
3820         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3821         __USE_XOPEN2K8].
3822         (CLD_KILLED): Likewise.
3823         (CLD_DUMPED): Likewise.
3824         (CLD_TRAPPED): Likewise.
3825         (CLD_STOPPED): Likewise.
3826         (CLD_CONTINUED): Likewise.
3827         (POLL_IN): Likewise.
3828         (POLL_OUT): Likewise.
3829         (POLL_MSG): Likewise.
3830         (POLL_ERR): Likewise.
3831         (POLL_PRI): Likewise.
3832         (POLL_HUP): Likewise.
3833         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3834         (ILL_ILLOPN): Likewise.
3835         (ILL_ILLADR): Likewise.
3836         (ILL_ILLTRP): Likewise.
3837         (ILL_PRVOPC): Likewise.
3838         (ILL_PRVREG): Likewise.
3839         (ILL_COPROC): Likewise.
3840         (ILL_BADSTK): Likewise.
3841         (FPE_INTDIV): Likewise.
3842         (FPE_INTOVF): Likewise.
3843         (FPE_FLTDIV): Likewise.
3844         (FPE_FLTOVF): Likewise.
3845         (FPE_FLTUND): Likewise.
3846         (FPE_FLTRES): Likewise.
3847         (FPE_FLTINV): Likewise.
3848         (FPE_FLTSUB): Likewise.
3849         (SEGV_MAPERR): Likewise.
3850         (SEGV_ACCERR): Likewise.
3851         (BUS_ADRALN): Likewise.
3852         (BUS_ADRERR): Likewise.
3853         (BUS_OBJERR): Likewise.
3854         (BUS_MCEERR_AR): Likewise.
3855         (BUS_MCEERR_AO): Likewise.
3856         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3857         (TRAP_TRACE): Likewise.
3858         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3859         __USE_XOPEN2K8].
3860         (CLD_KILLED): Likewise.
3861         (CLD_DUMPED): Likewise.
3862         (CLD_TRAPPED): Likewise.
3863         (CLD_STOPPED): Likewise.
3864         (CLD_CONTINUED): Likewise.
3865         (POLL_IN): Likewise.
3866         (POLL_OUT): Likewise.
3867         (POLL_MSG): Likewise.
3868         (POLL_ERR): Likewise.
3869         (POLL_PRI): Likewise.
3870         (POLL_HUP): Likewise.
3871         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3872         (ILL_ILLOPN): Likewise.
3873         (ILL_ILLADR): Likewise.
3874         (ILL_ILLTRP): Likewise.
3875         (ILL_PRVOPC): Likewise.
3876         (ILL_PRVREG): Likewise.
3877         (ILL_COPROC): Likewise.
3878         (ILL_BADSTK): Likewise.
3879         (FPE_INTDIV): Likewise.
3880         (FPE_INTOVF): Likewise.
3881         (FPE_FLTDIV): Likewise.
3882         (FPE_FLTOVF): Likewise.
3883         (FPE_FLTUND): Likewise.
3884         (FPE_FLTRES): Likewise.
3885         (FPE_FLTINV): Likewise.
3886         (FPE_FLTSUB): Likewise.
3887         (SEGV_MAPERR): Likewise.
3888         (SEGV_ACCERR): Likewise.
3889         (BUS_ADRALN): Likewise.
3890         (BUS_ADRERR): Likewise.
3891         (BUS_OBJERR): Likewise.
3892         (BUS_MCEERR_AR): Likewise.
3893         (BUS_MCEERR_AO): Likewise.
3894         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3895         (TRAP_TRACE): Likewise.
3896         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3897         __USE_XOPEN2K8].
3898         (CLD_KILLED): Likewise.
3899         (CLD_DUMPED): Likewise.
3900         (CLD_TRAPPED): Likewise.
3901         (CLD_STOPPED): Likewise.
3902         (CLD_CONTINUED): Likewise.
3903         (POLL_IN): Likewise.
3904         (POLL_OUT): Likewise.
3905         (POLL_MSG): Likewise.
3906         (POLL_ERR): Likewise.
3907         (POLL_PRI): Likewise.
3908         (POLL_HUP): Likewise.
3909         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3910         (ILL_ILLOPN): Likewise.
3911         (ILL_ILLADR): Likewise.
3912         (ILL_ILLTRP): Likewise.
3913         (ILL_PRVOPC): Likewise.
3914         (ILL_PRVREG): Likewise.
3915         (ILL_COPROC): Likewise.
3916         (ILL_BADSTK): Likewise.
3917         (FPE_INTDIV): Likewise.
3918         (FPE_INTOVF): Likewise.
3919         (FPE_FLTDIV): Likewise.
3920         (FPE_FLTOVF): Likewise.
3921         (FPE_FLTUND): Likewise.
3922         (FPE_FLTRES): Likewise.
3923         (FPE_FLTINV): Likewise.
3924         (FPE_FLTSUB): Likewise.
3925         (SEGV_MAPERR): Likewise.
3926         (SEGV_ACCERR): Likewise.
3927         (BUS_ADRALN): Likewise.
3928         (BUS_ADRERR): Likewise.
3929         (BUS_OBJERR): Likewise.
3930         (BUS_MCEERR_AR): Likewise.
3931         (BUS_MCEERR_AO): Likewise.
3932         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3933         (TRAP_TRACE): Likewise.
3934         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3935         __USE_XOPEN2K8].
3936         (CLD_KILLED): Likewise.
3937         (CLD_DUMPED): Likewise.
3938         (CLD_TRAPPED): Likewise.
3939         (CLD_STOPPED): Likewise.
3940         (CLD_CONTINUED): Likewise.
3941         (POLL_IN): Likewise.
3942         (POLL_OUT): Likewise.
3943         (POLL_MSG): Likewise.
3944         (POLL_ERR): Likewise.
3945         (POLL_PRI): Likewise.
3946         (POLL_HUP): Likewise.
3947         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3948         (ILL_ILLOPN): Likewise.
3949         (ILL_ILLADR): Likewise.
3950         (ILL_ILLTRP): Likewise.
3951         (ILL_PRVOPC): Likewise.
3952         (ILL_PRVREG): Likewise.
3953         (ILL_COPROC): Likewise.
3954         (ILL_BADSTK): Likewise.
3955         (ILL_DBLFLT): Likewise.
3956         (ILL_HARDWALL): Likewise.
3957         (FPE_INTDIV): Likewise.
3958         (FPE_INTOVF): Likewise.
3959         (FPE_FLTDIV): Likewise.
3960         (FPE_FLTOVF): Likewise.
3961         (FPE_FLTUND): Likewise.
3962         (FPE_FLTRES): Likewise.
3963         (FPE_FLTINV): Likewise.
3964         (FPE_FLTSUB): Likewise.
3965         (SEGV_MAPERR): Likewise.
3966         (SEGV_ACCERR): Likewise.
3967         (BUS_ADRALN): Likewise.
3968         (BUS_ADRERR): Likewise.
3969         (BUS_OBJERR): Likewise.
3970         (BUS_MCEERR_AR): Likewise.
3971         (BUS_MCEERR_AO): Likewise.
3972         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3973         (TRAP_TRACE): Likewise.
3974         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3975         __USE_XOPEN2K8].
3976         (CLD_KILLED): Likewise.
3977         (CLD_DUMPED): Likewise.
3978         (CLD_TRAPPED): Likewise.
3979         (CLD_STOPPED): Likewise.
3980         (CLD_CONTINUED): Likewise.
3981         (POLL_IN): Likewise.
3982         (POLL_OUT): Likewise.
3983         (POLL_MSG): Likewise.
3984         (POLL_ERR): Likewise.
3985         (POLL_PRI): Likewise.
3986         (POLL_HUP): Likewise.
3987         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3988         (ILL_ILLOPN): Likewise.
3989         (ILL_ILLADR): Likewise.
3990         (ILL_ILLTRP): Likewise.
3991         (ILL_PRVOPC): Likewise.
3992         (ILL_PRVREG): Likewise.
3993         (ILL_COPROC): Likewise.
3994         (ILL_BADSTK): Likewise.
3995         (FPE_INTDIV): Likewise.
3996         (FPE_INTOVF): Likewise.
3997         (FPE_FLTDIV): Likewise.
3998         (FPE_FLTOVF): Likewise.
3999         (FPE_FLTUND): Likewise.
4000         (FPE_FLTRES): Likewise.
4001         (FPE_FLTINV): Likewise.
4002         (FPE_FLTSUB): Likewise.
4003         (SEGV_MAPERR): Likewise.
4004         (SEGV_ACCERR): Likewise.
4005         (BUS_ADRALN): Likewise.
4006         (BUS_ADRERR): Likewise.
4007         (BUS_OBJERR): Likewise.
4008         (BUS_MCEERR_AR): Likewise.
4009         (BUS_MCEERR_AO): Likewise.
4010         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4011         (TRAP_TRACE): Likewise.
4012         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4013         __USE_XOPEN2K8].
4014         (CLD_KILLED): Likewise.
4015         (CLD_DUMPED): Likewise.
4016         (CLD_TRAPPED): Likewise.
4017         (CLD_STOPPED): Likewise.
4018         (CLD_CONTINUED): Likewise.
4019         (POLL_IN): Likewise.
4020         (POLL_OUT): Likewise.
4021         (POLL_MSG): Likewise.
4022         (POLL_ERR): Likewise.
4023         (POLL_PRI): Likewise.
4024         (POLL_HUP): Likewise.
4025         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4026         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4028         [BZ #16670]
4029         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4030         before #include of <time.h>.
4031         [!__USE_XOPEN2K] (__need_timespec): Likewise.
4032         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4033         (test-xfail-UNIX98/sched.h/conform): Likewise.
4035 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4037         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4038         error absence of trapping exception support.
4039         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4041 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4043         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4044         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4045         * timezone/Makefile (testdata): Move definition above include of
4046         Rules.
4047         (test-zones): New variable.
4048         (tests-special): Add zone files.
4049         (build-testdata): Use $(evaluate-test).
4051         * elf/Makefile (tests-special): Rename tests to end with .out.
4052         ($(objpfx)noload-mem): Likewise.
4053         ($(objpfx)tst-leaks1-mem): Likewise.
4054         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4055         * iconv/Makefile (xtests-special): Change test-iconvconfig to
4056         $(objpfx)test-iconvconfig.out.
4057         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
4058         set -e inside subshell and redirect output to file.
4059         * iconvdata/Makefile (generated): Rename tests to end with .out.
4060         Correct type.
4061         (tests-special): Rename tests to end with .out.
4062         ($(objpfx)mtrace-tst-loading): Likewise.
4063         * intl/Makefile (generated): Likewise.
4064         (tests-special): Likewise.
4065         ($(objpfx)mtrace-tst-gettext): Likewise.
4066         * misc/Makefile (generated): Likewise.
4067         (tests-special): Likewise.
4068         ($(objpfx)tst-error1-mem): Likewise.
4069         * nptl/Makefile (tests-special): Likewise.
4070         ($(objpfx)tst-stack3-mem): Likewise.
4071         (generated): Likewise.
4072         * posix/Makefile (generated): Likewise.
4073         (tests-special): Likewise.
4074         (xtests-special): Likewise.
4075         ($(objpfx)tst-fnmatch-mem): Likewise.
4076         ($(objpfx)bug-regex2-mem): Likewise.
4077         ($(objpfx)bug-regex14-mem): Likewise.
4078         ($(objpfx)bug-regex21-mem): Likewise.
4079         ($(objpfx)bug-regex31-mem): Likewise.
4080         ($(objpfx)tst-vfork3-mem): Likewise.
4081         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4082         ($(objpfx)tst-pcre-mem): Likewise.
4083         ($(objpfx)tst-boost-mem): Likewise.
4084         ($(objpfx)bug-ga2-mem): Likewise.
4085         ($(objpfx)bug-glob2-mem): Likewise.
4086         * resolv/Makefile (generate): Likewise.
4087         (tests-special): Likewise.
4088         (xtests-special): Likewise.
4089         (generated): Likewise.
4090         ($(objpfx)mtrace-tst-leaks): Likewise.
4091         ($(objpfx)mtrace-tst-leaks2): Likewise.
4093         * scripts/merge-test-results.sh: New file.
4094         * Makefile (tests-special-notdir): New variable.
4095         (tests): Run merge-test-results.sh.
4096         (xtests): Likewise.
4097         * Rules (tests-special-notdir): New variable.
4098         (xtests-special-notdir): Likewise.
4099         (tests): Run merge-test-results.sh
4100         (xtests): Likewise.
4102         * Makeconfig (test-xfail-name): New variable.
4103         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4104         compute variable name for expected failures.
4105         * conform/Makefile (conformtest-headers-data): New variable.
4106         (conformtest-standards): Likewise.
4107         (conformtest-headers-ISO): Likewise.
4108         (conformtest-headers-ISO99): Likewise.
4109         (conformtest-headers-ISO11): Likewise.
4110         (conformtest-headers-POSIX): Likewise.
4111         (conformtest-headers-XPG3): Likewise.
4112         (conformtest-headers-XPG4): Likewise.
4113         (conformtest-headers-UNIX98): Likewise.
4114         (conformtest-headers-XOPEN2K): Likewise.
4115         (conformtest-headers-POSIX2008): Likewise.
4116         (conformtest-headers-XOPEN2K8): Likewise.
4117         (conformtest-header-list-base): Likewise.
4118         (conformtest-header-list-tests): Likewise.
4119         (conformtest-header-base): Likewise.
4120         (conformtest-header-tests): Likewise.
4121         (tests-special): Add $(conformtest-header-list-tests).  If
4122         [$(fast-check) && !$(cross-compiling)], add
4123         $(conformtest-header-tests) instead of
4124         $(objpfx)run-conformtest.out.
4125         (generated): Add $(conformtest-header-list-base).  If
4126         [$(fast-check) && !$(cross-compiling)], add
4127         $(conformtest-header-base).  Remove previous setting.
4128         ($(conformtest-header-list-tests)): New target.
4129         (test-xfail-run-conformtest): Remove variable.
4130         ($(objpfx)run-conformtest.out): Remove target.
4131         (test-xfail-ISO11/complex.h/conform): New variable.
4132         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4133         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4134         (test-xfail-XPG3/varargs.h/conform): Likewise.
4135         (test-xfail-XPG4/varargs.h/conform): Likewise.
4136         (test-xfail-UNIX98/varargs.h/conform): Likewise.
4137         (test-xfail-XPG4/ndbm.h/conform): Likewise.
4138         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4139         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4140         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4141         (test-xfail-XPG3/fcntl.h/conform): Likewise.
4142         (test-xfail-XPG3/ftw.h/conform): Likewise.
4143         (test-xfail-XPG3/grp.h/conform): Likewise.
4144         (test-xfail-XPG3/langinfo.h/conform): Likewise.
4145         (test-xfail-XPG3/limits.h/conform): Likewise.
4146         (test-xfail-XPG3/pwd.h/conform): Likewise.
4147         (test-xfail-XPG3/search.h/conform): Likewise.
4148         (test-xfail-XPG3/signal.h/conform): Likewise.
4149         (test-xfail-XPG3/stdio.h/conform): Likewise.
4150         (test-xfail-XPG3/stdlib.h/conform): Likewise.
4151         (test-xfail-XPG3/string.h/conform): Likewise.
4152         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4153         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4154         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4155         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4156         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4157         (test-xfail-XPG3/sys/types.h/conform): Likewise.
4158         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4159         (test-xfail-XPG3/termios.h/conform): Likewise.
4160         (test-xfail-XPG3/time.h/conform): Likewise.
4161         (test-xfail-XPG3/unistd.h/conform): Likewise.
4162         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4163         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4164         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4165         (test-xfail-XPG4/netdb.h/conform): Likewise.
4166         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4167         (test-xfail-XPG4/signal.h/conform): Likewise.
4168         (test-xfail-XPG4/stdio.h/conform): Likewise.
4169         (test-xfail-XPG4/stdlib.h/conform): Likewise.
4170         (test-xfail-XPG4/stropts.h/conform): Likewise.
4171         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4172         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4173         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4174         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4175         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4176         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4177         (test-xfail-XPG4/sys/time.h/conform): Likewise.
4178         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4179         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4180         (test-xfail-XPG4/termios.h/conform): Likewise.
4181         (test-xfail-XPG4/ucontext.h/conform): Likewise.
4182         (test-xfail-XPG4/unistd.h/conform): Likewise.
4183         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4184         (test-xfail-POSIX/sched.h/conform): Likewise.
4185         (test-xfail-POSIX/signal.h/conform): Likewise.
4186         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4187         (test-xfail-POSIX/tar.h/conform): Likewise.
4188         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4189         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4190         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4191         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4192         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4193         (test-xfail-UNIX98/sched.h/conform): Likewise.
4194         (test-xfail-UNIX98/signal.h/conform): Likewise.
4195         (test-xfail-UNIX98/stdio.h/conform): Likewise.
4196         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4197         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4198         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4199         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4200         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4201         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4202         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4203         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4204         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4205         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4206         (test-xfail-UNIX98/unistd.h/conform): Likewise.
4207         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4208         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4209         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4210         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4211         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4212         (test-xfail-XOPEN2K/math.h/conform): Likewise.
4213         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4214         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4215         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4216         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4217         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4218         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4219         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4220         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4221         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4222         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4223         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4224         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4225         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4226         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4227         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4228         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4229         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4230         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4231         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4232         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4233         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4234         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4235         (test-xfail-POSIX2008/signal.h/conform): Likewise.
4236         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4237         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4238         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4239         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4240         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4241         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4242         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4243         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4244         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4245         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4246         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4247         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4248         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4249         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4250         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4251         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4252         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4253         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4254         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4255         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4256         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4257         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4258         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4259         (conformtest-cc-flags): Likewise.
4260         ($(conformtest-header-tests): New target.
4261         * conform/check-header-lists.sh: New file.
4262         * conform/run-conformtest.sh: Remove.
4264         * conform/conformtest.pl: Allow ' and \ in values given for
4265         constants.
4266         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4267         inclusion.
4268         [POSIX] (sys/types.h): Likewise.
4269         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4270         inclusion.
4271         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4272         inclusion.
4273         * conform/data/signal.h-data (SIGIO): Remove expectation.
4274         [XPG3] (SIGBUS): Do not expect.
4275         [POSIX || XPG3] (SIGPOLL): Likewise.
4276         [POSIX || XPG3] (SIGPROF): Likewise.
4277         [POSIX || XPG3] (SIGSYS): Likewise.
4278         [XPG3] (SIGTRAP): Likewise.
4279         [POSIX || XPG3] (SIGURG): Likewise.
4280         [POSIX || XPG3] (SIGVTALRM): Likewise.
4281         [POSIX || XPG3] (SIGXCPU): Likewise.
4282         [POSIX || XPG3] (SIGXFSZ): Likewise.
4283         [POSIX] (SA_SIGINFO): Expect.
4284         [XPG3] (siginfo_t): Do not expect type or contents.
4285         [POSIX] (si_pid): Do not expect element.
4286         [POSIX] (si_uid): Likewise.
4287         [POSIX] (si_addr): Likewise.
4288         [POSIX] (si_status): Likewise.
4289         [POSIX] (si_band): Likewise.
4290         [XPG4] (si_value): Likewise.
4291         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4292         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4293         [POSIX || XPG3] (ILL_ILLADR): Likewise.
4294         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4295         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4296         [POSIX || XPG3] (ILL_PRVREG): Likewise.
4297         [POSIX || XPG3] (ILL_COPROC): Likewise.
4298         [POSIX || XPG3] (ILL_BADSTK): Likewise.
4299         [POSIX || XPG3] (FPE_INTDIV): Likewise.
4300         [POSIX || XPG3] (FPE_INTOVF): Likewise.
4301         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4302         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4303         [POSIX || XPG3] (FPE_FLTUND): Likewise.
4304         [POSIX || XPG3] (FPE_FLTRES): Likewise.
4305         [POSIX || XPG3] (FPE_FLTINV): Likewise.
4306         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4307         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4308         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4309         [POSIX || XPG3] (BUS_ADRALN): Likewise.
4310         [POSIX || XPG3] (BUS_ADRERR): Likewise.
4311         [POSIX || XPG3] (BUS_OBJERR): Likewise.
4312         [POSIX || XPG3] (CLD_EXITED): Likewise.
4313         [POSIX || XPG3] (CLD_KILLED): Likewise.
4314         [POSIX || XPG3] (CLD_DUMPED): Likewise.
4315         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4316         [POSIX || XPG3] (CLD_STOPPED): Likewise.
4317         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4318         [POSIX || XPG3] (POLL_IN): Likewise.
4319         [POSIX || XPG3] (POLL_OUT): Likewise.
4320         [POSIX || XPG3] (POLL_MSG): Likewise.
4321         [POSIX || XPG3] (POLL_ERR): Likewise.
4322         [POSIX || XPG3] (POLL_PRI): Likewise.
4323         [POSIX || XPG3] (POLL_HUP): Likewise.
4324         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4325         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4326         (SIG*): Do not allow.
4327         [XPG3] (si_*): Likewise.
4328         [XPG3] (SI_*): Likewise.
4329         [XPG3 || XPG4] (sigev_*): Likewise.
4330         [XPG3 || XPG4] (SIGEV_*): Likewise.
4331         [XPG3 || XPG4] (sival_*): Likewise.
4332         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4333         [POSIX || XPG3] (BUS_*): Likewise.
4334         [POSIX || XPG3] (CLD_*): Likewise.
4335         [POSIX || XPG3] (FPE_*): Likewise.
4336         [POSIX || XPG3] (ILL_*): Likewise.
4337         [POSIX || XPG3] (POLL_*): Likewise.
4338         [POSIX || XPG3] (SEGV_*): Likewise.
4339         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4340         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4341         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4342         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4343         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4344         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4345         Specify type and value.
4346         (TVERSLEN): Likewise.
4347         (REGTYPE): Likewise.
4348         (AREGTYPE): Likewise.
4349         (LNKTYPE): Likewise.
4350         (SYMTYPE): Likewise.
4351         (CHRTYPE): Likewise.
4352         (BLKTYPE): Likewise.
4353         (DIRTYPE): Likewise.
4354         (FIFOTYPE): Likewise.
4355         (CONTTYPE): Likewise.
4356         (TSUID): Likewise.
4357         (TSGID): Likewise.
4358         (TSVTX): Likewise.
4359         (TUREAD): Likewise.
4360         (TUWRITE): Likewise.
4361         (TUEXEC): Likewise.
4362         (TGREAD): Likewise.
4363         (TGWRITE): Likewise.
4364         (TGEXEC): Likewise.
4365         (TOREAD): Likewise.
4366         (TOWRITE): Likewise.
4367         (TOEXEC): Likewise.
4368         [POSIX] (TSVTX): Expect constant.
4370 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
4372         * Makefile (tests): Change dependencies to ....
4373         (tests-special): ... additions to this variable.
4374         (tests): Depend on $(tests-special).
4375         * Makerules (check-abi-list): New variable.
4376         (check-abi): Depend on $(check-abi-list).
4377         [$(subdir) = elf] (tests-special): Add
4378         $(objpfx)check-abi-libc.out.
4379         [$(build-shared) = yes && subdir] (tests-special): Add
4380         $(check-abi-list).
4381         [$(build-shared) = yes && subdir] (tests): Do not depend on
4382         check-abi.
4383         * Rules (tests): Depend on $(tests-special).
4384         (xtests): Depend on $(xtests-special).
4385         * catgets/Makefile (tests): Change dependencies to ....
4386         (tests-special): ... additions to this variable.
4387         * conform/Makefile (tests): Change dependencies to ....
4388         (tests-special): ... additions to this variable.
4389         * elf/Makefile (tests): Change dependencies to ....
4390         (tests-special): ... additions to this variable.
4391         * grp/Makefile (tests): Change dependencies to ....
4392         (tests-special): ... additions to this variable.
4393         * iconv/Makefile (xtests): Change dependencies to ....
4394         (xtests-special): ... additions to this variable.
4395         * iconvdata/Makefile (tests): Change dependencies to ....
4396         (tests-special): ... additions to this variable.
4397         * intl/Makefile (tests): Change dependencies to ....
4398         (tests-special): ... additions to this variable.  Also add
4399         $(objpfx)tst-gettext.out.
4400         * io/Makefile (tests): Change dependencies to ....
4401         (tests-special): ... additions to this variable.
4402         * libio/Makefile (tests): Change dependencies to ....
4403         (tests-special): ... additions to this variable.
4404         * malloc/Makefile (tests): Change dependencies to ....
4405         (tests-special): ... additions to this variable.
4406         * misc/Makefile (tests): Change dependencies to ....
4407         (tests-special): ... additions to this variable.
4408         * nptl/Makefile (tests): Change dependencies to ....
4409         (tests-special): ... additions to this variable.
4410         * nptl_db/Makefile (tests): Change dependencies to ....
4411         (tests-special): ... additions to this variable.
4412         * posix/Makefile (tests): Change dependencies to ....
4413         (tests-special): ... additions to this variable.
4414         (xtests): Change dependencies to ....
4415         (xtests-special): ... additions to this variable.
4416         * resolv/Makefile (tests): Change dependencies to ....
4417         (tests-special): ... additions to this variable.
4418         (xtests): Change dependencies to ....
4419         (xtests-special): ... additions to this variable.
4420         * stdio-common/Makefile (tests): Change dependencies to ....
4421         (tests-special): ... additions to this variable.
4422         (do-tst-unbputc): Remove target.
4423         (do-tst-printf): Likewise.
4424         * stdlib/Makefile (tests): Change dependencies to ....
4425         (tests-special): ... additions to this variable.
4426         * string/Makefile (tests): Change dependencies to ....
4427         (tests-special): ... additions to this variable.
4428         * sysdeps/x86/Makefile (tests): Change dependencies to ....
4429         (tests-special): ... additions to this variable.
4431         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4432         whole file.
4433         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4434         whole file.
4435         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4436         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4438         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4439         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4440         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4441         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4442         * conform/data/libgen.h-data [XPG3]: Likewise.
4443         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4444         * conform/data/ndbm.h-data [XPG3]: Likewise.
4445         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4446         * conform/data/netdb.h-data [XPG3]: Likewise.
4447         * conform/data/netinet/in.h-data [XPG3]: Likewise.
4448         * conform/data/poll.h-data [XPG3]: Likewise.
4449         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4450         * conform/data/strings.h-data [XPG3]: Likewise.
4451         * conform/data/stropts.h-data [XPG3]: Likewise.
4452         * conform/data/sys/mman.h-data [XPG3]: Likewise.
4453         * conform/data/sys/resource.h-data [XPG3]: Likewise.
4454         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4455         Likewise.
4456         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4457         * conform/data/sys/time.h-data [XPG3]: Likewise.
4458         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4459         * conform/data/sys/uio.h-data [XPG3]: Likewise.
4460         * conform/data/sys/un.h-data [XPG3]: Likewise.
4461         * conform/data/syslog.h-data [XPG3]: Likewise.
4462         * conform/data/ucontext.h-data [XPG3]: Likewise.
4463         * conform/data/utmpx.h-data [XPG3]: Likewise.
4464         * conform/data/varargs.h-data [UNIX98]: Enable file.
4466         * manual/Makefile (INSTALL_INFO): Remove variable setting.
4468         * math/libm-test.inc (struct test_f_f_data): Move expected results
4469         into structure for each rounding mode.
4470         (struct test_ff_f_data): Likewise.
4471         (struct test_ff_f_data_nexttoward): Likewise.
4472         (struct test_fi_f_data): Likewise.
4473         (struct test_fl_f_data): Likewise.
4474         (struct test_if_f_data): Likewise.
4475         (struct test_fff_f_data): Likewise.
4476         (struct test_c_f_data): Likewise.
4477         (struct test_f_f1_data): Likewise.
4478         (struct test_fF_f1_data): Likewise.
4479         (struct test_ffI_f1_data): Likewise.
4480         (struct test_c_c_data): Likewise.
4481         (struct test_cc_c_data): Likewise.
4482         (struct test_f_i_data): Likewise.
4483         (struct test_ff_i_data): Likewise.
4484         (struct test_f_l_data): Likewise.
4485         (struct test_f_L_data): Likewise.
4486         (struct test_fFF_11_data): Likewise.
4487         (RM_): New macro.
4488         (RM_FE_DOWNWARD): Likewise.
4489         (RM_FE_TONEAREST): Likewise.
4490         (RM_FE_TOWARDZERO): Likewise.
4491         (RM_FE_UPWARD): Likewise.
4492         (RUN_TEST_LOOP_f_f): Update references to expected results.
4493         (RUN_TEST_LOOP_2_f): Likewise.
4494         (RUN_TEST_LOOP_fff_f): Likewise.
4495         (RUN_TEST_LOOP_c_f): Likewise.
4496         (RUN_TEST_LOOP_f_f1): Likewise.
4497         (RUN_TEST_LOOP_fF_f1): Likewise.
4498         (RUN_TEST_LOOP_fI_f1): Likewise.
4499         (RUN_TEST_LOOP_ffI_f1): Likewise.
4500         (RUN_TEST_LOOP_c_c): Likewise.
4501         (RUN_TEST_LOOP_cc_c): Likewise.
4502         (RUN_TEST_LOOP_f_i): Likewise.
4503         (RUN_TEST_LOOP_f_i_tg): Likewise.
4504         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4505         (RUN_TEST_LOOP_f_b): Likewise.
4506         (RUN_TEST_LOOP_f_b_tg): Likewise.
4507         (RUN_TEST_LOOP_f_l): Likewise.
4508         (RUN_TEST_LOOP_f_L): Likewise.
4509         (RUN_TEST_LOOP_fFF_11): Likewise.
4510         * math/gen-libm-test.pl (parse_args): Output four copies of
4511         expected results for each test.
4513         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4514         (__ASSUME_UTIMES): Remove.
4515         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4516         (__ASSUME_UTIMES): Likewise.
4518         * math/gen-auto-libm-tests.c: Update comment on output format.
4519         (output_for_one_input_case): Generate before-rounding and
4520         after-rounding information as conditions on output flags not
4521         floating-point format.
4522         * math/auto-libm-test-out: Regenerated.
4523         * math/gen-libm-test.pl (cond_value): New function.
4524         (or_cond_value): Use cond_value.
4525         (generate_testfile): Handle conditional exceptions.
4527 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
4529         * math/libm-test.inc (max_valid_error): New variable.
4530         (init_max_error): Take new argument specifying whether function
4531         results are exactly determined.  Set max_valid_error and bound
4532         other variables for errors based on this argument.
4533         (set_max_error): Do not record results above max_valid_error.
4534         (check_float_internal): Only accept errors of up to 0.5ulps if
4535         also at most max_valid_error.
4536         (START): Take new argument EXACT and pass it to init_max_error.
4537         (acos_test): Update call to START.
4538         (acos_test_tonearest): Likewise.
4539         (acos_test_towardzero): Likewise.
4540         (acos_test_downward): Likewise.
4541         (acos_test_upward): Likewise.
4542         (acosh_test): Likewise.
4543         (asin_test): Likewise.
4544         (asin_test_tonearest): Likewise.
4545         (asin_test_towardzero): Likewise.
4546         (asin_test_downward): Likewise.
4547         (asin_test_upward): Likewise.
4548         (asinh_test): Likewise.
4549         (atan_test): Likewise.
4550         (atanh_test): Likewise.
4551         (atan2_test): Likewise.
4552         (cabs_test): Likewise.
4553         (cacos_test): Likewise.
4554         (cacosh_test): Likewise.
4555         (carg_test): Likewise.
4556         (casin_test): Likewise.
4557         (casinh_test): Likewise.
4558         (catan_test): Likewise.
4559         (catanh_test): Likewise.
4560         (cbrt_test): Likewise.
4561         (ccos_test): Likewise.
4562         (ccosh_test): Likewise.
4563         (ceil_test): Likewise.
4564         (cexp_test): Likewise.
4565         (cimag_test): Likewise.
4566         (clog_test): Likewise.
4567         (clog10_test): Likewise.
4568         (conj_test): Likewise.
4569         (copysign_test): Likewise.
4570         (cos_test): Likewise.
4571         (cos_test_tonearest): Likewise.
4572         (cos_test_towardzero): Likewise.
4573         (cos_test_downward): Likewise.
4574         (cos_test_upward): Likewise.
4575         (cosh_test): Likewise.
4576         (cosh_test_tonearest): Likewise.
4577         (cosh_test_towardzero): Likewise.
4578         (cosh_test_downward): Likewise.
4579         (cosh_test_upward): Likewise.
4580         (cpow_test): Likewise.
4581         (cproj_test): Likewise.
4582         (creal_test): Likewise.
4583         (csin_test): Likewise.
4584         (csinh_test): Likewise.
4585         (csqrt_test): Likewise.
4586         (ctan_test): Likewise.
4587         (ctan_test_tonearest): Likewise.
4588         (ctan_test_towardzero): Likewise.
4589         (ctan_test_downward): Likewise.
4590         (ctan_test_upward): Likewise.
4591         (ctanh_test): Likewise.
4592         (ctanh_test_tonearest): Likewise.
4593         (ctanh_test_towardzero): Likewise.
4594         (ctanh_test_downward): Likewise.
4595         (ctanh_test_upward): Likewise.
4596         (erf_test): Likewise.
4597         (erfc_test): Likewise.
4598         (exp_test): Likewise.
4599         (exp_test_tonearest): Likewise.
4600         (exp_test_towardzero): Likewise.
4601         (exp_test_downward): Likewise.
4602         (exp_test_upward): Likewise.
4603         (exp10_test): Likewise.
4604         (exp10_test_tonearest): Likewise.
4605         (exp10_test_towardzero): Likewise.
4606         (exp10_test_downward): Likewise.
4607         (exp10_test_upward): Likewise.
4608         (pow10_test): Likewise.
4609         (exp2_test): Likewise.
4610         (expm1_test): Likewise.
4611         (expm1_test_tonearest): Likewise.
4612         (expm1_test_towardzero): Likewise.
4613         (expm1_test_downward): Likewise.
4614         (expm1_test_upward): Likewise.
4615         (fabs_test): Likewise.
4616         (fdim_test): Likewise.
4617         (floor_test): Likewise.
4618         (fma_test): Likewise.
4619         (fma_test_towardzero): Likewise.
4620         (fma_test_downward): Likewise.
4621         (fma_test_upward): Likewise.
4622         (fmax_test): Likewise.
4623         (fmin_test): Likewise.
4624         (fmod_test): Likewise.
4625         (fpclassify_test): Likewise.
4626         (frexp_test): Likewise.
4627         (hypot_test): Likewise.
4628         (ilogb_test): Likewise.
4629         (isfinite_test): Likewise.
4630         (finite_test): Likewise.
4631         (isgreater_test): Likewise.
4632         (isgreaterequal_test): Likewise.
4633         (isinf_test): Likewise.
4634         (isless_test): Likewise.
4635         (islessequal_test): Likewise.
4636         (islessgreater_test): Likewise.
4637         (isnan_test): Likewise.
4638         (isnormal_test): Likewise.
4639         (issignaling_test): Likewise.
4640         (isunordered_test): Likewise.
4641         (j0_test): Likewise.
4642         (j1_test): Likewise.
4643         (jn_test): Likewise.
4644         (ldexp_test): Likewise.
4645         (lgamma_test): Likewise.
4646         (gamma_test): Likewise.
4647         (lrint_test): Likewise.
4648         (lrint_test_tonearest): Likewise.
4649         (lrint_test_towardzero): Likewise.
4650         (lrint_test_downward): Likewise.
4651         (lrint_test_upward): Likewise.
4652         (llrint_test): Likewise.
4653         (llrint_test_tonearest): Likewise.
4654         (llrint_test_towardzero): Likewise.
4655         (llrint_test_downward): Likewise.
4656         (llrint_test_upward): Likewise.
4657         (log_test): Likewise.
4658         (log10_test): Likewise.
4659         (log1p_test): Likewise.
4660         (log2_test): Likewise.
4661         (logb_test): Likewise.
4662         (logb_test_downward): Likewise.
4663         (lround_test): Likewise.
4664         (llround_test): Likewise.
4665         (modf_test): Likewise.
4666         (nearbyint_test): Likewise.
4667         (nextafter_test): Likewise.
4668         (nexttoward_test): Likewise.
4669         (pow_test): Likewise.
4670         (pow_test_tonearest): Likewise.
4671         (pow_test_towardzero): Likewise.
4672         (pow_test_downward): Likewise.
4673         (pow_test_upward): Likewise.
4674         (remainder_test): Likewise.
4675         (drem_test): Likewise.
4676         (remainder_test_tonearest): Likewise.
4677         (drem_test_tonearest): Likewise.
4678         (remainder_test_towardzero): Likewise.
4679         (drem_test_towardzero): Likewise.
4680         (remainder_test_downward): Likewise.
4681         (drem_test_downward): Likewise.
4682         (remainder_test_upward): Likewise.
4683         (drem_test_upward): Likewise.
4684         (remquo_test): Likewise.
4685         (rint_test): Likewise.
4686         (rint_test_tonearest): Likewise.
4687         (rint_test_towardzero): Likewise.
4688         (rint_test_downward): Likewise.
4689         (rint_test_upward): Likewise.
4690         (round_test): Likewise.
4691         (scalb_test): Likewise.
4692         (scalbn_test): Likewise.
4693         (scalbln_test): Likewise.
4694         (signbit_test): Likewise.
4695         (sin_test): Likewise.
4696         (sin_test_tonearest): Likewise.
4697         (sin_test_towardzero): Likewise.
4698         (sin_test_downward): Likewise.
4699         (sin_test_upward): Likewise.
4700         (sincos_test): Likewise.
4701         (sinh_test): Likewise.
4702         (sinh_test_tonearest): Likewise.
4703         (sinh_test_towardzero): Likewise.
4704         (sinh_test_downward): Likewise.
4705         (sinh_test_upward): Likewise.
4706         (sqrt_test): Likewise.
4707         (sqrt_test_tonearest): Likewise.
4708         (sqrt_test_towardzero): Likewise.
4709         (sqrt_test_downward): Likewise.
4710         (sqrt_test_upward): Likewise.
4711         (tan_test): Likewise.
4712         (tan_test_tonearest): Likewise.
4713         (tan_test_towardzero): Likewise.
4714         (tan_test_downward): Likewise.
4715         (tan_test_upward): Likewise.
4716         (tanh_test): Likewise.
4717         (tgamma_test): Likewise.
4718         (trunc_test): Likewise.
4719         (y0_test): Likewise.
4720         (y1_test): Likewise.
4721         (yn_test): Likewise.
4722         (significand_test): Likewise.
4724         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4725         individual tests in comment.
4726         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4727         (prev_max_error): New variable.
4728         (prev_real_max_error): Likewise.
4729         (prev_imag_max_error): Likewise.
4730         (compare_ulp_data): Don't refer to test names in comment.
4731         (find_test_ulps): Remove function.
4732         (find_function_ulps): Likewise.
4733         (find_complex_function_ulps): Likewise.
4734         (init_max_error): Take function name as argument.  Look up ulps
4735         for that function.
4736         (print_ulps): Remove function.
4737         (print_max_error): Use prev_max_error instead of calling
4738         find_function_ulps.
4739         (print_complex_max_error): Use prev_real_max_error and
4740         prev_imag_max_error instead of calling find_complex_function_ulps.
4741         (check_float_internal): Take max_ulp parameter instead of calling
4742         find_test_ulps.  Don't call print_ulps.
4743         (check_float): Update call to check_float_internal.
4744         (check_complex): Update calls to check_float_internal.
4745         (START): Pass argument to init_max_error.
4746         * math/gen-libm-test.pl (%results): Don't include "kind"
4747         information.
4748         (parse_ulps): Don't handle ulps of individual tests.
4749         (print_ulps_file): Likewise.
4750         (output_ulps): Likewise.
4751         * math/README.libm-test: Update.
4752         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4753         individual tests.
4754         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4755         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4756         * sysdeps/arm/libm-test-ulps: Likewise.
4757         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4758         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4759         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4760         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4761         * sysdeps/microblaze/libm-test-ulps: Likewise.
4762         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4763         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4764         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4765         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4766         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4767         * sysdeps/sh/libm-test-ulps: Likewise.
4768         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4769         * sysdeps/tile/libm-test-ulps: Likewise.
4770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4772 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4774         * math/libm-test.inc (print_complex_max_error): Check separately
4775         whether real and imaginary errors are within allowed range and
4776         pass 0 to print_complex_function_ulps instead of value within
4777         allowed range.
4779 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4781         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4782         formatting.
4783         (get_handles_fopen): Likewise.
4784         (do_write_test): Likewise.
4786         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4788         * libio/fileops.c (do_ftell): Use cached offset when
4789         available.
4790         * libio/iofwide.c (do_ftell_wide): Likewise.
4791         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4792         _IO_file_attach.
4793         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4795         [BZ #16532]
4796         * libio/libioP.h (get_file_offset): New function.
4797         * libio/fileops.c (get_file_offset): Likewise.
4798         (do_ftell): Likewise.
4799         (_IO_new_file_seekoff): Split out ftell logic.
4800         * libio/wfileops.c (do_ftell_wide): Likewise.
4801         (_IO_wfile_seekoff): Split out ftell logic.
4802         * libio/tst-ftell-active-handler.c: New test case.
4803         * libio/Makefile (tests): Add it.
4805 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4807         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4808         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4810 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4812         [BZ #16639]
4813         * nscd/connections.c (nscd_init): Call do_exit.
4814         (start_threads): Call do_exit and notify_parent.
4815         (begin_drop_privileges): Call do_exit.
4816         (finish_drop_privileges): Likewise.
4817         * nscd/selinux.c (preserve_capabilities): Likewise.
4818         (install_real_capabilities): Likewise.
4819         (nscd_selinux_enabled): Likewise.
4820         (avc_create_thread): Likewise.
4821         (avc_alloc_lock): Likewise.
4822         (nscd_avc_init): Likewise.
4823         * nscd/nscd.c (parent_fd): New static variable.
4824         (main): Create a pipe between parent and child processes.
4825         Skip closing parent_fd.
4826         (monitor_child): New function.
4827         (do_exit): Likewise.
4828         (notify_parent): Likewise.
4829         * nscd/nscd.h (notify_parent): Likewise.
4830         (do_exit): Likewise.
4832 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4834         * malloc/malloc.c (__libc_calloc): Revert last change.
4836 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4840 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4842         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4844         implementation.
4845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4846         (__libc_ifunc_impl_list): Likewise.
4847         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4848         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4849         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4850         * string/strrchr.c: Define STRRCHR.
4852 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4854         * benchtest/bench-strtok.c (simple_strtok): Delete.
4855         (strtok_string): Use as benchmark.
4856         * string/strtok (STRTOK): New macro.
4858 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4860         * manual/threads.texi: Add header and standard comments to all
4861         functions.
4863         * elf/dl-lookup.c (check_match): New function.
4864         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4865         (do_lookup_x): Remove nested function check_match. Use non-nested
4866         function check_match.
4868 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4870         * csu/Makefile (generated, before-compile): Use += rather than =.
4871         * catgets/Makefile (generated, generated-dirs): Likewise.
4872         * debug/Makefile (generated): Likewise.
4873         * dlfcn/Makefile (generated): Likewise.
4874         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4875         * iconvdata/Makefile (before-compile, generated): Likewise.
4876         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4877         * libio/Makefile (generated): Likewise.
4878         * malloc/Makefile (generated): Likewise.
4879         * manual/Makefile (generated, generated-dirs): Likewise.
4880         * misc/Makefile (generated): Likewise.
4881         * posix/Makefile (generated): Likewise.
4882         * resolv/Makefile (generated): Likewise.
4883         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4884         * timezone/Makefile (generated, generated-dirs): Likewise.
4886         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4888 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4891         power8 implementation.
4892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4893         file: POWER8 llround ifunc implementation.
4894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4895         (__lllround): Add POWER8 implementation.
4896         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4897         POWER8 llround implementation.
4899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4900         power8 implementation.
4901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4902         file: POWER8 llrint ifunc implementation.
4903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4904         Add POWER8 implementation.
4905         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4906         POWER8 llrint implementation.
4908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4909         power8 implementation.
4910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4911         file: POWER8 finite ifunc implementation.
4912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4913         Add POWER8 implementation.
4914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4915         Likewise.
4916         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4917         POWER8 finite implementation.
4918         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4921         power8 implementation.
4922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4923         file: POWER8 isinf ifunc implementation.
4924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4925         POWER8 implementation.
4926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4927         Likewise.
4928         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4929         isinf implementation.
4930         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4932         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4933         (INIT_ARCH): Add hwcap2 initialization.
4934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4935         power8 implementation.
4936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4937         file: POWER8 isnan ifunc implementation.
4938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4939         POWER8 implementation.
4940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4941         Likewise.
4942         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4943         isnan implementation.
4944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4946 2014-02-27  Joey Ye  <joey.ye@arm.com>
4948         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4949         (_FP_NANFRAC_Q): Set to zero.
4951 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4953         [BZ #16623]
4954         * math/auto-libm-test-in: New test inputs.
4955         * math/auto-libm-test-out: Regenerate.
4956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4957         and DA.
4958         (__cos): Likewise.
4959         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4961 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4963         * scripts/evaluate-test.sh: Take new argument indicating whether
4964         failure is expected.
4965         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4966         indicating whether failure is expected.
4967         * conform/Makefile (test-xfail-run-conformtest): New variable.
4968         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4969         level.
4970         * posix/Makefile (test-xfail-annexc): New variable.
4971         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4973 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4975         * argp/Makefile: Include Makeconfig immediately after defining
4976         subdir.
4977         * assert/Makefile: Likewise.
4978         * benchtests/Makefile: Likewise.
4979         * catgets/Makefile: Likewise.
4980         * conform/Makefile: Likewise.
4981         * crypt/Makefile: Likewise.
4982         * csu/Makefile: Likewise.
4983         (all): Remove target.
4984         * ctype/Makefile: Include Makeconfig immediately after defining
4985         subdir.
4986         * debug/Makefile: Likewise.
4987         * dirent/Makefile: Likewise.
4988         * dlfcn/Makefile: Likewise.
4989         * gmon/Makefile: Likewise.
4990         * gnulib/Makefile: Likewise.
4991         * grp/Makefile: Likewise.
4992         * gshadow/Makefile: Likewise.
4993         * hesiod/Makefile: Likewise.
4994         * hurd/Makefile: Likewise.
4995         (all): Remove target.
4996         * iconvdata/Makefile: Include Makeconfig immediately after
4997         defining subdir.
4998         * inet/Makefile: Likewise.
4999         * intl/Makefile: Likewise.
5000         * io/Makefile: Likewise.
5001         * libio/Makefile: Likewise.
5002         (all): Remove target.
5003         * locale/Makefile: Include Makeconfig immediately after defining
5004         subdir.
5005         * login/Makefile: Likewise.
5006         * mach/Makefile: Likewise.
5007         (all): Remove target.
5008         * malloc/Makefile: Include Makeconfig immediately after defining
5009         subdir.
5010         (all): Remove target.
5011         * manual/Makefile: Include Makeconfig immediately after defining
5012         subdir.
5013         * math/Makefile: Likewise.
5014         * misc/Makefile: Likewise.
5015         * nis/Makefile: Likewise.
5016         * nss/Makefile: Likewise.
5017         * po/Makefile: Likewise.
5018         (all): Remove target.
5019         * posix/Makefile: Include Makeconfig immediately after defining
5020         subdir.
5021         * pwd/Makefile: Likewise.
5022         * resolv/Makefile: Likewise.
5023         * resource/Makefile: Likewise.
5024         * rt/Makefile: Likewise.
5025         * setjmp/Makefile: Likewise.
5026         * shadow/Makefile: Likewise.
5027         * signal/Makefile: Likewise.
5028         * socket/Makefile: Likewise.
5029         * soft-fp/Makefile: Likewise.
5030         * stdio-common/Makefile: Likewise.
5031         * stdlib/Makefile: Likewise.
5032         * streams/Makefile: Likewise.
5033         * string/Makefile: Likewise.
5034         * sunrpc/Makefile: Likewise.
5035         (all): Remove target.
5036         * sysvipc/Makefile: Include Makeconfig immediately after defining
5037         subdir.
5038         * termios/Makefile: Likewise.
5039         * time/Makefile: Likewise.
5040         * timezone/Makefile: Likewise.
5041         (all): Remove target.
5042         * wcsmbs/Makefile: Include Makeconfig immediately after defining
5043         subdir.
5044         * wctype/Makefile: Likewise.
5046 2014-02-26  Steve Ellcey  <sellcey@mips.com>
5048         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5049         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5050         (libc_feholdexcept_setround_mips): Ditto.
5051         (libc_feholdsetround): New.
5052         (libc_feholdsetroundf): New.
5053         (libc_feholdsetroundl): New.
5054         (libc_feupdateenv_test_mips): New.
5055         (libc_feupdateenv_test): New.
5056         (libc_feupdateenv_testf): New.
5057         (libc_feupdateenv_testl): New.
5058         (libc_feresetround): New.
5059         (libc_feresetroundf): New.
5060         (libc_feresetroundl): New.
5061         (libc_fetestexcept_mips): New.
5062         (libc_fetestexcept): New.
5063         (libc_fetestexceptf): New.
5064         (libc_fetestexceptl): New.
5065         (HAVE_RM_CTX): New.
5066         (libc_feholdexcept_setround_mips_ctx): New.
5067         (libc_feholdexcept_setround_ctx): New.
5068         (libc_feholdexcept_setroundf_ctx): New.
5069         (libc_feholdexcept_setroundl_ctx): New.
5070         (libc_fesetenv_mips_ctx): New.
5071         (libc_fesetenv_ctx): New.
5072         (libc_fesetenv_ctxf): New.
5073         (libc_fesetenv_ctxl): New.
5074         (libc_feupdateenv_mips_ctx): New.
5075         (libc_feupdateenv_ctx): New.
5076         (libc_feupdateenvf_ctx): New.
5077         (libc_feupdateenvl_ctx): New.
5078         (libc_feholdsetround_mips_ctx): New.
5079         (libc_feholdsetround_ctx): New.
5080         (libc_feholdsetroundf_ctx): New.
5081         (libc_feholdsetroundl_ctx): New.
5082         (libc_feresetround_mips_ctx): New.
5083         (libc_feresetround_ctx): New.
5084         (libc_feresetroundf_ctx): New.
5085         (libc_feresetroundl_ctx): New.
5087 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
5089         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5091         * manual/ipc.texi: New file.
5092         * manual/Makefile (chapters): Add ipc.
5093         * manual/job.texi: Add "Inter-Process Communication" to next.
5094         * manual/process.texi: Add "Inter-Process Communication" to prev.
5096 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5100 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
5102         * malloc/malloc.c (__libc_calloc): Simplify implementation.
5104         * manual/arith.texi: Fix spaces after sentences.
5105         * manual/charset.texi: Likewise.
5106         * manual/errno.texi: Likewise.
5107         * manual/install.texi: Likewise.
5108         * manual/llio.texi: Likewise.
5109         * manual/locale.texi: Likewise.
5110         * manual/maint.texi: Likewise.
5111         * manual/math.texi: Likewise.
5112         * manual/memory.texi: Likewise.
5113         * manual/message.texi: Likewise.
5114         * manual/probes.texi: Likewise.
5115         * manual/resource.texi: Likewise.
5116         * manual/signal.texi: Likewise.
5117         * manual/socket.texi: Likewise.
5118         * manual/stdio.texi: Likewise.
5119         * manual/string.texi: Likewise.
5120         * manual/time.texi: Likewise.
5121         * manual/users.texi: Likewise.
5123 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
5125         [BZ #16632]
5126         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5127         _DEFAULT_SOURCE is defined.
5129 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
5130             Carlos O'Donell  <carlos@redhat.com>
5132         [BZ #16613]
5133         * elf/dl-tls.c (_dl_count_modids): New function.
5134         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5135         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5136         audit library and increment generation counter.
5137         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5138         * elf/tst-audit9.c: New file.
5139         * elf/tst-auditmod9a.c: New file.
5140         * elf/tst-auditmod9b.c: New file.
5141         * elf/Makefile: Add rules to build and run tst-audit9.
5143 2014-02-25  Florian Weimer  <fweimer@redhat.com>
5145         [BZ #15347]
5146         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5148 2014-02-25  Will Newton  <will.newton@linaro.org>
5150         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5151         (__longjmp): Restore sp and lr before restoring callee
5152         saved registers.  Add longjmp and longjmp_target
5153         SystemTap probe point.
5154         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5155         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5156         Define to zero to match jmpbuf layout.
5157         * sysdeps/arm/setjmp.S: Include stap-probe.h.
5158         (__sigsetjmp): Save sp and lr before saving callee
5159         saved registers.  Add setjmp SystemTap probe point.
5161 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5163         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5165 2014-02-24  Andreas Schwab  <schwab@suse.de>
5167         [BZ #15804]
5168         * elf/pldd.c (wait_for_ptrace_stop): New function.
5169         (main): Call it after attaching.
5171 2014-02-22  Roland McGrath  <roland@hack.frob.com>
5173         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5174         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5175         Versions files is now verboten.
5176         * hurd/Versions (libc: GLIBC_2.0):
5177         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5178         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5179         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5180         * mach/Versions: Likewise.
5182         * csu/Versions: Remove unused %include.
5183         * resolv/Versions: Likewise.
5185 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
5187         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5188         ($(objpfx)check-local-headers.out): Likewise.
5189         ($(objpfx)begin-end-check.out): Likewise.
5190         * Makerules (check-abi-%.out): Likewise.
5191         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5192         ($(objpfx)test2.cat): Likewise.
5193         ($(objpfx)de/libc.cat): Likewise.
5194         ($(objpfx)test-gencat.out): Likewise.
5195         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5196         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5197         ($(objpfx)noload-mem): Likewise.
5198         ($(objpfx)tst-pathopt.out): Likewise.
5199         ($(objpfx)tst-rtld-load-self.out): Likewise.
5200         ($(objpfx)tst-array1-cmp.out): Likewise.
5201         ($(objpfx)tst-array1-static-cmp.out): Likewise.
5202         ($(objpfx)tst-array2-cmp.out): Likewise.
5203         ($(objpfx)tst-array3-cmp.out): Likewise.
5204         ($(objpfx)tst-array4-cmp.out): Likewise.
5205         ($(objpfx)tst-array5-cmp.out): Likewise.
5206         ($(objpfx)tst-array5-static-cmp.out): Likewise.
5207         ($(objpfx)check-textrel.out): Likewise.
5208         ($(objpfx)check-execstack.out): Likewise.
5209         ($(objpfx)check-localplt.out): Likewise.
5210         ($(objpfx)order2-cmp.out): Likewise.
5211         ($(objpfx)tst-leaks1-mem): Likewise.
5212         ($(objpfx)tst-leaks1-static-mem): Likewise.
5213         ($(objpfx)tst-initorder-cmp.out): Likewise.
5214         ($(objpfx)tst-initorder2-cmp.out): Likewise.
5215         ($(objpfx)tst-unused-dep.out): Likewise.
5216         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5217         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5218         * iconv/Makefile (test-iconvconfig): Likewise.
5219         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5220         ($(objpfx)iconv-test.out): Likewise.
5221         ($(objpfx)tst-tables.out): Likewise.
5222         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5223         ($(objpfx)tst-gettext.out): Likewise.
5224         ($(objpfx)tst-translit.out): Likewise.
5225         ($(objpfx)tst-gettext2.out): Likewise.
5226         ($(objpfx)tst-gettext4.out): Likewise.
5227         ($(objpfx)tst-gettext6.out): Likewise.
5228         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5229         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5230         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5231         ($(objpfx)tst-fopenloc-mem.out): Likewise.
5232         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5233         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5234         * posix/Makefile ($(objpfx)globtest.out): Likewise.
5235         ($(objpfx)wordexp-tst.out): Likewise.
5236         ($(objpfx)annexc.out): Likewise.
5237         ($(objpfx)tst-fnmatch-mem): Likewise.
5238         ($(objpfx)bug-regex2-mem): Likewise.
5239         ($(objpfx)bug-regex14-mem): Likewise.
5240         ($(objpfx)bug-regex21-mem): Likewise.
5241         ($(objpfx)bug-regex31-mem): Likewise.
5242         ($(objpfx)tst-vfork3-mem): Likewise.
5243         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5244         ($(objpfx)tst-pcre-mem): Likewise.
5245         ($(objpfx)tst-boost-mem): Likewise.
5246         ($(objpfx)tst-getconf.out): Likewise.
5247         ($(objpfx)bug-ga2-mem): Likewise.
5248         ($(objpfx)bug-glob2-mem): Likewise.
5249         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5250         ($(objpfx)mtrace-tst-leaks2): Likewise.
5251         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5252         ($(objpfx)tst-printf.out): Likewise.
5253         ($(objpfx)tst-setvbuf1.out): Likewise.
5254         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5255         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5256         ($(objpfx)tst-fmtmsg.out): Likewise.
5257         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5258         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5260         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5261         * bits/sigaction.h [__USE_MISC]: Likewise.
5262         * bits/waitstatus.h: Update #endif comments.
5263         * ctype/ctype.h: Likewise.
5264         * dirent/dirent.h: Likewise.
5265         [__USE_MISC]: Remove redundant conditionals.
5266         * grp/grp.h: Update #endif comments.
5267         [__USE_GNU]: Remove redundant conditionals.
5268         [__USE_MISC]: Likewise.
5269         * inet/netinet/in.h [__USE_GNU]: Likewise.
5270         * io/sys/stat.h [__USE_MISC]: Likewise.
5271         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5272         * libio/bits/stdio.h: Update #endif comments.
5273         [__USE_MISC]: Remove redundant conditionals.
5274         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5275         * libio/stdio.h: Update #endif comments.
5276         [__USE_MISC]: Remove redundant conditionals.
5277         * math/bits/math-finite.h [__USE_MISC]: Likewise.
5278         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5279         * math/math.h: Update #else and #endif comments.
5280         [__USE_MISC]: Remove redundant conditionals.
5281         * misc/sys/uio.h: Update #endif comments.
5282         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5283         * posix/glob.h [__USE_MISC]: Likewise.
5284         * posix/sys/types.h: Update #endif comments.
5285         [__USE_MISC]: Remove redundant conditionals.
5286         * posix/sys/wait.h: Update #endif comments.
5287         [__USE_MISC]: Remove redundant conditionals.
5288         * posix/unistd.h: Update #endif comments.
5289         [__USE_MISC]: Remove redundant conditionals.
5290         * pwd/pwd.h [__USE_GNU]: Likewise.
5291         [__USE_MISC]: Likewise.
5292         * resolv/netdb.h [__USE_GNU]: Likewise.
5293         * signal/signal.h: Update #endif comments.
5294         [__USE_MISC]: Remove redundant conditionals.
5295         * stdlib/stdlib.h: Update #else and #endif comments.
5296         [__USE_MISC]: Remove redundant conditionals.
5297         [__USE_GNU]: Likewise.
5298         * string/bits/string2.h [__USE_MISC]: Likewise.
5299         * string/string.h: Update #endif comments.
5300         [__USE_MISC]: Remove redundant conditionals.
5301         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5302         Likewise.
5303         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5304         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5305         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5306         Likewise.
5307         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5308         Likewise.
5309         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5310         comments.
5311         [__USE_MISC]: Remove redundant conditionals.
5312         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5313         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5314         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5315         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5316         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5317         Likewise.
5318         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5319         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5320         Likewise.
5321         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5322         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5323         Likewise.
5324         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5325         Likewise.
5326         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5327         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5328         Likewise.
5329         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5330         Likewise.
5331         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5332         * sysdeps/x86/bits/string.h: Update #endif comments.
5333         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5334         conditionals.
5335         * time/sys/time.h: Update #endif comments.
5336         * time/time.h: Likewise.
5337         [__USE_MISC]: Remove redundant conditionals.
5339 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
5341         [BZ #16600]
5342         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5344 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
5346         * Versions.def (librt): Add GLIBC_2.17.
5348 2014-02-21  Adam Conrad  <adconrad@0c3.net>
5350         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5351         synonym for _SYS_AUXV_H to allow direct inclusion.
5352         * sysdeps/sparc/bits/hwcap.h: Likewise.
5353         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5354         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5355         * sysdeps/sparc/sysdep.h: Likewise.
5357 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5359         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5361 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5363         * benchtests/bench-strrchr.c: Print length instead of position.
5365 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
5367         [BZ #16611]
5368         * sysdeps/unix/sysv/linux/kernel-features.h
5369         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5370         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5371         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5372         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5373         Likewise.
5374         [__i386__ || __powerpc__ || __sh__ || __sparc__]
5375         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5376         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5377         (__ASSUME_SENDMMSG): Define instead of using previous
5378         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5379         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5380         (__ASSUME_SENDMMSG_SYSCALL): Define.
5381         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5382         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5383         Likewise.
5384         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5385         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5386         Likewise.
5387         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5388         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5389         Likewise.
5390         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5391         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5392         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5393         [__ASSUME_SENDMMSG]: Change conditionals to
5394         [__ASSUME_SENDMMSG_SOCKETCALL].
5395         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5396         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5397         Define.
5398         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5399         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5400         Likewise.
5401         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5402         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5403         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5404         [!__ASSUME_SENDMMSG]: Change conditional to
5405         [!__ASSUME_SENDMMSG_SOCKETCALL].
5406         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5407         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5408         Define.
5410         [BZ #16610]
5411         * sysdeps/unix/sysv/linux/kernel-features.h
5412         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5413         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5414         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5415         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5416         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5417         [__i386__ || __sparc__]
5418         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5419         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5420         (__ASSUME_RECVMMSG): Define instead of using previous
5421         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5422         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5423         (__ASSUME_RECVMMSG_SYSCALL): Define.
5424         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5425         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5426         Likewise.
5427         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5428         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5429         Likewise.
5430         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5431         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5432         Likewise.
5433         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5434         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5435         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5436         [__ASSUME_RECVMMSG]: Change condition to
5437         [__ASSUME_RECVMMSG_SOCKETCALL].
5438         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5439         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5440         Define.
5441         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5442         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5443         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5444         Likewise.
5445         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5446         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5447         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5448         [!__ASSUME_RECVMMSG]: Change condition to
5449         [!__ASSUME_RECVMMSG_SOCKETCALL].
5450         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5451         (__ASSUME_RECVMMSG_SYSCALL): Define.
5453         [BZ #16609]
5454         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5455         __powerpc__ || __s390__ || __sh__ || __sparc__]
5456         (__ASSUME_SOCKETCALL): Define.
5457         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5458         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5459         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5460         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5461         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5462         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5463         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5464         (__ASSUME_ACCEPT4): Define instead of using previous
5465         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5466         __powerpc__ || __sparc__ || __s390__)] condition.
5467         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5468         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5469         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5470         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5471         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5472         [!__ASSUME_ACCEPT4]: Change condition to
5473         [!__ASSUME_ACCEPT4_SOCKETCALL].
5474         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5475         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
5476         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5477         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5478         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5479         __ASSUME_ACCEPT4_SYSCALL.
5480         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5481         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5482         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5483         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5484         __ASSUME_ACCEPT4_SYSCALL.
5485         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5486         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5487         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5488         [__ASSUME_ACCEPT4]: Change condition to
5489         [__ASSUME_ACCEPT4_SOCKETCALL].
5490         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5491         (__ASSUME_SOCKETCALL): Define.
5492         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5494         (__ASSUME_SOCKETCALL): Define.
5495         (__ASSUME_ACCEPT4): Remove.
5496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5497         Define.
5498         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5499         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5500         Likewise.
5501         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5502         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5504         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5505         macro.
5506         (HWCAP_ARM_LPAE): Likewise.
5507         (HWCAP_ARM_EVTSTRM): Likewise.
5508         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5509         Add vpfd32, lpae and evtstrm.
5510         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5511         Increase to 22.
5513 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
5515         * math/auto-libm-test-in: Add tests of clog10.
5516         * math/auto-libm-test-out: Regenerated.
5517         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5518         * sysdeps/i386/fpu/libm-test-ulps: Update.
5519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5521 2014-02-18  Andreas Schwab  <schwab@suse.de>
5523         [BZ #16574]
5524         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5525         Store non-zero if the second buffer was newly allocated.
5526         (send_dg): Likewise.
5527         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5528         to send_vc and send_dg.
5529         (res_nsend): Pass NULL for ansp2_malloced.
5530         * resolv/res_query.c (__libc_res_nquery): Add parameter
5531         answerp2_malloced and pass it down to __libc_res_nsend.
5532         (res_nquery): Pass additional NULL to __libc_res_nquery.
5533         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5534         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
5535         second answer buffer if answerp2_malloced was set.
5536         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5537         (__libc_res_nquerydomain): Add parameter
5538         answerp2_malloced and pass it down to __libc_res_nquery.
5539         (res_nquerydomain): Pass additional NULL to
5540         __libc_res_nquerydomain.
5541         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5542         additional NULL to __libc_res_nsend and __libc_res_nquery.
5543         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5544         additional NULL to __libc_res_nsearch.
5545         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
5546         parameter of __libc_res_nsearch to check for separately allocated
5547         second buffer.
5548         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5549         __libc_res_nquery.
5550         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5551         additional NULL to __libc_res_nquery.
5552         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5553         __libc_res_nsearch.
5554         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5555         * include/resolv.h: Update prototypes of __libc_res_nquery,
5556         __libc_res_nsearch, __libc_res_nsend.
5558 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
5560         * math/auto-libm-test-in: Add tests of fma.
5561         * math/auto-libm-test-out: Regenerated.
5562         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5563         (fma_towardzero_test_data): Likewise.
5564         (fma_downward_test_data): Likewise.
5565         (fma_upward_test_data): Likewise.
5566         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5567         mpc_mode.
5568         (rounding_modes): Add values for new field.
5569         (func_calc_method): Add value mpfr_fff_f.
5570         (func_calc_desc): Add mpfr_fff_f union field.
5571         (test_function): Add field exact_args.
5572         (FUNC): Add macro argument EXACT_ARGS.
5573         (FUNC_mpfr_f_f): Update call to FUNC.
5574         (FUNC_mpfr_f_f): Likewise.
5575         (FUNC_mpfr_ff_f): Likewise.
5576         (FUNC_mpfr_if_f): Likewise.
5577         (FUNC_mpc_c_f): Likewise.
5578         (FUNC_mpc_c_c): Likewise.
5579         (test_functions): Add fma.  Update calls to FUNC.
5580         (handle_input_arg): Add argument exact_args.
5581         (add_test): Update call to handle_input_arg.
5582         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5583         (output_for_one_input_case): Update call to calc_generic_results.
5584         Recalculate exact zero results in each rounding mode.
5586         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5587         non-negative before setting low bit.
5588         * math/auto-libm-test-in: Mark one asin test possibly having
5589         spurious underflow.
5590         * math/auto-libm-test-out: Regenerated.
5591         * sysdeps/i386/fpu/libm-test-ulps: Update.
5592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5594 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5596         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5597         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5598         ports/sysdeps/unix/sysv/linux/microblaze.
5599         * README: Add missing listing for microblaze*-*-linux-gnu.
5601 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5603         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5604         * sysdeps/unix/sysv/linux/ia64: Move directory from
5605         ports/sysdeps/unix/sysv/linux/ia64.
5606         * README: Update listing for ia64-*-linux-gnu.
5608 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5609             Joseph Myers  <joseph@codesourcery.com>
5611         * Makeconfig (test-name): New variable.
5612         (evaluate-test): Likewise.
5613         * Makerules (do-test-clean): Remove .test-result files.
5614         (common-mostlyclean): Likewise.
5615         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5616         * scripts/evaluate-test.sh: New file.
5618 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5620         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5621         separate $(objpfx)tst-fopenloc-cmp.out and
5622         $(objpfx)tst-fopenloc-mem.out targets.
5623         (tests): Update dependencies.
5624         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5625         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5626         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5627         (tst-rxspencer-no-utf8-ARGS): New variable.
5628         (tst-rxspencer-no-utf8-ENV): Likewise.
5629         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5630         instead of $(objpfx)tst-rxspencer-mem.
5631         ($(objpfx)tst-rxspencer-mem): Change target to
5632         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5633         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5634         * posix/tst-rxspencer-no-utf8.c: New file.
5636         * elf/Makefile ($(objpfx)order.out): Remove rule.
5637         [$(run-built-tests) = yes] (tests): Depend on
5638         $(objpfx)order-cmp.out.
5639         ($(objpfx)order-cmp.out): New rule.
5640         [$(run-built-tests) = yes] (tests): Depend on
5641         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5642         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5643         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5644         $(objpfx)tst-array5-static-cmp.out.
5645         ($(objpfx)tst-array1.out): Remove rule.
5646         ($(objpfx)tst-array1-cmp.out): New rule.
5647         ($(objpfx)tst-array1-static.out): Remove rule.
5648         ($(objpfx)tst-array1-static-cmp.out): New rule.
5649         ($(objpfx)tst-array2.out): Remove rule.
5650         ($(objpfx)tst-array2-cmp.out): New rule.
5651         ($(objpfx)tst-array3.out): Remove rule.
5652         ($(objpfx)tst-array3-cmp.out): New rule.
5653         ($(objpfx)tst-array4.out): Remove rule.
5654         ($(objpfx)tst-array4-cmp.out): New rule.
5655         ($(objpfx)tst-array5.out): Remove rule.
5656         ($(objpfx)tst-array5-cmp.out): New rule.
5657         ($(objpfx)tst-array5-static.out): Remove rule.
5658         ($(objpfx)tst-array5-static-cmp.out): New rule.
5659         [$(run-built-tests) = yes] (tests): Depend on
5660         $(objpfx)order2-cmp.out.
5661         ($(objpfx)order2.out): Remove rule.
5662         ($(objpfx)order2-cmp.out): New rule.
5663         ($(objpfx)tst-initorder.out): Remove rule.
5664         [$(run-built-tests) = yes] (tests): Depend on
5665         $(objpfx)tst-initorder-cmp.out.
5666         ($(objpfx)tst-initorder-cmp.out): New rule.
5667         ($(objpfx)tst-initorder2.out): Remove rule.
5668         [$(run-built-tests) = yes] (tests): Depend on
5669         $(objpfx)tst-initorder2-cmp.out.
5670         ($(objpfx)tst-initorder2-cmp.out): New rule.
5671         [$(run-built-tests) = yes] (tests): Depend on
5672         $(objpfx)tst-unused-dep-cmp.out.
5673         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5674         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5675         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5676         on $(objpfx)tst-setvbuf1-cmp.out.
5677         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5678         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5679         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5680         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5681         ($(objpfx)tst-svc.out): Remove rule.
5682         ($(objpfx)tst-svc-cmp.out): New rule.
5684 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5686         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5687         * ctype/ctype.h [__USE_MISC]: Likewise.
5688         * dirent/dirent.h [__USE_MISC]: Likewise.
5689         * grp/grp.h [__USE_MISC]: Likewise.
5690         * io/fcntl.h [__USE_MISC]: Likewise.
5691         * io/sys/stat.h [__USE_MISC]: Likewise.
5692         * libio/stdio.h [__USE_MISC]: Likewise.
5693         * posix/unistd.h [__USE_MISC]: Likewise.
5694         * pwd/pwd.h [__USE_MISC]: Likewise.
5695         * stdlib.h [__USE_MISC]: Likewise.
5696         * string/bits/string2.h [__USE_MISC]: Likewise.
5697         * string/string.h [__USE_MISC]: Likewise.
5698         * time/time.h [__USE_MISC]: Likewise.
5700 2014-02-13  Andreas Schwab  <schwab@suse.de>
5702         [BZ #16574]
5703         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5704         second answer buffer if it was separately allocated.
5706 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5708         * sysdeps/mips/math-tests.h: Include <features.h>.
5709         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5710         (ROUNDING_TESTS_long_double): Do not define.
5711         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5712         (EXCEPTION_TESTS_long_double): Likewise.
5713         * sysdeps/mips/mips64/libm-test-ulps: Update.
5715         * include/features.h (__USE_BSD): Remove macro definitions.
5716         (__USE_SVID): Likewise.
5717         (_BSD_SOURCE): Likewise.
5718         (_SVID_SOURCE): Likewise.
5719         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5720         from definition of _DEFAULT_SOURCE.
5721         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5722         [_DEFAULT_SOURCE].
5723         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5724         * bits/mman.h [__USE_BSD]: Likewise.
5725         * bits/termios.h [__USE_BSD]: Likewise.
5726         * bits/waitstatus.h [__USE_BSD]: Likewise.
5727         * ctype/ctype.h [__USE_SVID]: Likewise.
5728         * dirent/dirent.h [__USE_BSD]: Likewise.
5729         * grp/grp.h [__USE_SVID]: Likewise.
5730         [__USE_BSD]: Likewise.
5731         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5732         * io/fcntl.h [__USE_BSD]: Likewise.
5733         * io/ftw.h [__USE_BSD]: Likewise.
5734         * io/sys/stat.h [__USE_BSD]: Likewise.
5735         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5736         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5737         * libio/stdio.h [__USE_SVID]: Likewise.
5738         [__USE_BSD]: Likewise.
5739         * math/math.h [__USE_SVID]: Likewise.
5740         [__USE_BSD]: Likewise.
5741         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5742         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5743         * misc/search.h [__USE_SVID]: Likewise.
5744         * misc/sys/mman.h [__USE_BSD]: Likewise.
5745         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5746         * misc/sys/uio.h [__USE_BSD]: Likewise.
5747         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5748         * posix/glob.h [__USE_BSD]: Likewise.
5749         * posix/regex.h [__USE_BSD]: Likewise.
5750         * posix/sys/types.h [__USE_BSD]: Likewise.
5751         [__USE_SVID]: Likewise.
5752         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5753         * posix/sys/wait.h [__USE_BSD]: Likewise.
5754         [__USE_SVID]: Likewise.
5755         * posix/unistd.h [__USE_BSD]: Likewise.
5756         [__USE_SVID]: Likewise.
5757         * pwd/pwd.h [__USE_SVID]: Likewise.
5758         * resolv/netdb.h [__USE_BSD]: Likewise.
5759         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5760         * signal/signal.h [__USE_BSD]: Likewise.
5761         [__USE_SVID]: Likewise.
5762         * socket/sys/socket.h [__USE_BSD]: Likewise.
5763         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5764         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5765         [__USE_SVID]: Likewise.
5766         * string/bits/string2.h [__USE_BSD]: Likewise.
5767         [__USE_SVID]: Likewise.
5768         * string/bits/string3.h [__USE_BSD]: Likewise.
5769         * string/endian.h [__USE_BSD]: Likewise.
5770         * string/string.h [__USE_SVID]: Likewise.
5771         [__USE_BSD]: Likewise.
5772         * string/strings.h [__USE_BSD]: Likewise.
5773         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5774         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5775         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5776         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5777         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5778         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5779         Likewise.
5780         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5781         Likewise.
5782         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5783         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5784         Likewise.
5785         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5786         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5787         Likewise.
5788         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5789         Likewise.
5790         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5791         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5792         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5793         Likewise.
5794         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5795         Likewise.
5796         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5797         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5798         * termios/termios.h [__USE_BSD]: Likewise.
5799         * time/sys/time.h [__USE_BSD]: Likewise.
5800         * time/time.h [__USE_BSD]: Likewise.
5801         [__USE_SVID]: Likewise.
5803         * Makefile (subdir_targets): Remove subdir_lint.out.
5805         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5806         (do-tst-printf): Likewise.
5807         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5808         $(objpfx)tst-printf.out.
5810         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5812         * Makerules (check-abi-%): Change target to
5813         $(objpfx)check-abi-%.out.
5814         (check-abi target): Update dependencies.
5815         (check-abi-pattern variable): Redirect output of diff to $@.
5816         (check-abi variable): Likewise.
5817         * elf/Makefile (check-abi): Update dependencies.
5819         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5820         unused.
5821         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5822         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5823         subnormal range.
5824         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5825         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5826         value has largest subnormal exponent.
5827         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5828         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5829         * sysdeps/aarch64/soft-fp/sfp-machine.h
5830         (_FP_TININESS_AFTER_ROUNDING): New macro.
5831         * sysdeps/alpha/soft-fp/sfp-machine.h
5832         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5833         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5834         Likewise.
5835         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5836         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5837         * sysdeps/mips/soft-fp/sfp-machine.h
5838         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5839         * sysdeps/powerpc/soft-fp/sfp-machine.h
5840         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5841         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5842         Likewise.
5843         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5844         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5845         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5846         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5847         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5848         Likewise.
5850 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5852         [BZ #16545]
5853         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5854         model 1.
5856 2014-02-12  Richard Henderson  <rth@redhat.com>
5858         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5859         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5860         * sysdeps/unix/sysv/linux/alpha: Move directory from
5861         ports/sysdeps/unix/sysv/linux/alpha.
5862         * README: Update listing for alpha-*-linux-gnu.
5864 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5866         * include/features.h: Update comment documenting feature test
5867         macros.
5868         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5869         _DEFAULT_SOURCE.
5870         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5871         (_SVID_SOURCE): Likewise.
5872         (_DEFAULT_SOURCE): Update description of default features.
5873         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5874         with _GNU_SOURCE.
5875         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5876         (S_ISVTX): Likewise.
5877         * manual/math.texi (Mathematical Constants): Likewise.
5878         * manual/signal.texi (Interrupted Primitives): Likewise.
5879         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5880         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5881         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5882         Don't refer to _SVID_SOURCE in warning text.
5884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5886         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5887         already defined.
5888         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5889         * sysdeps/mips/dl-lookup.c: Remove.
5890         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5892 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5894         [BZ #16447]
5895         * math/auto-libm-test-in: Add testcase for expl.
5896         * math/auto-libm-test-out: Regenerate.
5897         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5898         calculation of unsafe.
5899         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5901 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5903         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5904         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5905         ports/sysdeps/unix/sysv/linux/aarch64.
5906         * README: Update listing for aarch64*-*-linux-gnu.
5908 2014-02-11  Will Newton  <will.newton@linaro.org>
5910         * manual/probes.texi (Mathematical Function Probes): Use
5911         "triggered" instead of "hit".
5913         * manual/probes.texi (Internal Probes): Add documentation
5914         of setjmp, longjmp and longjmp_target probes.
5916         * include/stap-probe.h: Add comment about probe argument
5917         format.
5919         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5920         definition.  (tr_where, tr_freehook, tr_mallochook,
5921         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5923 2014-02-11  David S. Miller  <davem@davemloft.net>
5925         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5926         processing int_tests.
5928 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5930         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5931         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5932         * sysdeps/unix/sysv/linux/mips: Move directory from
5933         ports/sysdeps/unix/sysv/linux/mips.
5934         * README: Update listing for mips-*-linux-gnu and
5935         mips64-*-linux-gnu.
5937 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5939         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5940         * sysdeps/unix/sysv/linux/m68k: Move directory from
5941         ports/sysdeps/unix/sysv/linux/m68k.
5942         * README: Update listing for m68k-*-linux-gnu.
5944 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5946         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5947         * sysdeps/unix/sysv/linux/generic: Move directory from
5948         ports/sysdeps/unix/sysv/linux/generic.
5949         * sysdeps/unix/sysv/linux/tile: Move directory from
5950         ports/sysdeps/unix/sysv/linux/tile.
5951         * README: Update listing for tile*-*-linux-gnu.
5953 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5955         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5956         __builtin_expect.
5957         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5958         * catgets/open_catalog.c (__open_catalog): Likewise.
5959         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5960         * debug/confstr_chk.c: Likewise.
5961         * debug/fread_chk.c (__fread_chk): Likewise.
5962         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5963         * debug/getgroups_chk.c: Likewise.
5964         * debug/mbsnrtowcs_chk.c: Likewise.
5965         * debug/mbsrtowcs_chk.c: Likewise.
5966         * debug/mbstowcs_chk.c: Likewise.
5967         * debug/memcpy_chk.c: Likewise.
5968         * debug/memmove_chk.c: Likewise.
5969         * debug/mempcpy_chk.c: Likewise.
5970         * debug/memset_chk.c: Likewise.
5971         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5972         * debug/strcat_chk.c (__strcat_chk): Likewise.
5973         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5974         * debug/strncat_chk.c (__strncat_chk): Likewise.
5975         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5976         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5977         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5978         * debug/wcpncpy_chk.c: Likewise.
5979         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5980         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5981         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5982         * debug/wcsncpy_chk.c: Likewise.
5983         * debug/wcsnrtombs_chk.c: Likewise.
5984         * debug/wcsrtombs_chk.c: Likewise.
5985         * debug/wcstombs_chk.c: Likewise.
5986         * debug/wmemcpy_chk.c: Likewise.
5987         * debug/wmemmove_chk.c: Likewise.
5988         * debug/wmempcpy_chk.c: Likewise.
5989         * debug/wmemset_chk.c: Likewise.
5990         * dirent/scandirat.c (SCANDIRAT): Likewise.
5991         * dlfcn/dladdr1.c (dladdr1): Likewise.
5992         * dlfcn/dladdr.c (dladdr): Likewise.
5993         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5994         * dlfcn/dlerror.c (__dlerror): Likewise.
5995         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5996         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5997         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5998         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5999         * dlfcn/dlsym.c (dlsym_doit): Likewise.
6000         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6001         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6002         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6003         Likewise.
6004         * elf/dl-conflict.c: Likewise.
6005         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6006         * elf/dl-dst.h: Likewise.
6007         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6008         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6009         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6010         * elf/dl-init.c (call_init, _dl_init): Likewise.
6011         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6012         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6013         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6014         Likewise.
6015         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6016         Likewise.
6017         * elf/dl-minimal.c (__libc_memalign): Likewise.
6018         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6019         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6020         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6021         * elf/dl-sym.c (do_sym): Likewise.
6022         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6023         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6024         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6025         * elf/dl-writev.h (_dl_writev): Likewise.
6026         * elf/ldconfig.c (search_dir): Likewise.
6027         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6028         (dl_main): Likewise.
6029         * elf/setup-vdso.h (setup_vdso): Likewise.
6030         * grp/compat-initgroups.c (compat_call): Likewise.
6031         * grp/fgetgrent.c (fgetgrent): Likewise.
6032         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6033         * grp/putgrent.c (putgrent): Likewise.
6034         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6035         Likewise.
6036         * hurd/hurdinit.c: Likewise.
6037         * iconvdata/8bit-gap.c (struct): Likewise.
6038         * iconvdata/ansi_x3.110.c : Likewise.
6039         * iconvdata/big5.c : Likewise.
6040         * iconvdata/big5hkscs.c : Likewise.
6041         * iconvdata/cp1255.c: Likewise.
6042         * iconvdata/cp1258.c : Likewise.
6043         * iconvdata/cp932.c : Likewise.
6044         * iconvdata/euc-cn.c: Likewise.
6045         * iconvdata/euc-jisx0213.c : Likewise.
6046         * iconvdata/euc-jp.c: Likewise.
6047         * iconvdata/euc-jp-ms.c : Likewise.
6048         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6049         * iconvdata/gb18030.c : Likewise.
6050         * iconvdata/gbbig5.c (const): Likewise.
6051         * iconvdata/gbgbk.c: Likewise.
6052         * iconvdata/gbk.c : Likewise.
6053         * iconvdata/ibm1364.c : Likewise.
6054         * iconvdata/ibm930.c : Likewise.
6055         * iconvdata/ibm932.c: Likewise.
6056         * iconvdata/ibm933.c : Likewise.
6057         * iconvdata/ibm935.c : Likewise.
6058         * iconvdata/ibm937.c : Likewise.
6059         * iconvdata/ibm939.c : Likewise.
6060         * iconvdata/ibm943.c: Likewise.
6061         * iconvdata/iso_11548-1.c: Likewise.
6062         * iconvdata/iso-2022-cn.c : Likewise.
6063         * iconvdata/iso-2022-cn-ext.c : Likewise.
6064         * iconvdata/iso-2022-jp-3.c: Likewise.
6065         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6066         * iconvdata/iso-2022-kr.c : Likewise.
6067         * iconvdata/iso646.c (gconv_end): Likewise.
6068         * iconvdata/iso_6937-2.c : Likewise.
6069         * iconvdata/iso_6937.c : Likewise.
6070         * iconvdata/iso8859-1.c: Likewise.
6071         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6072         * iconvdata/shift_jisx0213.c : Likewise.
6073         * iconvdata/sjis.c : Likewise.
6074         * iconvdata/t.61.c : Likewise.
6075         * iconvdata/tcvn5712-1.c : Likewise.
6076         * iconvdata/tscii.c: Likewise.
6077         * iconvdata/uhc.c : Likewise.
6078         * iconvdata/unicode.c (gconv_end): Likewise.
6079         * iconvdata/utf-16.c (gconv_end): Likewise.
6080         * iconvdata/utf-32.c (gconv_end): Likewise.
6081         * iconvdata/utf-7.c (base64): Likewise.
6082         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6083         * iconv/gconv_close.c (__gconv_close): Likewise.
6084         * iconv/gconv_open.c (__gconv_open): Likewise.
6085         * iconv/gconv_simple.c (internal_ucs4_loop_single)
6086         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6087         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6088         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6089         (ucs4le_internal_loop_single): Likewise.
6090         * iconv/iconv.c (iconv): Likewise.
6091         * iconv/iconv_close.c: Likewise.
6092         * iconv/loop.c (SINGLE): Likewise.
6093         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6094         * include/atomic.h: Likewise.
6095         * inet/inet6_option.c (option_alloc): Likewise.
6096         * intl/bindtextdom.c (set_binding_values): Likewise.
6097         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6098         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6099         * intl/localealias.c (read_alias_file): Likewise.
6100         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6101         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6102         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6103         * libio/fmemopen.c (fmemopen): Likewise.
6104         * libio/iofgets.c (_IO_fgets): Likewise.
6105         * libio/iofgets_u.c (fgets_unlocked): Likewise.
6106         * libio/iofgetws.c (fgetws): Likewise.
6107         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6108         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6109         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6110         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6111         * locale/findlocale.c (_nl_find_locale): Likewise.
6112         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6113         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6114         Likewise.
6115         * locale/setlocale.c (setlocale): Likewise.
6116         * login/programs/pt_chown.c (main): Likewise.
6117         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6118         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6119         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6120         (mmap, mmap64, mremap, munmap): Likewise.
6121         * math/e_exp2l.c: Likewise.
6122         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6123         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6124         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6125         * math/s_catan.c (__catan): Likewise.
6126         * math/s_catanf.c (__catanf): Likewise.
6127         * math/s_catanh.c (__catanh): Likewise.
6128         * math/s_catanhf.c (__catanhf): Likewise.
6129         * math/s_catanhl.c (__catanhl): Likewise.
6130         * math/s_catanl.c (__catanl): Likewise.
6131         * math/s_ccosh.c (__ccosh): Likewise.
6132         * math/s_ccoshf.c (__ccoshf): Likewise.
6133         * math/s_ccoshl.c (__ccoshl): Likewise.
6134         * math/s_cexp.c (__cexp): Likewise.
6135         * math/s_cexpf.c (__cexpf): Likewise.
6136         * math/s_cexpl.c (__cexpl): Likewise.
6137         * math/s_clog10.c (__clog10): Likewise.
6138         * math/s_clog10f.c (__clog10f): Likewise.
6139         * math/s_clog10l.c (__clog10l): Likewise.
6140         * math/s_clog.c (__clog): Likewise.
6141         * math/s_clogf.c (__clogf): Likewise.
6142         * math/s_clogl.c (__clogl): Likewise.
6143         * math/s_csin.c (__csin): Likewise.
6144         * math/s_csinf.c (__csinf): Likewise.
6145         * math/s_csinh.c (__csinh): Likewise.
6146         * math/s_csinhf.c (__csinhf): Likewise.
6147         * math/s_csinhl.c (__csinhl): Likewise.
6148         * math/s_csinl.c (__csinl): Likewise.
6149         * math/s_csqrt.c (__csqrt): Likewise.
6150         * math/s_csqrtf.c (__csqrtf): Likewise.
6151         * math/s_csqrtl.c (__csqrtl): Likewise.
6152         * math/s_ctan.c (__ctan): Likewise.
6153         * math/s_ctanf.c (__ctanf): Likewise.
6154         * math/s_ctanh.c (__ctanh): Likewise.
6155         * math/s_ctanhf.c (__ctanhf): Likewise.
6156         * math/s_ctanhl.c (__ctanhl): Likewise.
6157         * math/s_ctanl.c (__ctanl): Likewise.
6158         * math/w_pow.c: Likewise.
6159         * math/w_powf.c: Likewise.
6160         * math/w_powl.c: Likewise.
6161         * math/w_scalb.c (sysv_scalb): Likewise.
6162         * math/w_scalbf.c (sysv_scalbf): Likewise.
6163         * math/w_scalbl.c (sysv_scalbl): Likewise.
6164         * misc/error.c (error_tail): Likewise.
6165         * misc/pselect.c (__pselect): Likewise.
6166         * nis/nis_callback.c (__nis_create_callback): Likewise.
6167         * nis/nis_call.c (__nisfind_server): Likewise.
6168         * nis/nis_creategroup.c (nis_creategroup): Likewise.
6169         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6170         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6171         * nis/nis_getservlist.c (nis_getservlist): Likewise.
6172         * nis/nis_lookup.c (nis_lookup): Likewise.
6173         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6174         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6175         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6176         * nis/nis_xdr.c (xdr_endpoint): Likewise.
6177         * nis/nss_compat/compat-grp.c (getgrent_next_file)
6178         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6179         * nis/nss_compat/compat-initgroups.c (add_group)
6180         (internal_getgrent_r): Likewise.
6181         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6182         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6183         * nis/nss_compat/compat-spwd.c (getspent_next_file)
6184         (internal_getspnam_r): Likewise.
6185         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6186         (_nss_nis_getaliasbyname_r): Likewise.
6187         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6188         (_nss_nis_getntohost_r): Likewise.
6189         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6190         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6191         (_nss_nis_getgrgid_r): Likewise.
6192         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6193         (internal_nis_gethostent_r, internal_gethostbyname2_r)
6194         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6195         (_nss_nis_gethostbyname4_r): Likewise.
6196         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6197         (initgroups_netid): Likewise.
6198         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6199         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6200         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6201         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6202         (_nss_nis_getprotobynumber_r): Likewise.
6203         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6204         (_nss_nis_getsecretkey): Likewise.
6205         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6206         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6207         (_nss_nis_getpwuid_r): Likewise.
6208         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6209         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6210         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6211         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6212         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6213         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6214         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6215         Likewise.
6216         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6217         (_nss_nisplus_getntohost_r): Likewise.
6218         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6219         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6220         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6221         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6222         Likewise.
6223         * nis/nss_nisplus/nisplus-initgroups.c
6224         (_nss_nisplus_initgroups_dyn): Likewise.
6225         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6226         (_nss_nisplus_getnetbyaddr_r): Likewise.
6227         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6228         (_nss_nisplus_getprotobynumber_r): Likewise.
6229         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6230         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6231         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6232         Likewise.
6233         * nis/nss_nisplus/nisplus-service.c
6234         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6235         (_nss_nisplus_getservbyport_r): Likewise.
6236         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6237         (_nss_nisplus_getspnam_r): Likewise.
6238         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6239         Likewise.
6240         * nscd/aicache.c (addhstaiX): Likewise.
6241         * nscd/cache.c (cache_search, prune_cache): Likewise.
6242         * nscd/connections.c (register_traced_file, send_ro_fd)
6243         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6244         (main_loop_epoll): Likewise.
6245         * nscd/grpcache.c (addgrbyX): Likewise.
6246         * nscd/hstcache.c (addhstbyX): Likewise.
6247         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6248         * nscd/mem.c (gc, mempool_alloc): Likewise.
6249         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6250         (addinnetgrX): Likewise.
6251         * nscd/nscd-client.h (__nscd_acquire_maplock)
6252         (__nscd_drop_map_ref): Likewise.
6253         * nscd/nscd_getai.c (__nscd_getai): Likewise.
6254         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6255         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6256         Likewise.
6257         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6258         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6259         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6260         (__nscd_get_map_ref): Likewise.
6261         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6262         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6263         Likewise.
6264         * nscd/pwdcache.c (addpwbyX): Likewise.
6265         * nscd/selinux.c (preserve_capabilities): Likewise.
6266         * nscd/servicescache.c (addservbyX): Likewise.
6267         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6268         * posix/fnmatch.c (fnmatch): Likewise.
6269         * posix/getopt.c (_getopt_internal_r): Likewise.
6270         * posix/glob.c (glob, glob_in_dir): Likewise.
6271         * posix/wordexp.c (exec_comm_child): Likewise.
6272         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6273         (getanswer_r, gaih_getanswer_slice): Likewise.
6274         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6275         * resolv/res_init.c: Likewise.
6276         * resolv/res_mkquery.c (res_nmkquery): Likewise.
6277         * resolv/res_query.c (__libc_res_nquery): Likewise.
6278         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6279         Likewise.
6280         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6281         * stdio-common/perror.c (perror): Likewise.
6282         * stdio-common/printf_fp.c (___printf_fp): Likewise.
6283         * stdio-common/tmpnam.c (tmpnam): Likewise.
6284         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6285         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6286         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6287         Likewise.
6288         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6289         * stdlib/putenv.c (putenv): Likewise.
6290         * stdlib/setenv.c (__add_to_environ): Likewise.
6291         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6292         * stdlib/strtol_l.c (INTERNAL): Likewise.
6293         * string/memmem.c (memmem): Likewise.
6294         * string/strerror.c (strerror): Likewise.
6295         * string/strnlen.c (__strnlen): Likewise.
6296         * string/test-memmem.c (simple_memmem): Likewise.
6297         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6298         * sunrpc/pm_getport.c (__get_socket): Likewise.
6299         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6300         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6301         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6302         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6303         Likewise.
6304         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6305         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6306         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6307         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6308         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6309         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6310         Likewise.
6311         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6312         Likewise.
6313         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6314         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6315         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6316         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6317         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6319         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6320         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6321         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6322         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6323         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6324         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6325         Likewise.
6326         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6327         Likewise.
6328         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6329         Likewise.
6330         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6331         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6332         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6333         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6334         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6335         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6336         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6337         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6339         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6340         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6341         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6342         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6343         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6345         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6346         Likewise.
6347         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6348         Likewise.
6349         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6350         Likewise.
6351         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6352         Likewise.
6353         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6354         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6355         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6356         Likewise.
6357         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6358         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6359         * sysdeps/posix/opendir.c (__opendirat): Likewise.
6360         * sysdeps/posix/sleep.c: Likewise.
6361         * sysdeps/posix/tempname.c: Likewise.
6362         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6363         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6364         Likewise.
6365         * sysdeps/powerpc/powerpc32/dl-machine.h
6366         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6367         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6368         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6369         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6370         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6371         Likewise.
6372         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6373         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6374         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6375         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6376         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6377         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6378         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6379         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6380         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6381         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6382         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6383         (elf_machine_lazy_rel): Likewise.
6384         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6385         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6386         (elf_machine_lazy_rel): Likewise.
6387         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6388         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6389         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6390         * sysdeps/unix/grantpt.c (grantpt): Likewise.
6391         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6392         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6393         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6394         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6395         Likewise.
6396         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6397         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6398         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6399         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6400         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6401         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6402         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6403         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6404         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6405         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6406         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6407         Likewise.
6408         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6409         (__posix_fallocate64_l64): Likewise.
6410         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6411         (posix_fallocate): Likewise.
6412         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6413         Likewise.
6414         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6415         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6416         (getifaddrs_internal): Likewise.
6417         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6418         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6419         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6420         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6421         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6422         (__posix_fallocate64_l64): Likewise.
6423         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6424         Likewise.
6425         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6426         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6427         (__get_clockfreq): Likewise.
6428         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6429         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6430         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6432         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6433         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6434         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6435         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6436         Likewise.
6437         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6438         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6439         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6440         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6441         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6442         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6443         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6444         Likewise.
6445         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6446         (posix_fallocate): Likewise.
6447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6448         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6449         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6450         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6451         (elf_machine_rela, elf_machine_rela_relative)
6452         (elf_machine_lazy_rel): Likewise.
6453         * time/asctime.c (asctime_internal): Likewise.
6454         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6455         * time/tzset.c (__tzset_parse_tz): Likewise.
6456         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6457         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6458         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6459         * wcsmbs/wcsmbsload.h: Likewise.
6461         [BZ #15894]
6462         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6464         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6465         (arena_get2): Remove THREAD_STATS conditionals.
6466         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6467         (__malloc_stats, int): Likewise.
6469 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
6471         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6472         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
6474         * manual/setjmp.texi: Fix typos/grammar errors.
6476         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6477         Only return early when n is <= 0.  Delete unused return statement.
6479         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6480         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6481         * debug/tst-longjmp_chk3.c: New file.
6483         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6484         (test_main): Replace code with set_fortify_handler call.
6485         * debug/test-strcpy_chk.c: Likewise.
6486         * debug/tst-chk1.c: Likewise.
6487         * debug/tst-longjmp_chk.c: Likewise.
6488         * test-skeleton.c: Include fcntl.h & paths.h
6489         (set_fortify_handler): Define.
6491         * debug/tst-longjmp_chk.c: Add header comment and include
6492         ../test-skeleton.c.
6493         (do_test): Mark static.
6494         (TEST_FUNCTION): Define.
6496         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6497         (IP_PMTUDISC_INTERFACE): Likewise.
6498         (IP_MULTICAST_IF): Likewise.
6499         (IP_MULTICAST_TTL): Likewise.
6500         (IP_MULTICAST_LOOP): Likewise.
6501         (IP_ADD_MEMBERSHIP): Likewise.
6502         (IP_DROP_MEMBERSHIP): Likewise.
6503         (IP_UNBLOCK_SOURCE): Likewise.
6504         (IP_BLOCK_SOURCE): Likewise.
6505         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6506         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6507         (IP_MSFILTER): Likewise.
6508         (MCAST_JOIN_GROUP): Likewise.
6509         (MCAST_BLOCK_SOURCE): Likewise.
6510         (MCAST_UNBLOCK_SOURCE): Likewise.
6511         (MCAST_LEAVE_GROUP): Likewise.
6512         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6513         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6514         (MCAST_MSFILTER): Likewise.
6515         (IP_MULTICAST_ALL): Likewise.
6516         (IP_UNICAST_IF): Likewise.
6518         * timezone/Makefile: Delete $(have-ksh) check.
6519         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6520         * timezone/tzselect.ksh: Add +x mode bits.
6522         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6523         (ANON_INODE_FS_MAGIC): Likewise.
6524         (BDEVFS_MAGIC): Likewise.
6525         (BINFMTFS_MAGIC): Likewise.
6526         (BTRFS_TEST_MAGIC): Likewise.
6527         (CRAMFS_MAGIC_WEND): Likewise.
6528         (DEBUGFS_MAGIC): Likewise.
6529         (ECRYPTFS_SUPER_MAGIC): Likewise.
6530         (EXT3_SUPER_MAGIC): Likewise.
6531         (EXT4_SUPER_MAGIC): Likewise.
6532         (FUTEXFS_SUPER_MAGIC): Likewise.
6533         (HOSTFS_SUPER_MAGIC): Likewise.
6534         (HUGETLBFS_MAGIC): Likewise.
6535         (MINIX3_SUPER_MAGIC): Likewise.
6536         (MTD_INODE_FS_MAGIC): Likewise.
6537         (NILFS_SUPER_MAGIC): Likewise.
6538         (OPENPROM_SUPER_MAGIC): Likewise.
6539         (PIPEFS_MAGIC): Likewise.
6540         (PSTOREFS_MAGIC): Likewise.
6541         (QNX6_SUPER_MAGIC): Likewise.
6542         (RAMFS_MAGIC): Likewise.
6543         (REISERFS_SUPER_MAGIC_STRING): Likewise.
6544         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6545         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6546         (SECURITYFS_MAGIC): Likewise.
6547         (SELINUX_MAGIC): Likewise.
6548         (SMACK_MAGIC): Likewise.
6549         (SOCKFS_MAGIC): Likewise.
6550         (SQUASHFS_MAGIC): Likewise.
6551         (STACK_END_MAGIC): Likewise.
6552         (TMPFS_MAGIC): Likewise.
6553         (USBDEVICE_SUPER_MAGIC): Likewise.
6554         (V9FS_MAGIC): Likewise.
6555         (XENFS_SUPER_MAGIC): Likewise.
6556         (CRAMFS_MAGIC): Fix typo in comment.
6557         (EXT2_SUPER_MAGIC): Update comment.
6558         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6560 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
6562         * sysdeps/arm: Move directory from ports/sysdeps/arm.
6563         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6564         * sysdeps/unix/sysv/linux/arm: Move directory from
6565         ports/sysdeps/unix/sysv/linux/arm.
6566         * README: Update listing for arm-*-linux-gnueabi.
6568         * README: Remove mention of am33.
6570 2014-02-07  Roland McGrath  <roland@hack.frob.com>
6572         * bits/sigset.h (__sigemptyset): Use a statement expression rather
6573         than the comma operator, to avoid "rhs of comma has no effect"
6574         compiler warnings.
6575         (__sigfillset, __sigandset, __sigorset): Likewise.
6576         * include/signal.h (__sigemptyset): Likewise.
6577         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6579 2014-02-07  Allan McRae  <allan@archlinux.org>
6581         * version.h (RELEASE): Set to "development".
6582         (VERSION): Set to "2.19.90"
6583         * NEWS: Add 2.20 section.
6585 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6587         [BZ #16529]
6588         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6590 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6592         * manual/contrib.texi: Update entry for Carlos O'Donell,
6593         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6595 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6597         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6599         * sysdeps/unix/sysv/linux/kernel-features.h
6600         [__LINUX_KERNEL_VERSION >= 0x020621]
6601         (__ASSUME_PROC_PID_TASK_COMM): Define.
6603 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6605         [BZ #16398]
6606         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6607         conversion when destination buffer does not have enough space.
6608         * libio/tst-ftell-partial-wide.c: New test case.
6609         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6611         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6612         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6613         Leonard and Allan McRae.
6615 2014-02-04  David S. Miller  <davem@davemloft.net>
6617         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6618         32-bit.
6620 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6623         New file
6624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6625         New file
6626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6627         New file.
6628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6629         New file.
6630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6631         New file.
6632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6633         New file.
6634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6635         New file.
6636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6637         New file.
6638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6639         New file.
6640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6641         New file.
6642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6643         New file.
6644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6645         New file.
6646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6647         New file.
6649 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6651         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6652         * shlib-versions: Likewise.
6654 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6655             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6657         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6658         (abilist-pattern): New variable, set to %-le.abilist.
6660         * Makerules (abilist-pattern): New variable.
6661         (vpath): Use $(abilist-pattern) in place of %.abilist.
6662         (check-abi-% pattern rule): Likewise.
6663         (check-abi, update-abi): Likewise.
6665 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6669 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6671         * manual/startup.texi: Add next, previous, and top entries for
6672         the `Program Arguments' and `Environment Variables' nodes.
6674 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6676         * manual/macros.texi: Add comments before MTASC-safety macros.
6678         * manual/users.texi: Document MTASC-safety properties.
6680         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6681         (pthread_getspecific, pthread_setspecific): Format with
6682         @deftypefun, and add @safety note.
6683         * manual/signal.texi: Move comments that analyze the above
6684         functions to their home place.
6686 2014-02-03  Allan McRae  <allan@archlinux.org>
6688         * po/sl.po: Update Slovenian translation from translation project.
6690 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6692         * manual/time.texi (timegm): Add missing blank after @c.
6693         Reported by Joseph Myers <joseph@codesourcery.com>.
6695 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6697         * manual/check-safety.sh: New.
6698         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6700         * manual/terminal.texi: Document MTASC-safety properties.
6702         * manual/filesys.texi: Document MTASC-safety properties.
6704         * manual/errno.texi: Document MTASC-safety properties.
6706         * manual/intro.texi: Document safety identifiers and
6707         conditionals.
6709         * manual/string.texi (wcstok): Fix prototype.
6710         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6712         * manual/time.texi: Document MTASC-safety properties.
6714         * manual/string.texi: Document MTASC-safety properties.
6716         * manual/threads.texi: Document MTASC-safety properties.
6718         * manual/stdio.texi: Document MTASC-safety properties.
6720         * manual/syslog.texi: Document MTASC-safety properties.
6722         * manual/sysinfo.texi: Document MTASC-safety properties.
6724         * manual/startup.texi: Document MTASC-safety properties.
6726         * manual/socket.texi: Document MTASC-safety properties.
6728         * manual/signal.texi: Document MTASC-safety properties.
6730 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6732         * manual/setjmp.texi: Document MTASC-safety properties.
6734         * manual/search.texi: Document MTASC-safety properties.
6736         * manual/resource.texi: Document MTASC-safety properties.
6738         * manual/process.texi: Document MTASC-safety properties.
6740         * manual/platform.texi: Document MTASC-safety properties.
6742         * manual/pipe.texi: Document MTASC-safety properties.
6744         * manual/pattern.texi: Document MTASC-safety properties.
6746         * manual/message.texi: Document MTASC-safety properties.
6748         [BZ #12751]
6749         * manual/memory.texi: Document MTASC-safety properties.
6751         * manual/math.texi: Document MTASC-safety properties.
6753         * manual/locale.texi: Document MTASC-safety properties.
6755         * manual/llio.texi: Document MTASC-safety properties.
6757         * manual/libdl.texi: New.
6759         * manual/lang.texi: Document MTASC-safety properties.
6761         * manual/job.texi: Document MTASC-safety properties.
6763         * manual/getopt.texi: Document MTASC-safety properties.
6765         * manual/ctype.texi: Document MTASC-safety properties.
6767 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6769         [BZ #16046]
6770         * csu/libc-tls.c (static_map): Remove variable.
6771         (__libc_setup_tls): Use main executable's link map for TLS data.
6772         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6773         casing for LM_ID_BASE and GL(dl_nns).
6774         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6775         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6776         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6777         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6778         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6779         member.
6780         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6781         l_phnum members.
6783 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6785         * manual/debug.texi: Document MTASC-safety properties.
6787 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6789         [BZ #16510]
6790         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6791         of __x86_64__ when disabling x87 inline functions.
6793 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6795         * manual/charset.texi: Document MTASC-safety properties.
6797         * manual/crypt.texi: Document MTASC-safety properties.
6799         * manual/conf.texi: Document MTASC-safety properties.
6801         * manual/arith.texi: Document MTASC-safety properties.
6803         * manual/argp.texi: Document MTASC-safety properties.
6805         * manual/macros.texi: Introduce macros to document multi
6806         thread, asynchronous signal and asynchronous cancellation
6807         safety properties.
6808         * manual/intro.texi: Introduce the properties themselves.
6810 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6812         * sysdeps/sh/sh4/Makefile: New file.
6814 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6816         * math/gen-libm-test.pl ($srcdir): New variable.
6817         ($auto_input): Use it.
6819 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6821         [BZ #16506]
6822         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6823         access beyond array bounds when parsing netgroups file.
6825         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6826         the old buffer before realloc.
6828 2014-01-27  Allan McRae  <allan@archlinux.org>
6830         * po/fr.po: Update French translation from translation project.
6832 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6834         * sysdeps/sh/libm-test-ulps: Regenerate.
6836 2014-01-24  David S. Miller  <davem@davemloft.net>
6838         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6840 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6842         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6843         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6845 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6847         [BZ #16474]
6848         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6849         string pointers after reallocation.
6851 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6853         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6854         __SH4A__ instead of __SH_FPU_ANY__.
6856 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6858         * sysdeps/sh/fpu_control.h: New file.
6859         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6860         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6861         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6862         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6863         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6864         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6865         * sysdeps/sh/sys/ucontext.h: Remove.
6866         * sysdeps/sh/sys: Remove directory.
6868 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6870         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6871         s390/sys/ucontext.h.
6872         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6873         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6875 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6877         [BZ #15605]
6878         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6880 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6882         [BZ#16431]
6883         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6884         Adjust the vDSO correctly for internal calls.
6885         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6887 2014-01-20  Allan McRae  <allan@archlinux.org>
6889         * po/ca.po: Update Catalan translation from translation project.
6891 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6893         * sysdeps/s390/sotruss-lib.c: New file.
6895 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6897         [BZ#16430]
6898         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6899         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6900         local calls issues by not having a PLT stub required for IFUNC calls.
6901         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6903 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6905         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6906         * math/test-fpucw-static.c: Likewise.
6908 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6910         [BZ #16453]
6911         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6913 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6915         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6916         implementation for powerpc.
6918 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6920         [BZ #14782]
6921         * sysdeps/posix/system.c (__libc_system): Do not enable
6922         asynchronous cancellation.
6924 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6926         [BZ #16427]
6927         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6928         handling only for numbers special also in the IEEE case.
6930 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6932         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6934 2014-01-11  Allan McRae  <allan@archlinux.org>
6936         * po/bg.po: Update Bulgarian translation from translation project.
6938         * po/de.po: Update German translation from translation project.
6940 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6942         * sysdeps/generic/gcc-compat.h: New file.
6944 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6946         * benchtests/asin-inputs: Correct slow inputs.
6947         * benchtests/acos-inputs: Likewise.
6949 2014-01-10  Allan McRae  <allan@archlinux.org>
6951         * po:sv.po: Update Swedish translation from translation project.
6953         * po/vi.po: Update Vietnamese translation from translation project.
6955         * po/eo.po: Update Esperanto translation from translation project.
6957         * po/cs.po: Update Czech translation from translation project.
6959         * po/nl.po: Update Dutch translation from translation project.
6961         * po/pl.po: Update Polish translation from translation project.
6963         * po/ru.po: Update Russian translation from translation project.
6965         * po/uk.po: Update Ukrainian translation from translation project.
6967 2014-01-08  Brooks Moses  <bmoses@google.com>
6969         * elf/dl-load.c: Fix comment typo.
6971 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6973         * po/header.pot: Rename to...
6974         * po/pot.header: ... this.
6975         * po/Makefile: Use pot.header.
6977 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6978             Maxim Kuvyrkov  <maxim@kugelworks.com>
6980         [BZ #16394]
6981         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6982         SRC and DEST against LEN.
6984 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6986         [BZ #16414]
6987         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6988         implementation.
6989         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6991 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6995 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6997         [BZ #16408]
6998         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6999         for large positive arguments.
7001 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
7003         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7005         * math/auto-libm-test-in: Mark various tests with
7006         xfail-rounding:ldbl-128ibm.
7007         * math/auto-libm-test-out: Regenerated.
7009         [BZ #16407]
7010         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7011         Increase overflow threshold.
7013 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
7015         [BZ #14286]
7016         * stdio-common/vfprintf.c: Check for integer overflow.
7018 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7020         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7021         the first argument and return value of __tls_get_addr_internal.
7023 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7025         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7026         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7028 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7030         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7031         * sysdeps/s390/rtld-global-offsets.sym: New file.
7032         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7033         GLIBC_2.19 symbol.
7034         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7035         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7036         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7037         ... this.
7038         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7039         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7040         ... this.
7041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7042         Regenerate.
7043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7044         Regenerate.
7045         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7046         halfs of GPRs for high_gprs contexts.
7047         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7048         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
7049         field.
7050         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7051         uc_flags field.
7052         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7053         64 bit versions:
7054         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7055         for high GPRs (uc_high_gprs) and for future extensions
7056         (__reserved).
7057         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7058         for future extensions (__reserved).
7059         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7060         64 bit versions:
7061         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7062         SC_HIGHGPRS offset definition.
7063         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7064         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7066         * Versions.def: Add GLIBC_2.19 for libpthread.
7067         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7068         siglongjmp for libpthread with GLIBC_2.19 symver.
7069         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7070         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7071         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7072         * sysdeps/s390/__longjmp.c: New file.
7073         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7074         * sysdeps/s390/longjmp.c: New file.
7075         * sysdeps/s390/setjmp.S: New file.
7076         * sysdeps/s390/sigjmp.S: New file.
7077         * sysdeps/s390/v1-longjmp.c: New file.
7078         * sysdeps/s390/v1-setjmp.h: New file.
7079         * sysdeps/s390/v1-sigjmp.c: New file.
7080         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7081         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7082         GLIBC_2.19 version.
7083         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7084         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7085         versioned symbols for ____longjmp_chk.
7086         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7087         Likewise.
7088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7089         Regenerate.
7090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7091         Regenerate.
7092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7093         Regenerate.
7094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7095         Regenerate.
7096         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7097         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7098         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7099         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7100         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7101         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7102         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7103         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7104         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7105         * sysdeps/s390/rtld-__longjmp.c: New file.
7106         * sysdeps/s390/rtld-setjmp.S: New file.
7108 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
7110         [BZ #16400]
7111         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7112         Return -__logl (x) for small positive arguments without evaluating
7113         a polynomial.
7115 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
7117         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7118         Rename to ...
7119         (__ptrace_peeksiginfo_args): ... this.
7120         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7121         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7122         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7124 2014-01-06  Allan McRae  <allan@archlinux.org>
7126         * inet/netinet/in.h: Fix typo in comment.
7128 2014-01-05  Andreas Jaeger  <aj@suse.de>
7130         * sysdeps/i386/fpu/libm-test-ulps: Update.
7132 2014-01-05  Allan McRae  <allan@archlinux.org>
7134         * po/libc.pot: Regenerated.
7136         * malloc/memusagestat.c: Fix gettext call formatting.
7138 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
7140         * nscd/nscd.c: Improve usage() output.
7142 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
7144         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7145         * sysdeps/unix/sysv/linux/configure: Regenerated.
7146         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7147         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7149 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7151         [BZ #16390]
7152         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7153         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7155 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7157         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7158         extra tokens at end of #undef directive.
7159         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7160         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7161         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7163 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7165         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7167         * math/auto-libm-test-in: Mark various tests with
7168         xfail-rounding:ldbl-128ibm.
7169         * math/auto-libm-test-out: Regenerated.
7171 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7173         [BZ #16386]
7174         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7175         numbers with subnormal high part when calculating exponent.
7177         [BZ #16385]
7178         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7179         fabs.
7181         [BZ #16384]
7182         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7183         M_LN2l.
7184         (__ieee754_acoshl): Use __log1pl not __log1p.
7186 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
7188         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7189         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7190         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7191         (grow_heap, heap_trim, _int_new_arena, get_free_list)
7192         (reused_arena, arena_get2): Convert to GNU style.
7193         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7194         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7195         (memalign_check, __malloc_set_state): Likewise.
7196         * malloc/mallocbug.c (main): Likewise.
7197         * malloc/malloc.c (__malloc_assert, malloc_init_state)
7198         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7199         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7200         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7201         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7202         (__posix_memalign, malloc_info): Likewise.
7203         * malloc/malloc.h: Likewise.
7204         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7205         (mallochook, memalignhook, reallochook, mabort): Likewise.
7206         * malloc/mcheck.h: Likewise.
7207         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7208         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7209         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7210         * malloc/morecore.c (__default_morecore): Likewise.
7211         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7212         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7213         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7214         (print_and_abort): Likewise.
7215         * malloc/obstack.h: Likewise.
7216         * malloc/set-freeres.c (__libc_freeres): Likewise.
7217         * malloc/tst-mallocstate.c (main): Likewise.
7218         * malloc/tst-mtrace.c (main): Likewise.
7219         * malloc/tst-realloc.c (do_test): Likewise.
7221 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7223         [BZ #16366]
7224         * nscd/netgroupcache.c (do_notfound): New function.
7225         (addgetnetgrentX): Use it.
7227         [BZ # 16365]
7228         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7229         NSS_STATUS_NOTFOUND.
7231 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
7233         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7236 2014-01-01  Allan McRae  <allan@archlinux.org>
7238         * scripts/update-copyrights: Update configure input file suffix.
7240         * NEWS: Update copyright year.
7241         * catgets/gencat.c: Likewise.
7242         * csu/version.c: Likewise.
7243         * debug/catchsegv.sh: Likewise.
7244         * debug/pcprofiledump.c: Likewise.
7245         * debug/xtrace.sh: Likewise.
7246         * elf/ldconfig.c: Likewise.
7247         * elf/ldd.bash.in: Likewise.
7248         * elf/pldd.c: Likewise.
7249         * elf/sotruss.ksh: Likewise.
7250         * elf/sprof.c: Likewise.
7251         * iconv/iconv_prog.c: Likewise.
7252         * iconv/iconvconfig.c: Likewise.
7253         * locale/programs/locale.c: Likewise.
7254         * locale/programs/localedef.c: Likewise.
7255         * login/programs/pt_chown.c: Likewise.
7256         * malloc/memusage.sh: Likewise.
7257         * malloc/memusagestat.c: Likewise.
7258         * malloc/mtrace.pl: Likewise.
7259         * manual/libc.texinfo: Likewise.
7260         * nscd/nscd.c: Likewise.
7261         * nss/getent.c: Likewise.
7262         * nss/makedb.c: Likewise.
7263         * posix/getconf.c: Likewise.
7264         * scripts/test-installation.pl: Likewise.
7266         * All files with FSF copyright notices: Update copyright dates
7267         using scripts/update-copyrights.
7268         * intl/plural.c: Regenerated.
7269         * locale/programs/charmap-kw.h: Likewise.
7270         * locale/programs/locfile-kw.h: Likewise.
7272 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
7274         * sysdeps/unix/sysv/linux/configure: Regenerated.
7275         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7276         the linux/fanotify.h header.
7277         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7278         HAVE_LINUX_FANOTIFY_H is defined.
7280 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7282         * benchtests/cos-inputs: New inputs.
7283         * benchtests/sin-inputs: Likewise.
7285         * benchtests/atan-inputs: New inputs. Fix name of multiple
7286         precision fallback inputs.
7288         * benchtests/atanh-inputs: New inputs.
7289         * benchtests/tanh-inputs: Likewise.
7291         * benchtests/acosh-inputs: New inputs.
7292         * benchtests/asinh-inputs: Likewise.
7294         * benchtests/cosh-inputs: New inputs.
7295         * benchtests/sinh-inputs: Likewise.
7297         * benchtests/acos-inputs: Add more inputs.
7298         * benchtests/asin-inputs: Likewise.
7300 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
7302         [BZ #16375]
7303         * manual/arith.texi: Fix spelling.
7304         * manual/charset.texi: Likewise.
7305         * manual/errno.texi: Likewise.
7306         * manual/filesys.texi: Likewise.
7307         * manual/lang.texi: Likewise.
7308         * manual/llio.texi: Likewise.
7309         * manual/locale.texi: Likewise.
7310         * manual/message.texi: Likewise.
7311         * manual/resource.texi: Likewise.
7312         * manual/search.texi: Likewise.
7313         * manual/setjmp.texi: Likewise.
7314         * manual/stdio.texi: Likewise.
7315         * manual/string.texi: Likewise.
7316         * manual/sysinfo.texi: Likewise.
7317         * manual/time.texi: Likewise.
7319 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
7321         * po/sl.po: New file.
7323 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
7325         * .gitignore: Add core/.gdbinit/.gdb_history.
7327 2013-12-27  Allan McRae  <allan@archlinux.org>
7329         [BZ #16369]
7330         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7331         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7333 2013-12-24  Brooks Moses  <bmoses@google.com>
7335         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7336         all compilers that claim C++98 compliance, not just GCC.
7337         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7338         Likewise.
7340 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7342         * NEWS: Restore accidentally deleted bug-fix entries.
7344 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7345             Ondřej Bílka  <neleai@seznam.cz>
7347         [BZ #15073]
7348         * malloc/malloc.c (_int_free): Perform sanity check only if we
7349         have_lock.
7351 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
7353         [BZ #12986]
7354         * manual/stdio.texi (String Input Conversions): Clarify that character
7355         classes are not supported.
7357 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7361 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
7363         [BZ #16337]
7364         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7365         Calculate results for small negative arguments directly rather
7366         than using reflection formula with special underflow handling.
7368         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7369         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7370         sysdeps/unix/bsd/bsd4.4/syscalls.list.
7371         (fchflags): Likewise.
7372         (revoke): Likewise.
7373         (setlogin): Likewise.
7374         (sigaltstack): Likewise.
7375         (wait4): Likewise.
7376         (sigblock): Remove.
7377         (sigsetmask): Likewise.
7378         (wait3): Likewise.
7379         (waitpid): Likewise.
7380         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7381         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7382         file.
7383         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7384         * sysdeps/unix/bsd/Makefile: ... here.
7385         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7386         * sysdeps/unix/bsd/Versions: ... here.
7387         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7388         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7389         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7390         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7391         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7392         * sysdeps/unix/bsd/sigblock.c: ... here.
7393         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7394         * sysdeps/unix/bsd/sigsetmask.c: ... here.
7395         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7396         * sysdeps/unix/bsd/sigvec.c: ... here.
7397         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7398         * sysdeps/unix/bsd/tcdrain.c: ... here.
7399         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7400         * sysdeps/unix/bsd/tcgetattr.c: ... here.
7401         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7402         * sysdeps/unix/bsd/tcsetattr.c: ... here.
7403         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7404         * sysdeps/unix/bsd/wait.c: ... here.
7405         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7406         * sysdeps/unix/bsd/wait3.c: ... here.
7407         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7408         * sysdeps/unix/bsd/waitpid.c: ... here.
7410 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
7412         [BZ #16356]
7413         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7414         round-to-nearest for [!USE_AS_EXPM1L].
7415         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7416         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
7417         more tests of exp and exp10.  Expect some exp10 tests to miss
7418         exceptions or fail in directed rounding modes.
7419         * math/auto-libm-test-out: Regenerated.
7420         * math/libm-test.inc (exp10_tonearest_test_data): New array.
7421         (exp10_test_tonearest): New function.
7422         (exp10_towardzero_test_data): New array.
7423         (exp10_test_towardzero): New function.
7424         (exp10_downward_test_data): New array.
7425         (exp10_test_downward): New function.
7426         (exp10_upward_test_data): New array.
7427         (exp10_test_upward): New function.
7428         (main): Call the new functions.
7429         * sysdeps/i386/fpu/libm-test-ulps: Update.
7430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7432 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
7434         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7435         asinh, atan, atan2, atanh, cbrt, cos and cosh.
7436         * math/auto-libm-test-out: Regenerated.
7437         * math/libm-test.inc (acosh_test_data): Add more tests.
7438         (atanh_test_data): Likewise.
7439         (ceil_test_data): Likewise.
7440         (copysign_test_data): Likewise.
7441         * sysdeps/i386/fpu/libm-test-ulps: Update.
7442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7444         * timezone/checktab.awk: Update from tzcode 2013i.
7445         * timezone/private.h: Likewise.
7446         * timezone/scheck.c: Likewise.
7447         * timezone/tzfile.h: Likewise.
7448         * timezone/tzselect.ksh: Likewise.
7449         * timezone/zdump.c: Likewise.
7450         * timezone/zic.c: Likewise.
7452         * math/auto-libm-test-in: Add tests of cpow.
7453         * math/auto-libm-test-out: Regenerated.
7454         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7455         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7456         mpc_cc_c.
7457         (func_calc_desc): Add mpc_cc_c union field.
7458         (test_functions): Add cpow.
7459         (special_fill_2pi): New function.
7460         (special_real_inputs): Add 2pi.
7461         (calc_generic_results): Handle mpc_cc_c.
7462         * sysdeps/i386/fpu/libm-test-ulps: Update.
7463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7465         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7466         csqrt, ctan and ctanh.
7467         * math/auto-libm-test-out: Regenerated.
7468         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7469         (TEST_COND_x86): Likewise.
7470         (ccos_test_data): Use AUTO_TESTS_c_c.
7471         (ccosh_test_data): Likewise.
7472         (cexp_test_data): Likewise.
7473         (clog_test_data): Likewise.
7474         (csqrt_test_data): Likewise.
7475         (ctan_test_data): Likewise.
7476         (ctan_tonearest_test_data): Likewise.
7477         (ctan_towardzero_test_data): Likewise.
7478         (ctan_downward_test_data): Likewise.
7479         (ctan_upward_test_data): Likewise.
7480         (ctanh_test_data): Likewise.
7481         (ctanh_tonearest_test_data): Likewise.
7482         (ctanh_towardzero_test_data): Likewise.
7483         (ctanh_downward_test_data): Likewise.
7484         (ctanh_upward_test_data): Likewise.
7485         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7486         mpc_c_c.
7487         (func_calc_desc): Add mpc_c_c union field.
7488         (FUNC_mpc_c_c): New macro.
7489         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7490         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7491         ctanh.
7492         (special_fill_min_subnorm_p120): New function.
7493         (special_real_inputs): Add min_subnorm_p120.
7494         (calc_generic_results): Handle mpc_c_c.
7495         * sysdeps/i386/fpu/libm-test-ulps: Update.
7496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7498 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7500         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7501         (do_sin_slow): New functions.
7502         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7503         (cslow2, csloww1, csloww2): Use the new functions.
7505         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7506         Use M to change sign of result instead of X.  Assume X is
7507         positive.
7508         (csloww1): Likewise.
7509         (__sin): Adjust.
7510         (__cos): Adjust.
7512         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7513         arguments A and DA.
7514         (__sin): Adjust.
7515         (__cos): Likewise.
7517         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7518         (__cos): Likewise.
7519         (sloww1): Don't adjust sign of DX.
7520         (csloww1): Likewise.
7521         (sloww2): Use X directly and don't adjust sign of DX.
7522         (csloww2): Likewise.
7524 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7526         * math/auto-libm-test-in: Add tests of cabs and carg.
7527         * math/auto-libm-test-out: Regenerated.
7528         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7529         (carg_test_data): Likewise.
7530         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7531         mpc_c_f.
7532         (func_calc_desc): Add mpc_c_f union field.
7533         (test_functions): Add cabs and carg.
7534         (calc_generic_results): Handle mpc_c_f.
7536         * sysdeps/powerpc/powerpc32/libgcc-compat.S
7537         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7538         as a macro and a compat symbol.
7539         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7540         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7541         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7542         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7543         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7544         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7545         not use .hidden.
7546         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7547         Likewise.
7548         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7549         Likewise.
7550         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7551         Likewise.
7552         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7553         Likewise.
7554         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7555         Likewise.
7556         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7557         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7558         from GLIBC_2.3.2.
7560 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7564 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7566         * manual/texinfo.tex: Update to version 2013-11-26.10 with
7567         trailing whitespace removed.
7568         * scripts/config.guess: Update to version 2013-11-29.
7569         * scripts/config.sub: Update to version 2013-10-01.
7571         * math/auto-libm-test-in: Add tests of sincos.
7572         * math/auto-libm-test-out: Regenerated.
7573         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7574         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7575         mpfr_f_11.
7576         (func_calc_desc): Add mpfr_f_11 union field.
7577         (test_functions): Add sincos.
7578         (calc_generic_results): Handle mpfr_f_11.
7579         * sysdeps/i386/fpu/libm-test-ulps: Update.
7580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7582 2013-12-19  Andreas Schwab  <schwab@suse.de>
7584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7585         CALL_MCOUNT.
7586         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7587         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7588         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7590 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7592         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7593         * sysdeps/i386/fpu/libm-test-ulps: Update.
7594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596         [BZ #16293]
7597         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7598         round-to-nearest mode when using frndint.
7599         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7600         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7601         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7602         Likewise.
7603         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7604         sinh test to fail.
7605         * math/auto-libm-test-out: Regenerated.
7606         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7607         (TEST_COND_x86): Likewise.
7608         (expm1_tonearest_test_data): New array.
7609         (expm1_test_tonearest): New function.
7610         (expm1_towardzero_test_data): New array.
7611         (expm1_test_towardzero): New function.
7612         (expm1_downward_test_data): New array.
7613         (expm1_test_downward): New function.
7614         (expm1_upward_test_data): New array.
7615         (expm1_test_upward): New function.
7616         (main): Run the new test functions.
7617         * sysdeps/i386/fpu/libm-test-ulps: Update.
7618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7620         * include/features.h: Update comment documenting feature test
7621         macros.  Mention _DEFAULT_SOURCE in comment.
7622         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7623         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7624         _BSD_SOURCE and _SVID_SOURCE.
7625         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7626         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7627         !_SVID_SOURCE]: Likewise.
7628         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7629         (__USE_POSIX_IMPLICITLY): Define.
7630         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7631         (_POSIX_SOURCE): Undefine and redefine.
7632         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7633         (_POSIX_C_SOURCE): Likewise.
7634         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7635         (Feature Test Macros): Update documentation of default features.
7637 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7639         * benchtests/Makefile: Add bench-strtok.
7640         * benchtests/bench-strtok.c: New file: strtok benchtest.
7642 2013-12-19  Allan McRae  <allan@archlinux.org>
7644         * manual/install.texi: Suppress menu for plain text output.
7645         * INSTALL: Regenerated.
7647 2013-12-18  Brooks Moses  <bmoses@google.com>
7649         [BZ #15846]
7650         * misc/getauxval.c: Include errno.h.
7651         (__getauxval): Set errno to ENOENT if the requested type is not
7652         found.
7653         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7654         don't declare with __attribute_const__.
7655         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7656         * manual/startup.texi: Document that getauxval sets errno.
7658 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7660         * math/auto-libm-test-in: Add tests of jn and yn.
7661         * math/auto-libm-test-out: Regenerated.
7662         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7663         (yn_test_data): Likewise.
7664         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7665         mpfr_if_f.
7666         (func_calc_desc): Add mpfr_if_f union field.
7667         (FUNC_mpfr_if_f): New macro.
7668         (test_functions): Add jn and yn.
7669         (calc_generic_results): Assert type of second input for
7670         mpfr_ff_f.  Handle mpfr_if_f.
7671         (output_for_one_input_case): Disable all checking for arguments
7672         fitting floating-point types in case of an integer argument.
7673         * sysdeps/i386/fpu/libm-test-ulps: Update.
7674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7677         Don't expect fegetround reference in libm.so.
7679 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7681         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7682         $(config-cflags-nofma).
7684 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7686         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7687         * math/auto-libm-test-out: Regenerated.
7689         [BZ #16338]
7690         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7691         to determine exponent and adjust argument to have exponent of -1.
7692         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7693         log2.
7694         * math/auto-libm-test-out: Regenerated.
7695         * sysdeps/i386/fpu/libm-test-ulps: Update.
7696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7698 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7700         * manual/probes.texi: Remove cases when per-thread arenas are
7701         disabled.
7703 2013-12-18  Andreas Schwab  <schwab@suse.de>
7705         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7706         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7707         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7708         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7709         * sysdeps/i386/i686/multiarch/Makefile: Update.
7710         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7712 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7714         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7715         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7717 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7719         [BZ #15968]
7720         Support TZ transition times < 00:00:00.
7721         This is needed for version-3 tz-format files; it supports time
7722         stamps past 2037 for America/Godthab (the only entry in the tz
7723         database for which this change is relevant).
7724         * manual/time.texi (TZ Variable): Document transition times
7725         from -167:59:59 through -00:00:01.
7726         * time/tzset.c (tz_rule): Time of day is now signed.
7727         (__tzset_parse_tz): Parse negative time of day.
7729         Document TZ transition times >= 25:00:00.
7730         * manual/time.texi (TZ Variable): Document transition times from
7731         25:00:00 through 167:59:59.  These are already supported, and this
7732         support will help with version-3 tz-format files.
7734         * manual/time.texi (TZ Variable): Modernize North America example
7735         to reflect current (i.e., 2007-and-later) daylight saving rules.
7737         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7739 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7741         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7742         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7743         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7744         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7745         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7746         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7747         * sysdeps/unix/bsd/clock.c: Likewise.
7748         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7749         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7750         * sysdeps/unix/bsd/init-posix.c: Likewise.
7751         * sysdeps/unix/bsd/poll.c: Likewise.
7752         * sysdeps/unix/bsd/ptsname.c: Likewise.
7753         * sysdeps/unix/bsd/seekdir.c: Likewise.
7754         * sysdeps/unix/bsd/setegid.c: Likewise.
7755         * sysdeps/unix/bsd/seteuid.c: Likewise.
7756         * sysdeps/unix/bsd/setgid.c: Likewise.
7757         * sysdeps/unix/bsd/setrgid.c: Likewise.
7758         * sysdeps/unix/bsd/setruid.c: Likewise.
7759         * sysdeps/unix/bsd/setsid.c: Likewise.
7760         * sysdeps/unix/bsd/setuid.c: Likewise.
7761         * sysdeps/unix/bsd/sigaction.c: Likewise.
7762         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7763         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7764         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7765         * sysdeps/unix/bsd/telldir.c: Likewise.
7766         * sysdeps/unix/bsd/times.c: Likewise.
7767         * sysdeps/unix/bsd/usleep.c: Likewise.
7769         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7770         ($(objpfx)libbsd-compat.a): Remove rule.
7772         * include/features.h (__FAVOR_BSD): Do not define.
7773         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7774         features conflicting with POSIX.
7775         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7776         (_BSD_SOURCE): Remove description of not being a subset of other
7777         feature test macros.
7778         * manual/job.texi (getpgrp): Do not document BSD version.
7779         (getpgid): Do not document by reference to BSD getpgrp.
7780         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7781         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7782         * signal/signal.h [__FAVOR_BSD]: Likewise.
7783         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7784         instead of making contents conditional on [__FAVOR_BSD].
7785         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7787 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7791 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7793         [BZ #16314]
7794         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7795         values below 2**-450, not 2**-500.
7796         * math/auto-libm-test-in: Don't allow spurious underflow from
7797         hypot.
7798         * math/auto-libm-test-out: Regenerated.
7800         [BZ #16316]
7801         [BZ #16330]
7802         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7803         values of ha and hb and sort them after adjusting subnormal
7804         arguments.
7805         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7806         Likewise.
7807         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7808         values of ea and eb and sort them after adjusting subnormal
7809         arguments.
7810         * math/auto-libm-test-in: Do not expect some hypot tests of
7811         subnormals to fail.  Add more hypot tests.
7812         * math/auto-libm-test-out: Regenerated.
7814 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7816         [BZ #13304]
7817         * sysdeps/sh/s_fma.c: New file.
7818         * sysdeps/sh/s_fmaf.c: New file.
7819         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7820         version.
7821         * sysdeps/sh/Implies: Add sh/soft-fp.
7823 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7825         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7826         level of indirection to members `objname', `errstring', `malloced'.
7827         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7828         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7829         it as the __longjmp argument (just pass 1 instead).
7830         (_dl_catch_error): Initialize C with argument pointers and address of
7831         volatile local ERRCODE rather than copying values out of C at return.
7833 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7835         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7836         * math/auto-libm-test-out: Regenerated.
7837         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7838         (hypot_test_data): Likewise.
7839         (pow_test_data): Likewise.
7840         (pow_tonearest_test_data): Likewise.
7841         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7842         mpfr_ff_f.
7843         (func_calc_desc): Add mpfr_ff_f union field.
7844         (FUNC_mpfr_ff_f): New macro.
7845         (test_functions): Add atan2, hypot and pow.
7846         (special_fill_min): New function.
7847         (special_fill_minus_min): Likewise.
7848         (special_fill_min_subnorm): Likewise.
7849         (special_fill_minus_min_subnorm): Likewise.
7850         (special_real_inputs): Add min, -min, min_subnorm and
7851         -min_subnorm.
7852         (calc_generic_results): Handle mpfr_ff_f.
7853         * sysdeps/i386/fpu/libm-test-ulps: Update.
7854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7856 2013-12-16  Will Newton  <will.newton@linaro.org>
7858         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7859         (Aligned Memory Blocks): Add documentation for aligned_alloc
7860         and suggest it as an alternative to posix_memalign.
7861         (Hooks for Malloc): Document __memalign_hook is also called
7862         for aligned_alloc.  (Summary of Malloc): Add summary for
7863         aligned alloc.  Document __memalign_hook is also called
7864         for aligned_alloc.
7866 2013-12-16  Will Newton  <will.newton@linaro.org>
7868         * manual/memory.texi (Malloc Examples): Clarify default
7869         alignment documentation.  Suggest posix_memalign rather
7870         than memalign or valloc.
7871         (Aligned Memory Blocks): Remove suggestion to use memalign
7872         or valloc.  Remove obsolete comment about BSD.
7873         Document memalign errno values and mark the function obsolete.
7874         Document posix_memalign returned error codes.  Mark valloc
7875         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7876         called for posix_memalign and valloc.
7877         (Summary of Malloc): Add posix_memalign to function summary.
7878         __memalign_hook is also called for posix_memalign and valloc.
7880 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7882         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7883         TAYLOR_SIN.
7884         (__sin): Adjust.
7885         (__cos): Likewise.
7886         (sloww): Use mynumber union.  Expand ternary operator into
7887         if-else statements.
7888         (cslow): use mynumber union.
7890 2013-12-16  Allan McRae  <allan@archlinux.org>
7892         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7893         * configure: Regenerated.
7895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7897         [BZ #14120]
7898         * configure.ac: Added --enable-maintainer-mode. Check for
7899         autoconf when enabled.
7900         * configure: Regenerated.
7902         * nscd/nscd.service: New file.
7903         * nscd/nscd.tmpfiles: New file.
7905 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7907         [BZ #12100]
7908         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7909         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7910         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7911         (strstr): Add __strstr_sse2_unaligned ifunc.
7912         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7913         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7914         (strcasestr): Remove __strcasestr_sse42 ifunc.
7915         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7919 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7921         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7922         * sysdeps/sh/bits/fenv.h: ... here.
7923         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7925 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7927         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7929         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7930         hypotf multiarch implementations.
7931         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7932         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7933         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7934         multiarch hypot for PPC64.
7935         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7936         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7937         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7938         multiarch hypotf for PPC64.
7940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7941         modff multiarch implementations.
7942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7945         multiarch modf for PPC64.
7946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7949         multiarch modff for PPC64.
7951         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7952         and logl multiarch implementations.
7953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7956         multiarch logb for PPC64.
7957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7960         multiarch logb for PPC64.
7961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7964         multiarch logb for PPC64.
7966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7967         isinff multiarch implementation.
7968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7969         file.
7970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7972         multiarch isinf for PPC64.
7973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7974         file.
7975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7976         multiarch isinff for PPC64.
7978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7979         finitef multiarch implementation.
7980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7981         file.
7982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7984         multiarch finite for PPC64.
7985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7986         file.
7987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7988         multiarch finitef for PPC64.
7990         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7991         lrint multiarch implementation.
7992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7993         file.
7994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7996         multiarch llrint for PPC64.
7997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7998         multiarch lrint for PPC64.
8000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8001         copysignf multiarch implementation.
8002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8003         file.
8004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8005         file.
8006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8007         multiarch copysign for PPC64.
8008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8009         multiarch copysignf for PPC64.
8011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8012         multiarch implementation.
8013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8014         file.
8015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8016         file.
8017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8018         file.
8019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8020         file.
8021         multiarch llround for PPC64.
8022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8023         multiarch trunc for PPC64.
8024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8025         multiarch truncf for PPC64.
8027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8028         multiarch implementation.
8029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8030         file.
8031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8032         file.
8033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8034         file.
8035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8036         file.
8037         multiarch llround for PPC64.
8038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8039         multiarch round for PPC64.
8040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8041         multiarch roundf for PPC64.
8043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8044         multiarch implementation.
8045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8046         file.
8047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8048         file.
8049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8050         file.
8051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8052         file.
8053         multiarch llround for PPC64.
8054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8055         multiarch floor for PPC64.
8056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8057         multiarch floorf for PPC64.
8059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8060         multiarch implementation.
8061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8062         file.
8063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8064         file.
8065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8066         file.
8067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8068         file.
8069         multiarch llround for PPC64.
8070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8071         multiarch ceil for PPC64.
8072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8073         multiarch ceilf for PPC64.
8075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8076         multiarch implementation.
8077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8078         file.
8079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8080         file.
8081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8082         file.
8083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8084         multiarch llround for PPC64.
8085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8086         multiarch lround for PPC64.
8088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8089         multiarch implementation.
8090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8093         file.
8094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8097         multiarch isnan for PPC64.
8098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8099         multiarch isnanf for PPC64.
8101         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8102         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8103         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8104         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8105         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8108         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8109         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8110         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8111         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8114         multiarch implementations.
8115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8116         (__libc_ifunc_impl_list): Likewise.
8117         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8118         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8119         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8120         multiarch stpcpy for PPC64.
8122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8123         multiarch implementations.
8124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8125         (__libc_ifunc_impl_list): Likewise.
8126         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8127         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8128         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8129         multiarch strcpy for PPC64.
8131         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8132         redefine function name.
8133         (_wordcopy_fwd_dest_aligned): Likewise.
8134         (_wordcopy_bwd_aligned): Likewise.
8135         (_wordcopy_bwd_dest_aligned): Likewise.
8136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8137         multiarch implementations.
8138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8139         (__libc_ifunc_impl_list): Likewise.
8140         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8141         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8142         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8143         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8144         multiarch wcscpy for PPC64.
8146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8147         multiarch implementations.
8148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8149         (__libc_ifunc_impl_list): Likewise.
8150         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8151         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8152         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8153         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8154         multiarch wcscpy for PPC64.
8156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8157         multiarch implementations.
8158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8159         (__libc_ifunc_impl_list): Likewise.
8160         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8161         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8162         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8163         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8164         multiarch wcsrchr for PPC64.
8166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8167         multiarch implementations.
8168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8169         (__libc_ifunc_impl_list): Likewise.
8170         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8171         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8172         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8173         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8174         multiarch wcschr for PPC64.
8176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8177         multiarch implementations.
8178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8179         (__libc_ifunc_impl_list): Likewise.
8180         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8181         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8182         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8183         multiarch strchrnul for PPC64.
8185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8186         implementations.
8187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8188         (__libc_ifunc_impl_list): Likewise.
8189         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8190         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8191         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8192         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8193         strchr for PPC64.
8195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8196         implementations.
8197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8198         (__libc_ifunc_impl_list): Likewise.
8199         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8200         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8201         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8202         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8203         strncmp for PPC64.
8205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8206         multiarch implementations.
8207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8208         (__libc_ifunc_impl_list): Likewise.
8209         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8210         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8211         strncasecmp for PPC64.
8212         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8213         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8214         multiarch strncasecmp_l for PPC64.
8216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8217         multiarch implementations.
8218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8219         (__libc_ifunc_impl_list): Likewise.
8220         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8221         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8222         multiarch strcasecmp for PPC64.
8223         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8224         file.
8225         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8226         multiarch strcasecmp_l for PPC64.
8228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8229         implementations.
8230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8231         (__libc_ifunc_impl_list): Likewise.
8232         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8233         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8234         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8235         strnlen for PPC64.
8237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8238         implementations.
8239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8240         (__libc_ifunc_impl_list): Likewise.
8241         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8242         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8243         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8244         strlen for PPC64.
8246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8247         implementations.
8248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8249         (__libc_ifunc_impl_list): Likewise.
8250         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8251         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8252         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8253         rawmemrchr for PPC64.
8255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8256         implementation.
8257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8258         (__libc_ifunc_impl_list): Likewise.
8259         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8260         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8261         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8262         memrchr for PPC64.
8264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8265         implementation.
8266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8267         (__libc_ifunc_impl_list): Likewise.
8268         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8269         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8270         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8271         memchr for PPC64.
8273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8274         implementation.
8275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8276         (__libc_ifunc_impl_list): Likewise.
8277         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8278         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8279         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8280         mempcpy for PPC64.
8282         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8283         avoid cretion of __bzero symbol.
8284         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8285         Likewise.
8286         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8287         Likewise.
8288         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8289         Likewise.
8290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8291         multiarch implementations.
8292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8293         (__libc_ifunc_impl_list): Likewise.
8294         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8295         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8296         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8297         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8298         bzero for PPC32.
8299         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8300         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8301         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8302         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8303         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8304         memset for PPC64.
8305         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8307         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8309         implementations.
8310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8311         (__libc_ifunc_impl_list): Likewise.
8312         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8313         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8314         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8315         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8316         memcmp for PPC64.
8318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8319         multiarch for POWER/PPC64.
8320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8321         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8322         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8323         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8324         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8325         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8326         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8327         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8328         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8329         memcpy for PPC64.
8331         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8332         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8333         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8334         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8335         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8336         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8337         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8338         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8339         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8340         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8341         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8342         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8343         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8344         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8345         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8354 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8356         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8358 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8360         * benchtests/Makefile (bench): Add exp2 and log2.
8361         (LDLIBS-bench-exp2): Add -lm.
8362         (LDLIBS-bench-log2): Likewise.
8363         * benchtests/exp2-inputs: New inputs file.
8364         * benchtests/log2-inputs: New inputs file.
8365         * benchtests/log-inputs: Add new inputs.
8366         * benchtests/tan-inputs: Likewise.
8368 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8370         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8371         definition...
8372         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8373         (csloww2): ... from here.
8375         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8376         instead of structures.
8377         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8378         (POLYNOMIAL): Likewise.
8379         (TAYLOR_SLOW): Likewise.
8380         (__sin): Likewise.
8381         (__cos): Likewise.
8382         (slow1): Likewise.
8383         (slow2): Likewise.
8384         (sloww): Likewise.
8385         (sloww1); Likewise.
8386         (sloww2): Likewise.
8387         (bsloww1): Likewise.
8388         (bsloww2): Likewise.
8389         (cslow2): Likewise.
8390         (csloww): Likewise.
8391         (csloww1): Likewise.
8392         (csloww2): Likewise.
8394 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
8396         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8397         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8398         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8399         * malloc/hooks.c (realloc_check): Likewise.
8401         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8402         * malloc/arena.c: Remove PER_THREAD conditional.
8403         [!PER_THREAD]: Remove code.
8404         (ptmalloc_unlock_all2): Likewise.
8405         (ptmalloc_init): Likewise.
8406         (_int_new_arena): Likewise.
8407         (arena_get2): Likewise.
8408         * malloc/hooks.c (__malloc_get_state): Likewise.
8409         (__malloc_set_state): Likewise.
8410         * malloc/malloc.c: Likewise.
8411         (struct malloc_state): Likewise.
8412         (struct malloc_par): Likewise.
8413         (__libc_realloc): Likewise.
8414         (__libc_mallopt): Likewise.
8416 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8418         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8420 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
8422         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8423         macro to a function.  Check for zero perturb_byte.
8424         (_int_malloc, _int_free): Remove zero perturb_byte checks.
8426         * malloc/malloc.c: (force_reg): Remove.
8427         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8428         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8429         force_reg by atomic_forced_read.
8430         * malloc/arena.c (ptmalloc_init): Likewise.
8431         * malloc/hooks.c (top_check): Likewise.
8433 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8437 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
8439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8441 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
8443         * math/auto-libm-test-in: Add tests of lgamma.
8444         * math/auto-libm-test-out: Regenerated.
8445         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8446         (M_LOG_2_SQRT_PIl): Likewise.
8447         (lgamma_test_data): Use AUTO_TESTS_f_f1.
8448         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8449         mpfr_f_f1.
8450         (func_calc_desc): Add mpfr_f_f1 union field.
8451         (ARGS1): New macro.
8452         (ARGS2): Likewise.
8453         (ARGS3): Likewise.
8454         (ARGS4): Likewise.
8455         (RET1): Likewise.
8456         (RET2): Likewise.
8457         (CALC): Likewise.
8458         (FUNC): Likewise.
8459         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8460         (test_functions): Add lgamma.
8461         (calc_generic_results): Handle mpfr_f_f1.
8462         * sysdeps/i386/fpu/libm-test-ulps: Update.
8463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8465 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8467         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8468         __mpn_add_n for PowerPC64/POWER7.
8469         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8470         __mpn_sub_n for PowerPC64/POWER7.
8472         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8473         __mpn_addmul_1 for PowerPC64.
8474         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8475         __mpn_submul_1 for PowerPC64.
8476         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8477         for PowerPC64.
8478         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8479         for PowerPC64.
8481 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
8483         [BZ #15089]
8484         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8486 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8488         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8490         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8491         add multiarch folders.
8492         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8493         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8494         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8495         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8496         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8497         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8498         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8499         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8500         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8501         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8502         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8511         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8513         New file.
8514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8515         New file.
8516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8517         multiarch __ieee754_hypot for PowerPC32.
8518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8519         New file.
8520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8521         New file.
8522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8523         multiarch __ieee754_hypotf for PowerPC32.
8525         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8526         long_double_symbol only if __logbl is defined.
8527         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8528         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8529         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8530         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8531         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8532         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8533         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8534         path for implementation.
8535         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8536         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8538         logb, and logbl multiarch implementations for PowerPC32.
8539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8540         file.
8541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8542         file.
8543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8544         multiarch logb for PowerPC32.
8545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8546         file.
8547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8548         file.
8549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8550         multiarch logbf for PowerPC32.
8551         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8553         file.
8554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8555         multiarch logbl implementation for PowerPC32.
8557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8558         and modff multiarch implementations.
8559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8560         New file.
8561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8562         New file.
8563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8564         multiarch modf for PowerPC32.
8565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8566         New file.
8567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8568         New file.
8569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8570         multiarch modff for PowerPC32.
8572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8573         and lrintf multiarch implementations.
8574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8575         New file.
8576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8577         New file.
8578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8579         multiarch lrint for PowerPC32.
8580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8581         file: multiarch lrintf for PowerPC32.
8583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8584         and lroundf multiarch implementations.
8585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8586         New file.
8587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8588         New file.
8589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8590         New file.
8591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8592         multiarch lround for PowerPC32.
8593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8594         file: multiarch lroundf for PowerPC32.
8596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8597         copysign and copysignf multiarch implementations.
8598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8599         New file.
8600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8601         New file.
8602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8603         file: multiarch copysign for PowerPC32.
8604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8605         file: multiarch copysignf for PowerPC32.
8607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8608         and truncf multiarch implementations.
8609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8610         New file.
8611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8612         file.
8613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8614         multiarch trunc for PowerPC32.
8615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8616         New file.
8617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8618         New file.
8619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8620         multiarch truncf for PowerPC32.
8622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8623         and roundf multiarch implementations.
8624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8625         New file.
8626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8627         file.
8628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8629         multiarch round for PowerPC32.
8630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8631         New file.
8632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8633         New file.
8634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8635         multiarch roundf for PowerPC32.
8637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8638         and floorf multiarch implementations.
8639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8640         New file.
8641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8642         file.
8643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8644         multiarch floor for PowerPC32.
8645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8646         New file.
8647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8648         New file.
8649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8650         multiarch floorf for PowerPC32.
8652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8653         and ceilf multiarch implementations.
8654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8655         New file.
8656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8657         file.
8658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8659         multiarch ceil for PowerPC32.
8660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8661         New file.
8662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8663         file.
8664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8665         multiarch ceilf for PowerPC32.
8667         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8668         is defined.
8669         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8670         FINITEF is defined.
8671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8672         and finitef multiarch implementations.
8673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8674         New file.
8675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8676         file.
8677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8678         multiarch finite for PowerPC32.
8679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8680         New file.
8681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8682         file: multiarch finitef for PowerPC32.
8684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8685         and isinff multiarch implementations.
8686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8687         file.
8688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8689         file.
8690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8691         multiarch isinf for PowerPC32.
8692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8693         New file.
8694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8695         multiarch isinff for PowerPC32.
8697         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8698         alias when __isnan is defined.
8699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8700         and isnanf multiarch implementations.
8701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8702         file.
8703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8704         file.
8705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8706         file.
8707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8708         file.
8709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8710         multiarch isnan for PowerPC32.
8711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8712         New file.
8713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8714         New file.
8715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8716         multiarch isnanf for PowerPC32.
8718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8719         and sqrtf multiarch implementations.
8720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8721         file.
8722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8723         file.
8724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8725         multiarch sqrt for PowerPC32.
8726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8727         file.
8728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8729         file.
8730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8731         multiarch sqrtf for PowerPC32.
8733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8734         and llroundf multiarch implementations.
8735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8736         New file.
8737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8738         New file.
8739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8740         New file.
8741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8742         file: multiarch llround for PowerPC32.
8743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8744         file: multiarch llroundf for PowerPC32.
8746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8747         multiarch PowerPC32 fpu implementations.
8748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8749         New file.
8750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8751         New file.
8752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8753         multiarch llrint for PowerPC32.
8754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8755         New file.
8756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8757         New file.
8758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8759         file.
8761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8763         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8764         file.
8765         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8766         file.
8767         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8768         file.
8769         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8770         multiarch wordcopy for PPC32.
8771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8772         wordcopy objects.
8773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8774         (__libc_ifunc_impl_list): Likewise.
8775         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8776         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8777         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8778         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8779         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8780         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8782         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8784         file.
8785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8786         file.
8787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8788         file.
8789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8790         multiarch wcscpy for PPC32.
8791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8792         multiarch objects.
8793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8794         (__libc_ifunc_impl_list): Likewise.
8795         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8796         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8797         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8798         sysdeps/powerpc/power6/wcscpy.c.
8800         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8801         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8802         file.
8803         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8804         file.
8805         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8806         file.
8807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8808         multiarch wcsrchr for PPC32.
8809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8810         multiarch objects.
8811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8812         (__libc_ifunc_impl_list): Likewise.
8813         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8814         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8815         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8816         sysdeps/powerpc/power6/wcsrchr.c.
8818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8819         file.
8820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8821         file.
8822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8823         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8824         multiarch wcschr for PPc32.
8825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8826         multiarch objects.
8827         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8828         (__libc_ifunc_impl_list): Likewise.
8829         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8830         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8831         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8832         sysdeps/powerpc/power6/wcschr.c.
8834         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8835         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8836         file.
8837         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8838         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8839         file: multiarch strchr for PPC32.
8840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8841         multiarch objects.
8842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8843         (__libc_ifunc_impl_list): Likewise.
8845         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8846         name.
8847         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8848         file.
8849         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8850         file.
8851         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8852         multiarch strchrnul for PPC32.
8853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8854         multiarch objects.
8855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8856         (__libc_ifunc_impl_list): Likewise.
8858         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8859         file.
8860         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8861         multiarch strncasecmp for PPC32.
8862         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8863         file.
8864         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8865         multiarch strncasecmp_l for PPC32.
8866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8867         strncasecmp multiarch objects.
8868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8869         (__libc_ifunc_impl_list): Likewise.
8871         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8872         file.
8873         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8874         multiarch strncasecmp for PPC32.
8875         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8876         New file.
8877         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8878         multiarch strcasecmp_l for PPC32.
8879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8880         multiarch objects.
8881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8882         (__libc_ifunc_impl_list): Likewise.
8884         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8885         file.
8886         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8887         file.
8888         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8889         multiarch strncmp for PPC32.
8890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8891         multiarch objects.
8892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8893         (__libc_ifunc_impl_list): Likewise.
8895         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8896         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8897         file.
8898         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8899         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8901         multiarch objects.
8902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8903         (__libc_ifunc_impl_list): Likewise.
8905         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8906         file.
8907         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8908         file.
8909         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8911         multiarch objects.
8912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8913         (__libc_ifunc_impl_list): Likewise.
8915         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8916         file.
8917         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8918         file.
8919         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8920         multiarch rawmemchr for PPC32.
8921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8922         multiarch objects.
8923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8924         (__libc_ifunc_impl_list): Likewise.
8926         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8927         file.
8928         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8929         file.
8930         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8931         file: memrchr multiarch for PPC32.
8932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8933         multiarch objects.
8934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8935         (__libc_ifunc_impl_list): Likewise.
8937         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8938         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8939         file.
8940         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8941         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8942         multiarch memchr for PPC32.
8943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8944         multiarch objects.
8945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8946         (__libc_ifunc_impl_list): Likewise.
8948         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8949         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8950         file.
8951         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8952         file.
8953         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8954         file: multiarch mempcpy for PPC32.
8955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8956         multiarch objects.
8957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8958         (__libc_ifunc_impl_list): Likewise.
8960         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8961         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8962         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8963         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8964         multiarch bzero for PPC32.
8965         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8966         file.
8967         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8968         file.
8969         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8970         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8971         file: multiarch memset for PPC32.
8972         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8974         memset multiarch objects.
8975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8976         (__libc_ifunc_impl_list): Likewise.
8978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8979         file.
8980         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8981         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8982         memcmp for PPC32.
8983         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8985         multiarch objects.
8986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8987         (__libc_ifunc_impl_list): Likewise.
8989         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8991         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8992         file.
8993         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8994         file.
8995         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8996         file.
8997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8998         multiarch memcpy for PPC32.
8999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9000         multiarch objects.
9001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9002         (__libc_ifunc_impl_list): Likewise.
9004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9005         support multiarch for POWER/PPC32.
9006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9007         Likewise.
9008         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9010         Implies file to make multiarch folder appers before the fpu and
9011         default folder for power4 configuration.
9013 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9015         * scripts/bench.pl: Append volatile keyword to type.
9017 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9019         * sysdeps/sh/sotruss-lib.c: New file.
9020         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9022 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9026 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
9028         [BZ #6810]
9029         * math/w_tgamma.c: Include <errno.h>.
9030         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
9031         * math/w_tgammaf.c: Include <errno.h>.
9032         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
9033         * math/w_tgammal.c: Include <errno.h>.
9034         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
9035         * math/auto-libm-test-in: Do not allow missing errno on tgamma
9036         underflow.  Add more tgamma tests.
9037         * math/auto-libm-test-out: Regenerated.
9038         * sysdeps/i386/fpu/libm-test-ulps: Update.
9039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9041         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9042         sin, sinh, tan, tanh, tgamma, y0 and y1.
9043         * math/auto-libm-test-out: Regenerated.
9044         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9045         (TEST_COND_x86): Likewise.
9046         (M_E2l): Remove macro.
9047         (M_E3l): Likewise.
9048         (M_2_SQRT_PIl): Likewise.
9049         (M_SQRT_PIl): Likewise.
9050         (M_1_DIV_El): Likewise.
9051         (log_test_data): Use AUTO_TESTS_f_f.
9052         (log10_test_data): Likewise.
9053         (log1p_test_data): Likewise.
9054         (log2_test_data): Likewise.
9055         (sin_test_data): Likewise.
9056         (sin_tonearest_test_data): Likewise.
9057         (sin_towardzero_test_data): Likewise.
9058         (sin_downward_test_data): Likewise.
9059         (sin_upward_test_data): Likewise.
9060         (sinh_test_data): Likewise.
9061         (sinh_tonearest_test_data): Likewise.
9062         (sinh_towardzero_test_data): Likewise.
9063         (sinh_downward_test_data): Likewise.
9064         (sinh_upward_test_data): Likewise.
9065         (tan_test_data): Likewise.
9066         (tan_tonearest_test_data): Likewise.
9067         (tan_towardzero_test_data): Likewise.
9068         (tan_downward_test_data): Likewise.
9069         (tan_upward_test_data): Likewise.
9070         (tanh_test_data): Likewise.
9071         (tgamma_test_data): Likewise.
9072         (y0_test_data): Likewise.
9073         (y1_test_data): Likewise.
9074         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9075         (special_real_inputs): Add pi/4.
9076         * sysdeps/i386/fpu/libm-test-ulps: Update.
9077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9079 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9081         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9082         "longjmp_target" static probes.
9083         (__longjmp): Rename to __longjmp_symbol.
9084         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9085         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9086         on which longjmp to generate.
9087         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9088         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9089         probe.
9090         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9091         (__sigjmp_save): Rename to __sigjmp_save_symbol.
9092         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9093         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9094         and __sigjmp_save_symbol based on which sigsetjmp to generated.
9095         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9097         __longjmp_symbol based on which __longjmp to generate.
9098         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9099         probe.
9100         (setjmp): Rename to setjmp_symbol.
9101         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9102         (_setjmp): Rename to _setjmp_symbol.
9103         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9104         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9105         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9106         which setjmp to generate.
9107         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9108         "longjmp_target" static probes.
9110 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9112         * benchtests/README: Add note about output arguments.
9113         * benchtests/bench-sincos.c: Remove file.
9114         * benchtests/sincos-inputs: New file.
9115         * scripts/bench.pl: Identify output arguments and define
9116         static variables for them.
9118         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9120         [BZ #15941]
9121         * Makefile (INSTALL): Add install-plain.texi as the primary
9122         dependency.
9123         * manual/install-plain.texi: New file.
9124         * manual/install.texi: Include node directive only for
9125         non-plaintext output.
9127 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
9129         * stdlib/longlong.h: Update from GCC.
9131         [BZ #6807]
9132         [BZ #15901]
9133         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9134         * math/w_j0f.c (y0f): Likewise.
9135         * math/w_j0l.c (__y0l): Likewise.
9136         * math/w_j1.c (y1): Likewise.
9137         * math/w_j1f.c (y1f): Likewise.
9138         * math/w_j1l.c (__y1l): Likewise
9139         * math/w_jn.c (yn): Likewise.
9140         * math/w_jnf.c (ynf): Likewise.
9141         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9142         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
9143         value for Bessel function domain errors outside _SVID_ mode.
9144         Adjust sign of return value for yn (negative integer, 0).
9145         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9146         by zero in return for negative x and set sign appropriately for
9147         negative n.
9148         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9149         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9150         * math/libm-test.inc (y0_test_data): Add more tests and adjust
9151         expectations in error cases.
9152         (y1_test_data): Likewise.
9153         (yn_test_data): Likewise.
9154         * sysdeps/i386/fpu/libm-test-ulps: Update.
9155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9157 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9159         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9160         "64" to "64-v1".  Add "64-v2".
9161         (abi-64-options): Rename to ...
9162         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
9163         (abi-64-condition): Rename to ...
9164         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
9165         (abi-64-ld-soname): Rename to ...
9166         (abi-64-v1-ld-soname): ... this.
9167         (abi-64-v2-options): Define.
9168         (abi-64-v2-condition): Likewise.
9169         (abi-64-v2-ld-soname): Likewise.
9170         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9171         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9176 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9177             Alan Modra  <amodra@gmail.com>
9179         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9180         New versions for use with the ELFv2 ABI.
9181         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9182         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9183         declaration.
9184         (struct La_ppc64v2_retval): Likewise.
9185         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9186         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9187         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9188         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9189         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9190         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9191         Do not save or restore CR.
9192         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9193         (_dl_profile_resolve): Do no save or restore CR.  Support extended
9194         return values for ELFv2 ABI.  Fix location of FPR return registers.
9195         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9196         updated values for _CALL_ELF == 2.
9197         (La_regs, La_retval, int_retval): Likewise.
9199 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9201         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9202         (FRAME_MIN_SIZE_PARM): Likewise.
9203         (FRAME_BACKCHAIN): Likewise.
9204         (FRAME_CR_SAVE): Likewise.
9205         (FRAME_LR_SAVE): Likewise.
9206         (FRAME_TOC_SAVE): Likewise.
9207         (FRAME_PARM_SAVE): Likewise.
9208         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9209         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9210         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9211         (call_mcount_parm_offset): New macro.
9212         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9213         (PROF): Use symbolic stack frame offsets.
9214         (TAIL_CALL_SYSCALL_ERROR): Likewise.
9215         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9216         Redefine in terms of FRAME_MIN_SIZE.
9217         (_dl_runtime_resolve): Use symbolic stack frame offsets.
9218         (_dl_profile_resolve): Likewise.  Update comment.
9219         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9220         symbols stack frame offsets.
9221         (__sigsetjmp): Likewise.
9222         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9223         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9224         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9225         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9228         (FRAME_BACKCHAIN): Remove.
9229         (FRAME_CR_SAVE): Likewise.
9230         (FRAME_LR_SAVE): Likewise.
9231         (FRAME_COMPILER_DW): Likewise.
9232         (FRAME_LINKER_DW): Likewise.
9233         (FRAME_TOC_SAVE): Likewise.
9234         (FRAME_PARM_SAVE): Likewise.
9235         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9236         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9237         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9239         (CHECK_SP): Use symbolic stack frame offsets.
9240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9241         zone" instead of caller's parameter save area for temp storage.
9242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9243         Likewise.  Also, use symbolic stack frame offsets.
9244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9245         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9246         our own stack frame instead of the caller's.
9247         (__socket): Use symbolic stack frame offsets.
9249 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9250             Alan Modra  <amodra@gmail.com>
9252         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9253         Define.
9254         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9255         (PPC64_LOCAL_ENTRY_OFFSET): Define.
9256         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9257         New function.
9258         (elf_machine_fixup_plt): Call it.
9259         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
9260         reloc arguments.
9261         (elf_machine_rela): Update call to elf_machine_plt_conflict.
9262         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9263         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9264         r2 before calling target.
9266 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9267             Alan Modra  <amodra@gmail.com>
9269         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9270         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9271         versions of macros to support ELFv2 ABI.
9272         (LOCALENTRY): New macro.
9273         (ENTRY, EALIGN): Use it.
9274         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9275         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9276         fall through into ENTRY entry point.
9277         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9278         Only define if _CALL_ELF != 2.
9280         (elf_machine_matches_host): Verify ABI version matches.
9281         (RTLD_START): Use LOCALENTRY.
9282         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9283         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9284         (PLT_ENTRY_WORDS): New macro.
9285         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9286         (elf_machine_runtime_setup): Support ELFv2 ABI.
9287         (elf_machine_fixup_plt): Likewise.
9288         (elf_machine_plt_conflict): Likewise.
9289         (resolve_ifunc): Likewise.
9290         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9291         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9292         Likewise.
9293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9294         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9296         (makecontext): Support ELFv2 ABI.
9297         * elf/elf.h (EF_PPC64_ABI): Define.
9299 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9301         * sysdeps/powerpc/powerpc64/sysdep.h
9302         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9303         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9304         (ENTRY) [ASSEMBLER]: ... but instead here ...
9305         (EALIGN) [ASSEMBLER]: ... and here.
9306         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9307         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9308         (ENTRY_2) [!ASSEMBLER]: Use it.
9309         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9310         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
9311         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9312         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9313         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9315         Use PPC64_LOAD_FUNCPTR.
9317         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9319 2013-12-04  Alan Modra  <amodra@gmail.com>
9321         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9322         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9323         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9324         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9327         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9328         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9329         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9330         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9331         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9333 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9336         (__makecontext): Fix incorrect CFI when backtracing out of
9337         context created via makecontext.
9338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9339         (__setcontext): Fix incorrect CFI during switch to new context.
9340         (__novec_setcontext): Likewise.
9342 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9344         [BZ #4772]
9345         * time/strptime_l.c (__strptime_internal): Allow modifiers
9346         in strptime.
9347         * time/tst-strptime.c (day_tests): Add testcase.
9349 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9351         * scripts/bench.pl: Skip over blank lines.
9353 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9355         [BZ #926]
9356         * manual/time.texi (Calendar Time): Clarify what timezone functions
9357         use.
9359 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9363 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9365         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9366         implementation.
9367         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9368         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9369         * debug/memset_chk.c (__memset_chk): Likewise.
9370         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9371         * debug/strncpy_chk.c: Likewise.
9373 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9375         [BZ #15268]
9376         [BZ #15425]
9377         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9378         (__ieee754_exp): For possibly underflowing results, check size of
9379         result and force underflow exception if required.
9380         * math/auto-libm-test-in: Add more tests of exp.
9381         * math/auto-libm-test-out: Regenerated.
9382         * sysdeps/i386/fpu/libm-test-ulps: Update.
9383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9385         [BZ #16283]
9386         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9387         * math/w_exp2f.c (__exp2f): Likewise.
9388         * math/w_exp2l.c (__exp2l): Likewise.
9389         * math/auto-libm-test-in: Do not allow missing errno on exp2
9390         underflow.
9391         * math/auto-libm-test-out: Regenerated.
9393 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
9395         [BZ #16274]
9396         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9397         handle filename validation.
9398         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9399         (do_open): Delete.
9401 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9403         [BZ #6786]
9404         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9405         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9406         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9407         <float.h>.
9408         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9409         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9410         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9411         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9412         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9413         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9414         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9415         * math/auto-libm-test-in: Don't allow missing errno from erfc.
9416         Add more erfc tests.
9417         * math/auto-libm-test-out: Regenerated.
9418         * sysdeps/i386/fpu/libm-test-ulps: Update.
9419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9421         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9422         exp2, expm1, j0 and j1.
9423         * math/auto-libm-test-out: Regenerated.
9424         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9425         (erfc_test_data): Likewise.
9426         (exp_test_data): Likewise.
9427         (exp_tonearest_test_data): Likewise.
9428         (exp_towardzero_test_data): Likewise.
9429         (exp_downward_test_data): Likewise.
9430         (exp_upward_test_data): Likewise.
9431         (exp10_test_data): Likewise.
9432         (exp2_test_data): Likewise.
9433         (expm1_test_data): Likewise.
9434         (j0_test_data): Likewise.
9435         (j1_test_data): Likewise.
9436         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9437         (input_flag_type): Add flag_xfail_rounding.
9438         (input_flags): Add xfail-rounding.
9439         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9440         (output_for_one_input_case): Handle flag_xfail_rounding.
9441         * sysdeps/i386/fpu/libm-test-ulps: Update.
9442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9444 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
9446         [BZ #16289]
9447         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9448         division by 0.
9450 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9452         [BZ #16195]
9453         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9454         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9455         (STAP_PROBE0): New macro.
9456         (STAP_PROBE1): Likewise.
9457         (STAP_PROBE2): Likewise.
9458         (STAP_PROBE3): Likewise.
9459         (STAP_PROBE4): Likewise.
9461 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
9463         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9465 2013-12-02  Steve Ellcey  <sellcey@mips.com>
9467         * benchtests/Makefile (bench): Add sqrt.
9468         (LDLIBS-bench-sqrt): New.
9469         * benchtests/sqrt-input: New.
9471 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
9473         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9474         (GAIH_EAI): Likewise.
9475         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9476         (gaih_inet): Likewise.
9477         (getaddrinfo): Don't use GAIH_EAI.
9479         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9480         (struct gaih): Remove definition.
9482 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9484         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9485         Use HERRNOP directly.
9487 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9491 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
9493         * math/gen-auto-libm-tests.c (test_functions): Add more
9494         single-argument functions.
9495         (special_fill_pi_2): New function.
9496         (special_fill_minus_pi_2): Likewise.
9497         (special_fill_pi_6): Likewise.
9498         (special_fill_minus_pi_6): Likewise.
9499         (special_fill_pi_3): Likewise.
9500         (special_fill_2pi_3): Likewise.
9501         (special_fill_e): Likewise.
9502         (special_fill_1_e): Likewise.
9503         (special_fill_e_minus_1): Likewise.
9504         (special_real_inputs): Add more special inputs.
9505         (output_for_one_input_case): Do not require ERANGE on underflow to
9506         zero if round-to-nearest result does not underflow to zero, unless
9507         exact results required.
9508         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9509         atan, atanh, cbrt, cos and cosh.
9510         * math/auto-libm-test-out: Regenerated.
9511         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9512         (acos_tonearest_test_data): Likewise.
9513         (acos_towardzero_test_data): Likewise.
9514         (acos_downward_test_data): Likewise.
9515         (acos_upward_test_data): Likewise.
9516         (acosh_test_data): Likewise.
9517         (asin_test_data): Likewise.
9518         (asin_tonearest_test_data): Likewise.
9519         (asin_towardzero_test_data): Likewise.
9520         (asin_upward_test_data): Likewise.
9521         (asinh_test_data): Likewise.
9522         (atan_test_data): Likewise.
9523         (atanh_test_data): Likewise.
9524         (cbrt_test_data): Likewise.
9525         (cos_test_data): Likewise.
9526         (cos_tonearest_test_data): Likewise.
9527         (cos_towardzero_test_data): Likewise.
9528         (cos_downward_test_data): Likewise.
9529         (cos_upward_test_data): Likewise.
9530         (cosh_test_data): Likewise.
9531         (cosh_tonearest_test_data): Likewise.
9532         (cosh_towardzero_test_data): Likewise.
9533         (cosh_downward_test_data): Likewise.
9534         (cosh_upward_test_data): Likewise.
9535         * sysdeps/i386/fpu/libm-test-ulps: Update.
9536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9538 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
9540         [BZ #6787]
9541         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9542         * math/w_exp10f.c (__exp10f): Likewise.
9543         * math/w_exp10l.c (__exp10l): Likewise.
9544         * math/libm-test.inc (exp10_test_data): Add more tests and expect
9545         errno settings in existing tests.
9547         [BZ #14032]
9548         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9549         precision control set to double precision.
9550         * sysdeps/i386/fpu/w_sqrt.c: New file.
9551         * math/auto-libm-test-in: Add more tests.
9552         * math/auto-libm-test-out: Update.
9554         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9555         (sqrt_test_tonearest): New function.
9556         (sqrt_towardzero_test_data): New variable.
9557         (sqrt_test_towardzero): New function.
9558         (sqrt_downward_test_data): New variable.
9559         (sqrt_test_downward): New function.
9560         (sqrt_upward_test_data): New variable.
9561         (sqrt_test_upward): New function.
9562         (main): Call the new functions.
9564         * math/gen-auto-libm-tests.c: New file.
9565         * math/auto-libm-test-in: Likewise.
9566         * math/auto-libm-test-out: New generated file.
9567         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9568         variables.
9569         (%beautify): Add generated representations of zero.
9570         (top level): Set $auto_input and call parse_auto_input.
9571         (beautify): Remove trailing "f" from hex float constants.
9572         (parse_args): Handle XFAIL_TEST.
9573         (convert_condition): New function.
9574         (or_value): Likewise.
9575         (or_cond_value): Likewise.
9576         (generate_testfile): Handle AUTO_TESTS_* lines.
9577         (parse_auto_input): New function.
9578         * math/libm-test.inc (XFAIL_TEST): New macro.
9579         (ERRNO_UNCHANGED): Update value.
9580         (ERRNO_EDOM): Likewise.
9581         (ERRNO_ERANGE): Likewise.
9582         (IGNORE_RESULT): Likewise.
9583         (TEST_COND_flt_32): New macro.
9584         (TEST_COND_dbl_64): Likewise.
9585         (TEST_COND_ldbl_96_intel): Likewise.
9586         (TEST_COND_ldbl_96_m68k): Likewise.
9587         (TEST_COND_ldbl_128): Likewise.
9588         (TEST_COND_ldbl_128ibm): Likewise.
9589         (TEST_COND_long32): Likewise.
9590         (TEST_COND_long64): Likewise.
9591         (TEST_COND_before_rounding): Likewise.
9592         (TEST_COND_after_rounding): Likewise.
9593         (enable_test): Handle XFAIL_TEST flag.
9594         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9595         with finite results.
9596         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9597         auto-libm-test-out.
9599 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9600             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9602         [BZ #16214]
9603         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9604         __tls_get_addr_internal instead of __tls_get_offset in order to
9605         avoid GOT pointer dependency.  Make rtld export
9606         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9607         __tls_get_addr since we are a __tls_get_offset platform.
9608         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9609         GOT pointer being set up before.
9610         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9612 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9614         * manual/math.texi (Errors in Math Functions): Document accuracy
9615         goals.
9617         [BZ #15004]
9618         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9619         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9620         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9621         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9622         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9623         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9624         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9625         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9626         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9627         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9628         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9629         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9630         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9631         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9632         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9633         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9635         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9636         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9637         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9638         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9639         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9640         Likewise.
9641         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9642         Likewise.
9643         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9644         Likewise.
9645         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9646         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9647         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9648         atomic-feupdateenv and flt-rounds.
9649         * sysdeps/powerpc/nofpu/Versions (libc): Add
9650         __atomic_feholdexcept, __atomic_feclearexcept,
9651         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9652         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9653         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9654         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9655         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9656         here.
9657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9658         Update.
9660         * manual/arith.texi (FP Exceptions): Document that exceptions may
9661         not be raised when matherr is used.
9662         (Math Error Reporting): Document overflow in directed rounding
9663         modes.  Document that errno may not be set when finite values are
9664         returned on overflow.  Document intent to set errno on underflow
9665         only for underflow to zero.
9667         [BZ #16271]
9668         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9669         round-to-nearest then adjust result for other rounding modes.
9670         * include/fenv.h (fegetround): Use libm_hidden_proto.
9671         * math/fegetround.c (fegetround): Use libm_hidden_def.
9672         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9673         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9674         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9675         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9676         Likewise.
9677         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9678         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9679         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9680         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9682 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9684         [BZ #16077]
9685         * nss/Versions (libnss_files): Add
9686         _nss_files_gethostbyname3_r.
9687         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9688         New function.
9689         (HOST_DB_LOOKUP): Remove macro.
9690         (_nss_files_gethostbyname_r): Implement function without the
9691         HOST_DB_LOOKUP macro.
9692         (_nss_files_gethostbyname2_r): Likewise.
9694 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9696         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9698 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9700         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9701         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9702         warning.
9704 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9706         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9707         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9708         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9709         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9710         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9711         __fe_nomask_env_priv and attribute_hidden.
9712         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9713         (libc_feupdateenv_test_ppc): Likewise.
9714         (libc_feresetround_ppc): Likewise.
9715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9716         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9717         compat_symbol macro.
9718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9719         (__fe_nomask_env): Likewise.
9720         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9722 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9724         * string/Makefile: Remove ifunc tests.
9725         * string/test-string.h: Define TEST_IFUNC.
9726         * string/test-bcopy-ifunc.c: Remove.
9727         * string/test-bzero-ifunc.c: Likewise.
9728         * string/test-memccpy-ifunc.c: Likewise.
9729         * string/test-memchr-ifunc.c: Likewise.
9730         * string/test-memcmp-ifunc.c: Likewise.
9731         * string/test-memcpy-ifunc.c: Likewise.
9732         * string/test-memmem-ifunc.c: Likewise.
9733         * string/test-memmove-ifunc.c: Likewise.
9734         * string/test-mempcpy-ifunc.c: Likewise.
9735         * string/test-memrchr-ifunc.c: Likewise.
9736         * string/test-memset-ifunc.c: Likewise.
9737         * string/test-rawmemchr-ifunc.c: Likewise.
9738         * string/test-stpcpy-ifunc.c: Likewise.
9739         * string/test-stpncpy-ifunc.c: Likewise.
9740         * string/test-strcasecmp-ifunc.c: Likewise.
9741         * string/test-strcasestr-ifunc.c: Likewise.
9742         * string/test-strcat-ifunc.c: Likewise.
9743         * string/test-strchr-ifunc.c: Likewise.
9744         * string/test-strchrnul-ifunc.c: Likewise.
9745         * string/test-strcmp-ifunc.c: Likewise.
9746         * string/test-strcpy-ifunc.c: Likewise.
9747         * string/test-strcspn-ifunc.c: Likewise.
9748         * string/test-strlen-ifunc.c: Likewise.
9749         * string/test-strncasecmp-ifunc.c: Likewise.
9750         * string/test-strncat-ifunc.c: Likewise.
9751         * string/test-strncmp-ifunc.c: Likewise.
9752         * string/test-strncpy-ifunc.c: Likewise.
9753         * string/test-strnlen-ifunc.c: Likewise.
9754         * string/test-strpbrk-ifunc.c: Likewise.
9755         * string/test-strrchr-ifunc.c: Likewise.
9756         * string/test-strspn-ifunc.c: Likewise.
9757         * string/test-strstr-ifunc.c: Likewise.
9759 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9761         * benchtests/Makefile: Remove ifunc tests.
9762         * benchtests/bench-string.h: Define TEST_IFUNC.
9763         * benchtests/bench-bcopy-ifunc.c: Remove.
9764         * benchtests/bench-bzero-ifunc.c: Likewise.
9765         * benchtests/bench-memccpy-ifunc.c: Likewise.
9766         * benchtests/bench-memchr-ifunc.c: Likewise.
9767         * benchtests/bench-memcmp-ifunc.c: Likewise.
9768         * benchtests/bench-memcpy-ifunc.c: Likewise.
9769         * benchtests/bench-memmem-ifunc.c: Likewise.
9770         * benchtests/bench-memmove-ifunc.c: Likewise.
9771         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9772         * benchtests/bench-memrchr-ifunc.c: Likewise.
9773         * benchtests/bench-memset-ifunc.c: Likewise.
9774         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9775         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9776         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9777         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9778         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9779         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9780         * benchtests/bench-strcat-ifunc.c: Likewise.
9781         * benchtests/bench-strchr-ifunc.c: Likewise.
9782         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9783         * benchtests/bench-strcmp-ifunc.c: Likewise.
9784         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9785         * benchtests/bench-strcpy-ifunc.c: Likewise.
9786         * benchtests/bench-strcspn-ifunc.c: Likewise.
9787         * benchtests/bench-strlen-ifunc.c: Likewise.
9788         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9789         * benchtests/bench-strncat-ifunc.c: Likewise.
9790         * benchtests/bench-strncmp-ifunc.c: Likewise.
9791         * benchtests/bench-strncpy-ifunc.c: Likewise.
9792         * benchtests/bench-strnlen-ifunc.c: Likewise.
9793         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9794         * benchtests/bench-strrchr-ifunc.c: Likewise.
9795         * benchtests/bench-strsep-ifunc.c: Likewise.
9796         * benchtests/bench-strspn-ifunc.c: Likewise.
9797         * benchtests/bench-strstr-ifunc.c: Likewise.
9799 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9801         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9803 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9805         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9806         * rt/aio.h: Likewise.
9807         * sysdeps/gnu/bits/utmp.h: Likewise.
9808         * sysdeps/gnu/bits/utmpx.h: Likewise.
9809         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9810         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9811         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9812         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9813         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9814         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9815         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9816         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9817         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9818         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9819         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9820         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9821         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9823         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9824         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9825         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9826         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9827         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9828         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9829         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9830         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9831         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9832         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9833         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9835         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9836         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9837         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9838         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9839         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9840         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9841         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9842         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9843         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9844         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9845         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9846         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9847         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9848         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9849         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9850         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9852 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9854         [BZ #16245]
9855         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9856         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9858 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9860         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9861         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9862         Likewise.
9864 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9866         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9867         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9868         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9869         (__fesetround): Remove define.
9870         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9871         rounding and exceptions handling.
9872         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9873         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9874         (__fe_nomask_env): Likewise.
9875         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9876         __fegetround instead of fegetround.
9877         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9878         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9880 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9882         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9883         it's there.
9885         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9887 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9889         [BZ #11157]
9890         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9891         (encrypt_r): Likewise.
9892         * malloc/obstack.h (obstack_free): Likewise.
9893         * posix/unistd.h (encrypt): Likewise.
9895 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9897         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9898         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9899         DL_CALL_DT_FINI() that call the functions directly.
9900         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9901         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9902         * elf/dl-fini.c: Likewise.
9904 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9906         * malloc/hooks.c (memalign_check): Add alignment rounding.
9907         * malloc/malloc.c (_mid_memalign): New function.
9908         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9909         Implement by calling _mid_memalign.
9910         * manual/probes.texi (Memory Allocation Probes): Remove
9911         memory_valloc_retry and memory_pvalloc_retry.
9913 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9915         * locale/programs/locarchive.c (open_archive): Add const
9916         qualifier to ARCHIVEFNAME and copy default fname to
9917         DEFAULT_FNAME.
9919         [BZ #15601]
9920         * libio/tst-widetext.input: Rename Oriya to Odia.
9921         * locale/iso-639.def: Likewise.
9923         * manual/probes.texi (Mathematical Function Probes): Add
9924         documentation for sin, cos, asin and acos probes.
9925         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9926         (__sin32): Add slowasin probe.
9927         (__cos32): Add slowacos probe.
9928         (__mpsin): Add slowsin probe.
9929         (__mpcos): Add slowcos probe.
9931 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9933         [BZ #15483]
9934         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9935         thread-local __sim_exceptions_thread and global
9936         __sim_exceptions_global.
9937         (__sim_disabled_exceptions): Change to thread-local
9938         __sim_disabled_exceptions_thread and global
9939         __sim_disabled_exceptions_global.
9940         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9941         and global __sim_round_mode_global.
9942         (__simulate_exceptions): Use thread-local floating-point state and
9943         set global state from it as needed.
9944         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9945         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9946         __sim_round_mode_thread.
9947         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9948         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9949         and global __sim_exceptions_global.
9950         (__sim_disabled_exceptions): Change to thread-local
9951         __sim_disabled_exceptions_thread and global
9952         __sim_disabled_exceptions_global.
9953         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9954         and global __sim_round_mode_global.
9955         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9956         (SIM_SET_GLOBAL): Likewise.
9957         * sysdeps/powerpc/soft-fp/sfp-machine.h
9958         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9959         __sim_round_mode_thread.
9960         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9961         __sim_disabled_exceptions_thread.
9962         (__sim_exceptions): Change to __sim_exceptions_thread.
9963         (__sim_disabled_exceptions): Change to
9964         __sim_disabled_exceptions_thread.
9965         (__sim_round_mode): Change to __sim_round_mode_thread.
9966         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9967         thread-local floating-point state and set global state from it as
9968         needed.
9969         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9970         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9971         (__sim_disabled_exceptions): Remove extern declaration.
9972         (feenableexcept): Use thread-local floating-point state and set
9973         global state from it as needed.
9974         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9975         extern declaration.
9976         (__sim_disabled_exceptions): Likewise.
9977         (__sim_round_mode): Likewise.
9978         (__fegetenv): Use thread-local floating-point state.
9979         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9980         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9981         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9982         floating-point state and set global state from it as needed.
9983         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9984         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9985         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9986         Likewise.
9987         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9988         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9989         Likewise.
9990         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9991         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9992         Use __sim_round_mode_thread.
9993         * math/test-fenv-tls.c: New file.
9994         * math/Makefile (tests): Add test-fenv-tls.
9995         ($(objpfx)test-fenv-tls): Depend on
9996         $(common-objpfx)nptl/libpthread.so.
9998 2013-11-19  Andreas Schwab  <schwab@suse.de>
10000         * locale/programs/locale.c (show_info): Decode wordarray elements.
10001         * locale/categories.def (LC_MONETARY): Add element for
10002         _NL_MONETARY_CRNCYSTR.
10003         * locale/C-monetary.c (conversion_rate): New variable.
10004         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10005         element.
10007 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
10009         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10010         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10012 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10014         * elf/Makefile (tst-auxv): New test.
10015         * elf/tst-auxv.c: New
10016         * elf/rtld.c (dl_main): Adjust AT_EXECFN
10018 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
10020         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10021         (hidden_proto): Caller changed.
10022         (hidden_tls_proto): New macro.
10023         (libc_hidden_tls_proto): Likewise.
10024         (rtld_hidden_tls_proto): Likewise.
10025         (libm_hidden_tls_proto): Likewise.
10026         (libresolv_hidden_tls_proto): Likewise.
10027         (librt_hidden_tls_proto): Likewise.
10028         (libdl_hidden_tls_proto): Likewise.
10029         (libnss_files_hidden_tls_proto): Likewise.
10030         (libnsl_hidden_tls_proto): Likewise.
10031         (libnss_nisplus_hidden_tls_proto): Likewise.
10032         (libutil_hidden_tls_proto): Likewise.
10034 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
10036         [BZ #10253]
10037         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10038         (decompose_rpath): Defer expansion to fillin_rpath.
10039         (_dl_init_paths): Pass linkmap to fillin_rpath.
10041 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10043         * benchtests/Makefile: Add strsep.
10044         * benchtests/bench-strsep.c: New file: strsep benchtest.
10045         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10047 2013-11-18  Andreas Schwab  <schwab@suse.de>
10049         * locale/programs/locale.c (show_info) [case byte]: Check for
10050         '\377' instead of '\177'.
10051         * locale/C-monetary.c (not_available): Always use "\377".
10052         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10053         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
10054         detect unavailable sign_posn locale elements.
10055         * locale/localeconv.c (__localeconv): For grouping and
10056         mon_grouping handle "\177" and "\377" like no grouping.
10057         (INT_ELEM): New macro.  Use it to set all numeric members.
10058         * locale/programs/ld-monetary.c (monetary_read)
10059         <tok_mon_grouping>: Normalize single -1 to the empty string.
10060         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10061         Likewise.
10063 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10065         [BZ #16055]
10066         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10067         when we match (nil).
10068         * stdio-common/tst-sscanf.c (struct test): Add testcase.
10070 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
10072         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10073         (NO_TEST_INLINE): Update value.
10074         (ERRNO_UNCHANGED): Likewise.
10075         (ERRNO_EDOM): Likewise.
10076         (ERRNO_ERANGE): Likewise.
10077         (IGNORE_RESULT): Likewise.
10078         (check_float_internal): Check signs of NaN results if
10079         TEST_NAN_SIGN used.
10080         (check_complex): Pass TEST_NAN_SIGN flag through to second
10081         check_float_internal call.
10082         (copysign_test_data): Add tests with quiet NaNs as second
10083         argument.  Use TEST_NAN_SIGN.
10084         (fabs_test_data): Add test of negative quiet NaN argument.  Use
10085         TEST_NAN_SIGN.
10086         (signbit_test_data): Add tests of quiet NaN argument.
10087         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10089         * math/gen-libm-test.pl (show_exceptions): Take extra argument
10090         $ignore_result.
10091         (parse_args): Handle function results specified as IGNORE.
10092         * math/libm-test.inc (IGNORE_RESULT): New macro.
10093         (check_float_internal): Do not check numerical result if flag
10094         IGNORE_RESULT set.
10095         (check_complex): Pass through IGNORE_RESULT to second
10096         check_float_internal call.
10097         (check_int): Do not check numerical result if flag IGNORE_RESULT
10098         set.
10099         (check_long): Likewise.
10100         (check_bool): Likewise.
10101         (check_longlong): Likewise.
10102         (lrint_test_data): Add tests of infinite and NaN arguments.
10103         (lrint_tonearest_test_data): Likewise.
10104         (lrint_towardzero_test_data): Likewise.
10105         (lrint_downward_test_data): Likewise.
10106         (lrint_upward_test_data): Likewise.
10107         (llrint_test_data): Likewise.
10108         (llrint_tonearest_test_data): Likewise.
10109         (llrint_towardzero_test_data): Likewise.
10110         (llrint_downward_test_data): Likewise.
10111         (llrint_upward_test_data): Likewise.
10112         (lround_test_data): Likewise.
10113         (llround_test_data): Likewise.
10115         * math/libm-test.inc (NO_TEST_INLINE): New macro.
10116         (ERRNO_UNCHANGED): Update value.
10117         (ERRNO_EDOM): Likewise.
10118         (ERRNO_ERANGE): Likewise.
10119         (NO_TEST_INLINE_FLOAT): New macro.
10120         (NO_TEST_INLINE_DOUBLE): Likewise.
10121         (enable_test): New function.
10122         (RUN_TEST_f_f): Check enable_test before running test.
10123         (RUN_TEST_2_f): Likewise.
10124         (RUN_TEST_fff_f): Likewise.
10125         (RUN_TEST_c_f): Likewise.
10126         (RUN_TEST_f_f1): Likewise.
10127         (RUN_TEST_fF_f1): Likewise.
10128         (RUN_TEST_fI_f1): Likewise.
10129         (RUN_TEST_ffI_f1): Likewise.
10130         (RUN_TEST_c_c): Likewise.
10131         (RUN_TEST_cc_c): Likewise.
10132         (RUN_TEST_f_i): Likewise.
10133         (RUN_TEST_f_i_tg): Likewise.
10134         (RUN_TEST_ff_i_tg): Likewise.
10135         (RUN_TEST_f_b): Likewise.
10136         (RUN_TEST_f_b_tg): Likewise.
10137         (RUN_TEST_f_l): Likewise.
10138         (RUN_TEST_f_L): Likewise.
10139         (RUN_TEST_fFF_11): Likewise.
10140         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10141         conditionals.
10142         (cosh_test_data): Likewise.
10143         (exp_test_data): Likewise.
10144         (expm1_test_data): Likewise.
10145         (hypot_test_data): Likewise.
10146         (pow_test_data): Likewise.
10147         (sinh_test_data): Likewise.
10148         (tanh_test_data): Likewise.
10149         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10150         flags argument.
10152         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10153         tests with quiet NaN input and output.
10154         (acosh_test_data): Likewise.
10155         (asin_test_data): Likewise.
10156         (asinh_test_data): Likewise.
10157         (atan_test_data): Likewise.
10158         (atanh_test_data): Likewise.
10159         (atan2_test_data): Likewise.
10160         (cbrt_test_data): Likewise.
10161         (cos_test_data): Likewise.
10162         (cosh_test_data): Likewise.
10163         (erf_test_data): Likewise.
10164         (erfc_test_data): Likewise.
10165         (exp_test_data): Likewise.
10166         (exp10_test_data): Likewise.
10167         (exp2_test_data): Likewise.
10168         (expm1_test_data): Likewise.
10169         (hypot_test_data): Likewise.
10170         (j0_test_data): Likewise.
10171         (j1_test_data): Likewise.
10172         (jn_test_data): Likewise.
10173         (lgamma_test_data): Likewise.
10174         (log_test_data): Likewise.
10175         (log10_test_data): Likewise.
10176         (log1p_test_data): Likewise.
10177         (log2_test_data): Likewise.
10178         (pow_test_data): Likewise.
10179         (scalb_test_data): Likewise.
10180         (sin_test_data): Likewise.
10181         (sincos_test_data): Likewise.
10182         (sinh_test_data): Likewise.
10183         (tan_test_data): Likewise.
10184         (tanh_test_data): Likewise.
10185         (tgamma_test_data): Likewise.
10186         (y0_test_data): Likewise.
10187         (y1_test_data): Likewise.
10188         (yn_test_data): Likewise.
10190         [BZ #16167]
10191         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10192         argument being NaN and avoid computations with second argument in
10193         that case.
10194         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10195         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10196         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10198 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
10200         * locale/iso-639.def: Add Chitwani Tharu (the).
10202 2013-11-14  Andreas Schwab  <schwab@suse.de>
10204         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10205         word instead of empty string.
10207 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10210         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10212         (__fe_nomask_env): Likewise.
10214 2013-11-13  Steve Ellcey  <sellcey@mips.com>
10216         * benchtests/bench-timing.h: Include time.h.
10218 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
10220         [BZ #15997]
10221         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10222         to 3.4.0 for x32.
10223         * sysdeps/unix/sysv/linux/configure: Regenerated.
10225 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
10227         [BZ #16151]
10228         * stdlib/strtod_l.c (round_and_return): Do not consider
10229         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10230         exponent one less than half the least subnormal exponent.
10231         * stdlib/test-strtod-round-data: Add more tests.
10232         * stdlib/tst-strtod-round.c (tests): Regenerated.
10234 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10236         [BZ #14143]
10237         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10238         (__fe_mask_env): Likewise.
10239         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10240         libm_hidden_proto and add function prototype.
10241         (__fe_mask_env): Add function prototype.
10242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10243         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10245         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10247         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10249 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10251         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10252         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10254 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10256         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10257         of htab_find_slot().
10259 2013-11-11  David S. Miller  <davem@davemloft.net>
10261         [BZ #16150]
10262         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10263         symbol in the non-vis3 case in static builds.
10264         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10265         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10266         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10267         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10269 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10271         [BZ #387]
10272         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10273         it is empty.
10275 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10277         * benchtests/Makefile: Add bench-strtod.
10278         * benchtests/bench-strtod.c: New file: strtod benchtest
10280 2013-11-11  Andreas Schwab  <schwab@suse.de>
10282         [BZ #16153]
10283         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10284         terminating NUL in key length.
10286 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10288         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10289         Add artificial ODP entry for vDSO symbol for PPC64.
10290         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10291         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10293 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10295         [BZ #15374]
10296         * nss/getent.c (services_keys): Recognize services starting with digit.
10298 2013-11-06  David S. Miller  <davem@davemloft.net>
10300         [BZ #15985]
10301         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10302         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10304 2013-11-06  Will Newton  <will.newton@linaro.org>
10306         * manual/memory.texi (Malloc Examples): Remove register
10307         keyword from examples.
10309 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
10311         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10313 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
10315         [BZ #6981]
10316         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10317         depending on [__GCC_IEC_559 > 0].
10318         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10319         depending on [__GCC_IEC_559_COMPLEX > 0].
10321 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
10323         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10324         to iso-639.def.
10326 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
10328         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10330 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
10332         [BZ #16112]
10333         * malloc/malloc (malloc_info): Do not handle first bin as
10334         special case.
10336 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
10338         * locale/iso-639.def: Add Central Nahuatl (nhn).
10340 2013-11-01  Bruno Haible  <bruno@clisp.org>
10342         [BZ #7003]
10343         * manual/math.texi (BSD Random): Specify range upper bound as
10344         in POSIX.
10346 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
10348         * locale/iso-639.def: Add Meadow Mari (mhr).
10350 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
10352         [BZ #14752], [BZ #15763]
10353         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10354         Validate name.
10355         * rt/tst_shm.c: Add test for escaping directory.
10357 2013-10-31  Andreas Schwab  <schwab@suse.de>
10359         [BZ #15917]
10360         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10361         followed by 'x' as part of digit sequence.
10362         * stdio-common/tst-sscanf.c (double_tests2): New tests.
10364 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10366         [BZ #16037]
10367         * configure.ac: allow GNU Make 4.0 and greater.
10368         * configure: Regenerated.
10370 2013-10-30  Will Newton  <will.newton@linaro.org>
10372         [BZ #16038]
10373         * malloc/hooks.c (memalign_check): Limit alignment to the
10374         maximum representable power of two.
10375         * malloc/malloc.c (__libc_memalign): Likewise.
10376         * malloc/tst-memalign.c (do_test): Add test for very
10377         large alignment values.
10378         * malloc/tst-posix_memalign.c (do_test): Likewise.
10380 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10382         [BZ #11087]
10383         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10384         (munmap_chunk): Likewise.
10385         (mremap_chunk): Likewise.
10387 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10389         [BZ #15799]
10390         * stdlib/div.c (div): Remove obsolete code.
10391         * stdlib/ldiv.c (ldiv): Likewise.
10392         * stdlib/lldiv.c (lldiv): Likewise.
10394 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10396         [BZ #16071]
10397         * nss/nss_files/files-XXX.c (get_contents_ret): New
10398         enumerator.
10399         (get_contents): New function.
10400         (internal_getent): Use it.  Expand size of LINEBUFLEN.
10402 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
10404         * configure.in: Moved to ...
10405         * configure.ac: ... here. Change reference to configure.in
10406         to configure.ac.
10407         * sysdeps/arm/preconfigure.ac: ... here.
10408         configure.in to configure.ac.
10409         * sysdeps/gnu/configure.in: Moved to ...
10410         * sysdeps/gnu/configure.ac: ... here.
10411         * sysdeps/i386/configure.in: Moved to ...
10412         * sysdeps/i386/configure.ac: ... here.
10413         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10414         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10415         * sysdeps/mach/configure.in: Moved to ...
10416         * sysdeps/mach/configure.ac: ... here.
10417         * sysdeps/mach/hurd/configure.in: Moved to ...
10418         * sysdeps/mach/hurd/configure.ac: ... here.
10419         * sysdeps/powerpc/configure.in: Moved to ...
10420         * sysdeps/powerpc/configure.ac: ... here.
10421         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10422         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10423         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10424         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10425         * sysdeps/s390/s390-32/configure.in: Moved to ...
10426         * sysdeps/s390/s390-32/configure.ac: ... here.
10427         * sysdeps/s390/s390-64/configure.in: Moved to ...
10428         * sysdeps/s390/s390-64/configure.ac: ... here.
10429         * sysdeps/sh/configure.in: Moved to ...
10430         * sysdeps/sh/configure.ac: ... here.
10431         * sysdeps/sparc/configure.in: Moved to ...
10432         * sysdeps/sparc/configure.ac: ... here.
10433         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10434         * sysdeps/unix/sysv/linux/configure.ac: ... here.
10435         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10436         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10437         * sysdeps/x86_64/configure.in: Moved to ...
10438         * sysdeps/x86_64/configure.ac: ... here.
10439         * sysdeps/x86_64/preconfigure.in: Moved to ...
10440         * sysdeps/x86_64/preconfigure.ac: ... here.
10441         * aclocal.m4: Change reference to configure.in to configure.ac.
10442         * config.h.in: Likewise.
10443         * manual/install.texi: Likewise.
10444         * manual/maint.texi: Likewise.
10445         * Makefile: Likewise.
10446         * malloc/Makefile: Likewise.
10447         * nscd/Makefile: Likewise.
10448         * Makeconfig: Change reference to configure.in and
10449         preconfigure.in to configure.ac and preconfigure.ac
10450         respectively.
10451         * INSTALL: Regenerated.
10452         * configure: Likewise.
10453         * sysdeps/gnu/configure: Likewise.
10454         * sysdeps/i386/configure: Likewise.
10455         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10456         * sysdeps/mach/configure: Likewise.
10457         * sysdeps/mach/hurd/configure: Likewise.
10458         * sysdeps/powerpc/configure: Likewise.
10459         * sysdeps/powerpc/powerpc32/configure: Likewise.
10460         * sysdeps/powerpc/powerpc64/configure: Likewise.
10461         * sysdeps/s390/s390-32/configure: Likewise.
10462         * sysdeps/s390/s390-64/configure: Likewise.
10463         * sysdeps/sh/configure: Likewise.
10464         * sysdeps/sparc/configure: Likewise.
10465         * sysdeps/unix/sysv/linux/configure: Likewise.
10466         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10467         * sysdeps/x86_64/configure: Likewise.
10468         * sysdeps/x86_64/preconfigure: Likewise.
10470 2013-10-29  Andreas Schwab  <schwab@suse.de>
10472         * stdio-common/Makefile (tst-swscanf-ENV): Define.
10474 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10476         * benchtests/pow-inputs: Add new inputs.
10478         * benchtests/exp-inputs: Add new inputs.
10480         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10481         conditional check for return value.
10482         (__cos32): Likewise.
10484 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10486         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10487         to provide a boost for large inputs with word alignment.
10488         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10489         implementation based on optimized PPC64 strcpy.
10490         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10491         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10492         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10493         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10495 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10497         [BZ #2801]
10498         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10500 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10502         [BZ #14876]
10503         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10504         * time/tst-strptime.c (day_tests): Add testcase.
10506 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10508         [BZ #14029]
10509         * manual/pattern.texi: Acknowledge that fnmatch can fail.
10511 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
10513         [BZ #16074]
10514         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10515         MAP_FAILED on error.
10517 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10519         [BZ #16072]
10520         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10521         heap for large requests.
10523 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
10525         [BZ #9954]
10526         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10527         result if the result has no associated interface.
10528         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10529         interface for all 127.X.Y.Z addresses.
10531 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
10533         * locale/iso-639.def: Add Ligurian (lij)
10535 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
10537         [BZ #15825]
10538         * sunrpc/rpc_main.c: Document rpcgen -5.
10540 2013-10-19  Michael Stahl  <mstahl@redhat.com>
10542         * elf/rtld.c (do_preload): Print the reason why preloading failed.
10544 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10546         [BZ #10278]
10547         * posix/glob.c: Match only directories when trailing slash is present.
10548         * posix/tst-gnuglob.c (my_opendir): Do not open files.
10549         (main): Add testcase.
10551 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10553         [BZ #15670]
10554         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10556 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
10558         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10559         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10560         AUTH_DES and cindex for FIPS 140-2.
10561         (DES Encryption): Add cindex FIPS 46-3.
10563         * locale/locarchive.h (struct locarhandle): Add fname.
10564         * locale/programs/localedef.c (main): Pass ARGV[remaining]
10565         if an optional argument was specified to --list-archive,
10566         otherwise NULL.
10567         * locale/programs/locarchive.c (show_archive_content): Take new
10568         argument fname and pass it via ah.fname to open_archive.
10569         * locale/programs/localedef.h: Update decl.
10570         (open_archive): If AH->fname is non-null, open that file
10571         rather than the default file name, and don't ignore ENOENT.
10572         (create_archive): Set AH.fname to NULL.
10573         (delete_locales_from_archive): Likewise.
10574         (add_locales_to_archive): Likewise.
10575         * locale/programs/locfile.c (write_all_categories): Likewise.
10577 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
10578             Aldy Hernandez  <aldyh@redhat.com>
10580         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10581         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10582         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10583         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10584         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10585         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10586         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10587         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10588         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10589         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10590         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10591         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10592         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10593         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10594         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10595         Likewise.
10596         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10597         Likewise.
10598         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10599         Likewise.
10600         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10601         Likewise.
10602         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10603         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10604         Likewise.
10605         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10606         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10607         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10608         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10609         Likewise.
10610         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10611         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10612         * sysdeps/powerpc/preconfigure: Likewise.
10613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10614         Likewise.
10615         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10616         Replace contents of file by #include of <fenv_libc.h>.
10617         * sysdeps/powerpc/soft-fp/sfp-machine.h
10618         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10619         and <sys/prctl.h>.
10620         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10621         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10622         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10623         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10624         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10625         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10627         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10628         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10629         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10630         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10631         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10633         Allow copysignl PLT reference to be missing.
10635 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10636             Joseph Myers  <joseph@codesourcery.com
10638         [BZ #15948]
10639         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10640         single character.
10641         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10643 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10645         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10646         * elf/tst-tls1.c: Likewise.
10647         * elf/tst-tls10.h: Likewise.
10648         * elf/tst-tls14.c: Likewise.
10649         * elf/tst-tls2.c: Likewise.
10650         * elf/tst-tls3.c: Likewise.
10651         * elf/tst-tls4.c: Likewise.
10652         * elf/tst-tls5.c: Likewise.
10653         * elf/tst-tls6.c: Likewise.
10654         * elf/tst-tls7.c: Likewise.
10655         * elf/tst-tls8.c: Likewise.
10656         * elf/tst-tls9.c: Likewise.
10657         * elf/tst-tlsmod1.c: Likewise.
10658         * elf/tst-tlsmod13.c: Likewise.
10659         * elf/tst-tlsmod13a.c: Likewise.
10660         * elf/tst-tlsmod14a.c: Likewise.
10661         * elf/tst-tlsmod16a.c: Likewise.
10662         * elf/tst-tlsmod16b.c: Likewise.
10663         * elf/tst-tlsmod2.c: Likewise.
10664         * elf/tst-tlsmod3.c: Likewise.
10665         * elf/tst-tlsmod4.c: Likewise.
10666         * elf/tst-tlsmod5.c: Likewise.
10667         * elf/tst-tlsmod6.c: Likewise.
10669 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10671         [BZ #12486]
10672         * malloc/malloc.c: remove checks for statistics.
10674 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10676         [BZ #15277]
10677         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10678         * inet/tst-network.c: Add testcase.
10680 2013-10-17  Andreas Schwab  <schwab@suse.de>
10682         [BZ #15218]
10683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10684         to determine canonical name.
10686 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10688         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10689         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10690         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10691         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10692         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10693         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10694         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10695         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10696         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10697         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10698         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10699         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10700         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10701         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10702         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10703         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10704         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10705         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10706         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10707         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10708         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10709         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10710         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10711         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10712         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10713         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10714         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10715         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10716         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10717         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10718         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10719         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10720         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10721         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10722         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10723         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10724         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10725         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10726         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10727         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10728         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10729         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10730         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10731         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10732         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10733         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10734         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10735         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10736         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10737         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10738         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10739         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10740         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10741         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10742         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10743         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10744         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10745         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10747 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10749         [BZ #16041]
10750         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10751         make result into a quiet NaN.
10753 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10755         * soft-fp/adddf3.c: Fix horizontal whitespace.
10756         * soft-fp/addsf3.c: Likewise.
10757         * soft-fp/addtf3.c: Likewise.
10758         * soft-fp/divdf3.c: Likewise.
10759         * soft-fp/divsf3.c: Likewise.
10760         * soft-fp/divtf3.c: Likewise.
10761         * soft-fp/double.h: Likewise.
10762         * soft-fp/eqdf2.c: Likewise.
10763         * soft-fp/eqsf2.c: Likewise.
10764         * soft-fp/eqtf2.c: Likewise.
10765         * soft-fp/extenddftf2.c: Likewise.
10766         * soft-fp/extended.h: Likewise.
10767         * soft-fp/extendsfdf2.c: Likewise.
10768         * soft-fp/extendsftf2.c: Likewise.
10769         * soft-fp/extendxftf2.c: Likewise.
10770         * soft-fp/fixdfdi.c: Likewise.
10771         * soft-fp/fixdfsi.c: Likewise.
10772         * soft-fp/fixdfti.c: Likewise.
10773         * soft-fp/fixsfdi.c: Likewise.
10774         * soft-fp/fixsfsi.c: Likewise.
10775         * soft-fp/fixsfti.c: Likewise.
10776         * soft-fp/fixtfdi.c: Likewise.
10777         * soft-fp/fixtfsi.c: Likewise.
10778         * soft-fp/fixtfti.c: Likewise.
10779         * soft-fp/fixunsdfdi.c: Likewise.
10780         * soft-fp/fixunsdfsi.c: Likewise.
10781         * soft-fp/fixunsdfti.c: Likewise.
10782         * soft-fp/fixunssfdi.c: Likewise.
10783         * soft-fp/fixunssfsi.c: Likewise.
10784         * soft-fp/fixunssfti.c: Likewise.
10785         * soft-fp/fixunstfdi.c: Likewise.
10786         * soft-fp/fixunstfsi.c: Likewise.
10787         * soft-fp/fixunstfti.c: Likewise.
10788         * soft-fp/floatdidf.c: Likewise.
10789         * soft-fp/floatdisf.c: Likewise.
10790         * soft-fp/floatditf.c: Likewise.
10791         * soft-fp/floatsidf.c: Likewise.
10792         * soft-fp/floatsisf.c: Likewise.
10793         * soft-fp/floatsitf.c: Likewise.
10794         * soft-fp/floattidf.c: Likewise.
10795         * soft-fp/floattisf.c: Likewise.
10796         * soft-fp/floattitf.c: Likewise.
10797         * soft-fp/floatundidf.c: Likewise.
10798         * soft-fp/floatundisf.c: Likewise.
10799         * soft-fp/floatunditf.c: Likewise.
10800         * soft-fp/floatunsidf.c: Likewise.
10801         * soft-fp/floatunsisf.c: Likewise.
10802         * soft-fp/floatunsitf.c: Likewise.
10803         * soft-fp/floatuntidf.c: Likewise.
10804         * soft-fp/floatuntisf.c: Likewise.
10805         * soft-fp/floatuntitf.c: Likewise.
10806         * soft-fp/fmadf4.c: Likewise.
10807         * soft-fp/fmasf4.c: Likewise.
10808         * soft-fp/fmatf4.c: Likewise.
10809         * soft-fp/gedf2.c: Likewise.
10810         * soft-fp/gesf2.c: Likewise.
10811         * soft-fp/getf2.c: Likewise.
10812         * soft-fp/ledf2.c: Likewise.
10813         * soft-fp/lesf2.c: Likewise.
10814         * soft-fp/letf2.c: Likewise.
10815         * soft-fp/muldf3.c: Likewise.
10816         * soft-fp/mulsf3.c: Likewise.
10817         * soft-fp/multf3.c: Likewise.
10818         * soft-fp/negdf2.c: Likewise.
10819         * soft-fp/negsf2.c: Likewise.
10820         * soft-fp/negtf2.c: Likewise.
10821         * soft-fp/op-1.h: Likewise.
10822         * soft-fp/op-2.h: Likewise.
10823         * soft-fp/op-4.h: Likewise.
10824         * soft-fp/op-8.h: Likewise.
10825         * soft-fp/op-common.h: Likewise.
10826         * soft-fp/quad.h: Likewise.
10827         * soft-fp/single.h: Likewise.
10828         * soft-fp/soft-fp.h: Likewise.
10829         * soft-fp/sqrtdf2.c: Likewise.
10830         * soft-fp/sqrtsf2.c: Likewise.
10831         * soft-fp/sqrttf2.c: Likewise.
10832         * soft-fp/subdf3.c: Likewise.
10833         * soft-fp/subsf3.c: Likewise.
10834         * soft-fp/subtf3.c: Likewise.
10835         * soft-fp/truncdfsf2.c: Likewise.
10836         * soft-fp/trunctfdf2.c: Likewise.
10837         * soft-fp/trunctfsf2.c: Likewise.
10838         * soft-fp/trunctfxf2.c: Likewise.
10839         * soft-fp/unorddf2.c: Likewise.
10840         * soft-fp/unordsf2.c: Likewise.
10841         * soft-fp/unordtf2.c: Likewise.
10843 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10845         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10846         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10848 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10850         * elf/dl-libc.c: Clear initfini list after freeing.
10852 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10854         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10855         * soft-fp/addsf3.c: Likewise.
10856         * soft-fp/addtf3.c: Likewise.
10857         * soft-fp/divdf3.c: Likewise.
10858         * soft-fp/divsf3.c: Likewise.
10859         * soft-fp/divtf3.c: Likewise.
10860         * soft-fp/double.h: Likewise.
10861         * soft-fp/eqdf2.c: Likewise.
10862         * soft-fp/eqsf2.c: Likewise.
10863         * soft-fp/eqtf2.c: Likewise.
10864         * soft-fp/extenddftf2.c: Likewise.
10865         * soft-fp/extended.h: Likewise.
10866         * soft-fp/extendsfdf2.c: Likewise.
10867         * soft-fp/extendsftf2.c: Likewise.
10868         * soft-fp/extendxftf2.c: Likewise.
10869         * soft-fp/fixdfdi.c: Likewise.
10870         * soft-fp/fixdfsi.c: Likewise.
10871         * soft-fp/fixdfti.c: Likewise.
10872         * soft-fp/fixsfdi.c: Likewise.
10873         * soft-fp/fixsfsi.c: Likewise.
10874         * soft-fp/fixsfti.c: Likewise.
10875         * soft-fp/fixtfdi.c: Likewise.
10876         * soft-fp/fixtfsi.c: Likewise.
10877         * soft-fp/fixtfti.c: Likewise.
10878         * soft-fp/fixunsdfdi.c: Likewise.
10879         * soft-fp/fixunsdfsi.c: Likewise.
10880         * soft-fp/fixunsdfti.c: Likewise.
10881         * soft-fp/fixunssfdi.c: Likewise.
10882         * soft-fp/fixunssfsi.c: Likewise.
10883         * soft-fp/fixunssfti.c: Likewise.
10884         * soft-fp/fixunstfdi.c: Likewise.
10885         * soft-fp/fixunstfsi.c: Likewise.
10886         * soft-fp/fixunstfti.c: Likewise.
10887         * soft-fp/floatdidf.c: Likewise.
10888         * soft-fp/floatdisf.c: Likewise.
10889         * soft-fp/floatditf.c: Likewise.
10890         * soft-fp/floatsidf.c: Likewise.
10891         * soft-fp/floatsisf.c: Likewise.
10892         * soft-fp/floatsitf.c: Likewise.
10893         * soft-fp/floattidf.c: Likewise.
10894         * soft-fp/floattisf.c: Likewise.
10895         * soft-fp/floattitf.c: Likewise.
10896         * soft-fp/floatundidf.c: Likewise.
10897         * soft-fp/floatundisf.c: Likewise.
10898         * soft-fp/floatunsidf.c: Likewise.
10899         * soft-fp/floatunsisf.c: Likewise.
10900         * soft-fp/floatuntidf.c: Likewise.
10901         * soft-fp/floatuntisf.c: Likewise.
10902         * soft-fp/floatuntitf.c: Likewise.
10903         * soft-fp/fmadf4.c: Likewise.
10904         * soft-fp/fmasf4.c: Likewise.
10905         * soft-fp/fmatf4.c: Likewise.
10906         * soft-fp/gedf2.c: Likewise.
10907         * soft-fp/gesf2.c: Likewise.
10908         * soft-fp/getf2.c: Likewise.
10909         * soft-fp/ledf2.c: Likewise.
10910         * soft-fp/lesf2.c: Likewise.
10911         * soft-fp/letf2.c: Likewise.
10912         * soft-fp/muldf3.c: Likewise.
10913         * soft-fp/mulsf3.c: Likewise.
10914         * soft-fp/multf3.c: Likewise.
10915         * soft-fp/negdf2.c: Likewise.
10916         * soft-fp/negsf2.c: Likewise.
10917         * soft-fp/negtf2.c: Likewise.
10918         * soft-fp/op-1.h: Likewise.
10919         * soft-fp/op-2.h: Likewise.
10920         * soft-fp/op-4.h: Likewise.
10921         * soft-fp/op-8.h: Likewise.
10922         * soft-fp/op-common.h: Likewise.
10923         * soft-fp/quad.h: Likewise.
10924         * soft-fp/single.h: Likewise.
10925         * soft-fp/soft-fp.h: Likewise.
10926         * soft-fp/sqrtdf2.c: Likewise.
10927         * soft-fp/sqrtsf2.c: Likewise.
10928         * soft-fp/sqrttf2.c: Likewise.
10929         * soft-fp/subdf3.c: Likewise.
10930         * soft-fp/subsf3.c: Likewise.
10931         * soft-fp/subtf3.c: Likewise.
10932         * soft-fp/truncdfsf2.c: Likewise.
10933         * soft-fp/trunctfdf2.c: Likewise.
10934         * soft-fp/trunctfsf2.c: Likewise.
10935         * soft-fp/trunctfxf2.c: Likewise.
10936         * soft-fp/unorddf2.c: Likewise.
10937         * soft-fp/unordsf2.c: Likewise.
10938         * soft-fp/unordtf2.c: Likewise.
10940 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10942         [BZ #15672]
10943         * misc/error.c (error_tail): Fix possible buffer overflow.
10945 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10947         [BZ #13028]
10948         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10949         address.
10951 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10953         [BZ #832]
10954         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10955         testing pipefail option.
10957 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10959         * soft-fp/double.h: Indent preprocessor directives inside #if.
10960         * soft-fp/extended.h: Likewise.
10961         * soft-fp/op-2.h: Likewise.
10962         * soft-fp/op-4.h: Likewise.
10963         * soft-fp/op-common.h: Likewise.
10964         * soft-fp/quad.h: Likewise.
10965         * soft-fp/single.h: Likewise.
10966         * soft-fp/soft-fp.h: Likewise.
10968 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10970         * iconv/iconv_prog.c: Fix typos.
10971         * stdio-common/psiginfo-data.h: Likewise.
10973 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10975         [BZ #15764]
10976         * locale/setlocale.c: Fix typo.
10978 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10980         [BZ #16036]
10981         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10982         signaling NaN arguments.
10983         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10984         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10986         [BZ #14910]
10987         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10988         unordered operands.
10989         * soft-fp/gesf2.c (__gesf2): Likewise.
10990         * soft-fp/getf2.c (__getf2): Likewise.
10991         * soft-fp/ledf2.c (__ledf2): Likewise.
10992         * soft-fp/lesf2.c (__lesf2): Likewise.
10993         * soft-fp/letf2.c (__letf2): Likewise.
10995         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10996         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10997         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10998         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10999         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11000         * soft-fp/fixdfti.c (__fixdfti): Likewise.
11001         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11002         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11003         * soft-fp/fixsfti.c (__fixsfti): Likewise.
11004         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11005         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11006         * soft-fp/fixtfti.c (__fixtfti): Likewise.
11007         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11008         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11009         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11010         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11011         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11012         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11013         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11014         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11015         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11016         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11017         * soft-fp/floatdisf.c (__floatdisf): Likewise.
11018         * soft-fp/floatsisf.c (__floatsisf): Likewise.
11019         * soft-fp/floattidf.c (__floattidf): Likewise.
11020         * soft-fp/floattisf.c (__floattisf): Likewise.
11021         * soft-fp/floattitf.c (__floattitf): Likewise.
11022         * soft-fp/floatundidf.c (__floatundidf): Likewise.
11023         * soft-fp/floatundisf.c (__floatundisf): Likewise.
11024         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11025         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11026         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11027         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11028         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11029         * soft-fp/gesf2.c (__gesf2): Likewise.
11030         * soft-fp/getf2.c (__getf2): Likewise.
11031         * soft-fp/ledf2.c (__ledf2): Likewise.
11032         * soft-fp/lesf2.c (__lesf2): Likewise.
11033         * soft-fp/letf2.c (__letf2): Likewise.
11035         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11036         Undefine and redefine.
11037         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11038         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11039         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11040         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11041         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11042         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11043         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11044         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11045         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11046         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11047         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11048         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11049         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11050         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11051         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11053         [BZ #16032]
11054         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11055         without decrementing exponent if mantissa >= that for the
11056         denominator, not >.
11057         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11058         denominator, not >.  Decrement exponent in < case instead of
11059         incrementing in >= case.
11060         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11061         without decrementing exponent if mantissa >= that for the
11062         denominator, not >.
11064         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11065         computing saturated result for unsigned overflow.
11067 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11068             Jeff Law  <law@redhat.com>
11070         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11071         (atan2Mp): Add systemtap probe marker.
11072         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11073         (__ieee754_log): Add systemtap probe marker.
11074         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11075         (atanMp): Add systemtap probe marker.
11076         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11077         (tanMp): Add systemtap probe marker.
11078         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11079         (__slowexp): Add systemtap probe marker.
11080         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11081         (__slowpow): Add systemtap probe marker.
11082         * manual/probes.texi: Document probes.
11084 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
11086         [BZ #15362]
11087         * libio/fileops.c (_IO_new_file_write): Return count of bytes
11088         written.
11089         (_IO_new_file_xsputn): Don't return EOF if nothing has been
11090         written.
11091         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11092         written to buffer but not flushed.
11093         * libio/iofwrite_u.c:  Likewise.
11094         * libio/iopadn.c:  Return bytes returned even if EOF was
11095         encountered.
11096         * libio/iowpadn.c:  Likewise.
11097         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11098         if _IO_padn does not write the whole buffer.
11099         [!COMPILE_WPRINTF] (PAD): Likewise.
11101 2013-10-10  David S. Miller  <davem@davemloft.net>
11103         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11104         directory block.
11106 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11108         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
11109         instead of FSF address.
11110         * soft-fp/fixdfti.c: Likewise.
11111         * soft-fp/fixsfti.c: Likewise.
11112         * soft-fp/fixtfti.c: Likewise.
11113         * soft-fp/fixunsdfti.c: Likewise.
11114         * soft-fp/fixunssfti.c: Likewise.
11115         * soft-fp/fixunstfti.c: Likewise.
11116         * soft-fp/floattidf.c: Likewise.
11117         * soft-fp/floattisf.c: Likewise.
11118         * soft-fp/floattitf.c: Likewise.
11119         * soft-fp/floatuntidf.c: Likewise.
11120         * soft-fp/floatuntisf.c: Likewise.
11121         * soft-fp/floatuntitf.c: Likewise.
11122         * soft-fp/trunctfxf2.c: Likewise.
11124         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
11125         * soft-fp/fixdfti.c: Likewise.
11126         * soft-fp/fixsfti.c: Likewise.
11127         * soft-fp/fixtfti.c: Likewise.
11128         * soft-fp/fixunsdfti.c: Likewise.
11129         * soft-fp/fixunssfti.c: Likewise.
11130         * soft-fp/fixunstfti.c: Likewise.
11131         * soft-fp/floattidf.c: Likewise.
11132         * soft-fp/floattisf.c: Likewise.
11133         * soft-fp/floattitf.c: Likewise.
11134         * soft-fp/floatuntidf.c: Likewise.
11135         * soft-fp/floatuntisf.c: Likewise.
11136         * soft-fp/floatuntitf.c: Likewise.
11137         * soft-fp/trunctfxf2.c: Likewise.
11139 2013-10-10  David S. Miller  <davem@davemloft.net>
11141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11143 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
11145         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11146         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11147         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11148         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11149         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11150         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11151         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11153         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11154         for NaNs before doing comparisons on argument.
11155         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11156         Likewise.
11158 2013-10-10  Will Newton  <will.newton@linaro.org>
11160         * malloc/hooks.c (memalign_check): Ensure the value of bytes
11161         passed to _int_memalign does not overflow.
11163 2013-10-10  Torvald Riegel  <triegel@redhat.com>
11165         * scripts/bench.pl: Add include-sources directive.
11166         * benchtests/README: Update documentation.
11168 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11170         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11171         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11172         instead of FP_INIT_ROUNDMODE.
11173         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11174         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11176         [BZ #16034]
11177         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
11178         copy class of input value.
11179         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
11180         not handle exceptions.
11181         * soft-fp/negsf2.c (__negsf2): Likewise.
11182         * soft-fp/negtf2.c (__negtf2): Likewise.
11183         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11185 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
11187         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11188         semicolon.  From Linux kernel.
11190 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
11192         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11194 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
11196         [BZ #156]
11197         * manual/socket.texi: Added statement about buffer
11198         for gethostbyname2_r.
11200 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
11202         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11203         Use .p2align directive instead, throughout.
11204         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11205         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11206         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11207         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11208         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11209         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11210         * sysdeps/x86_64/strchr.S: Likewise.
11211         * sysdeps/x86_64/strrchr.S: Likewise.
11213 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11215         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11217         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11219         * sysdeps/generic/math_private.h (__mpsin1): Remove
11220         declaration.
11221         (__mpcos1): Likewise.
11222         (__mpsin): New argument __range_reduce.
11223         (__mpcos): Likewise.
11224         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11225         (slow): Use __mpsin and __mpcos.
11226         (slow1): Likewise.
11227         (slow2): Likewise.
11228         (sloww): Likewise.
11229         (sloww1): Likewise.
11230         (sloww2): Likewise.
11231         (bsloww): Likewise.
11232         (bsloww1): Likewise.
11233         (bsloww2): Likewise.
11234         (cslow2): Likewise.
11235         (csloww): Likewise.
11236         (csloww1): Likewise.
11237         (csloww2): Likewise.
11238         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11239         range_reduce.  Merge in __mpsin1.
11240         (__mpcos): Likewise.
11241         (__mpsin1): Remove.
11242         (__mpcos1): Likewise.
11244 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
11246         * locale/loadlocale.c (_nl_intern_locale_data): Use
11247         LOCFILE_ALIGNED_P.
11248         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11249         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11250         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11251         obstack data is appropriately aligned.
11252         (obstack_int32_grow_fast): Likewise.
11253         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11254         * locale/programs/locfile.c (add_locale_uint32): Likewise.
11255         (add_locale_uint32_array): Likewise.
11257 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11259         * benchtests/Makefile: Remove ARGLIST and RET variables.
11260         ($(objpfx)bench-%.c): Pass only function name to the script.
11261         * benchtests/README: Update documentation.
11262         * benchtests/acos-inputs: Add new directives.
11263         * benchtests/acosh-inputs: Likewise.
11264         * benchtests/asin-inputs: Likewise.
11265         * benchtests/asinh-inputs: Likewise.
11266         * benchtests/atan-inputs: Likewise.
11267         * benchtests/atanh-inputs: Likewise.
11268         * benchtests/cos-inputs: Likewise.
11269         * benchtests/cosh-inputs: Likewise.
11270         * benchtests/exp-inputs: Likewise.
11271         * benchtests/log-inputs: Likewise.
11272         * benchtests/pow-inputs: Likewise.
11273         * benchtests/rint-inputs: Likewise.
11274         * benchtests/sin-inputs: Likewise.
11275         * benchtests/sinh-inputs: Likewise.
11276         * benchtests/tan-inputs: Likewise.
11277         * benchtests/tanh-inputs: Likewise.
11278         * scripts/bench.pl: Add support for new directives.
11280 2013-10-07  Alan Modra  <amodra@gmail.com>
11282         * README: Fix careless merge.
11284 2013-10-05  Alan Modra  <amodra@gmail.com>
11286         * NEWS: Mention powerpc64le support and bugs fixed.
11287         * README: Both big-endian and little-endian powerpc64 supported.
11289 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11291         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11292         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11293         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11294         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11296 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
11298         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11299         match prototype.
11301 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
11303         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11304         Move -mhard-float appending from
11305         ports/sysdeps/powerpc/powerpc32/Makefile.
11306         [$(with-fp) = yes] (ASFLAGS): Likewise.
11307         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11308         * sysdeps/powerpc/nofpu: Move directory from
11309         ports/sysdeps/powerpc/nofpu.
11310         * sysdeps/powerpc/soft-fp: Move directory from
11311         ports/sysdeps/powerpc/soft-fp.
11312         * sysdeps/powerpc/powerpc32/405: Move directory from
11313         ports/sysdeps/powerpc/powerpc32/405.
11314         * sysdeps/powerpc/powerpc32/440: Move directory from
11315         ports/sysdeps/powerpc/powerpc32/440.
11316         * sysdeps/powerpc/powerpc32/464: Move directory from
11317         ports/sysdeps/powerpc/powerpc32/464.
11318         * sysdeps/powerpc/powerpc32/476: Move directory from
11319         ports/sysdeps/powerpc/powerpc32/476.
11320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11321         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11323         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11325         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11327         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11329         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11330         * README: Update for powerpc-*-linux-gnu software floating point
11331         support in libc.
11333         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11334         case to powerpc/powerpc32*.
11335         * sysdeps/unix/sysv/linux/configure: Regenerated.
11337         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11338         (_FPU_MASK_OM): Define as 0x04.
11339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11340         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11341         0x00c10080.
11342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11343         0x0000003c.
11344         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11347         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11348         getcontext_e500.
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11350         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11351         setcontext_e500.
11352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11353         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11354         and setcontext_e500.
11356 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
11358         * locale/iso-3166.def: Update iso-1366.def and related occurrences
11360 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11362         * manual/threads.texi (Default Thread Attributes): Fix typo.
11364 2013-10-04  Will Newton  <will.newton@linaro.org>
11366         * malloc/Makefile: Add tst-memalign.
11367         * malloc/tst-memalign.c: New file.
11369         * malloc/tst-posix_memalign.c: Add comments.
11370         (do_test): Add comments and call free on all potentially
11371         allocated pointers. Add space after cast.
11373         * malloc/tst-pvalloc.c: Add comments.
11374         (do_test): Add comments and call free on all potentially
11375         allocated pointers. Remove duplicate check for NULL pointer.
11376         Add space after cast.
11378         * malloc/tst-valloc.c: Add comments.
11379         (do_test): Add comments and call free on all potentially
11380         allocated pointers. Remove duplicate check for NULL pointer.
11381         Add space after cast.
11383 2013-10-04  Alan Modra  <amodra@gmail.com>
11385         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11386         Use stdint types in rather than __attribute__((mode())).
11387         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11389 2013-10-04  Alan Modra  <amodra@gmail.com>
11391         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11392         Correct handling of unaligned relocs for little-endian.
11393         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11395 2013-10-04  Alan Modra  <amodra@gmail.com>
11397         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11398         * configure: Regenerate.
11399         * nptl/shlib-versions: Powerpc*le starts at 2.18.
11400         * shlib-versions: Likewise.
11402 2013-10-04  Alan Modra  <amodra@gmail.com>
11404         * string/tester.c (test_memrchr): Increment reported test cycle.
11406 2013-10-04  Alan Modra  <amodra@gmail.com>
11408         * string/test-memcpy.c (do_one_test): When reporting errors, print
11409         string address and don't overrun end of string.
11411 2013-10-04  Alan Modra  <amodra@gmail.com>
11413         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11414         insrdi.  Make better use of reg selection to speed exit slightly.
11415         Schedule entry path a little better.  Remove useless "are we done"
11416         checks on entry to main loop.  Handle wrapping around zero address.
11417         Correct main loop count.  Handle single left-over word from main
11418         loop inline rather than by using loop_small.  Remove extra word
11419         case in loop_small caused by wrong loop count.  Add little-endian
11420         support.
11421         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11422         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
11423         cache hint.
11424         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11425         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11426         support.  Avoid rlwimi.
11427         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11429 2013-10-04  Alan Modra  <amodra@gmail.com>
11431         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11432         insrdi.  Formatting.
11433         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11434         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11435         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11436         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11437         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11438         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11440 2013-10-04  Alan Modra  <amodra@gmail.com>
11442         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11443         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11444         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11445         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11446         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11447         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11448         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11449         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11450         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
11451         use of regs.  Use power7 mtocrf.  Tidy function tails.
11453 2013-10-04  Alan Modra  <amodra@gmail.com>
11455         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11456         Formatting.  Consistently use rXXX register defines or rN defines.
11457         Use early exit labels that avoid restoring unused non-volatile regs.
11458         Make cr field use more consistent with rWORDn compares.  Rename
11459         regs used as shift registers for unaligned loop, using rN defines
11460         for short lifetime/multiple use regs.
11461         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11462         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
11463         addi 1,1,64 to pop stack frame.  Simplify return value code.
11464         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11466 2013-10-04  Alan Modra  <amodra@gmail.com>
11468         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11469         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
11470         rather than rlwimi.
11471         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11472         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11473         little-endian support.  Correct typos.
11474         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
11475         rather than rlwimi.
11476         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
11477         in loop and entry code to keep "and." results.
11478         (strchr): Add little-endian support.  Comment.  Move cntlzd
11479         earlier in tail.
11480         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11482 2013-10-04  Alan Modra  <amodra@gmail.com>
11484         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11485         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11486         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11487         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11489 2013-10-04  Alan Modra  <amodra@gmail.com>
11491         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11492         (rTMP): Define as r11.
11493         (strcmp): Add little-endian support.  Optimise tail.
11494         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11495         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11496         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11497         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11498         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11499         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11500         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11502 2013-10-04  Alan Modra  <amodra@gmail.com>
11504         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11505         little-endian support.  Remove unnecessary "are we done" tests.
11506         Handle "s" wrapping around zero and extremely large "size".
11507         Correct main loop count.  Handle single left-over word from main
11508         loop inline rather than by using small_loop.  Correct comments.
11509         Delete "zero" tail, use "end_max" instead.
11510         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11512 2013-10-04  Alan Modra  <amodra@gmail.com>
11514         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11515         support.  Don't branch over align.
11516         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11517         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11518         support.  Rearrange tmp reg use to suit.  Comment.
11519         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11521 2013-10-04  Alan Modra  <amodra@gmail.com>
11523         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11525 2013-10-04  Alan Modra  <amodra@gmail.com>
11527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11528         conditional form of branch and link when obtaining pc.
11529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11531 2013-10-04  Alan Modra  <amodra@gmail.com>
11533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11534         HIWORD/LOWORD.
11535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11538 2013-10-04  Alan Modra  <amodra@gmail.com>
11540         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11541         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11542         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11543         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11544         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11545         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11546         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11547         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11548         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11549         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11551 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11552             Alistair Popple <alistair@ozlabs.au.ibm.com>
11553             Alan Modra <amodra@gmail.com>
11555         [BZ #15723]
11556         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11557         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11558         _dl_hwcap access for little-endian.
11559         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
11560         destroy vmx regs when saving unaligned.
11561         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11562         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
11563         destroy vmx regs when saving unaligned.
11565 2013-10-04  Alan Modra  <amodra@gmail.com>
11567         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11568         Don't use a union to pack hi/low value.
11570 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11572         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11573         for little-endian.
11574         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11575         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11576         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11577         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11578         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11580 2013-10-04  Alan Modra  <amodra@gmail.com>
11582         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11583         constants to usual value for .cst8 section, and remove redundant
11584         high address load.
11585         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11586         constant for 0x1p52.  Load little-endian words of double from
11587         correct stack offsets.
11589 2013-10-04  Alan Modra  <amodra@gmail.com>
11591         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11592         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11593         words of double from correct stack offsets.
11594         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11595         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11596         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11597         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11598         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11599         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11600         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11601         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11602         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11603         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11604         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11605         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11606         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11607         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11608         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11609         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11610         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11612 2013-10-04  Alan Modra  <amodra@gmail.com>
11614         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11615         64-bit int/double union.
11616         (_FPU_SETCW): Likewise.
11617         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11618         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11620 2013-10-04  Alan Modra  <amodra@gmail.com>
11622         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11623         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11625 2013-10-04  Alan Modra  <amodra@gmail.com>
11627         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11628         use vector int constants.
11629         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11631 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11633         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11634         array with long long.
11635         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11636         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11637         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11638         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11639         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11640         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11641         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11642         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11643         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11644         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11645         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11646         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11647         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11649 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11651         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11652         (__signbit): Likewise.  Correct for little-endian.
11653         (__signbitl): Call __signbit.
11654         (lrint): Correct for little-endian.
11655         (lrintf): Call lrint.
11657 2013-10-04  Alan Modra  <amodra@gmail.com>
11659         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11660         union 32-bit int array member with 64-bit int array.
11661         (t515, tm256): Double rather than long double.
11662         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11664 2013-10-04  Alan Modra  <amodra@gmail.com>
11666         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11667         Delete.
11668         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11669         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11670         version of math_ldbl.h.
11672 2013-10-04  Alan Modra  <amodra@gmail.com>
11674         [BZ #15734], [BZ #15735]
11675         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11676         all uses of ieee875 long double macros and unions.  Simplify test
11677         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11678         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11679         normalize after ldbl_extract_mantissa, and don't add hidden bit
11680         already handled.  Don't treat low word of ieee854 mantissa like
11681         low word of IBM long double and mask off bit when testing for
11682         zero.
11683         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11684         all uses of ieee875 long double macros and unions.  Simplify tests
11685         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11686         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11687         two1022, instead use their values.  Recognise that tests for large
11688         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11689         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11690         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11691         test for 0.0L and nan.  Correct negation.
11692         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11693         ieee875 long double macros and unions.  Correct output for large
11694         magnitude x.  Correct absolute value calculation.
11695         (__erfcl): Likewise.
11696         * math/libm-test.inc: Add tests for errors discovered in IBM long
11697         double versions of fmodl, remainderl, erfl and erfcl.
11699 2013-10-04  Alan Modra  <amodra@gmail.com>
11701         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11702         all uses of ieee854 long double macros and unions.  Simplify tests
11703         for long doubles that are fully specified by the high double.
11704         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11705         Likewise.
11706         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11707         Remove dead code too.
11708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11709         (__ieee754_ynl): Likewise.
11710         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11711         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11712         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11713         Remove dead code too.
11714         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11715         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11716         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11717         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11718         Simplify.
11719         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11720         Simplify.
11721         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11722         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11723         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11724         Comment on variable precision.
11725         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11726         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11727         Likewise.
11728         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11729         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11730         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11731         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11732         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11734 2013-10-04  Alan Modra  <amodra@gmail.com>
11736         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11737         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11738         all uses of ieee854 long double macros and unions.
11739         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11740         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11741         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11742         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11743         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11744         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11745         Likewise.
11746         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11747         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11748         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11749         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11750         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11751         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11752         Simplify sign and nan test too.
11753         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11754         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11755         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11756         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11757         Likewise.
11758         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11759         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11760         Likewise.
11761         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11762         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11763         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11764         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11765         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11768 2013-10-04  Alan Modra  <amodra@gmail.com>
11770         * stdio-common/printf_size.c (__printf_size): Don't use
11771         union ieee854_long_double in fpnum union.
11772         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11773         signbit macro to retrieve sign from long double.
11774         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11775         retrieve sign from long double.
11776         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11777         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11778         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11779         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11780         * math/test-misc.c (main): Don't use union ieee854_long_double.
11782 2013-10-04  Alan Modra  <amodra@gmail.com>
11784         [BZ #15680]
11785         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11786         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11787         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11788         calculation.  Remove unnecessary test for denormal exponent.
11789         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11790         Correct handling of denormals.  Avoid undefined shift behaviour.
11791         Correct normalisation of low mantissa when low double is denormal.
11792         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11793         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11794         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11795         Correct normalisation of low mantissa.  Test for overflow of high
11796         mantissa and normalise.
11797         (ldbl_nearbyint): Use more readable constant for two52.
11798         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11799         (__mpn_construct_long_double): Fix test for overflow of high
11800         mantissa and correct normalisation.  Avoid undefined shift.
11802 2013-10-04  Alan Modra  <amodra@gmail.com>
11804         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11805         (union ibm_extended_long_double): Define as an array of ieee754_double.
11806         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11807         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11808         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11809         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11810         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11811         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11812         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11813         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11814         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11815         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11816         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11818 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11820         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11821         page size instead of calling getpagesize.
11823         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11824         (LOCFILE_ALIGN_MASK): Likewise.
11825         (LOCFILE_ALIGN_UP): Likewise.
11826         (LOCFILE_ALIGNED_P): Likewise.
11827         * locale/programs/ld-collate.c (collate_output): Use the new
11828         macros instead of __alignof__ (int32_t).
11829         * locale/weight.h (findidx): Likewise.
11831 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11833         [BZ #431]
11834         * manual/string.texi: Fix strncat and wcsncat.
11836 2013-10-03  Brooks Moses  <bmoses@google.com>
11838         [BZ #15915]
11839         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11840         * Makerules: ...here, and adjust associated comments.
11842 2013-10-02  Will Newton  <will.newton@linaro.org>
11844         * malloc/Makefile: Add tst-pvalloc.
11845         * malloc/tst-pvalloc.c: New file.
11847 2013-10-02  Will Newton  <will.newton@linaro.org>
11849         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11850         improve test coverage.
11852 2013-10-02  Will Newton  <will.newton@linaro.org>
11854         * malloc/Makefile: Add tst-posix_memalign.
11855         * malloc/tst-posix_memalign.c: New file.
11857 2013-10-01  Eric Blake  <eblake@redhat.com>
11859         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11860         Use __THROWNL rather than __THROW on static functions.
11862 2013-09-30  Petr Machata  <pmachata@redhat.com>
11864         * elf/elf.h (R_AARCH64_ABS16): New macro.
11865         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11866         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11867         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11868         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11869         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11870         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11871         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11872         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11873         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11874         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11875         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11876         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11877         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11878         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11879         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11880         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11881         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11882         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11883         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11884         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11885         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11886         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11887         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11888         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11889         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11890         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11891         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11892         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11893         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11894         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11895         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11896         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11897         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11898         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11899         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11900         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11901         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11902         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11903         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11904         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11905         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11906         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11907         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11908         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11909         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11910         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11911         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11912         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11913         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11914         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11915         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11916         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11917         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11918         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11919         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11920         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11921         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11922         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11923         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11924         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11925         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11926         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11927         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11928         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11929         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11930         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11931         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11932         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11933         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11934         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11935         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11936         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11937         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11938         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11939         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11940         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11941         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11942         (R_AARCH64_TLSDESC_LDR): Likewise.
11943         (R_AARCH64_TLSDESC_ADD): Likewise.
11944         (R_AARCH64_TLSDESC_CALL): Likewise.
11946 2013-09-30  Andreas Schwab  <schwab@suse.de>
11948         [BZ #15048]
11949         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11950         the nss database lookup.
11951         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11954 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11956         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11958 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11960         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11961         ${Bash-specific parameter/pattern/string} parameter expansion.
11962         * sysdeps/unix/make-syscalls.sh: Likewise.
11964 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11966         * sysdeps/sh/stackguard-macros.h: New file.
11968 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11972         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11973         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11974         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11975         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11977 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11979         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11980         Fix thread ID register.
11982 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11984         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11985         [POSIX || UNIX98]: Require rather than permitting all symbols from
11986         <time.h>.
11987         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11988         element of struct sched_param.
11989         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11990         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11991         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11992         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11993         constant.
11995 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11997         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11998         argument calculation.
12000 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12002         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12003         Expect macro.
12004         [POSIX] (pthread_attr_t): Do not require type.
12005         [POSIX] (pthread_cond_t): Likewise.
12006         [POSIX] (pthread_condattr_t): Likewise.
12007         [POSIX] (pthread_key_t): Likewise.
12008         [POSIX] (pthread_mutex_t): Likewise.
12009         [POSIX] (pthread_mutexattr_t): Likewise.
12010         [POSIX] (pthread_once_t): Likewise.
12011         [POSIX] (pthread_t): Likewise.
12012         [POSIX-based standards] (pthread_atfork): Expect function.
12014 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12015             Richard Sandiford  <richard@codesourcery.com>
12017         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12018         (swap_endianness_p): New extern variable.
12019         (set_big_endian): New inline function.
12020         (maybe_swap_uint32): Likewise.
12021         (maybe_swap_uint32_array): Likewise.
12022         (maybe_swap_uint32_obstack): Likewise.
12023         * locale/programs/locfile.c: Include <stdbool.h>.
12024         (swap_endianness_p): New variable.
12025         (add_locale_uint32): Call maybe_swap_uint32.
12026         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12027         (write_locale_data): Call maybe_swap_uint32_array.
12028         * locale/programs/ld-collate.c (obstack_int32_grow): Call
12029         maybe_swap_uint32.
12030         (obstack_int32_grow_fast): Likewise.
12031         (output_weightwc): Call maybe_swap_uint32_obstack.
12032         (collate_output): Likewise.
12033         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12034         (OPT_LITTLE_ENDIAN): Likewise.
12035         (options): Add --little-endian and --big-endian options.
12036         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12037         * locale/programs/locarchive.c: Include "locfile.h".
12038         (GET): New macro.
12039         (SET): Likewise.
12040         (INC): Likewise.
12041         (create_archive): Use the new macros to access fields of
12042         structures directly mapped from or written to locale archives.
12043         (oldlocrecentcmp): Likewise.
12044         (enlarge_archive): Likewise.
12045         (insert_name): Likewise.
12046         (add_alias): Likewise.
12047         (add_locale): Likewise.
12048         (delete_locales_from_archive): Likewise.
12049         (show_archive_content): Likewise.
12050         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
12051         locale data.
12053 2013-09-24  Roland McGrath  <roland@hack.frob.com>
12055         * manual/freemanuals.texi: Updated from (newly) canonical copy at
12056         http://www.gnu.org/doc/freemanuals.texi.
12057         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12059 2013-09-24  Will Newton  <will.newton@linaro.org>
12061         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12062         macro.
12064 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
12066         * locale/hashval.h (compute_hashval): Interpret bytes of key as
12067         unsigned char.
12069 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
12071         * manual/threads.texi (POSIX Threads): Fix a typo.
12073 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12075         [BZ #14547]
12076         * string/tst-strcoll-overflow.c: New test case.
12077         * string/Makefile (xtests): Add tst-strcoll-overflow.
12078         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12079         cache if string sizes may cause integer overflow.
12081         [BZ #14547]
12082         * string/strcoll_l.c (coll_seq): New members rule, idx,
12083         save_idx and back_us.
12084         (get_next_seq_nocache): New function.
12085         (do_compare_nocache): New function.
12086         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12087         when malloc fails.
12089 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
12091         [BZ #15754]
12092         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12093         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12094         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12096         [BZ #15754]
12097         * elf/Makefile (tests): Add tst-ptrguard1.
12098         (tests-static): Add tst-ptrguard1-static.
12099         (tst-ptrguard1-ARGS): Define.
12100         (tst-ptrguard1-static-ARGS): Define.
12101         * elf/tst-ptrguard1.c: New file.
12102         * elf/tst-ptrguard1-static.c: New file.
12103         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12104         * sysdeps/i386/stackguard-macros.h: Likewise.
12105         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12106         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12107         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12108         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12109         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12110         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12112 2013-09-23  Hector Marco  <hecmargi@upv.es>
12113             Ismael Ripoll  <iripoll@disca.upv.es>
12114             Carlos O'Donell  <carlos@redhat.com>
12116         [BZ #15754]
12117         * sysdeps/generic/stackguard-macros.h: Define
12118         __pointer_chk_guard_local and POINTER_CHK_GUARD.
12119         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12120         Define __pointer_chk_guard_local.
12121         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12122         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12124 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
12126         [BZ #15859]
12127         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12129 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
12131         * include/string.h (__ffs): Declare as hidden.
12132         * string/ffs.c (__ffs): Define as hidden.
12133         * sysdeps/i386/ffs.c (__ffs): Likewise.
12134         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12135         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12136         * sysdeps/s390/ffs.c (__ffs): Likewise.
12137         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12139 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
12141         * NEWS: Mention malloc probes.
12143         * malloc/arena.c (new_heap): New memory_heap_new probe.
12144         (grow_heap): New memory_heap_more probe.
12145         (shrink_heap): New memory_heap_less probe.
12146         (heap_trim): New memory_heap_free probe.
12147         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12148         (systrim): New memory_sbrk_less probe.
12149         * manual/probes.texi: Document them.
12151         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12152         * manual/probes.texi: Document it.
12154         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12155         (__libc_realloc): Add memory_realloc_retry probe.
12156         (__libc_memalign): Add memory_memalign_retry probe.
12157         (__libc_valloc): Add memory_valloc_retry probe.
12158         (__libc_pvalloc): Add memory_pvalloc_retry probe.
12159         (__libc_calloc): Add memory_calloc_retry probe.
12160         * manual/probes.texi: Document them.
12162         * malloc/arena.c (get_free_list): Add probe
12163         memory_arena_reuse_free_list.
12164         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12165         and memory_arena_reuse.
12166         (arena_get2) [!PER_THREAD]: Likewise.
12167         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12168         memory_arena_reuse_realloc.
12169         * manual/probes.texi: Document them.
12171         * malloc/malloc.c (__libc_free): Add
12172         memory_mallopt_free_dyn_thresholds probe.
12173         (__libc_mallopt): Add multiple memory_mallopt probes.
12174         * manual/probes.texi: Document them.
12176         * malloc/malloc.c: Include stap-probe.h.
12177         (__libc_mallopt): Add memory_mallopt probe.
12178         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12179         * manual/probes.texi: New.
12180         * manual/Makefile (chapters): Add probes.
12181         * manual/threads.texi: Set next node.
12183 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
12185         [BZ #15963, #13985]
12186         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12187         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12188         Add `Chinese' to `nan' entry name.
12190 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12192         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12193         (POLYNOMIAL): Likewise.
12194         (TAYLOR_SINCOS): Likewise.
12195         (TAYLOR_SLOW): Likewise.
12196         (__sin): Use TAYLOR_SINCOS.
12197         (__cos): Likewise.
12198         (slow): Use TAYLOR_SLOW.
12199         (sloww): Likewise.
12200         (bsloww): Likewise.
12201         (csloww): Likewise.
12203 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12205         * stdlib/strtod_l.c: Fix buffer overrun.
12207 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12209         * benchtests/Makefile (bench): Add sincos.
12210         * benchtests/bench-sincos.c: New file.
12212         * math/libm-test.inc (cos_test_data): New test inputs.
12213         (sin_test_data): Likewise.
12215         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12216         macro.
12217         (__sin): Use it.
12218         (__cos): Likewise.
12219         (slow1): Likewise.
12220         (slow2): Likewise.
12221         (sloww1): Likewise.
12222         (sloww2): Likewise.
12223         (bsloww1): Likewise.
12224         (bsloww2): Likewise.
12225         (cslow2): Likewise.
12226         (csloww1): Likewise.
12227         (csloww2): Likewise.
12229         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12230         function.
12231         (__sin): Use it.
12232         (__cos): Likewise.
12234         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12235         gotos.
12236         (__cos): Likewise.
12238 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
12240         * config.h.in (HAVE_MIPS_NAN2008): New macro.
12241         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12242         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12243         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12244         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12245         * elf/cache.c (print_entry): Handle the new cache flags.
12247 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12248             Aldy Hernandez  <aldyh@redhat.com>
12250         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12251         Change condition to [_SOFT_FLOAT].
12252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12255         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12264         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12267         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12268         declaration.
12270 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12272         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12273         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12274         (__longjmp): Use LOAD_GP to load saved GPRs.
12275         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12276         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12277         (__sigsetjmp): Use SAVE_GP to save GPRs.
12279         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12280         Do not append -msoft-float.
12281         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12283 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12285         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12287 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
12289         [BZ #15966]
12290         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12291         (_FPU_GETCW): Use initial "__" on variable and field names but not
12292         on macro parameter name.
12293         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
12294         parentheses around reference to macro parameter.
12296 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
12298         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12299         prototype.
12300         (ctype_startup): Use uint32_t in cast and sizeof for
12301         ctype->charnames.
12303 2013-09-11  Jia Liu  <proljc@gmail.com>
12305         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12306         __daddr_t_defined.
12307         [__FreeBSD__]: Likewise.
12309 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
12311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12312         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12313         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12314         (strchr): Remove __strchr_sse42 ifunc selection.
12315         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12316         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12318 2013-09-11  Will Newton  <will.newton@linaro.org>
12320         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12321         parameter to RES. Remove hardcoded 1000 value.
12322         * benchtests/bench-skeleton.c (main): Pass RES parameter
12323         to TIMING_INIT and multiply result by 1000.
12325 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12329 2013-09-11  Andreas Schwab  <schwab@suse.de>
12331         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12332         if not defined.
12333         (O_TMPFILE) [__USE_GNU]: Define.
12334         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12335         Define.
12337 2013-09-11  Will Newton  <will.newton@linaro.org>
12339         [BZ #15857]
12340         * malloc/malloc.c (__libc_memalign): Check the value of bytes
12341         does not overflow.
12343 2013-09-11  Will Newton  <will.newton@linaro.org>
12345         [BZ #15856]
12346         * malloc/malloc.c (__libc_valloc): Check the value of bytes
12347         does not overflow.
12349 2013-09-11  Will Newton  <will.newton@linaro.org>
12351         [BZ #15855]
12352         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12353         does not overflow.
12355 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
12357         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12358         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12359         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12360         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12361         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12363 2013-09-10  Allan McRae  <allan@archlinux.org>
12365         [BZ #15748]
12366         * manual/arith.texi (Parsing of Floats): Clarify
12367         cross-reference.
12369         [BZ #15849]
12370         * manual/install.texi (Running make install): Mention
12371         --enable-pt-chown.
12372         * INSTALL: Regenerated.
12374 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12376         * csu/init-first.c (_init): Remove the !SHARED condition around
12377         FPU control word initialization.
12378         * elf/dl-support.c (_dl_fpu_control): New variable.
12379         (_dl_aux_init) <AT_FPUCW>: Initialize it.
12380         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12381         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12382         * math/test-fpucw-static.c: New file.
12383         * math/test-fpucw-ieee.c: New file.
12384         * math/test-fpucw-ieee-static.c: New file.
12385         * math/Makefile (tests): Add `test-fpucw-ieee' and
12386         `$(tests-static)'.
12387         (tests-static): New variable.
12388         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12389         dependency to...
12390         [($(build-shared),yes)]
12391         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12392         ... this.
12393         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12394         New dependency.
12396 2013-09-09  Allan McRae  <allan@archlinux.org>
12398         [BZ #15939]
12399         * manual/string.texi (Collation Functions): Fix typo in
12400         strcoll example.
12401         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12403         [BZ #15893]
12404         * stdlib/isomac.c (get_null_defines): Fix memory leak.
12406         [BZ #15892]
12407         * libio/memstream.c (open_memstream): Fix memory leak.
12408         * libio/wmemstream.c (open_wmemstream): Likewise.
12410         [BZ #15895]
12411         * nscd/netgroupcache.c: Fix nesting of ifdefs.
12413 2013-09-09  Will Newton  <will.newton@linaro.org>
12415         * malloc/Makefile: Add tst-realloc to tests.
12416         * malloc/tst-realloc.c: New file.
12418 2013-09-09  Allan McRae  <allan@archlinux.org>
12420         [BZ #15844]
12421         * COPYING: Update from GNU website to fix FSF address.
12422         * COPYING.LIB: Likewise.
12424 2013-09-06  David S. Miller  <davem@davemloft.net>
12426         * po/zh_TW.po: Update Chinese (traditional) translation from
12427         translation project.
12429 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
12430             Joseph Myers  <joseph@codesourcery.com>
12432         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12433         "localeinfo.h".
12434         (obstack_chunk_alloc): New macro.
12435         (obstack_chunk_free): Likewise.
12436         (record_offset): New function.
12437         (init_locale_data): Likewise.
12438         (align_locale_data): Likewise.
12439         (add_locale_empty): Likewise.
12440         (add_locale_raw_data): Likewise.
12441         (add_locale_raw_obstack): Likewise.
12442         (add_locale_string): Likewise.
12443         (add_locale_wstring): Likewise.
12444         (add_locale_uint32): Likewise.
12445         (add_locale_uint32_array): Likewise.
12446         (add_locale_char): Likewise.
12447         (start_locale_structure): Likewise.
12448         (end_locale_structure): Likewise.
12449         (start_locale_prelude): Likewise.
12450         (end_locale_prelude): Likewise.
12451         (write_locale_data): Take locale_file structure rather than an
12452         iovec.
12453         * locale/programs/locfile.h: Include "obstack.h".
12454         (struct locale_file): Change to store locale file contents instead
12455         of header.
12456         (init_locale_data): New prototype.
12457         (align_locale_data): Likewise.
12458         (add_locale_empty): Likewise.
12459         (add_locale_raw_data): Likewise.
12460         (add_locale_raw_obstack): Likewise.
12461         (add_locale_string): Likewise.
12462         (add_locale_wstring): Likewise.
12463         (add_locale_uint32): Likewise.
12464         (add_locale_uint32_array): Likewise.
12465         (add_locale_char): Likewise.
12466         (start_locale_structure): Likewise.
12467         (end_locale_structure): Likewise.
12468         (start_locale_prelude): Likewise.
12469         (end_locale_prelude): Likewise.
12470         (write_locale_data): Update prototype.
12471         * locale/programs/3level.h (struct TABLE): Remove result field.
12472         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12473         Use new locale_file interface.
12474         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12475         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12476         * locale/programs/ld-address.c (address_output): Use new
12477         locale_file interface.
12478         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12479         NO_ADD_LOCALE.
12480         (collate_finish): Don't call collseq_table_finalize.
12481         (collate_output): Use new locale_file interface.
12482         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12483         in file.
12484         (NO_FINALIZE): Change to NO_ADD_LOCALE.
12485         (TABLE): Move defines earlier in file.
12486         (ELEMENT): Likewise.
12487         (DEFAULT): Likewise.
12488         (wctrans_table_add): Move macro and inline function earlier in
12489         file.
12490         (struct wctype_table): Move type earlier in file.
12491         (add_locale_wctype_table): New static prototype.
12492         (struct locale_ctype_t): Use logical types instead of struct iovec
12493         pointers for members.
12494         (ctype_output): Use new locale_file interface.
12495         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
12496         new locale_file interface.
12497         (allocate_arrays): Update for use of new locale_file interface.
12498         * locale/programs/ld-identification.c (identification_output): Use
12499         new locale_file interface.
12500         * locale/programs/ld-measurement.c (measurement_output): Likewise.
12501         * locale/programs/ld-messages.c (messages_output): Likewise.
12502         * locale/programs/ld-monetary.c (monetary_output): Likewise.
12503         * locale/programs/ld-name.c (name_output): Likewise.
12504         * locale/programs/ld-numeric.c (numeric_output): Likewise.
12505         * locale/programs/ld-paper.c (paper_output): Likewise.
12506         * locale/programs/ld-telephone.c (telephone_output): Likewise.
12507         * locale/programs/ld-time.c (time_output): Likewise.
12509 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12511         * benchtests/Makefile: Add memrchr benchmark.
12512         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12513         benchmark as memrchr.
12514         * benchtests/bench-memrchr-ifunc.c: New file.
12515         * benchtests/bench-memrchr.c: New file.
12517 2013-09-06   Will Newton  <will.newton@linaro.org>
12519         * benchtests/Makefile (string-bench): Add memcpy.
12521 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
12522             Cong Wang  <amwang@redhat.com>
12524         [BZ #15850]
12525         * sysdeps/unix/sysv/linux/bits/in.h
12526         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12527         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12528         before __USE_KERNEL_IPV6_DEFS uses.
12529         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12530         IPPROTO_BEETPH.
12531         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12532         sockaddr_in6, or ipv6_mreq.
12534 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12536         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12537         memory access for final bytes in some large inputs.
12538         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12540 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12542         * string/test-memrchr.c: New file.
12543         * string/test-memrchr-ifunc.c: New file.
12544         * string/Makefile: Add new memrchr testcase.
12546 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
12548         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12549         fanotify_init returns EPERM.
12551 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12553         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12554         errors.
12555         (top level): Treat second token from macro or constant entries for
12556         allowed headers as allowed.
12557         * include/complex.h: Condition internal declarations on
12558         [!_ISOMAC].
12559         * include/fenv.h: Condition include of <stdbool.h> and internal
12560         declarations on [!_ISOMAC].
12562 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
12564         [BZ #15923]
12565         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12567 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12569         * configure.in (--enable-versioning): Remove configure option.
12570         (libc_cv_asm_symver_directive): Remove configure test.
12571         (libc_cv_ld_version_script_option): Likewise.
12572         (VERSIONING): Remove variable and AC_SUBST.
12573         (DO_VERSIONING): Remove AC_DEFINE.
12574         * configure: Regenerated.
12575         * config.h.in (DO_VERSIONING): Remove macro.
12576         * Makerules [$(versioning) = yes]: Change conditionals to
12577         [$(build-shared) = yes].
12578         * config.make.in (versioning): Remove variable.
12579         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12580         [$(build-shared) = yes].
12581         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12582         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12583         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12584         [$(build-shared) = yes].
12585         * extra-lib.mk [$(versioning) = yes]: Likewise.
12586         * hurd/Makefile [$(versioning) = yes]: Likewise.
12587         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12588         [SHARED].
12589         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12590         [SHARED].
12591         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12592         [SHARED && !NO_HIDDEN].
12593         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12594         [SHARED].
12595         [SHARED && DO_VERSIONING]: Likewise..
12596         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12597         [$(build-shared) = yes].
12598         * manual/install.texi (--disable-versioning): Remove
12599         documentation.
12600         * INSTALL: Regenerated.
12601         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12602         to [SHARED].
12603         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12604         [$(build-shared) = yes].
12605         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12606         * sysdeps/i386/i686/multiarch/strstr-c.c
12607         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12608         [SHARED && !NO_HIDDEN].
12609         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12610         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12611         * sysdeps/powerpc/powerpc32/dl-machine.c
12612         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12613         * sysdeps/powerpc/powerpc32/sysdep.h
12614         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12615         to [SHARED && PIC && !NO_HIDDEN].
12616         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12617         conditional to [SHARED].
12619 2013-09-04   Will Newton  <will.newton@linaro.org>
12621         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12622         * benchtests/bench-string.h: Include bench-timing.h instead
12623         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12624         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12625         call to HP_TIMING_DIFF_INIT.
12626         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12627         instead of hp-timing.h macros.
12628         * benchtests/bench-memchr.c: Likewise.
12629         * benchtests/bench-memcmp.c: Likewise.
12630         * benchtests/bench-memcpy.c: Likewise.
12631         * benchtests/bench-memmem.c: Likewise.
12632         * benchtests/bench-memmove.c: Likewise.
12633         * benchtests/bench-memset.c: Likewise.
12634         * benchtests/bench-rawmemchr.c: Likewise.
12635         * benchtests/bench-strcasecmp.c: Likewise.
12636         * benchtests/bench-strcasestr.c: Likewise.
12637         * benchtests/bench-strcat.c: Likewise.
12638         * benchtests/bench-strchr.c: Likewise.
12639         * benchtests/bench-strcmp.c: Likewise.
12640         * benchtests/bench-strcpy.c: Likewise.
12641         * benchtests/bench-strcpy_chk.c: Likewise.
12642         * benchtests/bench-strlen.c: Likewise.
12643         * benchtests/bench-strncasecmp.c: Likewise.
12644         * benchtests/bench-strncat.c: Likewise.
12645         * benchtests/bench-strncmp.c: Likewise.
12646         * benchtests/bench-strncpy.c: Likewise.
12647         * benchtests/bench-strnlen.c: Likewise.
12648         * benchtests/bench-strpbrk.c: Likewise.
12649         * benchtests/bench-strrchr.c: Likewise.
12650         * benchtests/bench-strspn.c: Likewise.
12651         * benchtests/bench-strstr.c: Likewise.
12653 2013-09-04  Will Newton  <will.newton@linaro.org>
12655         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12657 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12659         [BZ #15427]
12660         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12661         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12662         * math/libm-test.inc (lgamma_test_data): Add more tests.
12663         * sysdeps/i386/fpu/libm-test-ulps: Update.
12664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12666 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12668         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12670         Add ifunc.
12671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12672         Add strcmp-sse2-unaligned
12673         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12675 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12677         * Versions.def (libc): Add GLIBC_2.19.
12679 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12681         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12682         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12684 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12686         [BZ #14155]
12687         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12688         intermediate calculations in recurrence.
12689         (__ieee754_ynf): Likewise.
12690         * math/libm-test.inc (jn_test_data): Do not allow spurious
12691         underflow exception.  Add more tests.
12692         (yn_test_data): Add more tests.
12693         * sysdeps/i386/fpu/libm-test-ulps: Update.
12694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12696 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12698         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12700 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12702         * csu/init-first.c: Fix then/than typos.
12703         * locale/programs/ld-collate.c: Likewise.
12704         * locale/programs/linereader.h: Likewise.
12705         * manual/charset.texi: Likewise.
12706         * manual/filesys.texi: Likewise.
12707         * manual/stdio.texi: Likewise.
12708         * manual/string.texi: Likewise.
12709         * stdlib/fmtmsg.c: Likewise.
12710         * sysdeps/i386/stpncpy.S: Likewise.
12711         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12712         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12713         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12714         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12716 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12718         * elf/dl-open.c: Fix typos.
12719         * iconvdata/gbbig5.c: Likewise.
12720         * iconvdata/iso-2022-jp.c: Likewise.
12721         * iconv/gconv_int.h: Likewise.
12722         * iconv/loop.c: Likewise.
12723         * nis/rpcsvc/nis.h: Likewise.
12724         * resolv/ns_name.c: Likewise.
12725         * stdio-common/vfscanf.c: Likewise.
12726         * streams/stropts.h: Likewise.
12727         * sunrpc/rpc_thread.c: Likewise.
12728         * sysdeps/i386/strpbrk.S: Likewise.
12729         * sysdeps/ieee754/k_standard.c: Likewise.
12730         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12731         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12732         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12733         * sysdeps/mach/hurd/profil.c: Likewise.
12734         * sysdeps/s390/dl-procinfo.h: Likewise.
12735         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12736         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12737         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12738         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12739         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12741 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12743         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12746 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12748         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12749         aix specific files.
12750         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12751         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12752         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12753         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12754         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12755         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12756         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12757         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12759 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12760             Roland McGrath  <roland@hack.frob.com>
12762         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12763         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12765 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12767         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12768         __executable_start symbol instead of _start.
12770 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12772         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12773         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12774         Move macros to...
12775         * sysdeps/gnu/ldsodefs.h: ... this new file.
12777         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12778         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12779         instead of ELFOSABI_LINUX.
12781         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12782         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12783         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12784         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12785         Likewise.
12786         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12787         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12788         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12789         Likewise.
12790         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12791         (ibm_extended_long_double): Add ieee_nan member.
12792         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12793         (do_test): New function.
12795         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12796         TEST_TRUNC.
12797         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12798         functions, renamed from truncdfsf_test, trunctfsf_test,
12799         trunctfdf_test.
12800         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12801         functions.
12802         (do_test): Run all these.
12804 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12806         * argp/argp-help.c: Fix typos.
12807         * argp/argp-parse.c: Likewise.
12808         * debug/backtracesyms.c: Likewise.
12809         * elf/elf.h: Likewise.
12810         * malloc/malloc.c: Likewise.
12811         * nis/nis_print.c: Likewise.
12812         * resolv/res_comp.c: Likewise.
12813         * stdlib/stdlib.h: Likewise.
12814         * sunrpc/clnt_tcp.c: Likewise.
12815         * sunrpc/clnt_udp.c: Likewise.
12816         * sunrpc/clnt_unix.c: Likewise.
12817         * sysdeps/unix/bsd/ptsname.c: Likewise.
12818         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12819         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12821         Likewise.
12822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12823         Likewise.
12824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12825         Likewise.
12826         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12828 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12830         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12831         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12833 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12835         [BZ #15897]
12836         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12837         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12838         ($(objpfx)bug-dl-leaf): New rule.
12839         ($(objpfx)bug-dl-leaf.so): Likewise.
12840         ($(objpfx)bug-dl-leaf.out): Likewise.
12841         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12842         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12843         * dlfcn/bug-dl-leaf.c: New test.
12844         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12845         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12846         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12847         (dlclose): Likewise.
12848         (dlmopen): Likewise.
12850 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12852         * include/netdb.h [!_ISOMAC]:
12853         Don't include <tls.h>.
12854         (h_errno, __libc_h_errno): Move declaration and macros out of
12855         [_LIBC_REENTRANT].
12857         * include/resolv.h [_RESOLV_H_]:
12858         Don't include <tls.h>.
12859         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12860         * resolv/res_libc.c: Don't include <tls.h>.
12861         (_res): Use __attribute__ ((nocommon)) in place of
12862         __attribute__ ((section (".bss"))).
12864         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12865         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12867         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12869         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12870         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12872         * resolv/res_mkquery.c: Include <sys/time.h>.
12874         * inet/ifreq.c: Moved to ...
12875         * sysdeps/unix/ifreq.c: ... here.
12876         * inet/ifreq.c: New file, true stub version.
12878         * socket/sa_len.c: New file.
12879         * socket/Makefile (aux): Add it.
12880         * sysdeps/unix/sysv/linux/Makefile
12881         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12882         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12883         and #include <socket/sa_len.c>.
12884         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12885         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12887         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12888         * bits/socket.h: ... here.
12890         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12891         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12892         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12894 2013-08-27  Andreas Schwab  <schwab@suse.de>
12896         [BZ #15736]
12897         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12898         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12899         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12900         * string/test-strcasecmp.c (test_main): Run tests in several
12901         locales.
12902         * string/test-strncasecmp.c (test_main): Likewise.
12904         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12905         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12906         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12907         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12908         (__strncasecmp_ssse3) [PIC]: Likewise.
12910 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12912         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12914         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12915         instead of explicitly declaring xdecrypt.
12916         * nis/nss_nis/nis-publickey.c: Likewise.
12918 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12920         [BZ #15890]
12921         * nscd/aicache.c: Include res_hconf.h.
12922         (addhstaiX): Initialize res_hconf.
12924 2013-08-26  Andreas Schwab  <schwab@suse.de>
12926         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12927         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12929 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12931         * nscd/aicache.c (addhstaiX): Fix indentation.
12933 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12935         * configure.ac: Quote $build_pt_chown test.
12936         * configure: Regenerated.
12938 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12940         [BZ #15532]
12941         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12942         * math/s_cexpf.c (__cexpf): Likewise.
12943         * math/s_cexpl.c (__cexpl): Likewise.
12944         * math/libm-test.inc (cexp_test_data): Correct expected return
12945         value for NaN + i0.  Add another test.
12947 2013-08-22  David S. Miller  <davem@davemloft.net>
12949         * po/ca.po: Update Catalan translation from translation project.
12950         * po/uk.po: Add Ukrainian translations from translation project.
12952 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12954         [BZ #15797]
12955         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12956         is infinite, not alongside NaN test.
12957         * math/s_fdimf.c (__fdimf): Likewise.
12958         * math/s_fdiml.c (__fdiml): Likewise.
12959         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12960         errno is unchanged.
12962 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12964         * argp/argp-help.c: Fix typos.
12965         * crypt/speeds.c: Likewise.
12966         * csu/check_fds.c: Likewise.
12967         * elf/dl-load.c: Likewise.
12968         * elf/dl-open.c: Likewise.
12969         * elf/reldep3.c: Likewise.
12970         * elf/reldep.c: Likewise.
12971         * elf/sprof.c: Likewise.
12972         * iconv/iconv_charmap.c: Likewise.
12973         * iconv/skeleton.c: Likewise.
12974         * iconv/strtab.c: Likewise.
12975         * io/lockf64.c: Likewise.
12976         * libio/libioP.h: Likewise.
12977         * resolv/gai_notify.c: Likewise.
12978         * resolv/ns_name.c: Likewise.
12979         * resolv/ns_samedomain.c: Likewise.
12980         * resolv/res_send.c: Likewise.
12981         * stdlib/random.c: Likewise.
12982         * sunrpc/rpc/xdr.h: Likewise.
12983         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12984         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12985         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12986         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12987         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12988         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12989         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12990         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12991         * sysdeps/mach/hurd/check_fds.c: Likewise.
12992         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12993         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12994         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12995         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12996         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12997         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12998         * sysdeps/pthread/aio_notify.c: Likewise.
12999         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13000         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13001         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13002         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13003         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13005 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13007         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13008         version if bit_Slow_SSE4_2 is set.
13009         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13010         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13012 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13014         [BZ #15867]
13015         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13016         trampoline stack frame information.
13017         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13018         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13019         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13020         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13021         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13022         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13023         (_libc_vdso_platform_setup): Initialize the signal trampolines.
13024         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13025         sa_flags value.
13026         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13027         interrupting a syscall and set with option SA_SIGINFO.
13029 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13031         [BZ #15531]
13032         * math/s_cproj.c (__cproj): Only return an infinity if one part of
13033         argument is infinite.
13034         * math/s_cprojf.c (__cprojf): Likewise.
13035         * math/s_cprojl.c (__cprojl): Likewise.
13036         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13037         * math/libm-test.inc (cproj_test_data): Add more tests.
13039         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13041         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13042         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13043         size.  Use __ffs to determine corresponding shift.
13045 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13046             Roland McGrath  <roland@hack.frob.com>
13048         * Makefile (INSTALL): Remove trailing blank lines from output of
13049         makeinfo.
13051 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13053         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13054         Align 32 bit compat elf_greg to 8 bytes.
13056 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13058         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13060 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13062         * string/strcoll_l.c (coll_seq): New structure.
13063         (get_next_seq_cached): New function.
13064         (get_next_seq): New function.
13065         (do_compare): New function.
13066         (STRCOLL): Use GNU style definition.  Simplify implementation
13067         by using get_next_seq, get_next_seq_cached and do_compare.
13069 2013-08-16  Florian Weimer  <fweimer@redhat.com>
13071         [BZ #14699]
13072         CVE-2013-4237
13073         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13074         member.
13075         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13076         member.
13077         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13078         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13079         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
13080         conditional.
13081         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13082         GETDENTS_64BIT_ALIGNED.
13083         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13084         * manual/filesys.texi (Reading/Closing Directory): Document
13085         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
13086         strongly.
13087         * manual/conf.texi (Limits for Files): Add portability note to
13088         NAME_MAX, PATH_MAX.
13089         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13091 2013-08-13  Andreas Schwab  <schwab@suse.de>
13093         [BZ #15749]
13094         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13095         of fabs.
13096         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13097         LDBL_MAX_EXP >= 16384]: Add tests for it.
13099 2013-08-12  David S. Miller  <davem@davemloft.net>
13101         * version.h (RELEASE): Set to "development".
13102         (VERSION): Set to "2.18.90".
13103         * NEWS: Add 2.19 section.
13105 2013-08-03  David S. Miller  <davem@davemloft.net>
13107         * po/ko.po: Update Korean translation from translation project.
13109 2013-08-01  David S. Miller  <davem@davemloft.net>
13111         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
13112         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13113         Bilka.
13115 2013-07-30  David S. Miller  <davem@davemloft.net>
13117         * po/fr.po: Update French translation from translation project.
13119 2013-07-28  David S. Miller  <davem@davemloft.net>
13121         * po/cs.po: Update Czech translation from translation project.
13123         * po/sv.po: Update Swedish translation from translation project.
13125 2013-07-27  David S. Miller  <davem@davemloft.net>
13127         * po/eo.po: Update Esperanto translation from translation project.
13129         * po/vi.po: Update Vietnamese translation from translation project.
13131         * po/de.po: Update German translation from translation project.
13133 2013-07-26  David S. Miller  <davem@davemloft.net>
13135         * po/bg.po: Update Bulgarian translation from translation project.
13137         * po/nl.po: Update Dutch translation from translation project.
13138         * po/pl.po: Update Polish translation from translation project.
13139         * po/ru.po: Update Russian translation from translation project.
13141 2013-07-24  David S. Miller  <davem@davemloft.net>
13143         * po/libc.pot: Update.
13145 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13147         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13148         variable page size.
13149         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13150         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13151         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13153 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13155         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13157 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13158             Andreas Schwab  <schwab@suse.de>
13159             Roland McGrath  <roland@hack.frob.com>
13160             Joseph Myers  <joseph@codesourcery.com>
13161             Carlos O'Donell  <carlos@redhat.com>
13163         [BZ #15755]
13164         * config.h.in: Define HAVE_PT_CHOWN.
13165         * config.make.in (build-pt-chown): New variable.
13166         * configure.in (--enable-pt_chown): New configure option.
13167         * configure: Regenerate.
13168         * login/Makefile: Include Makeconfig.  Build pt_chown only if
13169         build-pt-chown is enabled.
13170         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13171         pt_chown to fix pty ownership.
13172         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13173         CLOSE_ALL_FDS.
13174         * manual/install.texi (Configuring and compiling): Mention
13175         --enable-pt_chown. Add @findex for grantpt.
13176         * INSTALL: Regenerate.
13178 2013-07-20  David S. Miller  <davem@davemloft.net>
13180         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13181         difference between 32-bit and 64-bit.
13183 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
13185         [BZ #15711]
13186         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13187         Avoid system header dependency with -ffreestanding.
13188         ($(objpfx)bits/syscall%d): Likewise.
13190 2013-07-13  David S. Miller  <davem@davemloft.net>
13192         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13193         underflows from atanl/atan2l due to bug 15319.
13194         (casinh_test_data): Likewise.
13196 2013-07-07  David S. Miller  <davem@davemloft.net>
13198         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13200 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
13202         * sysdeps/i386/fpu/libm-test-ulps: Update.
13203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13205 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13207         * configure.in (--enable-lock-elision): Fix message text.
13208         * INSTALL: Regenerate.
13209         * configure: Regenerate.
13211 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13215 2013-07-03  Andreas Jaeger  <aj@suse.de>
13217         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13218         define.
13219         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13220         (ptrace_peeksiginfo_args): Add.
13221         (__ptrace_peeksiginfo_flags): Add.
13222         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13223         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13224         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13226 2013-07-03  Allan McRae  <allan@archlinux.org>
13228         * sysdeps/i386/fpu/libm-test-ulps: Update.
13230 2013-07-02  David S. Miller  <davem@davemloft.net>
13232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13234 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
13236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13238 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13240         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13243 2013-07-02  Andi Kleen <ak@linux.intel.com>
13245         * config.h.in (ENABLE_LOCK_ELISION): Add.
13246         * configure.in (--enable-lock-elision): Add option.
13247         * manual/install.texi: Document --enable lock elision.
13248         * configure: Regenerate
13249         * INSTALL: Regenerate.
13251 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13253         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13254         SSE4.2 strcasecmp for libc.a.
13255         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13257 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13259         [BZ #13304]
13260         * soft-fp/op-common.h (_FP_FMA): New macro.
13261         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13262         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
13263         (_FP_MUL_MEAT_1_imm): ... here.
13264         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
13265         (_FP_MUL_MEAT_1_wide): ... here.
13266         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
13267         (_FP_MUL_MEAT_1_hard): ... here.
13268         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13269         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
13270         (_FP_MUL_MEAT_2_wide): ... here.
13271         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
13272         (_FP_MUL_MEAT_2_wide_3mul): ... here.
13273         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
13274         (_FP_MUL_MEAT_2_gmp): ... here.
13275         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13276         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
13277         (_FP_MUL_MEAT_4_wide): ... here.
13278         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
13279         (_FP_MUL_MEAT_4_gmp): ... here.
13280         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13281         (_FP_WFRACBITS_DW_S): Likewise.
13282         (_FP_WFRACXBITS_DW_S): Likewise.
13283         (_FP_HIGHBIT_DW_S): Likewise.
13284         (FP_FMA_S): Likewise.
13285         (_FP_FRAC_HIGH_DW_S): Likewise.
13286         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13287         (_FP_WFRACBITS_DW_D): Likewise.
13288         (_FP_WFRACXBITS_DW_D): Likewise.
13289         (_FP_HIGHBIT_DW_D): Likewise.
13290         (FP_FMA_D): Likewise.
13291         (_FP_FRAC_HIGH_DW_D): Likewise.
13292         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13293         (_FP_WFRACBITS_DW_E): Likewise.
13294         (_FP_WFRACXBITS_DW_E): Likewise.
13295         (_FP_HIGHBIT_DW_E): Likewise.
13296         (FP_FMA_E): Likewise.
13297         (_FP_FRAC_HIGH_DW_E): Likewise.
13298         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13299         (_FP_WFRACBITS_DW_Q): Likewise.
13300         (_FP_WFRACXBITS_DW_Q): Likewise.
13301         (_FP_HIGHBIT_DW_Q): Likewise.
13302         (FP_FMA_Q): Likewise.
13303         (_FP_FRAC_HIGH_DW_Q): Likewise.
13304         * soft-fp/fmasf4.c: New file.
13305         * soft-fp/fmadf4.c: Likewise.
13306         * soft-fp/fmatf4.c: Likewise.
13308 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13310         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13311         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13312         Silvermont.
13313         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13314         macro.
13315         (index_Slow_SSE4_2): Likewise.
13316         (index_Prefer_PMINUB_for_stringop): Likewise.
13317         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13318         bit_Slow_SSE4_2 is set.
13319         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13320         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13322 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13324         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13325         rtld_global._dl_hwcap2.
13326         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13327         POWER8.
13328         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13329         POWER8 feature descriptions defined in _dl_hwcap2.
13330         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13331         string handling for POWER8 feature bits.
13332         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13333         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13334         _dl_powerpc_cap_flags.
13335         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13336         * sysdeps/powerpc/rtld-global-offsets.sym
13337         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13338         _dl_hwcap2 in the rtld_global_ro structure.
13340 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13342         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13343         hardware capabilities in support of AT_HWCAP2.
13344         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13345         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13346         GLRO(dl_hwcap2).
13347         (_dl_show_auxv): Add support for calling _dl_procinfo to display
13348         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
13349         explicitly the unknown a_type display mechanism is used.
13350         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13351         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13352         struct member.
13353         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13354         to macro prototype for AT_HWCAP2 support.
13355         * sysdeps/i386/dl-procinfo.h: Likewise.
13356         * sysdeps/s390/dl-procinfo.h: Likewise.
13357         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13358         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
13359         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
13360         return -1 for unknown a_type display fallback.
13361         * sysdeps/sparc/dl-procinfo.h: Likewise.
13362         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13363         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13365 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
13367         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13368         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13370 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
13372         [BZ #12492]
13373         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13374         mprotect making __stack_prot writable.
13376 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
13377             Joseph Myers  <joseph@codesourcery.com>
13379         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13380         as being properly aligned.
13382 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
13384         * dlfcn/modstatic5.c: New file.
13385         * dlfcn/tststatic5.c: New file.
13386         * dlfcn/Makefile (tests): Add tststatic5.
13387         (tests-static): Likewise.
13388         (modules-names): Add modstatic5.
13389         (tststatic5-ENV): New variable.
13390         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13392         [BZ #15022]
13393         * elf/dl-support.c (_dl_main_map): New variable.
13394         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13395         (_dl_nns, _dl_load_adds): Set to 1.
13396         (_dl_initial_searchlist): Refer to _dl_main_map.
13397         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13398         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13399         call to _dl_get_origin.
13400         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13401         around call_map.
13402         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13403         * dlfcn/modstatic3.c: New file.
13404         * dlfcn/tststatic3.c: New file.
13405         * dlfcn/tststatic4.c: New file.
13406         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13407         (tests-static): Likewise.
13408         (modules-names): Add modstatic3.
13409         (tststatic3-ENV, tststatic4-ENV): New variables.
13410         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13411         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13413 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
13415         * configure.in (CC): Require GCC version 4.4 or later.
13416         * configure: Regenerated.
13417         * manual/install.texi (Tools for Compilation): Update GCC version
13418         requirement.
13419         * INSTALL: Regenerated.
13421 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13423         [BZ #15674]
13424         * string/test-memcmp.c (check2): New.
13425         (main): Call check2.
13427         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13429 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
13431         [BZ #15022]
13432         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13433         over to...
13434         (dl_open_worker) [!SHARED]: ... here.
13436 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13438         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13440 2013-06-25  Richard Henderson  <rth@redhat.com>
13442         * locale/programs/locarchive.c: Include <libc-internal.h>
13444 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
13446         * manual/texinfo.tex: Update to version 2013-06-21.17, with
13447         trailing whitespace removed.
13449 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13451         [BZ #10283]
13452         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13453         * locale/programs/locarchive.c: Include libc-mmap.h.
13454         (prepare_address_space): Take two new outputs (the mmap base and len).
13455         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
13456         values.
13457         (create_archive): Declare new mmap base and len values for
13458         prepare_address_space, and store the result in ah.
13459         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13460         (enlarge_archive): If ah->mmap_base is not NULL, use that and
13461         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13462         Declare new mmap base and len values for
13463         prepare_address_space, and store the result in new_ah.
13464         (open_archive): Declare new mmap base and len values for
13465         prepare_address_space, and store the result in ah.
13466         (close_archive): If ah->mmap_base is not NULL, use that and
13467         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13468         * sysdeps/generic/libc-mmap.h: New file.
13470 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13472         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13473         (ALIGN_UP): Likewise.
13474         (PTR_ALIGN_DOWN): Likewise.
13475         (PTR_ALIGN_UP): Likewise.
13477 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13479         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13480         entry mapped to PPC_PLATFORM_POWER8.
13481         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13482         POWER8.
13483         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13484         (_dl_string_platform): Add case for exporting platform position for
13485         POWER8.
13486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13487         search path to sysdeps/powerpc/powerpc32/power8 directory.
13488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13489         search path to sysdeps/powerpc/powerpc64/power8 directory.
13490         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13491         power7 directories.
13492         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13493         power7 directories.
13495 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13497         * INSTALL: Regenerate.
13499         * nscd/connections.c (nscd_init): Fix comment.
13501 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
13503         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13505         [BZ #15667]
13506         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13507         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13509 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13511         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13512         DL_DST_REQ_STATIC.
13513         (DL_DST_REQ_STATIC): Remove macro.
13515 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
13517         [BZ #7006]
13518         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13519         with a shift of 0 bits.
13521 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13523         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13524         $(tststatic-ENV).
13526 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13528         [BZ #15655]
13529         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13531 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13533         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13534         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13535         accepts -fno-tree-loop-distribute-patterns.
13536         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13537         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13538         recursive call.
13539         * string/memset.c (memset): Likewise.
13540         * string/test-memmove.c (simple_memmove): Disable loop transformation
13541         to library calls.
13542         * string/test-memset.c (simple_memset): Likewise.
13543         * benchtests/bench-memmove.c (simple_memmove): Likewise.
13544         * benchtests/bench-memset.c (simple_memset): Likewise.
13545         * configure: Regenerated.
13547 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
13549         * math/test-misc.c (main): Ignore fesetround failure when failures
13550         of subsequent rounding tests would be ignored.
13552         [BZ #15654]
13553         * math/fedisblxcpt.c (fedisableexcept): Return 0.
13554         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13555         * math/fegetenv.c (__fegetenv): Return 0.
13556         * math/fegetexcept.c (fegetexcept): Return 0.
13557         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13558         FE_TONEAREST.
13559         * math/feholdexcpt.c (feholdexcept): Return 0.
13560         * math/fesetenv.c (__fesetenv): Return 0.
13561         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13562         argument FE_TONEAREST.
13563         * math/feupdateenv.c (__feupdateenv): Return 0.
13564         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13566 2013-06-18  Roland McGrath  <roland@hack.frob.com>
13568         * elf/rtld-Rules (rtld-compile-command.S): New variable.
13569         (rtld-compile-command.s, rtld-compile-command.c): New variables.
13570         ($(objpfx)rtld-%.os rules): Use them.
13572 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13574         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13575         fields.
13577 2013-06-17  Roland McGrath  <roland@hack.frob.com>
13579         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13580         length of target pattern, then descending length of dependency pattern.
13581         * configure.in (AWK): Require gawk 3.1.2 or newer.
13582         * manual/install.texi (Tools for Compilation): Say that we do.
13583         * configure: Regenerated.
13585         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13586         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13587         * scripts/sysd-rules.awk: ... this new script.
13588         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13589         than a glob-style pattern.
13591 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13593         * math/test-misc.c (main): Do not treat incorrectly rounded
13594         conversions as failure unless ROUNDING_TESTS passes.
13596 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13598         [BZ #15631]
13599         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13600         restore exception state around main square root computation, then
13601         check for inexactness explicitly.
13603         * math/libm-test.inc (fma_test_data): Add another test.
13605 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13607         * manual/threads.texi (Non-POSIX Extensions): New document
13608         node.  Document pthread_getattr_default_np and
13609         pthread_setattr_default_np.
13611         * Versions.def (libpthread): Add GLIBC_2.18.
13612         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13614         Likewise.
13615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13616         Likewise.
13617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13618         Likewise.
13619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13620         Likewise.
13621         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13622         Likewise.
13623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13624         Likewise.
13625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13626         Likewise.
13627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13628         Likewise.
13629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13630         Likewise.
13632 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13634         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13635         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13637 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13638             H.J. Lu  <hjl.tools@gmail.com>
13640         [BZ #15627]
13641         * sysdeps/x86_64/rtld-memset.c: Remove file.
13642         * sysdeps/x86_64/rtld-memset.S: New file.
13644 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13646         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13647         (test_in_one_mode): Take arguments for whether the rounding mode
13648         is supported for each floating-point type.
13649         (do_test): Pass new arguments to test_in_one_mode using
13650         ROUNDING_TESTS.
13652 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13654         * posix/tst-waitid.c (do_test): Distinguish different instances of
13655         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13656         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13657         before entering the kernel for waitpid.
13659 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13661         * NEWS: Fix note on clock function precision.  Text by Roland
13662         McGrath.
13664 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13666         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13667         it into place only when and if the sanity check passes.
13669 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13671         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13672         output for whether conversion result is exact.  Take argument
13673         indicating whether type is IBM long double.
13674         (round_for_all): Change need_exact field to ibm_ld.
13675         * stdlib/tst-strtod-round.c (struct exactness): New type.
13676         (struct test): Change bool ld_ok field to struct exactness exact.
13677         (TEST): Update all definitions for change to field.
13678         (tests): Regenerate array contents.
13679         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13680         field value.  Check for IBM long double here.
13681         (do_test): Update calls to test_in_one_mode.
13683 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13685         [BZ #12515]
13686         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13687         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13689 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13691         [BZ #15605]
13692         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13693         generated by the compiler on loop optimizations.
13694         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13695         general definitions.
13697 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13699         * math/bug-nextafter.c: Include <math-tests.h>.
13700         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13701         the relevant type.
13702         * math/bug-nexttoward.c: Include <math-tests.h>.
13703         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13704         the relevant type.
13705         * math/test-misc.c: Include <math-tests.h>.
13706         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13707         the relevant type.
13709 2013-06-12  Andreas Jaeger  <aj@suse.de>
13711         * po/ia.po: Update Interlingua translation from translation
13712         project.
13714 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13716         * include/fenv.h: Include stdbool.h.
13717         (struct rm_ctx): New structure.
13718         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13719         Define macro.
13720         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13721         (SET_RESTORE_ROUNDF): Likewise.
13722         (SET_RESTORE_ROUNDL): Likewise.
13723         (SET_RESTORE_ROUND_NOEX): Likewise.
13724         (SET_RESTORE_ROUND_NOEXF): Likewise.
13725         (SET_RESTORE_ROUND_NOEXL): Likewise.
13726         (SET_RESTORE_ROUND_53BIT): Likewise.
13727         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13728         (libc_feresetround_noexf_ctx): Likewise.
13729         (libc_feresetround_noexl_ctx): Likewise.
13730         (libc_feholdsetround_53bit_ctx): Likewise.
13731         (libc_feresetround_53bit_ctx): Likewise.
13732         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13733         (libc_feholdexcept_setround_sse_ctx): New function.
13734         (libc_fesetenv_sse_ctx): Likewise.
13735         (libc_feupdateenv_sse_ctx): Likewise.
13736         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13737         (libc_feholdexcept_setround_387_ctx): Likewise.
13738         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13739         (libc_feholdsetround_387_prec_ctx): Likewise.
13740         (libc_feholdsetround_387_ctx): Likewise.
13741         (libc_feholdsetround_387_53bit_ctx): Likewise.
13742         (libc_feholdsetround_sse_ctx): Likewise.
13743         (libc_feresetround_sse_ctx): Likewise.
13744         (libc_feresetround_387_ctx): Likewise.
13745         (libc_feupdateenv_387_ctx): Likewise.
13746         (libc_feholdexcept_setroundf_ctx): Define macro.
13747         (libc_fesetenvf_ctx): Likewise.
13748         (libc_feupdateenvf_ctx): Likewise.
13749         (libc_feholdsetroundf_ctx): Likewise.
13750         (libc_feresetroundf_ctx): Likewise.
13751         (libc_feholdexcept_setround_ctx): Likewise.
13752         (libc_fesetenv_ctx): Likewise.
13753         (libc_feupdateenv_ctx): Likewise.
13754         (libc_feholdsetround_ctx): Likewise.
13755         (libc_feresetround_ctx): Likewise.
13756         (libc_feholdexcept_setroundl_ctx): Likewise.
13757         (libc_feupdateenvl_ctx): Likewise.
13758         (libc_feholdsetroundl_ctx): Likewise.
13759         (libc_feresetroundl_ctx): Likewise.
13760         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13761         (libc_feresetround_53bit_ctx): Likewise.
13763 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13765         * locale/iso-639.def: Convert to UTF-8.
13767 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13769         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13770         (EXCEPTION_TESTS_double): Likewise.
13771         (EXCEPTION_TESTS_long_double): Likewise.
13772         (EXCEPTION_TESTS): Likewise.
13773         * math/libm-test.inc (test_exceptions): Only test exceptions if
13774         EXCEPTION_TESTS (FLOAT).
13776 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13778         * benchtests/Makefile (string-bench): Add strcpy_chk and
13779         stpcpy_chk.
13780         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13781         * benchtests/bench-stpcpy_chk.c: New file.
13782         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13783         * benchtests/bench-strcpy_chk.c: New file.
13784         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13785         code.
13786         (do_test): Likewise.
13788 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13790         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13791         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13792         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13793         with tabs where appropriate.
13794         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13795         dl-procinfo.h.
13796         [PPC_PLATFORM_PPC440]: Likewise.
13797         [PPC_PLATFORM_PPC464]: Likewise.
13798         [PPC_PLATFORM_PPC476]: Likewise.
13799         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13800         ppc464, and ppc476 platform strings merging from ports/
13801         dl-procinfo.h.
13803 2013-06-11  Andreas Schwab  <schwab@suse.de>
13805         [BZ #14991]
13806         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13807         (from_ucs4_idx): Regenerate.
13808         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13809         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13810         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13811         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13812         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13813         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13814         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13815         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13816         from FROM_LOOP and TO_LOOP specific macros.
13817         (BODY): Handle combining characters.
13818         * iconvdata/BIG5HKSCS.irreversible: Update.
13819         * iconvdata/BIG5HKSCS.precomposed: New file.
13820         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13821         characters.
13822         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13824 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13826         * include/sys/time.h: Fix indentation and add copyright header.
13828         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13829         (do_test): Likewise.
13830         * string/test-memchr.c (do_one_test): Likewise.
13831         (do_test): Likewise.
13832         * string/test-memcmp.c (do_one_test): Likewise.
13833         (do_test): Likewise.
13834         * string/test-memcpy.c (do_one_test): Likewise.
13835         (do_test): Likewise.
13836         * string/test-memmem.c (do_one_test): Likewise.
13837         (do_test): Likewise.
13838         (do_random_tests): Likewise.
13839         * string/test-memmove.c (do_one_test): Likewise.
13840         (do_test): Likewise.
13841         * string/test-memset.c (do_one_test): Likewise.
13842         (do_test): Likewise.
13843         * string/test-rawmemchr.c (do_one_test): Likewise.
13844         (do_test): Likewise.
13845         * string/test-strcasecmp.c (do_one_test): Likewise.
13846         (do_test): Likewise.
13847         * string/test-strcasestr.c (do_one_test): Likewise.
13848         (do_test): Likewise.
13849         * string/test-strcat.c (do_one_test): Likewise.
13850         (do_test): Likewise.
13851         * string/test-strchr.c (do_one_test): Likewise.
13852         (do_test): Likewise.
13853         * string/test-strcmp.c (do_one_test): Likewise.
13854         (do_test): Likewise.
13855         * string/test-strcpy.c (do_one_test): Likewise.
13856         (do_test): Likewise.
13857         * string/test-string.h: Likewise.
13858         (test_init): Likewise.
13859         * string/test-strlen.c (do_one_test): Likewise.
13860         (do_test): Likewise.
13861         * string/test-strncasecmp.c (do_one_test): Likewise.
13862         (do_test): Likewise.
13863         * string/test-strncat.c (do_one_test): Likewise.
13864         (do_test): Likewise.
13865         * string/test-strncmp.c (do_one_test): Likewise.
13866         (do_test_limit): Likewise.
13867         (do_test): Likewise.
13868         * string/test-strncpy.c (do_one_test): Likewise.
13869         (do_test): Likewise.
13870         * string/test-strnlen.c (do_one_test): Likewise.
13871         (do_test): Likewise.
13872         * string/test-strpbrk.c (do_one_test): Likewise.
13873         (do_test): Likewise.
13874         * string/test-strrchr.c (do_one_test): Likewise.
13875         (do_test): Likewise.
13876         * string/test-strspn.c (do_one_test): Likewise.
13877         (do_test): Likewise.
13878         * string/test-strstr.c (do_one_test): Likewise.
13879         (do_test): Likewise.
13881         * benchtests/Makefile (string-bench): Add string benchmarks.
13882         * benchtests/bench-bcopy-ifunc.c: New file.
13883         * benchtests/bench-bcopy.c: New file.
13884         * benchtests/bench-bzero-ifunc.c: New file.
13885         * benchtests/bench-bzero.c: New file.
13886         * benchtests/bench-memccpy-ifunc.c: New file.
13887         * benchtests/bench-memccpy.c: New file.
13888         * benchtests/bench-memchr-ifunc.c: New file.
13889         * benchtests/bench-memchr.c: New file.
13890         * benchtests/bench-memcmp-ifunc.c: New file.
13891         * benchtests/bench-memcmp.c: New file.
13892         * benchtests/bench-memmem-ifunc.c: New file.
13893         * benchtests/bench-memmem.c: New file.
13894         * benchtests/bench-memmove-ifunc.c: New file.
13895         * benchtests/bench-memmove.c: New file.
13896         * benchtests/bench-mempcpy-ifunc.c: New file.
13897         * benchtests/bench-mempcpy.c: New file.
13898         * benchtests/bench-memset-ifunc.c: New file.
13899         * benchtests/bench-memset.c: New file.
13900         * benchtests/bench-rawmemchr-ifunc.c: New file.
13901         * benchtests/bench-rawmemchr.c: New file.
13902         * benchtests/bench-stpcpy-ifunc.c: New file.
13903         * benchtests/bench-stpcpy.c: New file.
13904         * benchtests/bench-stpncpy-ifunc.c: New file.
13905         * benchtests/bench-stpncpy.c: New file.
13906         * benchtests/bench-strcasecmp-ifunc.c: New file.
13907         * benchtests/bench-strcasecmp.c: New file.
13908         * benchtests/bench-strcasestr-ifunc.c: New file.
13909         * benchtests/bench-strcasestr.c: New file.
13910         * benchtests/bench-strcat-ifunc.c: New file.
13911         * benchtests/bench-strcat.c: New file.
13912         * benchtests/bench-strchr-ifunc.c: New file.
13913         * benchtests/bench-strchr.c: New file.
13914         * benchtests/bench-strchrnul-ifunc.c: New file.
13915         * benchtests/bench-strchrnul.c: New file.
13916         * benchtests/bench-strcmp-ifunc.c: New file.
13917         * benchtests/bench-strcmp.c: New file.
13918         * benchtests/bench-strcpy-ifunc.c: New file.
13919         * benchtests/bench-strcpy.c: New file.
13920         * benchtests/bench-strcspn-ifunc.c: New file.
13921         * benchtests/bench-strcspn.c: New file.
13922         * benchtests/bench-strlen-ifunc.c: New file.
13923         * benchtests/bench-strlen.c: New file.
13924         * benchtests/bench-strncasecmp-ifunc.c: New file.
13925         * benchtests/bench-strncasecmp.c: New file.
13926         * benchtests/bench-strncat-ifunc.c: New file.
13927         * benchtests/bench-strncat.c: New file.
13928         * benchtests/bench-strncmp-ifunc.c: New file.
13929         * benchtests/bench-strncmp.c: New file.
13930         * benchtests/bench-strncpy-ifunc.c: New file.
13931         * benchtests/bench-strncpy.c: New file.
13932         * benchtests/bench-strnlen-ifunc.c: New file.
13933         * benchtests/bench-strnlen.c: New file.
13934         * benchtests/bench-strpbrk-ifunc.c: New file.
13935         * benchtests/bench-strpbrk.c: New file.
13936         * benchtests/bench-strrchr-ifunc.c: New file.
13937         * benchtests/bench-strrchr.c: New file.
13938         * benchtests/bench-strspn-ifunc.c: New file.
13939         * benchtests/bench-strspn.c: New file.
13940         * benchtests/bench-strstr-ifunc.c: New file.
13941         * benchtests/bench-strstr.c: New file.
13943         * benchtests/Makefile: Disable parallel execution of targets.
13944         (string-bench): Add memcpy.
13945         (benchset): New variable to store a list of benchmark sets.
13946         (bench-func): Renamed from bench.
13947         (bench-set): New target.
13948         (bench): Depend on bench-func and bench-set.
13949         * benchtests/README: Add section on benchmark sets.
13950         * benchtests/bench-memcpy-ifunc.c: New file.
13951         * benchtests/bench-memcpy.c: New file.
13952         * benchtests/bench-string.h: New file.
13954 2013-06-11  Andreas Schwab  <schwab@suse.de>
13956         [BZ #15577]
13957         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13958         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13959         values in the triple.
13960         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13961         terminator in the group key.
13963 2013-06-11  Andreas Jaeger  <aj@suse.de>
13965         * po/zh_TW.po: Update Chinese (traditional) translation from
13966         translation project.
13968 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13970         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13971         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13972         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13973         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13974         (clock_getcpuclockid): Likewise.
13975         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13976         Add weak_alias and libc_hidden_def.
13977         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13978         * rt/clock_gettime.c (clock_gettime): Rename to
13979         __clock_gettime.  Add weak_alias and libc_hidden_def.
13980         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13981         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13982         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13983         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13984         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13985         Likewise.
13986         * rt/clock_settime.c (clock_settime): Rename to
13987         __clock_settime.  Add weak_alias and libc_hidden_def.
13988         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13990 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13992         * mach/err_boot.sub: Remove trailing whitespace.
13993         * mach/err_ipc.sub: Likewise.
13994         * mach/err_mach.sub: Likewise.
13996         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13997         (ROUNDING_TESTS_double): Likewise.
13998         (ROUNDING_TESTS_long_double): Likewise.
13999         (ROUNDING_TESTS): Likewise.
14000         * math/libm-test.inc: Include <math-tests.h>.
14001         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14002         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14003         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14004         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14006 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14008         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14009         of assigning.
14011 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
14013         * sysdeps/gnu/errlist.awk: Do not generate space at end of
14014         otherwise empty TRANS lines.
14015         * sysdeps/gnu/errlist.c: Regenerated.
14017         * catgets/gencat.c (error_print): Use (void) in function
14018         definition.
14019         * crypt/crypt_util.c (__init_des): Likewise.
14020         * crypt/speeds.c (Stop): Likewise.
14021         (main): Likewise.
14022         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14023         * inet/ruserpass.c (token): Likewise.
14024         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14025         * intl/localealias.c (extend_alias_table): Likewise.
14026         * intl/plural-exp.c (init_germanic_plural): Likewise.
14027         * libio/fcloseall.c (__fcloseall): Likewise.
14028         * libio/genops.c (_IO_flush_all): Likewise.
14029         (_IO_flush_all_linebuffered): Likewise.
14030         (_IO_cleanup): Likewise.
14031         (_IO_iter_begin): Likewise.
14032         (_IO_iter_end): Likewise.
14033         (_IO_list_lock): Likewise.
14034         (_IO_list_unlock): Likewise.
14035         (_IO_list_resetlock): Likewise.
14036         * libio/getchar.c (getchar): Likewise.
14037         * libio/getchar_u.c (getchar_unlocked): Likewise.
14038         * libio/getwchar.c (getwchar): Likewise.
14039         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14040         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14041         * login/getpt.c (__getpt): Likewise.
14042         * login/tst-utmp.c (main): Likewise.
14043         * malloc/hooks.c (__malloc_check_init): Likewise.
14044         * malloc/malloc.c (__malloc_stats): Likewise.
14045         * malloc/mtrace.c (tr_break): Likewise.
14046         (mtrace): Likewise.
14047         (muntrace): Likewise.
14048         * misc/fstab.c (endfsent): Likewise.
14049         * misc/getclktck.c (__getclktck): Likewise.
14050         * misc/getdtsz.c (__getdtablesize): Likewise.
14051         * misc/gethostid.c (gethostid): Likewise.
14052         * misc/getpagesize.c (__getpagesize): Likewise.
14053         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14054         (__get_nprocs): Likewise.
14055         (__get_phys_pages): Likewise.
14056         (__get_avphys_pages): Likewise.
14057         * misc/getttyent.c (getttyent): Likewise.
14058         (setttyent): Likewise.
14059         (endttyent): Likewise.
14060         * misc/getusershell.c (getusershell): Likewise.
14061         (endusershell): Likewise.
14062         (setusershell): Likewise.
14063         (initshells): Likewise.
14064         * misc/hsearch.c (__hdestroy): Likewise.
14065         * misc/sync.c (sync): Likewise.
14066         * misc/syslog.c (closelog_internal): Likewise.
14067         (closelog): Likewise.
14068         * misc/ttyslot.c (ttyslot): Likewise.
14069         * misc/vhangup.c (vhangup): Likewise.
14070         * posix/fork.c (__fork): Likewise.
14071         * posix/getegid.c (__getegid): Likewise.
14072         * posix/geteuid.c (__geteuid): Likewise.
14073         * posix/getgid.c (__getgid): Likewise.
14074         * posix/getpid.c (__getpid): Likewise.
14075         * posix/getppid.c (__getppid): Likewise.
14076         * posix/getuid.c (__getuid): Likewise.
14077         * posix/pause.c (pause): Likewise.
14078         * posix/setpgrp.c (setpgrp): Likewise.
14079         * posix/setsid.c (__setsid): Likewise.
14080         * posix/test-vfork.c (noop): Likewise.
14081         * resolv/gethnamaddr.c (_endhtent): Likewise.
14082         (_gethtent): Likewise.
14083         (ht_endhostent): Likewise.
14084         (gethostent): Likewise.
14085         (dns_service): Likewise.
14086         * stdlib/drand48.c (drand48): Likewise.
14087         * stdlib/lrand48.c (lrand48): Likewise.
14088         * stdlib/mrand48.c (mrand48): Likewise.
14089         * stdlib/rand.c (rand): Likewise.
14090         * stdlib/random.c (__random): Likewise.
14091         * stdlib/setenv.c (clearenv): Likewise.
14092         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14093         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14094         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14095         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14096         (__get_nprocs): Likewise.
14097         (__get_phys_pages): Likewise.
14098         (__get_avphys_pages): Likewise.
14099         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14100         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14101         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14102         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14103         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14104         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14105         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14106         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14107         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14108         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14109         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14110         * sysdeps/mach/hurd/sync.c (sync): Likewise.
14111         * sysdeps/posix/clock.c (clock): Likewise.
14112         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14113         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14114         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14115         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14116         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14117         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14118         (__get_nprocs_conf): Likewise.
14119         (__get_phys_pages): Likewise.
14120         (__get_avphys_pages): Likewise.
14121         * time/clock.c (clock): Likewise.
14122         * time/tzset.c (__tzname_max): Likewise.
14124 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
14126         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14127         (__bswap_32): Do not use "register".
14128         * crypt/crypt.c (_ufc_doit_r): Likewise.
14129         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14130         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14131         * gmon/gmon.c (__monstartup): Likewise.
14132         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14133         * hurd/hurdmalloc.c (more_memory): Likewise.
14134         (malloc): Likewise.
14135         (free): Likewise.
14136         (realloc): Likewise.
14137         (malloc_fork_prepare): Likewise.
14138         (malloc_fork_parent): Likewise.
14139         (malloc_fork_child): Likewise.
14140         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14141         (_svcauth_des): Likewise.
14142         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14143         * inet/inet_net.c (inet_network): Likewise.
14144         * inet/inet_netof.c (inet_netof): Likewise.
14145         * inet/rcmd.c (__validuser2_sa): Likewise.
14146         * io/fts.c (fts_open): Likewise.
14147         (fts_load): Likewise.
14148         (fts_close): Likewise.
14149         (fts_read): Likewise.
14150         (fts_children): Likewise.
14151         (fts_build): Likewise.
14152         (fts_stat): Likewise.
14153         (fts_sort): Likewise.
14154         (fts_alloc): Likewise.
14155         (fts_lfree): Likewise.
14156         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14157         (_IO_file_xsgetn): Likewise.
14158         (_IO_file_xsgetn_mmap): Likewise.
14159         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14160         (_IO_cookie_write): Likewise.
14161         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14162         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14163         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14164         * malloc/obstack.c (_obstack_begin): Likewise.
14165         (_obstack_begin_1): Likewise.
14166         (_obstack_newchunk): Likewise.
14167         (_obstack_allocated_p): Likewise.
14168         (obstack_free): Likewise.
14169         (_obstack_memory_used): Likewise.
14170         * misc/getttyent.c (getttynam): Likewise.
14171         (getttyent): Likewise.
14172         (skip): Likewise.
14173         (value): Likewise.
14174         * misc/getusershell.c (initshells): Likewise.
14175         * misc/syslog.c (__vsyslog_chk): Likewise.
14176         * misc/ttyslot.c (ttyslot): Likewise.
14177         * nis/nis_hash.c (__nis_hash): Likewise.
14178         * posix/fnmatch_loop.c (FCT): Likewise.
14179         * posix/getconf.c (print_all): Likewise.
14180         (main): Likewise.
14181         * posix/getopt.c (exchange): Likewise.
14182         * posix/glob.c (globfree): Likewise.
14183         (prefix_array): Likewise.
14184         (__glob_pattern_type): Likewise.
14185         * resolv/arpa/nameser.h (NS_GET16): Likewise.
14186         (NS_GET32): Likewise.
14187         (NS_PUT16): Likewise.
14188         (NS_PUT32): Likewise.
14189         * resolv/gethnamaddr.c (getanswer): Likewise.
14190         (gethostbyname2): Likewise.
14191         (gethostbyaddr): Likewise.
14192         (_gethtent): Likewise.
14193         (_gethtbyname2): Likewise.
14194         (_gethtbyaddr): Likewise.
14195         * resolv/ns_print.c (dst_s_get_int16): Likewise.
14196         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14197         * resolv/res_init.c (__res_vinit): Likewise.
14198         (net_mask): Likewise.
14199         * resolv/res_mkquery.c (outchar): Likewise.
14200         (PRINT): Likewise.
14201         * stdio-common/printf_fp.c (outchar): Likewise.
14202         (PRINT): Likewise.
14203         * stdio-common/printf_fphex.c (outchar): Likewise.
14204         (PRINT): Likewise.
14205         * stdio-common/printf_size.c (outchar): Likewise.
14206         (PRINT): Likewise.
14207         * stdio-common/test_rdwr.c (main): Likewise.
14208         * stdio-common/tfformat.c (matches): Likewise.
14209         * stdio-common/vfprintf.c (outchar): Likewise.
14210         (printf_unknown): Likewise.
14211         (buffered_vfprintf): Likewise.
14212         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14213         * stdio-common/xbug.c (AppendToBuffer): Likewise.
14214         (ReadFile): Likewise.
14215         * stdlib/qsort.c (SWAP): Likewise.
14216         (_quicksort): Likewise.
14217         * stdlib/setenv.c (__add_to_environ): Likewise.
14218         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14219         * stdlib/strtol_l.c (__strtol_l): Likewise.
14220         * stdlib/tst-strtod.c (main): Likewise.
14221         * stdlib/tst-strtol.c (main): Likewise.
14222         * stdlib/tst-strtoll.c (main): Likewise.
14223         * string/bits/string2.h (__strcmp_cc): Likewise.
14224         (__strcmp_cg): Likewise.
14225         (__strcspn_c1): Likewise.
14226         (__strcspn_c2): Likewise.
14227         (__strcspn_c3): Likewise.
14228         (__strspn_c1): Likewise.
14229         (__strspn_c2): Likewise.
14230         (__strspn_c3): Likewise.
14231         (__strsep_1c): Likewise.
14232         (__strsep_2c): Likewise.
14233         (__strsep_3c): Likewise.
14234         * string/memccpy.c (__memccpy): Likewise.
14235         * string/stpcpy.c (__stpcpy): Likewise.
14236         * string/strcmp.c (strcmp): Likewise.
14237         * string/strrchr.c (strrchr): Likewise.
14238         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14239         Likewise.
14240         * sysdeps/mach/hurd/getcwd.c
14241         (_hurd_canonicalize_directory_name_internal): Likewise.
14242         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14243         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14244         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14245         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14246         Likewise, in both definitions.
14247         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14248         definitions.
14249         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14250         64] (__bswap_64): Likewise.
14251         * time/test_time.c (main): Likewise.
14252         * time/tzfile.c (__tzfile_read): Likewise.
14253         (__tzfile_compute): Likewise.
14254         * time/tzset.c (__tzset_parse_tz): Likewise.
14255         (tzset_internal): Likewise.
14256         (compute_change): Likewise.
14257         * wcsmbs/wcscat.c (__wcscat): Likewise.
14258         * wcsmbs/wcschr.c (wcschr): Likewise.
14259         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14260         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14261         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14262         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14263         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14264         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14265         * wcsmbs/wmemchr.c (wmemchr): Likewise.
14266         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14267         * wcsmbs/wmemset.c (wmemset): Likewise.
14269 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
14271         * scripts/config.guess: Update to version 2013-05-16.
14272         * scripts/config.sub: Update to version 2013-04-24.
14273         * scripts/install-sh: Update to version 2011-11-20.07.
14274         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14275         * scripts/move-if-change: Update to version 2012-01-06 07:23.
14277 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
14279         * debug/fgetws_u_chk.c: Fix leading whitespaces.
14280         * elf/sln.c: Likewise.
14281         * hurd/hurd/ioctl.h: Likewise.
14282         * hurd/hurdmalloc.c: Likewise.
14283         * hurd/xattr.c: Likewise.
14284         * include/shlib-compat.h: Likewise.
14285         * inet/ruserpass.c: Likewise.
14286         * libio/iofgets_u.c: Likewise.
14287         * libio/iofgetws_u.c: Likewise.
14288         * locale/programs/ld-identification.c: Likewise.
14289         * locale/programs/ld-time.c: Likewise.
14290         * mach/msg-destroy.c: Likewise.
14291         * nss/nss_files/files-netgrp.c: Likewise.
14292         * resolv/res_data.c: Likewise.
14293         * soft-fp/op-1.h: Likewise.
14294         * soft-fp/op-2.h: Likewise.
14295         * soft-fp/op-4.h: Likewise.
14296         * soft-fp/op-common.h: Likewise.
14297         * stdio-common/printf_fphex.c: Likewise.
14298         * stdlib/strtod_l.c: Likewise.
14299         * sunrpc/rpc/clnt.h: Likewise.
14300         * sysdeps/generic/framestate.c: Likewise.
14301         * sysdeps/i386/bsd-_setjmp.S: Likewise.
14302         * sysdeps/i386/bsd-setjmp.S: Likewise.
14303         * sysdeps/i386/__longjmp.S: Likewise.
14304         * sysdeps/i386/setjmp.S: Likewise.
14305         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14306         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14307         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14308         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14309         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14310         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14311         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14312         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14313         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14314         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14315         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14316         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14317         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14318         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14319         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14320         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14321         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14322         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14323         * sysdeps/ieee754/support.c: Likewise.
14324         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14325         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14326         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14327         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14328         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14329         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14330         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14331         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14332         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14333         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14334         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14335         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14336         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14337         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14338         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14339         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14340         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14343 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
14345         * posix/transbug.c: Remove executable mode.
14347 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
14349         * crypt/speeds.c: Remove trailing whitespace.
14350         * dlfcn/default.c: Likewise.
14351         * elf/ifuncdep2.c: Likewise.
14352         * elf/ifuncmain1.c: Likewise.
14353         * elf/ifuncmain1vis.c: Likewise.
14354         * elf/testobj.h: Likewise.
14355         * elf/tst-stackguard1.c: Likewise.
14356         * gmon/sys/gmon.h: Likewise.
14357         * hurd/hurdmsg.c: Likewise.
14358         * hurd/new-fd.c: Likewise.
14359         * hurd/ports-get.c: Likewise.
14360         * iconvdata/ibm1008_420.c: Likewise.
14361         * inet/tst-getni1.c: Likewise.
14362         * inet/tst-getni2.c: Likewise.
14363         * libio/ioungetc.c: Likewise.
14364         * libio/wfiledoalloc.c: Likewise.
14365         * manual/libm-err-tab.pl: Likewise.
14366         * math/w_dremf.c: Likewise.
14367         * misc/ftruncate.c: Likewise.
14368         * posix/bug-glob2.c: Likewise.
14369         * posix/tst-pcre.c: Likewise.
14370         * posix/wait4.c: Likewise.
14371         * resolv/README: Likewise.
14372         * resolv/res_debug.h: Likewise.
14373         * resolv/tst-inet_ntop.c: Likewise.
14374         * setjmp/bug269-setjmp.c: Likewise.
14375         * soft-fp/extended.h: Likewise.
14376         * soft-fp/op-1.h: Likewise.
14377         * soft-fp/op-2.h: Likewise.
14378         * soft-fp/op-4.h: Likewise.
14379         * soft-fp/op-8.h: Likewise.
14380         * soft-fp/testit.c: Likewise.
14381         * stdio-common/bug16.c: Likewise.
14382         * stdlib/random.c: Likewise.
14383         * sunrpc/rpcsvc/rquota.x: Likewise.
14384         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14385         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14386         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14387         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14388         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14389         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14390         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14391         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14392         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14393         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14394         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14395         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14396         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14397         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14398         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14399         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14400         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14401         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14402         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14403         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14404         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14405         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14406         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14407         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14408         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14409         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14410         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14412         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14413         * sysdeps/ieee754/s_lib_version.c: Likewise.
14414         * sysdeps/mach/hurd/check_fds.c: Likewise.
14415         * sysdeps/mach/hurd/getsockname.c: Likewise.
14416         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14417         * sysdeps/mach/hurd/recvfrom.c: Likewise.
14418         * sysdeps/powerpc/bits/link.h: Likewise.
14419         * sysdeps/powerpc/dl-procinfo.c: Likewise.
14420         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14421         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14422         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14423         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14424         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14425         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14426         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14427         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14428         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14429         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14430         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14431         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14432         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14433         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14434         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14435         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14436         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14437         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14438         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14439         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14440         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14441         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14442         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14443         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14444         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14445         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14446         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14447         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14448         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14449         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14450         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14451         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14452         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14453         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14454         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14455         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14456         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14457         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14458         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14459         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14460         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14461         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14462         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14463         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14464         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14465         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14466         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14467         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14468         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14469         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14470         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14471         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14472         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14473         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14474         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14475         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14476         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14477         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14478         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14479         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14480         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14481         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14482         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14483         * sysdeps/powerpc/sysdep.h: Likewise.
14484         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14485         * sysdeps/s390/s390-64/sub_n.S: Likewise.
14486         * sysdeps/sh/dl-trampoline.S: Likewise.
14487         * sysdeps/sh/memset.S: Likewise.
14488         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14489         * sysdeps/sh/strlen.S: Likewise.
14490         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14491         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14492         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14493         * sysdeps/sparc/sparc32/rem.S: Likewise.
14494         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14495         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14496         * sysdeps/sparc/sparc32/strchr.S: Likewise.
14497         * sysdeps/sparc/sparc32/udiv.S: Likewise.
14498         * sysdeps/sparc/sparc32/urem.S: Likewise.
14499         * sysdeps/sparc/sparc64/add_n.S: Likewise.
14500         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14501         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14502         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14503         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14504         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14505         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14506         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14507         * sysdeps/unix/bsd/times.c: Likewise.
14508         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14509         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14513         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14514         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14515         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14516         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14517         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14518         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14519         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14520         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14521         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14522         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14523         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14524         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14525         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14526         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14527         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14528         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14529         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14530         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14531         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14532         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14533         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14534         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14535         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14536         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14537         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14538         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14539         * sysdeps/x86_64/strcspn.S: Likewise.
14541 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14543         * locale/C-translit.h: Revert #include <stdint.h> because this is a
14544         generated file.  Regenerate properly from gen-translit.pl.
14545         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
14546         locale/C-translit.h.
14548 2013-06-05  Andreas Schwab  <schwab@suse.de>
14550         [BZ #15100]
14551         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14552         week as 6 instead of -1.
14553         * time/tst-strptime.c (day_tests): Add test case.
14555 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14557         * sysdeps/generic/math_private.h
14558         (libc_feholdexcept_setround_53bit): Replace with
14559         libc_feholdsetround_53bit.
14560         (libc_feupdateenv_53bit): Replace with
14561         libc_feresetround_53bit.
14562         (SET_RESTORE_ROUND_53BIT): Adjust.
14564 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14566         * string/test-strchrnul.c: Add copyright header.
14568         * posix/tst-getaddrinfo4.c: Increase test timeout.
14570 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
14572         [BZ #15536]
14573         * math/libm-test.inc (MAX_EXP): Remove
14574         (MIN_EXP): Define.
14575         (ulp): Use MIN_EXP - MANT_DIG.
14576         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14578 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
14580         * po/be.po: Revert last change.
14581         * po/zh_CN.po: Likewise.
14582         * po/header.pot: Likewise.
14584 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14586         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14587         link-libc-deps to empty as target-specific variable.
14588         * Makerules (link-libc-args): New variable.
14589         (libc-for-link): Likewise.
14590         (link-libc-deps): Likewise.
14591         (lib%.so): Depend on $(link-libc-deps).  Link with
14592         $(link-libc-args).
14593         (build-module): Link with $(link-libc-args).
14594         (build-module-asneeded): Likewise.
14595         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14596         list of objects.
14597         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14598         target-specific variable.
14599         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14600         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14601         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14602         libc.
14603         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14604         libc and ld.so.
14605         ($(objpfx)libpcprofile.so): Likewise.
14606         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14607         libc_nonshared.a.
14608         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14609         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14610         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14611         $(link-libc-deps).
14612         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14613         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14614         * login/Makefile ($(objpfx)libutil.so): Likewise.
14615         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14616         * math/Makefile ($(objpfx)libm.so): Likewise.
14617         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14618         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14619         variable instead of depending directly on libc.
14620         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14621         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14622         $(link-libc-deps).
14623         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14624         libc.
14625         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14626         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14627         ($(objpfx)libanl.so): Likewise.
14628         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14629         ld.so.
14630         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14631         $(link-libc-deps).
14632         * sysdeps/i386/fpu/Makefile: Remove file.
14633         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14634         ($(objpfx)libm.so): Remove dependency on ld.so.
14636 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14638         [BZ # 15553]
14639         * nis/yp_xdr.c (XDRMAXNAME): Define.
14640         (XDRMAXRECORD): Define.
14641         (xdr_domainname): Use XDRMAXNAME.
14642         (xdr_mapname): Likewise.
14643         (xdr_peername): Likewise.
14644         (xdr_keydat): Use XDRMAXRECORD.
14645         (xdr_valdat): Likewise.
14647 2013-05-30  Jeff Law  <law@redhat.com>
14649         [BZ #14256]
14650         * manual/errno.texi (ESTALE): Update to account for more than
14651         just NFS file systems.
14652         * sysdeps/gnu/errlist.c: Regenerated.
14654 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14656         [BZ #15465]
14657         * elf/Makefile (tests): Add tst-null-argv.
14658         (modules-names):  Add tst-null-argv-lib.
14659         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14660         (tst-null-argv-ENV): Set environment for tst-null-argv.
14661         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14662         (RTLD_PROGNAME): New macro.
14663         * elf/tst-null-argv.c: New test case.
14664         * elf/tst-null-argv-lib.c: Library for test case.
14665         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14666         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14667         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14668         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14669         * elf/dl-init.c (call_init): Likewise.
14670         (_dl_init): Likewise.
14671         * elf/dl-load.c (print_search_path): Likewise.
14672         (_dl_map_object): Likewise.
14673         * elf/dl-lookup.c (do_lookup_x): Likewise.
14674         (add_dependency): Likewise.
14675         (_dl_lookup_symbol_x): Likewise.
14676         (_dl_debug_bindings): Likewise.
14677         * elf/dl-open.c (_dl_show_scope): Likewise.
14678         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14679         * elf/dl-version.c (match_symbol): Likewise.
14680         (_dl_check_map_versions): Likewise.
14681         * elf/rtld.c (dl_main): Likewise.
14682         (print_unresolved): Use RTLD_PROGNAME.
14683         (print_missing_version): Likewise.
14684         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14685         (elf_machine_rela): Likewise.
14686         * sysdeps/powerpc/powerpc32/dl-machine.c
14687         (__process_machine_rela): Likewise.
14688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14689         Likewise.
14690         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14691         Likewise.
14692         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14693         Likewise.
14694         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14695         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14696         Likewise.
14697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14698         Likewise.
14699         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14701 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14703         * po/be.po: Add descriptive title.
14704         * po/zh_CN.po: Likewise.
14705         * po/header.pot: Likewise.
14707 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14709         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14710         error message.
14711         (enlarge_archive): Likewise.
14713 2013-05-28  Ben North  <ben@redfrontdoor.org>
14715         * manual/arith.texi (frexp): It is the magnitude of the return
14716         value which lies in [0.5, 1), not the return value itself.
14718 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14722 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14724         * stdio-common/bug26.c (main): Correct fscanf template.
14726         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14727         declare _dl_skip_args.
14729         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14730         Don't declare.
14732         * manual/platform.texi: Add missing @end deftypefun.
14734 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14736         [BZ #15529]
14737         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14738         bit of mantissa of 2^16382.
14739         * math/libm-test.inc (hypot_test_data): Add more tests.
14741         * math/libm-test.inc: Add drem and pow10 to list of tested
14742         functions.
14743         (pow10_test): New function.
14744         (drem_test): Likewise.
14745         (drem_test_tonearest): Likewise.
14746         (drem_test_towardzero): Likewise.
14747         (drem_test_downward): Likewise.
14748         (drem_test_upward): Likewise.
14749         (main): Call the new functions.
14751         * math/libm-test.inc (finite_test_data): Remove.
14752         (finite_test): Run tests from isfinite_test_data.
14753         (gamma_test_data): Remove.
14754         (gamma_test): Run tests from lgamma_test_data.
14755         * sysdeps/i386/fpu/libm-test-ulps: Update.
14756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14758 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14760         * manual/platform.texi: Add PowerPC PPR function set documentation.
14761         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14762         implementation.
14764 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14766         * math/libm-test.inc (MAX_EXP): Define.
14767         (ULPDIFF): Define.
14768         (ulp): New function.
14769         (check_float_internal): Use ULPDIFF.
14770         (cpow_test): Disable failing test.
14771         (check_ulp): Test ulp() implemetnation.
14772         (main): Call check_ulp before starting tests.
14774 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14776         * math/gen-libm-test.pl (generate_testfile): Do not handle
14777         START_DATA and END_DATA.
14778         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14779         END_DATA.
14780         (acos_tonearest_test_data): Likewise.
14781         (acos_towardzero_test_data): Likewise.
14782         (acos_downward_test_data): Likewise.
14783         (acos_upward_test_data): Likewise.
14784         (acosh_test_data): Likewise.
14785         (asin_test_data): Likewise.
14786         (asin_tonearest_test_data): Likewise.
14787         (asin_towardzero_test_data): Likewise.
14788         (asin_downward_test_data): Likewise.
14789         (asin_upward_test_data): Likewise.
14790         (asinh_test_data): Likewise.
14791         (atan_test_data): Likewise.
14792         (atanh_test_data): Likewise.
14793         (atan2_test_data): Likewise.
14794         (cabs_test_data): Likewise.
14795         (cacos_test_data): Likewise.
14796         (cacosh_test_data): Likewise.
14797         (carg_test_data): Likewise.
14798         (casin_test_data): Likewise.
14799         (casinh_test_data): Likewise.
14800         (catan_test_data): Likewise.
14801         (catanh_test_data): Likewise.
14802         (cbrt_test_data): Likewise.
14803         (ccos_test_data): Likewise.
14804         (ccosh_test_data): Likewise.
14805         (ceil_test_data): Likewise.
14806         (cexp_test_data): Likewise.
14807         (cimag_test_data): Likewise.
14808         (clog_test_data): Likewise.
14809         (clog10_test_data): Likewise.
14810         (conj_test_data): Likewise.
14811         (copysign_test_data): Likewise.
14812         (cos_test_data): Likewise.
14813         (cos_tonearest_test_data): Likewise.
14814         (cos_towardzero_test_data): Likewise.
14815         (cos_downward_test_data): Likewise.
14816         (cos_upward_test_data): Likewise.
14817         (cosh_test_data): Likewise.
14818         (cosh_tonearest_test_data): Likewise.
14819         (cosh_towardzero_test_data): Likewise.
14820         (cosh_downward_test_data): Likewise.
14821         (cosh_upward_test_data): Likewise.
14822         (cpow_test_data): Likewise.
14823         (cproj_test_data): Likewise.
14824         (creal_test_data): Likewise.
14825         (csin_test_data): Likewise.
14826         (csinh_test_data): Likewise.
14827         (csqrt_test_data): Likewise.
14828         (ctan_test_data): Likewise.
14829         (ctan_tonearest_test_data): Likewise.
14830         (ctan_towardzero_test_data): Likewise.
14831         (ctan_downward_test_data): Likewise.
14832         (ctan_upward_test_data): Likewise.
14833         (ctanh_test_data): Likewise.
14834         (ctanh_tonearest_test_data): Likewise.
14835         (ctanh_towardzero_test_data): Likewise.
14836         (ctanh_downward_test_data): Likewise.
14837         (ctanh_upward_test_data): Likewise.
14838         (erf_test_data): Likewise.
14839         (erfc_test_data): Likewise.
14840         (exp_test_data): Likewise.
14841         (exp_tonearest_test_data): Likewise.
14842         (exp_towardzero_test_data): Likewise.
14843         (exp_downward_test_data): Likewise.
14844         (exp_upward_test_data): Likewise.
14845         (exp10_test_data): Likewise.
14846         (exp2_test_data): Likewise.
14847         (expm1_test_data): Likewise.
14848         (fabs_test_data): Likewise.
14849         (fdim_test_data): Likewise.
14850         (finite_test_data): Likewise.
14851         (floor_test_data): Likewise.
14852         (fma_test_data): Likewise.
14853         (fma_towardzero_test_data): Likewise.
14854         (fma_downward_test_data): Likewise.
14855         (fma_upward_test_data): Likewise.
14856         (fmax_test_data): Likewise.
14857         (fmin_test_data): Likewise.
14858         (fmod_test_data): Likewise.
14859         (fpclassify_test_data): Likewise.
14860         (frexp_test_data): Likewise.
14861         (gamma_test_data): Likewise.
14862         (hypot_test_data): Likewise.
14863         (ilogb_test_data): Likewise.
14864         (isfinite_test_data): Likewise.
14865         (isgreater_test_data): Likewise.
14866         (isgreaterequal_test_data): Likewise.
14867         (isinf_test_data): Likewise.
14868         (isless_test_data): Likewise.
14869         (islessequal_test_data): Likewise.
14870         (islessgreater_test_data): Likewise.
14871         (isnan_test_data): Likewise.
14872         (isnormal_test_data): Likewise.
14873         (issignaling_test_data): Likewise.
14874         (isunordered_test_data): Likewise.
14875         (j0_test_data): Likewise.
14876         (j1_test_data): Likewise.
14877         (jn_test_data): Likewise.
14878         (ldexp_test_data): Likewise.
14879         (lgamma_test_data): Likewise.
14880         (lrint_test_data): Likewise.
14881         (lrint_tonearest_test_data): Likewise.
14882         (lrint_towardzero_test_data): Likewise.
14883         (lrint_downward_test_data): Likewise.
14884         (lrint_upward_test_data): Likewise.
14885         (llrint_test_data): Likewise.
14886         (llrint_tonearest_test_data): Likewise.
14887         (llrint_towardzero_test_data): Likewise.
14888         (llrint_downward_test_data): Likewise.
14889         (llrint_upward_test_data): Likewise.
14890         (log_test_data): Likewise.
14891         (log10_test_data): Likewise.
14892         (log1p_test_data): Likewise.
14893         (log2_test_data): Likewise.
14894         (logb_test_data): Likewise.
14895         (logb_downward_test_data): Likewise.
14896         (lround_test_data): Likewise.
14897         (llround_test_data): Likewise.
14898         (modf_test_data): Likewise.
14899         (nearbyint_test_data): Likewise.
14900         (nextafter_test_data): Likewise.
14901         (nexttoward_test_data): Likewise.
14902         (pow_test_data): Likewise.
14903         (pow_tonearest_test_data): Likewise.
14904         (pow_towardzero_test_data): Likewise.
14905         (pow_downward_test_data): Likewise.
14906         (pow_upward_test_data): Likewise.
14907         (remainder_test_data): Likewise.
14908         (remainder_tonearest_test_data): Likewise.
14909         (remainder_towardzero_test_data): Likewise.
14910         (remainder_downward_test_data): Likewise.
14911         (remainder_upward_test_data): Likewise.
14912         (remquo_test_data): Likewise.
14913         (rint_test_data): Likewise.
14914         (rint_tonearest_test_data): Likewise.
14915         (rint_towardzero_test_data): Likewise.
14916         (rint_downward_test_data): Likewise.
14917         (rint_upward_test_data): Likewise.
14918         (round_test_data): Likewise.
14919         (scalb_test_data): Likewise.
14920         (scalbn_test_data): Likewise.
14921         (scalbln_test_data): Likewise.
14922         (signbit_test_data): Likewise.
14923         (sin_test_data): Likewise.
14924         (sin_tonearest_test_data): Likewise.
14925         (sin_towardzero_test_data): Likewise.
14926         (sin_downward_test_data): Likewise.
14927         (sin_upward_test_data): Likewise.
14928         (sincos_test_data): Likewise.
14929         (sinh_test_data): Likewise.
14930         (sinh_tonearest_test_data): Likewise.
14931         (sinh_towardzero_test_data): Likewise.
14932         (sinh_downward_test_data): Likewise.
14933         (sinh_upward_test_data): Likewise.
14934         (sqrt_test_data): Likewise.
14935         (tan_test_data): Likewise.
14936         (tan_tonearest_test_data): Likewise.
14937         (tan_towardzero_test_data): Likewise.
14938         (tan_downward_test_data): Likewise.
14939         (tan_upward_test_data): Likewise.
14940         (tanh_test_data): Likewise.
14941         (tgamma_test_data): Likewise.
14942         (trunc_test_data): Likewise.
14943         (y0_test_data): Likewise.
14944         (y1_test_data): Likewise.
14945         (yn_test_data): Likewise.
14946         (significand_test_data): Likewise.
14948         * math/gen-libm-test.pl (@functions): Remove variable.
14949         (generate_testfile): Don't handle START and END lines.
14950         * math/libm-test.inc (START): New macro.
14951         (END): Likewise.
14952         (END_COMPLEX): Likewise.
14953         (acos_test): Use END macro without arguments.
14954         (acos_test_tonearest): Likewise.
14955         (acos_test_towardzero): Likewise.
14956         (acos_test_downward): Likewise.
14957         (acos_test_upward): Likewise.
14958         (acosh_test): Likewise.
14959         (asin_test): Likewise.
14960         (asin_test_tonearest): Likewise.
14961         (asin_test_towardzero): Likewise.
14962         (asin_test_downward): Likewise.
14963         (asin_test_upward): Likewise.
14964         (asinh_test): Likewise.
14965         (atan_test): Likewise.
14966         (atanh_test): Likewise.
14967         (atan2_test): Likewise.
14968         (cabs_test): Likewise.
14969         (cacos_test): Use END_COMPLEX macro without arguments.
14970         (cacosh_test): Likewise.
14971         (carg_test): Use END macro without arguments.
14972         (casin_test): Use END_COMPLEX macro without arguments.
14973         (casinh_test): Likewise.
14974         (catan_test): Likewise.
14975         (catanh_test): Likewise.
14976         (cbrt_test): Use END macro without arguments.
14977         (ccos_test): Use END_COMPLEX macro without arguments.
14978         (ccosh_test): Likewise.
14979         (ceil_test): Use END macro without arguments.
14980         (cexp_test): Use END_COMPLEX macro without arguments.
14981         (cimag_test): Use END macro without arguments.
14982         (clog_test): Use END_COMPLEX macro without arguments.
14983         (clog10_test): Likewise.
14984         (conj_test): Likewise.
14985         (copysign_test): Use END macro without arguments.
14986         (cos_test): Likewise.
14987         (cos_test_tonearest): Likewise.
14988         (cos_test_towardzero): Likewise.
14989         (cos_test_downward): Likewise.
14990         (cos_test_upward): Likewise.
14991         (cosh_test): Likewise.
14992         (cosh_test_tonearest): Likewise.
14993         (cosh_test_towardzero): Likewise.
14994         (cosh_test_downward): Likewise.
14995         (cosh_test_upward): Likewise.
14996         (cpow_test): Use END_COMPLEX macro without arguments.
14997         (cproj_test): Likewise.
14998         (creal_test): Use END macro without arguments.
14999         (csin_test): Use END_COMPLEX macro without arguments.
15000         (csinh_test): Likewise.
15001         (csqrt_test): Likewise.
15002         (ctan_test): Likewise.
15003         (ctan_test_tonearest): Likewise.
15004         (ctan_test_towardzero): Likewise.
15005         (ctan_test_downward): Likewise.
15006         (ctan_test_upward): Likewise.
15007         (ctanh_test): Likewise.
15008         (ctanh_test_tonearest): Likewise.
15009         (ctanh_test_towardzero): Likewise.
15010         (ctanh_test_downward): Likewise.
15011         (ctanh_test_upward): Likewise.
15012         (erf_test): Use END macro without arguments.
15013         (erfc_test): Likewise.
15014         (exp_test): Likewise.
15015         (exp_test_tonearest): Likewise.
15016         (exp_test_towardzero): Likewise.
15017         (exp_test_downward): Likewise.
15018         (exp_test_upward): Likewise.
15019         (exp10_test): Likewise.
15020         (exp2_test): Likewise.
15021         (expm1_test): Likewise.
15022         (fabs_test): Likewise.
15023         (fdim_test): Likewise.
15024         (finite_test): Likewise.
15025         (floor_test): Likewise.
15026         (fma_test): Likewise.
15027         (fma_test_towardzero): Likewise.
15028         (fma_test_downward): Likewise.
15029         (fma_test_upward): Likewise.
15030         (fmax_test): Likewise.
15031         (fmin_test): Likewise.
15032         (fmod_test): Likewise.
15033         (fpclassify_test): Likewise.
15034         (frexp_test): Likewise.
15035         (gamma_test): Likewise.
15036         (hypot_test): Likewise.
15037         (ilogb_test): Likewise.
15038         (isfinite_test): Likewise.
15039         (isgreater_test): Likewise.
15040         (isgreaterequal_test): Likewise.
15041         (isinf_test): Likewise.
15042         (isless_test): Likewise.
15043         (islessequal_test): Likewise.
15044         (islessgreater_test): Likewise.
15045         (isnan_test): Likewise.
15046         (isnormal_test): Likewise.
15047         (issignaling_test): Likewise.
15048         (isunordered_test): Likewise.
15049         (j0_test): Likewise.
15050         (j1_test): Likewise.
15051         (jn_test): Likewise.
15052         (ldexp_test): Likewise.
15053         (lgamma_test): Likewise.
15054         (lrint_test): Likewise.
15055         (lrint_test_tonearest): Likewise.
15056         (lrint_test_towardzero): Likewise.
15057         (lrint_test_downward): Likewise.
15058         (lrint_test_upward): Likewise.
15059         (llrint_test): Likewise.
15060         (llrint_test_tonearest): Likewise.
15061         (llrint_test_towardzero): Likewise.
15062         (llrint_test_downward): Likewise.
15063         (llrint_test_upward): Likewise.
15064         (log_test): Likewise.
15065         (log10_test): Likewise.
15066         (log1p_test): Likewise.
15067         (log2_test): Likewise.
15068         (logb_test): Likewise.
15069         (logb_test_downward): Likewise.
15070         (lround_test): Likewise.
15071         (llround_test): Likewise.
15072         (modf_test): Likewise.
15073         (nearbyint_test): Likewise.
15074         (nextafter_test): Likewise.
15075         (nexttoward_test): Likewise.
15076         (pow_test): Likewise.
15077         (pow_test_tonearest): Likewise.
15078         (pow_test_towardzero): Likewise.
15079         (pow_test_downward): Likewise.
15080         (pow_test_upward): Likewise.
15081         (remainder_test): Likewise.
15082         (remainder_test_tonearest): Likewise.
15083         (remainder_test_towardzero): Likewise.
15084         (remainder_test_downward): Likewise.
15085         (remainder_test_upward): Likewise.
15086         (remquo_test): Likewise.
15087         (rint_test): Likewise.
15088         (rint_test_tonearest): Likewise.
15089         (rint_test_towardzero): Likewise.
15090         (rint_test_downward): Likewise.
15091         (rint_test_upward): Likewise.
15092         (round_test): Likewise.
15093         (scalb_test): Likewise.
15094         (scalbn_test): Likewise.
15095         (scalbln_test): Likewise.
15096         (signbit_test): Likewise.
15097         (sin_test): Likewise.
15098         (sin_test_tonearest): Likewise.
15099         (sin_test_towardzero): Likewise.
15100         (sin_test_downward): Likewise.
15101         (sin_test_upward): Likewise.
15102         (sincos_test): Likewise.
15103         (sinh_test): Likewise.
15104         (sinh_test_tonearest): Likewise.
15105         (sinh_test_towardzero): Likewise.
15106         (sinh_test_downward): Likewise.
15107         (sinh_test_upward): Likewise.
15108         (sqrt_test): Likewise.
15109         (tan_test): Likewise.
15110         (tan_test_tonearest): Likewise.
15111         (tan_test_towardzero): Likewise.
15112         (tan_test_downward): Likewise.
15113         (tan_test_upward): Likewise.
15114         (tanh_test): Likewise.
15115         (tgamma_test): Likewise.
15116         (trunc_test): Likewise.
15117         (y0_test): Likewise.
15118         (y1_test): Likewise.
15119         (yn_test): Likewise.
15120         (significand_test): Likewise.
15122 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
15124         [BZ #15381]
15125         * libio/genops.c (_IO_no_init): Initialize wide struct info.
15127 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15129         [BZ #14894]
15130         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15131         __ppc_mdoio and __ppc_mdoom.
15132         * manual/platform.texi: Document new functions __ppc_yield,
15133         __ppc_mdoio and __ppc_mdoom.
15135 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
15137         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15138         (main): Mention "tls" pseudo-hwcap is legacy.
15139         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15141 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15143         * math/gen-libm-test.pl (parse_args): Output only string of
15144         arguments as text for test name, not full call or descriptions of
15145         tests for extra outputs.
15146         (generate_testfile): Do not pass function name to parse_args.
15147         Generate this_func variable from START.
15148         * math/libm-test.inc (struct test_f_f_data): Rename test_name
15149         field to arg_str.
15150         (struct test_ff_f_data): Likewise.
15151         (test_ff_f_data_nexttoward): Likewise.
15152         (struct test_fi_f_data): Likewise.
15153         (struct test_fl_f_data): Likewise.
15154         (struct test_if_f_data): Likewise.
15155         (struct test_fff_f_data): Likewise.
15156         (struct test_c_f_data): Likewise.
15157         (struct test_f_f1_data): Likewise.  Remove field extra_name.
15158         (struct test_fF_f1_data): Likewise.
15159         (struct test_ffI_f1_data): Likewise.
15160         (struct test_c_c_data): Rename test_name field to arg_str.
15161         (struct test_cc_c_data): Likewise.
15162         (struct test_f_i_data): Likewise.
15163         (struct test_ff_i_data): Likewise.
15164         (struct test_f_l_data): Likewise.
15165         (struct test_f_L_data): Likewise.
15166         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
15167         and extra2_name.
15168         (COMMON_TEST_SETUP): New macro.
15169         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15170         (COMMON_TEST_CLEANUP): Likewise.
15171         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15172         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
15173         macros.
15174         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15175         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
15176         macros.
15177         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15178         (RUN_TEST_fff_f): Take argument string.  Call new setup and
15179         cleanup macros.
15180         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15181         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
15182         macros.
15183         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15184         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
15185         macros.
15186         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15187         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
15188         cleanup macros.
15189         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15190         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
15191         cleanup macros.
15192         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15193         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
15194         cleanup macros.
15195         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15196         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
15197         macros.
15198         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15199         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
15200         macros.
15201         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15202         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
15203         macros.
15204         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15205         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
15206         cleanup macros.
15207         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15208         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
15209         cleanup macros.
15210         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15211         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
15212         macros.
15213         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15214         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
15215         cleanup macros.
15216         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15217         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
15218         macros.
15219         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15220         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
15221         macros.
15222         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15223         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
15224         cleanup macros.
15225         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15227 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15229         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15230         to _sifields.sigfault.
15231         (si_addr_lsb): Define new macro.
15232         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15233         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15234         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15236 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
15238         [BZ #15441]
15239         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15240         returns -1.
15241         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15242         null return -1.
15243         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15244         loading the domain.
15246 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15248         * math/gen-libm-test.pl (parse_args): Do not include expected
15249         result in test name.
15250         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15251         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15252         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15253         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15254         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15257 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15259         * benchtests/Makefile: Sort function entries.
15261         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15262         tanh, asinh, acosh, atanh.
15263         * benchtests/acos-inputs: New file.
15264         * benchtests/acosh-inputs: New file.
15265         * benchtests/asin-inputs: New file.
15266         * benchtests/asinh-inputs: New file.
15267         * benchtests/atanh-inputs: New file.
15268         * benchtests/cosh-inputs: New file.
15269         * benchtests/log-inputs: New file.
15270         * benchtests/sinh-inputs: New file.
15271         * benchtests/tanh-inputs: New file.
15273 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
15275         [BZ #15339]
15276         * posix/tst-getaddrinfo4.c: New test.
15277         * posix/Makefile (tests): Add it.
15279 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15281         [BZ #15339]
15282         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15283         when no services were used.
15284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15285         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15287 2013-05-21  Andreas Schwab  <schwab@suse.de>
15289         [BZ #15014]
15290         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15291         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15292         successful.
15293         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15294         redundant variable declarations and reallocation of buffer when
15295         parsing as IPv6 address.  Always set NSS status when called from
15296         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
15297         buffer too small.  Correct computation of needed size.
15298         * nss/Makefile (tests): Add test-digits-dots.
15299         * nss/test-digits-dots.c: New test.
15301 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15303         * benchtests/Makefile: Remove instructions for adding
15304         benchmark tests.
15305         * benchtests/README: New file to explain how to execute and
15306         enhance the benchmark tests.
15308 2013-05-21  Andreas Schwab  <schwab@suse.de>
15310         [BZ #15493]
15311         * setjmp/Makefile (tests): Add tst-sigsetjmp.
15312         * setjmp/tst-sigsetjmp.c: New test.
15314 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15316         * sysdeps/x86_64/memset.S (memset): New implementation.
15317         (__bzero): Likewise.
15318         (__memset_tail): New function.
15320 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15322         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15323         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15324         __memcpy_sse2_unaligned ifunc selection.
15325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15326         Add memcpy-sse2-unaligned.S.
15327         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15328         Add: __memcpy_sse2_unaligned.
15330 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
15332         [BZ #15490]
15333         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15334         math_force_eval before restoring floating-point envrionment.
15335         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15336         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15337         Likewise.
15338         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15339         <math_private.h>.
15340         (__nearbyintl): Use math_force_eval before restoring
15341         floating-point environment.
15342         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15344         * math/gen-libm-test.pl (special_functions): Remove.
15345         (parse_args): Don't handle TEST_extra.  Handle functions with no
15346         return value.
15347         * math/libm-test.inc (struct test_sincos_data): Replace with
15348         struct test_fFF_11_data.
15349         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15350         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15351         (sincos_test_data): Change element type to struct
15352         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
15353         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15354         RUN_TEST_LOOP_sincos.
15355         * math/README.libm-test: Don't mention special handling of
15356         individual functions.
15357         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15358         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15359         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15360         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15361         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15364         * math/gen-libm-test.pl (get_variable): Remove function.
15365         (parse_args): Don't show pointer parameters to call in test
15366         names.  Use "extra output N" in test names for extra outputs
15367         rather than naming variables.
15369 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
15371         [BZ #15488]
15372         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15373         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15374         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15375         double tests.
15376         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15377         disable.
15378         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15379         check_long_double.
15381         * math/gen-libm-test.pl (@tests): Remove variable.
15382         ($count): Likewise.
15383         (new_test): Remove function.
15384         (show_exceptions): New function.
15385         (special_functions): Use show_exceptions instead of new_test.
15386         (parse_args): Likewise.
15387         (generate_testfile): Pass only function name in generated call to
15388         print_max_error or print_complex_max_error.
15389         (get_ulps): Do not handle complex tests specially.
15390         (output_test): Rename to ...
15391         (get_all_ulps_for_test): ... this.  Return a string rather than
15392         printing to a file.  Require ulps to be present.
15393         (output_ulps): Generate arrays rather than #defines.
15394         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15395         (struct ulp_data): New type.
15396         (BUILD_COMPLEX_ULP): Remove macro.
15397         (compare_ulp_data): New function.
15398         (find_ulps): Likewise.
15399         (find_test_ulps): Likewise.
15400         (find_function_ulps): Likewise.
15401         (find_complex_function_ulps): Likewise.
15402         (print_max_error): Determine allowed ulps using
15403         find_function_ulps.
15404         (print_complex_max_error): Determine allowed ulps using
15405         find_complex_function_ulps.
15406         (check_float_internal): Determine max ulps using find_test_ulps.
15407         (check_float): Do not take max_ulp parameter.  Update call to
15408         check_float_internal.
15409         (check_complex): Likewise.
15410         (check_int): Do not take max_ulp parameter.
15411         (check_long): Likewise.
15412         (check_bool): Likewise.
15413         (check_longlong): Likewise.
15414         (struct test_f_f_data): Remove max_ulp field.
15415         (struct test_ff_f_data): Likewise.
15416         (struct test_ff_f_data_nexttoward): Likewise.
15417         (struct test_fi_f_data): Likewise.
15418         (struct test_fl_f_data): Likewise.
15419         (struct test_if_f_data): Likewise.
15420         (struct test_fff_f_data): Likewise.
15421         (struct test_c_f_data): Likewise.
15422         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15423         (struct test_fF_f1_data): Likewise.
15424         (struct test_ffI_f1_data): Likewise.
15425         (struct test_c_c_data): Remove max_ulp field.
15426         (struct test_cc_c_data): Likewise.
15427         (struct test_f_i_data): Likewise.
15428         (struct test_ff_i_data): Likewise.
15429         (struct test_f_l_data): Likewise.
15430         (struct test_f_L_data): Likewise.
15431         (struct test_sincos_data): Likewise.
15432         (RUN_TEST_f_f): Do not handle ulps.
15433         (RUN_TEST_LOOP_f_f): Likewise.
15434         (RUN_TEST_2_f): Likewise.
15435         (RUN_TEST_LOOP_2_f): Likewise.
15436         (RUN_TEST_fff_f): Likewise.
15437         (RUN_TEST_LOOP_fff_f): Likewise.
15438         (RUN_TEST_c_f): Likewise.
15439         (RUN_TEST_LOOP_c_f): Likewise.
15440         (RUN_TEST_f_f1): Likewise.
15441         (RUN_TEST_LOOP_f_f1): Likewise.
15442         (RUN_TEST_fF_f1): Likewise.
15443         (RUN_TEST_LOOP_fF_f1): Likewise.
15444         (RUN_TEST_fI_f1): Likewise.
15445         (RUN_TEST_LOOP_fI_f1): Likewise.
15446         (RUN_TEST_ffI_f1): Likewise.
15447         (RUN_TEST_LOOP_ffI_f1): Likewise.
15448         (RUN_TEST_c_c): Likewise.
15449         (RUN_TEST_LOOP_c_c): Likewise.
15450         (RUN_TEST_cc_c): Likewise.
15451         (RUN_TEST_LOOP_cc_c): Likewise.
15452         (RUN_TEST_f_i): Likewise.
15453         (RUN_TEST_LOOP_f_i): Likewise.
15454         (RUN_TEST_f_i_tg): Likewise.
15455         (RUN_TEST_LOOP_f_i_tg): Likewise.
15456         (RUN_TEST_ff_i_tg): Likewise.
15457         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15458         (RUN_TEST_f_b): Likewise.
15459         (RUN_TEST_LOOP_f_b): Likewise.
15460         (RUN_TEST_f_b_tg): Likewise.
15461         (RUN_TEST_LOOP_f_b_tg): Likewise.
15462         (RUN_TEST_f_l): Likewise.
15463         (RUN_TEST_LOOP_f_l): Likewise.
15464         (RUN_TEST_f_L): Likewise.
15465         (RUN_TEST_LOOP_f_L): Likewise.
15466         (RUN_TEST_sincos): Likewise.
15467         (RUN_TEST_LOOP_sincos): Likewise.
15469 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
15471         [BZ #15480]
15472         [BZ #15485]
15473         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15474         main case of finite arguments, set rounding mode to FE_TONEAREST
15475         and discard exceptions.
15476         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15477         exceptions.
15478         (remainder_tonearest_test_data): New variable.
15479         (remainder_test_tonearest): New function.
15480         (remainder_towardzero_test_data): New variable.
15481         (remainder_test_towardzero): New function.
15482         (remainder_downward_test_data): New variable.
15483         (remainder_test_downward): New function.
15484         (remainder_upward_test_data): New variable.
15485         (remainder_test_upward): New function.
15486         (main): Call the new test functions.
15488         * math/libm-test.inc (struct test_f_f1_data): Remove field
15489         extra_init.
15490         (struct test_fF_f1_data): Likewise.
15491         (struct test_ffI_f1_data): Likewise.
15492         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
15493         based on value of EXTRA_EXPECTED.
15494         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15495         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
15496         EXTRA_VAR based on value of EXTRA_EXPECTED.
15497         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15498         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
15499         EXTRA_VAR based on value of EXTRA_EXPECTED.
15500         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15501         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
15502         EXTRA_VAR based on value of EXTRA_EXPECTED.
15503         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15504         * math/gen-libm-test.pl (parse_args): Don't output initializers
15505         for extra output values.
15507         * math/libm-test.inc (check_int): Expect result to be exactly
15508         equal to expected value and do not handle ulps.
15509         (check_long): Likewise.
15510         (check_longlong): Likewise.
15512         * math/libm-test.inc (ceil_test_data): Test for "inexact"
15513         exceptions.
15514         (cimag_test_data): Likewise.
15515         (conj_test_data): Likewise.
15516         (copysign_test_data): Likewise.
15517         (cproj_test_data): Likewise.
15518         (creal_test_data): Likewise.
15519         (fabs_test_data): Likewise.
15520         (fdim_test_data): Likewise.
15521         (finite_test_data): Likewise.
15522         (floor_test_data): Likewise.
15523         (fmax_test_data): Likewise.
15524         (fmin_test_data): Likewise.
15525         (fmod_test_data): Likewise.
15526         (fpclassify_test_data): Likewise.
15527         (frexp_test_data): Likewise.
15528         (ilogb_test_data): Likewise.
15529         (isfinite_test_data): Likewise.
15530         (isgreater_test_data): Likewise.
15531         (isgreaterequal_test_data): Likewise.
15532         (isinf_test_data): Likewise.
15533         (isless_test_data): Likewise.
15534         (islessequal_test_data): Likewise.
15535         (islessgreater_test_data): Likewise.
15536         (isnan_test_data): Likewise.
15537         (isnormal_test_data): Likewise.
15538         (issignaling_test_data): Likewise.
15539         (isunordered_test_data): Likewise.
15540         (ldexp_test_data): Likewise.
15541         (lrint_test_data): Likewise.
15542         (lrint_test_data) [TEST_FLOAT]: Disable one test.
15543         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15544         (lrint_tonearest_test_data): Test for "inexact" exceptions.
15545         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15546         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15547         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15548         test input.
15549         (lrint_towardzero_test_data): Test for "inexact" exceptions.
15550         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15551         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15552         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15553         that test input.
15554         (lrint_downward_test_data): Test for "inexact" exceptions.
15555         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15556         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15557         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15558         test input.
15559         (lrint_upward_test_data): Test for "inexact" exceptions.
15560         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15561         test input.
15562         (llrint_test_data): Test for "inexact" exceptions.
15563         (llrint_test_data) [TEST_FLOAT]: Disable one test.
15564         (llrint_tonearest_test_data): Test for "inexact" exceptions.
15565         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15566         (llrint_towardzero_test_data): Test for "inexact" exceptions.
15567         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15568         (llrint_downward_test_data): Test for "inexact" exceptions.
15569         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15570         (llrint_upward_test_data): Test for "inexact" exceptions.
15571         (logb_test_data): Likewise.
15572         (logb_downward_test_data): Likewise.
15573         (nextafter_test_data): Likewise.
15574         (nexttoward_test_data): Likewise.
15575         (remainder_test_data): Likewise.
15576         (remquo_test_data): Likewise.
15577         (scalbn_test_data): Likewise.
15578         (scalbln_test_data): Likewise.
15579         (signbit_test_data): Likewise.
15580         (sqrt_test_data): Likewise.
15581         (significand_test_data): Likewise.
15583 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15585         [BZ #15424]
15586         * benchtests/bench-modf.c (struct args): Mark arg0 as
15587         volatile.
15588         * scripts/bench.pl: Mark members of struct args as volatile.
15590 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15592         [BZ # 15497]
15593         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15594         negative infinity on POWER6 or lower.
15595         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15597 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15599         [BZ #15442]
15600         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15601         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15602         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15603         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15604         (_FP_SETQNAN): New macro.
15605         (_FP_SETQNAN_SEMIRAW): Likewise.
15606         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15607         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15608         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15609         (FP_EXTEND): Use _FP_FRAC_SNANP.
15610         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15611         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15612         into account.
15613         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15614         New macro.
15615         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15616         Likewise.
15618 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15620         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15621         with DIVIDE_BY_ZERO_EXCEPTION.
15622         (gamma_test_data): Likewise.
15623         (lgamma_test_data): Likewise.
15624         (log_test_data): Likewise.
15625         (log10_test_data): Likewise.
15626         (log2_test_data): Likewise.
15627         (tgamma_test_data): Likewise.
15629         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15630         (acos_test_tonearest): Likewise.
15631         (acos_test_towardzero): Likewise.
15632         (acos_test_downward): Likewise.
15633         (acos_test_upward): Likewise.
15634         (acosh_test): Likewise.
15635         (asin_test): Likewise.
15636         (asin_test_tonearest): Likewise.
15637         (asin_test_towardzero): Likewise.
15638         (asin_test_downward): Likewise.
15639         (asin_test_upward): Likewise.
15640         (asinh_test): Likewise.
15641         (atan_test): Likewise.
15642         (atanh_test): Likewise.
15643         (atan2_test): Likewise.
15644         (cabs_test): Likewise.
15645         (cacos_test): Likewise.
15646         (cacosh_test): Likewise.
15647         (casin_test): Likewise.
15648         (casinh_test): Likewise.
15649         (catan_test): Likewise.
15650         (catanh_test): Likewise.
15651         (cbrt_test): Likewise.
15652         (ccos_test): Likewise.
15653         (ccosh_test): Likewise.
15654         (cexp_test): Likewise.
15655         (clog_test): Likewise.
15656         (clog10_test): Likewise.
15657         (cos_test): Likewise.
15658         (cos_test_tonearest): Likewise.
15659         (cos_test_towardzero): Likewise.
15660         (cos_test_downward): Likewise.
15661         (cos_test_upward): Likewise.
15662         (cosh_test): Likewise.
15663         (cosh_test_tonearest): Likewise.
15664         (cosh_test_towardzero): Likewise.
15665         (cosh_test_downward): Likewise.
15666         (cosh_test_upward): Likewise.
15667         (cpow_test): Likewise.
15668         (csin_test): Likewise.
15669         (csinh_test): Likewise.
15670         (csqrt_test): Likewise.
15671         (ctan_test): Likewise.
15672         (ctan_test_tonearest): Likewise.
15673         (ctan_test_towardzero): Likewise.
15674         (ctan_test_downward): Likewise.
15675         (ctan_test_upward): Likewise.
15676         (ctanh_test): Likewise.
15677         (ctanh_test_tonearest): Likewise.
15678         (ctanh_test_towardzero): Likewise.
15679         (ctanh_test_downward): Likewise.
15680         (ctanh_test_upward): Likewise.
15681         (erf_test): Likewise.
15682         (erfc_test): Likewise.
15683         (exp_test): Likewise.
15684         (exp_test_tonearest): Likewise.
15685         (exp_test_towardzero): Likewise.
15686         (exp_test_downward): Likewise.
15687         (exp_test_upward): Likewise.
15688         (exp10_test): Likewise.
15689         (exp2_test): Likewise.
15690         (expm1_test): Likewise.
15691         (fmod_test): Likewise.
15692         (gamma_test): Likewise.
15693         (hypot_test): Likewise.
15694         (j0_test): Likewise.
15695         (j1_test): Likewise.
15696         (jn_test): Likewise.
15697         (lgamma_test): Likewise.
15698         (log_test): Likewise.
15699         (log10_test): Likewise.
15700         (log1p_test): Likewise.
15701         (log2_test): Likewise.
15702         (logb_test_downward): Likewise.
15703         (pow_test): Likewise.
15704         (pow_test_tonearest): Likewise.
15705         (pow_test_towardzero): Likewise.
15706         (pow_test_downward): Likewise.
15707         (pow_test_upward): Likewise.
15708         (remainder_test): Likewise.
15709         (remquo_test): Likewise.
15710         (sin_test): Likewise.
15711         (sin_test_tonearest): Likewise.
15712         (sin_test_towardzero): Likewise.
15713         (sin_test_downward): Likewise.
15714         (sin_test_upward): Likewise.
15715         (sincos_test): Likewise.
15716         (sinh_test): Likewise.
15717         (sinh_test_tonearest): Likewise.
15718         (sinh_test_towardzero): Likewise.
15719         (sinh_test_downward): Likewise.
15720         (sinh_test_upward): Likewise.
15721         (sqrt_test): Likewise.
15722         (tan_test): Likewise.
15723         (tan_test_tonearest): Likewise.
15724         (tan_test_towardzero): Likewise.
15725         (tan_test_downward): Likewise.
15726         (tan_test_upward): Likewise.
15727         (tanh_test): Likewise.
15728         (tgamma_test): Likewise.
15729         (y0_test): Likewise.
15730         (y1_test): Likewise.
15731         (yn_test): Likewise.
15733         * math/gen-libm-test.pl (adjust_arg): Remove function.
15734         (special_function): Remove argument $in_func.  Only handle
15735         generating output for tables of tests, not inside functions.
15736         (parse_args): Likewise.
15737         (generate_testfile): Remove variable $in_func.  Update call to
15738         parse_args.
15739         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15740         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15741         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15742         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15743         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15744         (MAX_VALUE_INIT): Rename macro to max_value.
15745         (MIN_VALUE_INIT): Rename macro to min_value.
15746         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15747         (plus_zero): Remove variable.
15748         (minus_zero): Likewise.
15749         (plus_infty): Likewise.
15750         (minus_infty): Likewise.
15751         (qnan_value): Likewise.
15752         (max_value): Likewise.
15753         (min_value): Likewise.
15754         (min_subnorm_value): Likewise.
15756 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15758         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15759         uint64_t or uint32_t usage.
15760         * crypt/sha256-block.c: Likewise.
15761         * crypt/sha256-crypt.c: Likewise.
15762         * crypt/sha256.c: Likewise.
15763         * crypt/sha512-block.c: Likewise.
15764         * crypt/sha512-crypt.c: Likewise.
15765         * crypt/sha512.c: Likewise.
15766         * debug/backtrace-tst.c: Likewise.
15767         * debug/pcprofiledump.c: Likewise.
15768         * elf/cache.c: Likewise.
15769         * elf/dl-cache.c: Likewise.
15770         * elf/dl-misc.c: Likewise.
15771         * elf/dl-profile.c: Likewise.
15772         * elf/dl-support.c: Likewise.
15773         * elf/ldconfig.c: Likewise.
15774         * elf/sprof.c: Likewise.
15775         * iconv/dummy-repertoire.c: Likewise.
15776         * iconv/iconv_charmap.c: Likewise.
15777         * iconv/skeleton.c: Likewise.
15778         * iconvdata/8bit-generic.c: Likewise.
15779         * iconvdata/cp737.h: Likewise.
15780         * iconvdata/cp775.h: Likewise.
15781         * iconvdata/ibm1008.h: Likewise.
15782         * iconvdata/ibm1025.h: Likewise.
15783         * iconvdata/ibm1046.h: Likewise.
15784         * iconvdata/ibm1097.h: Likewise.
15785         * iconvdata/ibm1112.h: Likewise.
15786         * iconvdata/ibm1122.h: Likewise.
15787         * iconvdata/ibm1123.h: Likewise.
15788         * iconvdata/ibm1124.h: Likewise.
15789         * iconvdata/ibm1129.h: Likewise.
15790         * iconvdata/ibm1130.h: Likewise.
15791         * iconvdata/ibm1132.h: Likewise.
15792         * iconvdata/ibm1133.h: Likewise.
15793         * iconvdata/ibm1137.h: Likewise.
15794         * iconvdata/ibm1140.h: Likewise.
15795         * iconvdata/ibm1141.h: Likewise.
15796         * iconvdata/ibm1142.h: Likewise.
15797         * iconvdata/ibm1143.h: Likewise.
15798         * iconvdata/ibm1144.h: Likewise.
15799         * iconvdata/ibm1145.h: Likewise.
15800         * iconvdata/ibm1146.h: Likewise.
15801         * iconvdata/ibm1147.h: Likewise.
15802         * iconvdata/ibm1148.h: Likewise.
15803         * iconvdata/ibm1149.h: Likewise.
15804         * iconvdata/ibm1153.h: Likewise.
15805         * iconvdata/ibm1154.h: Likewise.
15806         * iconvdata/ibm1155.h: Likewise.
15807         * iconvdata/ibm1156.h: Likewise.
15808         * iconvdata/ibm1157.h: Likewise.
15809         * iconvdata/ibm1158.h: Likewise.
15810         * iconvdata/ibm1160.h: Likewise.
15811         * iconvdata/ibm1161.h: Likewise.
15812         * iconvdata/ibm1162.h: Likewise.
15813         * iconvdata/ibm1163.h: Likewise.
15814         * iconvdata/ibm1164.h: Likewise.
15815         * iconvdata/ibm1166.h: Likewise.
15816         * iconvdata/ibm1167.h: Likewise.
15817         * iconvdata/ibm12712.h: Likewise.
15818         * iconvdata/ibm1390.h: Likewise.
15819         * iconvdata/ibm1399.h: Likewise.
15820         * iconvdata/ibm16804.h: Likewise.
15821         * iconvdata/ibm4517.h: Likewise.
15822         * iconvdata/ibm4899.h: Likewise.
15823         * iconvdata/ibm4909.h: Likewise.
15824         * iconvdata/ibm4971.h: Likewise.
15825         * iconvdata/ibm5347.h: Likewise.
15826         * iconvdata/ibm803.h: Likewise.
15827         * iconvdata/ibm856.h: Likewise.
15828         * iconvdata/ibm901.h: Likewise.
15829         * iconvdata/ibm902.h: Likewise.
15830         * iconvdata/ibm9030.h: Likewise.
15831         * iconvdata/ibm9066.h: Likewise.
15832         * iconvdata/ibm921.h: Likewise.
15833         * iconvdata/ibm922.h: Likewise.
15834         * iconvdata/ibm9448.h: Likewise.
15835         * iconvdata/isiri-3342.h: Likewise.
15836         * iconvdata/jis0201.h: Likewise.
15837         * include/link.h: Likewise.
15838         * include/netdb.h: Likewise.
15839         * inet/check_native.c: Likewise.
15840         * inet/check_pf.c: Likewise.
15841         * inet/getipv4sourcefilter.c: Likewise.
15842         * inet/getnameinfo.c: Likewise.
15843         * inet/getsourcefilter.c: Likewise.
15844         * inet/htonl.c: Likewise.
15845         * inet/setipv4sourcefilter.c: Likewise.
15846         * inet/setsourcefilter.c: Likewise.
15847         * inet/test-inet6_opt.c: Likewise.
15848         * inet/tst-network.c: Likewise.
15849         * locale/C-collate.c: Likewise.
15850         * locale/C-ctype.c: Likewise.
15851         * locale/C-time.c: Likewise.
15852         * locale/C-translit.h: Likewise.
15853         * locale/loadarchive.c: Likewise.
15854         * locale/programs/3level.h: Likewise.
15855         * locale/programs/charmap.c: Likewise.
15856         * locale/programs/charmap.h: Likewise.
15857         * locale/programs/ld-address.c: Likewise.
15858         * locale/programs/ld-collate.c: Likewise.
15859         * locale/programs/ld-ctype.c: Likewise.
15860         * locale/programs/ld-identification.c: Likewise.
15861         * locale/programs/ld-measurement.c: Likewise.
15862         * locale/programs/ld-messages.c: Likewise.
15863         * locale/programs/ld-monetary.c: Likewise.
15864         * locale/programs/ld-name.c: Likewise.
15865         * locale/programs/ld-numeric.c: Likewise.
15866         * locale/programs/ld-paper.c: Likewise.
15867         * locale/programs/ld-telephone.c: Likewise.
15868         * locale/programs/ld-time.c: Likewise.
15869         * locale/programs/linereader.c: Likewise.
15870         * locale/programs/locale.c: Likewise.
15871         * locale/programs/locarchive.c: Likewise.
15872         * locale/programs/locfile.h: Likewise.
15873         * locale/programs/repertoire.c: Likewise.
15874         * locale/programs/simple-hash.c: Likewise.
15875         * locale/programs/simple-hash.h: Likewise.
15876         * malloc/memusage.c: Likewise.
15877         * malloc/memusagestat.c: Likewise.
15878         * nis/nis_defaults.c: Likewise.
15879         * nis/nis_hash.c: Likewise.
15880         * nis/nis_print.c: Likewise.
15881         * nis/nis_xdr.c: Likewise.
15882         * nscd/connections.c: Likewise.
15883         * nscd/hstcache.c: Likewise.
15884         * nscd/nscd_gethst_r.c: Likewise.
15885         * nscd/nscd_getserv_r.c: Likewise.
15886         * nscd/nscd_helper.c: Likewise.
15887         * nscd/servicescache.c: Likewise.
15888         * nss/makedb.c: Likewise.
15889         * nss/nss_db/db-XXX.c: Likewise.
15890         * nss/nss_db/db-initgroups.c: Likewise.
15891         * nss/nss_db/db-netgrp.c: Likewise.
15892         * nss/nss_files/files-network.c: Likewise.
15893         * nss/nss_files/files-parse.c: Likewise.
15894         * posix/bug-regex5.c: Likewise.
15895         * posix/fnmatch_loop.c: Likewise.
15896         * posix/regcomp.c: Likewise.
15897         * posix/regexec.c: Likewise.
15898         * posix/tst-rfc3484-2.c: Likewise.
15899         * posix/tst-rfc3484-3.c: Likewise.
15900         * posix/tst-rfc3484.c: Likewise.
15901         * resolv/nss_dns/dns-canon.c: Likewise.
15902         * resolv/nss_dns/dns-network.c: Likewise.
15903         * resolv/res_init.c: Likewise.
15904         * resolv/res_mkquery.c: Likewise.
15905         * resolv/tst-aton.c: Likewise.
15906         * stdlib/cxa_atexit.c: Likewise.
15907         * stdlib/cxa_finalize.c: Likewise.
15908         * stdlib/gen-fpioconst.c: Likewise.
15909         * stdlib/strtol_l.c: Likewise.
15910         * string/tst-endian.c: Likewise.
15911         * sunrpc/auth_des.c: Likewise.
15912         * sunrpc/clnt_udp.c: Likewise.
15913         * sunrpc/rtime.c: Likewise.
15914         * sunrpc/svcauth_des.c: Likewise.
15915         * sunrpc/xdr.c: Likewise.
15916         * sunrpc/xdr_intXX_t.c: Likewise.
15917         * sunrpc/xdr_rec.c: Likewise.
15918         * sysdeps/generic/ldconfig.h: Likewise.
15919         * sysdeps/generic/ldsodefs.h: Likewise.
15920         * sysdeps/generic/memusage.h: Likewise.
15921         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15922         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15923         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15924         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15925         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15926         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15927         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15928         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15929         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15931         * sysdeps/posix/getaddrinfo.c: Likewise.
15932         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15933         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15934         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15935         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15936         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15937         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15938         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15939         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15940         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15941         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15942         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15943         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15944         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15945         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15946         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15947         * sysdeps/x86_64/dl-tls.h: Likewise.
15948         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15949         * time/alt_digit.c: Likewise.
15950         * time/era.c: Likewise.
15951         * wcsmbs/tst-c16c32-1.c: Likewise.
15953 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15955         * math/libm-test.inc (struct test_sincos_data): New type.
15956         (RUN_TEST_LOOP_sincos): New macro.
15957         (sincos_test_data): New variable.
15958         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15960 2013-05-16  Richard Henderson  <rth@redhat.com>
15962         * math/atest-exp2.c (LIMB64): New macro.
15963         (CONSTSZ): New macro.
15964         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15965         (hexdig): Move ...
15966         (print_mpn_fp): ... to function scope.
15967         (read_mpn_hex): Remove.
15968         (get_log2): Remove.
15969         (exp2_mpn): Use mp_log2.
15970         (main): Use mp_exp1.
15972 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15974         * math/libm-test.inc: Remove comment about not testing "inexact"
15975         exceptions.
15976         (INEXACT_EXCEPTION): New macro.
15977         (NO_INEXACT_EXCEPTION): Likewise.
15978         (INVALID_EXCEPTION_OK): Update value.
15979         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15980         (OVERFLOW_EXCEPTION_OK): Likewise.
15981         (UNDERFLOW_EXCEPTION_OK): Likewise.
15982         (IGNORE_ZERO_INF_SIGN): Likewise.
15983         (ERRNO_UNCHANGED): Likewise.
15984         (ERRNO_EDOM): Likewise.
15985         (ERRNO_ERANGE): Likewise.
15986         (test_exceptions): Handle testing "inexact" exceptions.
15987         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15988         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15989         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15990         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15991         INEXACT_EXCEPTION.
15992         (rint_towardzero_test_data): Likewise.
15993         (rint_downward_test_data): Likewise.
15994         (rint_upward_test_data): Likewise.
15996         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15997         with OVERFLOW_EXCEPTION.
15998         (exp10_test_data): Likewise.
15999         (exp2_test_data): Likewise.
16000         (expm1_test_data): Likewise.
16001         (lgamma_test_data): Likewise.
16002         (pow_test_data): Likewise.
16003         (tgamma_test_data): Likewise.
16004         (yn_test_data): Remove duplicate test of overflow.
16006         * math/libm-test.inc (struct test_cc_c_data): New type.
16007         (RUN_TEST_LOOP_cc_c): New macro.
16008         (cpow_test_data): New variable.
16009         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16011         * math/libm-test.inc (struct test_f_L_data): New type.
16012         (RUN_TEST_LOOP_f_L): New macro.
16013         (llrint_test_data): New variable.
16014         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16015         (llrint_tonearest_test_data): New variable.
16016         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16017         (llrint_towardzero_test_data): New variable.
16018         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16019         (llrint_downward_test_data): New variable.
16020         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16021         (llrint_upward_test_data): New variable.
16022         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16023         (llround_test_data): New variable.
16024         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16026 2013-05-13  Peter Collingbourne  <pcc@google.com>
16028         * math/atest-exp2.c (get_log2): Remove const attribute.
16030 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16032         * math/libm-test.inc (struct test_f_l_data): New type.
16033         (RUN_TEST_LOOP_f_l): New macro.
16034         (lrint_test_data): New variable.
16035         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16036         (lrint_tonearest_test_data): New variable.
16037         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16038         (lrint_towardzero_test_data): New variable.
16039         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16040         (lrint_downward_test_data): New variable.
16041         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16042         (lrint_upward_test_data): New variable.
16043         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16044         (lround_test_data): New variable.
16045         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16047 2013-05-15  Peter Collingbourne  <pcc@google.com>
16049         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16050         (EXTRACT_WORDS64) Use where appropriate.
16051         (INSERT_WORDS64) Likewise.
16053         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16054         constraints with x constraints.
16055         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16057         * malloc/obstack.c (_obstack_compat): Add initializer.
16059 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16061         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16062         si_trapno and add si_addr_lsb to _sifields.sigfault.
16063         (si_trapno): Remove macro.
16064         (si_addr_lsb): Define new macro.
16065         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16067 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16069         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16070         instead of TEST_f_l.
16071         (llrint_test_tonearest): Likewise.
16072         (llrint_test_towardzero): Likewise.
16073         (llrint_test_downward): Likewise.
16074         (llrint_test_upward): Likewise.
16075         (llround_test): Likewise.
16077         * math/libm-test.inc (struct test_f_i_data): Add comment.
16078         (RUN_TEST_LOOP_f_b): New macro.
16079         (RUN_TEST_LOOP_f_b_tg): Likewise.
16080         (finite_test_data): New variable.
16081         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16082         (isfinite_test_data): New variable.
16083         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16084         (isinf_test_data): New variable.
16085         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16086         (isnan_test_data): New variable.
16087         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16088         (isnormal_test_data): New variable.
16089         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16090         (issignaling_test_data): New variable.
16091         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16092         (signbit_test_data): New variable.
16093         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16095         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16096         with INVALID_EXCEPTION.
16097         (acosh_test_data): Likewise.
16098         (asin_test_data): Likewise.
16099         (atanh_test_data): Likewise.
16100         (fmod_test_data): Likewise.
16101         (log_test_data): Likewise.
16102         (log10_test_data): Likewise.
16103         (log2_test_data): Likewise.
16104         (pow_test_data): Likewise.
16105         (sqrt_test_data): Likewise.
16106         (y0_test_data): Likewise.
16107         (y1_test_data): Likewise.
16108         (yn_test_data): Likewise.
16110         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16111         function contents.
16113         * math/libm-test.inc (struct test_ff_i_data): New type.
16114         (RUN_TEST_LOOP_ff_i_tg): New macro.
16115         (isgreater_test_data): New variable.
16116         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16117         (isgreaterequal_test_data): New variable.
16118         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16119         (isless_test_data): New variable.
16120         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16121         (islessequal_test_data): New variable.
16122         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16123         (islessgreater_test_data): New variable.
16124         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16125         (isunordered_test_data): New variable.
16126         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16128 2013-05-14  David S. Miller  <davem@davemloft.net>
16130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16132 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
16134         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16136         * math/libm-test.inc (struct test_fF_f1_data): Change type of
16137         extra_test to int.
16138         (struct test_f_i_data): Change type of max_ulp to int.
16140         * math/libm-test.inc (test_ffI_f1_data): New type.
16141         (RUN_TEST_LOOP_ffI_f1): New macro.
16142         (remquo_test_data): New variable.
16143         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16145         * setjmp/tst-setjmp-fp.c: New file.
16146         * setjmp/Makefile (tests): Add tst-setjmp-fp.
16147         (link-libm): New variable.
16148         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16150         * math/libm-test.inc (struct test_f_i_data): New type.
16151         (RUN_TEST_LOOP_f_i): New macro.
16152         (RUN_TEST_LOOP_f_i_tg): Likewise.
16153         (fpclassify_test_data): New variable.
16154         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16155         (ilogb_test_data): New variable.
16156         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16158         * math/libm-test.inc (scalbln_test): Correct function name in END
16159         call.
16161         * math/libm-test.inc (struct test_f_f1_data): Add comment.
16162         (RUN_TEST_LOOP_fI_f1): New macro.
16163         (frexp_test_data): New variable.
16164         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16166         * math/libm-test.inc (struct test_fF_f1_data): New type.
16167         (RUN_TEST_LOOP_fF_f1): New macro.
16168         (modf_test_data): New variable.
16169         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16171         * math/libm-test.inc (struct test_f_f1_data): New type.
16172         (RUN_TEST_LOOP_f_f1): New macro.
16173         (gamma_test_data): New variable.
16174         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16175         (lgamma_test_data): New variable.
16176         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16178 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
16180         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16181         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16182         (main): Comment "tls" pseudo-hwcap.
16184 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
16186         * math/libm-test.inc (struct test_fl_f_data): New type.
16187         (RUN_TEST_LOOP_fl_f): New variable.
16188         (scalbln_test_data): New variable.
16189         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16191         * math/libm-test.inc (struct test_fi_f_data): New type.
16192         (RUN_TEST_LOOP_fi_f): New macro.
16193         (ldexp_test_data): New variable.
16194         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16195         (scalbn_test_data): New variable.
16196         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16198         * math/libm-test.inc (struct test_c_f_data): New type.
16199         (RUN_TEST_LOOP_c_f): New macro.
16200         (cabs_test_data): New variable.
16201         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16202         (carg_test_data): New variable.
16203         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16204         (cimag_test_data): New variable.
16205         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16206         (creal_test_data): New variable.
16207         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16209         * math/libm-test.inc (struct test_if_f_data): New type.
16210         (RUN_TEST_LOOP_if_f): New macro.
16211         (jn_test_data): New variable.
16212         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16213         (yn_test_data): New variable.
16214         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16216         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16218 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16220         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16221         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16223 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16225         * benchtests/Makefile (CPPFLAGS-nonlib): Add
16226         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16227         (bench-deps): Add bench-timing.h.
16228         * benchtests-bench-skeleton.c: Include bench-timing.h.
16229         (main): Use TIMING_* macros instead of clock_gettime.
16230         * benchtests/bench-timing.h: New file.
16232         [BZ #14582]
16233         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16234         Renamed from _LIB_VERSION.
16235         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16237 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
16239         * math/libm-test.inc (struct test_fff_f_data): New type.
16240         (RUN_TEST_LOOP_fff_f): New macro.
16241         (fma_test_data): New variable.
16242         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16243         (fma_towardzero_test_data): New variable.
16244         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16245         (fma_downward_test_data): New variable.
16246         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16247         (fma_upward_test_data): New variable.
16248         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16250         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16251         (struct test_c_c_data): New type.
16252         (RUN_TEST_LOOP_c_c): New macro.
16253         (cacos_test_data): New variable.
16254         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16255         (cacosh_test_data): New variable.
16256         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16257         (casin_test_data): New variable.
16258         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16259         (casinh_test_data): New variable.
16260         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16261         (catan_test_data): New variable.
16262         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16263         (catanh_test_data): New variable.
16264         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16265         (ccos_test_data): New variable.
16266         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16267         (ccosh_test_data): New variable.
16268         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16269         (cexp_test_data): New variable.
16270         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16271         (clog_test_data): New variable.
16272         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16273         (clog10_test_data): New variable.
16274         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16275         (conj_test_data): New variable.
16276         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16277         (cproj_test_data): New variable.
16278         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16279         (csin_test_data): New variable.
16280         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16281         (csinh_test_data): New variable.
16282         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16283         (csqrt_test_data): New variable.
16284         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16285         (ctan_test_data): New variable.
16286         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16287         (ctan_tonearest_test_data): New variable.
16288         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16289         (ctan_towardzero_test_data): New variable.
16290         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16291         (ctan_downward_test_data): New variable.
16292         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16293         (ctan_upward_test_data): New variable.
16294         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16295         (ctanh_test_data): New variable.
16296         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16297         (ctanh_tonearest_test_data): New variable.
16298         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16299         (ctanh_towardzero_test_data): New variable.
16300         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16301         (ctanh_downward_test_data): New variable.
16302         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16303         (ctanh_upward_test_data): New variable.
16304         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16305         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16306         of BUILD_COMPLEX.
16308         * math/libm-test.inc (struct test_ff_f_data): New type.
16309         (struct test_ff_f_data_nexttoward): Likewise.
16310         (RUN_TEST_LOOP_2_f): New macro.
16311         (RUN_TEST_LOOP_ff_f): Likewise.
16312         (atan2_test_data): New variable.
16313         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16314         (copysign_test_data): New variable.
16315         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16316         (fdim_test_data): New variable.
16317         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16318         (fmax_test_data): New variable.
16319         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16320         (fmin_test_data): New variable.
16321         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16322         (fmod_test_data): New variable.
16323         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16324         (hypot_test_data): New variable.
16325         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16326         (nextafter_test_data): New variable.
16327         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16328         (nexttoward_test_data): New variable.
16329         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16330         (pow_test_data): New variable.
16331         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16332         (pow_tonearest_test_data): New variable.
16333         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16334         (pow_towardzero_test_data): New variable.
16335         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16336         (pow_downward_test_data): New variable.
16337         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16338         (pow_upward_test_data): New variable.
16339         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16340         (remainder_test_data): New variable.
16341         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16342         (scalb_test_data): New variable.
16343         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16344         * sysdeps/i386/fpu/libm-test-ulps: Update.
16346 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
16348         * math/libm-test.inc (fma_test): Use max_value instead of local
16349         variable fltmax.
16350         (nextafter_test): Likewise.
16352         * math/libm-test.inc (acos_towardzero_test_data): New variable.
16353         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16354         (acos_downward_test_data): New variable.
16355         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16356         (acos_upward_test_data): New variable.
16357         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16358         (acosh_test_data): New variable.
16359         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16360         (asin_test_data): New variable.
16361         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16362         (asin_tonearest_test_data): New variable.
16363         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16364         (asin_towardzero_test_data): New variable.
16365         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16366         (asin_downward_test_data): New variable.
16367         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16368         (asin_upward_test_data): New variable.
16369         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16370         (asinh_test_data): New variable.
16371         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16372         (atan_test_data): New variable.
16373         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16374         (atanh_test_data): New variable.
16375         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16376         (cbrt_test_data): New variable.
16377         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16378         (ceil_test_data): New variable.
16379         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16380         (cos_test_data): New variable.
16381         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16382         (cos_tonearest_test_data): New variable.
16383         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16384         (cos_towardzero_test_data): New variable.
16385         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16386         (cos_downward_test_data): New variable.
16387         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16388         (cos_upward_test_data): New variable.
16389         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16390         (cosh_test_data): New variable.
16391         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16392         (cosh_tonearest_test_data): New variable.
16393         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16394         (cosh_towardzero_test_data): New variable.
16395         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16396         (cosh_downward_test_data): New variable.
16397         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16398         (cosh_upward_test_data): New variable.
16399         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16400         (erf_test_data): New variable.
16401         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16402         (erfc_test_data): New variable.
16403         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16404         (exp_test_data): New variable.
16405         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16406         (exp_tonearest_test_data): New variable.
16407         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16408         (exp_towardzero_test_data): New variable.
16409         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16410         (exp_downward_test_data): New variable.
16411         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16412         (exp_upward_test_data): New variable.
16413         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16414         (exp10_test_data): New variable.
16415         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16416         (exp2_test_data): New variable.
16417         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16418         (expm1_test_data): New variable.
16419         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16420         (fabs_test_data): New variable.
16421         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16422         (floor_test_data): New variable.
16423         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16424         (j0_test_data): New variable.
16425         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16426         (j1_test_data): New variable.
16427         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16428         (log_test_data): New variable.
16429         (log_test): Run tests with RUN_TEST_LOOP_f_f.
16430         (log10_test_data): New variable.
16431         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16432         (log1p_test_data): New variable.
16433         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16434         (log2_test_data): New variable.
16435         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16436         (logb_test_data): New variable.
16437         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16438         (logb_downward_test_data): New variable.
16439         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16440         (nearbyint_test_data): New variable.
16441         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16442         (rint_test_data): New variable.
16443         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16444         (rint_tonearest_test_data): New variable.
16445         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16446         (rint_towardzero_test_data): New variable.
16447         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16448         (rint_downward_test_data): New variable.
16449         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16450         (rint_upward_test_data): New variable.
16451         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16452         (round_test_data): New variable.
16453         (round_test): Run tests with RUN_TEST_LOOP_f_f.
16454         (sin_test_data): New variable.
16455         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16456         (sin_tonearest_test_data): New variable.
16457         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16458         (sin_towardzero_test_data): New variable.
16459         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16460         (sin_downward_test_data): New variable.
16461         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16462         (sin_upward_test_data): New variable.
16463         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16464         (sinh_test_data): New variable.
16465         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16466         (sinh_tonearest_test_data): New variable.
16467         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16468         (sinh_towardzero_test_data): New variable.
16469         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16470         (sinh_downward_test_data): New variable.
16471         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16472         (sinh_upward_test_data): New variable.
16473         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16474         (sqrt_test_data): New variable.
16475         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16476         (tan_test_data): New variable.
16477         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16478         (tan_tonearest_test_data): New variable.
16479         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16480         (tan_towardzero_test_data): New variable.
16481         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16482         (tan_downward_test_data): New variable.
16483         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16484         (tan_upward_test_data): New variable.
16485         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16486         (tanh_test_data): New variable.
16487         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16488         (tgamma_test_data): New variable.
16489         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16490         (trunc_test_data): New variable.
16491         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16492         (y0_test_data): New variable.
16493         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16494         (y1_test_data): New variable.
16495         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16496         (significand_test_data): New variable.
16497         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16499 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
16501         [BZ #12387]
16502         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16504 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16506         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16508 2013-05-10  Andreas Jaeger  <aj@suse.de>
16510         [BZ #15448]
16511         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16512         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16514 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16516         * math/gen-libm-test.pl (adjust_arg): New function.
16517         (special_functions): Handle generating output in both functions
16518         and arrays.
16519         (parse_args): Likewise.
16520         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
16521         $in_func argument to parse_args.
16522         * math/libm-test.inc (struct test_f_f_data): New type.
16523         (IF_ROUND_INIT_): New macro.
16524         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16525         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16526         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16527         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16528         (ROUND_RESTORE_): Likewise.
16529         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16530         (ROUND_RESTORE_FE_TONEAREST): Likewise.
16531         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16532         (ROUND_RESTORE_FE_UPWARD): Likewise.
16533         (RUN_TEST_LOOP_f_f): New macro.
16534         (acos_test_data): New variable.
16535         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16536         (acos_tonearest_test_data): New variable.
16537         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16539 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16541         * benchtests/bench-skeleton.c (startup): Fix coding style.
16543 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16545         [BZ #6809]
16546         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16547         negative infinity argument.
16548         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16549         negative infinity argument.
16550         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16551         negative infinity argument.
16552         * math/libm-test.inc (tgamma_test): Expect errno to be set for
16553         domain errors.
16555 2013-05-10  Florian Weimer  <fweimer@redhat.com>
16557         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16558         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16559         * iconv/iconv_prog.c (main): Likewise.
16560         * locale/programs/charmap-dir.c (charmap_readdir)
16561         (fopen_uncompressed): Likewise.
16562         * locale/programs/locfile.c (siblings_uncached)
16563         (write_locale_data): Use lstat64 instead of lstat.
16564         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16565         stat.
16567 2013-05-10  Andreas Jaeger  <aj@suse.de>
16569         [BZ #15395]
16570         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16571         localization.
16572         Include <locale.h>.
16574 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
16576         * elf/dl-close.c (_dl_close_worker): Add comments.
16578 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
16580         [BZ #15359]
16581         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16582         high part of pi/2.
16583         (__ieee754_rem_pio2l): Update comments.
16585         [BZ #15429]
16586         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16587         high part of pi/2.
16588         (__ieee754_rem_pio2l): Update comments.
16590         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16591         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16593         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16594         M_PI_4l.
16596         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16597         (M_PI_34_LOG10El): Likewise.
16598         (M_PI2_LOG10El): Likewise.
16599         (M_PI4_LOG10El): Likewise.
16600         (M_PI_LOG10El): Likewise.
16602 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16606 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16608         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16609         (MINUS_ZERO_INIT): Likewise.
16610         (PLUS_INFTY_INIT): Likewise.
16611         (MINUS_INFTY_INIT): Likewise.
16612         (QNAN_VALUE_INIT): Likewise.
16613         (MAX_VALUE_INIT): Likewise.
16614         (MIN_VALUE_INIT): Likewise.
16615         (MIN_SUBNORM_VALUE_INIT): Likewise.
16616         (plus_zero): Initialize with PLUS_ZERO_INIT.
16617         (minus_zero): Initialize with MINUS_ZERO_INIT.
16618         (plus_infty): Initialize with PLUS_INFTY_INIT.
16619         (minus_infty): Initialize with MINUS_INFTY_INIT.
16620         (qnan_value): Initialize with QNAN_VALUE_INIT.
16621         (max_value): Initialize with MAX_VALUE_INIT.
16622         (min_value): Initialize with MIN_VALUE_INIT.
16623         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16625         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16626         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16627         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16628         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16630         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16631         (RUN_TEST_2_f): Likewise.
16632         (RUN_TEST_ff_f): Likewise.
16633         (RUN_TEST_fi_f): Likewise.
16634         (RUN_TEST_fl_f): Likewise.
16635         (RUN_TEST_fff_f): Likewise.
16636         (RUN_TEST_c_f): Likewise.
16637         (RUN_TEST_f_f1): Likewise.
16638         (RUN_TEST_fF_f1): Likewise.
16639         (RUN_TEST_fI_f1): Likewise.
16640         (RUN_TEST_ffI_f1): Likewise.
16641         (RUN_TEST_c_c): Likewise.
16642         (RUN_TEST_cc_c): Likewise.
16643         (RUN_TEST_f_i): Likewise.
16644         (RUN_TEST_f_i_tg): Likewise.
16645         (RUN_TEST_ff_i_tg): Likewise.
16646         (RUN_TEST_f_b): Likewise.
16647         (RUN_TEST_f_b_tg): Likewise.
16648         (RUN_TEST_f_l): Likewise.
16649         (RUN_TEST_f_L): Likewise.
16650         (RUN_TEST_sincos): Likewise.
16651         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16652         whether to show exceptions.  Do not include ");\n" in return
16653         value.
16654         (special_functions): Output call to RUN_TEST_sincos instead of
16655         check_float calls.  Update calls to new_test.
16656         (parse_args): Output call to single RUN_TEST_* macro instead of
16657         check_* calls and other assignments.  Update calls to new_test.
16659         [BZ #2546]
16660         [BZ #2560]
16661         [BZ #5159]
16662         [BZ #15426]
16663         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16664         input to result for tgamma overflow.
16665         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16666         (gamma_coeff): New variable.
16667         (NCOEFF): New macro.
16668         (gamma_positive): New function.
16669         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16670         underflow here.  Use gamma_positive instead of exp (lgamma) for
16671         other arguments.
16672         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16673         (gamma_coeff): New variable.
16674         (NCOEFF): New macro.
16675         (gammaf_positive): New function.
16676         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16677         underflow here.  Use gamma_positive instead of exp (lgamma) for
16678         other arguments.
16679         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16680         (gamma_coeff): New variable.
16681         (NCOEFF): New macro.
16682         (gammal_positive): New function.
16683         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16684         underflow here.  Use gamma_positive instead of exp (lgamma) for
16685         other arguments.
16686         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16687         (gamma_coeff): New variable.
16688         (NCOEFF): New macro.
16689         (gammal_positive): New function.
16690         (__ieee754_gammal_r): Handle positive infinity, overflow and
16691         underflow here.  Handle NaN the same as positive infinity.  Remove
16692         check x < 0xffffffff for negative integers.  Use gamma_positive
16693         instead of exp (lgamma) for other arguments.
16694         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16695         (gamma_coeff): New variable.
16696         (NCOEFF): New macro.
16697         (gammal_positive): New function.
16698         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16699         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16700         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16701         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16702         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16703         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16704         * sysdeps/generic/math_private.h (__gamma_productf): New
16705         prototype.
16706         (__gamma_product): Likewise.
16707         (__gamma_productl): Likewise.
16708         * math/Makefile (libm-calls): Add gamma_product.
16709         * math/libm-test.inc (tgamma_test): Add more tests.
16710         * sysdeps/i386/fpu/libm-test-ulps: Update.
16711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16713 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16715         * benchtests/bench-skeleton.c (main): Preheat CPU.
16717 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16719         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16721 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16723         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16724         and _dl_skip_args_internal.
16726 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16728         * manual/message.texi (Message Translation): Talk about users.
16729         Message to key mapping impacts design.
16731 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16733         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16735         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16737         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16738         * sysdeps/wordsize-64/glob64.c: ... here.
16740         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16741         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16742         New macros.
16744         * debug/getlogin_r_chk.c: Moved to ...
16745         * login/getlogin_r_chk.c: ... here.
16746         * debug/Makefile (routines): Move getlogin_r_chk to ...
16747         * login/Makefile (routines): ... here.
16748         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16749         * login/Versions (libc: GLIBC_2.4): ... here.
16751         * io/poll.c (__poll): Renamed from poll.
16752         Add libc_hidden_def.
16753         (poll): Define as weak alias.
16755         * debug/ptsname_r_chk.c: Moved to ...
16756         * login/ptsname_r_chk.c: ... here.
16757         * debug/Makefile (routines): Move ptsname_r_chk to ...
16758         * login/Makefile (routines): ... here.
16759         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16760         * login/Versions (libc: GLIBC_2.4): ... here.
16762         * posix/getlogin.c: Moved to ...
16763         * login/getlogin.c: ... here.
16764         * posix/getlogin_r.c: Moved to ...
16765         * login/getlogin_r.c: ... here.
16766         * posix/getlogin_r.c: Moved to ...
16767         * login/getlogin_r.c: ... here.
16768         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16769         * login/Makefile (routines): ... here.
16770         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16771         * login/Versions (libc: GLIBC_2.0): ... here.
16773         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16774         (setrlimit): Define as weak alias.
16776         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16777         Call __ names for open, ftruncate, and close.
16778         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16779         (truncate): Define as weak alias.
16781 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16783         * math/gen-libm-test.pl (parse_args): Initialize x before each
16784         test of frexp, modf and remquo.
16786         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16787         test signgam value.
16789 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16791         [BZ #15418]
16792         [BZ #15419]
16793         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16794         internal tests.
16795         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16797 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16799         * elf/dl-writev.h: New file.
16800         * elf/dl-misc.c: Include it.
16801         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16802         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16804 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16806         * math/libm-test.inc (noXFails): Remove variable.
16807         (noXPasses): Likewise.
16808         (BUILD_COMPLEX_INT): Remove macro.
16809         (print_screen): Remove xfail argument.
16810         (print_screen_max_error): Likewise.
16811         (update_stats): Likewise.
16812         (print_max_error): Likewise.  Update calls to other affected
16813         functions.
16814         (print_complex_max_error): Likewise.
16815         (test_single_exception): Update calls to print_screen.
16816         (test_single_errno): Likewise.
16817         (check_float_internal): Remove xfail argument.  Update calls to
16818         other affected functions.
16819         (check_float): Likewise.
16820         (check_complex): Likewise.
16821         (check_int): Likewise.
16822         (check_long): Likewise.
16823         (check_bool): Likewise.
16824         (check_longlong): Likewise.
16825         (main): Don't print noXFails and noXPasses.
16826         * math/gen-libm-test.pl (top level): Don't mention expected
16827         failure handling in comment.
16828         (new_test): Don't handle expected failures.
16829         (parse_args): Don't mention expected failure handling in comment.
16830         (generate_testfile): Don't handle expected failures.
16831         (parse_ulps): Likewise.
16832         (print_ulps_file): Likewise.
16833         (get_failure): Remove function.
16834         (output_test): Don't handle expected failures.
16835         * make/README.libm-test: Don't mention expected failure handling.
16837         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16838         (minus_zero): Likewise.
16839         (plus_infty): Likewise.
16840         (minus_infty): Likewise.
16841         (qnan_value): Likewise.
16842         (max_value): Likewise.
16843         (min_value): Likewise.
16844         (min_subnorm_value): Likewise.
16845         (initialize): Do not initialize those variables dynamically.
16847 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16849         * io/open.c (__open_2): Moved to ...
16850         * io/open_2.c: ... this new file.
16851         * io/open64.c (__open64_2): Moved to ...
16852         * io/open64_2.c: ... this new file.
16853         * io/openat.c (__openat_2): Moved to ...
16854         * io/openat_2.c: ... this new file.
16855         * io/openat64.c (__openat64_2): Moved to ...
16856         * io/openat64_2.c: ... this new file.
16857         * io/Makefile (routines): Add them.
16858         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16859         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16860         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16861         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16862         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16863         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16864         (__openat64): Add hidden_ver.
16865         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16866         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16868         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16869         Separately conditionalize setting of GLRO(dl_sysinfo) so
16870         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16871         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16873 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16875         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16876         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16877         definition.
16878         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16879         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16880         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16881         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16882         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16884 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16886         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16887         test signgam value.
16889         * math/libm-test.inc (hypot_test): Do not use
16890         IGNORE_ZERO_INF_SIGN.
16892 2013-05-03  Andreas Jaeger  <aj@suse.de>
16894         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16895         Linux 3.9.
16896         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16897         (PF_MAX): Adjust for VSOCK change.
16899 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16903 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16905         [BZ #15264]
16906         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16907         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16908         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16910 2013-05-02  David S. Miller  <davem@davemloft.net>
16912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16914 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16916         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16918 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16920         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16922 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16924         [BZ #14952]
16925         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16926         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16927         Use __attribute__ ((__gnu_inline__)).
16928         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16929         Don't use __attribute__ ((__gnu_inline__)).
16931 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16933         [BZ #15423]
16934         * math/s_catan.c (__catan): Handle small real or imaginary part of
16935         input specially to avoid spurious underflow.
16936         * math/s_catanf.c (__catanf): Likewise.
16937         * math/s_catanh.c (__catanh): Likewise.
16938         * math/s_catanhf.c (__catanhf): Likewise.
16939         * math/s_catanhl.c (__catanhl): Likewise.
16940         * math/s_catanl.c (__catanl): Likewise.
16941         * math/libm-test.inc (catan_test): Add more tests.
16942         (catanh_test): Likewise.
16943         * sysdeps/i386/fpu/libm-test-ulps: Update.
16944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16946 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16950 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16952         [BZ #15416]
16953         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16954         accurately for denominator in atan2.
16955         * math/s_catanf.c (__catanf): Likewise.
16956         * math/s_catanh.c (__catanh): Likewise.
16957         * math/s_catanhf.c (__catanhf): Likewise.
16958         * math/s_catanhl.c (__catanhl): Likewise.
16959         * math/s_catanl.c (__catanl): Likewise.
16960         * math/libm-test.inc (catan_test): Add more tests.
16961         (catanh_test): Likewise.
16962         * sysdeps/i386/fpu/libm-test-ulps: Update.
16963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16965 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16967         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16969         * benchtests/Makefile (bench): Remove slow benchmarks.
16970         * benchtests/atan-inputs: Add slow benchmark inputs.
16971         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16972         (BENCH_FUNC): Accept variant offset.
16973         (VARIANT): Define.
16974         * benchtests/bench-skeleton.c (main): Run benchmark for each
16975         variant.
16976         * benchtests/cos-inputs: Add slow benchmark inputs.
16977         * benchtests/exp-inputs: Likewise.
16978         * benchtests/pow-inputs: Likewise.
16979         * benchtests/sin-inputs: Likewise.
16980         * benchtests/slowatan-inputs: Remove.
16981         * benchtests/slowatan.c: Remove.
16982         * benchtests/slowcos-inputs: Remove.
16983         * benchtests/slowcos.c: Remove.
16984         * benchtests/slowexp-inputs: Remove.
16985         * benchtests/slowexp.c: Remove.
16986         * benchtests/slowpow-inputs: Remove.
16987         * benchtests/slowpow.c: Remove.
16988         * benchtests/slowsin-inputs: Remove.
16989         * benchtests/slowsin.c: Remove.
16990         * benchtests/slowtan-inputs: Remove.
16991         * benchtests/slowtan.c: Remove.
16992         * benchtests/tan-inputs: Add slow benchmark inputs.
16993         * scripts/bench.pl: Parse comments and directives.
16995         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16996         in CPPFLAGS.
16997         ($(objpfx)bench-%.c): Remove *-ITER.
16998         * benchtests/bench-modf.c: Remove definition of ITER.
16999         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17000         (main): Loop for DURATION seconds instead of fixed number of
17001         iterations.
17002         * scripts/bench.pl: Don't expect iterations in parameters.
17004 2013-04-29  Roland McGrath  <roland@hack.frob.com>
17006         * io/fchdir.c (__fchdir): Renamed from fchdir.
17007         (fchdir): Define as weak alias.
17009 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17011         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17012         (ERRNO_EDOM): Likewise.
17013         (ERRNO_ERANGE): Likewise.
17014         (noErrnoTests): New variable.
17015         (init_max_error): Set errno to 0.
17016         (test_single_errno): New function.
17017         (test_errno): Likewise.
17018         (check_float_internal): Call test_errno.  Set errno to 0.
17019         (check_complex): Refer to errno tests in comment.
17020         (check_int): Call test_errno.  Set errno to 0.
17021         (check_long): Likewise.
17022         (check_bool): Likewise.
17023         (check_longlong): Likewise.
17024         (cos_test): Use ERRNO_* flags for errno tests instead of
17025         check_int.
17026         (expm1_test): Likewise.
17027         (fmod_test): Likewise.
17028         (ilogb_test): Likewise.
17029         (lgamma_test): Likewise.
17030         (pow_test): Likewise.
17031         (remainder_test): Likewise.
17032         (sin_test): Likewise.
17033         (tan_test): Likewise.
17034         (yn_test): Likewise.
17035         (initialize): Set errno to 0.
17036         (main): Print number of errno tests.
17037         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17039 2013-04-29  Andreas Jaeger  <aj@suse.de>
17041         [BZ #15084]
17042         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17043         and RES_USEVC.
17045         [BZ #15085]
17046         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17047         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17048         unimplemented.
17050         [BZ #15380]
17051         * stdlib/random.c (__initstate): Return NULL if
17052         __initstate fails.
17054         [BZ #15086]
17055         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17056         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17057         RES_SNGLKUPREOP.
17059 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17063 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17065         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17066         of individual tests.
17067         (casin_test): Likewise.
17068         (casinh_test): Likewise.
17070 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
17072         [BZ #15409]
17073         * math/s_catan.c (__catan): Handle arguments with large real or
17074         imaginary part separately without squaring.
17075         * math/s_catanf.c (__catanf): Likewise.
17076         * math/s_catanh.c (__catanh): Likewise.
17077         * math/s_catanhf.c (__catanhf): Likewise.
17078         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17079         and redefine.
17080         (__catanhl): Handle arguments with large real or imaginary part
17081         separately without squaring.
17082         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17083         and redefine.
17084         (__catanl): Handle arguments with large real or imaginary part
17085         separately without squaring.
17086         * math/libm-test.inc (catan_test): Add more tests.
17087         (catanh_test): Likewise.
17088         * sysdeps/i386/fpu/libm-test-ulps: Update.
17089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17091 2013-04-27  Andreas Jaeger  <aj@suse.de>
17093         [BZ #15007]
17094         * stdlib/stdlib.h: Update guards for qecvt.
17095         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17096         <stdlib.h>.
17098 2013-04-27  Allan McRae  <allan@archlinux.org>
17100         * sysdeps/i386/fpu/libm-test-ulps: Update.
17102 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
17104         [BZ #15406]
17105         * math/s_catan.c: Include <float.h>.
17106         (__catan): Ensure underflow exception occurs for underflowed
17107         result.
17108         * math/s_catanf.c: Include <float.h>.
17109         (__catanf): Ensure underflow exception occurs for underflowed
17110         result.
17111         * math/s_catanh.c: Include <float.h>.
17112         (__catanh): Ensure underflow exception occurs for underflowed
17113         result.
17114         * math/s_catanhf.c: Include <float.h>.
17115         (__catanhf): Ensure underflow exception occurs for underflowed
17116         result.
17117         * math/s_catanhl.c: Include <float.h>.
17118         (__catanhl): Ensure underflow exception occurs for underflowed
17119         result.
17120         * math/s_catanl.c: Include <float.h>.
17121         (__catanl): Ensure underflow exception occurs for underflowed
17122         result.
17123         * math/libm-test.inc (catan_test): Add more tests.
17124         (catanh_test): Likewise.
17126         [BZ #15405]
17127         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17128         underflowed result.
17129         * math/s_ccoshf.c (__ccoshf): Likewise.
17130         * math/s_ccoshl.c (__ccoshl): Likewise.
17131         * math/s_csin.c (__csin): Likewise.
17132         * math/s_csinf.c (__csinf): Likewise.
17133         * math/s_csinh.c (__csinh): Likewise.
17134         * math/s_csinhf.c (__csinhf): Likewise.
17135         * math/s_csinhl.c (__csinhl): Likewise.
17136         * math/s_csinl.c (__csinl): Likewise.
17137         * math/libm-test.inc (ccos_test): Add more tests.
17138         (ccosh_test): Likewise.
17139         (csin_test): Likewise.
17140         (csinh_test): Likewise.
17142 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17144         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17145         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17146         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17147         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17148         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17149         powerpc/power5+/fpu folders.
17150         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17153 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17157 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
17159         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17160         additions to variable.
17161         [$(config-machine) = x86_64] (modules-names): Likewise.
17162         ($(objpfx)tst-audit3): Remove dependency.
17163         ($(objpfx)tst-audit3.out): Likewise.
17164         ($(objpfx)tst-audit4): Likewise.
17165         ($(objpfx)tst-audit4.out): Likewise.
17166         ($(objpfx)tst-audit5): Likewise.
17167         ($(objpfx)tst-audit5.out): Likewise.
17168         ($(objpfx)tst-audit6): Likewise.
17169         ($(objpfx)tst-audit6.out): Likewise.
17170         ($(objpfx)tst-audit7): Likewise.
17171         ($(objpfx)tst-audit7.out): Likewise.
17172         (tst-audit3-ENV): Remove variable.
17173         (tst-audit4-ENV): Likewise.
17174         (tst-audit5-ENV): Likewise.
17175         (tst-audit6-ENV): Likewise.
17176         (tst-audit7-ENV): Likewise.
17177         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17178         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17179         addition to variable.
17180         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17181         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17182         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17183         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17184         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17185         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17186         tst-audit3, tst-audit4 and tst-audit5.
17187         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17188         tst-audit6 and tst-audit7.
17189         [$(subdir) = elf] (modules-names): Add audit modules for those
17190         tests.
17191         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17192         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17193         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17194         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17195         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17196         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17197         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17198         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17199         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17200         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17201         [$(subdir) = elf] (tst-audit3-ENV): New variable.
17202         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17203         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17204         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17205         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17206         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17207         Likewise.
17208         [$(subdir) = elf && $(config-cflags-avx) = yes]
17209         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17210         [$(subdir) = elf && $(config-cflags-avx) = yes]
17211         (CFLAGS-tst-auditmod4a.c): Likewise.
17212         [$(subdir) = elf && $(config-cflags-avx) = yes]
17213         (CFLAGS-tst-auditmod4b.c): Likewise.
17214         [$(subdir) = elf && $(config-cflags-avx) = yes]
17215         (CFLAGS-tst-auditmod6b.c): Likewise.
17216         [$(subdir) = elf && $(config-cflags-avx) = yes]
17217         (CFLAGS-tst-auditmod6c.c): Likewise.
17218         [$(subdir) = elf && $(config-cflags-avx) = yes]
17219         (CFLAGS-tst-auditmod7b.c): Likewise.
17220         * elf/tst-audit3.c: Move to ...
17221         * sysdeps/x86_64/tst-audit3.c: ... here.
17222         * elf/tst-audit4.c: Move to ...
17223         * sysdeps/x86_64/tst-audit4.c: ... here.
17224         * elf/tst-audit5.c: Move to ...
17225         * sysdeps/x86_64/tst-audit5.c: ... here.
17226         * elf/tst-audit6.c: Move to ...
17227         * sysdeps/x86_64/tst-audit6.c: ... here.
17228         * elf/tst-audit7.c: Move to ...
17229         * sysdeps/x86_64/tst-audit7.c: ... here.
17230         * elf/tst-auditmod3a.c: Move to ...
17231         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17232         * elf/tst-auditmod3b.c: Move to ...
17233         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17234         * elf/tst-auditmod4a.c: Move to ...
17235         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17236         * elf/tst-auditmod4b.c: Move to ...
17237         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17238         * elf/tst-auditmod5a.c: Move to ...
17239         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17240         * elf/tst-auditmod5b.c: Move to ...
17241         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17242         * elf/tst-auditmod6a.c: Move to ...
17243         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17244         * elf/tst-auditmod6b.c: Move to ...
17245         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17246         * elf/tst-auditmod6c.c: Move to ...
17247         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17248         * elf/tst-auditmod7a.c: Move to ...
17249         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17250         * elf/tst-auditmod7b.c: Move to ...
17251         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17253 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
17255         [BZ #15366]
17256         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17257         define unconditionally.
17258         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17259         define unconditionally.
17260         (INT8_C, INT16_C, etc.): Likewise.
17262 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
17264         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17265         __ehdr_start with hidden visibility.
17267         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17269 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
17271         * math/libm-test.inc (cos_test): Use accurate hex constants.
17272         (sincost_test): Likewise.
17274 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
17276         * math/libm-test.inc (catan_test): Add more tests.
17277         (catanh_test): Likewise.
17279         * math/s_catanf.c (__catanf): Use suffixed floating-point
17280         constants.
17281         * math/s_catanhf.c (__catanhf): Likewise.
17282         * math/s_catanhl.c (__catanhl): Likewise.
17283         * math/s_catanl.c (__catanl): Likewise.
17285         [BZ #15394]
17286         * math/s_catan.c (__catan): Calculate imaginary part of result
17287         with log1p not log unless computing log of number close to 0.
17288         * math/s_catanf.c (__catanf): Likewise.
17289         * math/s_catanl.c (__catanl): Likewise.
17290         * math/s_catanh.c (__catanh): Calculate real part of result with
17291         log1p not log unless computing log of number close to 0.
17292         * math/s_catanhf.c (__catanhf): Likewise.
17293         * math/s_catanhl.c (__catanhl): Likewise.
17294         * math/libm-test.inc (catan_test): Add more tests.
17295         (catanh_test): Likewise.
17296         * sysdeps/i386/fpu/libm-test-ulps: Update.
17297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17299 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17301         * benchtests/Makefile: Mention files in which fast and slow
17302         paths of math functions are implemented.
17304 2013-04-23  Roland McGrath  <roland@hack.frob.com>
17306         * sysdeps/posix/timespec_get.c: New file.
17308 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17310         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17311         POWER.
17312         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17313         for POWER.
17314         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17315         powerpc/power5/fpu folders.
17316         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17317         * benchtests/Makefile: Add modf testcase.
17318         * benchtests/bench-modf.c: New file: Benchmark test for mo
17320 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17322         [BZ #14888]
17323         * time/Makefile (tests): Add tst-strptime-whitespace.
17324         * time/strptime_l.c (get_number): Use ISSPACE.
17325         (__strptime_internal): Likewise.
17326         * time/tst-strptime-whitespace.c: New test case.
17328 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
17330         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17331         member.
17332         (_nss_files_init): Set it here.
17334 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
17336         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17337         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17338         unsigned.
17340 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
17342         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17344 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17346         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17347         size just once.
17349 2013-04-21  David S. Miller  <davem@davemloft.net>
17351         * po/ru.po: Update Russion translation from translation project.
17353 2013-04-17  Adam Conrad  <adconrad@0c3.net>
17355         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17356         and setfsgid.
17358 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
17360         * configure.in: Remove i386 configure warning. Remove i386 case.
17361         * configure: Regenerate.
17362         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17363         Add example to error message.
17364         * sysdeps/i386/configure: Regenerate.
17366 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17368         * benchtests/Makefile (bench): Add cos, tan, slowcos and
17369         slowtan.
17370         * benchtests/cos-inputs: New file.
17371         * benchtests/slowcos-inputs: New file.
17372         * benchtests/slowcos.c: New file.
17373         * benchtests/slowtan-inputs: New file.
17374         * benchtests/slowtan.c: New file.
17375         * benchtests/tan-inputs: New file.
17377 2013-04-16  Roland McGrath  <roland@hack.frob.com>
17379         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17380         considered kosher.
17382 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17384         * benchtests/Makefile: Include cppflags-iterator.mk to add
17385         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17387         * Makefile.in (bench-clean): New target.
17388         * benchtests/Makefile (bench-clean): Likewise.
17390 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
17392         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17394 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
17396         * stdio-common/tstdiomisc.c: Fix coding-style violation.
17398 2013-04-15  Andreas Schwab  <schwab@suse.de>
17400         * nscd/grpcache.c (cache_addgr): Properly check for short write.
17401         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17402         * nscd/pwdcache.c (cache_addpw): Likewise.
17403         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
17404         more than recsize.
17406 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17408         * benchtests/Makefile (bench): Write all output to
17409         bench-out.tmp together.
17411 2013-04-15  Andreas Schwab  <schwab@suse.de>
17413         * nscd/nscd.c (main): Don't fork again after closing files.
17415 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17417         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17419         * benchtests/Rules (bench-deps): Collect dependencies into a
17420         single variable.  Add Makefile to dependencies.
17421         ($(objpfx)bench-%.c): Depend on bench-deps.
17423 2013-04-12  Roland McGrath  <roland@hack.frob.com>
17424             Xavier Roche  <roche+kml2@exalead.com>
17426         [BZ #15361]
17427         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17428         just that it's a file descriptor.
17429         * manual/llio.texi (Synchronizing AIO Operations): Update description
17430         for EBADF error from aio_fsync.
17432 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17434         * Rules (bench): Move target definition...
17435         * benchtests/Makefile: ... here.
17437 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
17439         * math/libm-test.inc (cos_test): Fix PI/2 test.
17440         (sincos_test): Likewise.
17441         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17442         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17444 2013-04-11  Andreas Schwab  <schwab@suse.de>
17446         [BZ #13988]
17447         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17448         accept exponent character only when digits were seen.
17449         * stdio-common/Makefile (tests): Add bug26.
17450         * stdio-common/bug26.c: New file.
17452         [BZ #14293]
17453         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17454         non-freeable.
17456 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17458         * Makeconfig (rtld-prefix): Define built linker prefix.
17459         * Rules (run-bench): Use it.
17460         * math/Makefile (run-regen-ulps): Likewise.
17462         * Rules (bench): Remove eval.
17464 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17465             Roland McGrath  <roland@hack.frob.com>
17466             Ondrej Bilka  <neleai@seznam.cz>
17468         [BZ #15346]
17469         * time/getdate.c: Include ctype.h and alloca.h.
17470         (__getdate_r): Trim leading and trailing spaces of input.
17471         * time/tst-getdate.c (tests): Add tests with leading and
17472         trailing spaces.
17474 2013-04-08  Roland McGrath  <roland@hack.frob.com>
17476         [BZ #14280]
17477         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17478         when computing value.
17480 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17482         * math/README.libm-test (How can I generate "libm-test-ulps"?):
17483         Use testrun.sh to run libm tests.
17485         [BZ #15309]
17486         * elf/dl-open.c (dl_open_worker): memset all of seen array.
17488 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
17490         [BZ #15264]
17491         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17493 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17495         * Makefile.in (regen-ulps): New target.
17496         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17497         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17498         [ifneq (no,$(PERL)] (regen-ulps): New target.
17499         [ifeq (no,$(PERL)] (regen-ulps): New target.
17500         * math/libm-test.inc (ulps_file_name): Define.
17501         (output_dir): New variable.
17502         (options): Add "output-dir" option.
17503         (parse_opt): Handle 'o' case.
17504         (main): If output_dir is non-NULL use it as a prefix
17505         otherwise use "".
17506         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17508 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17510         [BZ #10060, #10062]
17511         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17512         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17513         fail configure if __sync_val_compare_and_swap is not inlined.
17514         * sysdeps/i386/configure: Regenerate.
17515         * configure.in: Build for i686 when configured for i386.
17516         * configure: Regenerate.
17517         * README: Remove i386 reference.
17519 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17521         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17522         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17524 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17526         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17527         (lmsnanval): New variables.
17528         (F): Add conversion tests.
17529         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17530         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17532         * stdio-common/tstdiomisc.c (F): Properly collect individual
17533         tests' results.
17535         [BZ #14686, #15336]
17536         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17537         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17538         Instead, use input NaN values or generate a qNaN by arithmetic
17539         operation.  Also fix bugs to comply with the standard.
17540         * math/libm-test.inc (remainder_test): Add more tests.
17542         [BZ #15335, #15342]
17543         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17544         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17545         input NaN values or generate a qNaN by arithmetic operation.
17547         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17548         unreachable code.
17550         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17551         definitions.
17553 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
17555         [BZ #14478]
17556         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17557         underflowed result.
17558         * math/s_cexpf.c (__cexpf): Likewise.
17559         * math/s_cexpl.c (__cexpl): Likewise.
17560         * math/libm-test.inc (cexp_test): Add more tests.
17562 2013-04-03  Andreas Schwab  <schwab@suse.de>
17564         [BZ #15330]
17565         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17566         order arrays from heap if bigger than alloca cutoff.
17568 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
17570         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17571         (SNAN_TESTS_double): Refer to GCC PR56831.
17572         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17573         GCC PR56828.
17575 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17577         * Rules (bench): Move bench.out after the run is complete.
17579         * Rules (bench): Echo currently running benchmark.
17581         * benchtests/Makefile (bench): Add atan and slowatan.
17582         * benchtests/atan-inputs: New file.
17583         * benchtests/slowatan-inputs: New file.
17584         * benchtests/slowatan.c: New file.
17586         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17587         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17588         its value.
17590         [BZ #15305]
17591         * sysdeps/unix/sysv/linux/kernel-features.h
17592         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17593         __ASSUME_XFS_RESTRICTED_CHOWN.
17594         * sysdeps/unix/sysv/linux/pathconf.c
17595         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17596         Save and restore errno.
17598 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17600         [BZ #15327]
17601         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17602         arguments using __kernel_casinh.
17603         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17604         arguments using __kernel_casinhf.
17605         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17606         arguments using __kernel_casinhl.
17607         * math/libm-test.inc (cacosh_test): Add more tests.
17608         * sysdeps/i386/fpu/libm-test-ulps: Update.
17609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17611 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17613         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17616         * bench/Makefile (bench): Add sin and slowsin.
17617         * benchtests/sin-inputs: New file.
17618         * benchtests/slowsin-inputs: New file.
17619         * benchtests/slowsin.c: New file.
17621         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17622         (bench): Add slowexp and slowpow.
17623         (exp-ITER): Increase iterations.
17624         (pow-ITER): Likewise.
17625         * benchtests/exp-inputs: Change input.
17626         * benchtests/pow-inputs: Likewise.
17627         * benchtests/slowexp-inputs: New file.
17628         * benchtests/slowexp.c: New file.
17629         * benchtests/slowpow-inputs: New file.
17630         * benchtests/slowpow.c: New file.
17632 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17634         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17635         instructions.
17636         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17637         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17638         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17639         * benchtests/Makefile: Add rint benchtest.
17640         * benchtests/rint-inputs: Input for rint benchtest.
17642 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17644         * Versions.def (libm): Add GLIBC_2.18.
17645         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17646         hidden libm prototypes.
17647         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17648         * math/Makefile (libm-calls): Add s_issignaling.
17649         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17650         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17651         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17652         declaration.
17653         * math/math.h [__USE_GNU] (issignaling): New macro.
17654         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17655         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17656         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17657         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17658         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17659         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17660         * manual/arith.texi (issignaling): New section.
17661         * manual/libm-err-tab.pl (@all_functions): Update comment.
17662         * math/gen-libm-test.pl (parse_args): Apply special handling for
17663         issignaling.
17664         * math/libm-test.inc (print_float, issignaling_test): New
17665         functions.
17666         (check_float_internal): Add issignaling checks.
17667         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17668         default definition.
17669         * sysdeps/powerpc/math-tests.h: New file.
17670         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17671         tests.
17672         * math/test-snan.c (TEST_FUNC): Likewise.
17674 2013-03-30  David S. Miller  <davem@davemloft.net>
17676         * po/de.po: Update from translation team.
17678 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17680         [BZ #10357]
17681         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17682         imaginary part less than 1.0 and real part less than 0.5
17683         specially.
17684         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17685         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17686         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17687         (cacos_test): Add more tests.
17688         (casin_test): Likewise.
17689         (casinh_test): Likewise.
17690         * sysdeps/i386/fpu/libm-test-ulps: Update.
17691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17693 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17695         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17696         ONE with its value.
17698         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17699         (__pow_mp): Replace ONE and MONE with their values.
17700         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17701         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17702         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17703         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17704         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17705         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17707         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17709         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17710         (__pow_mp): Replace ZERO and MZERO with their values.
17711         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17712         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17713         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17714         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17715         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17716         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17717         (__sqr): Likewise.
17719         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17721         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17723 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17725         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17726         Declare with __attribute__ ((weak)).
17727         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17728         Call __call_tls_dtors only if it's not NULL.
17730 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17732         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17733         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17734         magic __ehdr_start linker symbol if it's defined.
17735         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17736         them up here if it was already done.
17738         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17739         (_dl_aux_init): Use const in cast when setting it.
17740         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17741         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17742         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17744         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17745         Declare them here.
17746         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17747         * csu/libc-tls.c: Nor here.
17748         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17750         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17751         (__libc_message): Never call vsyslog.
17753 2013-03-28  Alan Modra  <amodra@gmail.com>
17755         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17756         Define as empty.
17757         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17758         Likewise.
17760 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17762         [BZ #15214]
17763         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17764         underflow.
17765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17767 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17769         [BZ #15304]
17770         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17771         Don't add gid passed as argument.
17773         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17775 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17777         [BZ #15307]
17778         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17779         imaginary part between 1.0 and 1.5 and real part less than 0.5
17780         specially.
17781         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17782         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17783         * math/libm-test.inc (cacos_test): Add more tests.
17784         (casin_test): Likewise.
17785         (casinh_test): Likewise.
17786         * sysdeps/i386/fpu/libm-test-ulps: Update.
17787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17789 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17791         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17792         constants.
17793         (norm): Likewise.
17794         (denorm): Likewise.
17795         (__dbl_mp): Likewise.
17796         (add_magnitudes): Likewise.
17797         (sub_magnitudes): Likewise.
17798         (__add): Likewise.
17799         (__sub): Likewise.
17800         (__mul): Likewise.
17801         (__sqr): Likewise.
17802         (__inv): Likewise.
17803         (__dvd): Likewise.
17805         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17806         commented code.
17807         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17808         (__dubcos): Likewise.
17809         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17810         (__ieee754_acos): Likewise.
17811         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17812         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17813         (__exp1): Likewise.
17814         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17815         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17816         (log1): Likewise.
17817         (my_log2): Likewise.
17818         (checkint): Likewise.
17819         * sysdeps/ieee754/dbl-64/e_remainder.c
17820         (__ieee754_remainder): Likewise.
17821         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17823         (bsloww): Likewise.
17824         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17826         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17827         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17828         MANTISSA_STORE_T to store computations on mantissa.  Use
17829         macros for rounding and division.
17830         (denorm): Likewise.
17831         (__dbl_mp): Likewise.
17832         (add_magnitudes): Likewise.
17833         (sub_magnitudes): Likewise.
17834         (__mul): Likewise.
17835         (__sqr): Likewise.
17836         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17837         powers of two in terms of TWOPOW macro.
17838         (mp_no): Make type of mantissa as MANTISSA_T.
17839         [!RADIXI]: Define RADIXI.
17840         [!TWO52]: Define TWO52.
17841         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17843 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17845         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17846         llroundl symbol when building for PPC32.
17848 2013-03-24  Mark H Weaver  <mhw@netris.org>
17850         * manual/arith.texi (Normalization Functions): Fix prototypes for
17851         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17853 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17855         [BZ #13889]
17856         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17857         high value to check if expl overflow.
17858         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17859         to check for underflow and overflow.
17860         * math/libm-test.inc: Add exp test.
17862 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17864         [BZ #11120]
17865         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17866         with NOT_IN_libc.
17868 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17870         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17871         symbol.
17873 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17875         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17876         wrap blocks consisting of several statements.
17878         * sysdeps/generic/math-tests.h: New file.
17879         * sysdeps/i386/fpu/math-tests.h: Likewise.
17880         * math/test-snan.c: Include it.
17881         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17883 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17885         [BZ #15285]
17886         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17887         (__ieee754_j0l): Do not improve calculations using cos of twice
17888         input for inputs above LDBL_MAX / 2.0L.
17889         (__ieee754_y0l): Likewise.
17890         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17891         (__ieee754_j1l): Do not improve calculations using cos of twice
17892         input for inputs above LDBL_MAX / 2.0L.
17893         (__ieee754_y1l): Likewise.
17894         * math/libm-test.inc (j0_test): Add another test.
17895         (j1_test): Likewise.
17896         (y0_test): Likewise.
17897         (y1_test): Likewise.
17898         * sysdeps/i386/fpu/libm-test-ulps: Update.
17900 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17902         * Rules ($(objpfx)bench-%.c): Include code from a C source
17903         file.
17905 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17907         [BZ #15287]
17908         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17909         imaginary part 1.0 and real part less than 0.5 specially.
17910         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17911         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17912         * math/libm-test.inc (cacos_test): Add more tests.
17913         (casin_test): Likewise.
17914         (casinh_test): Likewise.
17915         * sysdeps/i386/fpu/libm-test-ulps: Update.
17916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17918 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17920         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17921         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17923 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17925         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17926         * config.make.in (config-cflags-sse4): Remove variable.
17927         (config-cflags-avx): Likewise.
17928         (config-cflags-sse2avx): Likewise.
17929         (config-cflags-novzeroupper): Likewise.
17930         (config-asflags-i686): Likewise.
17931         (have-mfma4): Likewise.
17932         (have-as-vis3): Likewise.
17933         (MIG): Likewise.
17934         * configure.in (MIG): Do not AC_SUBST.
17935         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17936         (libc_cv_cc_sse4): Do not AC_SUBST.
17937         (libc_cv_cc_avx): Likewise.
17938         (libc_cv_cc_sse2avx): Likewise.
17939         (libc_cv_cc_novzeroupper): Likewise.
17940         (libc_cv_cc_fma4): Likewise.
17941         (libc_cv_as_i686): Likewise.
17942         (libc_cv_sparc_as_vis3): Likewise.
17943         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17944         LIBC_CONFIG_VAR.
17945         (config-asflags-i686): Likewise.
17946         (config-cflags-avx): Likewise.
17947         (config-cflags-sse2avx): Likewise.
17948         (have-mfma4): Likewise.
17949         (config-cflags-novzeroupper): Likewise.
17950         * sysdeps/mach/configure.in (MIG): Likewise.
17951         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17952         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17953         LIBC_CONFIG_VAR.
17954         (config-cflags-avx): Likewise.
17955         (config-cflags-sse2avx): Likewise.
17956         (have-mfma4): Likewise.
17957         (config-cflags-novzeroupper): Likewise.
17958         * configure: Regenerated.
17959         * sysdeps/i386/configure: Likewise.
17960         * sysdeps/mach/configure: Likewise.
17961         * sysdeps/sparc/configure: Likewise.
17962         * sysdeps/x86_64/configure: Likewise.
17964 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17966         [BZ #14812]
17967         * locale/programs/localedef.c (options): Put N_ translation marker
17968         on argument names, not just descriptions.
17970 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17972         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17974 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17976         [BZ #14176]
17977         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17979 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17981         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17982         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17983         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17984         [!BEFORE_ABORT] (before_abort): New function.
17985         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17986         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17987         (writev_for_fatal): New function.
17988         (WRITEV_FOR_FATAL): New macro; call that.
17989         (backtrace_and_maps): New function.
17990         (BEFORE_ABORT): New macro; call that.
17991         (struct str_list): Type removed.
17992         (__libc_message, __libc_fatal): Functions removed.
17993         Include <sysdeps/posix/libc_fatal.c> instead.
17995 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17997         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17998         constants.
17999         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18000         double constants.
18002 2013-03-19  Andreas Schwab  <schwab@suse.de>
18004         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18005         * sysdeps/gnu/configure: Regenerate.
18007         * configure.in: Substitute libc_cv_rtlddir.
18008         * configure: Regenerate.
18009         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18010         * Makeconfig (rtlddir, inst_rtlddir): New variables.
18011         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18012         * elf/Makefile (install-others, CFLAGS-interp.c)
18013         (ldso_install, common-ldd-rewrite): Likewise.
18014         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18015         $(inst_slibdir)/$(rtld-installed-name).
18016         * scripts/rellns-sh: Add -p option.
18017         * Makerules (make-shlib-link): Use rellns-sh to get relative name
18018         for source.
18020 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18022         * manual/nptl.texi: Renamed to ...
18023         * manual/threads.texi: ... this.
18024         * manual/Makefile (chapters): Update.
18026 2013-03-18  Roland McGrath  <roland@hack.frob.com>
18028         [BZ #14812]
18029         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18030         on argument names, not just descriptions.
18031         * malloc/memusagestat.c (options): Likewise.
18032         * nss/getent.c (options): Likewise.
18034 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
18036         [BZ #14812]
18037         * iconv/iconv_prog.c (options): Put N_ translation marker
18038         on argument names, not just descriptions.
18039         * iconv/iconvconfig.c (options): Likewise.
18041 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
18043         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18044         implementation which is faster on all x86_64 architectures.
18045         Tested on AMD, Intel Nehalem, SNB, IVB.
18046         * sysdeps/x86_64/strnlen.S: Likewise.
18048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18049         Remove all multiarch strlen and strnlen versions.
18050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18051         Remove strlen and strnlen related parts.
18053         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18054         Inline strlen part.
18055         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18057         * sysdeps/x86_64/multiarch/strlen.S: Remove.
18058         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18059         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18060         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18061         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18062         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18064 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
18066         * manual/memory.texi (Malloc Tunable Parameters):
18067         Sort parameters alphabetically. Add comments for missing entries.
18069 2013-03-17  David S. Miller  <davem@davemloft.net>
18071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18073 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
18075         [BZ #15283]
18076         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18077         for arguments at most half maximum finite value.
18078         * math/libm-test.inc (j0_test): Add more tests.
18079         (j1_test): Likewise.
18080         (y0_test): Likewise.
18081         (y1_test): Likewise.
18082         * sysdeps/i386/fpu/libm-test-ulps: Update.
18083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18085         [BZ #14155]
18086         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18087         1 / x and functions P and Q for arguments above 0x1p256L.
18088         (__ieee754_y0l): Likewise.
18089         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18090         (__ieee754_y1l): Likewise.
18091         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18092         (j1_test): Likewise.
18093         (y0_test): Likewise.
18094         (y1_test): Likewise.
18096 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
18098         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18099         variable.
18101 2013-03-15  Roland McGrath  <roland@hack.frob.com>
18103         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18104         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18105         zero since it's initialized to EXEC_PAGESIZE.
18107         * sysdeps/unix/sysv/linux/ldsodefs.h
18108         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18109         * sysdeps/generic/ldsodefs.h: ... here.
18111 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
18113         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18115         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18116         math/test-snan.c.
18117         * math/test-snan.c: Renamed from
18118         sysdeps/powerpc/fpu/test-powerpc-snan.c.
18119         * math/Makefile (tests): Add test-snan.
18120         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18121         test-powerpc-snan.
18123         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18124         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
18125         functions.
18126         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
18127         __builtin_nan family of functions.
18128         * math/libm-test.inc (initialize): Initialize qnan_value with
18129         __builtin_nan family of functions.
18130         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18131         Remove variables.
18132         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18133         Remove functions.
18134         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
18135         storage class.  Initialize qNaN_var and sNaN_var with
18136         __builtin_nan and __builtin_nans families of functions,
18137         respectively.
18139         * math/libm-test.inc (acosh_test): Also test with qNaN input.
18140         (sqrt_test): Remove duplicate test with qNaN input.
18141         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18142         (round_test, signbit_test, significand_test): Note missing +/-Inf
18143         as well as qNaN tests.
18145         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18146         qNaN_var.  Fix a few strings, too.
18147         * math/libm-test.inc (nan_value): Rename to qnan_value.
18148         * math/gen-libm-test.pl (%beautify): Adjust to that.
18149         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18150         * math/test-misc.c (main): Likewise.
18151         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18152         to __qnan_bytes, and __qnan_union, respectively.
18153         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18154         Likewise.
18155         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18156         and lqnanval, respectively.
18157         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18158         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18159         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18160         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18162         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18163         * math/test-misc.c (main) [__x86_64__]: Enable test for long
18164         doubles.
18166         * math/test-misc.c (main): Fix copy'n'pastos.
18167         * misc/tst-efgcvt.c (special): Likewise.
18169         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18170         Remove declarations.
18172 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18174         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18175         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18176         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18177         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18179 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18181         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18182         macro to return vdso values correctly in IFUNC implementations.
18183         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18184         Optimization by using IFUNC.
18186 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18187             Richard Henderson  <rth@redhat.com>
18188             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18190         * Makefile.in (bench): New target.
18191         * NEWS: Mention the benchmark framework.
18192         * Rules (bench): Likewise.
18193         (binaries-bench): Generate binaries for functions to
18194         benchmark.
18195         * benchtests/Makefile: New makefile for benchmark tests.
18196         * benchtests/bench-skeleton.c: New skeleton file for benchmark
18197         programs.
18198         * benchtests/exp-inputs: New input file for EXP function.
18199         * benchtests/pow-inputs: New input file for POW function.
18200         * scripts/bench.pl: New script to generate source files for
18201         benchmark programs.
18203 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18205         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18206         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18207         computations on mantissa.  Use macros for rounding and
18208         division.
18209         (denorm): Likewise.
18210         (__dbl_mp): Likewise.
18211         (add_magnitudes): Likewise.
18212         (sub_magnitudes): Likewise.
18213         (__mul): Likewise.
18214         (__sqr): Likewise.
18215         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18216         powers of two in terms of TWOPOW macro.
18217         (mp_no): Make type of mantissa as MANTISSA_T.
18218         [!RADIXI]: Define RADIXI.
18219         [!TWO52]: Define TWO52.
18220         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18222         * manual/nptl.texi (cindex): Modify threads to pthreads.
18224 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
18226         * sysdeps/x86_64/preconfigure: Regenerated.
18228 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
18230         [BZ #14155]
18231         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18232         0x1p28 and above.
18233         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18234         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18235         0x1p28 and above.
18236         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18237         * math/libm-test.inc (j0_test): Do not allow one spurious
18238         underflow exception.
18239         (y1_test): Likewise.
18241 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18243         * manual/Makefile (chapters): Add nptl.
18244         * manual/debug.texi (Debugging Support): Add link to Threads
18245         chapter.
18246         * manual/nptl.texi: New file.
18248         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18250 2013-03-14  Petr Baudis  <pasky@ucw.cz>
18252         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18253         for non-NULL pointer before the memory validity test. Pointed
18254         out by Holger Brunck <holger.brunck@keymile.com>.
18256 2013-03-13  Andreas Schwab  <schwab@suse.de>
18258         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18259         instead of .os.
18261 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
18263         * timezone/zic.c: Update from tzcode 2013b.
18265 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
18267         * manual/install.texi (Configuring and compiling):
18268         Mention i686 and i586.
18269         * INSTALL: Regenerate.
18271 2013-03-12  Roland McGrath  <roland@hack.frob.com>
18273         * sysdeps/init_array/elf-init.c: New file.
18274         * csu/elf-init.c
18275         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18276         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18278         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18279         __gmon_start__ as global, but as static with a .preinit_array pointer.
18280         * sysdeps/init_array/gmon-start.c: New file.  Use that.
18281         * sysdeps/init_array/crti.S: New file, empty except for comments.
18282         * sysdeps/init_array/crtn.S: Likewise.
18284 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
18286         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18287         definining bcopy.
18288         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18289         Remove Prefer_SSE_for_memop.
18290         * sysdeps/x86_64/multiarch/init-arch.h: Remove
18291         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18292         HAS_PREFER_SSE_FOR_MEMOP.
18293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18294         memset-x86-64.
18295         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18296         Remove bzero, memset ifunc support.
18297         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18298         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18299         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18300         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18302 2013-03-11  Andreas Schwab  <schwab@suse.de>
18304         [BZ #15234]
18305         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18306         by SHLIB_COMPAT.
18307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18308         (GLIBC_2.16): Remove pthread_atfork.
18310 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18312         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18313         (ptestcases.h): Likewise.
18315 2013-03-08  Roland McGrath  <roland@hack.frob.com>
18317         * Makeconfig ($(common-objpfx)config.status): Depend on
18318         sysdeps/*/preconfigure{,.in} too.
18320 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
18322         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18323         (__free_hook): Use void * instead of __malloc_ptr_t.
18324         (__malloc_hook): Likewise.
18325         (__realloc_hook): Likewise.
18326         (__memalign_hook): Likewise.
18327         (__after_morecore_hook): Likewise.
18328         * malloc/arena.c (save_malloc_hook): Likewise.
18329         (save_free_hook): Likewise.
18330         * malloc/hooks.c (malloc_hook_ini): Likewise.
18331         (realloc_hook_ini): Likewise.
18332         (memalign_hook_ini): Likewise.
18333         * malloc/malloc.c (malloc_hook_ini): Likewise.
18334         (realloc_hook_ini): Likewise.
18335         (memalign_hook_ini): Likewise.
18336         (__free_hook): Likewise.
18337         (__malloc_hook): Likewise.
18338         (__realloc_hook): Likewise.
18339         (__memalign_hook): Likewise.
18340         (__libc_malloc): Likewise.
18341         (__libc_free): Likewise.
18342         (__libc_realloc): Likewise.
18343         (__libc_memalign): Likewise.
18344         (__libc_valloc): Likewise.
18345         (__libc_pvalloc): Likewise.
18346         (__libc_calloc): Likewise.
18347         (__posix_memalign): Likewise.
18348         * malloc/morecore.c (__sbrk): Likewise.
18349         (__default_morecore): Likewise.
18351         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18353         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18354         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18355         __malloc_ptrdiff_t.
18357         * malloc/malloc.h (__malloc_size_t): Remove macro.
18358         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18359         __malloc_size_t.
18360         (old_memalign_hook): Likewise.
18361         (old_realloc_hook): Likewise.
18362         (struct hdr): Likewise.
18363         (flood): Likewise.
18364         (mallochook): Likewise.
18365         (memalignhook): Likewise.
18366         (reallochook): Likewise.
18367         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18368         (tr_old_realloc_hook): Likewise.
18369         (tr_old_memalign_hook): Likewise.
18370         (tr_mallochook): Likewise.
18371         (tr_reallochook): Likewise.
18372         (tr_memalignhook): Likewise.
18374 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18376         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18377         default_ldbl_pack and using as default implementation.
18378         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18379         implementation.
18380         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18381         redundant definition.
18382         (ldbl_insert_mantissa): Likewise.
18383         (ldbl_canonicalize): Likewise.
18384         (ldbl_nearbyint): Likewise.
18385         (ldbl_pack): Rename to ldbl_pack_ppc.
18386         (ldbl_unpack): Rename to ldbl_unpack_ppc.
18387         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18388         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18390 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18393         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18394         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18395         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18397         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18398         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18399         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18401 2013-03-07  Andreas Jaeger  <aj@suse.de>
18403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18404         bits/mman-linux.h.
18406 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18408         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18409         Include mpa.h and declare __MPEXP.
18410         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18411         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18412         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18413         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18414         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18415         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18416         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18418         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18419         (__slowpow): Use long double EXPL and LOGL functions to
18420         compute POW.
18421         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18422         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18423         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18424         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18425         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18426         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18429         intermediate variable to calculate exponent.
18430         (__sqr): Likewise.
18431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18432         Likewise.
18433         (__sqr): Likewise.
18435         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18436         [!NO__SQR]: Define __sqr.
18437         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18438         and NO__SQR.  Remove all code except __mul and __sqr.  Include
18439         sysdeps/ieee754/dbl-64/mpa.c.
18440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18442         [BZ #12723]
18443         * posix/Makefile (tests): Add tst-pathconf.
18444         * posix/tst-pathconf.c: New test case.
18445         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18446         _PC_PIPE_BUF.
18447         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18449 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
18451         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18453 2013-03-06  Andreas Jaeger  <aj@suse.de>
18455         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18456         definition via __MAP_ANONYMOUS.
18458         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18459         it's not part of Linux headers.
18461         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18462         (MAP_HUGE_MASK): Define.
18464         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18465         Define.
18466         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18467         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18468         Define.
18469         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18470         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18471         Define.
18472         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18473         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18474         Define.
18475         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18477         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18478         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18479         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18480         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18481         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18482         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18484         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18485         Handle f2fs.
18487         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18488         Handle f2fs and efivarfs.
18490         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18491         f2fs.
18493         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18494         (EFIVARFS_MAGIC): Add.
18495         (F2FS_LINK_MAX): Add.
18497 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18499         * stdio-common/vfprintf.c: Replace __builtin_expect with
18500         __glibc_unlikely.
18502 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
18504         [BZ #13550]
18505         * sysdeps/generic/bp-sym.h: Remove file.
18506         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18507         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18508         <bp-sym.h> and <bp-asm.h>.
18509         (__longjmp): Don't use BP_SYM.
18510         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18511         and <bp-asm.h>.
18512         (memcpy): Don't use BP_SYM.
18513         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18514         <bp-sym.h> and <bp-asm.h>.
18515         (memcpy): Don't use BP_SYM.
18516         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18517         <bp-asm.h>.
18518         (memcpy): Don't use BP_SYM.
18519         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18520         <bp-asm.h>.
18521         (memset): Don't use BP_SYM.
18522         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18523         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18524         (__bzero): Don't use BP_SYM.
18525         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18526         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18527         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18528         <bp-sym.h> and <bp-asm.h>.
18529         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18530         pointers.
18531         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18532         <bp-sym.h> and <bp-asm.h>.
18533         (memcpy): Don't use BP_SYM.
18534         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18535         <bp-sym.h> and <bp-asm.h>.
18536         (memset): Don't use BP_SYM.
18537         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18538         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18539         (__bzero): Don't use BP_SYM.
18540         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18541         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18542         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18543         <bp-sym.h> and <bp-asm.h>.
18544         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18545         pointers.
18546         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18547         <bp-sym.h> and <bp-asm.h>.
18548         (memcpy): Don't use BP_SYM.
18549         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18550         <bp-sym.h> and <bp-asm.h>.
18551         (memset): Don't use BP_SYM.
18552         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18553         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18554         (__bzero): Don't use BP_SYM.
18555         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18556         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18557         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18558         <bp-sym.h> and <bp-asm.h>.
18559         (__memchr): Don't use BP_SYM.
18560         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18561         <bp-sym.h> and <bp-asm.h>.
18562         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18563         pointers.
18564         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18565         <bp-sym.h> and <bp-asm.h>.
18566         (memcpy): Don't use BP_SYM.
18567         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18568         <bp-sym.h> and <bp-asm.h>.
18569         (__mempcpy): Don't use BP_SYM.
18570         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18571         <bp-sym.h> and <bp-asm.h>.
18572         (__memrchr): Don't use BP_SYM.
18573         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18574         <bp-sym.h> and <bp-asm.h>.
18575         (memset): Don't use BP_SYM.
18576         (__bzero): Likewise.
18577         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18578         <bp-sym.h> and <bp-asm.h>.
18579         (__rawmemchr): Don't use BP_SYM.
18580         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18581         <bp-sym.h> and <bp-asm.h>.
18582         (__STRCMP): Don't use BP_SYM.
18583         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18584         <bp-sym.h> and <bp-asm.h>.
18585         (strchr): Don't use BP_SYM.
18586         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18587         <bp-sym.h> and <bp-asm.h>.
18588         (__strchrnul): Don't use BP_SYM.
18589         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18590         <bp-sym.h> and <bp-asm.h>.
18591         (strlen): Don't use BP_SYM.
18592         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18593         <bp-sym.h> and <bp-asm.h>.
18594         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18595         pointers.
18596         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18597         <bp-sym.h> and <bp-asm.h>.
18598         (__strnlen): Don't use BP_SYM.
18599         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18600         <bp-sym.h> and <bp-asm.h>.
18601         (__GI__setjmp): Don't use BP_SYM.
18602         (_setjmp): Likewise.
18603         (__sigsetjmp): Likewise.
18604         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18605         (L(start_addresses)): Don't use BP_SYM.
18606         (_start): Likewise.
18607         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18608         <bp-asm.h>.
18609         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18610         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18611         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18612         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18613         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18614         <bp-asm.h>.
18615         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18616         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18617         about bounded pointers.
18618         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18619         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18620         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18621         <bp-asm.h>.
18622         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18623         about bounded pointers.  Remove GKM FIXME comments.
18624         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18625         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18626         <bp-asm.h>.
18627         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18628         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18629         Remove GKM FIXME comments.
18630         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18631         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18632         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18633         <bp-asm.h>.
18634         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18635         about bounded pointers.  Remove GKM FIXME comment.
18636         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18637         and <bp-asm.h>.
18638         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18639         pointers.
18640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18641         <bp-sym.h> and <bp-asm.h>.
18642         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18644         <bp-sym.h> and <bp-asm.h>.
18645         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18646         comment.
18648 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18650         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18651         call free(NULL).
18653 2013-03-05  David S. Miller  <davem@davemloft.net>
18655         * po/es.po: Update from translation team.
18657 2013-03-05  Andreas Jaeger  <aj@suse.de>
18659         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18660         <bits/mman-linux.h>.
18661         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18662         is fine.
18663         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18664         <bits/mman-linux.h> to end of file.
18665         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18666         is fine.
18667         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18668         <bits/mman-linux.h> to end of file.
18669         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18670         is fine.
18671         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18672         <bits/mman-linux.h> to end of file.
18674         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18675         (MCL_CURRENT, MCL_FUTURE): Define here.
18677 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18679         [BZ #15232]
18680         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18681         attribute_hidden.
18682         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18684 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18686         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18687         fourth parameter needed for rt_sigprocmask syscall.
18688         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18689         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18690         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18691         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18692         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18693         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18695 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18697         [BZ #13550]
18698         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18699         comment about bounded pointers.
18700         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18701         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18703 2013-03-04  Andreas Jaeger  <aj@suse.de>
18705         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18706         common definitions.
18708         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18709         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18710         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18711         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18712         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18713         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18715 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18717         [BZ #15055]
18718         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18719         __ieee754_sqrl instead of __sqrl.
18721 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18723         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18724         * sysdeps/powerpc/fpu_control.h: ... here.
18725         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18726         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18727         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18728         * sysdeps/powerpc/bits/mathinline.h: ... here.
18730 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18732         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18733         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18734         to just [NEED_DL_SYSINFO_DSO].
18735         * elf/dl-support.c: Likewise.
18736         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18737         * elf/rtld.c (dl_main): Likewise.
18738         * elf/setup-vdso.h (setup_vdso): Likewise.
18739         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18740         * sysdeps/unix/sysv/linux/dl-sysdep.c
18741         (_dl_discover_osversion): Likewise.
18743 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18745         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18746         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18748 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18750         * NEWS: Mention libm performance improvements and non-x86 PI
18751         futex support.
18753         * csu/libc-start.c (__pthread_initialize_minimal): Change
18754         function arguments.
18755         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18757 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18759         [BZ #13550]
18760         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18761         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18762         <bp-sym.h> and <bp-asm.h>.
18763         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18764         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18765         and <bp-asm.h>.
18766         (memcpy): Don't use BP_SYM.
18767         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18768         <bp-asm.h>.
18769         (__mpn_add_n): Don't use BP_SYM.
18770         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18771         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18772         and <bp-asm.h>.
18773         (__mpn_addmul_1): Don't use BP_SYM.
18774         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18775         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18776         <bp-sym.h>.
18777         (_setjmp): Don't use BP_SYM.
18778         (__novmx_setjmp): Likewise.
18779         (__GI__setjmp): Likewise.
18780         (__vmx_setjmp): Likewise.
18781         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18782         <bp-sym.h>.
18783         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18784         (__bzero): Don't use BP_SYM.
18785         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18786         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18787         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18788         <bp-sym.h> and <bp-asm.h>.
18789         (memcpy): Don't use BP_SYM.
18790         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18791         <bp-sym.h> and <bp-asm.h>.
18792         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18793         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18794         <bp-sym.h> and <bp-asm.h>.
18795         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18796         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18797         <bp-asm.h>.
18798         (__mpn_lshift): Don't use BP_SYM.
18799         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18800         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18801         <bp-asm.h>.
18802         (memset): Don't use BP_SYM.
18803         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18804         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18805         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18806         <bp-asm.h>.
18807         (__mpn_mul_1): Don't use BP_SYM.
18808         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18809         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18810         <bp-sym.h> and <bp-asm.h>.
18811         (memcmp): Don't use BP_SYM.
18812         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18813         <bp-sym.h> and <bp-asm.h>.
18814         (memcpy): Don't use BP_SYM.
18815         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18816         <bp-sym.h> and <bp-asm.h>.
18817         (memset): Don't use BP_SYM.
18818         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18819         <bp-sym.h> and <bp-asm.h>.
18820         (strncmp): Don't use BP_SYM.
18821         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18822         <bp-sym.h> and <bp-asm.h>.
18823         (memcpy): Don't use BP_SYM.
18824         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18825         <bp-sym.h> and <bp-asm.h>.
18826         (memset): Don't use BP_SYM.
18827         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18828         <bp-sym.h> and <bp-asm.h>.
18829         (__memchr): Don't use BP_SYM.
18830         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18831         <bp-sym.h> and <bp-asm.h>.
18832         (memcmp): Don't use BP_SYM.
18833         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18834         <bp-sym.h> and <bp-asm.h>.
18835         (memcpy): Don't use BP_SYM.
18836         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18837         <bp-sym.h> and <bp-asm.h>.
18838         (__mempcpy): Don't use BP_SYM.
18839         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18840         <bp-sym.h> and <bp-asm.h>.
18841         (__memrchr): Don't use BP_SYM.
18842         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18843         <bp-sym.h> and <bp-asm.h>.
18844         (memset): Don't use BP_SYM.
18845         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18846         <bp-sym.h> and <bp-asm.h>.
18847         (__rawmemchr): Don't use BP_SYM.
18848         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18849         <bp-sym.h> and <bp-asm.h>.
18850         (__STRCMP): Don't use BP_SYM.
18851         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18852         <bp-sym.h> and <bp-asm.h>.
18853         (strchr): Don't use BP_SYM.
18854         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18855         <bp-sym.h> and <bp-asm.h>.
18856         (__strchrnul): Don't use BP_SYM.
18857         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18858         <bp-sym.h> and <bp-asm.h>.
18859         (strlen): Don't use BP_SYM.
18860         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18861         <bp-sym.h> and <bp-asm.h>.
18862         (strncmp): Don't use BP_SYM.
18863         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18864         <bp-sym.h> and <bp-asm.h>.
18865         (__strnlen): Don't use BP_SYM.
18866         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18867         <bp-asm.h>.
18868         (__mpn_rshift): Don't use BP_SYM.
18869         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18870         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18871         <bp-sym.h> and <bp-asm.h>.
18872         (__sigsetjmp): Don't use BP_SYM.
18873         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18874         (L(start_addresses)): Don't use BP_SYM.
18875         (_start): Likewise.
18876         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18877         <bp-asm.h>.
18878         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18879         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18880         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18881         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18882         <bp-asm.h>.
18883         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18884         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18885         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18886         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18887         <bp-asm.h>.
18888         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18889         comments.
18890         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18891         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18892         <bp-asm.h>.
18893         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18894         FIXME comments.
18895         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18896         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18897         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18898         <bp-asm.h>.
18899         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18900         comment.
18901         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18902         and <bp-asm.h>.
18903         (strncmp): Don't use BP_SYM,
18904         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18905         <bp-asm.h>.
18906         (__mpn_sub_n): Don't use BP_SYM.
18907         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18908         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18909         and <bp-asm.h>.
18910         (__mpn_submul_1): Don't use BP_SYM.
18911         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18913         <bp-sym.h> and <bp-asm.h>.
18914         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18916         <bp-sym.h> and <bp-asm.h>.
18917         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18918         comment.
18920 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18923         Use ZK to minimize writes to Z.
18924         (sub_magnitudes): Simplify code a bit.
18925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18926         Use ZK to minimize writes to Z.
18927         (sub_magnitudes): Simplify code a bit.
18929 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18931         * csu/gmon-start.c: Add special exception to license text.
18933 2013-02-27  Richard Henderson  <rth@redhat.com>
18935         * scripts/config.guess: Update from config.git.
18936         * scripts/config.sub: Likewise.
18938 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18940         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18942         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18944         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18946         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18948         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18950 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18952         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18953         [$(build-shared = yes].
18955 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18957         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18958         (__mul): Reduce iterations for calculating mantissa.
18960         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18961         MPTWO.
18962         (__mpranred): Likewise.
18964         [BZ #15160]
18965         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18966         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18968 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18970         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18971         Define __attribute__.
18973 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18975         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18976         unused.
18977         * posix/regex_internal.h (__attribute): Remove.
18978         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18979         (re_string_context_at): Likewise.
18980         (bitset_not): Use __attribute__ and mark function as possibly
18981         unused.
18982         (bitset_merge): Likewise.
18983         (bitset_mask): Likewise.
18984         (re_string_char_size_at): Likewise.
18985         (re_string_wchar_at): Likewise.
18986         (re_string_elem_size_at): Likewise.
18988 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18990         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18991         code.
18992         (cc32): Likewise.
18994         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18995         (__acr): Likewise.
18996         (__cpy): Likewise.
18997         (norm): Likewise.
18998         (denorm): Likewise.
18999         (__dbl_mp): Likewise.
19000         (add_magnitudes): Likewise.
19001         (sub_magnitudes): Likewise.
19002         (__mul): Likewise.
19003         (__inv): Likewise.
19005         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19006         style.
19008         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19009         style.
19011         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19012         code.
19014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19015         up changes with default code.
19016         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19017         Likewise.
19019 2013-02-24  Allan McRae  <allan@archlinux.org>
19021         * manual/socket.texi (The Internet Namespace): Order menu items
19022         to match that in the file.
19024         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19025         node listing of the info page menu.
19027 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
19029         [BZ #13550]
19030         * sysdeps/i386/bp-asm.h: Remove file.
19031         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19032         (PARMS): Do not use macros from bp-asm.h.
19033         (S1): Likewise.
19034         (S2): Likewise.
19035         (SIZE): Likewise.
19036         (__mpn_add_n): Do not use BP_SYM
19037         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19038         "bp-asm.h".
19039         (PARMS): Do not use macros from bp-asm.h.
19040         (S1): Likewise.
19041         (SIZE): Likewise.
19042         (__mpn_addmul_1): Do not use BP_SYM
19043         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19044         "bp-asm.h".
19045         (PARMS): Do not use macros from bp-asm.h.
19046         (SIGMSK): Likewise.
19047         (_setjmp): Likewise.  Do not use BP_SYM.
19048         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19049         "bp-asm.h".
19050         (PARMS): Do not use macros from bp-asm.h.
19051         (SIGMSK): Likewise.
19052         (setjmp): Likewise.  Do not use BP_SYM.
19053         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19054         "bp-asm.h".
19055         (PARMS): Do not use macros from bp-asm.h.
19056         (__frexp): Do not use BP_SYM.
19057         (frexp): Likewise.
19058         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19059         "bp-asm.h".
19060         (PARMS): Do not use macros from bp-asm.h.
19061         (__frexpf): Do not use BP_SYM.
19062         (frexpf): Likewise.
19063         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19064         "bp-asm.h".
19065         (PARMS): Do not use macros from bp-asm.h.
19066         (__frexpl): Do not use BP_SYM.
19067         (frexpl): Likewise.
19068         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19069         "bp-asm.h".
19070         (PARMS): Do not use macros from bp-asm.h.
19071         (__remquo): Do not use BP_SYM.
19072         (remquo): Likewise.
19073         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19074         "bp-asm.h".
19075         (PARMS): Do not use macros from bp-asm.h.
19076         (__remquof): Do not use BP_SYM.
19077         (remquof): Likewise.
19078         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19079         "bp-asm.h".
19080         (PARMS): Do not use macros from bp-asm.h.
19081         (__remquol): Do not use BP_SYM.
19082         (remquol): Likewise.
19083         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19084         "bp-asm.h".
19085         (PARMS): Do not use macros from bp-asm.h.
19086         (DEST): Likewise.
19087         (SRC): Likewise.
19088         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
19089         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19090         "bp-asm.h".
19091         (PARMS): Do not use macros from bp-asm.h.
19092         (strlen): Do not use BP_SYM.
19093         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19094         "bp-asm.h".
19095         (PARMS): Do not use macros from bp-asm.h.
19096         (S1): Likewise.
19097         (S2): Likewise.
19098         (SIZE): Likewise.
19099         (__mpn_add_n): Do not use BP_SYM.
19100         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19101         "bp-asm.h".
19102         (PARMS): Do not use macros from bp-asm.h.
19103         (S1): Likewise.
19104         (SIZE): Likewise.
19105         (__mpn_addmul_1): Do not use BP_SYM.
19106         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19107         weak_alias.
19108         (bzero): Likewise.
19109         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19110         "bp-asm.h".
19111         (PARMS): Do not use macros from bp-asm.h.
19112         (S): Likewise.
19113         (SIZE): Likewise.
19114         (__mpn_lshift): Do not use BP_SYM.
19115         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19116         "bp-asm.h".
19117         (PARMS): Do not use macros from bp-asm.h.
19118         (DEST): Likewise.
19119         (SRC): Likewise.
19120         (LEN): Likewise.
19121         (memcpy): Likewise.  Do not use BP_SYM.
19122         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19123         libc_hidden_def and weak_alias.
19124         (mempcpy): Do not use BP_SYM in weak_alias.
19125         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19126         "bp-asm.h".
19127         (PARMS): Do not use macros from bp-asm.h.
19128         (DEST): Likewise.
19129         (LEN): Likewise.
19130         [!BZERO_P] (CHR): Likewise.
19131         (memset): Likewise.  Do not use BP_SYM.
19132         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19133         "bp-asm.h".
19134         (PARMS): Do not use macros from bp-asm.h.
19135         (S1): Likewise.
19136         (SIZE): Likewise.
19137         (__mpn_mul_1): Do not use BP_SYM.
19138         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19139         "bp-asm.h".
19140         (PARMS): Do not use macros from bp-asm.h.
19141         (S): Likewise.
19142         (SIZE): Likewise.
19143         (__mpn_rshift): Do not use BP_SYM.
19144         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19145         "bp-asm.h".
19146         (PARMS): Do not use macros from bp-asm.h.
19147         (STR): Likewise.
19148         (CHR): Likewise.
19149         (strchr): Likewise.  Do not use BP_SYM.
19150         (index): Do not use BP_SYM in weak_alias.
19151         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19152         "bp-asm.h".
19153         (PARMS): Do not use macros from bp-asm.h.
19154         (DEST): Likewise.
19155         (SRC): Likewise.
19156         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
19157         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19158         "bp-asm.h".
19159         (PARMS): Do not use macros from bp-asm.h.
19160         (strlen): Do not use BP_SYM.
19161         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19162         "bp-asm.h".
19163         (PARMS): Do not use macros from bp-asm.h.
19164         (S1): Likewise.
19165         (S2): Likewise.
19166         (SIZE): Likewise.
19167         (__mpn_sub_n): Do not use BP_SYM.
19168         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19169         "bp-asm.h".
19170         (PARMS): Do not use macros from bp-asm.h.
19171         (S1): Likewise.
19172         (SIZE): Likewise.
19173         (__mpn_submul_1): Do not use BP_SYM.
19174         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19175         "bp-asm.h".
19176         (PARMS): Do not use macros from bp-asm.h.
19177         (S1): Likewise.
19178         (S2): Likewise.
19179         (SIZE): Likewise.
19180         (__mpn_add_n): Do not use BP_SYM.
19181         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19182         weak_alias.
19183         (bzero): Likewise.
19184         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19185         "bp-asm.h".
19186         (PARMS): Do not use macros from bp-asm.h.
19187         (BLK2): Likewise.
19188         (LEN): Likewise.
19189         (memcmp): Do not use BP_SYM.
19190         (bcmp): Do not use BP_SYM in weak_alias.
19191         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19192         "bp-asm.h".
19193         (PARMS): Do not use macros from bp-asm.h.
19194         (DEST): Likewise.
19195         (SRC): Likewise.
19196         (LEN): Likewise.
19197         (memcpy): Likewise.  Do not use BP_SYM.
19198         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19199         "bp-asm.h".
19200         (PARMS): Do not use macros from bp-asm.h.
19201         (DEST): Likewise.
19202         (SRC): Likewise.
19203         (LEN): Likewise.
19204         (memmove): Likewise.  Do not use BP_SYM.
19205         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19206         "bp-asm.h".
19207         (PARMS): Do not use macros from bp-asm.h.
19208         (DEST): Likewise.
19209         (SRC): Likewise.
19210         (LEN): Likewise.
19211         (__mempcpy): Likewise.  Do not use BP_SYM.
19212         (mempcpy): Do not use BP_SYM in weak_alias.
19213         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19214         "bp-asm.h".
19215         (PARMS): Do not use macros from bp-asm.h.
19216         (DEST): Likewise.
19217         (LEN): Likewise.
19218         [!BZERO_P] (CHR): Likewise.
19219         (memset): Likewise.  Do not use BP_SYM.
19220         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19221         "bp-asm.h".
19222         (PARMS): Do not use macros from bp-asm.h.
19223         (STR2): Likewise.
19224         (strcmp): Do not use BP_SYM.
19225         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19226         "bp-asm.h".
19227         (PARMS): Do not use macros from bp-asm.h.
19228         (STR): Likewise.
19229         (DELIM): Likewise.
19230         [USE_AS_STRTOK_R] (SAVE): Likewise.
19231         (FUNCTION): Likewise.  Do not use BP_SYM.
19232         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19233         aliases.
19234         (strtok_r): Likewise.
19235         (__GI___strtok_r): Likewise.
19236         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19237         (PARMS): Do not use macros from bp-asm.h.
19238         (S): Likewise.
19239         (SIZE): Likewise.
19240         (__mpn_lshift): Do not use BP_SYM.
19241         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19242         (PARMS): Do not use macros from bp-asm.h.
19243         (STR): Likewise.
19244         (CHR): Likewise.
19245         (__memchr): Do not use BP_SYM.
19246         (memchr): Do not use BP_SYM in weak_alias.
19247         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19248         (PARMS): Do not use macros from bp-asm.h.
19249         (BLK2): Likewise.
19250         (LEN): Likewise.
19251         (memcmp): Do not use BP_SYM.
19252         (bcmp): Do not use BP_SYM in weak_alias.
19253         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19254         (PARMS): Do not use macros from bp-asm.h.
19255         (S1): Likewise.
19256         (SIZE): Likewise.
19257         (__mpn_mul_1): Do not use BP_SYM.
19258         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19259         "bp-asm.h".
19260         (PARMS): Do not use macros from bp-asm.h.
19261         (STR): Likewise.
19262         (CHR): Likewise.
19263         (__rawmemchr): Do not use BP_SYM.
19264         (rawmemchr): Do not use BP_SYM in weak_alias.
19265         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19266         (PARMS): Do not use macros from bp-asm.h.
19267         (S): Likewise.
19268         (SIZE): Likewise.
19269         (__mpn_rshift): Do not use BP_SYM.
19270         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19271         (PARMS): Do not use macros from bp-asm.h.
19272         (SIGMSK): Likewise.
19273         (__sigsetjmp): Likewise.  Do not use BP_SYM.
19274         * sysdeps/i386/start.S: Do not include "bp-sym.h".
19275         (_start): Do not use BP_SYM.
19276         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19277         (PARMS): Do not use macros from bp-asm.h.
19278         (DEST): Likewise.
19279         (SRC): Likewise.
19280         (__stpcpy): Likewise.  Do not use BP_SYM.
19281         (stpcpy): Do not use BP_SYM in weak_alias.
19282         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19283         "bp-asm.h".
19284         (PARMS): Do not use macros from bp-asm.h.
19285         (DEST): Likewise.
19286         (SRC): Likewise.
19287         (LEN): Likewise.
19288         (__stpncpy): Likewise.  Do not use BP_SYM.
19289         (stpncpy): Do not use BP_SYM in weak_alias.
19290         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19291         (PARMS): Do not use macros from bp-asm.h.
19292         (STR): Likewise.
19293         (CHR): Likewise.
19294         (strchr): Likewise.  Do not use BP_SYM.
19295         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19296         "bp-asm.h".
19297         (PARMS): Do not use macros from bp-asm.h.
19298         (STR): Likewise.
19299         (CHR): Likewise.
19300         (__strchrnul): Likewise.  Do not use BP_SYM.
19301         (strchrnul): Do not use BP_SYM in weak_alias.
19302         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19303         "bp-asm.h".
19304         (PARMS): Do not use macros from bp-asm.h.
19305         (STOP): Likewise.
19306         (strcspn): Do not use BP_SYM.
19307         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19308         "bp-asm.h".
19309         (PARMS): Do not use macros from bp-asm.h.
19310         (STR): Likewise.
19311         (STOP): Likewise.
19312         (strpbrk): Likewise.  Do not use BP_SYM.
19313         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19314         "bp-asm.h".
19315         (PARMS): Do not use macros from bp-asm.h.
19316         (STR): Likewise.
19317         (CHR): Likewise.
19318         (strrchr): Likewise.  Do not use BP_SYM.
19319         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19320         (PARMS): Do not use macros from bp-asm.h.
19321         (SKIP): Likewise.
19322         (strspn): Do not use BP_SYM.
19323         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19324         (PARMS): Do not use macros from bp-asm.h.
19325         (STR): Likewise.
19326         (DELIM): Likewise.
19327         (SAVE): Likewise.
19328         (FUNCTION): Likewise.  Do not use BP_SYM.
19329         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19330         aliases.
19331         (strtok_r): Likewise.
19332         (__GI___strtok_r): Likewise.
19333         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19334         (PARMS): Do not use macros from bp-asm.h.
19335         (S1): Likewise.
19336         (S2): Likewise.
19337         (SIZE): Likewise.
19338         (__mpn_sub_n): Do not use BP_SYM.
19339         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19340         "bp-asm.h".
19341         (PARMS): Do not use macros from bp-asm.h.
19342         (S1): Likewise.
19343         (SIZE): Likewise.
19344         (__mpn_submul_1): Do not use BP_SYM.
19345         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19346         <bp-sym.h>.
19347         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19348         and <bp-asm.h>.
19349         (PARMS): Do not use macros from bp-asm.h.
19350         (FLAGS): Likewise.
19351         (PTID): Likewise.
19352         (TLS): Likewise.
19353         (CTID): Likewise.
19354         (__clone): Do not use BP_SYM.
19355         (clone): Do not use BP_SYM in weak_alias.
19356         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19357         and <bp-asm.h>.
19358         (PARMS): Do not use macros from bp-asm.h.
19359         (LEN): Likewise.
19360         (__mmap64): Do not use BP_SYM.
19361         (mmap64): Do not use BP_SYM in weak_alias.
19362         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19363         <bp-sym.h> and <bp-asm.h>.
19364         (PARMS): Do not use macros from bp-asm.h.
19365         (__posix_fadvise64_l64): Do not use BP_SYM.
19366         * sysdeps/unix/sysv/linux/i386/semtimedop.S
19367         (PARMS): Do not use macros from bp-asm.h.
19368         (NSOPS): Likewise.
19369         (semtimedop): Do not use BP_SYM.
19370         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19371         and <bp-asm.h>.
19373 2013-02-21  Allan McRae  <allan@archlinux.org>
19375         * manual/message.texi (Charset conversion in gettext):
19376         Move @end statement to beginning of line.
19378 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19381         static.
19382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19383         Likewise.
19385         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19386         (denorm): Likewise.
19387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19388         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19390 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19392         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19393         tail-call to the resolved function if pltexit isn't needed.
19395 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19398         or Y being zero as being unlikely.
19399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19400         Likewise.
19402 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
19404         * manual/nss.texi (System Databases and Name Service Switch):
19405         Remove frobnicate @pxref.
19407 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19409         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19410         __attribute__ ((unused)) to __attribute__ ((__unused__)).
19412 2013-02-20  Petr Machata  <pmachata@redhat.com>
19414         * elf/elf.h (R_ARM_TARGET1): New macro.
19415         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19416         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19417         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19418         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19419         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19420         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19421         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19422         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19423         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19424         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19425         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19426         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19427         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19428         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19429         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19430         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19431         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19432         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19433         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19434         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19435         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19436         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19437         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19438         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19439         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19440         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19441         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19442         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19443         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19444         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19445         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19446         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19447         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19448         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19449         (R_ARM_THM_GOT_BREL12): Likewise.
19450         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19451         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19452         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19453         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19454         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19455         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19456         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19457         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19458         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19460 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19462         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19463         __attribute_used__ to __attribute__ ((unused)).
19465 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19467         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19468         powerpc mpa.c.
19469         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19470         comment formatting.
19471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19473 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
19475         [BZ #13550]
19476         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19477         Remove macro.
19478         (ENTER): Remove both macro definitions.
19479         (LEAVE): Likewise.
19480         (CHECK_BOUNDS_LOW): Likewise.
19481         (CHECK_BOUNDS_HIGH): Likewise.
19482         (CHECK_BOUNDS_BOTH): Likewise.
19483         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19484         (RETURN_BOUNDED_POINTER): Likewise.
19485         (RETURN_NULL_BOUNDED_POINTER): Likewise.
19486         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19487         (POP_ERRNO_LOCATION_RETURN): Likewise.
19488         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19489         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19490         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19491         macros.
19492         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19493         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19494         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19495         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19496         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19497         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19498         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19499         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19500         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19501         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19502         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19503         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19504         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19505         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19506         removed macros.
19507         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19508         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19509         macros.
19510         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19511         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19512         * sysdeps/i386/i586/memset.S (memset): Likewise.
19513         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19514         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19515         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19516         macros.
19517         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19518         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19519         Change uses of L(2) to L(out).
19520         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19521         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19522         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19523         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19524         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19525         removed macros.
19526         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19527         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19528         macros.
19529         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19530         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19531         (RETURN): Do not use macro LEAVE.
19532         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19533         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19534         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19535         * sysdeps/i386/i686/memset.S (memset): Likewise.
19536         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19537         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19538         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19539         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19540         Likewise.
19541         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19542         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
19543         L(1_2) and L(1_3) into L(1).
19544         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19545         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19546         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19547         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19548         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19549         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19550         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19551         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19552         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19553         macros.
19554         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19555         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19556         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19557         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19558         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19559         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19560         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19561         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19562         * sysdeps/i386/strcspn.S (strcspn): Likewise.
19563         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19564         * sysdeps/i386/strrchr.S (strrchr): Likewise.
19565         * sysdeps/i386/strspn.S (strspn): Likewise.
19566         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19567         conditional code.
19568         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19569         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19570         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19571         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
19572         L(1_3) into L(1_1).
19573         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19574         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19575         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19576         macros.
19577         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19579 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
19581         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19582         macro.
19584 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19586         * math/atest-exp.c (exp_mpn): Remove ROUND.
19587         * math/atest-exp2.c (exp_mpn): Likewise.
19588         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19590         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19591         * stdlib/tst-tls-atexit-lib.c: Likewise.
19592         * stdlib/tst-tls-atexit.c: Likewise.
19594 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19596         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19597         and __attribute_alloc_size__.
19599 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19601         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19602         __attribute_alloc_size__.
19603         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19604         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19606 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19608         * include/programs/xmalloc.h: New file.
19609         * catgets/gencat.c: Include it.
19610         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19611         * elf/pldd.c: Likewise.
19612         * iconv/iconv_charmap.c: Likewise.
19613         * iconv/iconvconfig.c: Likewise.
19614         * iconv/strtab.c: Likewise.
19615         * locale/programs/locale.c: Likewise.
19616         * locale/programs/localedef.h: Likewise.
19617         * locale/programs/simple-hash.c: Likewise.
19618         * nscd/nscd.h: Likewise.
19619         * nss/makedb.c: Likewise.
19620         * sysdeps/generic/ldconfig.h: Likewise.
19622 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19624         * Versions.def: Add GLIBC_2.18.
19625         * include/link.h (struct link_map): New member l_tls_dtor_count.
19626         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19627         (__call_tls_dtors): Likewise.
19628         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19629         __cxa_thread_atexit_impl.
19630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19631         Likewise.
19632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19633         Likewise.
19634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19635         Likewise.
19636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19637         Likewise.
19638         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19640         Likewise.
19641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19642         Likewise.
19643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19645         Likewise.
19646         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19647         (tests): Add test case tst-tls-atexit.
19648         (modules-names): Add shared library for tst-tls-atexit.
19649         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19650         (GLIBC_PRIVATE): Add __call_tls_dtors.
19651         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19652         for libstdc++.
19653         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19654         * stdlib/tst-tls-atexit.c: New test case.
19655         * stdlib/tst-tls-atexit-lib.c: New test case.
19657         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19659         * elf/Versions (ld): Add _dl_find_dso_for_object.
19660         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19661         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19662         (dl_open_worker): Use _dl_find_dso_for_object.
19663         * elf/dl-sym.c (do_sym): Likewise.
19664         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19666 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19668         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19669         Syntactic changes only.
19670         (_dl_runtime_profile): Do a tail-call to the resolved function.
19672 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19674         [BZ #13550]
19675         * sysdeps/x86_64/bp-asm.h: Remove file.
19676         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19677         <bp-sym.h> and <bp-asm.h>.
19678         (__clone): Do not use BP_SYM.
19679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19680         <bp-sym.h> and <bp-asm.h>.
19681         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19682         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19683         "bp-asm.h".
19684         (_setjmp): Do not use BP_SYM.
19685         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19686         "bp-asm.h".
19687         (setjmp): Do not use BP_SYM.
19688         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19689         libc_hidden_def.
19690         (mempcpy): Do not use BP_SYM in weak_alias.
19691         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19692         "bp-asm.h".
19693         (strchr): Do not use BP_SYM.
19694         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19695         "bp-asm.h".
19696         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19697         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19698         (_start): Do not use BP_SYM.
19699         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19700         "bp-asm.h".
19701         (strcat): Do not use BP_SYM.
19702         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19703         "bp-asm.h".
19704         (STRCMP): Do not use BP_SYM.
19705         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19706         "bp-asm.h".
19707         (STRCPY): Do not use BP_SYM.
19708         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19709         "bp-asm.h".
19710         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19711         "bp-asm.h".
19712         (FUNCTION): Do not use BP_SYM.
19713         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19714         weak_alias.
19715         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19717 2013-02-17  Andreas Jaeger  <aj@suse.de>
19719         * time/Versions: Sort entries.
19720         * string/Versions: Likewise.
19721         * resolv/Versions: Likewise.
19722         * posix/Versions: Likewise.
19723         * iconv/Versions: Likewise.
19724         * elf/Versions: Likewise.
19725         * wcsmbs/Versions: Likewise.
19727 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19729         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19730         loop termination condition.
19732         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19733         variable to calculate EZ.
19734         (__sqr): Likewise.
19736         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19737         the lower precision input.
19739 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19741         [BZ #13550]
19742         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19743         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19744         (run-via-rtld-prefix): Do not handle %-bp tests.
19745         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19746         (all-object-suffixes): Remove .ob.
19747         (bppfx): Remove variable.
19748         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19749         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19750         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19751         [$(build-bounded) = yes] (libtype.ob): Likewise.
19752         * Makerules (elide-routines.ob): Remove variable.
19753         (do-tests-clean): Do not handle *-bp.out.
19754         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19755         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19756         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19757         (tests): Do not include $(tests-bp.out).
19758         (xtests): Do not include $(xtests-bp.out).
19759         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19760         [$(build-bounded) = yes] ($(addprefix
19761         $(objpfx),$(binaries-bounded))): Remove rule.
19762         ($(objpfx)%-bp.out): Remove rule.
19763         * config.make.in (build-bounded): Remove variable.
19764         * crypt/Makefile [$(build-bounded) = yes]
19765         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19766         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19767         append to variable.
19768         [$(build-bounded) = yes] (install-lib): Likewise.
19769         [$(build-bounded) = yes] (generated): Likewise.
19770         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19771         Remove rule.
19772         * intl/Makefile [$(build-bounded) = yes]
19773         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19774         * math/Makefile [$(build-bounded) = yes]
19775         ($(tests:%=$(objpfx)%-bp): Likewise.
19776         * misc/Makefile [$(build-bounded) = yes]
19777         ($(objpfx)tst-tsearch-bp): Likewise.
19778         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19779         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19780         Remove dependency.
19781         * string/Makefile (o-objects.ob): Remove variable.
19782         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19783         (CFLAGS-.ob): Remove variable.
19784         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19785         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19786         both definitions of variable.
19787         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19788         (ASFLAGS-.ob): Remove variable.
19790 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19792         [BZ #13550]
19793         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19794         Remove __BOUNDED_POINTERS__ from condition.
19795         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19796         * string/bits/string2.h [!__NO_STRING_INLINES &&
19797         !__BOUNDED_POINTERS__]: Likewise.
19798         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19799         Likewise.
19800         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19801         Remove conditional code.
19802         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19803         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19804         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19805         condition.
19807         [BZ #13550]
19808         * csu/libc-start.c: Do not include <bp-sym.h>.
19809         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19810         * elf/dl-open.c: Do not include <bp-sym.h>.
19811         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19812         * math/fegetenv.c: Do not include <bp-sym.h>.
19813         (fegetenv): Do not use BP_SYM in versioned symbols.
19814         * nptl/sysdeps/pthread/bits/libc-lockP.h
19815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19816         <bp-sym.h>.
19817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19818         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19820         (__pthread_mutex_destroy): Likewise.
19821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19822         (__pthread_mutex_lock): Likewise.
19823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19824         (__pthread_mutex_trylock): Likewise.
19825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19826         (__pthread_mutex_unlock): Likewise.
19827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19828         (__pthread_mutexattr_init): Likewise.
19829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19830         (__pthread_mutexattr_destroy): Likewise.
19831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19832         (__pthread_mutexattr_settype): Likewise.
19833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19834         (__pthread_rwlock_init): Likewise.
19835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19836         (__pthread_rwlock_destroy): Likewise.
19837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19838         (__pthread_rwlock_rdlock): Likewise.
19839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19840         (__pthread_rwlock_tryrdlock): Likewise.
19841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19842         (__pthread_rwlock_wrlock): Likewise.
19843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19844         (__pthread_rwlock_trywrlock): Likewise.
19845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19846         (__pthread_rwlock_unlock): Likewise.
19847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19848         (__pthread_key_create): Likewise.
19849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19850         (__pthread_setspecific): Likewise.
19851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19852         (__pthread_getspecific): Likewise.
19853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19854         Likewise.
19855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19856         (_pthread_cleanup_push_defer): Likewise.
19857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19858         (_pthread_cleanup_pop_restore): Likewise.
19859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19860         (pthread_setcancelstate): Likewise.
19861         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19862         <bp-sym.h>.
19863         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19864         (memchr): Do not use BP_SYM in weak_alias.
19865         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19866         (fegetenv): Do not use BP_SYM in versioned symbols.
19867         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19868         (fesetenv): Do not use BP_SYM in versioned symbols.
19869         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19870         (feupdateenv): Do not use BP_SYM in versioned symbols.
19871         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19872         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19873         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19874         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19875         (open64): Do not use BP_SYM in weak_alias.
19876         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19877         (fegetenv): Do not use BP_SYM in versioned symbols.
19878         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19879         (fesetenv): Do not use BP_SYM in versioned symbols.
19880         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19881         (feupdateenv): Do not use BP_SYM in versioned symbols.
19882         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19883         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19884         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19885         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19886         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19887         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19888         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19889         <bp-sym.h>.
19890         (__libc_start_main): Do not use BP_SYM.
19892 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19895         redundant return line.
19896         (norm): Likewise.
19897         (denorm): Likewise.
19898         (dbl_mp): Likewise.
19899         (sub_magnitudes): Likewise.
19900         (__add): Likewise.
19901         (__sub): Likewise.
19902         (__mul): Likewise.
19903         (__inv): Likewise.
19904         (__dvd): Likewise.
19905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19906         (norm): Likewise.
19907         (denorm): Likewise.
19908         (dbl_mp): Likewise.
19909         (sub_magnitudes): Likewise.
19910         (__add): Likewise.
19911         (__sub): Likewise.
19912         (__mul): Likewise.
19913         (__inv): Likewise.
19914         (__dvd): Likewise.
19916         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19917         instead of __mul.
19918         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19919         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19920         (cc32): Likewise.
19922         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19923         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19924         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19925         of __mul for squares.
19926         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19927         function
19928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19929         Likewise.
19930         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19931         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19933 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19935         [BZ #13550]
19936         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19937         code.
19938         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19939         prototype or function definition.  Rename ubp_* variables and
19940         parameters.  Remove argv definitions conditional on
19941         [__BOUNDED_POINTERS__].
19942         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19943         * elf/dl-runtime.c (_dl_fixup): Likewise.
19944         * include/set-hooks.h (RUN_HOOK): Likewise.
19945         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19946         definition.
19947         * string/strcpy.c (strcpy): Do not use __unbounded.
19948         * sysdeps/generic/frame.h (struct layout): Likewise.
19949         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19950         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19951         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19952         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19953         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19954         (__backtrace): Likewise.
19955         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19956         use __ptrvalue.
19957         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19958         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19959         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19960         Likewise.
19961         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19962         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19963         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19964         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19965         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19966         Do not use __unbounded.
19967         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19968         Rename __unboundedrlimits parameter to rlimits in prototype.
19969         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19970         Do not use __unbounded.
19971         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19972         not use __ptrvalue.
19973         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19974         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19975         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19976         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19977         __ptrvalue or __unbounded.
19978         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19979         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19980         use __unbounded.
19981         (__new_msgctl): Do not use __ptrvalue.
19982         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19983         __unbounded.
19984         (__libc_msgrcv): Do not use __ptrvalue.
19985         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19986         startup_info): Do not use __unbounded.
19987         (__libc_start_main): Likewise.  Rename ubp_* variables and
19988         parameters.  Remove argv definitions conditional on
19989         [__BOUNDED_POINTERS__].
19990         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19991         __ptrvalue.
19992         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19993         use __unbounded.
19994         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19995         or __ptrvalue.
19996         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19997         use __unbounded.
19998         (__new_shmctl): Do not use __ptrvalue.
19999         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20000         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20001         Likewise.
20002         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20003         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20004         (__libc_sigaction): Likewise.
20005         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20006         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20007         Likewise.
20008         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20010 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
20012         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20014         * string/mempcpy.c: Implement by calling memcpy.
20016 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20020         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20021         evaluation.
20023         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20024         values in the mantissa.
20026         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20027         minimize writes to Z.
20028         (sub_magnitudes): Simplify code a bit.
20030 2013-02-12  Roland McGrath  <roland@hack.frob.com>
20032         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20033         from the message.  The linker prefixes all warnings with that already.
20035 2013-02-12  Andreas Schwab  <schwab@suse.de>
20037         [BZ #15078]
20038         * posix/regexec.c (extend_buffers): Add parameter min_len.
20039         (check_matching): Pass minimum needed length.
20040         (clean_state_log_if_needed): Likewise.
20041         (get_subexp): Likewise.
20042         * posix/Makefile (tests): Add bug-regex34.
20043         (bug-regex34-ENV): Define.
20044         * posix/bug-regex34.c: New file.
20046         [BZ #11561]
20047         * posix/regcomp.c (parse_bracket_exp): When looking up collating
20048         elements compare against the byte sequence of it, not its name.
20049         * posix/Makefile (tests): Add bug-regex35.
20050         (bug-regex35-ENV): Define.
20051         * posix/bug-regex35.c: New file.
20053 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20055         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
20056         comment.
20057         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20058         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20059         (CHECK_EOL): Add undef.
20061 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
20063         * bits/stdlib-bsearch.h: New file.
20064         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20065         * stdlib/stdlib.h: Likewise.
20067 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20069         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20070         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20071         declaration.
20072         * manual/search.texi (Array Search Function): Add missing const in
20073         lfind prototype.
20074         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20075         declaration to use rlim_t.
20076         (Basic Scheduling Functions): Remove erroneous const from
20077         sched_getparam prototype.  Remove erroneous * from
20078         sched_get_priority_max and sched_get_priority_min prototypes.
20079         (Resource Usage): Fix summary @comment on vtimes to refer to
20080         sys/vtimes.h rather than vtimes.h.
20081         Add missing *s in vtimes prototype.
20082         (Limits on Resources): Fix ulimit prototype to return long int.
20083         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20084         prototypes to use long int rather than double.
20085         (BSD Random): Fix initstate and setstate to use char *, not void *.
20086         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20087         prototype to make second argument 'struct aiocb64 *const[]'.
20088         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20089         (Status of AIO Operations): Remove erroneous const in aio_return and
20090         aio_return64 prototypes.
20091         (Synchronizing I/O): Fix sync prototype to return void.
20092         * manual/startup.texi (Suboptions): Remove an erroneous const in
20093         getsubopt prototype.
20094         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20095         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20096         use size_t rather than int.
20097         (Scanning All Users): Likewise for getpwent_r.
20098         (Setting Groups): Add missing const to setgroups prototype.
20099         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20100         * manual/socket.texi (Host Names): Fix gethostbyaddr and
20101         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20102         'const void *' rather than 'const char *'.
20103         (Host Address Functions): Likewise for inet_ntop.
20104         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20105         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20106         ssize_t for return value.
20107         (Sending Data): Likewise for send, sendto, sendmsg.
20108         (Socket Option Functions): Add a missing const in setsockopt prototype.
20109         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20110         use wchar_t for the argument.
20111         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20112         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20113         take no arguments.
20114         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20115         double/float/long double for second argument.
20116         Fix return types of significand, significandf, significandl.
20117         * manual/filesys.texi (Setting Permissions): Use mode_t for second
20118         argument in fchmod prototype.
20119         (File Owner): Use uid_t and gid_t in fchown prototype.
20120         (File Times): Add const to utimes, futimes, and lutimes prototypes.
20121         (Making Special Files): Use mode_t and dev_t in mknod prototype.
20122         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20123         use 'const struct dirent **' as argument types to CMP function pointer
20124         argument.
20125         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20126         (File Times): Fix summary magic @comment for struct utimbuf and utime
20127         to refer to utime.h, not time.h.
20128         * manual/string.texi (Argz Functions): Add missing const in
20129         argz_extract and argz_next prototypes.
20130         (Finding Tokens in a String): Likewise for basename.
20131         (String/Array Comparison): Fix typo in wcscasecmp prototype.
20132         (Copying and Concatenation): Fix typo in wmemmove prototype.
20133         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20134         (Signal Stack): Remove erroneous const in sigstack prototype.
20135         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20136         prototype.
20137         (Simple Calendar Time): Likewise for stime.
20138         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20139         prototype.
20140         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20141         say sys/sysctl.h instead.
20142         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20143         and vsyslog prototypes.
20145 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20147         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20148         Remove.
20150 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20152         * misc/sys/mman.h: Fix typo in mremap comment.
20154 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20156         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20157         the '\0' terminator.
20159 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20161         [BZ #13550]
20162         * debug/segfault.c: Don't include <bp-checks.h>.
20163         * sysdeps/generic/bp-checks.h: Remove file.
20164         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20165         (__GETDENTS): Don't use CHECK_N.
20166         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20167         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20168         (__getgroups): Don't use CHECK_N.
20169         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20170         (setgroups): Don't use CHECK_N.
20171         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20172         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20173         (__libc_msgrcv): Don't use CHECK_N.
20174         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20175         (__libc_msgsnd): Don't use CHECK_N.
20176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20177         <bp-checks.h>.
20178         (__libc_pread): Don't use CHECK_N.
20179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20180         include <bp-checks.h>.
20181         (__libc_pread64): Don't use CHECK_N.
20182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20183         include <bp-checks.h>.
20184         (__libc_pwrite): Don't use CHECK_N.
20185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20186         include <bp-checks.h>.
20187         (__libc_pwrite64): Don't use CHECK_N.
20188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20189         <bp-checks.h>.
20190         (__libc_pread): Don't use CHECK_N.
20191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20192         include <bp-checks.h>.
20193         (__libc_pread64): Don't use CHECK_N.
20194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20195         include <bp-checks.h>.
20196         (__libc_pwrite): Don't use CHECK_N.
20197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20198         include <bp-checks.h>.
20199         (__libc_pwrite64): Don't use CHECK_N.
20200         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20201         (do_pread): Don't use CHECK_N.
20202         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20203         (do_pread64): Don't use CHECK_N.
20204         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20205         (do_pwrite): Don't use CHECK_N.
20206         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20207         (do_pwrite64): Don't use CHECK_N.
20208         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20209         (__libc_readv): Don't use CHECK_N.
20210         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20211         (semop): Don't use CHECK_N.
20212         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20213         <bp-checks.h>.
20214         (semtimedop): Don't use CHECK_N.
20215         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20216         (__libc_pread): Don't use CHECK_N.
20217         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20218         <bp-checks.h>.
20219         (__libc_pread64): Don't use CHECK_N.
20220         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20221         <bp-checks.h>.
20222         (__libc_pwrite): Don't use CHECK_N.
20223         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20224         <bp-checks.h>.
20225         (__libc_pwrite64): Don't use CHECK_N.
20226         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20227         <bp-checks.h>.
20228         (__libc_msgrcv): Don't use CHECK_N.
20229         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20230         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
20231         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20232         (__libc_writev): Don't use CHECK_N.
20234 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20236         * string/strcpy.c: Removed unused variable.
20238         * Makeconfig (+sysdep-includes): Define with := rather than =.
20239         Use an existing include/ subdir of each sysdeps dir before it.
20241 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20243         * nscd/connection.c (register_traced_file): Comment function.
20244         [HAVE_INOTIFY] (union __inev): Define.
20245         [HAVE_INOTIFY] (inotify_check_files): New function.
20246         [HAVE_INOTIFY] (clear_db_cache): Likewise.
20247         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20248         clear_db_cache.
20249         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20251 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20253         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20254         loaded if not already and that a failure is permanent.
20256 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20258         [BZ #15006]
20259         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20260         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20262 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20264         [BZ #13550]
20265         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20266         (CHECK_1_NULL_OK): Likewise.
20267         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20268         (__fxstat): Do not use CHECK_1.
20269         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20270         <bp-checks.h>.
20271         (___fxstat64): Do not use CHECK_1.
20272         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20273         <bp-checks.h>.
20274         (__fxstatat): Do not use CHECK_1.
20275         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20276         <bp-checks.h>.
20277         (__fxstatat64): Do not use CHECK_1.
20278         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20279         <bp-checks.h>.
20280         (__fxstat): Do not use CHECK_1.
20281         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20282         <bp-checks.h>.
20283         (__fxstatat): Do not use CHECK_1.
20284         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20285         <bp-checks.h>.
20286         (__getresgid): Do not use CHECK_1.
20287         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20288         <bp-checks.h>.
20289         (__getresuid): Do not use CHECK_1.
20290         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20291         <bp-checks.h>.
20292         (__lxstat): Do not use CHECK_1.
20293         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20294         <bp-checks.h>.
20295         (__old_msgctl): Do not use CHECK_1.
20296         (__new_msgctl): Likewise.
20297         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20298         <bp-checks.h>.
20299         (__new_setrlimit): Do not use CHECK_1.
20300         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20301         <bp-checks.h>.
20302         (__old_shmctl): Do not use CHECK_1.
20303         (__new_shmctl): Likewise.
20304         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20305         <bp-checks.h>.
20306         (__xstat): Do not use CHECK_1.
20307         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20308         (__lxstat): Do not use CHECK_1.
20309         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20310         <bp-checks.h>.
20311         (___lxstat64): Do not use CHECK_1.
20312         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20313         (__old_msgctl): Do not use CHECK_1.
20314         (__new_msgctl): Likewise.
20315         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20316         <bp-checks.h>.
20317         (__gettimeofday): Do not use CHECK_1.
20318         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20319         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20320         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20321         <bp-checks.h>.
20322         (__gettimeofday): Do not use CHECK_1.
20323         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20324         (__old_shmctl): Do not use CHECK_1_NULL_OK.
20325         (__new_shmctl): Do not use CHECK_1.
20326         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20327         <bp-checks.h>.
20328         (do_sigtimedwait): Do not use CHECK_1.
20329         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20330         <bp-checks.h>.
20331         (do_sigwaitinfo): Do not use CHECK_1.
20332         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20333         <bp-checks.h>.
20334         (msgctl): Do not use CHECK_1.
20335         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20336         <bp-checks.h>.
20337         (shmctl): Do not use CHECK_1.
20338         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20339         (ustat): Do not use CHECK_1.
20340         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20341         <bp-checks.h>.
20342         (__fxstat): Do not use CHECK_1.
20343         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20344         <bp-checks.h>.
20345         (__fxstatat): Do not use CHECK_1.
20346         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20347         <bp-checks.h>.
20348         (__lxstat): Do not use CHECK_1.
20349         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20350         <bp-checks.h>.
20351         (__xstat): Do not use CHECK_1.
20352         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20353         (__xstat): Do not use CHECK_1.
20354         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20355         (___xstat64): Do not use CHECK_1.
20357         [BZ #13550]
20358         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20359         definitions.
20360         (CHECK_BOUNDS_HIGH): Likewise.
20361         * string/strcpy.c: Do not include <bp-checks.h>.
20362         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20364 2013-02-07  Roland McGrath  <roland@hack.frob.com>
20366         * nscd/nscd-client.h (__nscd_drop_map_ref):
20367         Add __attribute__ ((unused)).
20368         * nis/nss-nisplus.h (niserr2nss): Likewise.
20370         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20371         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20373         * csu/libc-tls.c (init_static_tls, init_slotinfo):
20374         Remove inline keyword.
20375         * include/rounding-mode.h (round_away): Likewise.
20376         * libio/wfileops.c (adjust_wide_data): Likewise.
20377         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20378         (__m128i_strloadu_tolower): Likewise.
20379         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20380         (__m128i_strloadu_tolower): Likewise.
20381         * time/mktime.c (ydhms_diff): Likewise.
20382         * locale/elem-hash.h (elem_hash): Likewise.
20383         * locale/setlocale.c (setdata): Likewise.
20384         * posix/regex_internal.h (re_string_char_size_at): Likewise.
20385         (re_string_wchar_at): Likewise.
20386         (bitset_not, bitset_merge, bitset_mask): Likewise.
20387         [!(__GNUC__ > 3)] (inline): Remove macro.
20388         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20389         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20390         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20391         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20392         * string/memcmp.c (memcmp_bytes): Likewise.
20393         * locale/programs/locarchive.c (compute_hashval): Likewise.
20394         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20395         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20396         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20397         * nss/getent.c (print_rpc, print_protocols): Likewise.
20398         (print_passwd, print_group, print_aliases): Likewise.
20399         * nis/nss-nisplus.h (niserr2nss): Likewise.
20400         * nscd/connections.c (restart_p): Likewise.
20401         Change return type to bool.
20403 2013-02-05  Roland McGrath  <roland@hack.frob.com>
20405         * Makeconfig (all-Depend-files): Add existing
20406         $(sorted-subdirs:=/Depend) files.
20407         (all-subdirs): Remove nss.
20408         * sysdeps/unix/inet/Subdirs: Add it here instead.
20409         * hesiod/Depend: New file.
20411         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20412         instead of calling alloca.
20414         * io/lseek.c (__lseek): Rename to __libc_lseek.
20415         Define __lseek as an alias.
20417         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20419 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
20421         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20422         else clause and remove check for non-standard endianness.
20424 2013-02-04  David S. Miller  <davem@davemloft.net>
20426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20428 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
20430         [BZ #13550]
20431         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20432         (__ubp_memchr): Remove prototype.
20433         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20434         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20435         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20436         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20437         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20438         Remove alias.
20439         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20440         (__ubp_memchr): Likewise.
20441         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20442         (__ubp_memchr): Likewise.
20443         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20444         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20445         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20446         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20447         CHECK_STRING.
20448         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20449         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20450         (__getcwd): Do not use CHECK_STRING.
20451         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20452         <bp-checks.h>.
20453         (__real_chown): Do not use CHECK_STRING.
20454         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20455         <bp-checks.h>.
20456         (fchownat): Do not use CHECK_STRING.
20457         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20458         CHECK_STRING.
20459         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20460         <bp-checks.h>.
20461         (__lchown): Do not use CHECK_STRING.
20462         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20463         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20464         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20465         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20467         include <bp-checks.h>.
20468         (truncate64): Do not use CHECK_STRING.
20469         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20470         <bp-checks.h>.
20471         (__real_chown): Do not use CHECK_STRING.
20472         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20473         <bp-checks.h>.
20474         (__lchown): Do not use CHECK_STRING.
20475         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20476         <bp-checks.h>.
20477         (__chown): Do not use CHECK_STRING.
20478         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20479         <bp-checks.h>.
20480         (truncate64): Do not use CHECK_STRING.
20481         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20482         Likewise.
20483         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20484         (__xmknod): Do not use CHECK_STRING.
20485         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20486         <bp-checks.h>.
20487         (__xmknodat): Do not use CHECK_STRING.
20488         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20489         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20491 2013-02-04  Andreas Schwab  <schwab@suse.de>
20493         [BZ #14142]
20494         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20495         * include/netdb.h: Likewise for h_errno.
20496         * elf/tst-stackguard1.c: Include <tls.h>.
20498 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
20500         * elf/link.h (struct link_map): Extend the l_addr comment.
20501         * include/link.h (struct link_map): Likewise.
20503 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
20505         [BZ #13550]
20506         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20507         (BOUNDED_1): Remove macro.
20508         * debug/backtrace.c: Don't include <bp-checks.h>.
20509         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20510         (__backtrace): Likewise.
20511         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20512         <bp-checks.h>.
20513         (__backtrace): Don't use BOUNDED_1.
20514         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20515         <bp-checks.h>.
20516         (__backtrace): Don't use BOUNDED_1.
20517         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20518         (__backtrace): Don't use BOUNDED_1.
20519         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20520         (shmat): Don't use BOUNDED_N.
20522 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
20524         [BZ #13550]
20525         * sysdeps/generic/bp-start.h: Remove file.
20526         * csu/libc-start.c: Don't include <bp-start.h>.
20527         (LIBC_START_MAIN): Set up __environ directly instead of using
20528         INIT_ARGV_and_ENVIRON.
20529         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20530         <bp-start.h>.
20532         [BZ #13550]
20533         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20534         definitions.
20535         (CHECK_FCNTL): Likewise.
20536         (CHECK_N_PAGES): Likewise.
20538         [BZ #13550]
20539         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20540         definitions.
20541         (CHECK_SIGSET_NULL_OK): Likewise.
20542         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20543         <bp-checks.h>.
20544         (sigpending): Don't use CHECK_SIGSET.
20545         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20546         <bp-checks.h>.
20547         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20548         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20549         <bp-checks.h>.
20550         (do_sigsuspend): Don't use CHECK_SIGSET.
20551         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20552         use CHECK_SIGSET.
20553         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20554         (do_sigwait): Don't use CHECK_SIGSET.
20555         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20556         use CHECK_SIGSET.
20557         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20558         include <bp-checks.h>.
20559         (sigpending): Don't use CHECK_SIGSET.
20560         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20561         include <bp-checks.h>.
20562         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20563         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20564         <bp-checks.h>.
20565         (sigpending): Don't use CHECK_SIGSET.
20566         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20567         <bp-checks.h>.
20568         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20570         [BZ #13550]
20571         * sysdeps/generic/bp-semctl.h: Remove file.
20572         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20573         <bp-checks.h> and <bp-semctl.h>.
20574         (__old_semctl): Don't use CHECK_SEMCTL.
20575         (__new_semctl): Likewise.
20576         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20577         and <bp-semctl.h>.
20578         (__old_semctl): Don't use CHECK_SEMCTL.
20579         (__new_semctl): Likewise.
20580         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20581         <bp-checks.h> and <bp-semctl.h>.
20582         (__old_semctl): Don't use CHECK_SEMCTL.
20583         (__new_semctl): Likewise.
20584         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20585         <bp-checks.h> and <bp-semctl.h>.
20586         (semctl): Don't use CHECK_SEMCTL.
20588         [BZ #13550]
20589         * Makerules (elide-bp-thunks): Remove variable.
20590         (elide-routines.oS): Don't use $(elide-bp-thunks).
20591         (elide-routines.os): Likewise.
20592         (elide-routines.o): Likewise.
20593         (elide-routines.op): Likewise.
20594         (elide-routines.og): Likewise.
20595         (objects): Don't use $(bp-thunks).
20596         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20597         include.
20598         (common-generated): Do not add s-proto-bp.d.
20599         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20600         (int): Likewise.
20601         (typ): Likewise.
20602         Do not generate makefile rules for bounded-pointer thunks.
20603         * sysdeps/generic/bp-thunks.h: Remove file.
20604         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20605         * sysdeps/unix/s-proto-bp.S: Likewise.
20607         [BZ #15062]
20608         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20609         parts of result separately when argument is not close to line from
20610         -i to i and one part of argument is small.
20611         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20612         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20613         * math/libm-test.inc (cacos_test): Add more tests.
20614         (casin_test): Likewise.
20615         (casinh_test): Likewise.
20616         * sysdeps/i386/fpu/libm-test-ulps: Update.
20617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20619 2013-01-31  David S. Miller  <davem@davemloft.net>
20621         * po/de.po: Update from translation team.
20623 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20625         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20627 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20629         * configure.in (_AC_PROG_CC_C89): New definition.
20630         * configure: Regenerate.
20632         * configure.in (AC_PROG_CPP): New definition.
20633         * configure: Regenerate.
20635 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20637         * debug/tst-backtrace.h: New file.
20638         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20639         (ret): Remove variable.
20640         (x): Likewise.
20641         (FAIL): Remove macro.
20642         (NO_INLINE): Likewise.
20643         (fn1): Use match function instead of strstr.
20644         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20645         (ret): Remove variable.
20646         (x): Likewise.
20647         (FAIL): Remove macro.
20648         (NO_INLINE): Likewise.
20649         (fn): Use match function instead of strstr.
20650         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20651         (ret): Remove variable.
20652         (x): Likewise.
20653         (FAIL): Remove macro.
20654         (NO_INLINE): Likewise.
20655         (handle_signal): Use match function instead of strstr.
20656         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20657         (ret): Remove variable.
20658         (x): Likewise.
20659         (FAIL): Remove macro.
20660         (NO_INLINE): Likewise.
20661         (handle_signal): Use match function instead of strstr.
20663 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20665         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20667 2013-01-23  David S. Miller  <davem@davemloft.net>
20669         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20670         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20671         argument of CAS if possible.
20672         * sysdeps/sparc/sparc64/bits/atomic.h
20673         (__arch_compare_and_exchange_val_32_acq): Likewise.
20674         (__arch_compare_and_exchange_val_64_acq): Likewise.
20676 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20678         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20679         * sysdeps/posix/ulimit.c: ... this.
20680         Include <limits.h>.
20681         * sysdeps/unix/bsd/ulimit.c: Remove file.
20683 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20685         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20686         (LDFLAGS-tst-array5): Likewise.
20688 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20690         [BZ #15036]
20691         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20692         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20693         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20694         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20696 2013-01-21  David S. Miller  <davem@davemloft.net>
20698         * sysdeps/sparc/backtrace.c: New file.
20699         * sysdeps/sparc/sparc32/backtrace.h: New file.
20700         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20701         * sysdeps/sparc/sparc64/backtrace.h: New file.
20702         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20703         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20704         -funwind-tables.
20706 2013-01-21  Andreas Schwab  <schwab@suse.de>
20708         [BZ #15020]
20709         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20710         closed its stdout.
20712 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20715         "mpa2.h".
20716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20718 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20719             Mark Mitchell  <mark@codesourcery.com>
20720             Tom de Vries  <tom@codesourcery.com>
20721             Paul Pluzhnikov  <ppluzhnikov@google.com>
20723         * debug/tst-backtrace2.c: New file.
20724         * debug/tst-backtrace3.c: Likewise.
20725         * debug/tst-backtrace4.c: Likewise.
20726         * debug/tst-backtrace5.c: Likewise.
20727         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20728         (CFLAGS-tst-backtrace3.c): Likewise.
20729         (CFLAGS-tst-backtrace4.c): Likewise.
20730         (CFLAGS-tst-backtrace5.c): Likewise.
20731         (LDFLAGS-tst-backtrace2): Likewise.
20732         (LDFLAGS-tst-backtrace3): Likewise.
20733         (LDFLAGS-tst-backtrace4): Likewise.
20734         (LDFLAGS-tst-backtrace5): Likewise.
20735         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20736         tst-backtrace4 and tst-backtrace5.
20738 2013-01-18  Anton Blanchard  <anton@samba.org>
20739             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20741         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20742         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20743         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20744         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20746         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20747         "+r" and remove output regs list as redundant.  Add explicit inline
20748         asm to specify register of return val to work around compiler codegen
20749         bug.  Remove (int) cast on return value.  Add return type parameter to
20750         use in macro so that this macro does not truncate return value for
20751         64-bit values.
20752         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20753         pass to INTERNAL_VSYSCALL_NCS.
20754         (INLINE_VSYSCALL): Add 'long int' as return type to
20755         INTERNAL_VSYSCALL_NCS macro invocation.
20756         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20757         INTERNAL_VSYSCALL_NCS macro invocation.
20758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20760 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20762         [BZ #14496]
20763         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20764         Fix application of SIMD FP exception mask.
20766         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20767         mp_no from a power of two.
20768         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20769         __mpexp_twomm1.  Use __pow_mp.
20771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20772         multiplication.
20774 2013-01-17  David S. Miller  <davem@davemloft.net>
20776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20778 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20780         [BZ #15023]
20781         * include/complex.h: Condition contents on [!_COMPLEX_H].
20782         (__kernel_casinhf): New prototype.
20783         (__kernel_casinh): Likewise.
20784         (__kernel_casinhl): Likewise.
20785         * math/Makefile (libm_calls): Add k_casinh.
20786         * math/k_casinh.c: New file.
20787         * math/k_casinhf.c: Likewise.
20788         * math/k_casinhl.c: Likewise.
20789         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20790         finite nonzero arguments.
20791         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20792         finite nonzero arguments.
20793         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20794         finite nonzero arguments.
20795         * math/s_casinh.c: Do not include <float.h>.
20796         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20797         * math/s_casinhf.c: Do not include <float.h>.
20798         (__casinhf): Move code for finite nonzero arguments to
20799         k_casinhf.c.
20800         * math/s_casinhl.c: Do not include <float.h>.
20801         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20802         redefine.
20803         (__casinhl): Move code for finite nonzero arguments to
20804         k_casinhl.c.
20805         * math/libm-test.inc (cacos_test): Add more tests.
20806         * sysdeps/i386/fpu/libm-test-ulps: Update.
20807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20809 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20811         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20812         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20813         [!HAVE_MREMAP]: Remove [defined linux] case.
20814         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20816 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20818         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20820 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20822         * elf/elf.h (R_386_SIZE32): New relocation.
20823         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20824         R_386_SIZE32.
20825         (elf_machine_rela): Likewise.
20826         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20827         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20829 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20831         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20832         (FP_FAST_FMA): Do not define.
20833         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20834         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20835         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20836         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20837         !_SOFT_FLOAT]: Likewise.
20838         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20839         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20840         value.
20841         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20842         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20843         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20844         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20845         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20846         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20847         file.
20849 2013-01-16  Andreas Schwab  <schwab@suse.de>
20851         [BZ #14327]
20852         * include/stdlib.h (__mktemp): Add declaration.
20853         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20854         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20856 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20858         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20859         definitions.
20860         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20861         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20862         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20863         definitions here.
20864         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20865         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20866         definitions.
20867         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20868         and ONE.
20869         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20870         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20871         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20872         definitions.
20873         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20874         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20875         definitions.
20876         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20878         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20880 2013-01-15  David S. Miller  <davem@davemloft.net>
20882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20883         trunc{,f} to libm-sysdep_routes.
20884         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20886         file.
20887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20889         file.
20890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20891         file.
20892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20894         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20895         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20896         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20897         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20898         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20899         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20902         nearbyint{,f} to libm-sysdep_routes.
20903         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20905         New file.
20906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20907         file.
20908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20909         New file.
20910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20911         file.
20912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20914         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20915         file.
20916         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20917         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20918         file.
20919         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20920         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20921         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20923         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20924         libc_feholdexcept and libc_fesetenv.
20926 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20928         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20930 2013-01-14  David S. Miller  <davem@davemloft.net>
20932         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20933         (SPARC_ASM_VIS2_IFUNC): Likewise.
20934         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20936         use of 'siam' instruction.
20937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20938         Likewise.
20939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20940         Likewise.
20941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20942         Likewise.
20943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20944         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20946         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20948         file.
20949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20950         file.
20951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20952         file.
20953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20954         file.
20955         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20960         new VIS2 routines.
20961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20964         Likewise.
20965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20970         routines to libm-sysdep_routines.
20971         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20974         fdim/fdimf to libm-sysdep_routines.
20975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20976         file.
20977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20979         file.
20980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20983         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20984         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20985         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20986         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20988 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20990         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20991         to optimize copies.
20993         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20998         local variable MPTWO.
20999         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21000         Likewise.
21002 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21004         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21005         GLOB_NOESCAPE.
21007 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21009         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21011 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21013         * manual/pattern.texi (glob_t): Document gl_flags.
21014         (glob64_t): Likewise.
21016 2013-01-11  David S. Miller  <davem@davemloft.net>
21018         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21019         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21020         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
21021         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21022         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21023         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21024         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21025         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21026         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21027         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21028         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21029         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21030         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21032         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21033         sparc V9 rather than using V8 code.
21034         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21035         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21037         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21038         Move to...
21039         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21040         Here.
21042 2013-01-11  Roland McGrath  <roland@hack.frob.com>
21044         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21045         not in the main loop.
21046         * configure: Regenerated.
21048 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
21050         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21051         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21052         to just #else.
21053         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
21054         [!__GLIBC_HAVE_LONG_LONG] case.
21055         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21056         condition to just #else.
21057         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21058         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21059         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21060         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21061         unconditional.
21062         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21063         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21064         #elif condition to just #else.
21065         * sysdeps/unix/sysv/linux/sys/sysmacros.h
21066         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21067         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21068         #elif condition to just #else.
21070 2013-01-11  Steve Ellcey  <sellcey@mips.com>
21072         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21073         (EF_MIPS_ARCH_64): Fix value.
21074         (EF_MIPS_ARCH_32R2): New.
21075         (EF_MIPS_ARCH_64R2): New.
21077 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
21079         * Makeconfig (+link-pie-before-libc): New.
21080         (+link-pie-after-libc): Likewise.
21081         (+link-pie-tests): Likewise.
21082         (+link-pie): Rewritten.
21083         (link-before-libc): Remove $(config-LDFLAGS).
21084         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21085         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21086         (config-LDFLAGS): Renamed to ...
21087         (rtld-LDFLAGS): This.
21088         (rtld-tests-LDFLAGS): New macro.
21089         (link-libc-rpath-link): Likewise.
21090         (link-libc-tests-rpath-link): Likewise.
21091         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21092         (link-libc): Prepand $(link-libc-rpath-link).
21093         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21094         (test-program-prefix): New macro.
21095         (test-via-rtld-prefix): Likewise.
21096         (test-program-cmd): Likewise.
21097         (host-test-program-cmd): Likewise.
21098         * Makefile ($(common-objpfx)testrun.sh): Replace
21099         $(run-program-prefix) with $(test-program-prefix).
21100         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21101         $(rtld-LDFLAGS).
21102         ($(common-objpfx)shlib.lds): Likewise.
21103         (build-module-helper): Likewise.
21104         ($(common-objpfx)format.lds): Likewise.
21105         * Rules (binaries-pie-tests): New.
21106         (binaries-pie-notests): Likewise.
21107         (binaries-pie): Rewritten.
21108         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21109         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21110         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21111         (make-test-out): Replace $(host-built-program-cmd) with
21112         $(host-test-program-cmd).
21113         * config.make.in (build-hardcoded-path-in-tests): New variable.
21114         * configure.in (--enable-hardcoded-path-in-tests): New configure
21115         option.
21116         (hardcoded_path_in_tests): New AC_SUBST.
21117         * configure: Regenerated.
21118         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21119         $(built-program-cmd) with $(test-program-cmd).
21120         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21121         (test_program_cmd): This.
21122         * elf/Makefile ($(objpfx)order.out): Run test with
21123         $(test-program-prefix).
21124         ($(objpfx)order2.out): Likewise.
21125         ($(objpfx)tst-initorder.out): Likewise.
21126         ($(objpfx)tst-initorder2.out): Likewise.
21127         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21128         $(test-program-cmd).
21129         ($(objpfx)tst-array1-static.out): Likewise.
21130         ($(objpfx)tst-array2.out): Likewise.
21131         ($(objpfx)tst-array3.out): Likewise.
21132         ($(objpfx)tst-array4.out): Likewise.
21133         ($(objpfx)tst-array5.out): Likewise.
21134         ($(objpfx)tst-array5-static.out): Likewise.
21135         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21136         $(test-program-cmd).
21137         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21138         $(run-program-prefix) with $(test-program-prefix).
21139         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21140         (test_program_prefix): This.
21141         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21142         $(run-program-prefix) with $(test-program-prefix).
21143         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21144         (test_program_prefix): This.
21145         * iconvdata/tst-tables.sh: Likewise.
21146         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21147         $(run-program-prefix) with $(test-program-prefix).
21148         ($(objpfx)tst-translit.out): Likewise.
21149         ($(objpfx)tst-gettext2.out): Likewise.
21150         ($(objpfx)tst-gettext4.out): Likewise.
21151         ($(objpfx)tst-gettext6.out): Likewise.
21152         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21153         (test_program_prefix): This.
21154         * intl/tst-gettext2.sh: Likewise.
21155         * intl/tst-gettext4.sh  Likewise.
21156         * intl/tst-gettext6.sh: Likewise.
21157         * intl/tst-translit.sh: Likewise.
21158         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21159         with $(test-program-cmd).
21160         * libio/Makefile ($(objpfx)test-freopen.out): Replace
21161         $(run-program-prefix) with $(test-program-prefix).
21162         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21163         (test_program_prefix): This.
21164         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21165         $(run-program-prefix) with $(test-program-prefix).
21166         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21167         (test_program_prefix): This.
21168         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21169         * posix/Makefile ($(objpfx)globtest.out): Replace
21170         $(run-via-rtld-prefix) and $(test-wrapper) with
21171         $(test-program-prefix) and $(test-via-rtld-prefix).
21172         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21173         $(test-program-prefix).
21174         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21175         $(host-test-program-cmd).
21176         (tst-spawn-ARGS): Likewise.
21177         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21178         $(test-program-prefix).
21179         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21180         (test_via_rtld_prefix): This.
21181         (test_wrapper): Renamed to ...
21182         (test_program_prefix): This.
21183         (run_program_prefix): Replaced by test_program_prefix.
21184         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21185         (test_program_prefix): This.
21186         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21187         with $(host-test-program-cmd).
21188         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21189         $(run-program-prefix) with $(test-program-prefix).
21190         ($(objpfx)tst-printf.out): Likewise.
21191         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21192         $(test-program-cmd).
21193         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21194         (test_program_prefix): This.
21195         * stdio-common/tst-unbputc.sh: Likewise.
21196         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21197         $(run-program-prefix) with $(test-program-prefix).
21198         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21199         (test_program_prefix): This.
21200         * string/Makefile ($(objpfx)tst-svc.out):  Replace
21201         $(built-program-cmd) with $(test-program-cmd).
21203 2013-01-11  Andreas Jaeger  <aj@suse.de>
21205         [BZ #15003]
21206         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21207         value. Sync with Linux 3.7.
21209 2013-01-10  David S. Miller  <davem@davemloft.net>
21211         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21212         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21213         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21215 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21217         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21218         never set.
21219         * configure: Regenerated.
21221 2013-01-10  David S. Miller  <davem@davemloft.net>
21223         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21224         sparc V9 rather than using V8 code.
21225         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21226         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21228 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21230         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21231         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21232         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21233         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21234         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21235         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21236         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21237         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21238         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21239         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21240         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21241         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21242         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21243         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21244         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21245         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21246         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21247         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21248         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21249         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21250         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21251         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21252         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21253         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21254         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21255         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21256         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21258 2013-01-10  David S. Miller  <davem@davemloft.net>
21260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21262 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21264         * posix/Makefile (tests-static): New variable.
21265         (tests): Add $(tests-static).
21266         (tst-exec-static-ARGS): New variable.
21267         (tst-spawn-static-ARGS): Likewise.
21268         * posix/tst-exec-static.c: New file.
21269         * posix/tst-spawn-static.c: Likewise.
21270         * posix/tst-exec.c: Support run directly.
21271         * posix/tst-spawn.c: Likewise.
21273 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
21275         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21276         long.
21277         * math/bits/mathcalls.h (llrint): Likewise.
21278         (llround): Likewise.
21279         * stdlib/stdlib.h (struct drand48_data): Likewise.
21280         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21281         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21282         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21283         Likewise.
21284         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21285         Likewise.
21286         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21287         (elf_greg_t): Likewise.
21288         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21289         (__jmp_buf): Likewise.
21290         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21291         definitions.
21292         (llrint): Likewise, for all definitions.
21293         (llrintl): Likewise.
21295         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21296         Remove [__GNUC__] condition.
21297         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21298         condition to just [__USE_ISOC99].
21299         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21301 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21303         [BZ #14200]
21304         * sysdeps/unix/sysv/linux/x86/bits/environments.h
21305         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21306         defined.
21307         (_POSIX_V6_ILP32_OFF32): Likewise.
21308         (_XBS5_ILP32_OFF32): Likewise.
21309         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21310         (__ILP32_OFFBIG_LDFLAGS): Likewise.
21312 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21314         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21317         doubles __mpexp_twomm1.  Adjust usage.
21318         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21319         Remove.
21321 2013-01-10  Andreas Schwab  <schwab@suse.de>
21323         [BZ #14964]
21324         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21325         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21327 2013-01-09  David S. Miller  <davem@davemloft.net>
21329         [BZ #15003]
21330         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21331         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21332         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21333         (TCP_FASTOPEN): Define.
21334         (tcp_repair_opt): New structure.
21335         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21336         enum values.
21337         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21338         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21339         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21340         (tcp_cookie_transactions): New structure.
21342 2013-01-09  Anton Blanchard  <anton@samba.org>
21344         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21345         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21346         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21347         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21349 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
21351         * include/features.h (__USE_ANSI): Remove.
21353 2013-01-09  Roland McGrath  <roland@hack.frob.com>
21355         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21357         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21359 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21361         * sysdeps/s390/fpu/libm-test-ulps: Update.
21363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21365         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21366         (__acr): Likewise.
21367         (__cpy): Likewise.
21368         (norm): Likewise.
21369         (denorm): Likewise.
21370         (__mp_dbl): Likewise.
21371         (__dbl_mp): Likewise.
21372         (add_magnitudes): Likewise.
21373         (sub_magnitudes): Likewise.
21374         (__add): Likewise.
21375         (__sub): Likewise.
21376         (__mul): Likewise.
21377         (__inv): Likewise.
21378         (__dvd): Likewise.
21379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21380         (__acr): Likewise.
21381         (__cpy): Likewise.
21382         (norm): Likewise.
21383         (denorm): Likewise.
21384         (__mp_dbl): Likewise.
21385         (__dbl_mp): Likewise.
21386         (add_magnitudes): Likewise.
21387         (sub_magnitudes): Likewise.
21388         (__add): Likewise.
21389         (__sub): Likewise.
21390         (__mul): Likewise.
21391         (__inv): Likewise.
21392         (__dvd): Likewise.
21393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21394         (__acr): Likewise.
21395         (__cpy): Likewise.
21396         (norm): Likewise.
21397         (denorm): Likewise.
21398         (__mp_dbl): Likewise.
21399         (__dbl_mp): Likewise.
21400         (add_magnitudes): Likewise.
21401         (sub_magnitudes): Likewise.
21402         (__add): Likewise.
21403         (__sub): Likewise.
21404         (__mul): Likewise.
21405         (__inv): Likewise.
21406         (__dvd): Likewise.
21408 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
21410         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21411         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21412         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21413         2 && __USE_EXTERN_INLINES]: Likewise.
21415 2013-01-08  Andreas Jaeger  <aj@suse.de>
21417         [BZ# 14985]
21418         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21419         Remove.
21420         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21421         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21423 2013-01-07  Anton Blanchard  <anton@samba.org>
21425         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21426         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21427         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21428         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21429         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21430         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21431         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21432         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21434         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21435         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21436         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21437         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21438         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21439         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21440         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21441         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21442         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21443         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21444         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21445         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21446         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21447         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21448         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21449         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21450         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21451         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21452         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21453         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21454         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21455         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21457         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21458         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21459         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21460         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21461         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21462         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21463         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21464         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21465         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21466         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21467         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21469 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
21471         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21472         (__MALLOC_PMT): Likewise.
21473         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21474         [__GNUC__], only on [_LIBC].
21475         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21476         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21477         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21478         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21479         forward declaration.
21480         (realloc_hook_ini): Likewise.
21481         (memalign_hook_ini): Likewise.
21482         (__libc_memalign): Do not use __MALLOC_PMT in variable
21483         declaration.
21484         (__libc_valloc): Likewise.
21485         (__libc_pvalloc): Likewise.
21486         (__libc_calloc): Likewise.
21487         (__posix_memalign): Likewise.
21489         [BZ #14996]
21490         * math/s_casinh.c: Include <float.h>.
21491         (__casinh): Do not do computation with squaring and square root
21492         for large arguments.
21493         * math/s_casinhf.c: Include <float.h>.
21494         (__casinhf): Do not do computation with squaring and square root
21495         for large arguments.
21496         * math/s_casinhl.c: Include <float.h>.
21497         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21498         (__casinhl): Do not do computation with squaring and square root
21499         for large arguments.
21500         * math/libm-test.inc (casin_test): Add more tests.
21501         (casinh_test): Likewise.
21502         * sysdeps/i386/fpu/libm-test-ulps: Update.
21503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21505 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
21507         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21508         (__x86_64_raw_data_cache_size): Likewise.
21509         (__x86_64_data_cache_size_half): Likewise.
21510         (__x86_64_raw_data_cache_size_half): Likewise.
21511         (__x86_64_shared_cache_size): Likewise.
21512         (__x86_64_raw_shared_cache_size): Likewise.
21513         (__x86_64_shared_cache_size_half): Likewise.
21514         (__x86_64_raw_shared_cache_size_half): Likewise.
21515         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21516         to ...
21517         (__x86_data_cache_size): This.
21518         (__x86_64_raw_data_cache_size): Renamed to ...
21519         (__x86_raw_data_cache_size): This.
21520         (__x86_64_data_cache_size_half): Renamed to ...
21521         (__x86_data_cache_size_half): This.
21522         (__x86_64_raw_data_cache_size_half): Renamed to ...
21523         (__x86_raw_data_cache_size_half): This.
21524         (__x86_64_shared_cache_size): Renamed to ...
21525         (__x86_shared_cache_size): This.
21526         (__x86_64_raw_shared_cache_size): Renamed to ...
21527         (__x86_raw_shared_cache_size): This.
21528         (__x86_64_shared_cache_size_half): Renamed to ...
21529         (__x86_shared_cache_size_half): This.
21530         (__x86_64_raw_shared_cache_size_half): Renamed to ...
21531         (__x86_raw_shared_cache_size_half): This.
21532         * sysdeps/x86_64/memcpy.S: Updated.
21533         * sysdeps/x86_64/memset.S: Likewise.
21534         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21535         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21536         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21538 2013-01-04  David S. Miller  <davem@davemloft.net>
21540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21542 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
21544         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21545         1 to avoid redefinition warning.
21546         (__USE_GNU): Don't define.
21547         (init_signaling_nan): Protoize.
21549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21551 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21553         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21555         (__cpymn): Likewise.
21556         (norm): Remove commented code.
21557         (denorm): Likewise.
21558         (__mp_dbl): Likewise.
21559         (__inv): Likewise.
21560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21561         (__cpymn): Likewise.
21562         (norm): Remove commented code.
21563         (denorm): Likewise.
21564         (__mp_dbl): Likewise.
21565         (__inv): Likewise.
21567         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21568         mp_no value for 1.0 and 2.0.
21569         (norm): Use RADIXI instead of radixi.d.
21570         (denorm): Likewise.
21571         (__mul): Use 0.0 instead of zero.d.
21572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21573         mp_no value for 1.0 and 2.0.
21574         (norm): Use RADIXI instead of radixi.d.
21575         (denorm): Likewise.
21576         (__mul): Use 0.0 instead of zero.d.
21578 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
21580         [BZ #14994]
21581         * math/s_casinh.c (__casinh): Reduce finite argument to first
21582         quadrant then set signs of results at the end.
21583         * math/s_casinhf.c (__casinhf): Likewise.
21584         * math/s_casinhl.c (__casinhl): Likewise.
21585         * math/libm-test.inc (casin_test): Add more tests.
21586         (casinh_test): Likewise.
21587         * sysdeps/i386/fpu/libm-test-ulps: Update.
21588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21590 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21592         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21594         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21596         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21597         declarations.
21598         (denorm): Likewise.
21599         (__mp_dbl): Likewise.
21600         (__inv): Likewise.
21602         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21603         and adjust the header comment.
21605         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21606         variable name from declaration.
21608 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21611         Initialize COMMON_CPUID_INDEX_7 element.
21612         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21613         (CPUID_RTM): Likewise.
21614         (HAS_RTM): Likewise.
21615         (COMMON_CPUID_INDEX_7): New enum.
21617 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21619         [BZ #14981]
21620         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21621         size is zero, record memory as freed.
21623 2013-01-03  Andreas Jaeger  <aj@suse.de>
21625         * po/ia.po: Add new Interlingua translation.
21627 2012-01-03  Allan McRae  <allan@archlinux.org>
21629         * locale/programs/localedef.c: Fix description of '--posix' flag.
21631 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21633         * NEWS: Update dates in second copyright notice.
21634         * README: Update copyright dates in example.
21635         * manual/libc.texinfo: Update copyright dates.
21636         * scripts/test-installation.pl: Update copyright date in --version
21637         output.
21639         * hurd/ctty-input.c: Fix copyright notice formatting.
21640         * hurd/ctty-output.c: Likewise.
21641         * hurd/dtable.c: Likewise.
21642         * hurd/hurd-raise.c: Likewise.
21643         * hurd/hurdprio.c: Likewise.
21644         * hurd/msgportdemux.c: Likewise.
21645         * misc/sys/file.h: Likewise.
21646         * misc/sys/ioctl.h: Likewise.
21647         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21648         * sysdeps/mach/hurd/chdir.c: Likewise.
21649         * sysdeps/mach/hurd/fchdir.c: Likewise.
21650         * sysdeps/mach/hurd/rename.c: Likewise.
21651         * sysdeps/mach/hurd/rmdir.c: Likewise.
21652         * sysdeps/mach/hurd/seekdir.c: Likewise.
21653         * sysdeps/mach/hurd/setsid.c: Likewise.
21654         * sysdeps/posix/wait3.c: Likewise.
21656         * All files with FSF copyright notices: Update copyright dates
21657         using scripts/update-copyrights.
21658         * intl/plural.c: Regenerated.
21659         * locale/programs/charmap-kw.h: Likewise.
21660         * locale/programs/locfile-kw.h: Likewise.
21662 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21664         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21665         four values.
21667         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21668         calculation loop and add branch prediction.
21670         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21671         check access beyond bounds of m1np.
21673         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21674         MPTWO.
21675         (__inv): Remove local variable MPTWO to use the global
21676         constant.
21677         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21678         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21679         variable MPTWO.
21680         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21681         MP3HALFS static const.
21683 2013-01-01  David S. Miller  <davem@davemloft.net>
21685         * po/ca.po: Update from translation team.
21687 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21689         * scripts/update-copyrights: New file.
21690         * Makeconfig: Reformat copyright notice.
21691         * ctype/ctype.h: Likewise.
21692         * debug/swprintf_chk.c: Likewise.
21693         * elf/dl-cache.c: Likewise.
21694         * elf/dl-debug.c: Likewise.
21695         * elf/dl-object.c: Likewise.
21696         * grp/initgroups.c: Likewise.
21697         * hurd/Makefile: Likewise.
21698         * hurd/hurd/signal.h: Likewise.
21699         * hurd/hurdfault.c: Likewise.
21700         * hurd/hurdioctl.c: Likewise.
21701         * hurd/hurdlookup.c: Likewise.
21702         * hurd/intr-msg.c: Likewise.
21703         * iconv/gconv_open.c: Likewise.
21704         * libio/swprintf.c: Likewise.
21705         * locale/lc-ctype.c: Likewise.
21706         * locale/nl_langinfo.c: Likewise.
21707         * mach/Machrules: Likewise.
21708         * mach/Makefile: Likewise.
21709         * malloc/obstack.h: Likewise.
21710         * manual/Makefile: Likewise.
21711         * manual/tsort.awk: Likewise.
21712         * misc/bits/stab.def: Likewise.
21713         * nis/nis_print_group_entry.c: Likewise.
21714         * nis/nis_table.c: Likewise.
21715         * nis/nss_compat/compat-pwd.c: Likewise.
21716         * nis/nss_compat/compat-spwd.c: Likewise.
21717         * po/Makefile: Likewise.
21718         * posix/fnmatch.c: Likewise.
21719         * posix/regex.h: Likewise.
21720         * resolv/Makefile: Likewise.
21721         * resolv/nss_dns/dns-network.c: Likewise.
21722         * resolv/res_hconf.c: Likewise.
21723         * scripts/gen-sorted.awk: Likewise.
21724         * soft-fp/soft-fp.h: Likewise.
21725         * stdio-common/printf.h: Likewise.
21726         * stdlib/monetary.h: Likewise.
21727         * stdlib/random.c: Likewise.
21728         * stdlib/random_r.c: Likewise.
21729         * sysdeps/generic/Makefile: Likewise.
21730         * sysdeps/gnu/Makefile: Likewise.
21731         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21732         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21733         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21734         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21735         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21736         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21737         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21738         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21739         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21740         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21741         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21742         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21743         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21744         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21745         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21746         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21747         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21749         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21750         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21751         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21752         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21753         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21754         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21755         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21756         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21757         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21758         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21759         * sysdeps/mach/hurd/errnos.awk: Likewise.
21760         * sysdeps/mach/hurd/fork.c: Likewise.
21761         * sysdeps/mach/hurd/getcwd.c: Likewise.
21762         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21763         * sysdeps/mach/hurd/mmap.c: Likewise.
21764         * sysdeps/mach/hurd/utimes.c: Likewise.
21765         * sysdeps/mach/hurd/xmknod.c: Likewise.
21766         * sysdeps/posix/profil.c: Likewise.
21767         * sysdeps/posix/readdir_r.c: Likewise.
21768         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21769         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21770         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21771         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21773         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21774         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21775         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21777         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21778         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21779         * sysdeps/pthread/lio_listio.c: Likewise.
21780         * sysdeps/sparc/dl-procinfo.h: Likewise.
21781         * sysdeps/unix/i386/sysdep.S: Likewise.
21782         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21783         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21784         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21785         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21787         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21788         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21789         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21790         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21791         * sysdeps/wordsize-32/divdi3.c: Likewise.
21792         * time/sys/time.h: Likewise.
21793         * wcsmbs/Makefile: Likewise.
21795 2013-01-01  David S. Miller  <davem@davemloft.net>
21797         * po/fr.po: Update from translation team.
21799         * catgets/gencat.c: Update copyright year.
21800         * csu/version.c: Likewise.
21801         * debug/catchsegv.sh: Likewise.
21802         * debug/pcprofiledump.c: Likewise.
21803         * debug/xtrace.sh: Likewise.
21804         * elf/ldconfig.c: Likewise.
21805         * elf/ldd.bash.in: Likewise.
21806         * elf/pldd.c: Likewise.
21807         * elf/sotruss.ksh: Likewise.
21808         * elf/sprof.c: Likewise.
21809         * iconv/iconv_prog.c: Likewise.
21810         * iconv/iconvconfig.c: Likewise.
21811         * locale/programs/locale.c: Likewise.
21812         * locale/programs/localedef.c: Likewise.
21813         * login/programs/pt_chown.c: Likewise.
21814         * malloc/memusage.sh: Likewise.
21815         * malloc/memusagestat.c: Likewise.
21816         * malloc/mtrace.pl: Likewise.
21817         * nscd/nscd.c: Likewise.
21818         * nss/getent.c: Likewise.
21819         * nss/makedb.c: Likewise.
21820         * posix/getconf.c: Likewise.
21822 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21824         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21825         numbers.
21827 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21829         * math/bits/mathcalls.h (modf): Use __nonnull.
21831 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21833         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21834         (split): Use macro CN instead of the bare value.
21835         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21836         could be used.
21837         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21838         instead of the bare value.
21839         (power1): Likewise.
21841 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21843         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21844         __ATAN_TWOM.
21845         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21847         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21848         their values.
21849         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21850         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21851         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21852         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21854 2012-12-28  Andreas Jaeger  <aj@suse.de>
21856         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21857         values are from Linux 3.7.
21859         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21860         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21862 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21864         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21865         TRUE case.
21867         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21868         (norm): Likewise.
21869         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21870         variables with preprocessor constants.
21871         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21872         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21873         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21875 2012-12-27  Bruno Haible  <bruno@clisp.org>
21877         [BZ #14317]
21878         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21879         only if needed.
21881 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21884         and use variable directly.
21885         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21887         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21888         MPONE.
21889         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21890         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21891         variable MPONE.
21892         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21893         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21894         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21895         include directive.  Remove local variable MPONE.
21896         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21897         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21898         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21900 2012-12-25  David S. Miller  <davem@davemloft.net>
21902         * version.h (RELEASE): Set to "development".
21903         (VERSION): Set to "2.17.90".
21904         * NEWS: Add 2.18 section.
21906 2012-12-21  David S. Miller  <davem@davemloft.net>
21908         * po/hr.po: Update from translation team.
21910 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21912         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21914 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21916         * NEWS:  Mention new memcpy for MIPS.
21918 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21920         * manual/contrib.texi (Contributors): Spelling correction.
21922 2012-12-15  David S. Miller  <davem@davemloft.net>
21924         * po/ru.po: Update from translation team.
21926 2012-12-13  David S. Miller  <davem@davemloft.net>
21928         * NEWS: Mention IFUNC testsuite enhancements.
21930         * po/pl.po: Update from translation team.
21931         * po/bg.po: Likewise.
21933         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21934         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21936 2012-12-11  David S. Miller  <davem@davemloft.net>
21938         * po/sv.po: Update from translation team.
21940         * po/vi.po: Update from translation team.
21942         * po/cs.po: Update from translation team.
21944         * po/de.po: Update from translation team.
21945         * po/eo.po: Likewise.
21946         * po/nl.po: Likewise.
21948 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21950         [BZ #14246]
21951         * manual/argp.texi (Argp Helper Functions): Move node to follow
21952         Argp Parsing State.
21954         [BZ #14872]
21955         * manual/conf.texi (Limits on File System Capacity): Mention if
21956         terminating null is included in the max size.
21958 2012-12-10  Andreas Jaeger  <aj@suse.de>
21960         * po/cs.po: Update from translation team.
21962 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21964         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21965         void pointer and cast to uintptr_t.
21966         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21967         path.
21968         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21969         * sysdeps/s390/s390-64/memset.S: Likewise.
21971 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21973         [BZ #14833]
21974         * menual/message.texi (Message Translation): Fix typos.
21975         (Helper programs for gettext): Likewise.
21977 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21979         [BZ #14898]
21980         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21981         Change to -1.
21983 2012-12-07  David S. Miller  <davem@davemloft.net>
21985         * po/libc.pot: Update.
21987 2012-12-07  Richard Henderson  <rth@redhat.com>
21989         [BZ #10114]
21990         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21991         normal/normal case to before the switch.
21992         (_FP_DIV): Likewise.
21994 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21995             Mike Frysinger  <vapier@gentoo.org>
21997         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21998         check for __NR_fadvise64_64.
22000 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
22002         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22003         0, not just to plain "0" as a statement.
22004         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22005         with cw.
22007 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
22009         * NEWS: Use sourceware.org in Bugzilla URL.
22011 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22014         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22016         * stdio-common/tst-put-error.c (do_test): Add newline to the
22017         padded test to ensure flush.
22019 2012-12-05  Jeff Law  <law@redhat.com>
22021         * sunrpc/etc.rpc (fedfs_admin): Add entry.
22023 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
22025         * README: Don't refer to ports add-on as distributed separately.
22026         Mention AArch64 in list of systems supported in the ports add-on.
22028         * LICENSES: Add more non-FSF copyright and license notices.
22030         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22031         ((unused)).
22033         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22035         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22036         10000 as width of padded output.
22038 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22040         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22042         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22043         variable LX with __attribute__ ((unused)).
22044         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22045         Likewise.
22046         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22047         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22048         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22049         with __attribute__ ((unused)).
22051 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
22053         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22055 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22057         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22058         (CFLAGS-nldbl-acos.c): New variable.
22059         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22060         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22061         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22062         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22063         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22064         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22065         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22066         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22067         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22068         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22069         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22070         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22071         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22072         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22073         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22074         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22075         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22076         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22077         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22078         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22079         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22080         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22081         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22082         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22083         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22084         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22085         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22086         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22087         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22088         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22089         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22090         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22091         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22092         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22093         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22094         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22095         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22096         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22097         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22098         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22099         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22100         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22101         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22102         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22103         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22104         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22105         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22106         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22107         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22108         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22109         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22110         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22111         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22112         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22113         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22114         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22115         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22116         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22117         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22118         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22119         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22120         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22121         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22122         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22123         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22124         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22125         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22126         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22127         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22128         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22129         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22130         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22131         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22132         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22133         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22134         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22135         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22136         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22137         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22138         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22139         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22140         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22141         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22142         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22143         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22144         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22145         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22146         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22147         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22148         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22149         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22150         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22151         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22152         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22153         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22154         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22155         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22158         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22160         [BZ #14914]
22161         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22162         whole low double instead of just low 47 bits when splitting values
22163         into two parts.
22165 2012-12-03  Allan McRae  <allan@archlinux.org>
22167         * manual/stdio.texi (Predefined Printf Handlers): Remove
22168         @hsep and @vsep usage.
22170 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
22172         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22173         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22175 2012-12-03  Jeff Law  <law@redhat.com>
22177         * time/sys/time.h (settimeofday): Do not mark TV argument
22178         as __nonnull.
22180 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
22182         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22183         when currently writing and seek to current position when not.
22184         * libio/Makefile (tests): Remove bug-fclose1.
22185         * libio/bug-fclose1.c: Delete.
22187 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
22189         * manual/arith.texi (feenableexcept): Fix typo.
22190         (fedisableexcept): Likewise.
22192 2012-11-30  Roland McGrath  <roland@hack.frob.com>
22194         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22195         second, differently-typed declaration, rather than a cast.
22197 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22199         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22200         * include/rpc/svc.h: ... here.
22202 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
22204         [BZ #13013]
22205         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22206         depending n and resplen2 to catch cases where answer
22207         equals answerp2.
22209 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
22211         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22212         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22214 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
22216         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22218 2012-11-29  Roland McGrath  <roland@hack.frob.com>
22220         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22222 2012-11-28  Jeff Law  <law@redhat.com>
22224         [BZ #13761]
22225         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22226         dataset_temporary.  Track alloca usage into alloca_used.
22227         If dataset is large allocate and release it via malloc/free.
22229 2012-06-04  Florian Weimer  <fweimer@redhat.com>
22231         [BZ #14197]
22232         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22234 2012-11-28  David S. Miller  <davem@davemloft.net>
22236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22238 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22240         [BZ #14803]
22241         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22242         of pi/2 rounded to nearest to 64 bits.
22243         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22244         nearest to 64 bits.
22245         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22246         bits.
22248 2012-11-28  Jeff Law <law@redhat.com>
22249             Martin Osvald <mosvald@redhat.com>
22251         [BZ #14889]
22252         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22253         * sunrpc/svc.c: Include time.h.
22254         (__svc_accept_failed): New function.
22255         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22256         any reason other than EINTR, call __svc_accept_failed.
22257         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22258         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22260 2012-11-28  Andreas Schwab  <schwab@suse.de>
22262         * scripts/abilist.awk: Also handle indirect functions in .opd
22263         section.
22265 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22267         [BZ #13881]
22268         * sysdeps/x86/fpu/powl_helper.c: New file.
22269         * sysdeps/x86/fpu/Makefile: Likewise.
22270         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22271         (p3): New object.
22272         (__ieee754_powl): Use __powl_helper for finite arguments except
22273         integer exponents below 8.
22274         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22275         (p3): New object.
22276         (__ieee754_powl): Use __powl_helper for finite arguments except
22277         integer exponents below 8.
22278         * math/libm-test.inc (pow_test): Add more tests and enable some
22279         previously disabled tests.
22280         * sysdeps/i386/fpu/libm-test-ulps: Update.
22281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22283 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22284             Carlos O'Donell  <carlos_odonell@mentor.com>
22286         * nss/makedb.c (is_prime): Assert that input is odd and greater
22287         than 4.  Note that fact in a comment too.
22288         (next_prime): Add 4 to input.
22290 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22292         [BZ #11741]
22293         * libio/Makefile (tests): Add test case tst-fwrite-error.
22294         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22295         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22296         * libio/tst-fwrite-error.c: New test case.
22298 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
22300         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22301         before casting to void *.
22302         * include/libc-internal.h (__pointer_type): New macro.
22303         (__integer_if_pointer_type_sub): Likewise.
22304         (__integer_if_pointer_type): Likewise.
22305         (cast_to_integer): Likewise.
22306         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22307         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22308         before casting to atomic64_t.
22309         (atomic_exchange_acq): Likewise.
22310         (__arch_exchange_and_add_body): Likewise.
22311         (__arch_add_body): Likewise.
22312         (atomic_add_negative): Likewise.
22313         (atomic_add_zero): Likewise.
22315 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
22317         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22318         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22319         (add_fdes): Likewise.
22320         (linear_search_fdes): Likewise.
22321         (binary_search_unencoded_fdes): Likewise.
22323 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
22325         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22327 2012-11-24  Adam Conrad  <adconrad@0c3.net>
22329         * configure.in: Autodetect C++ header directories.
22330         * configure: Regenerated.
22332 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
22334         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22336 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
22338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22340 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
22342         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22343         LDBL_MANT_DIG == 106]: Disable some tests.
22344         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22345         Likewise.
22346         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22347         Likewise.
22349         [BZ #14871]
22350         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22351         input for small inputs.  Return +/- pi/2 for large inputs.
22352         * math/libm-test.inc (atan_test): Add more tests.
22354         * sysdeps/generic/unwind-dw2-fde-glibc.c
22355         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22356         __attribute__ ((unused)).
22358         [BZ #14645]
22359         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22360         x * y if x and y are nonzero and z is zero.
22362         [BZ #14811]
22363         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22364         nonzero exponents with absolute value below 0x1p-117 to +/-
22365         0x1p-117.
22367         [BZ #14869]
22368         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22369         up arguments below 2**-450, not just those below 2**-500.
22370         * math/libm-test.inc (hypot_test): Add another test.
22372         [BZ #14868]
22373         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22374         Return a+b for ratio over 2**120, not 2**60.
22375         * math/libm-test.inc (hypot_test): Add another test.
22377         * math/libm-test.inc (clog_test): Use
22378         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22379         (clog10_test): Likewise.
22381         [BZ #6778]
22382         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22384 2012-11-22  Andreas Schwab  <schwab@suse.de>
22386         * sysdeps/i386/fpu/libm-test-ulps: Update.
22388 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
22390         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22391         printf output with newline.
22393 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
22395         [BZ #14865]
22396         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22397         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22398         -z nodlopen, -z initfirst and -z execstack support.
22399         * configure: Regenerated.
22401         * elf/elf.h (DF_1_NODIRECT): New macro.
22402         (DF_1_IGNMULDEF): Likewise.
22403         (DF_1_NOKSYMS): Likewise.
22404         (DF_1_NOHDR): Likewise.
22405         (DF_1_EDITED): Likewise.
22406         (DF_1_NORELOC): Likewise.
22407         (DF_1_SYMINTPOSE): Likewise.
22408         (DF_1_GLOBAUDIT): Likewise.
22409         (DF_1_SINGLETON): Likewise.
22410         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22411         DT_1_SUPPORTED_MASK bits.
22412         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22414 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
22416         * sysdeps/unix/make-syscalls.sh: Document prefixes.
22418 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
22420         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22421         macro.
22423         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22424         (sendmmsg): Move declarations...
22425         * socket/sys/socket.h: ... here.
22426         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22427         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22428         include it from...
22429         * socket/recvmmsg.c: ... this new file.
22430         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22431         (sendmmsg): Rename to __sendmmsg, create weak alias and make
22432         definition of __sendmmsg hidden.
22433         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22434         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22435         Move ENOSYS stub into and include it from...
22436         * socket/sendmmsg.c: ... this new file.
22437         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22438         (sysdep_routines): Move recvmmsg and sendmmsg...
22439         * socket/Makefile (routines): ... here.
22440         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22441         (GLIBC_PRIVATE): Add __sendmmsg.
22442         * include/sys/socket.h (__sendmmsg): Add declarations.
22443         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22444         sendmmsg.
22446 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
22448         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22449         variable I1 with __attribute__ ((unused)).
22450         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22452 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22454         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22455         DUMMY variables with __attribute__ ((unused)).
22457         * bits/byteswap.h: Include <bits/types.h>.
22458         (__bswap_64): Use __uint64_t instead of unsigned long long int.
22460 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22462         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22463         string_t.  Do not manually set errno.
22464         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22465         length with __strnlen.  Make sure to both set errno and return it on
22466         failure.
22468 2012-11-19  David S. Miller  <davem@davemloft.net>
22470         With help from Joseph Myers.
22471         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22472         very large arguments properly.
22473         * math/libm-test.inc (atan_test): New tests.
22474         (atan2_test): New tests.
22475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22476         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22478 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22480         [BZ #14856]
22481         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22482         Define to 3.
22484         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22485         [POSIX] (EADDRNOTAVAIL): Likewise.
22486         [POSIX] (EAFNOSUPPORT): Likewise.
22487         [POSIX] (EALREADY): Likewise.
22488         [POSIX] (ECONNABORTED): Likewise.
22489         [POSIX] (ECONNREFUSED): Likewise.
22490         [POSIX] (ECONNRESET): Likewise.
22491         [POSIX] (EDESTADDRREQ): Likewise.
22492         [POSIX] (EDQUOT): Likewise.
22493         [POSIX] (EHOSTUNREACH): Likewise.
22494         [POSIX] (EIDRM): Likewise.
22495         [POSIX] (EISCONN): Likewise.
22496         [POSIX] (ELOOP): Likewise.
22497         [POSIX] (EMULTIHOP): Likewise.
22498         [POSIX] (ENETDOWN): Likewise.
22499         [POSIX] (ENETUNREACH): Likewise.
22500         [POSIX] (ENOBUFS): Likewise.
22501         [POSIX] (ENODATA): Likewise.
22502         [POSIX] (ENOLINK): Likewise.
22503         [POSIX] (ENOMSG): Likewise.
22504         [POSIX] (ENOPROTOOPT): Likewise.
22505         [POSIX] (ENOSR): Likewise.
22506         [POSIX] (ENOSTR): Likewise.
22507         [POSIX] (ENOTCONN): Likewise.
22508         [POSIX] (ENOTSOCK): Likewise.
22509         [POSIX] (EOPNOTSUPP): Likewise.
22510         [POSIX] (EOVERFLOW): Likewise.
22511         [POSIX] (EPROTO): Likewise.
22512         [POSIX] (EPROTONOSUPPORT): Likewise.
22513         [POSIX] (EPROTOTYPE): Likewise.
22514         [POSIX] (ESTALE): Likewise.
22515         [POSIX] (ETIME): Likewise.
22516         [POSIX] (ETXTBSY): Likewise.
22517         [POSIX] (EWOULDBLOCK): Likewise.
22518         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22519         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22520         [POSIX] (SEEK_CUR): Likewise.
22521         [POSIX] (SEEK_END): Likewise.
22522         [POSIX || UNIX98] (mode_t): Do not require.
22523         [POSIX] (off_t): Likewise.
22524         [POSIX] (pid_t): Likewise.
22525         [POSIX] (sys/stat.h): Do not allow header.
22526         [POSIX] (unistd.h): Likewise.
22527         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22528         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22529         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22530         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22531         require.
22532         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22533         sigevent): Specify elements.
22534         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22535         entry.
22536         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22537         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22539         * conform/data/cpio.h-data [POSIX]: Disable whole file.
22540         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22541         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22542         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22543         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22544         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22545         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22546         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22547         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22548         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22549         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22550         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22551         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22552         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22553         Likewise.
22554         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22555         Likewise.
22556         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22557         Likewise.
22558         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22559         Likewise.
22560         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22561         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22562         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22563         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22564         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22565         Specify lower bound on value.
22566         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22567         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22568         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22569         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22570         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22571         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22572         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22573         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22574         value.
22575         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22576         as optional.
22577         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22578         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22579         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22580         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22581         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22582         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22583         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22584         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22585         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22586         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22587         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22588         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22589         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22590         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22591         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22592         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22593         entry.
22594         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22595         optional.
22596         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22597         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22598         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22599         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22600         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22601         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22602         Likewise.
22603         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22604         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22605         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22606         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22607         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22608         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22609         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22610         as optional.
22611         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22612         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22613         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22614         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22615         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22616         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22617         specify as optional.
22618         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22619         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22620         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22621         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22622         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22623         [XPG3] (NL_LANGMAX): Likewise.
22624         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22625         [POSIX || XPG3] (NL_NMAX): Likewise.
22626         [POSIX || XPG3] (NL_SETMAX): Likewise.
22627         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22628         [XPG3] (NZERO): Likewise.
22629         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22630         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22631         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22632         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22633         (REG_ERANGE): Expect.
22634         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22635         optional-constant.
22636         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22637         Use (void) in prototype.
22638         [POSIX] (*_t): Allow.
22639         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22640         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22641         (WRDE_BADVAL): Expect.
22643         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22644         expect.
22645         [XPG3 || XPG4] (O_RSYNC): Likewise.
22646         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22647         Likewise.
22648         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22649         [XPG3 || XPG4] (sigqueue): Likewise.
22650         [XPG3 || XPG4] (sigtimedwait): Likewise.
22651         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22652         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22653         [XPG3 || XPG4] (vsnprintf): Likewise.
22654         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22655         Likewise.
22656         [XPG3 || XPG4] (blksize_t): Likewise.
22657         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22658         Likewise.
22659         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22660         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22661         [XPG3 || XPG4] (struct itimerspec): Likewise.
22662         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22663         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22664         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22665         [XPG3 || XPG4] (clockid_t): Likewise.
22666         [XPG3 || XPG4] (timer_t): Likewise.
22667         [XPG3 || XPG4] (clock_getres): Likewise.
22668         [XPG3 || XPG4] (clock_gettime): Likewise.
22669         [XPG3 || XPG4] (clock_settime): Likewise.
22670         [XPG3 || XPG4] (nanosleep): Likewise.
22671         [XPG3 || XPG4] (timer_create): Likewise.
22672         [XPG3 || XPG4] (timer_delete): Likewise.
22673         [XPG3 || XPG4] (timer_gettime): Likewise.
22674         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22675         [XPG3 || XPG4] (timer_settime): Likewise.
22676         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22677         [XPG3 || XPG4] (getlogin_r): Likewise.
22678         [XPG3 || XPG4] (pread): Likewise.
22679         [XPG3 || XPG4] (pthread_atfork): Likewise.
22680         [XPG3 || XPG4] (pwrite): Likewise.
22682         [BZ #14835]
22683         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22684         <bits/siginfo.h>.
22686 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22688         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22689         finalizing MALLSTREAM.
22691         * sysdeps/mach/hurd/syncfs.c: New file.
22693 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22695         [BZ #14719]
22696         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22697         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22698         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22699         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22700         (_nss_dns_gethostbyname4_r): Likewise.
22701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22702         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22704 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22706         [BZ #13763]
22707         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22709 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22711         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22712         * elf/cache.c (print_entry): Print ",AArch64" for
22713         FLAG_AARCH64_LIB64
22715         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22716         * elf/cache.c (print_entry): Print ",hard-float" for
22717         FLAG_ARM_LIBHF.
22719 2012-11-18  David S. Miller  <davem@davemloft.net>
22721         With help from Joseph Myers.
22722         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22723         cutoff to 2**-13.
22724         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22725         cutoff to 2**-25.
22726         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22727         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22728         small.
22729         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22730         * math/libm-test.inc (y0_test): New tests.
22731         (y1_test): New tests.
22732         * sysdeps/i386/fpu/libm-test-ulps: Update.
22733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22736 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22738         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22739         64-bit targets.
22740         * configure: Regenerated.
22742 2012-11-17  David S. Miller  <davem@davemloft.net>
22744         [BZ #14811]
22745         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22746         nonzero exponents with absolute value below 0x1p-128 to +/-
22747         0x1p-128.
22749 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22751         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22753         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22755         * posix/getconf-speclist.c: New file.
22756         * posix/posix-envs.def: Likewise.
22757         * posix/confstr.c (START_ENV_GROUP): New macro.
22758         (END_ENV_GROUP): Likewise.
22759         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22760         (KNOWN_PRESENT_ENV_STRING): Likewise.
22761         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22762         (UNKNOWN_ENVIRONMENT): Likewise.
22763         (confstr): Include posix-envs.def instead of handling
22764         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22765         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22766         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22767         (END_ENV_GROUP): Likewise.
22768         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22769         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22770         (UNKNOWN_ENVIRONMENT): Likewise.
22771         (__sysconf): Include posix-envs.def instead of handling associated
22772         cases directly here.
22773         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22774         preprocessing getconf-speclist.c rather than running getconf or
22775         generating empty file.
22777 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22779         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22781 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22783         [BZ #14672]
22784         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22786 2012-11-16  David S. Miller  <davem@davemloft.net>
22788         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22789         smaller than LDBL_EPSILON/2.0L, just return xm1.
22791 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22793         * elf/tst-array1.c (init): Set constructor priority to 1000.
22794         (fini): Set destructor priority to 1000.
22795         * elf/tst-array2dep.c: Likewise.
22797 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22799         [BZ #11741]
22800         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22801         (_IO_new_file_xsputn): Also return EOF if none of the input
22802         data was written when overflow failed.
22803         * libio/iopadn.c (_IO_padn): Likewise.
22804         * libio/iowpadn.c (_IO_wpadn): Likewise.
22805         * stdio-common/tst-put-error.c: Add copyright notice.
22806         (do_test): Add case for printing padded string.
22807         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22808         _IO_padn returned error.
22809         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22810         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22811         return EOF.
22813 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22815         * libio/libioP.h: Add comment note that the references to C++
22816         bits are now obsolete.
22818 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22820         * math/libm-test.inc (check_complex): Use asprintf.
22822 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22824         * debug/pcprofiledump.c (print_version): Update copyright year.
22825         * malloc/memusagestat.c (print_version): Likewise.
22827 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22829         [BZ #14831]
22830         * elf/Makefile (tests): Add tst-audit8.
22831         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22832         ($(objpfx)tst-audit8.out): New target.
22833         (tst-audit8-ENV): New variable.
22834         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22835         audit if l_reloc_result is NULL.
22836         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22837         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22838         * elf/tst-audit8.c: New file.
22840 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22842         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22843         * misc/Makefile (CFLAGS-select.c): Define.
22844         * posix/Makefile (CFLAGS-pause.c): Define.
22846 2012-11-13  David S. Miller  <davem@davemloft.net>
22848         * crypt/Makefile: Move test targets after toplevel Rules
22849         inclusion.  Grab any necessary sysdep routines when linking.
22850         * crypt/md5.c (md5_process_block): Remove define, we will always
22851         name it __md5_process_block.
22852         (md5_finish_ctx): Update md5_process_block call.
22853         (md5_stream): Likewise.
22854         (md5_process_bytes): Likewise.
22855         (md5_process_block): Rename to __md5_process_block and move to ...
22856         * crypt/md5-block.c: ... here.
22857         * crypt/sha256.c (sha256_process_block): Move to ...
22858         * crypt/sha256-block.c: ... here.
22859         * crypt/sha512.c (sha512_process_block): Move to ...
22860         * crypt/sha512-block.c: ... here.
22861         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22862         path.
22863         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22864         * sysdeps/sparc/sparc64/multiarch/Makefile
22865         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22866         crypt subdir.
22867         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22868         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22869         multiarch changes.
22870         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22871         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22872         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22873         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22874         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22875         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22876         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22877         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22878         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22879         file.
22880         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22881         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22882         file.
22883         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22885 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22887         * timezone/tzselect.ksh: Update from tzcode git revision
22888         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22889         * timezone/zdump.c: Likewise.
22890         * timezone/zic.c: Likewise.
22891         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22892         in TZVERSION setting, not $(PKGVERSION).
22893         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22894         REPORT_BUGS_TO settings.
22896         [BZ #14838]
22897         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22898         macro.
22900 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22902         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22903         detection to immediately after _FP_ROUND().
22904         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22905         bits are 0.
22907 2012-11-11  David S. Miller  <davem@davemloft.net>
22909         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22910         inttypes.h
22911         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22912         __close rather than their public counterparts.
22914 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22916         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22917         file.
22918         [UNIX98] (sem_timedwait): Do not expect.
22919         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22920         [XPG4 || UNIX98] (sockatmark): Do not expect.
22921         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22922         (clock_getcpuclockid): Do not expect.
22923         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22924         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22925         Do not expect.
22926         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22927         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22928         [UNIX98] (vwscanf): Likewise.
22929         [UNIX98] (vswscanf): Likewise.
22931 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22933         * timezone/version.h: Remove file.
22934         * timezone/README: Do not refer to version.h.
22935         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22936         $(objpfx)version.h.
22937         ($(objpfx)zdump.o): Likewise.
22938         ($(objpfx)version.h): New target.
22940         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22941         2012i.
22942         * timezone/README: Don't mention modification to tzselect.ksh.
22943         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22944         work on unmodified tzselect.ksh.  Substitute version numbers in
22945         tzselect.ksh.
22947         * Makefile (format-me): Remove.
22948         (INSTALL): Adjust indentation.  Use commands directly instead of
22949         using $(format-me).
22951         * aclocal.m4 (ACX_PKGVERSION): New macro.
22952         (ACX_BUGURL): Likewise.
22953         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22954         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22955         (REPORT_BUGS_TO): Likewise.
22956         * configure: Regenerated.
22957         * config.h.in (PKGVERSION): New macro.
22958         (REPORT_BUGS_TO): Likewise.
22959         * config.make.in (PKGVERSION): New variable.
22960         (PKGVERSION_TEXI): Likewise.
22961         (REPORT_BUGS_TO): Likewise.
22962         (REPORT_BUGS_TEXI): Likewise.
22963         * Makefile (format-me): Use -I$(common-objpfx)manual.
22964         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22965         ($(common-objpfx)manual/%): New target.
22966         (manual/%): Remove target.
22967         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22968         (print_version): Use PKGVERSION.
22969         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22970         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22971         and REPORT_BUGS_TO.
22972         ($(objpfx)xtrace): Likewise.
22973         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22974         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22975         (print_version): Use PKGVERSION.
22976         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22977         (do_version): Use PKGVERSION.
22978         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22979         REPORT_BUGS_TO.
22980         (common-ldd-rewrite): Likewise.
22981         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22982         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22983         (print_version): Use PKGVERSION.
22984         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22985         * elf/pldd.c (argp_program_bug_address): Remove variable.
22986         (more_help): New function.
22987         (argp): Use more_help.
22988         (print_version): Use PKGVERSION.
22989         * elf/sln.c (main): Use PKGVERSION.
22990         (usage): Use REPORT_BUGS_TO.
22991         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22992         (top level): Use PKGVERSION.
22993         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22994         (print_version): Use PKGVERSION.
22995         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22996         (print_version): Use PKGVERSION.
22997         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22998         (print_version): Use PKGVERSION.
22999         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23000         (print_version): Use PKGVERSION.
23001         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23002         (print_version): Use PKGVERSION.
23003         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23004         (print_version): Use PKGVERSION.
23005         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23006         and BUGURL.
23007         ($(objpfx)memusage): Likewise.
23008         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23009         (do_version): Use PKGVERSION.
23010         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23011         (print_version): Use PKGVERSION.
23012         * malloc/mtrace.pl ($PACKAGE): Remove variable.
23013         ($PKGVERSION): New variable.
23014         ($REPORT_BUGS_TO): Likewise.
23015         (usage): Use $REPORT_BUGS_TO.
23016         (top level): Use $PKGVERSION.
23017         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23018         ($(objpfx)pkgvers.texi): New rule.
23019         ($(objpfx)stamp-pkgvers): Likewise.
23020         * manual/install.texi: Include pkgvers.texi.
23021         (--with-pkgversion): Document new configure option.
23022         (--with-bugurl): Likewise.
23023         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23024         than necessarily for this particular distribution.  Use
23025         REPORT_BUGS_TO for where to report bugs.
23026         * INSTALL: Regenerated.
23027         * manual/libc.texinfo: Include pkgvers.texi.
23028         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23029         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23030         (print_version): Use PKGVERSION.
23031         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23032         (print_version): Use PKGVERSION.
23033         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23034         (print_version): Use PKGVERSION.
23035         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23036         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23037         macro.
23038         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23039         (print_version): Use PKGVERSION.
23040         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23041         (print_version): Use PKGVERSION.
23042         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23043         and PKGVERSION.
23045         * timezone/checktab.awk: Update from tzcode 2012i.
23046         * timezone/ialloc.c: Likewise.
23047         * timezone/private.h: Likewise.
23048         * timezone/scheck.c: Likewise.
23049         * timezone/tzfile.h: Likewise.
23050         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23051         (TZVERSION): Hardcode tzcode version number.
23052         * timezone/zdump.c: Update from tzcode 2012i.
23053         * timezone/zic.c: Likewise.
23054         * timezone/version.h: New file.
23055         * timezone/README: Describe version.h.  Update upstream location.
23057         [BZ #14824]
23058         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23059         (mktemp): Enable declaration.
23060         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23061         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23062         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23063         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23064         Likewise.
23065         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23066         Likewise.
23067         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23068         Likewise.
23069         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23070         Likewise.
23071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23072         Likewise.
23073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23074         Likewise.
23076         [BZ #14821]
23077         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23078         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
23079         for copies of such integer values.
23080         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23081         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23083 2012-11-09  Andreas Jaeger  <aj@suse.de>
23085         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23086         definitions and declarations that are provided by
23087         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23089 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23091         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23092         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23093         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23094         definition.
23096 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23098         * elf/elf.h: Update comment before AArch64 relocations.
23100 2012-11-07  David S. Miller  <davem@davemloft.net>
23102         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23103         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23104         (__start_context): Declare.
23105         (__makecontext_ret): Delete.
23106         (__makecontext): Hook up __start_context instead of
23107         __makecontext_ret.
23108         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23109         (sysdep_routines): Add __start_context when in stdlib.
23111 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23113         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23114         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23115         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
23116         hardcoded "nm".
23117         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
23118         (READELF): New variable.  Use it instead of hardcoded "readelf".
23120 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23122         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23123         * sysdeps/x86/Makefile: Here.
23124         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23125         * sysdeps/x86/tst-xmmymm.sh: This.
23127 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23129         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23130         expectations.
23131         [UNIX98] (pthread_barrier_t): Do not expect.
23132         [UNIX98] (pthread_barrierattr_t): Likewise.
23133         [UNIX98] (pthread_spinlock_t): Likewise.
23134         [UNIX98] (pthread_barrier_destroy): Likewise.
23135         [UNIX98] (pthread_barrier_init): Likewise.
23136         [UNIX98] (pthread_barrier_wait): Likewise.
23137         [UNIX98] (pthread_barrierattr_destroy): Likewise.
23138         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23139         [UNIX98] (pthread_barrierattr_init): Likewise.
23140         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23141         [UNIX98] (pthread_getcpuclockid): Likewise.
23142         [UNIX98] (pthread_mutex_timedlock): Likewise.
23143         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23144         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23145         [UNIX98] (pthread_sigmask): Likewise.
23146         [UNIX98] (pthread_spin_destroy): Likewise.
23147         [UNIX98] (pthread_spin_init): Likewise.
23148         [UNIX98] (pthread_spin_lock): Likewise.
23149         [UNIX98] (pthread_spin_trylock): Likewise.
23150         [UNIX98] (pthread_spin_unlock): Likewise.
23151         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23152         Do not expect.
23153         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23154         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23155         [XPG3 || XPG4] (pthread_cond_t): Likewise.
23156         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23157         [XPG3 || XPG4] (pthread_key_t): Likewise.
23158         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23159         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23160         [XPG3 || XPG4] (pthread_once_t): Likewise.
23161         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23162         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23163         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23164         [XPG3 || XPG4] (pthread_t): Likewise.
23166         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23167         not expect.
23168         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23170         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23171         Change function return type to int.
23173         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23174         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23175         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23176         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23177         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23178         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23179         [!POSIX] (posix_madvise): Likewise.
23180         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23181         && !UNIX98].
23182         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23183         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23184         (mode_t): Likewise.
23185         (posix_mem_offset): Likewise.
23186         (posix_typed_mem_get_info): Likewise.
23187         (posix_typed_mem_open): Likewise.
23189         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23190         Change condition to [XOPEN2K8].
23192         * conform/conformtest.pl: Preprocess allow-header data with -x c
23193         instead of from stdin.
23194         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23195         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23196         [C99-based standards] (cerfc): Likewise.
23197         [C99-based standards] (cexp2): Likewise.
23198         [C99-based standards] (cexpm1): Likewise.
23199         [C99-based standards] (clog10): Likewise.
23200         [C99-based standards] (clog1p): Likewise.
23201         [C99-based standards] (clog2): Likewise.
23202         [C99-based standards] (clgamma): Likewise.
23203         [C99-based standards] (ctgamma): Likewise.
23204         [C99-based standards] (cerff): Likewise.
23205         [C99-based standards] (cerfcf): Likewise.
23206         [C99-based standards] (cexp2f): Likewise.
23207         [C99-based standards] (cexpm1f): Likewise.
23208         [C99-based standards] (clog10f): Likewise.
23209         [C99-based standards] (clog1pf): Likewise.
23210         [C99-based standards] (clog2f): Likewise.
23211         [C99-based standards] (clgammaf): Likewise.
23212         [C99-based standards] (ctgammaf): Likewise.
23213         [C99-based standards] (cerfl): Likewise.
23214         [C99-based standards] (cerfcl): Likewise.
23215         [C99-based standards] (cexp2l): Likewise.
23216         [C99-based standards] (cexpm1l): Likewise.
23217         [C99-based standards] (clog10l): Likewise.
23218         [C99-based standards] (clog1pl): Likewise.
23219         [C99-based standards] (clog2l): Likewise.
23220         [C99-based standards] (clgammal): Likewise.
23221         [C99-based standards] (ctgammal): Likewise.
23222         * conform/data/inttypes.h-data [C99-based standards]: Include
23223         stdint.h-data.  Remove all expectations for stdint.h contents.
23224         [C99-based standards] (PRI*): Do not allow.
23225         [C99-based standards] (SCN*): Likewise.
23226         [C99-based standards] (*_t): Likewise.
23227         [C99-based-standards] (PRId8): Expect macro.
23228         [C99-based-standards] (PRIi8): Likewise.
23229         [C99-based-standards] (PRIo8): Likewise.
23230         [C99-based-standards] (PRIu8): Likewise.
23231         [C99-based-standards] (PRIx8): Likewise.
23232         [C99-based-standards] (PRIX8): Likewise.
23233         [C99-based-standards] (SCNd8): Likewise.
23234         [C99-based-standards] (SCNi8): Likewise.
23235         [C99-based-standards] (SCNo8): Likewise.
23236         [C99-based-standards] (SCNu8): Likewise.
23237         [C99-based-standards] (SCNx8): Likewise.
23238         [C99-based-standards] (PRIdLEAST8): Likewise.
23239         [C99-based-standards] (PRIiLEAST8): Likewise.
23240         [C99-based-standards] (PRIoLEAST8): Likewise.
23241         [C99-based-standards] (PRIuLEAST8): Likewise.
23242         [C99-based-standards] (PRIxLEAST8): Likewise.
23243         [C99-based-standards] (PRIXLEAST8): Likewise.
23244         [C99-based-standards] (SCNdLEAST8): Likewise.
23245         [C99-based-standards] (SCNiLEAST8): Likewise.
23246         [C99-based-standards] (SCNoLEAST8): Likewise.
23247         [C99-based-standards] (SCNuLEAST8): Likewise.
23248         [C99-based-standards] (SCNxLEAST8): Likewise.
23249         [C99-based-standards] (PRIdFAST8): Likewise.
23250         [C99-based-standards] (PRIiFAST8): Likewise.
23251         [C99-based-standards] (PRIoFAST8): Likewise.
23252         [C99-based-standards] (PRIuFAST8): Likewise.
23253         [C99-based-standards] (PRIxFAST8): Likewise.
23254         [C99-based-standards] (PRIXFAST8): Likewise.
23255         [C99-based-standards] (SCNdFAST8): Likewise.
23256         [C99-based-standards] (SCNiFAST8): Likewise.
23257         [C99-based-standards] (SCNoFAST8): Likewise.
23258         [C99-based-standards] (SCNuFAST8): Likewise.
23259         [C99-based-standards] (SCNxFAST8): Likewise.
23260         [C99-based-standards] (PRId16): Likewise.
23261         [C99-based-standards] (PRIi16): Likewise.
23262         [C99-based-standards] (PRIo16): Likewise.
23263         [C99-based-standards] (PRIu16): Likewise.
23264         [C99-based-standards] (PRIx16): Likewise.
23265         [C99-based-standards] (PRIX16): Likewise.
23266         [C99-based-standards] (SCNd16): Likewise.
23267         [C99-based-standards] (SCNi16): Likewise.
23268         [C99-based-standards] (SCNo16): Likewise.
23269         [C99-based-standards] (SCNu16): Likewise.
23270         [C99-based-standards] (SCNx16): Likewise.
23271         [C99-based-standards] (PRIdLEAST16): Likewise.
23272         [C99-based-standards] (PRIiLEAST16): Likewise.
23273         [C99-based-standards] (PRIoLEAST16): Likewise.
23274         [C99-based-standards] (PRIuLEAST16): Likewise.
23275         [C99-based-standards] (PRIxLEAST16): Likewise.
23276         [C99-based-standards] (PRIXLEAST16): Likewise.
23277         [C99-based-standards] (SCNdLEAST16): Likewise.
23278         [C99-based-standards] (SCNiLEAST16): Likewise.
23279         [C99-based-standards] (SCNoLEAST16): Likewise.
23280         [C99-based-standards] (SCNuLEAST16): Likewise.
23281         [C99-based-standards] (SCNxLEAST16): Likewise.
23282         [C99-based-standards] (PRIdFAST16): Likewise.
23283         [C99-based-standards] (PRIiFAST16): Likewise.
23284         [C99-based-standards] (PRIoFAST16): Likewise.
23285         [C99-based-standards] (PRIuFAST16): Likewise.
23286         [C99-based-standards] (PRIxFAST16): Likewise.
23287         [C99-based-standards] (PRIXFAST16): Likewise.
23288         [C99-based-standards] (SCNdFAST16): Likewise.
23289         [C99-based-standards] (SCNiFAST16): Likewise.
23290         [C99-based-standards] (SCNoFAST16): Likewise.
23291         [C99-based-standards] (SCNuFAST16): Likewise.
23292         [C99-based-standards] (SCNxFAST16): Likewise.
23293         [C99-based-standards] (PRId32): Likewise.
23294         [C99-based-standards] (PRIi32): Likewise.
23295         [C99-based-standards] (PRIo32): Likewise.
23296         [C99-based-standards] (PRIu32): Likewise.
23297         [C99-based-standards] (PRIx32): Likewise.
23298         [C99-based-standards] (PRIX32): Likewise.
23299         [C99-based-standards] (SCNd32): Likewise.
23300         [C99-based-standards] (SCNi32): Likewise.
23301         [C99-based-standards] (SCNo32): Likewise.
23302         [C99-based-standards] (SCNu32): Likewise.
23303         [C99-based-standards] (SCNx32): Likewise.
23304         [C99-based-standards] (PRIdLEAST32): Likewise.
23305         [C99-based-standards] (PRIiLEAST32): Likewise.
23306         [C99-based-standards] (PRIoLEAST32): Likewise.
23307         [C99-based-standards] (PRIuLEAST32): Likewise.
23308         [C99-based-standards] (PRIxLEAST32): Likewise.
23309         [C99-based-standards] (PRIXLEAST32): Likewise.
23310         [C99-based-standards] (SCNdLEAST32): Likewise.
23311         [C99-based-standards] (SCNiLEAST32): Likewise.
23312         [C99-based-standards] (SCNoLEAST32): Likewise.
23313         [C99-based-standards] (SCNuLEAST32): Likewise.
23314         [C99-based-standards] (SCNxLEAST32): Likewise.
23315         [C99-based-standards] (PRIdFAST32): Likewise.
23316         [C99-based-standards] (PRIiFAST32): Likewise.
23317         [C99-based-standards] (PRIoFAST32): Likewise.
23318         [C99-based-standards] (PRIuFAST32): Likewise.
23319         [C99-based-standards] (PRIxFAST32): Likewise.
23320         [C99-based-standards] (PRIXFAST32): Likewise.
23321         [C99-based-standards] (SCNdFAST32): Likewise.
23322         [C99-based-standards] (SCNiFAST32): Likewise.
23323         [C99-based-standards] (SCNoFAST32): Likewise.
23324         [C99-based-standards] (SCNuFAST32): Likewise.
23325         [C99-based-standards] (SCNxFAST32): Likewise.
23326         [C99-based-standards] (PRId64): Likewise.
23327         [C99-based-standards] (PRIi64): Likewise.
23328         [C99-based-standards] (PRIo64): Likewise.
23329         [C99-based-standards] (PRIu64): Likewise.
23330         [C99-based-standards] (PRIx64): Likewise.
23331         [C99-based-standards] (PRIX64): Likewise.
23332         [C99-based-standards] (SCNd64): Likewise.
23333         [C99-based-standards] (SCNi64): Likewise.
23334         [C99-based-standards] (SCNo64): Likewise.
23335         [C99-based-standards] (SCNu64): Likewise.
23336         [C99-based-standards] (SCNx64): Likewise.
23337         [C99-based-standards] (PRIdLEAST64): Likewise.
23338         [C99-based-standards] (PRIiLEAST64): Likewise.
23339         [C99-based-standards] (PRIoLEAST64): Likewise.
23340         [C99-based-standards] (PRIuLEAST64): Likewise.
23341         [C99-based-standards] (PRIxLEAST64): Likewise.
23342         [C99-based-standards] (PRIXLEAST64): Likewise.
23343         [C99-based-standards] (SCNdLEAST64): Likewise.
23344         [C99-based-standards] (SCNiLEAST64): Likewise.
23345         [C99-based-standards] (SCNoLEAST64): Likewise.
23346         [C99-based-standards] (SCNuLEAST64): Likewise.
23347         [C99-based-standards] (SCNxLEAST64): Likewise.
23348         [C99-based-standards] (PRIdFAST64): Likewise.
23349         [C99-based-standards] (PRIiFAST64): Likewise.
23350         [C99-based-standards] (PRIoFAST64): Likewise.
23351         [C99-based-standards] (PRIuFAST64): Likewise.
23352         [C99-based-standards] (PRIxFAST64): Likewise.
23353         [C99-based-standards] (PRIXFAST64): Likewise.
23354         [C99-based-standards] (SCNdFAST64): Likewise.
23355         [C99-based-standards] (SCNiFAST64): Likewise.
23356         [C99-based-standards] (SCNoFAST64): Likewise.
23357         [C99-based-standards] (SCNuFAST64): Likewise.
23358         [C99-based-standards] (SCNxFAST64): Likewise.
23359         [C99-based-standards] (PRIdMAX): Likewise.
23360         [C99-based-standards] (PRIiMAX): Likewise.
23361         [C99-based-standards] (PRIoMAX): Likewise.
23362         [C99-based-standards] (PRIuMAX): Likewise.
23363         [C99-based-standards] (PRIxMAX): Likewise.
23364         [C99-based-standards] (PRIXMAX): Likewise.
23365         [C99-based-standards] (SCNdMAX): Likewise.
23366         [C99-based-standards] (SCNiMAX): Likewise.
23367         [C99-based-standards] (SCNoMAX): Likewise.
23368         [C99-based-standards] (SCNuMAX): Likewise.
23369         [C99-based-standards] (SCNxMAX): Likewise.
23370         [C99-based-standards] (PRIdPTR): Likewise.
23371         [C99-based-standards] (PRIiPTR): Likewise.
23372         [C99-based-standards] (PRIoPTR): Likewise.
23373         [C99-based-standards] (PRIuPTR): Likewise.
23374         [C99-based-standards] (PRIxPTR): Likewise.
23375         [C99-based-standards] (PRIXPTR): Likewise.
23376         [C99-based-standards] (SCNdPTR): Likewise.
23377         [C99-based-standards] (SCNiPTR): Likewise.
23378         [C99-based-standards] (SCNoPTR): Likewise.
23379         [C99-based-standards] (SCNuPTR): Likewise.
23380         [C99-based-standards] (SCNxPTR): Likewise.
23381         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23382         allow.
23383         * conform/data/stdint.h-data: Update comments to clarify
23384         requirements.
23385         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
23386         type.
23387         [C99-based standards] (INT8_MAX): Likewise.
23388         [C99-based standards] (INT16_MIN): Likewise.
23389         [C99-based standards] (INT16_MAX): Likewise.
23390         [C99-based standards] (INT32_MIN): Likewise.
23391         [C99-based standards] (INT32_MAX): Likewise.
23392         [C99-based standards] (INT64_MIN): Likewise.
23393         [C99-based standards] (INT64_MAX): Likewise.
23394         [C99-based standards] (UINT8_MAX): Likewise.
23395         [C99-based standards] (UINT16_MAX): Likewise.
23396         [C99-based standards] (UINT32_MAX): Likewise.
23397         [C99-based standards] (UINT64_MAX): Likewise.
23398         [C99-based standards] (INT_LEAST8_MIN): Likewise.
23399         [C99-based standards] (INT_LEAST8_MAX): Likewise.
23400         [C99-based standards] (INT_LEAST16_MIN): Likewise.
23401         [C99-based standards] (INT_LEAST16_MAX): Likewise.
23402         [C99-based standards] (INT_LEAST32_MIN): Likewise.
23403         [C99-based standards] (INT_LEAST32_MAX): Likewise.
23404         [C99-based standards] (INT_LEAST64_MIN): Likewise.
23405         [C99-based standards] (INT_LEAST64_MAX): Likewise.
23406         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23407         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23408         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23409         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23410         [C99-based standards] (INT_FAST8_MIN): Likewise.
23411         [C99-based standards] (INT_FAST8_MAX): Likewise.
23412         [C99-based standards] (INT_FAST16_MIN): Likewise.
23413         [C99-based standards] (INT_FAST16_MAX): Likewise.
23414         [C99-based standards] (INT_FAST32_MIN): Likewise.
23415         [C99-based standards] (INT_FAST32_MAX): Likewise.
23416         [C99-based standards] (INT_FAST64_MIN): Likewise.
23417         [C99-based standards] (INT_FAST64_MAX): Likewise.
23418         [C99-based standards] (UINT_FAST8_MAX): Likewise.
23419         [C99-based standards] (UINT_FAST16_MAX): Likewise.
23420         [C99-based standards] (UINT_FAST32_MAX): Likewise.
23421         [C99-based standards] (UINT_FAST64_MAX): Likewise.
23422         [C99-based standards] (INTPTR_MIN): Likewise.
23423         [C99-based standards] (INTPTR_MAX): Likewise.
23424         [C99-based standards] (UINTPTR_MAX): Likewise.
23425         [C99-based standards] (INTMAX_MIN): Likewise.
23426         [C99-based standards] (INTMAX_MAX): Likewise.
23427         [C99-based standards] (UINTMAX_MAX): Likewise.
23428         [C99-based standards] (PTRDIFF_MIN): Likewise.
23429         [C99-based standards] (PTRDIFF_MAX): Likewise.
23430         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23431         [C99-based standards] (SIZE_MAX): Likewise.
23432         [C99-based standards] (WCHAR_MAX): Likewise.
23433         [C99-based standards] (WINT_MAX): Likewise.
23434         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
23435         constraint on value.
23436         [C99-based standards] (WCHAR_MIN): Likewise.
23437         [C99-based standards] (WINT_MIN): Likewise.
23438         [C99-based standards] (*_t): Allow.
23439         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23440         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23441         Include math.h-data and complex.h-data.  Remove all expectations
23442         of math.h and complex.h contents.
23443         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23444         at end of line.
23445         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23446         (struct tm): Expect tag.
23447         [C99-based-standards] (wcstof): Expect function.
23448         [C99-based-standards] (wcstold): Likewise.
23449         [C99-based-standards] (wcstoll): Likewise.
23450         [C99-based-standards] (wcstoull): Likewise.
23451         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23452         macro-int-constant.  Specify type.
23453         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
23454         constraint on value.
23455         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23456         Specify type.
23457         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23458         Specify value.
23459         [ISO C standards]: Do not allow headers.
23460         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23461         wcs[abcdefghijklmnopqrstuvwxyz]*.
23462         [ISO C standards] (*_t): Do not allow.
23463         * conform/data/wctype.h-data [C99-based standards] (iswblank):
23464         Expect function.
23465         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23466         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23467         Specify type.
23468         [ISO C standards]: Do not allow headers.
23469         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23470         is[abcdefghijklmnopqrstuvwxyz]*.
23471         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23472         to[abcdefghijklmnopqrstuvwxyz]*.
23473         [ISO C standards] (*_t): Do not allow.
23474         * conform/data/stdalign.h-data: New file.
23475         * conform/data/stdbool.h-data: Likewise.
23476         * conform/data/stdnoreturn.h-data: Likewise.
23478 2012-11-07  Roland McGrath  <roland@hack.frob.com>
23480         [BZ #14815]
23481         * manual/filesys.texi (Directory Entries): Typo fix.
23482         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23484 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23486         * elf/elf.h (EM_AARCH64): New macro.
23487         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23488         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23489         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23490         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23491         (R_AARCH64_TLSDESC): Likewise.
23492         (NT_ARM_TLS): Likewise.
23493         (NT_ARM_HW_BREAK): Likewise.
23494         (NT_ARM_HW_WATCH): Likewise.
23496 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23498         [BZ #14811]
23499         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23500         (__ieee754_powl): Saturate nonzero exponents with absolute value
23501         below 0x1p-79 to +/- 0x1p-79.
23502         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23503         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23504         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23505         nonzero exponents with absolute value below 0x1p-32 to +/-
23506         0x1p-32.
23507         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23508         (__ieee754_powl): Saturate nonzero exponents with absolute value
23509         below 0x1p-79 to +/- 0x1p-79.
23510         * math/libm-test.inc (pow_test): Add more tests.
23512 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23514         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23515         _dl_s390_cap_flags with kernel. Increase string length.
23516         (_dl_s390_platforms): Add z196 and zEC12.
23518 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23520         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23521         Change XOPEN21K to XOPEN2K.
23523 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
23525         * string/memmove.c: Use memcpy when possible.
23527 2012-11-06  Andreas Jaeger  <aj@suse.de>
23529         * po/eo.po: Update from translation team.
23531 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
23533         [BZ #14793]
23534         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23535         exponent and small x and y exponents, scale x or y up.  Increase
23536         by 2 the exponent used in scaling up.
23537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23538         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23539         * math/libm-test.inc (fma_test): Add more tests.
23540         (fma_test_towardzero): Likewise.
23541         (fma_test_downward): Likewise.
23542         (fma_test_upward): Likewise.
23544 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
23546         [BZ #14805]
23547         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23548         fenv_t *.
23550         [BZ #14801]
23551         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23552         namespace for names of struct fields.
23553         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23554         fenv_t fields.
23555         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23556         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23558 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23560         [BZ #3665]
23561         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23563 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23565         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23566         PTR_DEMANGLE.
23568         [BZ #5246]
23569         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23570         PTR_DEMANGLE.
23572 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
23574         [BZ #14797]
23575         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23576         definitely overflow as x * y not x * y + z.
23577         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23578         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23579         * math/libm-test.inc (fma_test): Add more tests.
23580         (fma_test_towardzero): Likewise.
23581         (fma_test_downward): Likewise.
23582         (fma_test_upward): Likewise.
23584 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23586         [BZ #157]
23588         * include/stub-tag.h: Remove file.
23589         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23590         '#include' of it.
23591         * manual/maint.texi (Porting): Don't reference it.
23592         * Makerules ($(objpfx)stubs): Likewise.
23593         * dirent/closedir.c: Don't include <stub-tag.h>.
23594         * dirent/dirfd.c: Likewise.
23595         * dirent/fdopendir.c: Likewise.
23596         * dirent/getdents.c: Likewise.
23597         * dirent/getdents64.c: Likewise.
23598         * dirent/opendir.c: Likewise.
23599         * dirent/readdir.c: Likewise.
23600         * dirent/readdir64.c: Likewise.
23601         * dirent/readdir64_r.c: Likewise.
23602         * dirent/readdir_r.c: Likewise.
23603         * dirent/rewinddir.c: Likewise.
23604         * dirent/seekdir.c: Likewise.
23605         * dirent/telldir.c: Likewise.
23606         * gmon/profil.c: Likewise.
23607         * grp/setgroups.c: Likewise.
23608         * inet/if_index.c: Likewise.
23609         * io/access.c: Likewise.
23610         * io/chdir.c: Likewise.
23611         * io/chmod.c: Likewise.
23612         * io/chown.c: Likewise.
23613         * io/close.c: Likewise.
23614         * io/dup.c: Likewise.
23615         * io/dup2.c: Likewise.
23616         * io/dup3.c: Likewise.
23617         * io/euidaccess.c: Likewise.
23618         * io/faccessat.c: Likewise.
23619         * io/fchdir.c: Likewise.
23620         * io/fchmod.c: Likewise.
23621         * io/fchmodat.c: Likewise.
23622         * io/fchown.c: Likewise.
23623         * io/fchownat.c: Likewise.
23624         * io/fcntl.c: Likewise.
23625         * io/flock.c: Likewise.
23626         * io/fstatfs.c: Likewise.
23627         * io/fstatfs64.c: Likewise.
23628         * io/fstatvfs.c: Likewise.
23629         * io/fstatvfs64.c: Likewise.
23630         * io/futimens.c: Likewise.
23631         * io/fxstat.c: Likewise.
23632         * io/fxstat64.c: Likewise.
23633         * io/fxstatat.c: Likewise.
23634         * io/fxstatat64.c: Likewise.
23635         * io/getcwd.c: Likewise.
23636         * io/isatty.c: Likewise.
23637         * io/lchmod.c: Likewise.
23638         * io/lchown.c: Likewise.
23639         * io/link.c: Likewise.
23640         * io/linkat.c: Likewise.
23641         * io/lseek.c: Likewise.
23642         * io/lseek64.c: Likewise.
23643         * io/lxstat64.c: Likewise.
23644         * io/mkdir.c: Likewise.
23645         * io/mkdirat.c: Likewise.
23646         * io/mkfifo.c: Likewise.
23647         * io/mkfifoat.c: Likewise.
23648         * io/open.c: Likewise.
23649         * io/open64.c: Likewise.
23650         * io/openat.c: Likewise.
23651         * io/openat64.c: Likewise.
23652         * io/pipe.c: Likewise.
23653         * io/pipe2.c: Likewise.
23654         * io/poll.c: Likewise.
23655         * io/posix_fadvise.c: Likewise.
23656         * io/posix_fadvise64.c: Likewise.
23657         * io/posix_fallocate.c: Likewise.
23658         * io/posix_fallocate64.c: Likewise.
23659         * io/read.c: Likewise.
23660         * io/readlink.c: Likewise.
23661         * io/readlinkat.c: Likewise.
23662         * io/rmdir.c: Likewise.
23663         * io/sendfile.c: Likewise.
23664         * io/sendfile64.c: Likewise.
23665         * io/statfs.c: Likewise.
23666         * io/statfs64.c: Likewise.
23667         * io/statvfs.c: Likewise.
23668         * io/statvfs64.c: Likewise.
23669         * io/symlink.c: Likewise.
23670         * io/symlinkat.c: Likewise.
23671         * io/ttyname.c: Likewise.
23672         * io/ttyname_r.c: Likewise.
23673         * io/umask.c: Likewise.
23674         * io/unlink.c: Likewise.
23675         * io/unlinkat.c: Likewise.
23676         * io/utime.c: Likewise.
23677         * io/utimensat.c: Likewise.
23678         * io/write.c: Likewise.
23679         * io/xmknod.c: Likewise.
23680         * io/xmknodat.c: Likewise.
23681         * io/xstat.c: Likewise.
23682         * io/xstat64.c: Likewise.
23683         * login/getpt.c: Likewise.
23684         * login/grantpt.c: Likewise.
23685         * login/unlockpt.c: Likewise.
23686         * math/e_acoshl.c: Likewise.
23687         * math/e_acosl.c: Likewise.
23688         * math/e_asinl.c: Likewise.
23689         * math/e_atan2l.c: Likewise.
23690         * math/e_atanhl.c: Likewise.
23691         * math/e_coshl.c: Likewise.
23692         * math/e_expl.c: Likewise.
23693         * math/e_fmodl.c: Likewise.
23694         * math/e_gammal_r.c: Likewise.
23695         * math/e_hypotl.c: Likewise.
23696         * math/e_j0l.c: Likewise.
23697         * math/e_j1l.c: Likewise.
23698         * math/e_jnl.c: Likewise.
23699         * math/e_lgammal_r.c: Likewise.
23700         * math/e_log10l.c: Likewise.
23701         * math/e_log2l.c: Likewise.
23702         * math/e_logl.c: Likewise.
23703         * math/e_powl.c: Likewise.
23704         * math/e_rem_pio2l.c: Likewise.
23705         * math/e_sinhl.c: Likewise.
23706         * math/e_sqrtl.c: Likewise.
23707         * math/fclrexcpt.c: Likewise.
23708         * math/fedisblxcpt.c: Likewise.
23709         * math/feenablxcpt.c: Likewise.
23710         * math/fegetenv.c: Likewise.
23711         * math/fegetexcept.c: Likewise.
23712         * math/fegetround.c: Likewise.
23713         * math/feholdexcpt.c: Likewise.
23714         * math/fesetenv.c: Likewise.
23715         * math/fesetround.c: Likewise.
23716         * math/feupdateenv.c: Likewise.
23717         * math/fgetexcptflg.c: Likewise.
23718         * math/fraiseexcpt.c: Likewise.
23719         * math/fsetexcptflg.c: Likewise.
23720         * math/ftestexcept.c: Likewise.
23721         * math/k_cosl.c: Likewise.
23722         * math/k_rem_pio2l.c: Likewise.
23723         * math/k_sinl.c: Likewise.
23724         * math/k_tanl.c: Likewise.
23725         * math/s_asinhl.c: Likewise.
23726         * math/s_atanl.c: Likewise.
23727         * math/s_cbrtl.c: Likewise.
23728         * math/s_erfl.c: Likewise.
23729         * math/s_expm1l.c: Likewise.
23730         * math/s_log1pl.c: Likewise.
23731         * math/s_tanhl.c: Likewise.
23732         * misc/acct.c: Likewise.
23733         * misc/brk.c: Likewise.
23734         * misc/chflags.c: Likewise.
23735         * misc/chroot.c: Likewise.
23736         * misc/fchflags.c: Likewise.
23737         * misc/fgetxattr.c: Likewise.
23738         * misc/flistxattr.c: Likewise.
23739         * misc/fremovexattr.c: Likewise.
23740         * misc/fsetxattr.c: Likewise.
23741         * misc/fsync.c: Likewise.
23742         * misc/ftruncate.c: Likewise.
23743         * misc/futimes.c: Likewise.
23744         * misc/futimesat.c: Likewise.
23745         * misc/getdomain.c: Likewise.
23746         * misc/getdtsz.c: Likewise.
23747         * misc/gethostid.c: Likewise.
23748         * misc/gethostname.c: Likewise.
23749         * misc/getloadavg.c: Likewise.
23750         * misc/getpagesize.c: Likewise.
23751         * misc/getsysstats.c: Likewise.
23752         * misc/getxattr.c: Likewise.
23753         * misc/gtty.c: Likewise.
23754         * misc/ioctl.c: Likewise.
23755         * misc/lgetxattr.c: Likewise.
23756         * misc/listxattr.c: Likewise.
23757         * misc/llistxattr.c: Likewise.
23758         * misc/lremovexattr.c: Likewise.
23759         * misc/lsetxattr.c: Likewise.
23760         * misc/lutimes.c: Likewise.
23761         * misc/madvise.c: Likewise.
23762         * misc/mincore.c: Likewise.
23763         * misc/mlock.c: Likewise.
23764         * misc/mlockall.c: Likewise.
23765         * misc/mmap.c: Likewise.
23766         * misc/mprotect.c: Likewise.
23767         * misc/msync.c: Likewise.
23768         * misc/munlock.c: Likewise.
23769         * misc/munlockall.c: Likewise.
23770         * misc/munmap.c: Likewise.
23771         * misc/preadv.c: Likewise.
23772         * misc/preadv64.c: Likewise.
23773         * misc/ptrace.c: Likewise.
23774         * misc/pwritev.c: Likewise.
23775         * misc/pwritev64.c: Likewise.
23776         * misc/readv.c: Likewise.
23777         * misc/reboot.c: Likewise.
23778         * misc/remap_file_pages.c: Likewise.
23779         * misc/removexattr.c: Likewise.
23780         * misc/revoke.c: Likewise.
23781         * misc/select.c: Likewise.
23782         * misc/setdomain.c: Likewise.
23783         * misc/setegid.c: Likewise.
23784         * misc/seteuid.c: Likewise.
23785         * misc/sethostid.c: Likewise.
23786         * misc/sethostname.c: Likewise.
23787         * misc/setregid.c: Likewise.
23788         * misc/setreuid.c: Likewise.
23789         * misc/setxattr.c: Likewise.
23790         * misc/sstk.c: Likewise.
23791         * misc/stty.c: Likewise.
23792         * misc/swapoff.c: Likewise.
23793         * misc/swapon.c: Likewise.
23794         * misc/sync.c: Likewise.
23795         * misc/syncfs.c: Likewise.
23796         * misc/syscall.c: Likewise.
23797         * misc/truncate.c: Likewise.
23798         * misc/ualarm.c: Likewise.
23799         * misc/usleep.c: Likewise.
23800         * misc/ustat.c: Likewise.
23801         * misc/utimes.c: Likewise.
23802         * misc/vhangup.c: Likewise.
23803         * misc/writev.c: Likewise.
23804         * posix/_exit.c: Likewise.
23805         * posix/alarm.c: Likewise.
23806         * posix/execve.c: Likewise.
23807         * posix/fexecve.c: Likewise.
23808         * posix/fork.c: Likewise.
23809         * posix/fpathconf.c: Likewise.
23810         * posix/getaddrinfo.c: Likewise.
23811         * posix/getegid.c: Likewise.
23812         * posix/geteuid.c: Likewise.
23813         * posix/getgid.c: Likewise.
23814         * posix/getgroups.c: Likewise.
23815         * posix/getlogin.c: Likewise.
23816         * posix/getlogin_r.c: Likewise.
23817         * posix/getpgid.c: Likewise.
23818         * posix/getpid.c: Likewise.
23819         * posix/getppid.c: Likewise.
23820         * posix/getresgid.c: Likewise.
23821         * posix/getresuid.c: Likewise.
23822         * posix/getsid.c: Likewise.
23823         * posix/getuid.c: Likewise.
23824         * posix/glob64.c: Likewise.
23825         * posix/nanosleep.c: Likewise.
23826         * posix/pathconf.c: Likewise.
23827         * posix/pause.c: Likewise.
23828         * posix/posix_madvise.c: Likewise.
23829         * posix/pread.c: Likewise.
23830         * posix/pread64.c: Likewise.
23831         * posix/pwrite.c: Likewise.
23832         * posix/pwrite64.c: Likewise.
23833         * posix/sched_getaffinity.c: Likewise.
23834         * posix/sched_getp.c: Likewise.
23835         * posix/sched_gets.c: Likewise.
23836         * posix/sched_primax.c: Likewise.
23837         * posix/sched_primin.c: Likewise.
23838         * posix/sched_rr_gi.c: Likewise.
23839         * posix/sched_setaffinity.c: Likewise.
23840         * posix/sched_setp.c: Likewise.
23841         * posix/sched_sets.c: Likewise.
23842         * posix/sched_yield.c: Likewise.
23843         * posix/setgid.c: Likewise.
23844         * posix/setlogin.c: Likewise.
23845         * posix/setpgid.c: Likewise.
23846         * posix/setresgid.c: Likewise.
23847         * posix/setresuid.c: Likewise.
23848         * posix/setsid.c: Likewise.
23849         * posix/setuid.c: Likewise.
23850         * posix/sleep.c: Likewise.
23851         * posix/spawni.c: Likewise.
23852         * posix/sysconf.c: Likewise.
23853         * posix/times.c: Likewise.
23854         * posix/wait.c: Likewise.
23855         * posix/wait3.c: Likewise.
23856         * posix/wait4.c: Likewise.
23857         * posix/waitpid.c: Likewise.
23858         * resolv/gai_sigqueue.c: Likewise.
23859         * resource/getpriority.c: Likewise.
23860         * resource/getrlimit.c: Likewise.
23861         * resource/getrusage.c: Likewise.
23862         * resource/nice.c: Likewise.
23863         * resource/setpriority.c: Likewise.
23864         * resource/setrlimit.c: Likewise.
23865         * resource/ulimit.c: Likewise.
23866         * rt/aio_cancel.c: Likewise.
23867         * rt/aio_fsync.c: Likewise.
23868         * rt/aio_read.c: Likewise.
23869         * rt/aio_sigqueue.c: Likewise.
23870         * rt/aio_suspend.c: Likewise.
23871         * rt/aio_write.c: Likewise.
23872         * rt/clock_getres.c: Likewise.
23873         * rt/clock_gettime.c: Likewise.
23874         * rt/clock_nanosleep.c: Likewise.
23875         * rt/clock_settime.c: Likewise.
23876         * rt/lio_listio.c: Likewise.
23877         * rt/mq_close.c: Likewise.
23878         * rt/mq_getattr.c: Likewise.
23879         * rt/mq_notify.c: Likewise.
23880         * rt/mq_open.c: Likewise.
23881         * rt/mq_receive.c: Likewise.
23882         * rt/mq_send.c: Likewise.
23883         * rt/mq_setattr.c: Likewise.
23884         * rt/mq_timedreceive.c: Likewise.
23885         * rt/mq_timedsend.c: Likewise.
23886         * rt/mq_unlink.c: Likewise.
23887         * rt/shm_open.c: Likewise.
23888         * rt/shm_unlink.c: Likewise.
23889         * rt/timer_create.c: Likewise.
23890         * rt/timer_delete.c: Likewise.
23891         * rt/timer_getoverr.c: Likewise.
23892         * rt/timer_gettime.c: Likewise.
23893         * rt/timer_settime.c: Likewise.
23894         * setjmp/__longjmp.c: Likewise.
23895         * setjmp/setjmp.c: Likewise.
23896         * signal/kill.c: Likewise.
23897         * signal/killpg.c: Likewise.
23898         * signal/raise.c: Likewise.
23899         * signal/sigaction.c: Likewise.
23900         * signal/sigaltstack.c: Likewise.
23901         * signal/sigblock.c: Likewise.
23902         * signal/sigignore.c: Likewise.
23903         * signal/sigintr.c: Likewise.
23904         * signal/signal.c: Likewise.
23905         * signal/sigpause.c: Likewise.
23906         * signal/sigpending.c: Likewise.
23907         * signal/sigqueue.c: Likewise.
23908         * signal/sigreturn.c: Likewise.
23909         * signal/sigset.c: Likewise.
23910         * signal/sigsetmask.c: Likewise.
23911         * signal/sigstack.c: Likewise.
23912         * signal/sigsuspend.c: Likewise.
23913         * signal/sigtimedwait.c: Likewise.
23914         * signal/sigvec.c: Likewise.
23915         * signal/sigwait.c: Likewise.
23916         * signal/sigwaitinfo.c: Likewise.
23917         * signal/sysv_signal.c: Likewise.
23918         * socket/accept.c: Likewise.
23919         * socket/accept4.c: Likewise.
23920         * socket/bind.c: Likewise.
23921         * socket/connect.c: Likewise.
23922         * socket/getpeername.c: Likewise.
23923         * socket/getsockname.c: Likewise.
23924         * socket/getsockopt.c: Likewise.
23925         * socket/isfdtype.c: Likewise.
23926         * socket/listen.c: Likewise.
23927         * socket/recv.c: Likewise.
23928         * socket/recvfrom.c: Likewise.
23929         * socket/recvmsg.c: Likewise.
23930         * socket/send.c: Likewise.
23931         * socket/sendmsg.c: Likewise.
23932         * socket/sendto.c: Likewise.
23933         * socket/setsockopt.c: Likewise.
23934         * socket/shutdown.c: Likewise.
23935         * socket/sockatmark.c: Likewise.
23936         * socket/socket.c: Likewise.
23937         * socket/socketpair.c: Likewise.
23938         * stdio-common/ctermid.c: Likewise.
23939         * stdio-common/cuserid.c: Likewise.
23940         * stdio-common/remove.c: Likewise.
23941         * stdio-common/rename.c: Likewise.
23942         * stdio-common/renameat.c: Likewise.
23943         * stdio-common/tempname.c: Likewise.
23944         * stdlib/getcontext.c: Likewise.
23945         * stdlib/makecontext.c: Likewise.
23946         * stdlib/setcontext.c: Likewise.
23947         * stdlib/swapcontext.c: Likewise.
23948         * stdlib/system.c: Likewise.
23949         * streams/fattach.c: Likewise.
23950         * streams/fdetach.c: Likewise.
23951         * streams/getmsg.c: Likewise.
23952         * streams/getpmsg.c: Likewise.
23953         * streams/putmsg.c: Likewise.
23954         * streams/putpmsg.c: Likewise.
23955         * sysdeps/unix/bsd/getpt.c: Likewise.
23956         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23957         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23958         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23960         Likewise.
23961         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23962         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23963         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23964         * sysvipc/msgctl.c: Likewise.
23965         * sysvipc/msgget.c: Likewise.
23966         * sysvipc/msgrcv.c: Likewise.
23967         * sysvipc/msgsnd.c: Likewise.
23968         * sysvipc/semctl.c: Likewise.
23969         * sysvipc/semget.c: Likewise.
23970         * sysvipc/semop.c: Likewise.
23971         * sysvipc/semtimedop.c: Likewise.
23972         * sysvipc/shmat.c: Likewise.
23973         * sysvipc/shmctl.c: Likewise.
23974         * sysvipc/shmdt.c: Likewise.
23975         * sysvipc/shmget.c: Likewise.
23976         * termios/tcdrain.c: Likewise.
23977         * termios/tcflow.c: Likewise.
23978         * termios/tcflush.c: Likewise.
23979         * termios/tcgetattr.c: Likewise.
23980         * termios/tcgetpgrp.c: Likewise.
23981         * termios/tcsendbrk.c: Likewise.
23982         * termios/tcsetattr.c: Likewise.
23983         * termios/tcsetpgrp.c: Likewise.
23984         * time/adjtime.c: Likewise.
23985         * time/clock.c: Likewise.
23986         * time/getitimer.c: Likewise.
23987         * time/gettimeofday.c: Likewise.
23988         * time/setitimer.c: Likewise.
23989         * time/settimeofday.c: Likewise.
23990         * time/stime.c: Likewise.
23991         * time/time.c: Likewise.
23993 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23995         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23996         /usr/old/bin.
23998         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23999         instead of spaces.
24000         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24002 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
24004         [BZ #14796]
24005         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24006         FE_TONEAREST before applying Dekker multiplication and Knuth
24007         addition.  Clear inexact exceptions and check for exact zero
24008         results afterwards.
24009         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24010         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24011         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24012         * math/libm-test.inc (fma_test): Add more tests.
24013         (fma_test_towardzero): Likewise.
24014         (fma_test_downward): Likewise.
24015         (fma_test_upward): Likewise.
24016         * sysdeps/generic/math_private.h (default_libc_fesetround): New
24017         function.
24018         (libc_fesetround): New macro.
24019         (libc_fesetroundf): Likewise.
24020         (libc_fesetroundl): Likewise.
24021         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24022         function.
24023         (libc_fesetround_387): Likewise.
24024         (libc_fesetroundf): New macro.
24025         (libc_fesetround): Likewise.
24026         (libc_fesetroundl): Likewise.
24027         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24028         function.
24029         (libc_fesetroundf): New macro.
24030         (libc_fesetround): Likewise.
24031         (libc_fesetroundl): Likewise.
24032         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24033         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24034         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24035         libm_hidden_ver.
24036         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24037         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24038         libm_hidden_def.
24039         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24040         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24041         libm_hidden_ver.
24042         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24043         libm_hidden_def.
24045         [BZ #3439]
24046         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24047         integer constant usable in #if and use that to give value to enum
24048         constant.
24049         (FE_DIVBYZERO): Likewise.
24050         (FE_UNDERFLOW): Likewise.
24051         (FE_OVERFLOW): Likewise.
24052         (FE_INVALID): Likewise.
24053         (FE_INVALID_SNAN): Likewise.
24054         (FE_INVALID_ISI): Likewise.
24055         (FE_INVALID_IDI): Likewise.
24056         (FE_INVALID_ZDZ): Likewise.
24057         (FE_INVALID_IMZ): Likewise.
24058         (FE_INVALID_COMPARE): Likewise.
24059         (FE_INVALID_SOFTWARE): Likewise.
24060         (FE_INVALID_SQRT): Likewise.
24061         (FE_INVALID_INTEGER_CONVERSION): Likewise.
24062         (FE_TONEAREST): Likewise.
24063         (FE_TOWARDZERO): Likewise.
24064         (FE_UPWARD): Likewise.
24065         (FE_DOWNWARD): Likewise.
24066         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24067         (FE_DIVBYZERO): Likewise.
24068         (FE_OVERFLOW): Likewise.
24069         (FE_UNDERFLOW): Likewise.
24070         (FE_INEXACT): Likewise.
24071         (FE_TONEAREST): Likewise.
24072         (FE_DOWNWARD): Likewise.
24073         (FE_UPWARD): Likewise.
24074         (FE_TOWARDZERO): Likewise.
24075         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24076         (FE_UNDERFLOW): Likewise.
24077         (FE_OVERFLOW): Likewise.
24078         (FE_DIVBYZERO): Likewise.
24079         (FE_INVALID): Likewise.
24080         (FE_TONEAREST): Likewise.
24081         (FE_TOWARDZERO): Likewise.
24082         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24083         (FE_OVERFLOW): Likewise.
24084         (FE_UNDERFLOW): Likewise.
24085         (FE_DIVBYZERO): Likewise.
24086         (FE_INEXACT): Likewise.
24087         (FE_TONEAREST): Likewise.
24088         (FE_TOWARDZERO): Likewise.
24089         (FE_UPWARD): Likewise.
24090         (FE_DOWNWARD): Likewise.
24091         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24092         (FE_DIVBYZERO): Likewise.
24093         (FE_OVERFLOW): Likewise.
24094         (FE_UNDERFLOW): Likewise.
24095         (FE_INEXACT): Likewise.
24096         (FE_TONEAREST): Likewise.
24097         (FE_DOWNWARD): Likewise.
24098         (FE_UPWARD): Likewise.
24099         (FE_TOWARDZERO): Likewise.
24101 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
24103         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24105 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
24107         * scripts/cross-test-ssh.sh (command): Use newlines to separate
24108         commands.  Quote $PWD.
24109         (blacklist_exports): Don't use remove_newlines.  Replace "declare
24110         -x" by "export".
24111         (remove_newlines): Remove.
24113 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
24115         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24116         * stdlib/stdlib.h (atof): Moved to ...
24117         * include/bits/stdlib-float.h: Here.  New file.
24118         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24119         * stdlib/bits/stdlib-float.h: New file.
24120         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24121         -mno-sse -mno-mmx.
24122         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24123         <xmmintrin.h>.
24125 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24127         * conform/conformtest.pl (@headers): Add fenv.h.
24128         * conform/data/fenv.h-data: New file.
24129         * include/fenv.h [_ISOMAC]: Disable all contents of file except
24130         include of <math/fenv.h>.
24132         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24133         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24134         && !UNIX98].  Enables tests for XOPEN2K8.
24135         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24136         POSIX2008]: Likewise.
24138         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24139         (struct rusage): Do not expect type or its members.
24141         [BZ #3439]
24142         * math/math.h (FP_NAN): Define macro to integer constant usable in
24143         #if and use that to give value to enum constant.
24144         (FP_INFINITE): Likewise.
24145         (FP_ZERO): Likewise.
24146         (FP_SUBNORMAL): Likewise.
24147         (FP_NORMAL): Likewise.
24149 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
24151         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24152         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24153         arguments.
24155 2012-11-02  Roland McGrath  <roland@hack.frob.com>
24157         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24158         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24159         autoconf-time if not.
24160         * configure.in: Remove AC_PREREQ.
24162 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24164         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24165         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24166         of the internal implementation.
24168 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24170         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24171         except include of <misc/sys/syslog.h>.
24173 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24176         function returns with a NULL context exit with zero.
24178 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24180         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24182 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
24184         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24185         (run_program_cmd): This.
24186         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24187         (tst_langinfo): New variable.  Use it.
24189 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
24191         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24192         floating point opcodes.
24194 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24196         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24197         variable.
24199         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24201         * sysdeps/mach/hurd/powerpc: Remove directory.
24202         * sysdeps/mach/powerpc: Likewise.
24204 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24206         * scripts/check-local-headers.sh: Ignore c++ headers.
24208 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24210         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24211         __libc_cleanup_region_start argument.
24213 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
24215         [BZ #14784]
24216         [BZ #14785]
24217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24218         x * y using scaling, not as x * y + z.
24219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24221         * math/libm-test.inc (fma_test): Add more tests.
24222         (fma_test_towardzero): Likewise.
24223         (fma_test_downward): Likewise.
24224         (fma_test_upward): Likewise.
24226 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24228         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24230 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24232         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24233         New variable.
24235 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
24237         * rt/tst-shm.c (worker): Correct checking for mmap failure.
24239 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24242         Fix sort order.
24243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24244         Likewise.
24246 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24249         Fix the order of the list for glibc 2.17.
24250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24251         Likewise.
24253 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24257 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24259         [BZ #14610]
24260         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24261         for low part of x being zero before using __atanl (y).
24262         * math/libm-test.inc (atan2_test): Add another test.
24264         * manual/install.texi (Configuring and compiling): Document
24265         general use of test-wrapper and test-wrapper-env.
24266         * INSTALL: Regenerated.
24268         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24269         (__fma): Do not extract and scale down low bits on after-rounding
24270         systems when result rounded to normal precision would have normal
24271         exponent.
24272         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24273         (__fmal): Do not extract and scale down low bits on after-rounding
24274         systems when result rounded to normal precision would have normal
24275         exponent.
24276         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24277         (__fmal): Do not extract and scale down low bits on after-rounding
24278         systems when result rounded to normal precision would have normal
24279         exponent.
24280         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24281         macro.
24282         (fma_test): Add more tests.
24283         (fma_test_towardzero): Likewise.
24284         (fma_test_downward): Likewise.
24285         (fma_test_upward): Likewise.
24287 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
24289         * sysdeps/i386/tininess.h: Renamed to ...
24290         * sysdeps/x86/tininess.h: This.
24291         * sysdeps/x86_64/tininess.h: Removed.
24293 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24295         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24296         input.  Use $(build-program-cmd).
24297         ($(objpfx)tst-array1-static.out): Likewise.
24298         ($(objpfx)tst-array2.out): Likewise.
24299         ($(objpfx)tst-array3.out): Likewise.
24300         ($(objpfx)tst-array4.out): Likewise.
24301         ($(objpfx)tst-array5.out): Likewise.
24302         ($(objpfx)tst-array5-static.out): Likewise.
24304 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
24306         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24307         if defined.
24309         * nss/nsswitch.h (nss_interface_function): Provide new
24310         macro for use with NSS functions.
24311         * grp/initgroups.c: Use new macro.
24312         * nss/getXXbyYY.c: Likewise.
24313         * nss/getXXbyYY_r.c: Likewise.
24314         * nss/getXXent.c: Likewise.
24315         * nss/getXXent_r.c: Likewise.
24316         * sysdeps/posix/getaddrinfo.c: Likewise.
24318 2012-10-30  Andreas Jaeger  <aj@suse.de>
24320         * po/ru.po: Update Russion translation from translation project.
24322 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24324         [BZ #14152]
24325         [BZ #14783]
24326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24327         result and shift together with sticky bit instead of replicating
24328         round-to-nearest rounding.
24329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24330         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24331         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
24332         missing underflow exceptions.
24333         (fma_test_towardzero): Add more tests.
24334         (fma_test_downward): Likewise.
24335         (fma_test_upward): Likewise.
24337         [BZ #14047]
24338         * sysdeps/generic/tininess.h: New file.
24339         * sysdeps/i386/tininess.h: Likewise.
24340         * sysdeps/sh/tininess.h: Likewise.
24341         * sysdeps/x86_64/tininess.h: Likewise.
24342         * stdlib/tst-strtod-underflow.c: Likewise.
24343         * stdlib/tst-tininess.c: Likewise.
24344         * stdlib/strtod_l.c: Include <tininess.h>.
24345         (round_and_return): Do not set errno for exact underflow cases.
24346         Force an underflow exception when setting errno for underflow.
24347         Determine underflow based on rounding to normal precision if
24348         TININESS_AFTER_ROUNDING.
24349         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24350         ERANGE for exact underflow cases.
24351         * stdlib/Makefile (tests): Add tst-tininess and
24352         tst-strtod-underflow.
24353         ($(objpfx)tst-tininess): Use $(link-libm).
24354         ($(objpfx)tst-strtod-underflow): Likewise.
24356 2012-10-30  Andreas Jaeger  <aj@suse.de>
24358         [BZ#14767]
24359         * elf/Makefile (tests): Remove conditional for have-initfini-array
24360         since this is now always required and the variable does not exist
24361         anymore.
24362         (tests-static): Likewise.
24363         (modules-names): Likewise.
24365         * po/eo.po: Add Esperanto translation from translation project.
24367         * elf/tst-array1.c (fini_array): Make writeable so that it can be
24368         merged with constructor/destructor.
24369         (init_array): Likewise.
24370         * elf/tst-array2dep.c (fini_array): Likewise.
24371         (init_array): Likewise.
24373 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
24375         * manual/message.texi: Delete @cartouche tags.
24377 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
24379         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24380         EOPNOTSUPP.
24381         * sysdeps/mach/hurd/fsync.c: Likewise.
24383         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24384         [_POSIX_REALTIME_SIGNALS]: Change condition to
24385         [_POSIX_REALTIME_SIGNALS > 0].
24387 2012-10-27  Andreas Jaeger  <aj@suse.de>
24389         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24390         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24391         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24392         [__WORDSIZE != 64]: Likewise.
24394 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
24396         *  iconvdata/tst-table.sh: Remove ${SHELL}.
24397         *  iconvdata/tst-tables.sh: Likewise.
24399 2012-10-25  David S. Miller  <davem@davemloft.net>
24401         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24402         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24403         of strtoull.
24405         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24406         ifunc-impl-list.c
24407         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24408         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24409         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24410         file.
24412 2012-10-25  Roland McGrath  <roland@hack.frob.com>
24414         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24415         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24416         __getdirentries.
24418 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24419             Jim Blandy  <jimb@codesourcery.com>
24421         * scripts/cross-test-ssh.sh: New file.
24422         * manual/install.texi (Configuring and compiling): Document use of
24423         cross-test-ssh.sh.
24424         * INSTALL: Regenerated.
24426 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
24428         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24429         EOPNOTSUPP.
24431 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24433         * Makeconfig (run-program-prefix): Fix comment.
24435 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24436             Jim Blandy  <jimb@codesourcery.com>
24438         * Makeconfig (test-wrapper): New variable,
24439         (test-wrapper-env): Likewise.
24440         [$(cross-compiling) = yes && $(test-wrapper) != ""]
24441         (run-built-tests): Define to yes.
24442         (run-program-prefix): Use $(test-wrapper).
24443         (built-program-cmd): Likewise.
24444         * Rules (make-test-out): Use $(test-wrapper-env) and
24445         $(host-built-program-cmd).
24446         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24447         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24448         tst-pathopt.sh.
24449         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24450         $(test-wrapper-env) to tst-rtld-load-self.sh.
24451         ($(objpfx)order2.out): Use $(test-wrapper).
24452         ($(objpfx)tst-initorder.out): Likewise.
24453         ($(objpfx)tst-initorder2.out): Likewise.
24454         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24455         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24456         (test_wrapper_env): New variable.  Use it to run ld.so.
24457         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24458         Use it to run ld.so.
24459         (test_wrapper_env): Likewise.
24460         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24461         $(test-wrapper) to run-iconv-test.sh.
24462         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24463         (ICONV): Use $test_wrapper.
24464         * posix/Makefile ($(objpfx)globtest.out): Pass
24465         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24466         globtest.sh, not $(run-program-prefix).
24467         * posix/globtest.sh (run_via_rtld_prefix): New variable.
24468         (test_wrapper): Likewise.
24469         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
24470         set together with run_via_rtld_prefix.
24471         (run_program_prefix): Define in terms of test_wrapper and
24472         run_via_rtld_prefix.
24474 2012-10-24  Roland McGrath  <roland@hack.frob.com>
24476         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24477         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24478         Targets removed.
24480         [BZ #14743]
24481         * include/time.h: Remove librt_hidden_proto (clock_gettime).
24482         Declare __clock_getres, __clock_gettime, __clock_settime,
24483         __clock_nanosleep, and __clock_getcpuclockid.
24484         * rt/clock_gettime.c: Define __clock_gettime as an alias.
24485         Remove librt_hidden_def (clock_gettime).
24486         * sysdeps/unix/clock_gettime.c: Likewise.
24487         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24488         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24489         * rt/clock_getres.c: Define __clock_getres as an alias.
24490         * sysdeps/posix/clock_getres.c: Likewise.
24491         * rt/clock_settime.c: Define __clock_settime as an alias.
24492         * sysdeps/unix/clock_settime.c: Likewise.
24493         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24494         * sysdeps/unix/clock_nanosleep.c: Likewise.
24495         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24496         * rt/clock-compat.c: New file.
24497         * rt/Makefile (librt-routines): Add clock-compat and move
24498         $(clock-routines) to ...
24499         (routines): ... here, new variable.
24500         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24501         Don't add get_clockfreq here.
24502         * rt/Versions (libc: GLIBC_2.17): New version set.
24503         Add clock_* symbols here.
24504         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
24505         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24506         (GLIBC_2.17): Add clock_* symbols.
24507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24509         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24511         Likewise.
24512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24513         Likewise.
24514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24518         * NEWS: Mention the move.
24520         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24521         Use __open, __read, __close rather than their public counterparts.
24522         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24523         (__get_clockfreq_via_cpuinfo): Likewise.
24524         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24525         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24527         * config.h.in (HAVE_IFUNC): New #undef.
24528         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24529         was successful.
24530         * configure: Regenerated.
24532 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24534         * configure.in: Move READELF check to start of file.
24535         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24536         libc_cv_asm_gnu_indirect_function in the process.
24537         * configure: Regenerated.
24539 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24541         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24542         send the output to /dev/null.
24543         (libc_cv_cc_with_libunwind): Likewise.
24544         (libc_cv_as_noexecstack): Likewise.
24545         * configure: Regenerate.
24547 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24549         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24551         * posix/globtest.sh (TMPDIR): Do not set.
24552         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24553         (testout): Likewise.
24555 2012-10-24  Andreas Jaeger  <aj@suse.de>
24557         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24558         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24559         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24560         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24561         posix_fadvise64, posix_fallocate64.
24563         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24564         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24565         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24566         Likewise.
24567         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24568         Likewise.
24569         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24572         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24573         <bits/fcntl-linux.h>.
24574         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24577         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24578         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24579         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24580         [__WORDSIZE != 64]: Likewise.
24582 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24584         * Makeconfig (run-built-tests): New variable.
24585         * Rules [$(cross-compiling) = yes]: Change condition to
24586         [$(run-built-tests) = no].
24587         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24588         to [$(run-built-tests) = yes].
24589         * elf/Makefile [$(cross-compiling) = no]: Likewise
24590         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24591         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24592         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24593         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24594         * io/Makefile [$(cross-compiling) = no]: Likewise.
24595         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24596         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24597         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24598         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24599         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24600         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24601         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24602         * string/Makefile [$(cross-compiling) = no]: Likewise.
24604         * posix/Makefile ($(objpfx)globtest.out): Pass
24605         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24606         $(rtld-installed-name).
24607         * posix/globtest.sh (elf_objpfx): Remove variable.
24608         (rtld_installed_name): Likewise.
24609         (library_path): Likewise.
24610         (run_program_prefix): New variable.  Use for running globtest
24611         binary.
24613 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24614             Joseph Myers  <joseph@codesourcery.com>
24616         * Makeconfig (host-built-program-cmd): New variable.
24617         * elf/Makefile (tst-stackguard1-ARGS): Use
24618         $(host-built-program-cmd).
24619         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24620         (tst-spawn-ARGS): Likewise.
24621         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24623 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24624             Jim Blandy  <jimb@codesourcery.com>
24626         * Makeconfig (run-via-rtld-prefix): New variable.
24627         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24628         (built-program-cmd): Likewise.
24630 2012-10-22  Andreas Jaeger  <aj@suse.de>
24632         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24633         __O_RSYNC if it exists, otherwise to O_SYNC.
24635 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24636             Joseph Myers  <joseph@codesourcery.com>
24638         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24639         /dev/null.
24640         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24641         from /dev/null
24642         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24643         /dev/null.
24645 2012-10-22  Andreas Jaeger  <aj@suse.de>
24647         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24648         Define always.
24649         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24652         bits/fcntl-linux.h.
24654         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24655         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24657         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24658         to __O_LARGEFILE.
24659         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24660         to __O_LARGEFILE.
24662 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24663             Joseph Myers  <joseph@codesourcery.com>
24665         * config.make.in (NM): New variable.
24667 2012-10-21  Andreas Jaeger  <aj@suse.de>
24669         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24670         definitions and declarations that are provided by
24671         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24673 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24675         [BZ #14683]
24676         * elf/Makefile (tests-static): Add tst-leaks1-static.
24677         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24678         ($(objpfx)tst-leaks1-static): New rule.
24679         ($(objpfx)tst-leaks1-static-mem): Likewise.
24680         (tst-leaks1-static-ENV): New macro.
24681         * elf/dl-open.c (dl_open_worker): Check the main application
24682         only if SHARED is defined.
24683         * elf/tst-leaks1-static.c: New file.
24685 2012-10-20  Andreas Jaeger  <aj@suse.de>
24687         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24688         generic values for Linux.
24689         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24690         and declarations that are provided by <bits/fcntl-linux.h> and
24691         include <bits/fcntl-linux.h>.
24692         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24693         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24695 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24697         * io/fcntl.h: Move include of <bits/types.h> to the top and
24698         include it unconditionally.
24700 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24702         * wcsmbs/Makefile (tests-ifunc): New variable.
24703         (tests): Add $(tests-ifunc).
24704         * wcsmbs/test-wcschr-ifunc.c: New file.
24705         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24706         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24707         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24708         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24709         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24711         * string/Makefile (tests-ifunc): New variable.
24712         (tests): Add $(tests-ifunc).
24713         * string/test-memccpy.c (TEST_NAME): New macro.
24714         * string/test-memchr.c (TEST_NAME): Likewise.
24715         * string/test-memcmp.c (TEST_NAME): Likewise.
24716         * string/test-memcpy.c (TEST_NAME): Likewise.
24717         * string/test-memmem.c (TEST_NAME): Likewise.
24718         * string/test-memmove.c (TEST_NAME): Likewise.
24719         * string/test-memset.c (TEST_NAME): Likewise.
24720         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24721         * string/test-stpcpy.c (TEST_NAME): Likewise.
24722         * string/test-stpncpy.c (TEST_NAME): Likewise.
24723         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24724         * string/test-strcasestr.c (TEST_NAME): Likewise.
24725         * string/test-strcat.c (TEST_NAME): Likewise.
24726         * string/test-strchr.c (TEST_NAME): Likewise.
24727         * string/test-strcmp.c(TEST_NAME): Likewise.
24728         * string/test-strcpy.c (TEST_NAME): Likewise.
24729         * string/test-strcspn.c (TEST_NAME): Likewise.
24730         * string/test-strlen.c (TEST_NAME): Likewise.
24731         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24732         * string/test-strncmp.c (TEST_NAME): Likewise.
24733         * string/test-strncpy.c (TEST_NAME): Likewise.
24734         * string/test-strnlen.c (TEST_NAME): Likewise.
24735         * string/test-strpbrk.c (TEST_NAME): Likewise.
24736         * string/test-strrchr.c (TEST_NAME): Likewise.
24737         * string/test-strspn.c (TEST_NAME): Likewise.
24738         * string/test-strstr.c (TEST_NAME): Likewise.
24739         * string/test-bcopy-ifunc.c: New file.
24740         * string/test-bzero-ifunc.c: Likewise.
24741         * string/test-memccpy-ifunc.c: Likewise.
24742         * string/test-memchr-ifunc.c: Likewise.
24743         * string/test-memcmp-ifunc.c: Likewise.
24744         * string/test-memcpy-ifunc.c: Likewise.
24745         * string/test-memmem-ifunc.c: Likewise.
24746         * string/test-memmove-ifunc.c: Likewise.
24747         * string/test-mempcpy-ifunc.c: Likewise.
24748         * string/test-memset-ifunc.c: Likewise.
24749         * string/test-rawmemchr-ifunc.c: Likewise.
24750         * string/test-stpcpy-ifunc.c: Likewise.
24751         * string/test-stpncpy-ifunc.c: Likewise.
24752         * string/test-strcasecmp-ifunc.c: Likewise.
24753         * string/test-strcasestr-ifunc.c: Likewise.
24754         * string/test-strcat-ifunc.c: Likewise.
24755         * string/test-strchr-ifunc.c: Likewise.
24756         * string/test-strchrnul-ifunc.c: Likewise.
24757         * string/test-strcmp-ifunc.c: Likewise.
24758         * string/test-strcpy-ifunc.c: Likewise.
24759         * string/test-strcspn-ifunc.c: Likewise.
24760         * string/test-strlen-ifunc.c: Likewise.
24761         * string/test-strncasecmp-ifunc.c: Likewise.
24762         * string/test-strncat-ifunc.c: Likewise.
24763         * string/test-strncmp-ifunc.c: Likewise.
24764         * string/test-strncpy-ifunc.c: Likewise.
24765         * string/test-strnlen-ifunc.c: Likewise.
24766         * string/test-strpbrk-ifunc.c: Likewise.
24767         * string/test-strrchr-ifunc.c: Likewise.
24768         * string/test-strspn-ifunc.c: Likewise.
24769         * string/test-strstr-ifunc.c: Likewise.
24771         * debug/Makefile (tests-ifunc): New variable.
24772         (tests): Add $(tests-ifunc).
24773         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24774         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24775         * debug/test-stpcpy_chk-ifunc.c: New file.
24776         * debug/test-strcpy_chk-ifunc.c: Likewise.
24778 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24780         [BZ #13601]
24781         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24782         header is not read in.
24784 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24786         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24787         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24788         directly.  Pass built executable to script as
24789         $(built-program-cmd).
24790         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24791         $testprogram without using LD_LIBRARY_PATH and $ldso.
24793         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24794         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24795         $(rtld-installed-name).
24796         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24797         (rtld_installed_name): Likewise.
24798         (library_path): Likewise.
24799         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24800         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24801         $(run-program-prefix) to tst-tables.sh.
24802         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24803         it to run tst-table-from and tst-table-to.
24804         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24805         Pass it to tst-table.sh.
24806         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24807         $(run-program-prefix) to tst-gettext.sh.
24808         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24809         tst-translit.sh.
24810         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24811         tst-gettext2.sh.
24812         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24813         to run tst-gettext.
24814         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24815         to run tst-gettext2.
24816         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24817         to run tst-translit.
24818         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24819         $(run-program-prefix) to tst-mtrace.sh.
24820         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24821         to run tst-mtrace.
24822         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24823         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24824         $(rtld-installed-name).
24825         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24826         (rtld_installed_name): Likewise.
24827         (run_program_prefix): New variable.  Use it to run wordexp-test.
24829         * Makeconfig (ARCH): Remove all definitions.
24830         (machine): Likewise.
24831         [ARCH]: Remove conditional code.
24832         [!objdir]: Give error.
24833         [!objdir] (objpfx): Remove.
24834         [!objdir] (common-objpfx): Likewise.
24835         [!objdir] (common-objdir): Likewise.
24836         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24837         AC_CONFIG_FILES call.
24838         * configure: Regenerated.
24840         [BZ #13888]
24841         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24842         or TMPDIR.
24843         (testout): Likewise.
24845         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24846         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24847         $(rtld-installed-name).
24848         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24849         (rtld_installed_name): Likwise.
24850         (runit): Remove function.
24851         (run_getconf): New variable,  Use it for running getconf binary.
24853 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24855         [BZ #14716]
24856         * string/test-memmem.c (check_result): New function.
24857         (do_one_test): Use it.
24858         (check1): New function.
24859         (test_main): Use it.
24861 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24863         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24865 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24867         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24868         (_G_LSEEK64): Likewise.
24869         (_G_MMAP64): Likewise.
24870         (_G_FSTAT64): Likewise.
24871         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24872         (_G_LSEEK64): Likewise.
24873         (_G_MMAP64): Likewise.
24874         (_G_FSTAT64): Likewise.
24875         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24876         unconditional.  Call __mmap64 directly.
24877         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24878         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24879         __lseek64 directly.
24880         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24881         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24882         __mmap64 directly.
24883         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24884         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24885         __lseek64 directly.
24886         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24887         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24888         __lseek64 directly.
24889         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24890         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24891         __lseek64 directly.
24892         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24893         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24894         __fxstat64 directly.
24895         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24896         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24897         unconditional.
24898         (freopen64) [!_G_OPEN64]: Remove conditional code.
24899         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24900         unconditional.
24901         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24902         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24903         unconditional.
24904         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24905         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24906         unconditional.
24907         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24908         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24909         unconditional.
24910         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24911         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24912         unconditional.
24913         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24914         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24915         unconditional.
24916         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24917         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24918         unconditional.
24919         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24921 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24923         [BZ #12140]
24924         * manual/memory.texi (Malloc Tunable Parameters): Add note
24925         about free list pointers overwriting some perturb bytes.
24926         Wording suggested by Roland McGrath.
24928 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24930         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24931         (lgamma_test): Likewise.
24932         (tgamma_test): Likewise.
24934 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24936         [BZ #14700]
24937         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24938         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24940 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24942         * NEWS: Mention BZ #14716.
24943         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24944         when removing AVAILABLE1_USES_J macro.
24946 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24948         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24949         (__bswap_64): __uint64_t for unsigned 64-bit int.
24951 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24953         * include/string.h (memmem): Declare libc hidden alias.
24954         * string/memmem.c (memmem): Define libc hidden alias.
24955         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24956         __read, __close instead of open, read, close.
24958 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24961         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24962         global and hidden.
24963         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24964         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24965         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24966         Likewise.
24967         (__rawmemchr_sse2): Likewise.
24968         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24969         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24970         (__strchr_sse2): Likewise.
24971         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24972         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24973         (__strcasecmp_sse2): Likewise.
24974         (__strncasecmp_sse2): Likewise.
24975         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24976         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24977         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24978         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24979         (__strrchr_sse2): Likewise.
24980         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24981         ifunc-impl-list.c.
24982         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24983         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24984         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24985         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24986         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24987         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24988         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24989         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24990         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24991         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24992         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24993         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24994         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24995         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24996         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24997         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24998         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24999         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25000         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25001         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25002         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25003         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25004         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25005         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25006         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25007         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25008         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25009         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25010         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25011         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25013         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25014         global and hidden.
25015         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25016         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25017         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25018         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25019         Likewise.
25020         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25021         Likewise.
25022         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25023         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25024         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25025         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25026         ifunc-impl-list.c.
25027         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25028         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25029         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25030         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25031         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25032         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25033         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25034         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25035         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25036         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25037         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25038         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25039         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25040         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25041         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25042         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25043         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25044         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25045         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25046         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25047         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25048         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25049         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25050         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25051         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25052         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25053         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25054         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25055         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25056         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25057         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25058         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25059         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25060         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25061         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25062         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25063         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25064         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25065         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25066         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25067         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25069         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25070         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25071         * include/ifunc-impl-list.h: New file.
25072         * misc/ifunc-impl-list.c: Likewise.
25073         * misc/Makefile (routines): Add ifunc-impl-list.
25074         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25075         * string/test-string.h: Include <ifunc-impl-list.h>.
25076         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25077         TEST_NAME]: New variables.
25078         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25079         are defined.
25080         (test_init): Call __libc_ifunc_impl_list to initialize
25081         func_list if TEST_IFUNC and TEST_NAME are defined.
25083         * string/Makefile (strop-tests): Add bcopy and bzero.
25084         * string/test-bcopy.c: New file.
25085         * string/test-bzero.c: Likewise.
25086         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25087         defined.
25088         * string/test-memset.c: Support bzero test if TEST_BZERO is
25089         defined.
25090         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25091         __libc_memmove.
25092         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25093         __libc_memset.
25094         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25095         of memset.
25097 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
25099         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25100         * configure: Regenerated.
25102         * Makeconfig (+link-static-before-libc): Don't include
25103         $(link-static-libc).
25105         * libio/libio.h (_IO_pos_t): Remove.
25107 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25109         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
25110         McGrath.
25112 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25114         * crypt/crypt-entry.c: Include fips-private.h.
25115         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25116         * crypt/md5c-test.c (main): Tolerate disabled MD5.
25117         * sysdeps/unix/sysv/linux/fips-private.h: New file.
25118         * sysdeps/generic/fips-private.h: New file, dummy fallback.
25120 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25122         * crypt/crypt-private.h: Include stdbool.h.
25123         (_ufc_setup_salt_r): Return bool.
25124         * crypt/crypt-entry.c: Include errno.h.
25125         (__crypt_r): Return NULL with EINVAL for bad salt.
25126         * crypt/crypt_util.c (bad_for_salt): New.
25127         (_ufc_setup_salt_r): Check that salt is long enough and within
25128         the specified alphabet.
25129         * crypt/badsalttest.c: New file.
25130         * crypt/Makefile (tests): Add it.
25131         ($(objpfx)badsalttest): New.
25133 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
25135         * NEWS: Add entry for BZ #14602.
25137 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25139         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25140         type-generic.
25141         * math/libm-test.inc: Update comment listing what functions and
25142         macros are tested.
25143         (isgreater_test): New function.
25144         (isgreaterequal_test): Likewise.
25145         (isless_test): Likewise.
25146         (islessequal_test): Likewise.
25147         (islessgreater_test): Likewise.
25148         (isunordered_test): Likewise.
25149         (main): Call the new functions.
25151 2012-10-09  Roland McGrath  <roland@hack.frob.com>
25153         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25154         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25155         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25156         * sysdeps/i386/configure: Regenerated.
25157         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25158         * sysdeps/mach/configure: Regenerated.
25159         * sysdeps/mach/hurd/configure: Regenerated.
25160         * sysdeps/powerpc/configure: Regenerated.
25161         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25162         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25163         * sysdeps/s390/s390-32/configure: Regenerated.
25164         * sysdeps/s390/s390-64/configure: Regenerated.
25165         * sysdeps/sh/configure: Regenerated.
25166         * sysdeps/sparc/configure: Regenerated.
25167         * sysdeps/unix/sysv/linux/configure: Regenerated.
25168         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25169         * sysdeps/x86_64/configure: Regenerated.
25171         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25172         defined.  Don't check if MAP is NULL.
25174 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25176         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25177         (_G_stat64): Likewise.
25178         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25179         (_G_stat64): Likewise.
25180         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25181         instead of struct _G_stat64.
25182         * libio/fileops.c (mmap_remap_check): Likewise.
25183         (decide_maybe_mmap): Likewise.
25184         (_IO_new_file_seekoff): Likewise.
25185         (_IO_file_stat): Likewise.
25186         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25187         _G_off64_t.
25188         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25189         instead of struct _G_stat64.
25190         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25192 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
25194         [BZ #14602]
25195         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25196         Replace with ...
25197         (CHECK_EOL): New macro.
25198         (two_way_short_needle): Check beginning of haystack for EOL.  Use
25199         CHECK_EOL.
25200         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25201         Replace with CHECK_EOL.
25202         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25203         Replace with CHECK_EOL.
25205 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
25207         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25208         type-generic.
25209         * math/libm-test.inc: Update comment listing what functions and
25210         macros are tested.
25211         (finite_test): New function.
25212         (isinf_test): Likewise.
25213         (isnan_test): Likewise.
25214         (fpclassify_test): Test subnormal input.
25215         (isfinite_test): Likewise.
25216         (isnormal_test): Likewise.
25217         (main): Call the new functions.
25219 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
25221         [BZ #14660]
25222         * Makerules (%.dynsym): Force C locale when running
25223         $(OBJDUMP) --dynamic-syms.
25225 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
25227         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25228         <stdint.h>.
25230 2012-10-06  David S. Miller  <davem@davemloft.net>
25232         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25233         upper 32-bits of the length value in %o2 since we use branch-on-register
25234         tests which consider the entire 64-bit register.
25236 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
25238         * string/test-strstr.c (check2): Add a test for page boundary.
25240 2012-10-05  David S. Miller  <davem@davemloft.net>
25242         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25243         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25244         file.
25245         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25246         sysdep_routines.
25247         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25248         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25249         and bzero when HWCAP_SPARC_CRYPTO is present.
25251 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
25253         [BZ #14602]
25254         * string/test-strstr.c (check2): New function.
25255         (test_main): Call check2.
25257         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25258         and bug-strchr1.
25259         * string/bug-strcasestr1.c (do_test): Moved to ...
25260         * string/test-strcasestr.c (check1): Here.  New function.
25261         (do_one_test): Break out result checking code into ...
25262         (check_result): This.  New function.
25263         (do_one_test): Call check_result.
25264         (test_main): Call check1.
25265         * string/bug-strchr1.c (do_test): Moved to ...
25266         * string/test-strchr.c (check1): Here.  New function.
25267         (do_one_test): Break out result checking code into ...
25268         (check_result): This.  New function.
25269         (do_one_test): Call check_result.
25270         (test_main): Call check1.
25271         * string/bug-strstr1.c (main): Moved to ...
25272         * string/test-strstr.c (check1): Here.  New function.
25273         (do_one_test): Break out result checking code into ...
25274         (check_result): This.  New function.
25275         (do_one_test): Call check_result.
25276         (test_main): Call check1.
25277         * string/bug-strcasestr1.c: Removed.
25278         * string/bug-strchr1.c: Likewise.
25279         * string/bug-strstr1.c: Likewise.
25281         * elf/Makefile (dl-routines): Add hwcaps.
25282         * elf/dl-support.c (_dl_important_hwcaps): Removed.
25283         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25284         (_dl_important_hwcaps): Moved to ...
25285         * elf/dl-hwcaps.c: Here.  New file.
25286         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25288         [BZ #14557]
25289         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25290         if IS_IN_rtld isn't defined.
25292         * elf/dl-support.c (_dl_sysinfo_map): New.
25293         Include "get-dynamic-info.h" and "setup-vdso.h".
25294         (_dl_non_dynamic_init): Call setup_vdso.
25295         * elf/dynamic-link.h: Don't include <assert.h>.
25296         (elf_get_dynamic_info): Moved to ...
25297         * elf/get-dynamic-info.h: Here.  New file.
25298         * elf/dynamic-link.h: Include "get-dynamic-info.h".
25299         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25300         * elf/setup-vdso.h: Here.  New file.
25301         * elf/rtld.c: Include "setup-vdso.h".
25302         (dl_main): Call setup_vdso.
25304 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
25306         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25307         creal in comment listing functions tested.  List finite, isinf,
25308         isnan, isless, islessequal, isgreater, isgreaterequal,
25309         islessgreater, isunordered, lgamma_r and pow10 as functions and
25310         macros not tested.  Mention which functions not tested are aliases
25311         for other functions.  Fix typo.  Note that signs of NaNs are not
25312         tested.
25314         * scripts/config.guess: Update from config.git.
25315         * scripts/config.sub: Likewise.
25317 2012-10-04  Roland McGrath  <roland@hack.frob.com>
25319         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25320         * misc/madvise.c (madvise): Renamed to __madvise.
25321         Make madvise a weak alias.
25322         * include/sys/mman.h: Declare __madvise.
25323         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25324         * sysdeps/unix/syscalls.list
25325         (madvise): Make __madvise the strong name, and madvise a weak alias.
25326         * sysdeps/unix/sysv/linux/syscalls.list
25327         (madvise, mmap): Remove redundant entries.
25328         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25329         * malloc/malloc.c (mtrim): Likewise.
25330         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25332 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25334         * sysdeps/mach/hurd/dl-cache.c: File removed.
25335         * config.h.in (USE_LDCONFIG): New #undef.
25336         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25337         * configure: Regenerated.
25338         * elf/Makefile (dl-routines): Add dl-cache only under
25339         [$(use-ldconfig) = yes].
25340         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25341         cache on [USE_LDCONFIG].
25342         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25343         [USE_LDCONFIG].
25344         * elf/rtld.c (dl_main): Likewise.
25346 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
25348         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25349         _SC_LEVEL4_CACHE_LINESIZE.
25351 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25353         * sysdeps/unix/bsd/confstr.h: File removed.
25355 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
25357         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25358         sys/sdt-config.h.
25360 2012-10-02  Roland McGrath  <roland@hack.frob.com>
25362         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25363         Make 'mapoff' field ElfW(Off) rather than off_t.
25365 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
25367         * nscd/Makefile: Remove nscd-cflags and all its users.
25368         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25369         (CFLAGS-nonlib): Add compiler flags for nscd modules.
25371         [BZ #10631]
25372         * malloc.c (malloc_printerr): Clarify error message.
25374 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
25376         [BZ #14648]
25377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25378         Set bit_FMA_Usable if FMA is supported.
25379         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25380         macro.
25381         (bit_FMA4_Usable): Updated.
25382         (index_FMA_Usable): New macro.
25383         (CPUID_FMA): Likewise
25384         (HAS_FMA): Defined with bit_FMA_Usable.
25386 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25388         * bits/types.h (__swblk_t): Type removed.
25389         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25390         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25391         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25392         (__SWBLK_T_TYPE): Likewise.
25393         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25394         (__SWBLK_T_TYPE): Likewise.
25395         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25396         (__SWBLK_T_TYPE): Likewise.
25397         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25398         (__SWBLK_T_TYPE): Likewise.
25400 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
25401             Honza Horak <hhorak@redhat.com>
25403         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25404         (xdr_mapname): Use YPMAXMAP as maxsize.
25405         (xdr_peername): Use YPMAXPEER as maxsize.
25406         (xdr_keydat): Use YPAXRECORD as maxsize.
25407         (xdr_valdat): Use YPMAXRECORD as maxsize.
25409 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25411         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25413         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25414         * csu/init-first.c: ... here.
25415         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25416         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25417         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25418         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25419         * sysdeps/i386/init-first.c: File removed.
25420         * sysdeps/sh/init-first.c: File removed.
25422 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
25424         [BZ #14645]
25425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25426         if x * y might underflow to zero and z is zero.
25427         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25428         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25429         * math/libm-test.inc (min_subnorm_value): New variable.
25430         (fma_test): Add more tests.
25431         (fma_test_towardzero): Likewise.
25432         (fma_test_downward): Likewise
25433         (fma_test_upward): Likewise.
25434         (initialize): Set min_subnorm_value.
25436 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
25438         [BZ #14638]
25439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25440         0 + 0.
25441         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25442         mode for addition resulting in exact zero.
25443         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25444         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25445         exact 0 + 0.
25446         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25447         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25448         * math/libm-test.inc (fma_test): Add more tests.
25449         (fma_test_towardzero): New function.
25450         (fma_test_downward): Likewise.
25451         (fma_test_upward): Likewise.
25452         (main): Call the new functions.
25454 2012-09-28  David S. Miller  <davem@davemloft.net>
25456         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25458 2012-09-28  Roland McGrath  <roland@hack.frob.com>
25460         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25461         instead of SIGALRM.
25463         * sysdeps/gnu/_G_config.h: Moved to ...
25464         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25465         * sysdeps/mach/hurd/_G_config.h: Moved to ...
25466         * sysdeps/generic/_G_config.h: ... here.
25468         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
25470         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25472         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25473         Conditionalize target on [libnss_test1.so-version].
25475         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25477         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25478         (elfobjdir): Move out of conditionals.
25480         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25481         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25482         (__nss_lookup_function): Conditionalize label remove_from_tree on
25483         [!DO_STATIC_NSS || SHARED], matching its only use.
25485 2012-09-28  David S. Miller  <davem@davemloft.net>
25487         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25488         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25489         file.
25490         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25491         sysdep_routines.
25492         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25494         when HWCAP_SPARC_CRYPTO is present.
25496 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25498         * io/tst-mknodat.c: Create a FIFO instead of a socket.
25500 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
25502         [BZ #6530]
25503         * stdio-common/vfprintf.c (process_string_arg): Revert
25504         2000-07-22 change.
25506 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
25508         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25509         for testcase.
25510         * stdio-common/tst-sprintf.c: Include <locale.h>
25511         (main): Test sprintf's handling of incomplete multibyte
25512         characters.
25514 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
25516         * elf/dl-runtime.c (VERSYMIDX): Removed.
25517         * elf/dl-version.c (VERSYMIDX): Likewise.
25518         * elf/do-rel.h (VERSYMIDX): Likewise.
25519         (VALIDX): Likewise.
25520         * elf/dynamic-link.h (VERSYMIDX): Likewise.
25521         * elf/rtld.c (VALIDX): Likewise.
25522         (ADDRIDX): Likewise.
25523         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25524         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25525         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25526         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25527         (VALIDX): Likewise.
25528         (ADDRIDX): Likewise.
25530 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25532         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25534 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
25536         [BZ #11438]
25537         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25538         to global scope.
25539         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25540         addresses are in the same scope as 192.0.2/24.
25541         * posix/gai.conf: Document new scope table defaults.
25543 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25545         [BZ #5298]
25546         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25547         for ftell.  Compute offsets from write pointers instead.
25548         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25550 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25552         [BZ #14543]
25553         * libio/Makefile (tests): New test case tst-fseek.
25554         * libio/tst-fseek.c: New test case to verify that fseek/ftell
25555         combination works in wide mode.
25556         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25557         state when the external buffer state changes.
25559 2012-09-27  David S. Miller  <davem@davemloft.net>
25561         [BZ #14376]
25562         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25563         pass reloc->r_addend in as the 'high' argument to
25564         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25568 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25570         * rt/tst-aio2.c: Include <pthread.h>.
25571         * rt/tst-aio3.c: Likewise.
25573 2012-09-27  Steve Ellcey  <sellcey@mips.com>
25575         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25577 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
25579         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25580         contents on [SHARED].
25582 2012-09-26  Marek Polacek  <polacek@redhat.com>
25584         [BZ #14530]
25585         [BZ #13741]
25586         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25587         for C++ and GCC <4.3 as well as for non GCC compilers.
25589 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25593 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25595         * Makefile.in (all, install): Declare with .PHONY.
25596         Reported by Michael Hope <michael.hope@linaro.org>.
25598 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25600         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25601         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25602         system header.
25603         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25604         Likewise.
25605         (sydep_routines): Add the new and the internal functions.
25606         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25607         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25609         (GLIBC_2.17): Add the new function.
25610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25611         (GLIBC_2.17): Likewise.
25612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25613         (GLIBC_2.17): Likewise.
25614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25615         (GLIBC_2.17): Likewise.
25616         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25618 2012-09-25  Alan Modra  <amodra@gmail.com>
25620         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25621         Add release barrier before setting once_control to say
25622         initialisation is done.  Add hints on lwarx.  Use macro in
25623         place of isync.
25624         (clear_once_control): Add release barrier.
25626 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25628         [BZ #13629]
25629         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25630         specially.
25631         * math/s_clog10.c (__clog10): Likewise.
25632         * math/s_clog10f.c (__clog10f): Likewise.
25633         * math/s_clog10l.c (__clog10l): Likewise.
25634         * math/s_clogf.c (__clogf): Likewise.
25635         * math/s_clogl.c (__clogl): Likewise.
25636         * math/Makefile (libm-calls): Add x2y2m1.
25637         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25638         (__x2y2m1): Likewise.
25639         (__x2y2m1l): Likewise.
25640         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25641         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25642         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25643         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25644         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25645         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25646         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25647         * sysdeps/i386/fpu/libm-test-ulps: Update.
25648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25650         [BZ #14621]
25651         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25652         int as type of variable DEPTH.
25653         (glob): Use size_t instead of int as type of variables NEWCOUNT
25654         and OLD_PATHC.
25656 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25658         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25659         Add s_sincosf-sse2.
25660         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25661         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25662         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25663         macros for using routine as __sincosf_ia32.
25664         Use macro for function declaration and weak_alias.
25665         * sysdeps/i386/fpu/libm-test-ulps: Update.
25667         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25670         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25671         subnormal argument.
25672         * math/s_cexpf.c (__cexpf): Likewise.
25673         * math/s_csinf.c (__csinf): Likewise.
25674         * math/s_csinhf.c (__csinhf): Likewise.
25675         * math/s_ctanf.c (__ctanf): Likewise.
25676         * math/s_ctanhf.c (__ctanhf): Likewise.
25677         * math/s_ccosh.c (__ccoshf): Likewise.
25678         * math/s_cexp.c (__cexpl): Likewise.
25679         * math/s_csin.c (__csin): Likewise.
25680         * math/s_csinh.c (__csinh): Likewise.
25681         * math/s_ctan.c (__ctan): Likewise.
25682         * math/s_ctanh.c (ctanh): Likewise.
25683         * math/s_ccoshl.c (__ccoshl): Likewise.
25684         * math/s_cexpl.c (__cexpl): Likewise.
25685         * math/s_csinl.c (__csinl): Likewise.
25686         * math/s_csinhl.c (__csinhl): Likewise.
25687         * math/s_ctanl.c (__ctanl): Likewise.
25688         * math/s_ctanhl.c (__ctanhl): Likewise.
25690 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25692         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25693         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25694         (_IO_off_t): Define to __off_t, not _G_off_t.
25695         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25696         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25697         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25698         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25699         type of __dummy and __dummy2 fields.
25700         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25701         (_G_ssize_t): Likewise.
25702         (_G_off_t): Likewise.
25703         (_G_pid_t): Likewise.
25704         (_G_uid_t): Likewise.
25705         (_G_wchar_t): Likewise.
25706         (_G_wint_t): Likewise.
25707         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25708         (_G_ssize_t): Likewise.
25709         (_G_off_t): Likewise.
25710         (_G_pid_t): Likewise.
25711         (_G_uid_t): Likewise.
25712         (_G_wchar_t): Likewise.
25713         (_G_wint_t): Likewise.
25714         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25715         (_G_ssize_t): Likewise.
25716         (_G_off_t): Likewise.
25717         (_G_pid_t): Likewise.
25718         (_G_uid_t): Likewise.
25719         (_G_wchar_t): Likewise.
25720         (_G_wint_t): Likewise.
25722 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25724         * malloc/arena.c: Include malloc-sysdep.h.
25725         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25726         is sufficient to shrink the heap or an unmap is needed.
25727         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25728         new function check_may_shrink_heap.
25729         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25730         new function check_may_shrink_heap.
25732 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25734         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25735         comments.
25737 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25739         * catgets/test-gencat.sh: Add "set -e".
25740         * elf/tst-pathopt.sh: Likewise.
25741         * grp/tst_fgetgrent.sh: Likewise.
25742         * iconvdata/run-iconv-test.sh: Likewise.
25743         * intl/tst-gettext.sh: Likewise.
25744         * intl/tst-gettext2.sh: Likewise.
25745         * intl/tst-gettext4.sh: Likewise.
25746         * intl/tst-gettext6.sh: Likewise.
25747         * intl/tst-translit.sh: Likewise.
25748         * io/ftwtest-sh: Likewise.
25749         * libio/test-freopen.sh: Likewise.
25750         * malloc/tst-mtrace.sh: Likewise.
25751         * posix/globtest.sh: Likewise.
25752         * posix/tst-getconf.sh: Likewise.
25753         * posix/wordexp-tst.sh: Likewise.
25754         * stdio-common/tst-printf.sh: Likewise.
25755         * stdio-common/tst-unbputc.sh: Likewise.
25756         * stdlib/tst-fmtmsg.sh: Likewise.
25757         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25758         * catgets/Makefile: Do not specify -e option when running
25759         testsuite shell scripts.
25760         * elf/Makefile: Likewise.
25761         * grp/Makefile: Likewise.
25762         * iconvdata/Makefile: Likewise.
25763         * intl/Makefile: Likewise.
25764         * io/Makefile: Likewise.
25765         * libio/Makefile: Likewise.
25766         * malloc/Makefile: Likewise.
25767         * posix/Makefile: Likewise.
25768         * stdio-common/Makefile: Likewise.
25769         * stdlib/Makefile: Likewise.
25770         * sysdeps/x86_64/Makefile: Likewise.
25772         * io/ftwtest-sh: Add copyright header.
25773         * posix/globtest.sh: Likewise.
25774         * posix/tst-getconf.sh: Likewise.
25775         * posix/wordexp-tst.sh: Likewise.
25776         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25778 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25780         [BZ #13679]
25781         * Makeconfig (+link): Defined as $(+link-static) if
25782         $(build-shared) isn't yes.
25783         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25784         isn't yes.
25785         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25787         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25789         [BZ #14562]
25790         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25791         new chunk size with MALLOC_ALIGN_MASK.
25793 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25795         [BZ #5044]
25796         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25797         <rounding-mode.h>.
25798         (__printf_fphex): Determine rounding using get_rounding_mode and
25799         round_away.
25800         * stdio-common/tst-printf-round.c (struct hex_test): New
25801         structure.
25802         (hex_tests): New variable.
25803         (test_hex_in_one_mode): New function.
25804         (do_test): Also run tests for hex float output.
25806 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25808         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25809         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25810         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25811         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25812         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25813         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25814         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25815         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25817 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25819         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25820         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25821         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25822         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25824 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25826         [BZ #14579]
25827         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25828         mode only.
25829         * elf/tst-rtld-load-self.sh: New test.
25830         * elf/Makefile: Run it.
25832 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25834         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25835         (tst-writev-ENV): Remove.
25836         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25838 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25840         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25842 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25844         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25845         unconditional.
25846         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25847         Likewise.
25848         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25849         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25850         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25851         Likewise.
25853 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25855         [BZ #14587]
25856         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25857         * config.make.in (have-cpp-asm-debuginfo): Removed.
25858         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25859         * configure: Regenerated.
25861 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25863         [BZ #5044]
25864         * stdio-common/printf_fp.c: Include <stdbool.h> and
25865         <rounding-mode.h>.
25866         (___printf_fp): Determine rounding using get_rounding_mode and
25867         round_away.
25868         * stdio-common/tst-printf-round.c: New file.
25869         * stdio-common/Makefile (tests): Add tst-printf-round.
25870         (link-libm): New variable.
25871         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25873 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25875         [BZ #14576]
25876         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25877         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25878         Likewise.
25879         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25880         Likewise.
25882 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25884         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25885         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25886         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25887         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25889 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25891         [BZ #14518]
25892         * include/rounding-mode.h: New file.
25893         * sysdeps/generic/get-rounding-mode.h: Likewise.
25894         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25895         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25896         (MAX_VALUE): New macro.
25897         (MIN_VALUE): Likewise.
25898         (overflow_value): New function.
25899         (underflow_value): Likewise.
25900         (round_and_return): Use overflow_value and underflow_value to
25901         determine return values in overflow and underflow cases.  Use
25902         round_away to determine rounding depending on rounding mode.
25903         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25904         determine return values in overflow and underflow cases.
25905         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25906         (struct test_results): New structure.
25907         (struct test): Use struct test_results to store expected results
25908         for all rounding modes.
25909         (TEST): Include expected results for all rounding modes.
25910         (test_in_one_mode): New function.
25911         (do_test): Use test_in_one_mode to compute and check results.
25912         Check results for all rounding modes.
25913         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25914         $(link-libm).
25916 2012-12-09  Allan McRae  <allan@archlinux.org>
25918         * sysdeps/i386/fpu/libm-test-ulps: Update
25920 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25922         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25923         (_G_int32_t): Likewise.
25924         (_G_uint16_t): Likewise.
25925         (_G_uint32_t): Likewise.
25926         (_G_HAVE_BOOL): Likewise.
25927         (_G_HAVE_ATEXIT): Likewise.
25928         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25929         (_G_HAVE_IO_FILE_OPEN): Likewise.
25930         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25931         (_G_int32_t): Likewise.
25932         (_G_uint16_t): Likewise.
25933         (_G_uint32_t): Likewise.
25934         (_G_HAVE_BOOL): Likewise.
25935         (_G_HAVE_ATEXIT): Likewise.
25936         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25937         (_G_HAVE_IO_FILE_OPEN): Likewise.
25938         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25939         (_G_int32_t): Likewise.
25940         (_G_uint16_t): Likewise.
25941         (_G_uint32_t): Likewise.
25942         (_G_HAVE_BOOL): Likewise.
25943         (_G_HAVE_ATEXIT): Likewise.
25944         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25945         (_G_HAVE_IO_FILE_OPEN): Likewise.
25947 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25949         * csu/libc-tls.c: Update copyright years.
25951 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25953         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25954         [!_G_USING_THUNKS]: Remove conditional code.
25955         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25956         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25958         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25959         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25960         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25961         (_G_VTABLE_LABEL_PREFIX): Likewise.
25962         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25963         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25964         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25965         (_G_VTABLE_LABEL_PREFIX): Likewise.
25966         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25967         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25968         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25969         (_G_VTABLE_LABEL_PREFIX): Likewise.
25970         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25972 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25974         * libio/Makefile: Include ../Makeconfig before tests.
25975         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25976         only if $(build-shared) is yes.
25978         * iconv/gconv_db.c: Update copyright years.
25980 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25982         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25983         unwind info if defined PIC. Fix special cases description.
25984         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25986         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25987         DP_HI_MASK entry.
25988         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25990 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25992         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25994         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25995         is NULL.
25997         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25998         (LDLIBS-tst-chk4): This.
25999         (LDFLAGS-tst-chk5): Renamed to ...
26000         (LDLIBS-tst-chk5): This.
26001         (LDFLAGS-tst-chk6): Renamed to ...
26002         (LDLIBS-tst-chk6): This.
26003         (LDFLAGS-tst-lfschk4): Renamed to ...
26004         (LDLIBS-tst-lfschk4): This.
26005         (LDFLAGS-tst-lfschk5): Renamed to ...
26006         (LDLIBS-tst-lfschk5): This.
26007         (LDFLAGS-tst-lfschk6): Renamed to ...
26008         (LDLIBS-tst-lfschk6): This.
26010         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26011         on $(common-objpfx)soversions.mk.
26013 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
26015         [BZ #10014]
26016         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26017         example host name.
26019 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26021         * malloc/arena.c (arena_get_retry): New function that gets
26022         another arena for the caller to try its request on.
26023         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26024         current arena cannot fulfill the request.
26025         (__libc_memalign): Likewise.
26026         (__libc_memalign): Likewise.
26027         (__libc_pvalloc): Likewise.
26028         (__libc_calloc): Likewise.
26030 2012-09-05  John Tobey  <john.tobey@gmail.com>
26032         [BZ #13542]
26033         * manual/arith.texi (Operations on Complex): Fix description
26034         of carg branch cut.
26036 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26038         [BZ #10014]
26039         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26040         host name.
26042         [BZ #10038]
26043         * manual/memory.texi (Memory): Make order of menu items match
26044         order of sections.
26046 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26048         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26049         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
26050         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26052 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26054         * csu/libc-tls.c (static_dtv): Renamed to ...
26055         (_dl_static_dtv): This.  Make it global.
26056         (_dl_initial_dtv): Removed.
26057         (__libc_setup_tls): Updated.
26058         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26059         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26060         DL_INITIAL_DTV.
26062 2012-09-06  Petr Machata  <pmachata@redhat.com>
26064         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26065         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26066         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26067         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26069 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26071         [BZ #14545]
26072         * csu/libc-tls.c (_dl_initial_dtv): New variable.
26073         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26074         freeing dtv[-1].
26076 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26078         [BZ #14544]
26079         * Makeconfig (link-static-before-libc): Replace $(+prector)
26080         with $(+prectorT).
26081         (link-static-after-libc): Replace $(+postctor) with
26082         $(+postctorT).
26083         (link-bounded): Replace $(+prector)/$(+postctor) with
26084         $(+prectorT)/$(+postctorT).
26085         (+prectorT): New macro.
26086         (+postctorT): Likewise.
26088 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26090         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26091         (round_str): Handle values above the maximum for IBM long double
26092         as inexact.
26093         * stdlib/tst-strtod-round.c (tests): Regenerated.
26095 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26097         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26098         assembler flag.
26099         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26100         zarch_nohighgprs around the zarch optimized routines.
26101         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26102         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26103         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26104         for zarch.
26106 2012-09-05  David S. Miller  <davem@davemloft.net>
26108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26110         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26111         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26112         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26113         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26114         entries.
26116 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26118         * malloc/arena.c: Fold copyright years.
26119         * malloc/mcheck.c, malloc/memusage.c: Likewise.
26121 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26123         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26125 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26127         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
26129 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26131         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26132         change internal state upon failure.
26134 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26136         * malloc/mcheck.c (mcheck_check_all): Fix typo.
26137         * malloc/memusage.c (mmap): Likewise.
26138         (mmap64, mremap): Likewise.  Adjust name in comment.
26140 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26142         * libio/fileops.c: Fix typos in comments.
26143         * libio/oldfileops.c: Likewise.
26144         * libio/wfileops.c: Likewise.
26146 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26148         [BZ #1349]
26149         * malloc/Makefile (tests): Add tst-malloc-usable test case.
26150         (tst-malloc-usable-ENV): Set environment for test case.
26151         * malloc/hooks.c (malloc_check_get_size): New function to get
26152         requested size.
26153         * malloc/malloc.c (musable): Use malloc_check_get_size.
26154         * malloc/tst-malloc-usable.c: New test case.
26156 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26158         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26160 2012-09-05  Allan McRae  <allan@archlinux.org>
26162         [BZ #13966]
26163         * configure.in (CXX_SYSINCLUDES): Use compiler output to
26164         determine header location.
26165         * configure: Regenerated.
26167 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26169         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26170         float format.
26171         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26172         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26173         format.
26174         (test): Regenerate.
26176 2012-09-04  David S. Miller  <davem@davemloft.net>
26178         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26179         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26180         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26182 2012-09-04  Florian Weimer  <fweimer@redhat.com>
26184         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26185         failures.
26187         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26189 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
26191         [BZ #9914]
26192         * libio/iogetdelim.c: Include <limits.h>.
26193         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26194         + len + 1 would overflow.
26196 2012-09-03  Andreas Jaeger  <aj@suse.de>
26198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26199         * sysdeps/i386/fpu/libm-test-ulps: Update.
26201 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26203         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26204         Add s_sinf-sse2, s_conf-sse2.
26206         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26207         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26208         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26209         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26211         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26212         for using routine as __sinf_ia32.
26213         Use macro for function declaration and weak_alias.
26214         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26215         for using routine as __cosf_ia32.
26216         Use macro for function declaration and weak_alias.
26218         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26219         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26221         * sysdeps/x86_64/fpu/s_sinf.S: New file.
26222         * sysdeps/x86_64/fpu/s_cosf.S: New file.
26223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26225         * math/libm-test.inc (cos_test): Add more test cases.
26226         (sin_test): Likewise.
26227         (sincos_test): Likewise.
26229 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26231         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26232         (IFUNC_RESOLVE): Make pointers to the specialized implementations
26233         hidden.
26234         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26236 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
26238         [BZ #14538]
26239         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26240         first element of the GOT.
26241         (elf_machine_load_address): Return the difference between
26242         the runtime address of _DYNAMIC and elf_machine_dynamic ().
26244 2012-09-01  Allan McRae  <allan@archlinux.org>
26246         [BZ #13412]
26247         * configure.in (AWK): Require gawk version 3.0 or later.
26248         * configure: Regenerated.
26250 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
26252         * sysdeps/unix/sysv/linux/kernel-features.h
26253         (__ASSUME_POSIX_CPU_TIMERS): Remove.
26254         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26255         [__NR_clock_getres]: Make code unconditional.
26256         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26257         (clock_getcpuclockid): Remove code left unreachable by removal of
26258         conditionals.
26259         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26260         code unconditional.
26261         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26262         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26263         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26264         Make code unconditional.
26265         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26266         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26267         * sysdeps/unix/sysv/linux/clock_settime.c
26268         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26269         conditional code.
26270         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26271         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26273 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
26275         [BZ #14476]
26276         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26277         scripts/test-installation.pl.
26279         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26280         and $ld_so_version if it is set.
26282 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26284         [BZ #14516]
26285         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26286         failure if reading from procfs failed.
26287         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26289 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26291         * sysdeps/unix/sysv/linux/kernel-features.h
26292         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26293         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26294         Remove conditional code.
26295         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26296         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26297         Remove conditional code.
26298         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26299         * sysdeps/unix/sysv/linux/i386/fxstat.c
26300         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26301         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26302         * sysdeps/unix/sysv/linux/i386/fxstatat.c
26303         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26304         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26305         * sysdeps/unix/sysv/linux/i386/lxstat.c
26306         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26307         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26308         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26309         Remove conditional code.
26310         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26311         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26312         Remove conditional code.
26313         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26314         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26315         <kernel-features.h>.
26316         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26317         Remove.
26318         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26319         Remove conditional code.
26320         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26321         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26322         Remove conditional.
26324 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
26326         [BZ #5400]
26327         * NEWS: Add fixed bug number.
26329 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26331         [BZ #14519]
26332         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26333         underflowing exponent in case of negative sign.
26334         * stdlib/tst-strtod-round-data: Add more tests.
26335         * stdlib/tst-strtod-round.c (tests): Regenerated.
26337         [BZ #3479]
26338         * stdlib/strtod_l.c (NDIG): Remove.
26339         (HEXNDIG): Likewise.
26340         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26341         smallest representable value.
26342         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26343         lie within an exact representation of 1/2 ulp of the result.
26344         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26345         unconditionally.
26346         (TENS_P9_IDX): Define unconditionally.
26347         (TENS_P9_SIZE): Likewise.
26348         (TENS_P10_IDX): Likewise.
26349         (TENS_P10_SIZE): Likewise.
26350         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26351         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26352         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26353         entries for 10^2^13 and 10^2^14.
26354         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26355         (TENS_P13_IDX): Define.
26356         (TENS_P13_SIZE): Likewise.
26357         (TENS_P14_IDX): Likewise.
26358         (TENS_P14_SIZE): Likewise.
26359         (_fpioconst_pow10): Change array size to
26360         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
26361         unconditional.
26362         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26363         1024]: Add entries for 10^2^13 and 10^2^14.
26364         [LAST_POW10 > _LAST_POW10]: Remove #error.
26365         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26366         (_fpioconst_pow10): Change array size to
26367         FPIOCONST_POW10_ARRAY_SIZE.
26368         * stdlib/gen-fpioconst.c: New file.
26369         * stdlib/gen-tst-strtod-round.c: Likewise.
26370         * stdlib/tst-strtod-round-data: Likewise.
26371         * stdlib/tst-strtod-round.c: Likewise.
26372         * stdlib/Makefile (tests): Add tst-strtod-round.
26374         [BZ #14459]
26375         * stdlib/strtod_l.c: Include <stdint.h>.
26376         (NDEBUG): Do not define.
26377         (round_and_return): Change EXPONENT parameter to type intmax_t.
26378         Rearrange calculations to avoid internal overflow possibilities.
26379         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26380         Rearrange calculations to avoid internal overflow possibilities.
26381         Assert that number fits inside MPNSIZE limbs.
26382         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26383         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
26384         calculations and add assertions to avoid internal overflow
26385         possibilities.  Add casts to avoid signed/unsigned operations.
26386         * stdlib/tst-strtod-overflow.c: New file.
26387         * stdlib/Makefile (tests): Add tst-strtod-overflow.
26389 2012-08-25  Marek Polacek  <polacek@redhat.com>
26391         * time/time.h: Fix some typos in comments.
26393 2012-08-23  Roland McGrath  <roland@hack.frob.com>
26395         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26396         * posix/tst-rfc3484-2.c: Likewise.
26397         * posix/tst-rfc3484-3.c: Likewise.
26399 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
26401         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26402         (EF_ARM_ABI_FLOAT_HARD): Likewise.
26404 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
26406         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26407         #include of fxstatat64.c.
26409 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26411         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26412         * shadow/getspent_r.c: Likewise.
26413         * shadow/getspnam.c: Likewise.
26414         * shadow/getspnam_r.c: Likewise.
26415         * gshadow/getsgent.c: Likewise.
26416         * gshadow/getsgent_r.c: Likewise.
26417         * gshadow/getsgnam.c: Likewise.
26418         * gshadow/getsgnam_r.c: Likewise.
26419         * inet/getnetbyad.c: Likewise.
26420         * inet/getnetbyad_r.c: Likewise.
26421         * inet/getnetbynm.c: Likewise.
26422         * inet/getnetbynm_r.c: Likewise.
26423         * inet/getnetent.c: Likewise.
26424         * inet/getnetent_r.c: Likewise.
26425         * inet/getproto.c: Likewise.
26426         * inet/getproto_r.c: Likewise.
26427         * inet/getprtent.c: Likewise.
26428         * inet/getprtent_r.c: Likewise.
26429         * inet/getprtname.c: Likewise.
26430         * inet/getprtname_r.c: Likewise.
26431         * inet/getrpcbyname.c: Likewise.
26432         * inet/getrpcbyname_r.c: Likewise.
26433         * inet/getrpcbynumber.c: Likewise.
26434         * inet/getrpcbynumber_r.c: Likewise.
26435         * inet/getrpcent.c: Likewise.
26436         * inet/getrpcent_r.c: Likewise.
26437         * inet/getaliasent.c: Likewise.
26438         * inet/getaliasent_r.c: Likewise.
26439         * inet/getaliasname.c: Likewise.
26440         * inet/getaliasname_r.c: Likewise.
26441         * nscd/getgrgid_r.c: Likewise.
26442         * nscd/getgrnam_r.c: Likewise.
26443         * nscd/gethstbyad_r.c: Likewise.
26444         * nscd/gethstbynm3_r.c: Likewise.
26445         * nscd/getpwnam_r.c: Likewise.
26446         * nscd/getpwuid_r.c: Likewise.
26447         * nscd/getsrvbynm_r.c: Likewise.
26448         * nscd/getsrvbypt_r.c: Likewise.
26449         * nscd/gai.c: Likewise.
26451         * configure.in (build_nscd): New substituted variable, set
26452         by --disable-build-nscd and defaults to $use_nscd.
26453         * configure: Regenerated.
26454         * config.make.in (build-nscd): New substituted variable.
26455         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26456         Change conditional to require [$(build-nscd) = yes] as well.
26457         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26459         [BZ# 13696]
26460         * configure.in (use_nscd): New substituted variable, set by
26461         --disable-nscd.  If enabled, define USE_NSCD.
26462         * configure: Regenerated.
26463         * config.h.in: Add USE_NSCD.
26464         * config.make.in (use-nscd): New substituted variable.
26465         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26466         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26467         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26468         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26469         (CFLAGS-getgrnam_r.c): Likewise.
26470         (CFLAGS-initgroups.c): Likewise.
26471         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26472         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26473         Variables removed.
26474         * inet/getnetgrent_r.c
26475         (nscd_setnetgrent): New function, broken out of ...
26476         (setnetgrent): ... here.  Call it.
26477         (innetgr): Conditionalize nscd bits on [USE_NSCD].
26478         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26479         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26480         * nscd/Makefile (routines, aux): Move definitions after include of
26481         Makeconfig.  Conditionalize on [$(use-nscd) != no].
26482         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26483         Conditionalize on [USE_NSCD].
26484         (is_nscd, nscd_init_cb): Likewise.
26485         (nss_load_library): Conditionalize init callback on [USE_NSCD].
26486         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26487         * nss/nss_db/db-init.c: Likewise.
26488         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26489         [USE_NSCD].
26490         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26491         (make_request): Use it.
26492         (cache_valid_p): New function.
26493         (__check_pf): Use it.
26494         * NEWS: Add item for --disable-nscd.
26496 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
26498         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26499         to support sed >= 4.2.1-20-ga9bf076.
26500         * configure: Regenerated.
26502 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26504         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26505         Conditionalize whole body on [IREL].
26507 2012-08-22  Jeff Law <law@redhat.com>
26509         [BZ #14505]
26510         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26511         if the family is PF_UNSPEC.
26513 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
26515         * Makerules (lib-version): Rename from V.
26516         (install-lib-nosubdir): Change V to lib-version.
26518 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
26520         [BZ #14252]
26521         * powerpc32/power6/wcschr.c: New file.
26522         * powerpc32/power6/wcscpy.c: New file.
26523         * powerpc32/power6/wcsrchr.c: New file.
26524         * powerpc64/power6/wcschr.c: New file.
26525         * powerpc64/power6/wcscpy.c: New file.
26526         * powerpc64/power6/wcsrchr.c: New file.
26528 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26530         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26531         (two_way_short_needle): Use it.
26532         * string/strstr.c (AVAILABLE1_USES_J): Define.
26533         * string/strcasestr.c: Likewise.
26535         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26536         array references.
26537         * string/strcasestr.c (TOLOWER): Make side-effect safe.
26539         [BZ #11607]
26540         * NEWS: Add an entry.
26541         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26542         define their defaults.
26543         (two_way_short_needle): Detect end-of-string on-the-fly.
26544         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26545         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26546         * string/bug-strcasestr1.c: New test.
26547         * string/Makefile: Run it.
26549 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26551         [BZ #11607]
26552         * string/str-two-way.h (two_way_short_needle): Optimize matching of
26553         the first character.
26555 2012-08-21  Roland McGrath  <roland@hack.frob.com>
26557         * csu/elf-init.c (__libc_csu_irel): Function removed.
26558         * csu/libc-start.c (apply_irel): New function.
26559         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26561 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
26563         * sysdeps/unix/sysv/linux/kernel-features.h
26564         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26565         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26566         <kernel-features.h>.
26567         [__NR_fadvise64_64]: Make code unconditional.
26568         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26569         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26570         !__NR_fadvise64_64)]: Likewise.
26571         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26572         !__NR_fadvise64_64))]: Likewise.
26573         [__NR_fadvise64]: Make code unconditional.
26574         [!__NR_fadvise64]: Remove conditional code.
26575         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26576         <kernel-features.h>.
26577         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26578         unconditional.
26579         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26580         conditional code.
26581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26582         not include <kernel-features.h>.
26583         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26584         unconditional.
26585         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26586         conditional code.
26587         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26588         include <kernel-features.h>.
26589         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26590         unconditional.
26591         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26592         conditional code.
26594 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26596         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26597         slight instruction rearrangements per scrollpipe analysis.
26598         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26600 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26602         * manual/syslog.texi (syslog; vsyslog, closelog):
26603         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26604         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26606         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26607         DSOCAPS to match condition on defining it.
26609 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26611         * sysdeps/unix/sysv/linux/kernel-features.h
26612         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26614         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26615         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26617         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26618         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26620         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26621         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26623         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26624         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26626         * sysdeps/unix/sysv/linux/kernel-features.h
26627         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26628         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26629         unconditional.
26630         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26631         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26632         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26633         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26634         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26635         Make code unconditional.
26636         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26637         (__mmap64) [!__NR_mmap2]: Likewise.
26638         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26639         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26640         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26641         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26642         [__NR_mmap2]: Make code unconditional.
26643         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26644         (__mmap64) [!__NR_mmap2]: Likewise.
26646 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26648         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26650 2012-08-18  Andreas Jaeger  <aj@suse.de>
26652         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26654 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26656         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26657         * include/unistd.h (__have_sock_cloexec): Likewise.
26658         (__have_pipe2): Likewise.
26659         (__have_dup3): Likewise.
26661 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26663         [BZ #9685]
26664         * include/unistd.h (__have_pipe2): Change define into an extern int.
26665         (__have_dup3): Likewise.
26666         * socket/have_sock_cloexec.c: Include fcntl.h.
26667         (__have_pipe2): New variable.
26668         (__have_dup3): Likewise.
26670 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26672         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26674 2012-08-17  Marek Polacek  <polacek@redhat.com>
26676         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26677         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26679 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26681         * configure.in: Add AC_SUBST for sysheaders.
26682         * configure: Regenerated.
26683         * config.make.in (sysheaders): New substituted variable.
26685         * sysdeps/unix/mkfifo.c: Moved ...
26686         * sysdeps/posix/mkfifo.c: ... here.
26687         * sysdeps/unix/mkfifoat.c: Moved ...
26688         * sysdeps/posix/mkfifoat.c: ... here.
26690         * sysdeps/unix/utime.c: Moved ...
26691         * sysdeps/posix/utime.c: ... here.
26693         * sysdeps/unix/time.c: Moved ...
26694         * sysdeps/posix/time.c: ... here.
26695         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26696         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26698         * sysdeps/unix/nice.c: Moved ...
26699         * sysdeps/posix/nice.c: ... here.
26701         * sysdeps/unix/alarm.c: Moved ...
26702         * sysdeps/posix/alarm.c: ... here.
26704         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26706 2012-08-17  Jeff Law <law@redhat.com>
26708         * intl/Makefile (codeset_mo): New variable.
26709         ($(codeset_mo)): New target.
26710         (tst-codeset.out): Depend on that.  Remove explicit rule.
26711         (tst-gettext3.out, tst-gettext5.out): Likewise.
26712         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26713         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26714         * intl/tst-codeset.sh: Remove.
26715         * intl/tst-gettext3.sh: Likewise.
26716         * intl/tst-gettext5.sh: Likewise.
26718 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26720         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26721         * sysdeps/unix/syscalls.list: ... here.
26723         * sysdeps/posix/getaddrinfo.c
26724         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26725         (gaiconf_init, gaiconf_reload): Use them.
26726         [!_STATBUF_ST_NSEC]
26727         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26728         Define using time_t rather than struct timespec.
26730         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26731         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26732         Macros removed.
26733         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26734         [!NO_THREADS].
26735         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26736         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26737         Likewise.
26739         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26740         __libc_cleanup_push argument.
26742         * bits/param.h: New file.
26743         * misc/sys/param.h: New file.
26744         * include/sys/param.h: New file.
26745         * misc/Makefile (headers): Add bits/param.h.
26746         * sysdeps/generic/sys/param.h: File removed.
26747         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26748         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26749         * sysdeps/mach/hurd/bits/param.h: New file.
26750         * sysdeps/mach/hurd/sys/param.h: File removed.
26752         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26753         last change.
26755         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26756         [_IO_MTSAFE_IO].
26757         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26758         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26759         New macros.
26761         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26762         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26763         rather than -D_IO_MTSAFE_IO conditionally.
26764         * stdio-common/Makefile (CPPFLAGS): Likewise.
26765         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26766         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26767         Use $(libio-mtsafe).
26768         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26769         of -D_IO_MTSAFE_IO.
26770         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26771         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26772         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26773         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26774         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26775         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26776         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26777         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26778         (CFLAGS-fread_u_chk.c): Likewise.
26779         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26780         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26781         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26782         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26783         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26784         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26785         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26786         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26787         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26789         * libio/Makefile: Test [$(libc-reentrant) = yes]
26790         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26792         * Makeconfig
26793         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26794         * sysdeps/pthread/configure: File removed.
26795         * sysdeps/pthread/Makeconfig: New file.
26796         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26797         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26799 2012-08-16  Gary Benson  <gbenson@redhat.com>
26801         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26802         unmapping the first object in a namespace.
26804 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26806         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26807         (__internal_setnetgrent): ... this.  Add internal_function to
26808         definition.  Add libc_hidden_def.
26809         (setnetgrent): Update caller.
26810         (internal_endnetgrent): Renamed to ...
26811         (__internal_endnetgrent): ... this.  Add internal_function to
26812         definition.  Add libc_hidden_def.
26813         (endnetgrent): Update caller.
26814         (internal_getnetgrent_r): Renamed to ...
26815         (__internal_getnetgrent_r): ... this.  Add internal_function to
26816         definition.  Add libc_hidden_def.
26817         (__getnetgrent_r): Update caller.
26818         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26820 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26822         * stdlib/longlong.h: Update from GCC.
26824 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26826         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26827         on _QL, which is set by umul_ppmm but never used.
26828         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26829         variables, which are set by GMP macros but never used.
26830         * stdio-common/_itowa.c (_itowa): Likewise.
26831         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26832         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26834 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26836         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26837         struct La_sh_regs is not constant.
26838         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26839         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26840         and struct La_sparc64_regs are not constant.
26842 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26844         * sysdeps/unix/sysv/linux/kernel-features.h
26845         (__ASSUME_POSIX_TIMERS): Remove.
26846         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26847         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26848         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26849         Make code unconditional.
26850         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26851         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26852         Make code unconditional.
26853         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26854         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26855         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26856         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26857         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26858         Make code unconditional.
26859         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26860         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26861         (__libc_missing_posix_timers): Remove.
26863 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26865         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26866         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26868         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26870         * elf/dl-sym.c: Include <stdlib.h>.
26872         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26873         constants, which avoids warnings in 32-bit builds.
26875         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26876         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26878         * misc/lseek.c: File moved to ...
26879         * io/lseek.c: ... here.
26881         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26883         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26884         shifting LEN more than 31 bits at once.
26886 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26888         [BZ #14195]
26889         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26890         segmentation fault for a case of two empty input strings.
26891         * string/test-strncasecmp.c (check1): Renamed to...
26892         (bz12205): ...this.
26893         (bz14195): Add new testcase for two empty input strings and N > 0.
26894         (test_main): Call new testcase, adapt for renamed function.
26896 2012-08-15  Andreas Jaeger  <aj@suse.de>
26898         [BZ #14090]
26899         * crypt/md5test2.c: New test, based on test supplied by Serge
26900         Belyshev <belyshev@depni.sinp.msu.ru>.
26901         * crypt/Makefile (xtests): Add md5test-giant..
26902         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26904 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26906         [BZ #14090]
26907         * crypt/md5.c (md5_process_block): Don't assume the buffer
26908         length is less than 2**32.
26909         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26910         length is less than 2**64.
26912 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26914         * string/str-two-way.h: Include <sys/param.h>.
26915         (MAX): Macro removed.
26917         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26918         Move #define and #undef of memmove to just before and after
26919         including <string.h>.
26921         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26922         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26923         and after including <string.h>.  Move declarations of
26924         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26925         to before #include "string/memmove.c".
26927         * include/dirent.h: Declare __getdirentries.
26929         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26930         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26932 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26934         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26935         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26936         * sysdeps/i386/configure: Regenerated.
26937         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26938         STABS_CURRENT_FILE, and STABS_FUN.
26939         (END): Remove call to STABS_FUN_END.
26940         (STABS_CURRENT_FILE1): Delete.
26941         (STABS_CURRENT_FILE): Likewise.
26942         (STABS_FUN): Likewise.
26943         (STABS_FUN_END): Likewise.
26944         (STABS_FUN2): Likewise.
26945         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26946         * sysdeps/x86_64/configure: Regenerated.
26948 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26950         * elf/dl-open.c: Include <atomic.h>.
26951         * elf/dl-lookup.c: Likewise.
26953 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26955         * sysdeps/unix/sysv/linux/kernel-features.h
26956         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26957         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26958         unconditionally.
26959         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26960         unconditionally.
26961         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26962         condition on __ASSUME_CLONE_THREAD_FLAGS.
26964 2012-08-14  Andreas Jaeger  <aj@suse.de>
26966         * sysdeps/i386/fpu/libm-test-ulps: Update.
26968 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26970         * include/atomic.h (atomic_exchange_and_add): Split into ...
26971         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26972         New atomic macros.
26974 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26978 2012-08-13  Jeff Law <law@redhat.com>
26980         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26981         null byte in the output string.
26983 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26985         * sysdeps/unix/sysv/linux/kernel-features.h
26986         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26987         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26988         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26989         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26990         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26991         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26992         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26994 2012-08-09  Jeff Law <law@redhat.com>
26996         [BZ #13939]
26997         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26998         When avoid_arena is set, don't retry in the that arena.  Pick the
26999         next one, whatever it might be.
27000         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27001         (arena_lock): Pass in new parameter to arena_get2.
27002         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27003         arena_get2.
27004         (__libc_malloc): Unify retrying after main arena failure with
27005         __libc_memalign version.
27006         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27008 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27010         [BZ #14166]
27011         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27012         to __redirect_strstr.
27013         (__strstr_sse42): Use typeof __redirect_strstr.
27014         (__strstr_ia32): Likewise.
27015         (__libc_strstr): New prototype.
27016         (strstr): Renamed to ...
27017         (__libc_strstr): This.
27018         (strstr): New strong alias of __libc_strstr.
27019         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27020         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27021         __redirect_time.
27022         Include <time.h>.
27023         (__libc_time): New prototype.
27024         (time_ifunc): Replace time with __libc_time.
27025         (time): New strong alias and hidden definition of __libc_time.
27026         (__GI_time): Remove strong alias.
27027         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27028         Include <stddef.h>.
27029         (memmove): Redefined to __redirect_memmove.
27030         (__memmove_sse2): Use typeof __redirect_memmove.
27031         (__memmove_ssse3): Likewise.
27032         (__memmove_ssse3_back): Likewise.
27033         (__libc_memmove): New prototype.
27034         (memmove): Renamed to ...
27035         (__libc_memmove): This.
27036         (memmove): New strong alias of __libc_memmove.
27038 2012-08-08  Mark Salter  <msalter@redhat.com>
27040         * elf/elf.h
27041         (R_MN10300_TLS_GD): Define.
27042         (R_MN10300_TLS_LD): Likewise.
27043         (R_MN10300_TLS_LDO): Likewise.
27044         (R_MN10300_TLS_GOTIE): Likewise.
27045         (R_MN10300_TLS_IE): Likewise.
27046         (R_MN10300_TLS_LE): Likewise.
27047         (R_MN10300_TLS_DTPMOD): Likewise.
27048         (R_MN10300_TLS_DTPOFF): Likewise.
27049         (R_MN10300_TLS_TPOFF): Likewise.
27050         (R_MN10300_SYM_DIFF): Likewise.
27051         (R_MN10300_ALIGN): Likewise.
27052         (R_MN10300_NUM): Update.
27054 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
27056         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27057         Remove.
27059 2012-08-08  Roland McGrath  <roland@hack.frob.com>
27061         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27063         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27064         sysdeps/unix -> sysdeps/posix move.
27065         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27067 2012-08-07      Allan McRae     <allan@archlinux.org>
27069         [BZ #14303]
27070         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27071         (SUNOS_CPP): Likewise.
27072         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27073         not found.
27074         (open_input): Call CPP using execvp.
27076 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27078         * sysdeps/unix/sysv/linux/kernel-features.h
27079         (__ASSUME_PROT_GROWSUPDOWN): Remove.
27080         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27081         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27082         (__ASSUME_WAITID_SYSCALL): Likewise.
27083         * sysdeps/unix/sysv/linux/dl-execstack.c
27084         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27085         code unconditional.
27086         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27087         conditional code.
27088         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27089         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27090         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27091         code.
27092         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27093         unconditional.
27094         [__ASSUME_WAITID_SYSCALL]: Likewise.
27095         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27097 2012-08-07  Roland McGrath  <roland@hack.frob.com>
27099         * sysdeps/unix/closedir.c: Renamed to ...
27100         * sysdeps/posix/closedir.c: ... here.
27101         * sysdeps/unix/dirfd.c: Renamed to ...
27102         * sysdeps/posix/dirfd.c: ... here.
27103         * sysdeps/unix/dirstream.h: Renamed to ...
27104         * sysdeps/posix/dirstream.h: ... here.
27105         * sysdeps/unix/fdopendir.c: Renamed to ...
27106         * sysdeps/posix/fdopendir.c: ... here.
27107         * sysdeps/unix/opendir.c: Renamed to ...
27108         * sysdeps/posix/opendir.c: ... here.
27109         * sysdeps/unix/readdir.c: Renamed to ...
27110         * sysdeps/posix/readdir.c: ... here.
27111         * sysdeps/unix/readdir_r.c: Renamed to ...
27112         * sysdeps/posix/readdir_r.c: ... here.
27113         * sysdeps/unix/rewinddir.c: Renamed to ...
27114         * sysdeps/posix/rewinddir.c: ... here.
27115         * sysdeps/unix/seekdir.c: Renamed to ...
27116         * sysdeps/posix/seekdir.c: ... here.
27117         * sysdeps/unix/telldir.c: Renamed to ...
27118         * sysdeps/posix/telldir.c: ... here.
27119         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27120         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27121         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27122         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27124         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27125         * bits/fcntl.h: ... here.
27127         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27128         not 0.
27129         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27130         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27131         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27132         (struct flock): Move l_start, l_len to the beginning.
27133         Use __pid_t for l_pid.
27134         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27135         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27136         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27137         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27138         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27139         [__USE_LARGEFILE64] (struct flock64): New type.
27140         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27142         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27143         * bits/dirent.h: ... here.
27145         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27146         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27148 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27150         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27151         Change from 2.6.0 to 2.6.16.
27152         * sysdeps/unix/sysv/linux/configure: Regenerated.
27153         * sysdeps/unix/sysv/linux/kernel-features.h
27154         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27155         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27156         version.
27157         (__ASSUME_UTIMES): Likewise.
27158         (__ASSUME_CLONE_STOPPED): Remove.
27159         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27160         architectures, not kernel version.
27161         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27162         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27163         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27164         (__ASSUME_WAITID_SYSCALL): Likewise.
27165         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27166         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27167         * README: State 2.6.16 as minimum Linux kernel version.  Do not
27168         refer to older versions.
27170 2012-08-06  Roland McGrath  <roland@hack.frob.com>
27172         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27173         Define alphasort64 as an alias.
27174         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27175         Define versionsort64 as an alias.
27176         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27177         Define scandir64 as an alias.
27178         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27179         Define scandirat64 as an alias.
27180         * dirent/alphasort64.c (alphasort64):
27181         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27182         * dirent/versionsort64.c: Likewise.
27183         * dirent/scandir64.c: Likewise.
27184         * dirent/scandirat64.c: Likewise.
27185         * sysdeps/wordsize-64/alphasort.c: File removed.
27186         * sysdeps/wordsize-64/alphasort64.c: File removed.
27187         * sysdeps/wordsize-64/scandir.c: File removed.
27188         * sysdeps/wordsize-64/scandir64.c: File removed.
27189         * sysdeps/wordsize-64/scandirat.c: File removed.
27190         * sysdeps/wordsize-64/scandirat64.c: File removed.
27191         * sysdeps/wordsize-64/versionsort.c: File removed.
27192         * sysdeps/wordsize-64/versionsort64.c: File removed.
27193         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27194         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27195         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27196         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27197         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27198         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27199         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27200         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27202         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27203         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27204         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27205         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27206         [defined __arch64__ || defined __sparcv9]
27207         (__INO_T_MATCHES_INO64_T): New macro.
27208         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27209         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27210         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27211         * sysdeps/unix/sysv/linux/bits/dirent.h
27212         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27213         (_DIRENT_MATCHES_DIRENT64): New macro.
27215         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27216         Define lockf64 as an alias.
27217         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27218         Define fseeko64 as an alias.
27219         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27220         Define ftello64 as an alias.
27221         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27222         Define _IO_fgetpos64 and fgetpos64 as aliases.
27223         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27224         Define _IO_fsetpos64 and fsetpos64 as aliases.
27225         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27226         Conditionalize body on this.
27227         * libio/fseeko64.c: Likewise.
27228         * libio/ftello64.c: Likewise.
27229         * libio/iofgetpos64.c: Likewise.
27230         * libio/iofsetpos64.c: Likewise.
27231         * sysdeps/wordsize-64/lockf.c: File removed.
27232         * sysdeps/wordsize-64/lockf64.c: File removed.
27233         * sysdeps/wordsize-64/fseeko.c: File removed.
27234         * sysdeps/wordsize-64/fseeko64.c: File removed.
27235         * sysdeps/wordsize-64/ftello.c: File removed.
27236         * sysdeps/wordsize-64/ftello64.c: File removed.
27237         * sysdeps/wordsize-64/iofgetpos.c: File removed.
27238         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27239         * sysdeps/wordsize-64/iofsetpos.c: File removed.
27240         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27241         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27242         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27243         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27244         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27245         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27246         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27247         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27248         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27249         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27250         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27252         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27253         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27254         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27255         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27256         [defined __arch64__ || defined __sparcv9]
27257         (__OFF_T_MATCHES_OFF64_T): New macro.
27258         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27259         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27260         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27261         (__OFF_T_MATCHES_OFF64_T): New macro.
27263 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27265         * stdlib/secure-getenv.c (__secure_getenv): Replace
27266         GLIBC_2_16 with GLIBC_2_17.
27268 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27270         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27271         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27273 2012-08-03  David S. Miller  <davem@davemloft.net>
27275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27277 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27279         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27280         Remove.
27281         (__ASSUME_CORRECT_SI_PID): Likewise.
27282         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27283         (__ASSUME_TMPFS_NAME): Likewise.
27284         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27285         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27286         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27287         (HAVE_AUX_SECURE): Make definition unconditional.
27288         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27289         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27291 2012-08-03  Roland McGrath  <roland@hack.frob.com>
27293         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27294         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27295         * sysdeps/mach/hurd/eloop-threshold.h: New file.
27296         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27297         __eloop_threshold instead of SYMLOOP_MAX.
27299         * sysdeps/generic/eloop-threshold.h: New file.
27300         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27301         of MAXSYMLINKS.
27302         * elf/chroot_canon.c (chroot_canon): Likewise.
27304 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27306         [BZ #13717]
27307         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27308         Change to 2.6.0 everywhere.
27309         * sysdeps/unix/sysv/linux/configure: Regenerated.
27310         * sysdeps/unix/sysv/linux/kernel-features.h
27311         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27312         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27313         kernel versions.
27314         (__ASSUME_POSIX_TIMERS): Define unconditionally.
27315         (__ASSUME_FUTEX_REQUEUE): Remove.
27316         (__ASSUME_STATFS64): Define unconditionally.
27317         (__ASSUME_AT_SECURE): Likewise.
27318         (__ASSUME_CORRECT_SI_PID): Likewise.
27319         (__ASSUME_TGKILL): Define without depending on kernel version for
27320         i386.
27321         (__ASSUME_UTIMES): Likewise.
27322         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27323         kernel version.
27324         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27325         (__ASSUME_TMPFS_NAME): Likewise.
27326         * README: Update reference to Linux kernel versions.
27328 2012-08-02  Marek Polacek  <polacek@redhat.com>
27330         [BZ# 14150]
27331         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
27332         libc_cv_asm_type_prefix with %.
27333         * configure: Regenerated.
27334         * include/libc-symbols.h: Remove comment about
27335         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27336         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27337         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27338         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27339         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27340         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27341         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27342         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27343         * elf/tst-unique2mod1.c: Likewise.
27344         * elf/tst-unique1mod2.c: Likewise.
27345         * elf/tst-unique1mod1.c: Likewise.
27346         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27347         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27348         Replace ASM_TYPE_DIRECTIVE with .type.
27349         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27350         * sysdeps/i386/sysdep.h: Likewise.
27351         * sysdeps/x86_64/sysdep.h: Likewise.
27352         * sysdeps/sh/sysdep.h: Likewise.
27353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27354         Do not define ASM_TYPE_DIRECTIVE.
27355         * sysdeps/powerpc/sysdep.h: Likewise.
27356         * sysdeps/powerpc/powerpc32/sysdep.h:
27357         Replace ASM_TYPE_DIRECTIVE with .type.
27358         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27359         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27360         * sysdeps/i386/fpu/e_powf.S: Likewise.
27361         * sysdeps/i386/fpu/e_expl.S: Likewise.
27362         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27363         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27364         * sysdeps/i386/fpu/e_pow.S: Likewise.
27365         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27366         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27367         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27368         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27369         * sysdeps/i386/fpu/e_log2.S: Likewise.
27370         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27371         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27372         * sysdeps/i386/fpu/e_powl.S: Likewise.
27373         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27374         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27375         * sysdeps/i386/fpu/e_logl.S: Likewise.
27376         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27377         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27378         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27379         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27380         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27381         * sysdeps/i386/fpu/e_log.S: Likewise.
27382         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27383         * sysdeps/i386/fpu/e_logf.S: Likewise.
27384         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27385         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27386         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27387         * sysdeps/i386/fpu/e_log10.S: Likewise.
27388         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27389         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27390         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27391         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27392         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27393         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27394         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27395         * sysdeps/i386/i686/strtok.S: Likewise.
27396         * sysdeps/i386/i386-mcount.S: Likewise.
27397         * sysdeps/i386/strtok.S: Likewise.
27398         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27399         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27400         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27401         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27402         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27403         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27404         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27405         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27406         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27407         * sysdeps/x86_64/_mcount.S: Likewise.
27408         * sysdeps/x86_64/strtok.S: Likewise.
27409         * sysdeps/sh/_mcount.S: Likewise.
27411 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27413         * libio/iofopen.c: Include <fcntl.h>.
27414         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27415         (_IO_fopen64, fopen64): Define as aliases.
27416         * libio/iofopen64.c: Include <fcntl.h>.
27417         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27418         Conditionalize body on this.
27419         * sysdeps/wordsize-64/iofopen.c: File removed.
27420         * sysdeps/wordsize-64/iofopen64.c: File removed.
27422 2012-08-01  Marek Polacek  <polacek@redhat.com>
27424         * libc/Makeconfig: Use elf in place of binfmt-subdir.
27425         Use dlfcn directly instead of a variable.
27426         (binfmt-subdir): Do not define.
27427         (dlfcn): Likewise.
27429 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
27431         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27432         Remove all definitions.
27433         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27434         <kernel-features.h>.
27435         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27436         (miss_F_GETOWN_EX): Remove all definitions.
27437         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27438         macro definition.
27439         [!__ASSUME_FCNTL64]: Remove conditional code.
27440         [__ASSUME_FCNTL64]: Make code unconditional.
27441         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27442         <kernel-features.h>.
27443         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27444         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27445         (lockf64) [__NR_fcntl64]: Make code unconditional.
27446         (lockf64) [__ASSUME_FCNTL64]: Likewise.
27448         * sysdeps/unix/sysv/linux/kernel-features.h
27449         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27450         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27451         Make code unconditional.
27452         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27453         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27455         [__NR_vfork]: Make code unconditional.
27456         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27457         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27459         [__NR_vfork]: Make code unconditional.
27460         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27461         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27463 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27465         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27466         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27468         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27469         Define mkstemp64 as an alias.
27470         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27471         Define mkstemps64 as an alias.
27472         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27473         Define mkostemp64 as an alias.
27474         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27475         Define mkostemps64 as an alias.
27476         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27477         Conditionalize body on this.
27478         * misc/mkostemp64.c: Likewise.
27479         * misc/mkostemps64.c: Likewise.
27480         * misc/mkstemps64.c: Likewise.
27481         * sysdeps/wordsize-64/mkstemp64.c: File removed.
27482         * sysdeps/wordsize-64/mkostemp64.c: File removed.
27483         * sysdeps/wordsize-64/mkostemp.c: File removed.
27484         * sysdeps/wordsize-64/mkstemp.c: File removed.
27485         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27486         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27487         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27488         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27490         [BZ #14138]
27491         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27492         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27493         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27494         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27496         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27497         compat_symbol macros from <shlib-compat.h> rather than the underlying
27498         default_symbol_version and symbol_version macros, so that DEFAULT
27499         lines in shlib-versions are respected.
27500         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27502 2012-08-01  Florian Weimer  <fweimer@redhat.com>
27504         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27505         Declare with warn_unused_result.
27506         (setgid, setregid, setegid, setresgid): Likewise.
27507         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27508         Likewise.
27509         * WUR-REPORT: Remove set*id functions.
27511 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
27513         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27515 2012-07-31  Roland McGrath  <roland@hack.frob.com>
27517         [BZ #10191]
27518         * include/sys/socket.h (__libc_accept, __libc_accept4):
27519         Add attribute_hidden.
27520         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27522         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27523         use of PTR_MANGLE.
27524         * inet/getnetgrent_r.c (setup): Likewise.
27526         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27528 2012-07-31  David S. Miller  <davem@davemloft.net>
27530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27532 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
27534         [BZ #13629]
27535         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27536         value between 1.0 and 2.0 and smaller part has absolute value less
27537         than 1.0.
27538         * math/s_clog10.c (__clog10): Likewise.
27539         * math/s_clog10f.c (__clog10f): Likewise.
27540         * math/s_clog10l.c (__clog10l): Likewise.
27541         * math/s_clogf.c (__clogf): Likewise.
27542         * math/s_clogl.c (__clogl): Likewise.
27543         * math/libm-test.inc (clog_test): Add more tests.
27544         (clog10_test): Likewise.
27545         * sysdeps/i386/fpu/libm-test-ulps: Update.
27546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27548 2012-07-31  Florian Weimer  <fweimer@redhat.com>
27550         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27551         Exit with zero in case no suitable GID is found, and write a
27552         message to standard error.
27554 2012-07-30  Roland McGrath  <roland@hack.frob.com>
27556         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27557         rather than to 1.
27558         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27559         (MAXPATHLEN): Removed.
27560         (NOGROUP, NODEV): New macros.
27561         (setbit, clrbit, isset, isclr): New macros.
27562         (howmany, roundup, powerof2): New macros.
27563         (DEV_BSIZE): New macro.
27565         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27566         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27568         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27569         definition on [!__NO_LONG_DOUBLE_MATH].
27571         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27572         PTR_MANGLE and PTR_DEMANGLE.
27574         * socket/accept4.c (accept4): Rename to __libc_accept4.
27575         Define accept4 as a weak alias.
27577         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27578         on [_DIRENT_HAVE_D_TYPE].
27579         * io/ftw.c (ftw_dir): Likewise.
27581         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27583         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27585         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27586         Use the BSD numbers rather than the arbitrary ones we had.
27587         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27588         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27589         (SIGXCPU, SIGXFSZ): New macros.
27590         (_NSIG): Now 32.
27592         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27593         initializer on [_LIBC_REENTRANT].
27595         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27596         definitions inside [_POSIX_MAPPED_FILES].
27598         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27600         * dirent/opendir.c: Include <fcntl.h>.
27602         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27603         (__libc_getspecific): Likewise.
27604         (__libc_key_create): Likewise.
27606         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27607         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27608         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27609         (tmpfile64): Define as alias.
27610         * sysdeps/wordsize-64/tmpfile.c: File removed.
27611         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27612         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27613         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27615         * stdio-common/vfscanf.c: Include <stdbool.h>.
27616         * nss/makedb.c: Likewise.
27617         * stdio-common/_i18n_number.h: Likewise.
27618         * argp/argp-help.c: Likewise.
27619         * posix/wordexp.c: Likewise.
27620         * sysdeps/posix/spawni.c: Likewise.
27621         * nss/nss_files/files-initgroups.c: Likewise.
27622         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27623         * nss/nss_files/files-initgroups.c: Likewise.
27624         * nss/nss_db/db-netgrp.c: Likewise.
27625         * nss/nss_db/db-initgroups.c: Likewise.
27626         * io/fchmodat.c: Include <sys/stat.h>.
27628         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27629         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27631         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27632         [HAVE_MMAP].
27634         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27635         Add multiple inclusion protection.
27637 2012-07-27  David S. Miller  <davem@davemloft.net>
27639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27641 2012-07-27  Gary Benson  <gbenson@redhat.com>
27643         [BZ #14298]
27644         * elf/rtld.c: Include <stap-probe.h>.
27645         (dl_main): Added static probes "init_start" and "init_complete".
27646         * elf/dl-load.c: Include <stap-probe.h>.
27647         (lose): Take new parameter "nsid".
27648         Added static probe "map_failed".
27649         (_dl_map_object_from_fd): Pass namespace id to lose.
27650         Added static probe "map_start".
27651         (open_verify): Pass namespace id to lose.
27652         * elf/dl-open.c: Include <stap-probe.h>.
27653         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27654         and "reloc_complete".
27655         * elf/dl-close.c: Include <stap-probe.h>.
27656         (_dl_close_worker): Added static probes "unmap_start" and
27657         "unmap_complete".
27658         * elf/rtld-debugger-interface.txt: New file documenting the above.
27660 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27662         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27663         rather than a string variable.
27664         * sunrpc/rpc_main.c (h_output): Likewise.
27665         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27667 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27669         * inet/check_native.c: New file.
27671 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27673         [BZ #13629]
27674         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27675         if larger part has absolute value 1.0.
27676         * math/s_clog10.c (__clog10): Likewise.
27677         * math/s_clog10f.c (__clog10f): Likewise.
27678         * math/s_clog10l.c (__clog10l): Likewise.
27679         * math/s_clogf.c (__clogf): Likewise.
27680         * math/s_clogl.c (__clogl): Likewise.
27681         * math/libm-test.inc (clog_test): Add more tests.
27682         (clog10_test): Likewise.
27683         * sysdeps/i386/fpu/libm-test-ulps: Update.
27684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27686         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27687         (pltexit): Likewise.
27688         (La_regs): Likewise.
27689         (La_retval): Likewise.
27690         (int_retval): Likewise.
27691         Update #error for removed macros to refer only to definitions in
27692         tst-audit.h.
27693         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27694         macro.
27695         (pltexit): Likewise.
27696         (La_regs): Likewise.
27697         (La_retval): Likewise.
27698         (int_retval): Likewise.
27699         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27700         macro.
27701         (pltexit): Likewise.
27702         (La_regs): Likewise.
27703         (La_retval): Likewise.
27704         (int_retval): Likewise.
27705         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27706         macro.
27707         (pltexit): Likewise.
27708         (La_regs): Likewise.
27709         (La_retval): Likewise.
27710         (int_retval): Likewise.
27711         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27712         macro.
27713         (pltexit): Likewise.
27714         (La_regs): Likewise.
27715         (La_retval): Likewise.
27716         (int_retval): Likewise.
27717         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27718         macro.
27719         (pltexit): Likewise.
27720         (La_regs): Likewise.
27721         (La_retval): Likewise.
27722         (int_retval): Likewise.
27723         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27724         macro.
27725         (pltexit): Likewise.
27726         (La_regs): Likewise.
27727         (La_retval): Likewise.
27728         (int_retval): Likewise.
27729         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27730         macro definitions in tst-audit.h.
27731         * sysdeps/i386/tst-audit.h: New file.
27732         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27733         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27734         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27735         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27736         * sysdeps/sh/tst-audit.h: Likewise.
27737         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27738         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27739         * sysdeps/x86_64/tst-audit.h: Likewise.
27741 2012-07-26  Andreas Jaeger  <aj@suse.de>
27743         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27744         ptrace.
27746         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27747         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27748         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27749         PTRACE_O_MASK.
27750         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27751         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27752         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27754         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27755         value.
27757         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27758         _sigsys.
27759         (si_call_addr, si_syscall, si_arch): Define new macro.
27760         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27761         _sigsys.
27762         (si_call_addr, si_syscall, si_arch): Define new marcro.
27763         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27764         _sigsys.
27765         (si_call_addr, si_syscall, si_arch): Define new macro.
27766         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27767         _sigsys.
27768         (si_call_addr, si_syscall, si_arch): Define new macro.
27770 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27772         [BZ #13717]
27773         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27774         Change to 2.4.21 where previously 2.4.1.
27775         * sysdeps/unix/sysv/linux/configure: Regenerated.
27776         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27777         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27778         Linux kernel version.
27779         (__ASSUME_STD_AUXV): Remove.
27780         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27781         kernel version.
27782         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27783         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27784         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27785         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27786         (__ASSUME_NETLINK_SUPPORT): Likewise.
27787         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27788         (__no_netlink_support): Remove conditional definition.
27789         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27790         Remove.
27791         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27792         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27793         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27794         (if_nameindex_ioctl): Remove.
27795         (if_nameindex_netlink): Do not handle __no_netlink_support.
27796         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27797         code.
27798         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27799         Remove conditional code.
27800         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27801         code.
27802         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27803         unconditional.
27804         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27805         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27806         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27807         Remove.
27808         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27809         [!__ASSUME_STD_AUXV]: Remove conditional code.
27810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27811         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27812         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27814         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27815         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27816         code.
27817         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27819         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27820         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27821         conditional code.
27822         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27824         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27825         code.
27826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27827         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27828         conditional code.
27829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27830         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27831         code unconditional.
27832         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27833         conditional code.
27834         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27835         unconditional.
27836         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27837         conditional code.
27838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27839         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27840         unconditional.
27841         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27842         conditional code.
27843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27844         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27845         code unconditional.
27846         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27847         conditional code.
27848         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27849         unconditional.
27850         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27851         conditional code.
27852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27853         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27854         code unconditional.
27855         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27856         conditional code.
27857         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27858         unconditional.
27859         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27860         conditional code.
27862 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27864         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27865         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27866         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27867         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27868         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27869         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27870         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27871         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27872         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27873         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27874         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27875         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27876         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27877         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27878         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27879         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27880         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27881         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27882         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27884         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27885         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27886         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27888 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27890         * Versions.def: Add GLIBC_2.17.
27891         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27892         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27893         Introduce __libc_secure_getenv.
27894         * stdlib/Versions (2.17): Add secure_getenv
27895         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27896         * stdlib/secure-getenv.c: Rename __secure_getenv to
27897         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27898         symbol __secure_getenv for GLIBC_2.0.
27899         * stdlib/tst-secure-getenv.c: New.
27900         * stdlib/Makefile (tests): Add testcase.
27901         * manual/startup.texi (Environment Access): Document
27902         secure_getenv.
27903         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27904         __libc_secure_getenv.
27905         * inet/ruserpass.c (ruserpass): Likewise.
27906         * malloc/mtrace.c (mtrace): Likewise.
27907         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27908         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27909         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27910         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27911         HAVE_SECURE_GETENV.
27912         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27913         __secure_getenv to __libc_secure_getenv.
27914         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27916         Likewise.
27917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27918         Likewise.
27919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27921         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27927 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27929         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27930         (struct La_i86_retval): Likewise.
27931         (struct La_x86_64_regs): Likewise.
27932         (struct La_x86_64_retval): Likewise.
27933         (struct La_x32_regs): Likewise.
27934         (struct La_x32_retval): Likewise.
27935         (struct La_ppc32_regs): Likewise.
27936         (struct La_ppc32_retval): Likewise.
27937         (struct La_ppc64_regs): Likewise.
27938         (struct La_ppc64_retval): Likewise.
27939         (struct La_sh_regs): Likewise.
27940         (struct La_sh_retval): Likewise.
27941         (struct La_s390_32_regs): Likewise.
27942         (struct La_s390_32_retval): Likewise.
27943         (struct La_s390_64_regs): Likewise.
27944         (struct La_s390_64_retval): Likewise.
27945         (struct La_sparc32_regs): Likewise.
27946         (struct La_sparc32_retval): Likewise.
27947         (struct La_sparc64_regs): Likewise.
27948         (struct La_sparc64_retval): Likewise.
27949         (struct audit_ifaces): Remove architecture-specific pltenter and
27950         pltexit members.
27951         * sysdeps/i386/ldsodefs.h: New file.
27952         * sysdeps/powerpc/ldsodefs.h: Likewise.
27953         * sysdeps/s390/ldsodefs.h: Likewise.
27954         * sysdeps/sh/ldsodefs.h: Likewise.
27955         * sysdeps/sparc/ldsodefs.h: Likewise.
27956         * sysdeps/x86_64/ldsodefs.h: Likewise.
27958 2012-07-25  Marek Polacek  <polacek@redhat.com>
27960         [BZ #6808]
27961         * math/libm-test.inc (yn_test): Add another test.
27962         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27963         to ERANGE when the result is +-Inf.
27964         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27965         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27966         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27967         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27969 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27971         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27972         equal to 0.
27973         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27974         clock_t.
27975         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27977 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27979         * configure.in <sysdeps resolving>: Correct printing
27980         Implies_before.
27981         * configure: Regenerate.
27983 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27985         * math/w_ilogb.c: Include <limits.h>.
27986         * math/w_ilogbl.c: Likewise.
27988 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27990         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27991         va_copy.  Document allowing for unavailable va_copy only as
27992         pre-C99 compatibility.
27993         * manual/string.texi (Copying and Concatenation): Use va_copy
27994         instead of __va_copy in concat example.
27996 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27998         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27999         (__sendto): Use create_address_port.  Initialize APORT and deallocate
28000         it if not null.
28002         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28003         with O_NOLINK passed to __file_name_lookup.
28005         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28006         with O_NOLINK passed to __file_name_lookup.
28008         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28009         negative N or less than NGIDS.
28011         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28012         type to string_t.  Set ERANGE as errno and return it if NAME is not big
28013         enough.  Use memcpy instead of strncpy.
28015 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28017         * elf/Makefile (check-data): Remove.
28018         (localplt.data): New vpath directive.
28019         ($(objpfx)check-localplt.out): Use localplt.data from vpath
28020         instead of $(check-data).
28021         * scripts/data/localplt-generic.data: Move to ...
28022         * sysdeps/generic/localplt.data: ... here.
28023         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28024         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28025         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28027         ... here.
28028         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28030         ... here.
28031         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28033         ... here.
28034         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28036         ... here.
28037         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28039         ... here.
28040         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28042         ... here.
28044 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28046         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28047         PPC32 and PPC64 files.
28048         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28049         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28051 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28053         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28054         __makecontext_ret to ...
28055         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28056         ... here and call exit if uc_link is NULL.  New file.
28057         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28058         __makecontext_ret.S.
28059         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28060         __makecontext_ret to ...
28061         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28062         ... here and call exit if uc_link is NULL.  New file.
28063         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28064         __makecontext_ret.S.
28066 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28068         * elf/elf.h (R_390_IRELATIVE): New definition.
28069         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28070         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
28071         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28072         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28073         (elf_machine_lazy_rel): Likewise.
28074         * sysdeps/s390/dl-irel.h: New file.
28075         * sysdeps/s390/s390-64/memcpy.S: New asm code.
28076         * sysdeps/s390/s390-64/memset.S: New asm code.
28077         * sysdeps/s390/s390-64/memcmp.S: New asm code.
28078         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28079         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28080         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28081         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28082         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28083         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28084         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28085         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28086         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28087         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28088         * sysdeps/s390/s390-32/memcpy.S: New asm code.
28089         * sysdeps/s390/s390-32/memset.S: New asm code.
28090         * sysdeps/s390/s390-32/memcmp.S: New asm code.
28092 2012-07-17  Marek Polacek  <polacek@redhat.com>
28094         [BZ #14349]
28095         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28096         * sysdeps/s390/s390-64/configure.in: Likewise.
28097         * sysdeps/sparc/configure.in: Likewise.
28098         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28099         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28100         * sysdeps/i386/configure.in: Likewise.
28101         * sysdeps/x86_64/configure.in: Likewise.
28102         * sysdeps/sh/configure.in: Likewise.
28103         * sysdeps/s390/s390-32/configure: Regenerated.
28104         * sysdeps/s390/s390-64/configure: Likewise.
28105         * sysdeps/x86_64/configure: Likewise.
28106         * sysdeps/sh/configure: Likewise.
28107         * sysdeps/powerpc/powerpc64/configure: Likewise.
28108         * sysdeps/powerpc/powerpc32/configure: Likewise.
28109         * sysdeps/sparc/configure: Likwise.
28110         * sysdeps/i386/configure: Likewise.
28112         * elf/dl-open.c: Comment fixes.
28114 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
28116         * Makefile [CXX] (check-data): Remove.
28117         [CXX] (c++-types.data): New vpath directive.
28118         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28119         vpath.  Do not allow for C++ type data being missing.
28120         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28121         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28122         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28123         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28124         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28125         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28126         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28128         ... here.
28129         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28131         ... here.
28132         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28134         ... here.
28135         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28137         ... here.
28138         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28140         ... here.
28141         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28143         ... here.
28144         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28146         ... here.
28147         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28150         * elf/tls-macros.h (TLS_LE): Move architecture-specific
28151         definitions to architecture-specific files.
28152         (TLS_IE): Likewise.
28153         (TLS_LD): Likewise.
28154         (TLS_GD): Likewise.
28155         * sysdeps/i386/tls-macros.h: New file.
28156         * sysdeps/powerpc/tls-macros.h: Likewise.
28157         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28158         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28159         * sysdeps/sh/tls-macros.h: Likewise.
28160         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28161         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28162         * sysdeps/x86_64/tls-macros.h: Likewise.
28164 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28166         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28167         zero value for regular exit case.
28169         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28170         (__start_context): Preserve zero value for regular exit case.
28172 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28173             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28175         * manual/setjmp.texi (setcontext): Clarify normal process
28176         termination when uc_link is the null pointer.
28177         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28178         exit call.
28180 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
28182         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28183         preprocessor.  Test for each exception mask separately.
28185 2012-07-16  Andreas Jaeger  <aj@suse.de>
28187         * po/ru.po: Update from translation team.
28189 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
28191         * conform/data/string.h-data (NULL): Use macro-constant.  Require
28192         equal to 0.
28193         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28194         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28195         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28196         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28197         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28199 2012-07-13  Andreas Jaeger  <aj@suse.de>
28201         * po/fr.po: Update from translation team.
28203 2012-07-12  Marek Polacek  <polacek@redhat.com>
28205         [BZ #14173]
28206         * math/libm-test.inc (yn_test): Add test for BZ #14173.
28207         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28208         loop condition.
28210 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
28212         [BZ #13717]
28213         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28214         Change to 2.4.1 where previously 2.4.0.
28215         * sysdeps/unix/sysv/linux/configure: Regenerated.
28216         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28217         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28218         version.
28219         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28220         (__ASSUME_AT_CLKTCK): Remove.
28221         (__ASSUME_AT_PAGESIZE): Likewise.
28222         (__ASSUME_AT_XID): Likewise.
28223         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28224         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28225         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28226         unconditionally.
28227         (HAVE_AUX_PAGESIZE): Likewise.
28228         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28229         [__ASSUME_AT_CLKTCK]: Make code unconditional.
28230         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28232 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
28234         [BZ #14307]
28235         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28236         the temporary buffer used to invoke __gethostbyname2_r,
28237         __gethostbyaddr_r and gethostbyname4_r to make room for struct
28238         host_data / struct gaih_addrtuple.
28239         * resolv/nss_dns/dns-host.c (global scope): Move definition of
28240         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28241         header file nss/nsswitch.h.
28242         * nss/nsswitch.h (global scope): Add definition of implementation
28243         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28244         resolv/nss_dns/dns-host.c).
28246 2012-07-11  Andreas Jaeger  <aj@suse.de>
28248         * po/fr.po: Update from translation team.
28250         * po/sv.po: Update from translation team
28251         * po/fr.po: Another update from translation team.
28253 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28255         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28256         for subnormals or multiply small sinh result by itself.
28257         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28260 2012-07-11  David S. Miller  <davem@davemloft.net>
28262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28264 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
28266         [BZ #14347]
28267         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28268         (INTERNAL_MARK): Shift it here.
28270 2012-07-10  Marek Polacek  <polacek@redhat.com>
28272         [BZ #14151]
28273         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
28274         libc_cv_asm_global_directive with .globl.
28275         * configure: Regenerated.
28276         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28277         with .globl.
28278         * sysdeps/i386/configure: Regenerated.
28279         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28280         with .globl.
28281         * sysdeps/x86_64/configure: Regenerated.
28282         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28283         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28284         * elf/tst-unique2mod2.c: Likewise.
28285         * elf/tst-unique2mod1.c: Likewise.
28286         * elf/tst-unique1mod2.c: Likewise.
28287         * elf/tst-unique1mod1.c: Likewise.
28288         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28289         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28290         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28291         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28292         * sysdeps/mach/sysdep.h: Likewise.
28293         * sysdeps/i386/sysdep.h: Likewise.
28294         * sysdeps/i386/i386-mcount.S: Likewise.
28295         * sysdeps/x86_64/_mcount.S: Likewise.
28296         * sysdeps/x86_64/sysdep.h: Likewise.
28297         * sysdeps/sh/_mcount.S: Likewise.
28298         * sysdeps/sh/sysdep.h: Likewise.
28299         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28300         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28301         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28302         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28303         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28304         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28305         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28306         * locale/localeinfo.h: Likewise.
28307         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28308         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28310 2012-07-09  Roland McGrath  <roland@hack.frob.com>
28312         [BZ #14336]
28313         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28314         system".
28315         * manual/message.texi (The Uniforum approach): Likewise.
28316         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28317         (glibc iconv Implementation): Likewise.
28319 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
28321         [BZ #14337]
28322         * math/s_clog.c (__clog): Avoid scaling a value down where that
28323         could result in underflow.
28324         * math/s_clog10.c (__clog10): Likewise.
28325         * math/s_clog10f.c (__clog10f): Likewise.
28326         * math/s_clog10l.c (__clog10l): Likewise.
28327         * math/s_clogf.c (__clogf): Likewise.
28328         * math/s_clogl.c (__clogl): Likewise.
28329         * math/libm-test.inc (clog_test): Add more tests.
28330         (clog10_test): Likewise.
28331         * sysdeps/i386/fpu/libm-test-ulps: Update.
28332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28334 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
28336         [BZ #14283]
28337         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28338         by 7 not 8 to examine high bit of fractional part.
28340         [BZ #14042]
28341         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28342         for call to __mcount_internal.
28343         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28344         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28345         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28347 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
28349         [BZ #14154]
28350         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28351         approximation for values within 0x1p-13f of an odd multiple of
28352         pi/4.
28353         * math/libm-test.inc (tan_test): Do not allow spurious underflow
28354         exception.  Add more tests.
28355         * sysdeps/i386/fpu/libm-test-ulps: Update.
28357         [BZ #6778]
28358         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28359         inputs and return -1 for them.  Do not check for +Inf in case not
28360         reachable for +Inf.
28361         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28362         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28363         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28364         and return -1 for them.  Do not check for +Inf in case not
28365         reachable for +Inf.
28366         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28367         define.
28368         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28369         and return -1 for them.  Do not check for +Inf in case not
28370         reachable for +Inf.
28371         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
28372         spurious underflow.
28373         * sysdeps/i386/fpu/libm-test-ulps: Update.
28374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28376 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
28378         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28380 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
28382         [BZ #14157]
28383         [BZ #14331]
28384         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28385         could result in spurious underflow.  Scale down values above
28386         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28387         * math/s_csqrtf.c (__csqrtf): Likewise.
28388         * math/s_csqrtl.c (__csqrtl): Likewise.
28389         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
28390         spurious underflow.
28391         * sysdeps/i386/fpu/libm-test-ulps: Update.
28392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28394 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
28396         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28397         xopen-msg.sed.
28398         * catgets/xopen-msg.awk: New file.
28399         * catgets/xopen-msg.sed: Removed.
28401         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28402         po2text.sed.
28403         * intl/po2test.awk: New file.
28404         * intl/po2test.sed: Removed.
28406 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
28408         [BZ #14328]
28409         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28410         or multiply small sinh result by itself.
28411         * math/s_ctanf.c (__ctanf): Likewise.
28412         * math/s_ctanh.c (__ctanh): Likewise.
28413         * math/s_ctanhf.c (__ctanhf): Likewise.
28414         * math/s_ctanhl.c (__ctanhl): Likewise.
28415         * math/s_ctanl.c (__ctanl): Likewise.
28416         * math/libm-test.inc (ctan_test_tonearest): New function.
28417         (ctan_test_towardzero): Likewise.
28418         (ctan_test_downward): Likewise.
28419         (ctan_test_upward): Likewise.
28420         (ctanh_test_tonearest): Likewise.
28421         (ctanh_test_towardzero): Likewise.
28422         (ctanh_test_downward): Likewise.
28423         (ctanh_test_upward): Likewise.
28424         (main): Call these new functions.
28425         * sysdeps/i386/fpu/libm-test-ulps: Update.
28426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28428 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
28430         * .gitignore: Delete /ports entry.
28432 2012-07-03  Andreas Jaeger  <aj@suse.de>
28434         * po/bg.po: Update from translation team.
28435         * po/cs.po: Likewise.
28436         * po/de.po: Likewise.
28437         * po/hr.po: Likewise.
28438         * po/nl.pl: Likewise.
28439         * po/pl.po: Likewise.
28440         * po/vi.po: Likewise.
28442 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
28444         * Makeconfig [!+link] (+link-before-libc): New variable.
28445         [!+link] (+link-after-libc): Likewise.
28446         [!+link] (+link-tests): Likewise.
28447         [!+link] (+link): Define in terms of $(+link-before-libc) and
28448         $(+link-after-libc).
28449         [!+link-static] (+link-static-before-libc): New variable.
28450         [!+link-static] (+link-static-after-libc): Likewise.
28451         [!+link-static] (+link-static-tests): Likewise.
28452         [!+link-static] (+link-static): Define in terms of
28453         $(+link-static-before-libc) and $(+link-static-after-libc).
28454         [build-shared] (link-libc-before-gnulib): New variable.
28455         [build-shared] (link-libc-tests): Likewise.
28456         [build-shared] (link-libc): Define in terms of
28457         $(link-libc-before-gnulib).
28458         [!build-shared] (link-libc-tests): New variable.
28459         (link-libc-static-tests): New variable.
28460         [!gnulib] (gnulib-arch): New variable.
28461         [!gnulib] (gnulib-tests): Likewise.
28462         [!gnulib] (static-gnulib-arch): Likewise.
28463         [!gnulib] (static-gnulib-tests): Likewise.
28464         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
28465         Define with "=" instead of ":=".
28466         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
28467         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
28468         * Rules (binaries-all-notests): New variable.
28469         (binaries-all-tests): Likewise.
28470         (binaries-static-notests): Likewise.
28471         (binaries-static-tests): Likewise.
28472         (binaries-all): Define using $(binaries-all-notests) and
28473         $(binaries-all-tests).
28474         (binaries-static): Define using $(binaries-static-notests) and
28475         $(binaries-static-tests).
28476         (binaries-shared-tests): New variable.
28477         (binaries-shared-notests): Likewise.
28478         (binaries-shared): Remove variable.
28479         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28480         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28481         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28482         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28483         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28484         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28485         * elf/Makefile (sln-modules): New variable.
28486         (extra-objs): Add $(sln-modules:=.o).
28487         (ldconfig-modules): Add static-stubs.
28488         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28489         * elf/static-stubs.c: New file.
28491         [BZ #14283]
28492         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28493         by 7 not 8 to examine high bit of fractional part.  Use volatile
28494         variables when splitting into final array of floats if
28495         __FLT_EVAL_METHOD__ != 0.
28496         * math/libm-test.inc (cos_test): Add another test.
28497         (sin_test): Likewise.
28498         * sysdeps/i386/fpu/libm-test-ulps: Update.
28500         [BZ #14273]
28501         * math/libm-test.inc (cosh_test): Add more tests.
28503         * version.h (RELEASE): Set to "development".
28504         (VERSION): Set to "2.16.90".
28506 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
28508         * NEWS: Update copyright. Remove last-updated date.
28509         Mention math library bug fixes and timezone data changes.
28510         * README: Mention GNU/Hurd, x32, and HPPA support status.
28512 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
28514         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28516 2012-06-27  Andreas Jaeger  <aj@suse.de>
28518         * manual/contrib.texi (Contributors): Add Samuel Thibault.
28520 2012-06-25  Andreas Jaeger  <aj@suse.de>
28522         * sysdeps/s390/fpu/libm-test-ulps: Update.
28524 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
28525             Thomas Schwinge  <thomas@codesourcery.com>
28527         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28528         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28529         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28530         fanotify_mark.
28532 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
28534         * sysdeps/mach/start.c: Remove file.
28535         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28536         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28537         * sysdeps/sh/init-first.c: Likewise.
28539         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28540         registers for frame unwinding purposes, add CFI directives.
28541         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28542         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28543         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28544         Likewise.
28546         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28547         __fortify_fail returning.
28548         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28550         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28551         sysdeps/sh/____longjmp_chk.S.
28552         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28553         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28554         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28555         (gen-as-const-headers): Append sigaltstack-offsets.sym.
28557         * sysdeps/sh/abort-instr.h: New file.
28558         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28559         process in case exit returns.
28561         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28562         initialize the GOT register before use.
28564         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28565         calculation of ARGC > 4.
28567         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28568         meaningful names to some local labels.
28570 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28571             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28573         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28574         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28575         (__arch_compare_and_exchange_val_16_acq): Likewise.
28576         (__arch_compare_and_exchange_val_32_acq): Likewise.
28577         (atomic_exchange_and_add): Fix gUSA sequence.
28578         (atomic_add): Likewise.
28579         (atomic_add_negative): Likewise.
28580         (atomic_add_zero): Likewise.
28581         (atomic_bit_test_set): Likewise.
28583 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28585         [BZ #13579]
28586         * include/link.h (struct link_map): Add l_free_initfini.
28587         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28588         l_initfini.
28589         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28590         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28591         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28592         set.
28594 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28596         * configure.in: Use AC_LANG_SOURCE.
28597         * configure: Regenerate.
28599 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28601         * configure.in (libc_cv_localstatedir): New substituted variable.
28602         * configure: Regenerated.
28603         * config.make.in (localstatedir): New variable, substituted from
28604         libc_cv_localstatedir.
28605         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28606         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28607         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28608         * sysdeps/gnu/configure: Regenerated.
28610 2012-06-21  Jeff Law  <law@redhat.com>
28612         [BZ #14277]
28613         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28614         free.  Simplify list management for _LIBC case.
28616 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28618         [BZ #14273]
28619         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28620         Clear sign bit of 64-bit integer value before comparing against
28621         overflow value.
28623         * sysdeps/mach/configure: Regenerated.
28625 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28627         [BZ #14278]
28628         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28630 2012-06-21  Jeff Law  <law@redhat.com>
28632         [BZ #13882]
28633         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28634         uint16_t for elements in the "seen" array to avoid char overflows.
28635         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28636         * elf/dl-open.c (dl_open_worker): Likewise.
28638 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28640         * scripts/list-sources.sh: Scan PORTS for translations.
28641         * po/libc.pot: Regenerated.
28643 2012-06-21  Andreas Jaeger  <aj@suse.de>
28645         [BZ #12194]
28646         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28647         warning.
28648         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28649         * bits/byteswap-16.h (__bswap_16): Likewise.
28650         * bits/byteswap.h (__bswap_constant_16): Likewise.
28652 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28654         [BZ #14117]
28655         * sysdeps/i386/fpu_control.h: Removed.
28656         * sysdeps/x86_64/fpu_control.h: Moved to ...
28657         * sysdeps/x86/fpu_control.h: Here.
28659         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28660         (_FPU_SETCW): Likewise.
28662 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28664         [BZ #14117]
28665         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28666         * sysdeps/x86/fpu/bits/mathinline.h: This.
28667         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28669         [BZ #14050]
28670         [BZ #14117]
28671         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28672         functions if __x86_64__ is defined.
28674 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28676         * string/endian.h: Add !__ASSEMBLER__ condition for including
28677         conversion interfaces.
28679 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28681         [BZ #14241]
28682         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28683         of ABS(x) in calculating zero to negative powers other than odd
28684         integers.
28685         * math/libm-test.inc (pow_test): Add more tests.
28687 2012-06-15  Andreas Jaeger  <aj@suse.de>
28689         * manual/contrib.texi (Contributors): Update entry of Liubov
28690         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28691         Machado Filho.
28693 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28695         * string/string.h: Add __wur to GNU version of strerror_r.
28697 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28699         [BZ #14229]
28700         * string/Makefile (tests): Add tst-strtok_r.
28701         * string/tst-strtok_r.c: New file.
28702         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28703         RAX_LP/RDX_LP on SAVE_PTR.
28705 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28707         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28709 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28711         * libm_test.inc (csqrt_test): Allow more spurious underflow
28712         exceptions.
28713         (j0_test): Likewise.
28714         (j1_test): Likewise.
28715         (y0_test): Likewise.
28716         (y1_test): Likewise.
28718 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28720         * po/Makefile (libc.pot): Use UTF-8 charset.
28722 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28724         [BZ #14210]
28725         Suppress sign-conversion warning from FD_SET.
28726         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28727         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28728         not unsigned long int.
28729         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28731 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28733         [BZ #14050]
28734         [BZ #14117]
28735         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28736         __extern_always_inline instead of __extern_inline.
28737         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28738         (__signbit): Likewise.
28739         (__signbitl): Support C++ namespace.
28740         (lrintf): New inline function.
28741         (lrint): Likewise.
28742         (llrintf): Likewise.
28743         (llrint): Likewise.
28744         (fmaxf): Likewise.
28745         (fmax): Likewise.
28746         (fminf): Likewise.
28747         (fmin): Likewise.
28748         (rint): Likewise.
28749         (rintf): Likewise.
28750         (ceil): Likewise.
28751         (ceilf): Likewise.
28752         (floor): Likewise.
28753         (floorf): Likewise.
28754         (nearbyint): Likewise.
28755         (nearbyintf): Likewise.
28757 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28759         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28760         non-default versions.
28762 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28764         [BZ #14218]
28765         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28767 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28769         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28770         (FE_UPWARD, FE_DOWNWARD): Don't define.
28771         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28772         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28774         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28775         reading it.
28776         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28777         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28779 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28781         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28782         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28783         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28784         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28786 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28788         [BZ #14117]
28789         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28790         * sysdeps/i386/fpu/Implies: New file.
28791         * sysdeps/x86_64/fpu/Implies: Likewise.
28792         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28793         * sysdeps/x86/fpu/bits/fenv.h: This.
28795         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28796         __SSE_MATH__.
28798 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28800         [BZ #14134]
28801         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28802         character 0xffff that matches the last element of the
28803         conversion table.
28805 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28807         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28808         fmodl commit.
28810 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28812         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28813         values higher than 25.6283.
28815 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28817         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28818         subnormal exponent extraction and add some __builtin_expect.
28819         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28820         Fix for subnormal mantissa calculation.
28822 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28824         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28825         cpu2 is -1 and errno is not ENOSYS.
28827 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28829         [BZ #14117]
28830         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28831         * sysdeps/x86/bits/string.h: This.
28832         * sysdeps/x86_64/bits/string.h: Removed.
28834         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28835         if not compiling for x86-64, but compiling for >= i486.
28837         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28838         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28840         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28841         New macro from Linux kernel 3.4.0.
28842         (FP_XSTATE_MAGIC2): Likewise.
28843         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28844         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28845         (struct _fpx_sw_bytes): New struct.
28846         (struct _xsave_hdr): Likewise.
28847         (struct _ymmh_state): Likewise.
28848         (struct _xstate): Likewise.
28850         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28851         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28852         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28853         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28854         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28855         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28857         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28858         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28859         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28860         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28861         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28862         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28864 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28866         [BZ #13743]
28867         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28868         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28869         (sysdep_headers): Include sys/platform/ppc.h.
28870         * sysdeps/powerpc/test-gettimebase.c: Test for
28871         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28872         * manual/Makefile (appendices): Include platform.texi.
28873         * manual/contrib.texi (Contributors): Update @node pointers.
28874         * manual/maint.texi (Maintenance): Likewise.
28875         (Platform): New node.
28876         * manual/platform.texi: New file.  Document the new features.
28878 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28879             Jakub Jelinek  <jakub@redhat.com>
28881         [BZ #14188]
28882         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28883         where __builtin_expect is unavailable.
28885 2012-06-03  David S. Miller  <davem@davemloft.net>
28887         * stdlib/longlong.h: Updated from GCC.
28889 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28891         [BZ #14042]
28892         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28893         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28894         __mcount_internal.
28895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28896         (GLIBC_2.16): Likewise.
28898 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28900         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28902 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28905         (default-abi): New variable.
28906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28907         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28908         variable.
28909         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28910         Likewise.
28911         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28912         Likewise.
28913         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28914         Likewise.
28916         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28917         definition.  Document in comment.
28919 2012-06-01  David S. Miller  <davem@davemloft.net>
28921         * stdlib/longlong.h: Updated from GCC.
28923 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28925         [BZ #14117]
28926         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28927         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28928         sys/debugreg.h sys/io.h here.
28929         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28930         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28931         sys/io.h.
28932         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28933         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28934         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28935         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28936         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28937         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28939         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28940         Define only if __x86_64__ is defined.
28942 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28944         [BZ #14048]
28945         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28946         Use int64_t for variable i.
28947         * math/libm-test.inc (fmod_test): Add more tests.
28949         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28950         z computation is not scheduled after fetestexcept.
28951         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28952         Use math_force_eval instead of asm to ensure calculation scheduled
28953         before exception test.
28954         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28955         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28957 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28960         computation is not scheduled after fetestexcept.
28962 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28964         [BZ #14117]
28965         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28966         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28968 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28970         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28971         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28973 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28975         [BZ #14117]
28976         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28977         <bits/wordsize.h>.
28978         (__WCHAR_MIN): Support __WORDSIZE == 64.
28979         (__WCHAR_MAX): Likewise.
28981         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28982         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28984         [BZ #14183]
28985         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28986         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28988         [BZ #14117]
28989         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28990         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28992         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28993         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28995         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28996         Defined to 1 if __x86_64__ isn't defined.
28997         (_STAT_VER_LINUX_OLD): New.
28998         (st_atime): Remove duplicate.
28999         (st_mtime): Likewise.
29000         (st_ctime): Likewise.
29002 2012-05-31  David S. Miller  <davem@davemloft.net>
29004         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29005         entries.
29007 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
29009         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29010         gen-libm-test.pl.
29012         [BZ #14132]
29013         * elf/dl-reloc.c: Include <_itoa.h>.
29014         (_dl_reloc_bad_type): Remove use of INTUSE.
29015         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29016         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29017         * stdio-common/psiginfo.c (psiginfo): Likewise.
29018         * stdio-common/psignal.c (psignal): Likewise.
29019         * string/strsignal.c (strsignal): Likewise.
29020         * include/signal.h (_sys_siglist): Declare hidden proto.
29021         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
29022         INTVARDEF with libc_hidden_data_def.
29023         * stdio-common/itoa-udigits.c: Likewise.
29024         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29025         (_itoa_lower_digits_internal): Remove declaration.
29026         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29027         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29028         (_sys_sigabbrev_internal): Remove aliases.
29029         (_sys_siglist): Define hidden alias.
29031 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
29033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29034         bits/sysctl.h.
29036 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29038         [BZ #14117]
29039         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29040         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29042         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29043         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29044         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29045         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29046         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29047         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29049         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29050         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29051         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29053         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29054         with __addr.
29055         (insw): Likewise.
29056         (insl): Likewise.
29057         (outsb): Likewise.
29058         (outsw): Likewise.
29059         (outsl): Likewise.
29061         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29062         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29063         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29065         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29066         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29067         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29068         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29069         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29070         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29072         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29073         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29075         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29076         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29078         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29079         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29080         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29082         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29083         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29084         to ...
29085         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29087         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29088         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29089         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29091         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29092         for x86-64.
29093         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29095 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
29097         * math/math.h (M_El): Use two more decimal places.
29098         (M_LOG2El): Likewise.
29099         (M_LOG10El): Likewise.
29100         (M_LN2l): Likewise.
29101         (M_LN10l): Likewise.
29102         (M_PIl): Likewise.
29103         (M_PI_2l): Likewise.
29104         (M_PI_4l): Likewise.
29105         (M_1_PIl): Likewise.
29106         (M_2_PIl): Likewise.
29107         (M_2_SQRTPIl): Likewise.
29108         (M_SQRT2l): Likewise.
29109         (M_SQRT1_2l): Likewise.
29111 2012-05-31  David S. Miller  <davem@davemloft.net>
29113         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29114         values between float registers.
29115         * sysdeps/sparc/sparc64/memset.S: Likewise.
29116         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29118 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
29120         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29121         -D_FORTIFY_SOURCE=1.
29122         (CPPFLAGS-tst-longjmp_chk.c): Define.
29123         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29124         (CPPFLAGS-tst-longjmp_chk2.c): Define.
29125         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29126         CFLAGS-tst-wchar-h.c.
29128 2012-05-31  Marek Polacek  <polacek@redhat.com>
29130         [BZ #14132]
29131         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29132         __endmntent_internal): Remove declaration.
29133         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29134         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29135         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29137 2012-05-30  David S. Miller  <davem@davemloft.net>
29139         * sysdeps/sparc/sparc32/soft-fp/q_util.c
29140         (___Q_simulate_exceptions): Use real FP ops rather than writing
29141         into the %fsr.
29142         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29143         Likewise.
29145 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29147         [BZ #14117]
29148         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29149         * sysdeps/x86/bits/xtitypes.h: This.
29151         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29152         * sysdeps/x86/bits/wordsize.h: This.
29154         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29155         * sysdeps/x86/bits/huge_vall.h: This.
29157         * sysdeps/i386/bits/select.h: Removed.
29158         * sysdeps/x86_64/bits/select.h: Renamed to ...
29159         * sysdeps/x86/bits/select.h: This.
29161         * sysdeps/i386/bits/setjmp.h: Removed.
29162         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29163         * sysdeps/x86/bits/setjmp.h: This.
29165         * sysdeps/i386/bits/mathdef.h: Removed.
29166         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29167         * sysdeps/x86/bits/mathdef.h: This.
29169 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
29171         [BZ #14132]
29172         * include/sys/socket.h (__connect_internal)
29173         (__libc_sa_len_internal): Remove declaration.
29174         (__connect, __libc_sa_len): Declare hidden_proto.
29175         (SA_LEN): Remove use of INTUSE.
29176         * socket/connect.c: Add libc_hidden_def.
29177         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29178         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29179         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29180         alias.
29181         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29182         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29183         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29184         of adding _internal alias.
29186 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29188         [BZ #14117]
29189         * sysdeps/i386/bits/link.h: Removed.
29190         * sysdeps/i386/bits/linkmap.h: Likewise.
29191         * sysdeps/x86_64/bits/link.h: Renamed to ...
29192         * sysdeps/x86/bits/link.h: This.
29193         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29194         * sysdeps/x86/bits/linkmap.h: This.
29196         * sysdeps/i386/bits/endian.h: Removed.
29197         * sysdeps/x86_64/bits/endian.h: Renamed to ...
29198         * sysdeps/x86/bits/endian.h: This.
29200         * sysdeps/i386/bits/byteswap.h: Removed.
29201         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29202         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29203         * sysdeps/x86/bits/byteswap.h: This.
29204         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29205         * sysdeps/x86/bits/byteswap-16.h: This.
29206         * sysdeps/i386/Implies: Add x86.
29207         * sysdeps/x86_64/Implies: Likewise.
29209 2012-05-30  David S. Miller  <davem@davemloft.net>
29211         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29212         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29213         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29214         (FP_TRAPPING_EXCEPTIONS): Define.
29215         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29216         (FP_TRAPPING_EXCEPTIONS): Define.
29217         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29218         subnormals only when inexact has been signalled or underflow
29219         exceptions are enabled.
29220         (_FP_PACK_CANONICAL): Likewise.
29222 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29224         [BZ #14183]
29225         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29226         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29228 2012-05-30  Richard Henderson  <rth@twiddle.net>
29230         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29231         with #ifndef NOT_IN_libc.
29233         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
29234         marked to avoid plt entry.
29236 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29238         [BZ #14112]
29239         * Makeconfig (default-abi): New macro.
29240         (abi-includes): Likewise.
29241         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
29242         $(abi-$(default-abi)-lib-soname) for soname if defined.
29243         ($(common-objpfx)gnu/lib-names.stmp): Generate from
29244         abi-variants.
29245         * Makefile (installed-stubs): Likewise.
29246         * include/stubs-biarch.h: Removed.
29247         * scripts/lib-names.awk: Only handle one library at a time.
29248         * scripts/soversions.awk: Remove WORDSIZE support.
29249         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29250         entries.
29251         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29252         Removed.
29253         (syscall-list-default-condition): Likewise.
29254         (syscall-list-default-condition): Likewise.
29255         (syscall-list-includes): Likewise.
29256         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29257         syscall-list-* with abi-*.  Handle undefined abi-variants.
29258         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29259         * sysdeps/unix/sysv/linux/i386/Implies: New file.
29260         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29261         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29262         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29263         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29264         Removed.
29265         (syscall-list-32-options): Likewise.
29266         (syscall-list-32-condition): Likewise.
29267         (syscall-list-64-options): Likewise.
29268         (syscall-list-64-condition): Likewise.
29269         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29270         macro.
29271         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29272         Renamed to ...
29273         (abi-*): This.
29274         (abi-64-ld-soname): New macro.
29275         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29276         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29277         Renamed to ...
29278         (abi-*): This.
29279         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29280         * sysdeps/x86_64/x32/shlib-versions: Likewise.
29282 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
29284         * sysdeps/unix/sysv/linux/kernel-features.h
29285         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29286         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29287         include <kernel-features.h>.
29288         [!__NR_ftruncate64]: Remove conditional code.
29289         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29290         [__NR_ftruncate64]: Make code unconditional.
29291         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29292         * sysdeps/unix/sysv/linux/truncate64.c: Do not
29293         include <kernel-features.h>.
29294         [!__NR_ftruncate64]: Remove conditional code.
29295         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29296         [__NR_ftruncate64]: Make code unconditional.
29297         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29299         include <kernel-features.h>.
29300         [!__NR_ftruncate64]: Remove conditional code.
29301         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29302         [__NR_ftruncate64]: Make code unconditional.
29303         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29305         include <kernel-features.h>.
29306         [!__NR_ftruncate64]: Remove conditional code.
29307         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29308         [__NR_ftruncate64]: Make code unconditional.
29309         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29311         * configure.in (libc_cv_fpie): Weaken to a compile test using
29312         LIBC_TRY_CC_OPTION.
29313         * configure: Regenerated.
29315 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29321         Refreshed.
29322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29328         Refreshed.
29330 2012-05-27  David S. Miller  <davem@davemloft.net>
29332         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29333         (___Q_zero): New.
29334         (__Q_simulate_exceptions): Return void.  Change to simulate
29335         exceptions by writing into the %fsr.
29336         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29337         (__Qp_handle_exceptions): Likewise.
29338         (numbers): Delete.
29339         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29340         __Qp_handle_exceptions.
29341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29342         __Qp_handle_exceptions.
29343         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29344         as unused and give dummy FP_RND_NEAREST initializer.
29345         (FP_INHIBIT_RESULTS): Define.
29346         (___Q_simulate_exceptions): Update declaration.
29347         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29348         formatting.
29349         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29350         as unused and give dummy FP_RND_NEAREST initializer.
29351         (__Qp_handle_exceptions): Update declaration.
29352         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29353         formatting.
29355 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
29357         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29358         the temporary FPU control word.
29359         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29360         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29361         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29362         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29363         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29364         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29365         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29366         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29367         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29368         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29369         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29371 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29373         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29374         fields.
29376 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
29378         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29379         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29380         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29381         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29382         Likewise.
29383         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29384         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29385         Likewise.
29387 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
29389         * po/h.po: Update from translation team.
29391 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
29393         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29395         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29396         handling of denormals.
29397         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29398         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29399         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29400         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29401         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29403         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29404         Likewise.
29406 2012-05-26  Marek Polacek  <polacek@redhat.com>
29408         [BZ #14152]
29409         * math/libm-test.inc (fma_test): Don't always expect underflow
29410         exception.
29412 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29414         [BZ #12416]
29415         * elf/tst-execstack.c: Include stackinfo.h.
29416         (do_test): Adjust test case to ensure that pthread_getattr_np
29417         behaviour remains the same after marking stack executable.
29419 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29421         * sysdeps/unix/sysv/linux/kernel-features.h
29422         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29423         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29424         kernel-features.h.
29425         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29426         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29427         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29428         kernel-features.h.
29429         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29430         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29432 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
29434         * configure.in: Define the default includes to being none.
29435         * configure: Regenerated.
29437 2012-05-25  Roland McGrath  <roland@hack.frob.com>
29439         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29440         * sysdeps/x86_64/setjmp.S: Likewise.
29441         * sysdeps/i386/bsd-setjmp.S: Likewise.
29442         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29443         * sysdeps/i386/setjmp.S: Likewise.
29444         * sysdeps/i386/__longjmp.S: Likewise.
29445         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29446         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29448         * include/stap-probe.h: New file.
29449         * configure.in: Handle --enable-systemtap.
29450         * configure: Regenerated.
29451         * config.h.in (USE_STAP_PROBE): New #undef.
29452         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29453         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29454         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29456 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29458         [BZ #13717]
29459         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29460         to 2.4.0 where earlier.
29461         * sysdeps/unix/sysv/linux/configure: Regenerated.
29462         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
29471         [__ASSUME_32BITUIDS]: Make code unconditional.
29472         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29473         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29474         <kernel-features.h>.
29475         [__ASSUME_32BITUIDS]: Make code unconditional.
29476         [!__ASSUME_32BITUIDS]: Remove conditional code.
29477         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29478         <kernel-features.h>.
29479         [__ASSUME_32BITUIDS]: Make code unconditional.
29480         [!__ASSUME_32BITUIDS]: Remove conditional code.
29481         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29482         <kernel-features.h>.
29483         [__ASSUME_32BITUIDS]: Make code unconditional.
29484         [!__ASSUME_32BITUIDS]: Remove conditional code.
29485         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29486         <kernel-features.h>.
29487         [__ASSUME_32BITUIDS]: Make code unconditional.
29488         [!__ASSUME_32BITUIDS]: Remove conditional code.
29489         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29490         <kernel-features.h>.
29491         [__ASSUME_32BITUIDS]: Make code unconditional.
29492         [!__ASSUME_32BITUIDS]: Remove conditional code.
29493         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29494         <kernel-features.h>.
29495         [__ASSUME_32BITUIDS]: Make code unconditional.
29496         [!__ASSUME_32BITUIDS]: Remove conditional code.
29497         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29498         <kernel-features.h>.
29499         [__ASSUME_32BITUIDS]: Make code unconditional.
29500         [!__ASSUME_32BITUIDS]: Remove conditional code.
29501         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29502         <kernel-features.h>.
29503         [__ASSUME_32BITUIDS]: Make code unconditional.
29504         [!__ASSUME_32BITUIDS]: Remove conditional code.
29505         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29506         <kernel-features.h>.
29507         [__ASSUME_32BITUIDS]: Make code unconditional.
29508         [!__ASSUME_32BITUIDS]: Remove conditional code.
29509         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29510         <kernel-features.h>.
29511         [__ASSUME_32BITUIDS]: Make code unconditional.
29512         [!__ASSUME_32BITUIDS]: Remove conditional code.
29513         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29514         <kernel-features.h>.
29515         [__NR_setresgid] (__setresgid): Do not declare.
29516         [__ASSUME_32BITUIDS]: Make code unconditional.
29517         [!__ASSUME_32BITUIDS]: Remove conditional code.
29518         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29519         <kernel-features.h>.
29520         [__NR_setresuid] (__setresuid): Do not declare.
29521         [__ASSUME_32BITUIDS]: Make code unconditional.
29522         [!__ASSUME_32BITUIDS]: Remove conditional code.
29523         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29524         <kernel-features.h>.
29525         [__ASSUME_32BITUIDS]: Make code unconditional.
29526         [!__ASSUME_32BITUIDS]: Remove conditional code.
29527         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29528         <kernel-features.h>.
29529         [__ASSUME_32BITUIDS]: Make code unconditional.
29530         [!__ASSUME_32BITUIDS]: Remove conditional code.
29531         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29532         <kernel-features.h>.
29533         [__ASSUME_32BITUIDS]: Make code unconditional.
29534         [!__ASSUME_32BITUIDS]: Remove conditional code.
29535         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29536         <kernel-features.h>.
29537         [__ASSUME_32BITUIDS]: Make code unconditional.
29538         [!__ASSUME_32BITUIDS]: Remove conditional code.
29539         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29540         <kernel-features.h>.
29541         [__ASSUME_32BITUIDS]: Make code unconditional.
29542         [!__ASSUME_32BITUIDS]: Remove conditional code.
29543         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29544         <kernel-features.h>.
29545         [__ASSUME_32BITUIDS]: Make code unconditional.
29546         [!__ASSUME_32BITUIDS]: Remove conditional code.
29547         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29548         <kernel-features.h>.
29549         [__ASSUME_32BITUIDS]: Make code unconditional.
29550         [!__ASSUME_32BITUIDS]: Remove conditional code.
29551         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29552         <kernel-features.h>.
29553         [__ASSUME_32BITUIDS]: Make code unconditional.
29554         [!__ASSUME_32BITUIDS]: Remove conditional code.
29555         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29556         <kernel-features.h>.
29557         [__ASSUME_32BITUIDS]: Make code unconditional.
29558         [!__ASSUME_32BITUIDS]: Remove conditional code.
29559         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29560         <kernel-features.h>.
29561         [__ASSUME_32BITUIDS]: Make code unconditional.
29562         [!__ASSUME_32BITUIDS]: Remove conditional code.
29563         * sysdeps/unix/sysv/linux/kernel-features.h
29564         (__ASSUME_SETRESUID_SYSCALL): Remove.
29565         (__ASSUME_SETRESGID_SYSCALL): Likewise.
29566         (__ASSUME_32BITUIDS): Likewise.
29567         (__ASSUME_LDT_WORKS): Likewise.
29568         (__ASSUME_O_DIRECTORY): Likewise.
29569         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29570         architecture but not kernel version.
29571         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29572         (__ASSUME_MMAP2_SYSCALL): Likewise.
29573         (__ASSUME_STAT64_SYSCALL): Likewise.
29574         (__ASSUME_IPC64): Likewise.
29575         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29576         <kernel-features.h>.
29577         [__ASSUME_32BITUIDS]: Make code unconditional.
29578         [!__ASSUME_32BITUIDS]: Remove conditional code.
29579         * sysdeps/unix/sysv/linux/opendir.c: Do not include
29580         <kernel-features.h>.
29581         [__ASSUME_O_DIRECTORY]: Make code unconditional.
29582         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29583         132096]: Remove conditional code.
29584         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29585         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29586         <kernel-features.h>.
29587         [__ASSUME_32BITUIDS]: Make code unconditional.
29588         [!__ASSUME_32BITUIDS]: Remove conditional code.
29589         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29590         <kernel-features.h>.
29591         [__ASSUME_32BITUIDS]: Make code unconditional.
29592         [!__ASSUME_32BITUIDS]: Remove conditional code.
29593         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29594         <kernel-features.h>.
29595         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29596         unconditional.
29597         (__setresgid): Do not declare.
29598         [__ASSUME_32BITUIDS]: Make code unconditional.
29599         [!__ASSUME_32BITUIDS]: Remove conditional code.
29600         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29601         <kernel-features.h>.
29602         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29603         unconditional.
29604         (__setresuid): Do not declare.
29605         [__ASSUME_32BITUIDS]: Make code unconditional.
29606         [!__ASSUME_32BITUIDS]: Remove conditional code.
29607         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29608         <kernel-features.h>.
29609         [__ASSUME_32BITUIDS]: Make code unconditional.
29610         [!__ASSUME_32BITUIDS]: Remove conditional code.
29611         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29612         <kernel-features.h>.
29613         [__ASSUME_32BITUIDS]: Make code unconditional.
29614         [!__ASSUME_32BITUIDS]: Remove conditional code.
29616 2012-05-25  Richard Henderson  <rth@twiddle.net>
29618         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29619         dl_hwcap to ifunc resolver.
29620         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29621         elf_ifunc_invoke.
29622         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29623         dl_hwcap to ifunc resolver.
29624         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29626 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29628         [BZ #14153]
29629         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29630         for |x| <= 2**-26, not 2**-57.
29631         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29632         exception.
29634 2012-05-24  Jeff Law  <law@redhat.com>
29636         * stdio-common/Makefile (tests): Add bug25.
29637         * stdio-common/bug25.c: New test.
29639 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29641         [BZ #13576]
29642         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29643         multiple of MALLOC_ALIGNMENT in size.
29644         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29646 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29648         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29649         Require >= 256.
29650         (FILENAME_MAX): Use macro-int-constant.
29651         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29652         (_IOFBF): Use macro-int-constant.
29653         (_IOLBF): Likewise.
29654         (_IONBF): Likewise.
29655         (SEEK_CUR): Likewise.
29656         (SEEK_END): Likewise.
29657         (SEEK_SET): Likewise.
29658         (TMP_MAX): Likewise.
29659         (EOF): Use macro-int-constant.  Require < 0.
29660         (NULL): Use macro-constant.  Require == 0.
29661         (stdin): Require type to be FILE *.
29662         (stdout): Likewise.
29663         (stderr): Likewise.
29664         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29665         macro-int-constant.
29666         (EXIT_SUCCESS): Likewise.
29667         (NULL): Use macro-constant.  Require == 0.
29668         (RAND_MAX): Use macro-int-constant.
29669         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29670         [C99-based standards] (strtof): Require function.
29671         [C99-based standards] (strtold): Likewise.
29672         [C99-based standards] (strtoll): Likewise.
29673         [C99-based standards] (strtoull): Likewise.
29674         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29675         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29676         [ISO || ISO99 || ISO11] (math.h): Likewise.
29677         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29678         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29679         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29681 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29683         [BZ #14132]
29684         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29685         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29686         * intl/dgettext.c (DCGETTEXT): Likewise.
29687         * intl/gettext.c (DCGETTEXT): Likewise.
29688         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29689         * posix/regex_internal.h (gettext): Likewise.
29690         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29691         Remove declaration.
29692         * include/argz.h (__argz_count_internal)
29693         (__argz_stringify_internal): Remove declaration.
29694         (__argz_count, __argz_stringify): Declare hidden proto.
29695         * intl/dcgettext.c: Remove use of INTDEF.
29696         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29697         * string/argz-stringify.c: Likewise.
29698         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29699         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29700         Declare hidden proto.
29701         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29702         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29703         Declare hidden proto.
29704         * include/stdio.h (__asprintf_internal): Don't declare.
29705         (__asprintf): Don't define as macro.  Declare hidden proto.
29706         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29707         (__fsetlocking): Declare hidden proto.
29708         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29709         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29710         hidden proto.
29711         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29712         (_IO_setlinebuf): Remove use of INTUSE.
29713         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29714         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29715         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29716         Remove declaration.
29717         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29718         (_IO_do_flush): Remove use of INTUSE.
29719         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29720         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29721         (_IO_adjust_column, _IO_least_wmarker)
29722         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29723         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29724         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29725         (_IO_default_doallocate, _IO_wdefault_doallocate)
29726         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29727         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29728         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29729         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29730         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29731         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29732         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29733         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29734         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29735         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29736         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29737         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29738         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29739         proto.
29740         (_IO_flush_all_internal, _IO_adjust_column_internal)
29741         (_IO_default_uflow_internal, _IO_default_finish_internal)
29742         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29743         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29744         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29745         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29746         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29747         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29748         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29749         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29750         (_IO_file_close_internal, _IO_file_close_it_internal)
29751         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29752         (_IO_file_init_internal, _IO_file_attach_internal)
29753         (_IO_file_fopen_internal, _IO_file_read_internal)
29754         (_IO_file_sync_internal, _IO_file_seek_internal)
29755         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29756         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29757         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29758         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29759         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29760         (_IO_list_all_internal, _IO_link_in_internal)
29761         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29762         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29763         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29764         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29765         (_IO_do_write_internal, _IO_padn_internal)
29766         (_IO_getline_info_internal, _IO_getline_internal)
29767         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29768         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29769         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29770         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29771         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29772         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29773         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29774         with libc_hidden_ver, remove use of INTUSE.
29775         * libio/genops.c: Likewise.
29776         * libio/freopen.c: Likewise.
29777         * libio/freopen64.c: Likewise.
29778         * libio/iofclose.c: Likewise.
29779         * libio/iofdopen.c: Likewise.
29780         * libio/iofflush.c: Likewise.
29781         * libio/iofflush_u.c: Likewise.
29782         * libio/iofgets.c: Likewise.
29783         * libio/iofgets_u.c: Likewise.
29784         * libio/iofopen.c: Likewise.
29785         * libio/iofopncook.c: Likewise.
29786         * libio/iofread.c: Likewise.
29787         * libio/iofread_u.c: Likewise.
29788         * libio/ioftell.c: Likewise.
29789         * libio/iofwrite.c: Likewise.
29790         * libio/iogetline.c: Likewise.
29791         * libio/iogets.c: Likewise.
29792         * libio/iogetwline.c: Likewise.
29793         * libio/iopadn.c: Likewise.
29794         * libio/iopopen.c: Likewise.
29795         * libio/ioseekoff.c: Likewise.
29796         * libio/ioseekpos.c: Likewise.
29797         * libio/iosetbuffer.c: Likewise.
29798         * libio/iosetvbuf.c: Likewise.
29799         * libio/ioungetc.c: Likewise.
29800         * libio/ioungetwc.c: Likewise.
29801         * libio/iovdprintf.c: Likewise.
29802         * libio/iovsprintf.c: Likewise.
29803         * libio/iovsscanf.c: Likewise.
29804         * libio/memstream.c: Likewise.
29805         * libio/obprintf.c: Likewise.
29806         * libio/oldfileops.c: Likewise.
29807         * libio/oldiofclose.c: Likewise.
29808         * libio/oldiofdopen.c: Likewise.
29809         * libio/oldiofopen.c: Likewise.
29810         * libio/oldiopopen.c: Likewise.
29811         * libio/oldstdfiles.c: Likewise.
29812         * libio/putc.c: Likewise.
29813         * libio/setbuf.c: Likewise.
29814         * libio/setlinebuf.c: Likewise.
29815         * libio/stdfiles.c: Likewise.
29816         * libio/strops.c: Likewise.
29817         * libio/vasprintf.c: Likewise.
29818         * libio/vscanf.c: Likewise.
29819         * libio/vsnprintf.c: Likewise.
29820         * libio/vswprintf.c: Likewise.
29821         * libio/wfiledoalloc.c: Likewise.
29822         * libio/wfileops.c: Likewise.
29823         * libio/wgenops.c: Likewise.
29824         * libio/wmemstream.c: Likewise.
29825         * libio/wstrops.c: Likewise.
29826         * libio/__fpurge.c: Likewise.
29827         * libio/__fsetlocking.c: Likewise.
29828         * assert/assert.c: Likewise.
29829         * debug/fgets_chk.c: Likewise.
29830         * debug/fgets_u_chk.c: Likewise.
29831         * debug/fread_chk.c: Likewise.
29832         * debug/fread_u_chk.c: Likewise.
29833         * debug/gets_chk.c: Likewise.
29834         * debug/obprintf_chk.c: Likewise.
29835         * debug/vasprintf_chk.c: Likewise.
29836         * debug/vdprintf_chk.c: Likewise.
29837         * debug/vsnprintf_chk.c: Likewise.
29838         * debug/vsprintf_chk.c: Likewise.
29839         * malloc/mtrace.c: Likewise.
29840         * misc/error.c: Likewise.
29841         * misc/syslog.c: Likewise.
29842         * stdio-common/asprintf.c: Likewise.
29843         * stdio-common/fxprintf.c: Likewise.
29844         * stdio-common/getw.c: Likewise.
29845         * stdio-common/isoc99_fscanf.c: Likewise.
29846         * stdio-common/isoc99_scanf.c: Likewise.
29847         * stdio-common/isoc99_vfscanf.c: Likewise.
29848         * stdio-common/isoc99_vscanf.c: Likewise.
29849         * stdio-common/isoc99_vsscanf.c: Likewise.
29850         * stdio-common/printf-prs.c: Likewise.
29851         * stdio-common/printf_fp.c: Likewise.
29852         * stdio-common/printf_fphex.c: Likewise.
29853         * stdio-common/printf_size.c: Likewise.
29854         * stdio-common/putw.c: Likewise.
29855         * stdio-common/scanf.c: Likewise.
29856         * stdio-common/sprintf.c: Likewise.
29857         * stdio-common/tmpfile.c: Likewise.
29858         * stdio-common/vfprintf.c: Likewise.
29859         * stdio-common/vfscanf.c: Likewise.
29860         * stdlib/strfmon_l.c: Likewise.
29861         * sunrpc/openchild.c: Likewise.
29862         * sunrpc/xdr_stdio.c: Likewise.
29863         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29864         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29866 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29868         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29870         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29871         in the third column, to generate for the shared library an IFUNC
29872         that uses _dl_vdso_vsym.
29873         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29874         * Makeconfig (object-suffixes-noshared): New variable.
29876         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29877         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29878         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29879         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29881         [BZ #14132]
29882         * include/sys/time.h (__gettimeofday): Remove macro.
29883         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29884         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29885         Remove INTDEF.
29886         (__gettimeofday): Add libc_hidden_def.
29887         (gettimeofday): Add libc_hidden_weak.
29888         * sysdeps/mach/gettimeofday.c: Likewise.
29889         * sysdeps/posix/gettimeofday.c: Likewise.
29890         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29891         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29892         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29893         (__gettimeofday_internal): Remove strong_alias.
29894         (__gettimeofday): Add libc_hidden_def.
29895         (gettimeofday): Add libc_hidden_weak.
29896         * sysdeps/unix/syscalls.list (gettimeofday):
29897         Remove __gettimeofday_internal alias.
29899 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29900             H.J. Lu  <hongjiu.lu@intel.com>
29902         [BZ #12495]
29903         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29904         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29905         (largebin_index_32_big): New.
29906         (largebin_index): Use it for 16-byte alignment.
29907         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29908         correction with front_misalign.
29910 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29914         Likewise.
29915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29916         Likewise.
29917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29918         Likewise.
29919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29920         Likewise.
29921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29922         Likewise.
29923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29924         Likewise.
29925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29926         Likewise.
29927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29928         Likewise.
29929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29930         Likewise.
29931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29932         Likewise.
29933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29934         Likewise.
29935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29936         Likewise.
29938         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29939         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29941 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29943         [BZ #10846]
29944         [BZ #14036]
29945         * math/libm-test.inc (exp_test): Add test from bug 14036.
29946         (pow_test): Add test from bug 10846.
29948         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29949         and other flags.
29950         (special_function): Do not include flags in test name.
29951         (parse_args): Likewise.
29952         * sysdeps/i386/fpu/libm-test-ulps: Update.
29953         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29954         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29955         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29958         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29959         exceptions.
29960         * math/libm-test.inc ("Philosophy"): Update comment about
29961         exception testing.
29962         (UNDERFLOW_EXCEPTION): New macro.
29963         (UNDERFLOW_EXCEPTION_OK): Likewise.
29964         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29965         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29966         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29967         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29968         (INVALID_EXCEPTION_OK): Update value.
29969         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29970         (OVERFLOW_EXCEPTION_OK): Likewise.
29971         (IGNORE_ZERO_INF_SIGN): Likewise.
29972         (test_exceptions): Handle underflow exceptions.
29973         (acos_test): Update for underflow exception expectations.
29974         (cexp_test): Likewise.
29975         (clog_test): Likewise.
29976         (clog10_test): Likewise.
29977         (csqrt_test): Likewise.
29978         (ctan_test): Likewise.
29979         (ctanh_test): Likewise.
29980         (exp_test): Likewise.
29981         (exp10_test): Likewise.
29982         (exp2_test): Likewise.
29983         (expm1_test): Likewise.
29984         (fma_test): Likewise.
29985         (j0_test): Likewise.
29986         (jn_test): Likewise.
29987         (nexttoward_test): Likewise.
29988         (pow_test): Likewise.
29989         (scalbn_test): Likewise.
29990         (scalbln_test): Likewise.
29991         (tan_test): Likewise.
29992         (y1_test): Likewise.
29993         * sysdeps/i386/fpu/libm-test-ulps: Update.
29994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29996 2012-05-23  David S. Miller  <davem@davemloft.net>
29998         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29999         (__libc_sigaction): Remove unused local variables.
30001 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30003         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30005 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
30007         mktime: avoid signed integer overflow
30008         * time/mktime.c (__mktime_internal): Do not mishandle the case
30009         where diff == INT_MIN.
30011         mktime: simplify computation of average
30012         * time/mktime.c (ranged_convert): Use new time_t_avg function
30013         instead of rolling our own (probably-slower) code.
30015         mktime: do not assume signed right shift propagates sign bit
30016         * time/mktime.c (isdst_differ): New static function.
30017         (__mktime_internal): No need to normalize tm_isdst now.
30018         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30019         tm_isdst values.
30021         mktime: merge another wrapv change from gnulib
30022         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30023         from some compilers.
30025         mktime: remove incorrect attempt at unusual arithmetics
30026         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30027         The code didn't really work on such machines anyway.
30028         (TYPE_MINIMUM): Assume two's complement.
30029         (twos_complement_arithmetic): Verify that long_int and time_t
30030         are two's complement (or unsigned, in the latter case).
30032         mktime: check signed shifts on long_int and time_t, too
30033         * time/mktime.c (SHR): Check that shifts work as desired
30034         on the types long_int and time_t too, as SHR is used on
30035         such types.
30037         mktime: do not assume 'long' is wide enough
30038         * time/mktime.c (verify): Move decl up.
30039         (long_int): New type.
30040         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30041         to remove assumption in the code that 'long' is wide enough to
30042         store year values.  This assumption is not true on x32 and on
30043         some non-glibc platforms.
30045         mktime: merge wrapv change from gnulib
30046         * time/mktime.c (WRAPV): New macro.
30047         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30048         (guess_time_tm, __mktime_internal): Do not assume that signed
30049         integer overflow wraps around; modern compilers generate code
30050         where this assumption is no longer valid.
30052 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30054         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30055         Replace "jmp L(pseudo_end)" with "ret".
30056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30057         Likewise.
30059 2012-05-23  Andreas Jaeger  <aj@suse.de>
30061         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30062         * sysdeps/unix/sysv/linux/poll.c: Remove file.
30064 2012-05-23  Andreas Jaeger  <aj@suse.de>
30065             Maximilian Attems  <max@stro.at>
30067         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30068         New macros.
30070 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30072         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30073         code so that pseudo_end is just ret and the stack pointer is
30074         correct also for static library in error case.
30076 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
30078         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30079         move to syscalls.list.
30080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30085         * manual/install.texi (Running make install): Do not mention Linux
30086         kernel version for which pt_chown is not needed.
30087         (Linux): Do not mention problems with nscd with 2.0 kernels.
30088         * INSTALL: Regenerated.
30090 2012-05-23  Andreas Jaeger  <aj@suse.de>
30092         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30093         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30094         macro.
30095         * sysdeps/unix/sysv/linux/s390/bits/mman.h
30096         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30097         * sysdeps/unix/sysv/linux/sh/bits/mman.h
30098         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30099         * sysdeps/unix/sysv/linux/i386/bits/mman.h
30100         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30101         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30102         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30103         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30104         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30105         * sysdeps/unix/sysv/linux/bits/in.h
30106         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30108 2012-05-22  Roland McGrath  <roland@hack.frob.com>
30110         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30111         (PREPARE_VERSION): Just use assert instead, it will be elided
30112         under [NDEBUG] anyway.
30114 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30116         * sysdeps/unix/sysv/linux/Makefile: Include
30117         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30118         (sysdep_routines): Remove sysctl.
30119         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30120         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30121         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30122         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30123         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30125 2012-05-22  Andreas Jaeger  <aj@suse.de>
30127         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30128         that pseudo_end is just ret and the stack pointer is correct also
30129         for static library in error case.
30131 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30133         [BZ #14122]
30134         * nss/nsswitch.c (defconfig_entries): New variable.
30135         (__nss_database_lookup): Don't leak defconfig entries.
30136         (nss_parse_service_list): Don't leak on error paths.
30137         (free_database_entries): New function.
30138         (free_defconfig): New function.
30139         (free_mem): Move common code to free_database_entries.
30141 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30143         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30144         Add arch_prctl.
30145         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30147         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30148         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30150         New macro.
30151         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30152         (INTERNAL_SYSCALL_TYPES): Likewise.
30153         (LOAD_ARGS_TYPES_[1-6]): Likewise.
30154         (LOAD_REGS_TYPES_[1-6]): Likewise.
30155         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30156         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30158 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30160         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30161         copysignl for GLIBC_2_0.
30162         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30163         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30164         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30165         logbl for GLIBC_2_0.
30166         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30167         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30169 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30171         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30172         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30174         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30175         Use "neg %eax".
30177         * time/mktime.c: Update copyright years.
30179 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30181         mktime: merge comment-quoting-style change from gnulib
30182         * time/mktime.c: Quote 'like this' in comments.
30183         The GNU coding standards suggest that we no longer quote `like this',
30184         as "`" and "'" are typically rendered asymmetrically nowadays.
30185         The typical gnulib style is to quote 'like this' when quoting
30186         code, and "like this" when quoting English.
30188         * time/mktime.c (compile-command): Add "-I.".
30190         mktime: merge mktime-internal.h change from gnulib
30191         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30193         mktime: merge time_r change from gnulib
30194         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30196         mktime: merge DEBUG change from gnulib
30197         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30198         case system <time.h> has a #define.
30200         mktime: merge <sys/types.h> change from gnulib
30201         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30202         since <time.t> is now guaranteed to define time_t.
30204         mktime: merge HAVE_CONFIG_H change from gnulib
30205         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30207 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30209         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30210         Use "neg %eax".
30212         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30213         __rlim_t cast.
30214         (struct rusage): Use anonymous union to pad each field to
30215         __syscall_slong_t.
30217 2012-05-21  David S. Miller  <davem@davemloft.net>
30219         * Makefules (o-iterator): Remove .s cases.
30220         (compile-command.s): Delete.
30221         (COMPILE.s): Delete.
30222         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30224 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
30226         * configure.in (libc_cv_predef_stack_protector): Only consider
30227         "foobar" and "__stack_chk_fail" lines in libc_undefs.
30228         * configure: Regenerated.
30230 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30232         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30233         New macro.  Use R*LP on int and pointer.
30234         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30235         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30236         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30237         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30239         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30240         [__WORDSIZE_TIME64_COMPAT32] instead of
30241         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30242         (struct utmp): Likewise.
30243         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30244         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30245         Renamed to ...
30246         (__WORDSIZE_TIME64_COMPAT32): This.
30247         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30248         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30249         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30250         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30251         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30252         (__WORDSIZE_TIME64_COMPAT32): New macro.
30254 2012-05-21  Andreas Jaeger  <aj@suse.de>
30256         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30257         only if [SHARED]. Add prototype for __wcschr_ia32.
30259 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30261         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30262         of %rbp unmolested in the jmp_buf while mangling the low bits.
30263         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30264         unmolested high bits of %rbp while demangling the low bits.
30265         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30267 2012-05-21  Andreas Jaeger  <aj@suse.de>
30269         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30270         * sunrpc/svc_simple.c: Use it for registerrpc.
30271         * sunrpc/xcrypt.c: Use it for passwd2des.
30273         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30275 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30277         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30278         Don't define if [__SYSCALL_WORDSIZE != 32].
30279         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30280         New macro.
30282 2012-05-21  Bruno Haible  <bruno@clisp.org>
30283             Andreas Jaeger  <aj@suse.de>
30285         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30286         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30287         inptr and inend for must_buffer_ch.
30288         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30289         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30290         * stdio-common/Makefile (tests): Remove bug15.
30291         (bug15-ENV): Remove macro.
30292         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30293         anymore.
30295 2012-05-19  Andreas Jaeger  <aj@suse.de>
30296             Roland McGrath  <roland@hack.frob.com>
30298         * manual/contrib.texi: Completely rewritten. It contains now an
30299         alphabetical list of contributors and their contributions.
30301 2012-05-21  Richard Henderson  <rth@twiddle.net>
30303         * misc/getauxval.c (__getauxval): Use unsigned long int.
30304         * misc/sys/auxv.h: Include <sys/cdefs.h>.
30305         (getauxval): Use unsigned long int.
30307 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30309         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30311 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30313         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30314         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30315         __alignof__ (long double).
30317 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30321 2012-05-20  Richard Henderson  <rth@twiddle.net>
30323         * misc/getauxval.c: New file.
30324         * misc/sys/auxv.h: New file.
30325         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30326         (routines): Add getauxval.
30327         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30328         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30329         * elf/dl-sysdep.c (_dl_auxv): Remove.
30330         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30331         * elf/dl-support.c (_dl_auxv): New variable.
30332         (_dl_aux_init): Initialize it.
30333         * manual/startup.texi (Auxiliary Vector): New node.
30334         * sysdeps/generic/bits/hwcap.h: New file.
30335         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30336         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
30337         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30338         * sysdeps/sparc/sysdep.h: ... here.  Include it.
30339         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30340         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30342         Update.
30343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30352 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30356 2012-05-19  David S. Miller  <davem@davemloft.net>
30358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30360 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30362         [BZ #14123]
30363         * math/s_ccosh.c: Include <float.h>
30364         (__ccosh): Avoid internal overflow calculating sinh and cosh
30365         values before multiplying by sin and cos values.
30366         * math/s_ccoshf.c: Likewise.
30367         * math/s_ccoshl.c: Likewise.
30368         * math/s_csin.c: Likewise.
30369         * math/s_csinf.c: Likewise.
30370         * math/s_csinl.c: Likewise.
30371         * math/s_csinh.c: Likewise.
30372         * math/s_csinhf.c: Likewise.
30373         * math/s_csinhl.c: Likewise.
30374         * math/libm-test.inc (ccos_test): Add more tests.
30375         (ccosh_test): Likewise.
30376         (csin_test): Likewise.
30377         (csinh_test): Likewise.
30378         * sysdeps/i386/fpu/libm-test-ulps: Update.
30379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30381 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
30383         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30384         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30386         * sysdeps/x86_64/x32/_itoa.h: Add comment.
30388 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30390         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30391         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30392         * sysdeps/powerpc/soft-fp/Versions: Likewise.
30393         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30394         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30395         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30396         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30397         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30398         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30399         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30400         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30401         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30402         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30403         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30404         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30405         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30406         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30407         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30408         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30409         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30410         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30411         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30412         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30413         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30414         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30415         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30416         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30417         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30418         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30419         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30420         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30422 2012-05-18  Andreas Jaeger  <aj@suse.de>
30424         * csu/.gitignore: Delete.
30426 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30428         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30429         (timex): Use __syscall_slong_t.
30431 2012-05-18  Andreas Jaeger  <aj@suse.de>
30432             Carlos O'Donell  <carlos_odonell@mentor.com>
30434         * manual/install.texi (Configuring and compiling): Update
30435         description about files modified in the source directory.
30436         * INSTALL: Regenerated.
30438 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30440         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30441         value.  Use "or" to set return value to -1.
30442         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30443         negate return value.
30445 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30447         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30448         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30449         failure if the compiler has Graphite support disabled.
30450         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30451         Likewise.
30452         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30453         (CFLAGS-memmove.c): Likewise.
30454         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30455         Likewise.
30457 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30459         * sysdeps/x86_64/x32/_itoa.h: New file.
30461         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30462         getdents system call only if kernel and user dirents have the
30463         same d_ino and d_off.
30465         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30466         LLONG_MAX != LONG_MAX.
30467         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30468         (_fitoa_word): Likewise.
30470         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30471         years.
30472         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30473         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30474         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30476         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30477         include <bits/wordsize.h>.  Check __x86_64__ instead of
30478         __WORDSIZE.
30479         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30480         if __x86_64__ is defined.  Use anonymous union on fpstate.
30482         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30483         anonymous union.
30485 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
30487         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30488         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30489         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30490         Refer to _rtld_local_ro instead of _rtld_global_ro.
30491         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30492         Likewise.
30493         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30494         Likewise.
30495         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30496         Likewise.
30497         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30498         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30499         of _rtld_global, and rtld_progname instead of _dl_argv[0].
30501         * sysdeps/powerpc/powerpc32/dl-machine.c
30502         (__elf_machine_runtime_setup) [PROF]: Don't reference
30503         _dl_prof_resolve.
30505 2012-05-18  Andreas Jaeger  <aj@suse.de>
30507         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30508         function only available for GCCs before 3.4 since GCC 3.4
30509         introduced a builtin.
30510         (lrint): Likewise.
30511         (llrintf): Likewise.
30512         (llrint): Likewise.
30513         (fmaxf): Likewise.
30514         (fmax): Likewise.
30515         (fminf): Likewise.
30516         (fmin): Likewise.
30517         (rint): Likewise.
30518         (rintf): Likewise.
30519         (nearbyint): Likewise.
30520         (nearbyintf): Likewise.
30521         (ceil): Likewise.
30522         (ceilf): Likewise.
30523         (floor): Likewise.
30524         (floorf): Likewise.
30526 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30528         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30529         on both fields and cast pointer to __syscall_ulong_t.
30531         * bits/types.h (__fsword_t): New type.
30532         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30533         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30534         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30535         (__FSWORD_T_TYPE): Likewise.
30536         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30537         (__FSWORD_T_TYPE): Likewise.
30538         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30539         (__FSWORD_T_TYPE): Likewise.
30540         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30541         (__FSWORD_T_TYPE): Likewise.
30542         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30543         __SWORD_TYPE with __fsword_t.
30544         (statfs64): Likewise.
30546 2012-05-17  David S. Miller  <davem@davemloft.net>
30548         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30550 2012-05-17  Andreas Jaeger  <aj@suse.de>
30552         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30553         warning.
30555 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30557         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30559 2012-05-17  Andreas Jaeger  <aj@suse.de>
30561         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30562         when it is used.
30564 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30566         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30568 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30570         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30571         * sysdeps/x86_64/tst-mallocalign1.c: New file.
30573 2012-05-17  Andreas Jaeger  <aj@suse.de>
30574             Carlos O'Donell  <carlos_odonell@mentor.com>
30576         [BZ #14059]
30577         * sysdeps/x86_64/multiarch/init-arch.h
30578         (bit_YMM_Usable): Rename to...
30579         (bit_AVX_Usable): ... this.
30580         (bit_FMA4_Usable): New macro.
30581         (bit_XMM_state): New macro.
30582         (bit_YMM_state): New macro.
30583         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30584         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30585         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30586         (CPUID_OSXSAVE): New macro.
30587         (CPUID_AVX): New macro.
30588         (CPUID_FMA4): New macro.
30589         (index_YMM_Usable): Rename to...
30590         (index_AVX_Usable): ... this.
30591         (HAS_AVX): Use HAS_ARCH_FEATURE.
30592         (HAS_FMA4): Likewise.
30593         (HAS_YMM_USABLE): Remove.
30594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30595         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30596         are present.
30597         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30598         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30599         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30600         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30601         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30603 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30605         * math/libm-test.c: Support platforms without multiple rounding modes.
30606         * math/bug-nextafter.c: Support platforms without FP exceptions.
30607         * math/bug-nexttoward.c: Likewise.
30608         * math/test-fenv.c: Likewise.
30609         * math/test-misc.c: Likewise.
30610         * stdlib/bug-getcontext.c: Likewise.
30612 2012-05-17  Andreas Jaeger  <aj@suse.de>
30614         * manual/examples/search.c (critter_cmp): Change signature to
30615         avoid warnings.
30616         * manual/string.texi (Collation Functions): Likewise.
30618 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30620         * bits/types.h: Fold copyright years.
30621         * bits/typesizes.h: Likewise.
30622         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30623         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30624         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30625         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30626         * time/time.h: Likewise.
30628 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30630         [BZ #208]
30631         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30632         in instead of returning them.  Return void.
30633         (__libc_mallinfo): Accumulate over all arenas.
30634         (__malloc_stats): Adjust for change in int_mallinfo interface.
30636 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30638         [BZ #10375]
30639         * configure.in (NM): Add AC_CHECK_TOOL for it.
30640         (libc_extra_cflags): New substituted variable.
30641         Check for -fstack-protector being used implicitly.
30642         * configure: Regenerated.
30643         * config.make.in (config-extra-cflags): New variable,
30644         gets @libc_extra_cflags@.
30645         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30647         [BZ #10375]
30648         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30649         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30650         * configure: Regenerated.
30651         * config.make.in (CPPUNDEFS): New substituted variable.
30652         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30653         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30654         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30656 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30658         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30659         (mq_attr): Use __syscall_slong_t.
30661 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30663         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30664         Check __x86_64__ instead of __WORDSIZE.
30665         (_STAT_VER_LINUX): Likewise.
30666         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30667         __syscall_ulong_t and __syscall_slong_t.
30668         (stat64): Likewise.
30670 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30672         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30674 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30676         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30678 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30680         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30681         __syscall_ulong_t.
30683         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30684         include <bits/wordsize.h>.  Check __x86_64__ instead of
30685         __WORDSIZE.
30686         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30687         defined.
30688         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30690         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30691         include <bits/wordsize.h>.  Check __x86_64__ instead of
30692         __WORDSIZE.
30693         (user_regs_struct): Use "__extension__ unsigned long long"
30694         instead of "unsigned long" if __x86_64__ is defined.
30695         (user): Likewise.  Pad after pointer field if __ILP32__ is
30696         defined.
30698 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30700         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30701         versions 5 to 9.
30702         * configure: Regenerated.
30703         * manual/install.texi (texinfo): Increase version requirement to
30704         4.5 or later.
30705         * INSTALL: Regenerated.
30707         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30709 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30711         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30713         * sysdeps/x86_64/x32/ffs.c: New file.
30715         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30716         __syscall_ulong_t.
30717         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30718         defined.  Use __syscall_ulong_t.
30719         (shminfo): Use __syscall_ulong_t.
30720         (shm_info): Likewise.
30722         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30723         __syscall_ulong_t.
30725         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30726         <bits/wordsize.h>.
30727         (msgqnum_t): Use __syscall_ulong_t.
30728         (msglen_t): Likewise.
30729         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30730         __syscall_ulong_t.
30732         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30733         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30735         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30737         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30738         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30740         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30741         __syscall_slong_t.
30743         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30744         include <bits/wordsize.h>.  Check __x86_64__ instead of
30745         __WORDSIZE.
30747         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30748         "unsigned long long int" if __x86_64__ is defined.
30749         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30751         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30752         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30753         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30755         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30756         <stdint.h>.
30757         (GET_PC): Cast to uintptr_t first.
30758         (GET_FRAME): Likewise.
30759         (GET_STACK): Likewise.
30761         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30762         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30763         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30764         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30765         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30766         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30767         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30768         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30769         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30770         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30771         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30772         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30773         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30774         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30775         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30776         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30777         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30778         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30779         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30780         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30781         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30782         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30783         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30784         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30785         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30786         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30787         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30788         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30789         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30791 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30793         * Makerules (+depfiles): Also collect depfiles from .oS in
30794         $(extra-objs).
30795         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30796         .oS, $(libnldbl-routines)).
30798         * Makerules (native-compile-mkdep-flags): Define.
30799         * sunrpc/Makefile (extra-objs): Add $(addprefix
30800         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30801         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30802         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30803         calling $(make-target-directory).
30805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30807         * bits/types.h (__snseconds_t): Removed.
30808         * time/time.h (struct timespec): Replace __snseconds_t with
30809         __syscall_slong_t.
30810         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30811         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30812         Likewise.
30813         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30814         (__SNSECONDS_T_TYPE): Likewise.
30815         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30816         (__SNSECONDS_T_TYPE): Likewise.
30817         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30818         (__SNSECONDS_T_TYPE): Likewise.
30820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30822         * sysdeps/mach/hurd/bits/typesizes.h
30823         (__SYSCALL_SLONG_TYPE): New macro.
30824         (__SYSCALL_ULONG_TYPE): Likewise.
30826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30828         * bits/types.h (__syscall_slong_t): New type.
30829         (__syscall_ulong_t): Likewise.
30831         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30832         (__SYSCALL_ULONG_TYPE): Likewise.
30833         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30834         (__SYSCALL_SLONG_TYPE): Likewise.
30835         (__SYSCALL_ULONG_TYPE): Likewise.
30836         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30837         (__SYSCALL_SLONG_TYPE): Likewise.
30838         (__SYSCALL_ULONG_TYPE): Likewise.
30839         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30840         (__SYSCALL_SLONG_TYPE): Likewise.
30841         (__SYSCALL_ULONG_TYPE): Likewise.
30843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30845         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30846         Add sigaltstack-offsets.sym.
30847         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30848         <sigaltstack-offsets.h>.
30849         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30850         longjmp_msg pointer.
30851         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30852         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30853         signal stack.
30854         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30856 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30858         * elf/stackguard-macros.h: Remove file.
30859         * sysdeps/generic/stackguard-macros.h: New file.
30860         * sysdeps/i386/stackguard-macros.h: Likewise.
30861         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30862         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30863         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30864         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30865         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30866         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30867         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30868         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30869         <elf/stackguard-macros.h>.
30871         [BZ #14109]
30872         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30873         __aligned__ in attribute.
30874         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30875         (gregset_t): Likewise.
30877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30879         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30880         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30881         * sysdeps/x86_64/x32/Implies-after: New file.
30883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30885         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30886         and access return value for _dl_profile_fixup.  Use R10_LP to
30887         load frame size.
30889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30891         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30895         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30896         * sysdeps/x86_64/x32/sysdep.h: New file.
30898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30900         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30901         * sysdeps/x86_64/setjmp.S: Likewise.
30903 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30905         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30906         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30907         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30908         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30909         remove unused global constant.
30911 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30913         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30914         include of <not-cancel.h>.
30916 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30918         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30920 2012-05-15  Jeff Law  <law@redhat.com>
30921             Andreas Jaeger  <aj@suse.de>
30923         [BZ #13594]
30924         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30925         out from...
30926         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30927         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30928         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30929         code changing __hst_map_handle.map.
30931 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30933         * configure.in (sysnames): Look for Implies-before and Implies-after
30934         files.
30935         * configure: Regenerated.
30937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30939         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30940         8-byte data alignment with LP_SIZE alignment.
30942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30944         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30945         into R10_LP.
30947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30949         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30953         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30954         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30955         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30956         Likewise.
30957         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30961         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30962         (stackinfo_sub_sp): Likewise.
30964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30966         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30967         RAX_LP.
30969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30971         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30972         into R*_LP.
30974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30976         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30977         sizes into R*_LP.
30979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30981         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30985         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30986         into R11_LP and load __x86_64_shared_cache_size_half into
30987         R8_LP.
30989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30991         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30992         R8_LP.
30994 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30996         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30997         logb for POWER7.
30998         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30999         logbf for POWER7.
31000         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31001         logbl for POWER7.
31002         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31003         powerpc32/power7/fpu/s_logb.c via #include.
31004         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31005         powerpc32/power7/fpu/s_logbf.c via #include.
31006         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31007         powerpc32/power7/fpu/s_logbl.c via #include.
31009 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31011         * README.libm: Remove file.
31013 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31015         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31016         count for x32.  Use R*_LP and omit operand-size suffix.
31018 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31020         * shlib-versions: Move x86_64-.*-linux.* entries to ...
31021         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
31022         * sysdeps/x86_64/x32/shlib-versions: New file.
31024 2012-05-14  Roland McGrath  <roland@hack.frob.com>
31026         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31027         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31028         Use _dl_fatal_printf instead.
31030 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31032         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31033         set if not set by the user.  Do not allow for being unset.
31034         * sysdeps/unix/sysv/linux/configure: Regenerated.
31036 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31038         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31039         the `q' suffix from lea and replace .quad with ASM_ADDR.
31041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31044         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
31045         instead of $17.
31046         (PTR_DEMANGLE): Likewise.
31048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31050         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31051         (LP_OP): Likewise.
31052         (ASM_ADDR): Likewise.
31053         (RAX_LP): Likewise.
31054         (RBP_LP): Likewise.
31055         (RBX_LP): Likewise.
31056         (RCX_LP): Likewise.
31057         (RDI_LP): Likewise.
31058         (RSI_LP): Likewise.
31059         (RSP_LP): Likewise.
31060         (R8_LP): Likewise.
31061         (R9_LP): Likewise.
31062         (R10_LP): Likewise.
31063         (R10_LP): Likewise.
31064         (R11_LP): Likewise.
31065         (R12_LP): Likewise.
31066         (R13_LP): Likewise.
31067         (R14_LP): Likewise.
31068         (R15_LP): Likewise.
31070 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31072         * sysdeps/x86_64/x32/dl-machine.h: New file.
31074 2012-05-14  Andreas Jaeger  <aj@suse.de>
31076         * manual/Makefile (subdir): Remove export of subdir.
31077         (all): Remove target.
31078         (.PHONY): Remove all from list.
31079         (mkinstalldirs): Remove.
31080         (.PHONY): Remove installdirs from list.
31081         ($(inst_infodir)/libc.info): Use make-target-directory.
31082         (installdirs): Remove.
31083         (subdir_%): Remove.
31084         (glibc-targets): Remove.
31085         (lib): Remove.
31086         (stubs): Remove.
31087         ($(objpfx)stubs ../po/manual.pot): Remove.
31088         ($(objpfx)stamp%): Remove.
31089         (make-target-directory): Remove.
31090         (subdir_install): Remove.
31091         (routines): Remove.
31092         (aux): Remove.
31093         (sources): Remove.
31094         (objects): Remove.
31095         (headers): Remove.
31097         [BZ #13750]
31098         * manual/.gitignore: Remove, it's not needed anymore.
31099         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31100         all files in it.
31101         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31102         directory.
31103         (texis): Renamed to $(objpfx)texis.
31104         (texis-path): New, contains path to generated files.
31105         (chapters.%): Use texis-path for complete path, add extra argument
31106         libc-texinfo.sh.
31107         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31108         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31109         (summary,texi, stamp-summary): Use complete path of
31110         files. Generate files in build dir.
31111         (dir-add.texi): Build in build dir.
31112         (libm-err.texi,stamp-libm-err): Likewise.
31113         (version.texi, stamp-version): Likewise.
31114         (.%c.texi): Likewise.
31115         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31116         (mostlyclean): Remove target.
31117         (realclean): Remove target.
31118         (generated): Add new variable with contents from mostlyclean and
31119         realclean, remove entries duplicated in common-mostlyclean, add
31120         stamp-libm-err and stamp-version.
31121         (generated-dirs): Add libc directory.
31122         ($(inst_infodir)/libc.info): Install files from build dir.
31124         * manual/install.texi (Configuring and compiling): Adjust since
31125         the info files are not part of the tar ball anymore.
31127 2012-05-14  Andreas Jaeger  <aj@suse.de>
31129         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31130         variable.
31132 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31134         [BZ #13717]
31135         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31136         to 2.2.0 where earlier.
31137         * sysdeps/unix/sysv/linux/configure: Regenerated.
31138         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31139         Remove conditional code.
31140         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31141         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31142         Remove conditional code.
31143         [!__NR_lchown]: Likewise.
31144         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31145         [__NR_lchown]: Likewise.
31146         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31147         comment referencing __ASSUME_LCHOWN_SYSCALL.
31148         * sysdeps/unix/sysv/linux/i386/sigaction.c
31149         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31150         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31151         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31152         Remove conditional code.
31153         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31154         (__protocol_available): Remove #if 0 code.
31155         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31156         conditional code.
31157         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31158         * sysdeps/unix/sysv/linux/kernel-features.h
31159         (__ASSUME_GETCWD_SYSCALL): Don't define.
31160         (__ASSUME_REALTIME_SIGNALS): Likewise.
31161         (__ASSUME_PREAD_SYSCALL): Likewise.
31162         (__ASSUME_PWRITE_SYSCALL): Likewise.
31163         (__ASSUME_POLL_SYSCALL): Likewise.
31164         (__ASSUME_LCHOWN_SYSCALL): Likewise.
31165         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31166         non-SPARC.
31167         (__ASSUME_SIOCGIFNAME): Don't define.
31168         (__ASSUME_MSG_NOSIGNAL): Likewise.
31169         (__ASSUME_SENDFILE): Define unconditionally.
31170         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31171         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31172         conditional code.
31173         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31174         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31175         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31176         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31177         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31178         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31179         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31181         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31182         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31184         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31185         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31187         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31188         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31190         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31191         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31193         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31194         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31196         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31197         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31199         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31200         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31202         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31203         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31204         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31205         Remove conditional code.
31206         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31207         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31208         Remove conditional code.
31209         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31210         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31211         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31212         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31213         Remove conditional code.
31214         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31215         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31216         Remove conditional code.
31217         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31218         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31219         Remove conditional code.
31220         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31221         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31222         Remove conditional code.
31223         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31224         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31225         Remove conditional code.
31226         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31227         * sysdeps/unix/sysv/linux/sh/pwrite64.c
31228         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31229         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31230         * sysdeps/unix/sysv/linux/sigaction.c
31231         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31232         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31233         * sysdeps/unix/sysv/linux/sigpending.c
31234         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31235         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31236         * sysdeps/unix/sysv/linux/sigprocmask.c
31237         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31238         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31239         * sysdeps/unix/sysv/linux/sigsuspend.c
31240         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31241         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31242         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31243         (__libc_missing_rt_sigs): Remove.
31244         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31245         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31246         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31247         Remove conditional code.
31248         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31249         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31250         return 1.
31251         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31252         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31253         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31254         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31256 2012-05-14  Andreas Jaeger  <aj@suse.de>
31258         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31259         it's not used in glibc.
31260         (__coshm1): Likewise.
31261         (__acosh1p): Likewise.
31262         (__sgn): Likewise.
31264         * manual/string.texi (Copying and Concatenation): Add missing
31265         variable in concat example.
31266         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31268 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31270         [BZ #14103]
31271         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31272         __builtin_clzl with __builtin_clzll.
31274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31276         [BZ #14104]
31277         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31278         libc_freeres_ptr.
31280 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31282         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31283         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31284         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31285         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31287 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
31289         * NEWS: Update ia64 info.
31291 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
31293         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31294         used as bcopy.
31296 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
31298         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31299         * sysdeps/unix/syscalls.list (dup3): Likewise.
31300         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31301         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31303 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31305         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31306         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31308 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31310         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31311         thread pointer.
31312         (TLS_IE): Use mov/add instead of movq/addq to load thread
31313         pointer.
31314         (TLS_GD_PREFIX): New.
31315         (TLS_GD): Use it.
31317 2012-05-11  David S. Miller  <davem@davemloft.net>
31319         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31320         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31321         (_FPU_SETCW): Likewise.
31323 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31325         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31326         is 32-byte aligned.
31328 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
31330         [BZ #11837]
31331         * iconvdata/gb18030.c: Update tables.
31332         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
31333         characters specially.
31334         (BODY for TO_LOOP): Add encoding of missing ranges.
31336 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
31338         [BZ #13673]
31339         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31340         * sysdeps/mach/hurd/dup3.c: Likewise.
31341         * sysdeps/mach/hurd/readlinkat.c: Likewise.
31342         * sysdeps/powerpc/memmove.c:: Likewise.
31344 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31346         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31347         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31349 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31351         * elf/elf.h (R_X86_64_RELATIVE64): New.
31352         (R_X86_64_NUM): Updated.
31353         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31354         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
31355         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31356         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31357         tst-quad1pie tst-quad2pie
31358         (modules-names): Add tst-quadmod1 tst-quadmod2.
31359         ($(objpfx)tst-quad1): New dependency.
31360         ($(objpfx)tst-quad2): Likewise.
31361         ($(objpfx)tst-quad1pie): Likewise.
31362         ($(objpfx)tst-quad2pie): Likewise.
31363         * sysdeps/x86_64/tst-quad1.c: New file.
31364         * sysdeps/x86_64/tst-quad1pie.c: New file.
31365         * sysdeps/x86_64/tst-quad2.c: Likewise.
31366         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31367         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31368         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31369         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31370         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31372 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31374         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31375         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31376         * streams/stropts.h (t_scalar_t): Define type.
31378         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31379         (_PATH_PRESERVE): Set to "/var/lib".
31380         (_PATH_RWHODIR): Set to "/var/spool/rwho".
31382         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31383         instead of int.
31385         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31386         if __dir_mkfile succeeded.
31388         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31389         checking for _hurd_dtablesize.  Unlock it right after having
31390         finished _hurd_dtable allocation.
31392 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31394         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31395         * sysdeps/mach/hurd/configure: Regenerated.
31396         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31397         special-casing to...
31398         * sysdeps/gnu/configure.in: ... this new file.
31399         * sysdeps/unix/sysv/linux/configure: Regenerated.
31400         * sysdeps/gnu/configure: New generated file.
31402         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31403         for Linux: use nsec instead of usec, as well as:
31404         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31405         members of type struct timespec.
31406         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31407         New macros.
31408         (struct stat64): Likewise.
31409         (_STATBUF_ST_NSEC): New macro.
31410         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31412         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31413         __strtoul_internal rather than strtoul.
31415 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31417         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31418         and reject them.
31420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31422         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31423         which preserves existing values.
31424         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31426 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31428         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31429         TIMEOUT values.  Return EINVAL for NFDS values either negative or
31430         greater than FD_SETSIZE.
31432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31434         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31435         allocated, call __vm_protect to finish enabling the existing space, and
31436         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31437         allocate the remainder.
31439 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31441         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31442         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
31444 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31446         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31447         sysdeps/mach/hurd/readlink.c.
31449         * posix/tst-sysconf.c (posix_options): Only use
31450         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31451         _POSIX_SYNCHRONIZED_IO when they are defined
31452         * sysdeps/mach/hurd/bits/posix_opt.h:
31453         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31454         (_XOPEN_REALTIME): Undefine macro.
31455         (_XOPEN_REALTIME_THREADS): Undefine macro.
31456         (_XOPEN_SHM): Undefine macro.
31457         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31458         macro to -1.
31459         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31460         macro to -1.
31461         (_POSIX_ASYNC_IO): Undefine macro.
31462         (_POSIX_PRIORITIZED_IO): Undefine macro.
31463         (_POSIX_SPIN_LOCKS): Define macro to -1.
31465         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31466         SA_NODEFER, SA_RESETHAND.
31467         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31468         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31469         F_DUPFD_CLOEXEC.
31471 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31473         * elf/Makefile (pldd-modules): Define unconditionally.
31475 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31477         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31479 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31481         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31482         Return ENOENT when name is empty.
31483         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31487         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31489         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31491 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31493         Fix mlock in all cases except non-readable pages.
31494         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31495         instead of VM_PROT_ALL as parameter to __vm_wire function.
31497         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31498         (__mkdir): When path is `/', just fail with EEXIST.
31499         * sysdeps/mach/hurd/mkdirat.c: Likewise.
31501 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31503         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31504         <sys/uio.h> (for writev).
31505         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31506         and <sys/param.h> (for MIN).
31508 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31510         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31511         REQUESTED_TIME.  Properly set the remaining time and return EINTR
31512         if interrupted.
31514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31516         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31517         Depend on against $(link-rpcuserlibs).
31519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31521         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31522         (__libc_stack_end): Do not use attribute_relro.
31523         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31524         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31525         to libthread-provided value.
31526         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31527         attribute_relro.
31529 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31531         [BZ #3748]
31532         * bits/libc-lock.h (__libc_once_get): New macro.
31533         * sysdeps/mach/bits/libc-lock.h: Likewise.
31534         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31535         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31536         instead of using implementation details.
31538         * libio/fileops.c: Unconditionally include <kernel-features.h>.
31539         * libio/freopen.c: Likewise.
31540         * libio/freopen64.c: Likewise.
31541         * misc/syslog.c: Likewise.
31542         * nscd/connections.c: Likewise.
31543         * nscd/netgroupcache.c: Likewise.
31544         * sysdeps/posix/getcwd.c: Likewise.
31546 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31548         * math/w_ilogbf.c: Add #include <limits.h>.
31550 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31552         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31553         path instead of returning without unlocking.
31555         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31556         immediate-write ioctls.
31557         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31559 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31561         * sysdeps/mach/hurd/i386/init-first.c (init): Use
31562         __builtin_frame_address instead of making assumptions about the
31563         location of the return address relative to DATA.  Force early load of
31564         the return address.
31565         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31566         __builtin_frame_address.
31568         dup3 for GNU Hurd.
31569         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31570         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
31571         implement dup3 and do some further code clean-ups.
31572         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31573         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31575 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31577         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31579         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31580         HURD_CRITICAL_END around holding _hurd_dtable_lock.
31581         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31582         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31583         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31584         d->port.lock.
31586         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31587         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31588         when handler == SIG_ERR, not when handler != SIG_ERR.
31590 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31592         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31593         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31594         definitions.
31596         accept4 for GNU Hurd.
31597         * include/sys/socket.h (__libc_accept4): New prototype.
31598         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31599         to implement __libc_accept4.
31600         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31601         __libc_accept4.
31602         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31604         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31605         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31606         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31607         signal-defines.sym.
31609 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31611         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31613 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31615         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31616         assertion on O_CLOEXEC flag.
31617         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31618         * hurd/intern-fd.c: Likewise.
31619         * hurd/port2fd.c: Likewise.
31621 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31623         [BZ #3906]
31624         * bits/in.h (IPV6_PKTINFO): Define new macro.
31625         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31627 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31629         [BZ #13954]
31630         [BZ #13955]
31631         [BZ #13956]
31632         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31634         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31635         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31636         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31637         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31638         * math/libm-test.inc (logb_test) : Additional logb tests.
31640 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31641             Andreas Jaeger  <aj@suse.de>
31643         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31644         * configure: Regenerated.
31645         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31646         * config.make.in (link-obsolete-rpc): New substituted variable.
31647         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31648         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31649         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31650         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31651         so that libc.a contains the symbols.
31652         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31653         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31654         * sunrpc/auth_none.c: Likewise.
31655         * sunrpc/auth_unix.c: Likewise.
31656         * sunrpc/authdes_prot.c: Likewise.
31657         * sunrpc/authuxprot.c: Likewise.
31658         * sunrpc/clnt_gen.c: Likewise.
31659         * sunrpc/clnt_perr.c: Likewise.
31660         * sunrpc/clnt_raw.c: Likewise.
31661         * sunrpc/clnt_simp.c: Likewise.
31662         * sunrpc/clnt_tcp.c: Likewise.
31663         * sunrpc/clnt_udp.c: Likewise.
31664         * sunrpc/clnt_unix.c: Likewise.
31665         * sunrpc/des_crypt.c: Likewise.
31666         * sunrpc/des_soft.c: Likewise.
31667         * sunrpc/get_myaddr.c: Likewise.
31668         * sunrpc/key_call.c: Likewise.
31669         * sunrpc/key_prot.c: Likewise.
31670         * sunrpc/netname.c: Likewise.
31671         * sunrpc/pm_getmaps.c: Likewise.
31672         * sunrpc/pm_getport.c: Likewise.
31673         * sunrpc/pmap_clnt.c: Likewise.
31674         * sunrpc/pmap_prot.c: Likewise.
31675         * sunrpc/pmap_prot2.c: Likewise.
31676         * sunrpc/pmap_rmt.c: Likewise.
31677         * sunrpc/publickey.c: Likewise.
31678         * sunrpc/rpc_cmsg.c: Likewise.
31679         * sunrpc/rpc_common.c: Likewise.
31680         * sunrpc/rpc_dtable.c: Likewise.
31681         * sunrpc/rpc_prot.c: Likewise.
31682         * sunrpc/rpc_thread.c: Likewise.
31683         * sunrpc/rtime.c: Likewise.
31684         * sunrpc/svc.c: Likewise.
31685         * sunrpc/svc_auth.c: Likewise.
31686         * sunrpc/svc_raw.c: Likewise.
31687         * sunrpc/svc_run.c: Likewise.
31688         * sunrpc/svc_tcp.c: Likewise.
31689         * sunrpc/svc_udp.c: Likewise.
31690         * sunrpc/svc_unix.c: Likewise.
31691         * sunrpc/svcauth_des.c: Likewise.
31692         * sunrpc/xcrypt.c: Likewise.
31693         * sunrpc/xdr.c: Likewise.
31694         * sunrpc/xdr_array.c: Likewise.
31695         * sunrpc/xdr_float.c: Likewise.
31696         * sunrpc/xdr_intXX_t.c: Likewise.
31697         * sunrpc/xdr_mem.c: Likewise.
31698         * sunrpc/xdr_rec.c: Likewise.
31699         * sunrpc/xdr_ref.c: Likewise.
31700         * sunrpc/xdr_sizeof.c: Likewise.
31701         * sunrpc/xdr_stdio.c: Likewise.
31703 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31705         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31706         change.  Update copyright years.
31708 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31710         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31712 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31713             Joseph Myers  <joseph@codesourcery.com>
31714             Paul Pluzhnikov  <ppluzhnikov@google.com>
31716         [BZ #14012]
31717         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31718         requiring rpcgen.
31719         [cross-compiling] (extra-libs): Likewise.
31720         [cross-compiling] (extra-libs-others): Likewise.
31721         [cross-compiling] (librpcsvc-routines): Likewise.
31722         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31723         [cross-compiling] (omit-deps): Likewise.
31724         (sunrpc-CPPFLAGS): New variable.
31725         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31726         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31727         (cross-rpcgen-objs): New variable.
31728         (extra-objs): Append $(cross-rpcgen-objs).
31729         ($(cross-rpcgen-objs)): New rule.
31730         ($(objpfx)cross-rpcgen): Likewise.
31731         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31732         comment.
31733         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31734         ($(objpfx)x%.stmp): Likewise.
31735         * sunrpc/proto.h [IS_IN_build] (_): Define.
31736         [IS_IN_build] (_libc_intl_domainname): Likewise.
31738 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31740         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31741         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31742         and R_X86_64_TPOFF64.
31744 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31746         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31747         sysdeps/unix/sysv/syscalls.list.
31748         (stime): Likewise.
31749         (utime): Likewise.
31750         * sysdeps/unix/sysv/syscalls.list: Remove file.
31752 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31754         [BZ #3440]
31755         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31756         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31757         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31758         (__LC_IDENTIFICATION): Make these macros useful in #if
31759         expressions, as required by C99.
31761 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31763         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31764         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31765         after this.
31767 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31769         * stdlib/longlong.h: Updated from GCC.
31771 2012-05-09  Andreas Jaeger  <aj@suse.de>
31773         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31774         default is first entry.
31775         (run_mode): Set type.
31776         (main): Remove informal message about syslog.
31777         (options): Fix typo.
31779         [BZ #14053]
31780         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31781         to asm.
31782         (lrint): Likewise.
31783         (llrintf): Likewise.
31784         (llrint): Likewise.
31785         (rint): Likewise.
31786         (rintf): Likewise.
31787         (nearbyint): Likewise.
31788         (nearbyintf): Likewise.
31790 2012-05-09  Andreas Jaeger  <aj@suse.de>
31791             Pedro Alves  <palves@redhat.com>
31793         * nscd/nscd.c (run_mode): Use enum.
31794         (main): Cleanup coding style issue.
31796 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31797             Andreas Jaeger  <aj@suse.de>
31799         * nscd/nscd.c (go_background): Replaced with...
31800         (run_mode): ... this.
31801         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31802         (options): Add -F --foreground.
31803         (main): Implement it.
31804         (parse_opt): Parse it.
31806 2012-05-09  Andreas Jaeger  <aj@suse.de>
31808         [BZ #14083]
31809         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31810         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31811         -Wconversion warning.
31812         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31813         Likewise.
31815 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31817         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31818         == 0.
31819         (LC_ALL): Use macro-int-constant.
31820         (LC_COLLATE): Likewise.
31821         (LC_CTYPE): Likewise.
31822         (LC_MESSAGES): Likewise.
31823         (LC_MONETARY): Likewise.
31824         (LC_NUMERIC): Likewise.
31825         (LC_TIME): Likewise.
31826         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31827         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31828         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31829         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31830         Specify type.
31831         [C99-based standards] (float_t): Expect type.
31832         [C99-based standards] (double_t): Expect type.
31833         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31834         type.
31835         [C99-based standards] (HUGE_VALL): Likewise.
31836         [C99-based standards] (INFINITY): Likewise.
31837         [C99-based standards] (NAN): Likewise.
31838         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31839         [C99-based standards] (FP_NAN): Likewise.
31840         [C99-based standards] (FP_NORMAL): Likewise.
31841         [C99-based standards] (FP_SUBNORMAL): Likewise.
31842         [C99-based standards] (FP_ZERO): Likewise.
31843         [C99-based standards] (FP_FAST_FMA): Use
31844         optional-macro-int-constant.  Specify type.  Require == 1.
31845         [C99-based standards] (FP_FAST_FMAF): Likewise.
31846         [C99-based standards] (FP_FAST_FMAL): Likewise.
31847         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31848         [C99-based standards] (FP_ILOGBNAN): Likewise.
31849         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31850         Specify type.
31851         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31852         [C99-based standards] (math_errhandling): Specify type.
31853         [ISO99 || ISO11] (signgam): Do not allow.
31854         [non-C99-based standards] (copysignf): Do not allow.
31855         [non-C99-based standards] (exp2f): Likewise.
31856         [non-C99-based standards] (log2f): Likewise.
31857         [non-C99-based standards] (modff): Allow.
31858         [non-C99-based standards] (erff): Do not allow.
31859         [non-C99-based standards] (erfcf): Likewise.
31860         [non-C99-based standards] (gammaf): Likewise.
31861         [non-C99-based standards] (hypotf): Likewise.
31862         [non-C99-based standards] (j0f): Likewise.
31863         [non-C99-based standards] (j1f): Likewise.
31864         [non-C99-based standards] (jnf): Likewise.
31865         [non-C99-based standards] (lgammaf): Likewise.
31866         [non-C99-based standards] (tgammaf): Likewise.
31867         [non-C99-based standards] (y0f): Likewise.
31868         [non-C99-based standards] (y1f): Likewise.
31869         [non-C99-based standards] (ynf): Likewise.
31870         [non-C99-based standards] (isnanf): Likewise.
31871         [non-C99-based standards] (acoshf): Likewise.
31872         [non-C99-based standards] (asinhf): Likewise.
31873         [non-C99-based standards] (atanhf): Likewise.
31874         [non-C99-based standards] (cbrtf): Likewise.
31875         [non-C99-based standards] (expm1f): Likewise.
31876         [non-C99-based standards] (ilogbf): Likewise.
31877         [non-C99-based standards] (log1pf): Likewise.
31878         [non-C99-based standards] (logbf): Likewise.
31879         [non-C99-based standards] (nextafterf): Likewise.
31880         [non-C99-based standards] (remainderf): Likewise.
31881         [non-C99-based standards] (rintf): Likewise.
31882         [non-C99-based standards] (scalbf): Likewise.
31883         [non-C99-based standards] (copysignl): Likewise.
31884         [non-C99-based standards] (exp2l): Likewise.
31885         [non-C99-based standards] (log2l): Likewise.
31886         [non-C99-based standards] (modfl): Allow.
31887         [non-C99-based standards] (erfl): Do not allow.
31888         [non-C99-based standards] (erfcl): Likewise.
31889         [non-C99-based standards] (gammal): Likewise.
31890         [non-C99-based standards] (hypotl): Likewise.
31891         [non-C99-based standards] (j0l): Likewise.
31892         [non-C99-based standards] (j1l): Likewise.
31893         [non-C99-based standards] (jnl): Likewise.
31894         [non-C99-based standards] (lgammal): Likewise.
31895         [non-C99-based standards] (tgammal): Likewise.
31896         [non-C99-based standards] (y0l): Likewise.
31897         [non-C99-based standards] (y1l): Likewise.
31898         [non-C99-based standards] (ynl): Likewise.
31899         [non-C99-based standards] (isnanl): Likewise.
31900         [non-C99-based standards] (acoshl): Likewise.
31901         [non-C99-based standards] (asinhl): Likewise.
31902         [non-C99-based standards] (atanhl): Likewise.
31903         [non-C99-based standards] (cbrtl): Likewise.
31904         [non-C99-based standards] (expm1l): Likewise.
31905         [non-C99-based standards] (ilogbl): Likewise.
31906         [non-C99-based standards] (log1pl): Likewise.
31907         [non-C99-based standards] (logbl): Likewise.
31908         [non-C99-based standards] (nextafterl): Likewise.
31909         [non-C99-based standards] (remainderl): Likewise.
31910         [non-C99-based standards] (rintl): Likewise.
31911         [non-C99-based standards] (scalbl): Likewise.
31912         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31913         [non-C99-based standards] (FP_*): Do not allow.
31914         [C99-based standards] (FP_*): Change to
31915         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31916         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31917         allow.
31918         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31919         (SIG_ERR): Likewise.
31920         [X/Open-based standards] (SIG_HOLD): Likewise.
31921         (SIG_IGN): Likewise.
31922         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31923         positive value.
31924         (SIGFPE): Likewise.
31925         (SIGILL): Likewise.
31926         (SIGINT): Likewise.
31927         (SIGSEGV): Likewise.
31928         (SIGTER): Likewise.
31929         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31930         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31931         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31932         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31933         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31934         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31935         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31936         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31937         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31938         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31939         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31940         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31941         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31942         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31943         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31944         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31945         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31946         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31947         [X/Open-based standards] (SIGTRAP): Likewise.
31948         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31949         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31950         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31951         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31952         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31953         allow.
31955 2012-05-08  Ian Wienand  <ianw@vmware.com>
31957         [BZ #14080]
31958         * time/tzset.c (__tzset_parse_tz): Update default rules for
31959         daylight time changes in the Energy Policy Act of 2005.
31961 2012-05-09  Andreas Jaeger  <aj@suse.de>
31963         [BZ #13983]
31964         * elf/ldconfig.c (parse_conf): Change string to make clear that
31965         ldconfig only issued a warning if ld.so.conf does not exist.
31967 2012-05-08  David S. Miller  <davem@davemloft.net>
31969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31970         movxtod instead of popping the value on the stack.
31972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31974 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31976         * config.h.in: Add HAVE_ARM_PCS_VFP.
31978 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31980         [BZ #13979]
31981         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31982         checking but the checks are disabled for any reason.
31984 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31986         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31987         and ELF64_R_TYPE with ELFW(R_TYPE).
31989 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31991         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31992         (ulimit): Likewise.
31994         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31995         (settimeofday): Likewise.
31997 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31999         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
32000         a struct th_u2 inside the union, and move tu_block/tu_code into
32001         a new th_u3 union of tu_block/tu_code inside of that.  Move
32002         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
32003         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
32004         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32005         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32006         (th_stuff): Change to th_u1.tu_stuff.
32007         (th_data): Define.
32008         (th_msg): Change to th_u1.th_u2.tu_data.
32010 2012-05-07  David S. Miller  <davem@davemloft.net>
32012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32014         [BZ #14074]
32015         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32016         (SETUP_PIC_REG): Use it.
32017         (SETUP_PIC_REG_LEAF): Use it.
32019 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
32021         [BZ #13885]
32022         [BZ #13923]
32023         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32024         USE_AS_EXPM1L.
32025         (EXPL_FINITE): Likewise.
32026         (FLDLOG): Likewise.
32027         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32028         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32029         e_expl.S.
32030         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32031         USE_AS_EXPM1L.
32032         (EXPL_FINITE): Likewise.
32033         (FLDLOG): Likewise.
32034         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32035         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32036         e_expl.S.
32037         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
32038         test of -max_value argument for long double.
32039         * sysdeps/i386/fpu/libm-test-ulps: Update.
32040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32042 2012-05-06  David S. Miller  <davem@davemloft.net>
32044         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32045         quad soft-float symbols whose references which are compiler
32046         generated.
32047         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32049 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
32051         [BZ #13884]
32052         [BZ #13914]
32053         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32054         USE_AS_EXP10L.
32055         (EXPL_FINITE): Likewise.
32056         (FLDLOG): Likewise.
32057         (c0): Likewise.
32058         (c1): Likewise.
32059         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32060         Adjust comments for base varying.
32061         (__expl_finite): Change alias to EXPL_FINITE.
32062         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32063         e_expl.S.
32064         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32065         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32066         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32067         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32068         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32069         USE_AS_EXP10L.
32070         (EXPL_FINITE): Likewise.
32071         (FLDLOG): Likewise.
32072         (c0): Likewise.
32073         (c1): Likewise.
32074         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32075         Adjust comments for base varying.
32076         (__expl_finite): Change alias to EXPL_FINITE.
32077         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
32078         tests for bugs.
32079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32081         [BZ #14064]
32082         * math/libm-test.inc (check_float_internal): Correct ulp
32083         calculation for subnormal expected results.
32085 2012-05-06  Andreas Jaeger  <aj@suse.de>
32087         * Makeconfig (+math-flags): New, set to -frounding-math.
32088         (+cflags): Add +math-flags so that all of glibc gets compiled with
32089         it.
32091         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32093 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
32095         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32096         Disable one test.
32098         [BZ #13787]
32099         [BZ #13922]
32100         [BZ #14036]
32101         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32102         (__ieee754_expl): Allow for and saturate large arguments.
32103         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32104         (u_threshold): Likewise.
32105         (__exp): Call __ieee754_exp before checking for overflow and
32106         underflow.
32107         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32108         (u_threshold): Likewise.
32109         (__expf): Call __ieee754_expf before checking for overflow and
32110         underflow.
32111         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32112         (u_threshold): Likewise.
32113         (__expl): Call __ieee754_expl before checking for overflow and
32114         underflow.
32115         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32116         (__ieee754_expl): Allow for and saturate large arguments.
32117         * math/libm-test.inc (exp_test): Add another test.  Do not allow
32118         missing overflow exception on overflow.
32119         (expm1_test): Do not allow missing overflow exception on overflow.
32121         * sysdeps/i386/fpu/e_expl.c: Move to ...
32122         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
32123         rather than using inline asm.
32124         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32125         * sysdeps/x86_64/fpu/e_expl.S: Copy from
32126         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32128         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32129         (nice): Likewise.
32130         (poll): Likewise.
32131         (signal): Likewise.
32132         (time): Likewise.
32133         (times): Likewise.
32135 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32137         * sysdeps/unix/syscalls.list (adjtime): Add entry from
32138         sysdeps/unix/common/syscalls.list.
32139         (fchmod): Likewise.
32140         (fchown): Likewise.
32141         (ftruncate): Likewise.
32142         (getrusage): Likewise.
32143         (gettimeofday): Likewise.
32144         (setpgid): Likewise.
32145         (setregid): Likewise.
32146         (setreuid): Likewise.
32147         (sigaction): Likewise.
32148         (truncate): Likewise.
32149         (vhangup): Likewise.
32150         * sysdeps/unix/common/syscalls.list: Remove file.
32151         * sysdeps/unix/bsd/Implies: Don't include unix/common.
32152         * sysdeps/unix/sysv/linux/Implies: Likewise.
32154 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
32156         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32158         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32159         Moved to ...
32160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32161         Here.
32162         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32163         to ...
32164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32165         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32166         to ...
32167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32168         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32169         to ...
32170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32171         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32172         to ...
32173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32174         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32175         to ...
32176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32177         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32178         to ...
32179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32180         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32181         to ...
32182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32183         Here.
32184         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32185         to ...
32186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32187         Here.
32188         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32189         to ...
32190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32191         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32192         Moved to ...
32193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32194         Here.
32195         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32196         to ...
32197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32199 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32201         * sysdeps/unix/common/bits/dirent.h: Remove file.
32202         * sysdeps/unix/common/bits/fcntl.h: Likewise.
32204         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32205         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32206         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32207         * sysdeps/unix/bsd/isatty.c: Likewise.
32208         * sysdeps/unix/bsd/tcdrain.c: Likewise.
32209         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32210         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32212 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32214         [BZ #13563]
32215         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32216         long double comparison inaccuracies.
32217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32220 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
32222         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32223         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32225 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32227         [BZ #14049]
32228         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32229         nonzero digits before rounding a hex value.
32230         * stdlib/tst-strtod.c (tests): Add another test.
32232 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32234         * sysdeps/s390/fpu/libm-test-ulps: Update.
32236 2012-05-03  Andreas Jaeger  <aj@suse.de>
32238         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32239         does not get optimized out.
32240         (malloc_opt_barrier): New.
32242 2012-05-03  Andreas Jaeger  <aj@suse.de>
32243             Roland McGrath  <roland@hack.frob.com>
32245         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32246         intermediate file deletion.
32247         (generated): Add .symlist files.
32249 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
32251         [BZ #13775]
32252         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32253         Redirect under this condition.
32254         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32255         [__USE_GNU] (__dprintf_chk): Not under this condition.
32256         [__USE_GNU] (__vdprintf_chk): Likewise.
32257         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32258         under this condition.
32259         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32260         [__USE_XOPEN2K8] (dprintf): Define under this condition.
32261         [__USE_XOPEN2K8] (vdprintf): Likewise.
32262         [__USE_GNU] (__dprintf_chk): Not under this condition.
32263         [__USE_GNU] (__vdprintf_chk): Likewise.
32264         [__USE_GNU] (dprintf): Likewise.
32265         [__USE_GNU] (vdprintf): Likewise.
32267 2012-05-03  Roland McGrath  <roland@hack.frob.com>
32269         * elf/Makefile (common-generated): Set this instead of generated for
32270         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
32271         $(all-built-dso)-derived lists.
32273 2012-05-03  Andreas Jaeger  <aj@suse.de>
32275         * sysdeps/i386/fpu/libm-test-ulps: Update.
32277         * FAQ: Removed.
32278         * FAQ.in: Likewise.
32279         * scripts/gen-FAQ.pl: Likewise.
32280         * manual/install.texi (Installation): Point to online location of
32281         FAQ.
32282         * Makefile (files-for-dist): Remove FAQ.
32283         (FAQ): Remove.
32285 2012-05-02  Allan McRae  <allan@archlinux.org>
32287         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32288         (LDFLAGS-reldepmod5.so): Likewise.
32289         (LDFLAGS-reldep6mod1.so): Likewise.
32290         (LDFLAGS-reldep6mod4.so): Likewise.
32291         (LDFLAGS-reldep8mod3.so): Likewise.
32292         (LDFLAGS-unload4mod1.so): Likewise.
32293         (LDFLAGS-unload4mod2.so): Likewise.
32294         (LDFLAGS-tst-initorder): Likewise.
32295         (LDFLAGS-tst-initordera2.so): Likewise.
32296         (LDFLAGS-tst-initordera3.so): Likewise.
32297         (LDFLAGS-tst-initordera4.so): Likewise.
32298         (LDFLAGS-tst-initorderb2.so): Likewise.
32299         (LDFLAGS-noload): Likewise.
32300         (LDFLAGS-next): Likewise.
32301         (LDFLAGS-order2mod1.so): Likewise.
32302         (LDFLAGS-order2mod2.so): Likewise.
32303         (LDFLAGS-tst-initorder2): Likewise.
32304         (LDFLAGS-tst-initorder2a.so): Likewise.
32305         (LDFLAGS-tst-initorder2b.so): Likewise.
32306         (LDFLAGS-tst-initorder2c.so): Likewise.
32307         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32309 2012-05-02  David S. Miller  <davem@davemloft.net>
32311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32313 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32315         [BZ #14055]
32316         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32318 2012-05-02  Andreas Jaeger  <aj@suse.de>
32320         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32321         since we manipulate rounding mode.
32322         (CPPFLAGS-test-idouble.c): Likewise.
32323         (CPPFLAGS-test-ifloat.c): Likewise.
32324         (CFLAGS-test-ldouble.c): Likewise.
32325         (CFLAGS-test-double.c): Likewise.
32326         (CFLAGS-test-float.c): Likewise.
32327         (CFLAGS-test-misc.c): Likewise.
32328         (CFLAGS-test-test-fenv.c): Likewise.
32330 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32332         [BZ #2550]
32333         [BZ #2570]
32334         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32335         comparisons to determine direction to adjust input.
32337 2012-05-01  Roland McGrath  <roland@hack.frob.com>
32339         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32340         output to the target.
32342         * scripts/localplt.awk: New file.
32343         * elf/Makefile ($(objpfx)check-localplt): Target removed.
32344         (check-localplt-CFLAGS): Variable removed.
32345         ($(all-built-dso:=.jmprel)): New static pattern rule.
32346         (generated): Add those targets.
32347         (localplt-built-dso): New variable.
32348         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32350         * elf/check-localplt.c: File removed.
32352         * scripts/check-execstack.awk: New file.
32353         * elf/Makefile ($(objpfx)check-execstack): Target removed.
32354         (check-execstack-CFLAGS): Variable removed.
32355         ($(objpfx)check-execstack.h): Target removed.
32356         ($(objpfx)execstack-default): New target.
32357         (generated): Add that instead of check-execstack.h.
32358         ($(all-built-dso:=.phdr)): New static pattern rule.
32359         (generated): Add those targets.
32360         * elf/check-execstack.c: File removed.
32362         * scripts/check-textrel.awk: New file.
32363         * elf/Makefile ($(objpfx)check-textrel): Target removed.
32364         (check-textrel-CFLAGS): Variable removed.
32365         (all-built-dso): Use := to define.o
32366         ($(all-built-dso:=.dyn)): New static pattern rule.
32367         (generated): Add those targets.
32368         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32369         * config.make.in (READELF): New substituted variable.
32370         * elf/check-textrel.c: File removed.
32372 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32374         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32375         allow.
32376         * conform/data/ctype.h-data [C99-based standards] (isblank):
32377         Expect function.
32378         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32379         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32380         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32381         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32382         Specify type.  Require positive value.
32383         (EILSEQ): Likewise.
32384         (ERANGE): Likewise.
32385         [ISO || POSIX] (EILSEQ): Do not expect.
32386         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32387         Specify type.  Require positive value.
32388         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32389         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32390         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32391         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32392         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32393         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32394         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32395         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32396         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32397         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32398         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32399         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32400         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32401         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32402         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32403         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32404         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32405         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32406         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32407         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32408         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32409         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32410         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32411         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32412         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32413         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32414         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32415         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32416         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32417         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32418         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32419         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32420         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32421         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32422         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32423         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32424         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32425         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32426         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32427         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32428         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32429         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32430         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32431         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32432         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32433         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32434         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32435         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32436         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32437         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32438         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32439         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32440         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32441         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32442         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32443         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32444         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32445         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32446         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32447         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32448         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32449         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32450         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32451         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32452         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32453         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32454         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32455         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32456         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32457         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32458         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32459         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32460         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32461         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32462         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32463         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32464         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32465         Require >= 2.
32466         (FLT_ROUNDS): Expect as macro, not constant.
32467         (FLT_MANT_DIG): Use macro-int-constant.
32468         (DBL_MANT_DIG): Likewise.
32469         (LDBL_MANT_DIG): Likewise.
32470         (FLT_DIG): Likewise.
32471         (DBL_DIG): Likewise.
32472         (LDBL_DIG): Likewise.
32473         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
32474         (DBL_MIN_EXP): Likewise.
32475         (LDBL_MIN_EXP): Likewise.
32476         (FLT_MAX_EXP): Use macro-int-constant.
32477         (DBL_MAX_EXP): Likewise.
32478         (LDBL_MAX_EXP): Likewise.
32479         (FLT_MAX_10_EXP): Likewise.
32480         (DBL_MAX_10_EXP): Likewise.
32481         (LDBL_MAX_10_EXP): Likewise.
32482         (FLT_MAX): Use macro-constant.
32483         (DBL_MAX): Likewise.
32484         (LDBL_MAX): Likewise.
32485         (FLT_EPSILON): Use macro-constant.  Give upper bound.
32486         (DBL_EPSILON): Likewise.
32487         (LDBL_EPSILON): Likewise.
32488         (FLT_MIN): Likewise.
32489         (DBL_MIN): Likewise.
32490         (LDBL_MIN): Likewise.
32491         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32492         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32493         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32494         [ISO11] (FLT_HAS_SUBNORM): Likewise.
32495         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32496         [ISO11] (DBL_DECIMAL_DIG): Likewise.
32497         [ISO11] (FLT_DECIMAL_DIG): Likewise.
32498         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32499         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32500         [ISO11] (FLT_TRUE_MIN): Likewise.
32501         [ISO11] (LDBL_TRUE_MIN): Likewise.
32502         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32503         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32504         (SCHAR_MIN): Use macro-int-constant.  Specify type.
32505         (SCHAR_MAX): Likewise.
32506         (UCHAR_MAX): Likewise.
32507         (CHAR_MIN): Likewise.
32508         (CHAR_MAX): Likewise.
32509         (MB_LEN_MAX): Use macro-int-constant.
32510         (SHRT_MIN): Use macro-int-constant.  Specify type.
32511         (SHRT_MAX): Likewise.
32512         (USHRT_MAX): Likewise.
32513         (INT_MAX): Likewise.
32514         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
32515         bound negative.
32516         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32517         bound with "U".
32518         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32519         bound with "L".
32520         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
32521         bound negative.  Suffix upper bound with "L".
32522         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32523         bound with "UL".
32524         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32525         Specify type.
32526         [C99-based standards] (LLONG_MAX): Likewise.
32527         [C99-based standards] (ULLONG_MAX): Likewise.
32528         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
32529         == 0.
32530         [ISO11] (max_align_t): Require type.
32531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32533         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32534         from $CFLAGS, without defining away __attribute__ calls.
32535         (checknamespace): Use $CFLAGS_namespace.
32537         * conform/conformtest.pl (@keywords): Only include C99 keywords
32538         for standards based on C99 or C11.
32540         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32541         Disable tests.
32542         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32543         UNIX98]: Likewise.
32545         * conform/conformtest.pl: Handle "macro-int-constant" and test for
32546         usability of symbols in #if.
32548         * conform/conformtest.pl: If macro or constant types start
32549         "promoted:", expect the symbol to be of the following type
32550         promoted by the integer promotions.
32552         * conform/conformtest.pl: Parse all "constant" and "macro" lines
32553         in one place.  Also handle "macro-constant".
32555         * conform/conformtest.pl: Only accept expected macro values with
32556         "==".  Parse all "macro" lines in one place.
32557         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32559         * conform/conformtest.pl: Handle braced types on "constant" lines
32560         instead of handling "typed-constant".
32561         * conform/data/signal.h-data: Use "constant" instead of
32562         "typed-constant".
32564         * conform/conformtest.pl: Handle "optional-" at start of lines in
32565         one place rather than duplicating several cases.  Handle each
32566         format of "macro" line with initial "optional-".
32568         * conform/conformtest.pl: Only accept expected constant or
32569         optional-constant values with "==".  Parse all "constant" lines in
32570         one place.  Parse all "optional-constant" lines in one place.
32571         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32572         * conform/data/fmtmsg.h-data: Likewise.
32573         * conform/data/netinet/in.h-data: Likewise.
32574         * conform/data/tar.h-data: Likewise.
32575         * conform/data/limits.h-data: Use "==" form on "constant" and
32576         "optional-constant" lines.
32578         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32579         Use -std=c99 for XOPEN2K.
32580         (@knownproblems): Remove.
32581         (newtoken): Don't check %isknown.
32583         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32584         Do not expect macro.
32585         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32586         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32587         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32588         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32589         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32590         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32591         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32592         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32593         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32594         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32595         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32596         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32597         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32598         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32599         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32600         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32601         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32602         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32603         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32604         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32605         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32606         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32607         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32608         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32609         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32610         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32611         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32612         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32613         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32614         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32615         [XPG3] (acosh): Likewise.
32616         [XPG3] (asinh): Likewise.
32617         [XPG3] (atanh): Likewise.
32618         [XPG3] (cbrt): Likewise.
32619         [XPG3] (expm1): Likewise.
32620         [XPG3] (ilogb): Likewise.
32621         [XPG3] (log1p): Likewise.
32622         [XPG3] (logb): Likewise.
32623         [XPG3] (nextafter): Likewise.
32624         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32625         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32626         [XPG3] (remainder): Likewise.
32627         [XPG3] (rint): Likewise.
32628         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32629         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32630         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32631         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32632         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32633         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32634         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32635         [UNIX98 || XOPEN2K] (scalb): Expect.
32636         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32637         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32638         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32639         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32640         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32641         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32642         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32643         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32644         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32645         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32646         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32647         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32648         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32649         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32650         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32651         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32652         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32653         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32654         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32655         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32656         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32657         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32658         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32659         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32660         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32661         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32662         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32663         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32664         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32665         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32666         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32667         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32668         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32669         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32670         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32671         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32672         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32673         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32674         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32675         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32676         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32677         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32678         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32679         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32680         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32681         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32682         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32683         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32684         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32685         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32686         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32687         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32688         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32689         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32690         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32691         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32692         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32693         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32694         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32695         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32696         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32697         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32698         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32699         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32700         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32701         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32702         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32703         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32704         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32705         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32706         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32707         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32708         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32709         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32710         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32711         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32712         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32713         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32714         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32715         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32716         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32717         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32718         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32719         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32720         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32721         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32722         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32723         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32724         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32725         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32726         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32727         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32728         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32729         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32730         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32731         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32732         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32733         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32734         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32735         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32736         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32737         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32738         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32739         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32740         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32741         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32742         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32743         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32744         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32745         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32746         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32747         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32748         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32749         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32750         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32751         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32752         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32753         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32754         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32755         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32756         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32757         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32758         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32759         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32760         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32761         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32762         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32763         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32764         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32765         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32766         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32767         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32768         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32769         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32770         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32771         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32772         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32774         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32775         _XOPEN_SOURCE_EXTENDED for XPG4.
32777         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32779         * Makeconfig (localtime): Remove variable.
32780         (inst_localtime-file): Likewise.
32782 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32785         Update.
32786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32787         Update.
32788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32789         Update.
32790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32791         Update.
32792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32793         Update.
32794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32795         Update.
32796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32797         Update.
32798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32799         Update.
32800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32801         Update.
32803 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32805         [BZ #2550]
32806         [BZ #2570]
32807         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32808         comparisons to determine direction to adjust input.
32809         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32810         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32811         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32812         Likewise.
32813         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32814         Likewise.
32815         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32816         Likewise.
32817         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32818         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32819         Likewise.
32820         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32821         Likewise.
32822         * math/libm-test.inc (nexttoward_test): Add more tests.
32824 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32826         [BZ #14040]
32827         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32828         in version GLIBC_2.1, not GLIBC_2.0.
32829         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32830         Likewise.
32832 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32834         [BZ #13942]
32835         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32836         (1 - x) * (1 + x).
32837         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32838         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32839         * math/libm-test.inc (acos_test): Add more tests.
32840         (asin_test): Likewise.
32841         * sysdeps/i386/fpu/libm-test-ulps: Update.
32842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32844         [BZ #14034]
32845         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32846         of square root.
32847         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32848         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32849         * math/libm-test.inc (acos_test_tonearest): New function.
32850         (acos_test_towardzero): Likewise.
32851         (acos_test_downward): Likewise.
32852         (acos_test_upward): Likewise.
32853         (asin_test_tonearest): Likewise.
32854         (asin_test_towardzero): Likewise.
32855         (asin_test_downward): Likewise.
32856         (asin_test_upward): Likewise.
32857         (main): Call the new functions.
32858         * sysdeps/i386/fpu/libm-test-ulps: Update.
32859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32861         [BZ #13884]
32862         [BZ #13924]
32863         * math/e_exp10.c: Include <float.h>.
32864         (__ieee754_exp10): Handle underflow here rather than multiplying
32865         large negative argument by M_LN10.
32866         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32867         of __ieee754_expf.
32868         * math/e_exp10l.c: Include <float.h>.
32869         (__ieee754_exp10l): Handle underflow here rather than multiplying
32870         large negative argument by M_LN10l.
32871         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32872         spurious overflow exception on underflow.
32874 2012-04-29  Marek Polacek  <polacek@redhat.com>
32876         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32877         (__fortify_function): New macro.
32878         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32879         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32880         __extern_always_inline.
32881         * libio/bits/stdio2.h: Likewise.
32882         * libio/bits/stdio.h: Likewise.
32883         * string/string.h: Likewise.
32884         * string/bits/string3.h: Likewise.
32885         * include/stdio.h: Likewise.
32886         * stdlib/bits/stdlib.h: Likewise.
32887         * stdlib/stdlib.h: Likewise.
32888         * rt/bits/mqueue2.h: Likewise.
32889         * rt/mqueue.h: Likewise.
32890         * posix/bits/unistd.h: Likewise.
32891         * posix/unistd.h: Likewise.
32892         * io/bits/poll2.h: Likewise.
32893         * io/bits/fcntl2.h: Likewise.
32894         * io/fcntl.h: Likewise.
32895         * io/sys/poll.h: Likewise.
32896         * misc/bits/syslog.h: Likewise.
32897         * misc/bits/syslog-ldbl.h: Likewise.
32898         * misc/sys/syslog.h: Likewise.
32899         * socket/bits/socket2.h: Likewise.
32900         * socket/sys/socket.h: Likewise.
32901         * debug/tst-chk1.c: Likewise.
32902         * wcsmbs/bits/wchar2.h: Likewise.
32903         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32904         * wcsmbs/wchar.h: Likewise.
32906 2012-04-29  Andreas Jaeger  <aj@suse.de>
32908         * Makerules (tests): Remove enable-check-abi protection.
32909         (check-abi-warn): Remove.
32910         (check-abi-%): Remove check-abi-warn usage.
32912         * configure.in: Remove check-abi configure option.
32913         * configure: Regenerated.
32914         * config.make.in (enable-check-abi): Remove.
32916 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32918         [BZ #14033]
32919         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32920         double functions to double *_finite functions.
32922         [BZ #13941]
32923         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32924         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32925         LDBL_MIN_EXP.
32926         * stdio-common/Makefile (tests): Add tst-sprintf3.
32927         * stdio-common/tst-sprintf3.c: New file.
32929         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32930         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32932 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32934         * conform/conformtest.pl: Remove duplicate typed-constant
32935         handling.
32937 2012-04-28  David S. Miller  <davem@davemloft.net>
32939         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32940         (check-abi-%): Remove AWK script prerequisite and explicit
32941         abilist directory.
32942         (check-abi): Rewrite to just diff the symlist with the abilist.
32943         (config-tls, config-abi-config): Delete, no longer used.
32944         (update-abi-%): Remove AWK script and explicit abilist directory.
32945         (update-abi): Rewrite to simply compare and conditionally copy the
32946         symlist and the sysdep abilist file.  Remove update-abi-config
32947         checks.
32948         * abilist/ld.abilist: Remove.
32949         * abilist/libBrokenLocale.abilist: Remove.
32950         * abilist/libanl.abilist: Remove.
32951         * abilist/libcrypt.abilist: Remove.
32952         * abilist/libdl.abilist: Remove.
32953         * abilist/librt.abilist: Remove.
32954         * abilist/libthread_db.abilist: Remove.
32955         * abilist/libutil.abilist: Remove.
32956         * scripts/extract-abilist.awk: Remove.
32957         * scripts/merge-abilist.awk: Remove.
32958         * sysdeps/generic/libcidn.abilist: New file.
32959         * sysdeps/generic/libnss_compat.abilist: New file.
32960         * sysdeps/generic/libnss_db.abilist: New file.
32961         * sysdeps/generic/libnss_dns.abilist: New file.
32962         * sysdeps/generic/libnss_files.abilist: New file.
32963         * sysdeps/generic/libnss_hesiod.abilist: New file.
32964         * sysdeps/generic/libnss_nis.abilist: New file.
32965         * sysdeps/generic/libnss_nisplus.abilist: New file.
32966         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32967         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32968         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32969         file.
32970         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32971         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32972         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32973         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32974         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32975         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32976         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32977         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32978         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32979         file.
32980         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32981         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32982         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32983         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32984         file.
32985         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32986         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32987         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32988         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32989         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32990         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32991         file.
32992         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32993         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32994         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32995         file.
32996         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32997         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32998         New file.
32999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33000         New file.
33001         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33002         New file.
33003         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33004         New file.
33005         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33006         New file.
33007         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33008         New file.
33009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33010         New file.
33011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33012         New file.
33013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33014         New file.
33015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33016         New file.
33017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33018         New file.
33019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33020         New file.
33021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33022         New file.
33023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33024         file.
33025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33026         New file.
33027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33028         New file.
33029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33030         file.
33031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33032         New file.
33033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33034         New file.
33035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33036         file.
33037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33038         New file.
33039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33040         New file.
33041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33042         New file.
33043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33044         New file.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33046         New file.
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33048         New file.
33049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33051         file.
33052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33053         New file.
33054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33055         file.
33056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33057         file.
33058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33059         file.
33060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33061         file.
33062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33063         file.
33064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33065         New file.
33066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33067         file.
33068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33069         file.
33070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33071         New file.
33072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33073         file.
33074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33076         file.
33077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33078         New file.
33079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33080         file.
33081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33082         file.
33083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33084         file.
33085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33086         file.
33087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33088         file.
33089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33090         New file.
33091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33092         file.
33093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33094         file.
33095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33096         New file.
33097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33098         file.
33099         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33100         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33101         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33102         file.
33103         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33104         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33105         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33106         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33107         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33108         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33109         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33110         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33111         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33112         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33115         file.
33116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33117         New file.
33118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33119         file.
33120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33121         file.
33122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33123         file.
33124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33125         file.
33126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33127         file.
33128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33129         New file.
33130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33131         New file.
33132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33133         file.
33134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33135         New file.
33136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33137         file.
33138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33140         file.
33141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33142         New file.
33143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33144         file.
33145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33146         file.
33147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33148         file.
33149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33150         file.
33151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33152         file.
33153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33154         New file.
33155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33156         New file.
33157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33158         file.
33159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33160         New file.
33161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33162         file.
33164 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33166         * conform/conformtest.pl: Fix typo in handling typed-constant from
33167         allow-header.
33169 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33171         * README: Cut down references to pre-2.6 Linux kernels and
33172         Linuxthreads.  Update lists of configurations in libc and ports
33173         and sort alphabetically.  Say "or newer" with Linux kernel version
33174         requirements.
33176         * config.h.in [IS_IN_build]: Allow compiling without optimization.
33178 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33180         [BZ #887]
33181         * math/libm-test.inc (logb_test_downward): New test to expose
33182         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33183         rounding mode.
33185 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33187         [BZ #14027]
33188         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33189         to be done.
33190         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33191         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33193 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
33195         * sysdeps/unix/i386/brk.S: Remove file.
33196         * sysdeps/unix/i386/dl-brk.S: Likewise.
33197         * sysdeps/unix/i386/pipe.S: Likewise.
33198         * sysdeps/unix/i386/sigreturn.S: Likewise.
33199         * sysdeps/unix/i386/syscall.S: Likewise.
33200         * sysdeps/unix/i386/vfork.S: Likewise.
33201         * sysdeps/unix/i386/wait.S: Likewise.
33203         * sysdeps/unix/common/tcsendbrk.c: Move to ...
33204         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33206         * configure.in (arm*-none*): Do not allow without
33207         --enable-hacker-mode.
33208         (netbsd*): Remove case setting base_os.
33209         (386bsd*): Likewise.
33210         (freebsd*): Likewise.
33211         (bsdi*): Likewise.
33212         (osf*): Likewise.
33213         (sunos*): Likewise.
33214         (ultrix*): Likewise.
33215         (newsos*): Likewise.
33216         (dynix*): Likewise.
33217         (*bsd*): Likewise.
33218         (sysv*): Likewise.
33219         (isc*): Likewise.
33220         (esix*): Likewise.
33221         (sco*): Likewise.
33222         (minix*): Likewise.
33223         (irix4*): Likewise.
33224         (irix6*): Likewise.
33225         (solaris[2-9]*): Likewise.
33226         (none): Likewise.
33227         * configure: Regenerated.
33229 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33231         [BZ #11521]
33232         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33233         overflow or cancellation in calculating denominator.
33234         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33235         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33236         down expression to avoid unexpected rounding in newer GCCs.
33237         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33239 2012-04-26  David S. Miller  <davem@davemloft.net>
33241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33242         long-double compat symbols.
33243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33257 2012-04-25  David S. Miller  <davem@davemloft.net>
33259         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33260         HWCAP_* values only after the memory barriers have been defined.
33261         (atomic_full_barrier): Define.
33262         (atomic_read_barrier): Define.
33263         (atomic_write_barrier): Define.
33265 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33267         * shlib-versions: Add libgcc_s version information.
33268         * sysdeps/generic/libgcc_s.h: Remove.
33269         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33270         libgcc_s.h.
33271         * sysdeps/gnu/unwind-resume.c: Likewise.
33272         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33274 2012-04-25  David S. Miller  <davem@davemloft.net>
33276         * sysdeps/unix/sparc/brk.S: Delete.
33277         * sysdeps/unix/sparc/dl-brk.S: Delete.
33278         * sysdeps/unix/sparc/pipe.S: Delete.
33279         * sysdeps/unix/sparc/sysdep.S: Delete.
33280         * sysdeps/unix/sparc/sysdep.h: Delete.
33281         * sysdeps/unix/sparc/vfork.S: Delete.
33282         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33283         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33284         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33285         (ret_ERRVAL, r0, r1, MOVE): Define.
33286         (JUMPTARGET): Remove.
33287         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33288         sysdeps/unix/sparc/sysdep.h
33289         (ENTRY, END): Remove.
33290         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33292 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
33294         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33295         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33296         -DIS_IN_build.
33298         * timezone/README: Update upstream location and email address for
33299         tzcode and tzdata.
33300         * timezone/zdump.c: Update from tzcode 2012b.
33301         * timezone/zic.c: Likewise.
33303         * configure.in (libc_cv_as_needed): Remove test.
33304         * configure: Regenerated.
33305         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33306         conditional definition.
33307         [$(have-as-needed) != yes] (no-as-needed): Likewise.
33308         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33309         * config.make.in (have-as-needed): Remove variable.
33311 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33312             Paul Pluzhnikov  <ppluzhnikov@google.com>
33314         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33315         strings correctly.
33317 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
33319         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33320         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33321         * sysdeps/sh/strlen.S: Likewise.
33323 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33325         * sysdeps/unix/fork.S: Remove file.
33326         * sysdeps/unix/i386/fork.S: Likewise.
33327         * sysdeps/unix/sparc/fork.S: Likewise.
33329         * sysdeps/unix/system.c: Remove file.
33330         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33332         * sysdeps/unix/getegid.S: Remove file.
33333         * sysdeps/unix/geteuid.S: Likewise.
33335 2012-04-24  Roland McGrath  <roland@hack.frob.com>
33337         * scripts/check-localplt.awk: New file.
33338         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33339         of diff.
33340         * scripts/data/localplt-generic.data: Add a comment.
33342         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33343         NODE when __dir_mkfile failed.
33344         * sysdeps/mach/hurd/symlinkat.c: Likewise.
33345         Reported by Ludovic Courtès <ludo@gnu.org>.
33347 2012-04-24  Andreas Jaeger  <aj@suse.de>
33349         * Makerules (common-clean): Also remove gen-as-const-headers
33350         files.
33352 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33354         * Makerules (native-compile): Do not change working directory for
33355         build.  Use $(OUTPUT_OPTION) in command.
33356         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33358 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33360         [BZ #13886]
33361         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33362         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33363         * math/libm-test.inc (floor_test): Add more tests.
33364         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33366 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33368         * sysdeps/unix/getdents.c: Remove file.
33369         * sysdeps/unix/sysv/getdents.c: Likewise.
33370         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33372         * sysdeps/unix/syscalls.list (madvise): Add syscall from
33373         sysdeps/unix/mman/syscalls.list.
33374         (mmap): Likewise.
33375         (mprotect): Likewise.
33376         (msync): Likewise.
33377         (munmap): Likewise.
33378         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33379         * sysdeps/unix/mman/syscalls.list: Remove.
33380         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33382         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33383         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33384         * configure: Regenerated.
33385         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33386         $(libgcc_s_suffix).
33387         * config.make.in (libgcc_s_suffix): Remove variable.
33389 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33391         * sysdeps/unix/sysv/gethostname.c: Move to ...
33392         * sysdeps/posix/gethostname.c: ... here.
33394         * sysdeps/unix/execve.S: Remove file.
33396         * sysdeps/unix/_exit.S: Remove file.
33398 2012-04-23  Andreas Jaeger  <aj@suse.de>
33400         [BZ #13739]
33401         * manual/Makefile: Remove make dist support, there's no
33402         need for a stand-alone documentation tar ball.
33403         (TEXI2DVI): Define always, it's not in Makeconfig.
33404         (dist): Removed.
33405         (tar-it): Removed.
33406         (edition): Removed.
33407         (glibc-doc-$(edition).tar): Removed
33408         (%.Z): Removed.
33409         (%.gz): Removed.
33410         (%.uu): Removed.
33411         (ETAGS): Remove, it's in Makeconfig.
33412         (move-if-change): Remove, it's in Makeconfig.
33414 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
33416         [BZ #13970]
33417         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33418         (strtod, strtof, strtold, strtol, strtoul, strtoq)
33419         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33420         (strtod_l, strtof_l, strtold_l): Remove __wur.
33421         It is not necessarily an error to ignore strtol's return value.
33422         One can reliably look at the stored endptr to decide whether
33423         the number had valid syntax.
33425 2012-04-21  Andreas Jaeger  <aj@suse.de>
33427         [BZ #13739]
33428         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33430 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
33432         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33433         * sysdeps/unix/sysv/Versions: Remove file.
33435 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
33437         [BZ #13927]
33438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33440 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
33442         [BZ #7064]
33443         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33444         version from __vm86.
33446 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
33448         * sysdeps/unix/common/lxstat.c: Remove file.
33449         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33451         * sysdeps/unix/sysv/Makefile: Remove file.
33453         * sysdeps/unix/sysv/direct.h: Remove file.
33455         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33456         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33457         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33458         * sysdeps/unix/sysv/bits/signum.h: Likewise.
33459         * sysdeps/unix/sysv/bits/stat.h: Likewise.
33460         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33461         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33463         * sysdeps/unix/sysv/setrlimit.c: Remove file.
33465         * sysdeps/unix/xmknod.c: Remove file.
33466         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33468         * sysdeps/unix/sysv/settimeofday.c: Remove file.
33470         * sysdeps/unix/sysv/i386/time.S: Remove file.
33472         * sysdeps/unix/fxstat.c: Remove file.
33473         * sysdeps/unix/xstat.c: Likewise.
33474         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33476         * sysdeps/unix/sysv/sigaction.c: Remove file.
33478         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33479         (sysdep_headers): Remove variable.
33480         [termio.h not in sysdep_headers] (generated): Likewise.
33481         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33482         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33483         * sysdeps/unix/sysv/tcdrain.c: Likewise.
33484         * sysdeps/unix/sysv/tcflow.c: Likewise.
33485         * sysdeps/unix/sysv/tcflush.c: Likewise.
33486         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33487         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33488         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33489         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33490         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33492         * sysdeps/unix/siglist.c: Remove file.
33494         * sysdeps/unix/getppid.S: Remove file.
33496         * sysdeps/unix/mkdir.c: Remove file.
33497         * sysdeps/unix/rmdir.c: Likewise.
33499 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
33501         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33502         ERR_MAX value.
33503         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33504         errlist-compat value.
33506 2012-04-18  David S. Miller  <davem@davemloft.net>
33508         * sysdeps/generic/memcopy.h (reg_char): Delete.
33509         * debug/strcat_chk.c: Use char, not reg_char.
33510         * debug/strcpy_chk.c: Likewise.
33511         * debug/strncat_chk.c: Likewise.
33512         * debug/strncpy_chk.c: Likewise.
33513         * string/memchr.c: Likewise.
33514         * string/memrchr.c: Likewise.
33515         * string/rawmemchr.c: Likewise.
33516         * string/strcat.c: Likewise.
33517         * string/strchr.c: Likewise.
33518         * string/strchrnul.c: Likewise.
33519         * string/strcmp.c: Likewise.
33520         * string/strcpy.c: Likewise.
33521         * string/strncat.c: Likewise.
33522         * string/strncmp.c: Likewise.
33523         * string/strncpy.c: Likewise.
33525 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33527         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33528         __builtin_memcopy is called when src and dest ranges are known to not
33529         overlap.
33531 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33533         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33534         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33535         fwd_align_merge macro call.
33536         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33537         bwd_align_merge macro call.
33538         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33540 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33542         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33543         bwd_align_merge macros.
33544         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33545         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33546         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33548 2012-04-18  David S. Miller  <davem@davemloft.net>
33550         * sysdeps/sparc/sparc64/memcopy.h: Delete.
33552 2012-04-18  Andreas Jaeger  <aj@suse.de>
33554         [BZ# 6794]
33555         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33556         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33557         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33559         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33560         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33561         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33563         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33564         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33565         Adjust for changed ldbl-128 files.
33567         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33568         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33569         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33571 2012-04-17  David S. Miller  <davem@davemloft.net>
33573         * sysdeps/sparc/sparc32/memcopy.h: Delete.
33575 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
33577         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33578         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33579         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33580         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33581         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33582         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33584 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33586         [BZ #6794]
33587         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33588         * math/libm-test.inc: Add ilogb errno and exception tests.
33589         * math/w_ilogb.c: New file: ilogb wrapper.
33590         * math/w_ilogbf.c: New file: ilogbf wrapper.
33591         * math/w_ilogbl.c: New file: ilogbl wrapper.
33592         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33593         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33594         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33595         exception being thrown with 0.0 as argument.
33596         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33597         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33598         exception being thrown with 0.0 as argument.
33599         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33600         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33601         exception being thrown with 0.0 as argument.
33602         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33603         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33604         exception being thrown with 0.0 as argument.
33605         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33606         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33607         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33608         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33609         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33610         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33611         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33612         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33613         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33615 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33617         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33618         with altivec.
33620 2012-04-16  Marek Polacek  <polacek@redhat.com>
33622         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33624 2012-04-16  Marek Polacek  <polacek@redhat.com>
33626         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33627         operands of fdivp instruction.
33629 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33631         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33632         * elf/tst-auditmod3b.c: Likewise.
33633         * elf/tst-auditmod4b.c: Likewise.
33634         * elf/tst-auditmod5b.c: Likewise.
33635         * elf/tst-auditmod6b.c: Likewise.
33636         * elf/tst-auditmod6c.c: Likewise.
33637         * elf/tst-auditmod7b.c: Likewise.
33638         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33639         * sysdeps/x86_64/preconfigure.in: Likewise.
33640         * sysdeps/x86_64/preconfigure: Regenerated.
33642 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33644         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33645         __ILP32__.
33647 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33649         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33650         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33652 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33654         [BZ #13973]
33655         * locale/iso-639.def: Fix gl language name. Spotted by
33656         Yaron Shahrabani.
33658 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33660         [BZ #2074]
33661         * libio/libio.h (__io_write_fn): Update comment.
33663 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33665         [BZ #2074]
33666         * stdio.texi (Hook Functions): The user provided writer function
33667         is not allowed to return -1.
33669 2012-04-11  David S. Miller  <davem@davemloft.net>
33671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33673 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33675         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33676         Add a leading slash to rtkaio.
33678 2012-04-11  Jim Meyering  <meyering@redhat.com>
33680         [BZ #11959]
33681         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33682         It is not necessarily an error to ignore fwrite's return
33683         value.  One can reliably use ferror to test for errors after
33684         the fact.
33686 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33688         * bits/types.h (__snseconds_t): New type.
33689         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33691         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33692         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33693         (__SNSECONDS_T_TYPE): Likewise.
33694         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33695         (__SNSECONDS_T_TYPE): Likewise.
33696         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33697         (__SNSECONDS_T_TYPE): Likewise.
33699 2012-04-10  Andreas Jaeger  <aj@suse.de>
33701         [BZ #2636]
33702         * manual/time.texi (Processor Time): Return type of times is
33703         elapsed real time since an arbitrary point in the past.
33704         (CPU Time): Move CLK_TCK from here...
33705         (Processor Time): ...to here.  Correct description.
33706         * manual/conf.texi (Constants for Sysconf): Correct description of
33707         _SC_CLK_TCK.
33709 2012-04-10  David S. Miller  <davem@davemloft.net>
33711         [BZ #13967]
33712         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33713         where the is a gap between DT_REL(A) and DT_JMPREL.
33715 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33717         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33718         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33719         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33721 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33723         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33724         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33725         (dl_main): Handle --inhibit-cache.
33726         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33727         _dl_inhibit_cache.
33728         * elf/dl-load.c (_dl_map_object): Use it.
33729         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33731 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33733         [BZ #13872]
33734         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33735         (__ieee754_powl): Saturate large exponents rather than testing for
33736         overflow of y*log2(x).
33737         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33738         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33739         exceptions.
33741         [BZ #11521]
33742         * math/s_ctan.c: Include <float.h>.
33743         (__ctan): Avoid internal overflow or cancellation in calculating
33744         denominator.
33745         * math/s_ctanf.c: Likewise.
33746         * math/s_ctanl.c: Likewise.
33747         * math/s_ctanh.c: Likewise.
33748         * math/s_ctanhf.c: Likewise.
33749         * math/s_ctanhl.c: Likewise.
33750         * math/libm-test.inc (ctan_test): Add more tests.
33751         (ctanh_test): Likewise.
33752         * sysdeps/i386/fpu/libm-test-ulps: Update.
33753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33755 2012-04-09  Andreas Jaeger  <aj@suse.de>
33757         [BZ #6894]
33758         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33759         is an optional BSD extension.
33761         [BZ #10254]
33762         * manual/stdio.texi (Opening Streams): Document additional fopen
33763         parameters.
33765 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33767         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33768         %eax without telling the compiler.
33770 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33772         [BZ # 13963]
33773         * manual/install.texi: Use sourceware.org.
33775 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33777         [BZ #13873]
33778         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33779         (__ieee754_pow): Generate overflow and underflow using huge*huge
33780         and tiny*tiny rather than just returning constant infinity or zero
33781         for large exponents.
33782         * math/libm-test.inc (pow_test): Require overflow exceptions for
33783         applicable cases of large exponents.
33785         [BZ #706]
33786         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33787         (__ieee754_pow): Use iterative multiplication algorithm only for
33788         integer exponents with absolute value below 1024.  Check for odd
33789         integer exponents when using algorithm for real exponents.
33790         * math/libm-test.inc (pow_test): Add more tests.
33791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33793 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33795         [BZ #13705]
33796         * math/libm-test.inc (exp_test): Do not allow overflow exception
33797         on underflow test.
33799 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33801         [BZ #13705]
33802         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33803         instead of __kernel_standard_f.
33805 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33807         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33808         * sysdeps/x86_64/memset_chk.S: Likewise.
33810 2012-04-08  Andreas Jaeger  <aj@suse.de>
33812         [BZ #10153]
33813         * manual/startup.texi (Environment Access): Describe return value
33814         for putenv and setenv.
33816         [BZ #6895]
33817         * manual/filesys.texi (Directory Entries): Add description for
33818         DT_LNK.
33820         [BZ #6890]
33821         * manual/filesys.texi (Directory Entries): Clarify that it's file
33822         system not operating system in the description of DT_UNKNOWN.
33824         [BZ #6578]
33825         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33827 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33829         [BZ #6649]
33830         * manual/llio.texi (Opening and Closing Files): Add cross
33831         reference to explain mode argument.
33833 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33835         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33836         * sysdeps/x86_64/memset_chk.S: Likewise.
33838 2012-04-07  David S. Miller  <davem@davemloft.net>
33840         * elf/elf.h (R_SPARC_WDISP10): Define.
33841         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33842         R_SPARC_SIZE32.
33843         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33844         R_SPARC_SIZE64 and R_SPARC_H34.
33846 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33848         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33849         conditions and remove no longer applicable assertion.
33851 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33853         * bits/byteswap.h: Include <features.h>.
33854         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33855         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33857 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33859         * bits/byteswap.h (__bswap_16): Removed.
33860         Include <bits/byteswap-16.h> to get __bswap_16.
33861         * sysdeps/i386/bits/byteswap.h: Likewise.
33862         * sysdeps/s390/bits/byteswap.h: Likewise.
33863         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33864         * bits/byteswap-16.h: New file.
33865         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33866         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33867         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33868         * string/Makefile (headers): Add bits/byteswap-16.h.
33870 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33872         [BZ #13895]
33873         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33874         extra indirection.
33875         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33876         * nss/tst-nss-static.c: New.
33878 2012-04-06  Robert Millan  <rmh@gnu.org>
33880         [BZ #6486]
33881         * manual/llio.texi (File Position Primitive): lseek
33882         refers to WHENCE when it really means OFFSET.
33884 2012-04-06  Andreas Jaeger  <aj@suse.de>
33886         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33887         strncmp declarations.
33889         * abilist/libc.abilist: Add __poll and __ppoll.
33891 2012-04-05  David S. Miller  <davem@davemloft.net>
33893         * scripts/check-local-headers.sh: Accept a host triplet in the
33894         path matched by the exclude regexp.
33896         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33897         definition.
33898         * sysdeps/powerpc/powerpc32/dl-machine.h
33899         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33900         * sysdeps/s390/s390-32/dl-machine.h
33901         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33902         * sysdeps/sparc/sparc32/dl-machine.h
33903         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33904         * sysdeps/sparc/sparc64/dl-machine.h
33905         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33907         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33908         lazy binding.
33909         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33910         undefined symbol errors.
33912         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33913         DT_NEEDED entries.
33915 2012-04-05  Michael Matz  <matz@suse.de>
33917         [BZ #13592]
33918         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33920 2012-04-05  Andreas Jaeger  <aj@suse.de>
33922         [BZ #13908]
33923         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33924         comment.
33926 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33928         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33929         which ROUND is no valid rounding mode.
33931 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33933         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33934         read again.
33935         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33937 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33939         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33940         an exception using FPU order intentionally.
33942 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33944         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33945         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33946         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33947         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33949 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33951         [BZ #12340]
33952         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33953         EINVAL when BUFLEN is too smal.
33955 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33957         [BZ #13553]
33958         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33959         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33961 2012-04-03  Andreas Jaeger  <aj@suse.de>
33963         [BZ #13938]
33964         * manual/setjmp.texi (System V contexts): Fix sentence.
33966         [BZ #13926]
33967         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33968         New macro for this case.
33969         [!__GNUC__] (__bswap_64): New inline function for this case.
33970         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33971         * bits/byteswap.h: Likewise.
33972         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33973         ull, guard with __GLIBC_HAVE_LONG_LONG.
33975         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33976         __GLIBC_HAVE_LONG_LONG.
33978         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33979         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33981 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33983         [BZ #13691]
33984         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33985         inptr and inend, rather than using last_ch.
33987 2012-04-02  David S. Miller  <davem@davemloft.net>
33989         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33990         * stdio-common/printf-parse.h (read_int): Change return type to
33991         'int', return -1 on INT_MAX overflow.
33992         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33993         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33994         overflows INT_MAX.  Check for overflow of in-format-string precision
33995         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33996         SIZE_MAX not INT_MAX for integer overflow test.
33997         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33998         skip the construct in the format string but do not record anything.
33999         * stdio-common/bug22.c: Adjust to test both width/prevision
34000         INT_MAX overflow as well as total length INT_MAX overflow.  Check
34001         explicitly for proper errno values.
34003 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34005         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34006         CHAR_MAX.
34007         * string/test-strcmp.c [! WIDE]: Likewise.
34008         * time/tst-mktime2.c: Likewise for INT_MAX.
34009         * string/test-string.h: #include <sys/param.h> for MIN.
34011         * csu/init-first.c (__libc_init_first): Call __ctype_init.
34012         * sysdeps/i386/init-first.c (init): Likewise.
34013         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34014         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34015         * sysdeps/sh/init-first.c (init): Likewise.
34017 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
34019         * po/ru.po: Update from translation team.
34020         * po/vi.po: Likewise.
34022 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34024         * resolv/nss_dns/dns-host.c: Merge copyright years.
34026 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34028         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34029         Optimize memcpy with prefetch if
34030         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
34031         src, dst pointers have unequal 16 byte alignments.
34033 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34035         [BZ #13928]
34036         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34037         from a CNAME entry and return the minimum ttl for the query.
34038         (gaih_getanswer_slice): Likewise.
34040 2012-03-30  Jeff Law  <law@redhat.com>
34042         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34043         due to long keys.
34044         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34045         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34047         * resolv/nss_dns/dns-host.c: Update copyright year.
34049 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
34051         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34052         requests to save a system call.  Fix check that all bytes are sent.
34054         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34055         comments for sendmmsg.
34057 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34059         [BZ #13691]
34060         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34061         with only 1 character between 0x0041 and 0x01b0.
34062         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34063         * wcsmbs/tst-mbsnrtowcs.c: New file.
34065 2012-03-29  David S. Miller  <davem@davemloft.net>
34067         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34068         small copies by hand.
34070 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34072         [BZ #13761]
34073         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34074         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34075         group memberships.
34077 2012-03-28  David S. Miller  <davem@davemloft.net>
34079         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34080         that branches into memcpy.
34081         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34082         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34083         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34084         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34085         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34086         bits.
34087         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34088         implementation too.
34089         * sysdeps/sparc/mempcpy.S: New file.
34091         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34092         the IFUNC routine in the libc case.
34093         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34095         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34096         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34097         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34098         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34099         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34100         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34101         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34102         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34104         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34105         loop to 256 bytes instead of 64 bytes and fix test signedness.
34107         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34108         * sysdeps/sparc/sparc32/Makefile: rather than here...
34109         * sysdeps/sparc/sparc64/Makefile: and here.
34111 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
34113         * malloc/mallocbug.c: Avoid warnings about unused variables.
34115 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34117         [BZ #13760]
34118         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34119         in the right place. Discard and retry query if response is
34120         larger than input buffer size.
34122 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
34124         [BZ #369]
34125         [BZ #2678]
34126         [BZ #3866]
34127         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34128         x for large integer exponent.
34129         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34130         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
34131         sign of result as needed afterwards.
34132         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34133         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34134         result for underflowing pow the same as for overflow.
34135         (__kernel_standard_l): Handle powl overflow and underflow here
34136         rather than calling __kernel_standard.
34137         * math/libm-test.inc (pow_test): Add more tests.
34139         [BZ #3868]
34140         [BZ #13879]
34141         [BZ #13910]
34142         [BZ #13911]
34143         [BZ #13912]
34144         [BZ #13913]
34145         [BZ #13915]
34146         [BZ #13916]
34147         [BZ #13917]
34148         [BZ #13918]
34149         [BZ #13919]
34150         [BZ #13920]
34151         [BZ #13921]
34152         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34153         * sysdeps/ieee754/k_standard.c: Include <float.h>.
34154         (__kernel_standard_l): New function.
34155         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34156         __kernel_standard.
34157         * math/w_acosl.c (__acosl): Likewise.
34158         * math/w_asinl.c (__asinl): Likewise.
34159         * math/w_atan2l.c (__atan2l): Likewise.
34160         * math/w_atanhl.c (__atanhl): Likewise.
34161         * math/w_coshl.c (__coshl): Likewise.
34162         * math/w_exp10l.c (__exp10l): Likewise.
34163         * math/w_exp2l.c (__exp2l): Likewise.
34164         * math/w_fmodl.c (__fmodl): Likewise.
34165         * math/w_hypotl.c (__hypotl): Likewise.
34166         * math/w_j0l.c (__j0l, __y0l): Likewise.
34167         * math/w_j1l.c (__j1l, __y1l): Likewise.
34168         * math/w_jnl.c (__jnl, __ynl): Likewise.
34169         * math/w_lgammal.c (__lgammal): Likewise.
34170         * math/w_log10l.c (__log10l): Likewise.
34171         * math/w_log2l.c (__log2l): Likewise.
34172         * math/w_logl.c (__logl): Likewise.
34173         * math/w_powl.c (__powl): Likewise.
34174         * math/w_remainderl.c (__remainderl): Likewise.
34175         * math/w_scalbl.c (sysv_scalbl): Likewise.
34176         * math/w_sinhl.c (__sinhl): Likewise.
34177         * math/w_sqrtl.c (__sqrtl): Likewise.
34178         * math/w_tgammal.c (__tgammal): Likewise.
34179         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34180         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34181         * math/libm-test.inc (acos_test): Add more tests.
34182         (acosh_test): Likewise.
34183         (asin_test): Likewise.
34184         (atanh_test): Likewise.
34185         (exp_test): Likewise.
34186         (exp10_test): Likewise.
34187         (exp2_test): Likewise.
34188         (expm1_test): Likewise.
34189         (lgamma_test): Likewise.
34190         (log_test): Likewise.
34191         (log10_test): Likewise.
34192         (log1p_test): Likewise.
34193         (log2_test): Likewise.
34194         (pow_test): Do not allow some spurious overflow exceptions.
34195         (sqrt_test): Add more tests.
34196         (tgamma_test): Likewise.
34197         (y0_test): Likewise.
34198         (y1_test): Likewise.
34199         (yn_test): Likewise.
34201 2012-03-27  Anton Blanchard  <anton@samba.org>
34203         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34204         MAP_HUGETLB.
34205         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34206         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34207         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34209 2012-03-27  David S. Miller  <davem@davemloft.net>
34211         * conform/Makefile: Run run-conformtest.sh using $(BASH).
34213         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34214         have-as-vis3 check.
34216 2012-03-27  Andreas Jaeger  <aj@suse.de>
34218         * sysdeps/x86_64/elf/configure.in: Moved to ...
34219         * sysdeps/x86_64/configure.in: ... here.
34220         * sysdeps/x86_64/elf/start.S: Moved to ...
34221         * sysdeps/x86_64/start.S: ... here.
34222         * sysdeps/x86_64/elf/configure: Delete.
34224         * sysdeps/x86_64/configure.in: Merge contents from
34225         sysdeps/i386/configure.in (without i686 check).
34227         * sysdeps/i386/elf/Versions: Merge into ...
34228         * sysdeps/i386/Versions: ... this.
34229         * sysdeps/i386/elf/Versions: Delete file.
34230         * sysdeps/i386/elf/start.S: Moved to ...
34231         * sysdeps/i386/start.S: ...here.
34232         * sysdeps/i386/elf/configure.in: Merge into...
34233         * sysdeps/i386/configure.in: ...here.
34234         * sysdeps/i386/elf/configure.in: Delete file.
34235         * sysdeps/i386/elf/configure: Delete file.
34237         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34238         * debug/backtracesyms.c: ... here.
34239         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34240         * debug/backtracesymsfd.c: ... here.
34241         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34242         * sysdeps/generic/ifunc-sel.h: ... here.
34244         * sysdeps/unix/i386/start.c: Delete file.
34245         * sysdeps/unix/sparc/start.c: Delete file.
34246         * sysdeps/unix/start.c: Delete file.
34248         * sysdeps/sh/elf/configure.in: Moved to ...
34249         * sysdeps/sh/configure.in: ... here.
34250         * sysdeps/sh/elf/start.S: Moved to ...
34251         * sysdeps/sh/start.S: ... here.
34252         * sysdeps/sh/elf/configure: Delete file.
34254         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34255         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34256         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34257         * sysdeps/powerpc/powerpc64/entry.h: ... here.
34258         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34259         * sysdeps/powerpc/powerpc64/start.S: here.
34260         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34261         * sysdeps/powerpc/powerpc64/Makefile: ... this.
34262         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34263         * sysdeps/powerpc/powerpc64/configure.in: ... this.
34264         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34266         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34267         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34268         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34269         * sysdeps/powerpc/powerpc32/start.S: ... here.
34270         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34271         * sysdeps/powerpc/powerpc32/configure.in: ... this.
34272         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34274         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34275         * sysdeps/powerpc/ifunc-sel.h: ... here.
34276         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34277         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34279         * sysdeps/sparc/elf/configure.in: Moved to ...
34280         * sysdeps/sparc/configure.in: ... here.
34281         * sysdeps/sparc/elf/configure: Delete file.
34282         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34283         * sysdeps/sparc/sparc32/start.S: ... here.
34284         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34285         * sysdeps/sparc/sparc64/start.S: ... here.
34286         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34287         * sysdeps/sparc/sparc32/Makefile: ... this.
34288         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34289         * sysdeps/sparc/sparc64/Makefile: ... this.
34291         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34292         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34293         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34294         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34295         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34296         * sysdeps/s390/s390-32/setjmp.S: ... here.
34297         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34298         * sysdeps/s390/s390-32/configure.in: ... here.
34299         * sysdeps/s390/s390-32/elf/configure: Delete file.
34300         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34301         * sysdeps/s390/s390-32/start.S: ... here.
34303         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34304         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34305         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34306         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34307         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34308         * sysdeps/s390/s390-64/setjmp.S: ... here.
34309         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34310         * sysdeps/s390/s390-64/configure.in: ... here
34311         * sysdeps/s390/s390-64/elf/configure: Delete file.
34312         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34313         * sysdeps/s390/s390-64/start.S: ... here.
34314         * sysdeps/s390/s390-64/elf/configure: Delete.
34316         * configure.in: Remove support for elf directories in sysdeps.
34318         * configure: Regenerated.
34319         * sysdeps/i386/configure: Regenerated.
34320         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34321         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34322         * sysdeps/s390/s390-32/configure: Regenerated.
34323         * sysdeps/s390/s390-64/configure: Regenerated.
34324         * sysdeps/sh/configure: Regenerated.
34325         * sysdeps/sparc/configure: Regenerated.
34326         * sysdeps/x86_64/configure: Regenerated.
34328 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
34330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34332         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34333         denormal result into account.
34335 2012-03-25  Roland McGrath  <roland@hack.frob.com>
34337         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34338         Reported by Allan McRae <allan@archlinux.org>.
34340 2012-03-23  Jeff Law  <law@redhat.com>
34342         * nss/getnssent.c (__nss_getent): Fix typo.
34344 2012-03-23  David S. Miller  <davem@davemloft.net>
34346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34348 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
34350         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34351         to pad to uint64_t for each field.
34352         (dl_tls_index): Replace unsigned long with uint64_t.
34354 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
34355         Paul Pluzhnikov  <ppluzhnikov@google.com>
34357         [BZ #6528]
34358         * grp/Makefile (otherlibs): Don't set it.
34359         * inet/Makefile (otherlibs): Likewise.
34360         * login/Makefile (otherlibs): Likewise.
34361         * nscd/Makefile (otherlibs): Likewise.
34362         * posix/Makefile (otherlibs): Likewise.
34363         * pwd/Makefile (otherlibs): Likewise.
34364         * rt/Makefile (otherlibs): Likewise.
34365         * sunrpc/Makefile (otherlibs): Likewise.
34366         * nss/Makefile (otherlibs): Likewise.
34367         Add libnss_files to routines and static-only-routines.
34368         ($(objpfx)getent): Remove rule.
34369         * resolv/Makefile: Add libnss_dns and libresolv to routines and
34370         static-only-routines.
34372 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34374         [BZ #13892]
34375         * math/s_cexp.c: Include <float.h>.
34376         (__cexp): Handle exp result overflowing not necessarily
34377         overflowing both real and imaginary parts of result.
34378         * math/s_cexpf.c: Likewise.
34379         * math/s_cexpl.c: Likewise.
34380         * math/libm-test.inc (cexp_test): Add more tests.
34381         * sysdeps/i386/fpu/libm-test-ulps: Update.
34382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34384 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34386         * include/link.h (ELFW): New macro.
34387         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34388         Replace ELF64_R_TYPE with ELFW(R_TYPE).
34390 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34392         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34393         with uint64_t.
34395 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34397         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34398         declaration.
34399         (struct La_x32_retval): Likewise.
34401 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34403         * sysdeps/x86_64/preconfigure.in: New file.
34404         * sysdeps/x86_64/preconfigure: New generated file.
34406 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34408         [BZ #13824]
34409         * math/e_exp2l.c: Include <float.h>.
34410         (__ieee754_exp2l): Handle overflow and underflow cases
34411         separately.  Only pass fractional part of argument to
34412         __ieee754_expl.
34413         * math/libm-test.inc (exp2_test): Add more tests.
34415         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34416         negating x to take absolute value.
34417         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34418         Likewise.
34419         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34420         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34421         Likewise.
34422         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34423         computing low part if x was negated.
34424         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34426 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34428         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34429         la_x32_gnu_pltexit.
34430         (pltexit): Cast int_retval to ptrdiff_t.
34431         * elf/tst-auditmod3b.c: Likewise.
34432         * elf/tst-auditmod4b.c: Likewise.
34433         * elf/tst-auditmod5b.c: Likewise.
34434         * elf/tst-auditmod6b.c: Likewise.
34435         * elf/tst-auditmod6c.c: Likewise.
34436         * elf/tst-auditmod7b.c: Likewise.
34438         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34439         and x32_gnu_pltexit.
34441         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34442         __ELF_NATIVE_CLASS.
34443         (La_x32_regs): New macro.
34444         (La_x32_retval): Likewise.
34445         (la_x32_gnu_pltenter): New function prototype.
34446         (la_x32_gnu_pltexit): Likewise.
34448 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
34450         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34451         exponent.
34453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34455         * configure.in (libc_cv_cc_nofma): Check for option to disable
34456         generation of FMA instructions.
34457         * configure: Regenerate.
34458         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34459         * sysdeps/ieee754/dbl-64/Makefile: New file.
34460         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34461         Remove brandred-fma4.
34462         (CFLAGS-brandred-fma4.c): Remove.
34463         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34464         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34465         define.
34466         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34467         define.
34469 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34471         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34472         LLONG_MAX != LONG_MAX.
34473         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34474         (_fitoa_word): Likewise.
34475         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34476         LLONG_MAX != LONG_MAX.
34477         * stdio-common/_itowa.h: Include <_itoa.h>.
34478         (_itowa_word): Use _ITOA_WORD_TYPE on value.
34479         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
34480         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
34481         only if not defined.
34482         (_ITOA_WORD_TYPE): Likewise.
34483         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34484         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34486 2012-03-21  David S. Miller  <davem@davemloft.net>
34488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34490 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34492         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34493         of x86_64 when setting libc_cv_slibdir, libdir and
34494         libc_cv_localedir.
34495         * sysdeps/unix/sysv/linux/configure: Regenerated.
34497 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34499         * manual/lang.texi (Old Varargs): Remove section.
34500         (How Variadic): Update menu.
34501         (va_start): Do not mention varargs.h.
34503 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34504             Joseph Myers  <joseph@codesourcery.com>
34506         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34507         link test.
34508         * configure: Regenerated.
34510 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34512         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34513         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34514         conformtest.pl
34516 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34518         * NOTES: Remove.
34519         * Makefile (files-for-dist): Remove NOTES.
34520         (NOTES): Remove rule.
34521         * README: Don't refer to NOTES.
34522         * manual/creature.texi: Don't include macros.texi.
34523         * manual/intro.texi (creature.texi): Remove comment referring to
34524         NOTES.
34526         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34527         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34528         * configure: Regenerated.
34529         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34530         LIBC_TRY_CC_OPTION.
34531         (libc_cv_as_i686): Likewise.
34532         (libc_cv_cc_avx): Likewise.
34533         (libc_cv_cc_sse2avx): Likewise.
34534         (libc_cv_cc_fma4): Likewise.
34535         (libc_cv_cc_novzeroupper): Likewise.
34536         * sysdeps/i386/configure: Regenerated.
34538         [BZ #13883]
34539         * sysdeps/i386/fpu/s_cexp.S: Remove.
34540         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34541         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34542         * math/libm-test.inc (cexp_test): Add more tests.
34543         * sysdeps/i386/fpu/libm-test-ulps: Update.
34544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34546 2012-03-21  Allan McRae  <allan@archlinux.org>
34548         * timezone/Makefile: Do not install iso3166.tab and zone.tab
34550 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34552         [BZ #13871]
34553         * math/w_exp2.c: Do not include <float.h>.
34554         (o_threshold, u_threshold): Remove.
34555         (__exp2): Calculate result before checking finiteness and calling
34556         __kernel_standard.
34557         * math/w_exp2f.c: Likewise.
34558         * math/w_exp2l.c: Likewise.
34559         * math/libm-test.inc (exp2_test): Require overflow exception for
34560         1e6 input.
34562         [BZ #3866]
34563         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34564         range of signed 64-bit integers before using fistpll.  Remove
34565         checks for whether integers fit in mantissa bits.
34566         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34567         the range of signed 32-bit integers before using fistpl.  Remove
34568         checks for whether integers fit in mantissa bits.
34569         * sysdeps/i386/fpu/e_powl.S (p64): New object.
34570         (__ieee754_powl): Test for y outside the range of signed 64-bit
34571         integers before using fistpll.  Reduce 64-bit values to 63-bit
34572         ones as needed.
34573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34574         divide-by-zero is raised for zero to large negative powers.
34575         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34576         (__ieee754_powl): Test for y outside the range of signed 64-bit
34577         integers before using fistpll.  Reduce 64-bit values to 63-bit
34578         ones as needed.
34579         * math/libm-test.inc (pow_test): Add more tests.
34581 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34583         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34584         <stdio-common/_itoa.h>.
34585         * debug/segfault.c: Likewise.
34586         * elf/dl-cache.c: Likewise.
34587         * elf/dl-minimal.c: Likewise.
34588         * elf/dl-misc.c: Likewise.
34589         * elf/dl-sysdep.c: Likewise.
34590         * elf/dl-version.c: Likewise.
34591         * elf/rtld.c: Likewise.
34592         * hurd/hurdsock.c: Likewise.
34593         * hurd/lookup-retry.c: Likewise.
34594         * malloc/malloc.c: Likewise.
34595         * malloc/mtrace.c: Likewise.
34596         * nscd/nscd_getgr_r.c: Likewise.
34597         * nscd/nscd_getpw_r.c: Likewise.
34598         * nscd/nscd_getserv_r.c: Likewise.
34599         * posix/getopt_init.c: Likewise.
34600         * posix/wordexp.c: Likewise.
34601         * stdio-common/_itoa.c: Likewise.
34602         * stdio-common/printf_fphex.c: Likewise.
34603         * stdio-common/vfprintf.c: Likewise.
34604         * string/_strerror.c: Likewise.
34605         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34606         * sysdeps/i386/i686/hp-timing.h: Likewise.
34607         * sysdeps/mach/_strerror.c: Likewise.
34608         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34609         * sysdeps/mach/hurd/sethostid.c: Likewise.
34610         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34611         * sysdeps/mach/xpg-strerror.c: Likewise.
34612         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34613         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34614         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34615         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34616         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34617         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34618         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34619         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34620         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34621         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34622         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34623         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34624         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34625         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34626         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34627         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34628         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34629         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34630         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34631         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34632         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34634         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34636         * stdio-common/_itoa.h: Moved to ...
34637         * sysdeps/generic/_itoa.h: Here.
34639         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34641         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34642         instead of "_itoa.h" and "_itowa.h".
34643         * stdio-common/vfprintf.: Likewise.
34645 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34647         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34648         <bits/wordsize.h>.
34649         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34650         (__signbit): Likwise.
34651         (llrintf): Likwise.
34652         (llrint): Likwise.
34654 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34656         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34657         __WORDSIZE != 64.
34659 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34661         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34662         OVERFLOW_EXCEPTION_OK.
34663         * math/libm-test.inc ("Philosophy"): Update comment about
34664         exception testing.
34665         (OVERFLOW_EXCEPTION): Define.
34666         (OVERFLOW_EXCEPTION_OK): Likewise.
34667         (INVALID_EXCEPTION_OK): Renumber.
34668         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34669         (IGNORE_ZERO_INF_SIGN): Likewise.
34670         (test_exceptions): Handle FE_OVERFLOW.
34671         (exp10_test): Expect overflow exceptions.
34672         (exp2_test): Likewise.
34673         (expm1_test): Likewise.
34674         (nextafter_test): Likewise.
34675         (pow_test): Likewise.
34676         (scalbn_test): Likewise.
34677         (scalbln_test): Likewise.
34679 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34681         * sysdeps/x86_64/bits/atomic.h
34682         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34683         64bit integer.
34684         (atomic_exchange_acq): Likewise.
34685         (__arch_exchange_and_add_body): Likewise.
34686         (__arch_add_body): Likewise.
34687         (atomic_add_negative): Likewise.
34688         (atomic_add_zero): Likewise.
34690 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34692         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34693         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34695 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34697         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34698         Check __x86_64__ instead of __WORDSIZE.
34700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34702         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34704 2012-03-19  David S. Miller  <davem@davemloft.net>
34706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34708         * sysdeps/sparc/fpu/fenv_private.h: New file.
34709         * sysdeps/sparc/fpu/math_private.h: Use it.
34710         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34711         Remove.
34712         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34713         (libc_feholdexcept_setroundl): Remove.
34714         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34715         Remove.
34716         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34717         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34719 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34721         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34722         int64_t instead of long int.
34723         (INSERT_WORDS64): Likwise.
34725 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34727         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34728         _Unwind_GetCFA return to _Unwind_Ptr first.
34730 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34732         [BZ #13629]
34733         * math/s_clog.c: Include <float.h>.
34734         (__clog): Scale large or subnormal inputs.
34735         * math/s_clogf.c: Likewise.
34736         * math/s_clogl.c: Likewise.
34737         * math/s_clog10.c: Include <float.h>.
34738         (M_LOG10_2): Define.
34739         (__clog10): Scale large or subnormal inputs.
34740         * math/s_clog10f.c: Likewise.
34741         * math/s_clog10l.c: Likewise.
34742         * math/libm-test.inc (clog_test): Add more tests.
34743         (clog10_test): Likewise.
34744         * sysdeps/i386/fpu/libm-test-ulps: Update.
34745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34747         [BZ #11451]
34748         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34749         x and y.
34750         * math/libm-test.inc (atan2_test): Add another test.
34752         * Makerules (common-objdir-compile): Remove.
34753         * sysdeps/unix/Makefile (config-generated): Do not add
34754         $(unix-generated) to variable.
34755         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34756         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34757         Remove rule.
34758         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34759         Likewise.
34760         [generic bits/local_lim.h] (before-compile): Do not append to
34761         variable.
34762         [generic bits/local_lim.h] (common-generated): Likewise.
34763         [generic sys/param.h] (before-compile): Do not append to variable.
34764         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34765         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34766         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34767         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34768         include.
34769         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34770         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34771         [generic sys/param.h] ($(addprefix
34772         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34773         [generic sys/param.h] (common-generated): Do not append to
34774         variable.
34775         [generic sys/param.h] (sysdep_headers): Likewise.
34776         [generic bits/errno.h] (before-compile): Do not append to
34777         variable.
34778         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34779         rule.
34780         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34781         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34782         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34783         [generic bits/errno.h] (common-generated): Do not append to
34784         variable.
34785         [generic bits/ioctls.h] (before-compile): Do not append to
34786         variable.
34787         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34788         rule.
34789         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34790         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34791         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34792         rule.
34793         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34794         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34795         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34796         [generic bits/ioctls.h] (common-generated): Do not append to
34797         variable.
34798         [generic sys/syscall.h] (syscall.h): Remove variable.
34799         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34800         rule.
34801         [generic sys/syscall.h] (before-compile): Do not append to
34802         variable.
34803         [generic sys/syscall.h] (common-generated): Likewise.
34804         * sysdeps/unix/errnos-tmpl.c: Remove file.
34805         * sysdeps/unix/errnos.awk: Likewise.
34806         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34807         * sysdeps/unix/ioctls.awk: Likewise.
34808         * sysdeps/unix/mk-local_lim.c: Likewise.
34809         * sysdeps/unix/snarf-ioctls: Likewise.
34811 2012-03-19  Richard Henderson  <rth@twiddle.net>
34813         * sysdeps/i386/fpu/fenv_private.h: New file.
34814         * sysdeps/i386/fpu/math_private.h: Use it.
34815         (math_opt_barrier, math_force_eval): Remove.
34816         (libc_feholdexcept_setround_53bit): Remove.
34817         (libc_feupdateenv_53bit): Remove.
34818         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34819         (math_opt_barrier, math_force_eval): Remove.
34820         (libc_feholdexcept): Remove.
34821         (libc_feholdexcept_setround): Remove.
34822         (libc_fetestexcept, libc_fesetenv): Remove.
34823         (libc_feupdateenv_test): Remove.
34824         (libc_feupdateenv, libc_feholdsetround): Remove.
34825         (libc_feresetround): Remove.
34827         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34828         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34830         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34831         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34832         (libc_feupdateenv_testl): New.
34833         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34834         (libc_feupdateenv_testf): New.
34835         (libc_feupdateenv): Use libc_feupdateenv_test.
34836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34837         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34839         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34840         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34841         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34842         (libc_feresetround_noex): New.
34843         (libc_feresetround_noexf): New.
34844         (libc_feresetround_noexl): New.
34845         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34846         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34847         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34848         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34849         SET_RESTORE_ROUND.
34850         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34851         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34852         (__cos): Likewise.
34853         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34854         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34855         SET_RESTORE_ROUND_NOEX.
34856         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34857         SET_RESTORE_ROUND_NOEXF.
34858         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34859         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34860         (libc_feholdsetroundf): New.
34861         (libc_feresetround, libc_feresetroundf): New.
34863         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34864         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34865         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34867         * sysdeps/generic/math_private.h: Include <fenv.h>.
34868         (default_libc_feholdexcept): New.
34869         (default_libc_feholdexcept_setround): New.
34870         (default_libc_fesetenv, default_libc_feupdateenv): New.
34871         (libc_feholdexcept): Only define if undefined.
34872         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34873         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34874         (libc_feholdexcept_setroundl): Likewise.
34875         (libc_feholdexcept_setround_53bit): Likewise.
34876         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34877         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34878         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34879         (libc_feupdateenv_53bit): Likewise.
34880         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34881         (libc_feholdexcept): Convert from macro to inline function.
34882         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34883         (libc_fesetenv, libc_feupdateenv): Likewise.
34885         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34886         not previously defined.
34887         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34888         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34889         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34890         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34891         * sysdeps/ieee754/flt-32/math_private.h: New file.
34892         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34893         math_private.h below SET_FLOAT_WORD.
34894         (__isnan, __isinf_ns, __finite): Remove.
34895         (__isnanf, __isinf_nsf, __finitef): Remove.
34897 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34901 2012-03-17  David S. Miller  <davem@davemloft.net>
34903         [BZ #6471]
34904         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34905         for 2.16.
34907 2012-03-16  David S. Miller  <davem@davemloft.net>
34909         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34910         warnings.
34912         [BZ #6471]
34913         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34914         properly.
34915         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34916         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34917         sysdep_routines when subdir is sysvipc.
34918         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34919         __getshmlba helper.
34921         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34923 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34925         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34926         [__LP64__].
34928 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34930         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34931         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34932         (__lround): Renamed to ...
34933         (__llround): This.  Replace long int with long long int.
34934         Define lround functions as aliases of llround functions.
34935         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34937 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34939         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34940         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34941         adresses to uintptr_t.  Replace "long int" and "unsigned long
34942         int" with "greg_t" on va_arg.
34944 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34946         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34947         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34949         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34950         Move e_machine check before EI_CLASS check.  Handle x32
34951         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34952         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34953         SKIP_EM_IA_64 and include
34954         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34956         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34957         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34958         (add_system_dir): New macro.
34960         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34961         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34963 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34965         [BZ #2551]
34966         [BZ #2552]
34967         [BZ #2553]
34968         [BZ #2554]
34969         [BZ #2562]
34970         [BZ #2563]
34971         [BZ #2565]
34972         [BZ #2566]
34973         [BZ #2576]
34974         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34975         (y0): Likewise.
34976         * math/w_j0f.c (j0f): Likewise.
34977         (y0f): Likewise.
34978         * math/w_j0l.c (__j0l): Likewise.
34979         (__y0l): Likewise.
34980         * math/w_j1.c (j1): Likewise.
34981         (y1): Likewise.
34982         * math/w_j1f.c (j1f): Likewise.
34983         (y1f): Likewise.
34984         * math/w_j1l.c (__j1l): Likewise.
34985         (__y1l): Likewise.
34986         * math/w_jn.c (jn): Likewise.
34987         (yn): Likewise.
34988         * math/w_jnf.c (jnf): Likewise.
34989         (ynf): Likewise.
34990         * math/w_jnl.c (__jnl): Likewise.
34991         (__ynl): Likewise.
34992         * math/libm-test.inc (j0_test): Add more tests.
34993         (j1_test): Likewise.
34994         (jn_test): Likewise.  Add trailing semicolon to existing test.
34995         (y0_test): Likewise.
34996         (y1_test): Likewise.
34997         * sysdeps/i386/fpu/libm-test-ulps: Update.
34998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35000         [BZ #13851]
35001         [BZ #13854]
35002         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35003         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35004         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35005         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35006         (__tanl): Set errno for infinite argument.
35007         * sysdeps/i386/fpu/mptan.c: Remove.
35008         * sysdeps/i386/fpu/s_tan.S: Likewise.
35009         * sysdeps/i386/fpu/s_tanl.S: Likewise.
35010         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35011         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35012         * math/libm-test.inc (tan_test): Add more tests and enable more
35013         tests for double and long double.
35014         * sysdeps/i386/fpu/libm-test-ulps: Update.
35015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35017 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
35019         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35020         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35022 2012-03-16  Roland McGrath  <roland@hack.frob.com>
35024         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35025         * configure.in: Use it for both main tree and add-ons.
35026         * configure: Regenerated.
35028 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35030         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35032 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35034         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35035         in comment.
35037         [BZ #13851]
35038         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35039         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35040         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35041         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35042         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35043         infinite argument.
35044         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35045         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35046         != 0 for prec == 2.
35047         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35048         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35049         * sysdeps/i386/fpu/s_cosl.S: Likewise.
35050         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35051         * sysdeps/i386/fpu/s_sinl.S: Likewise.
35052         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35053         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35054         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35055         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35056         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35057         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35058         * math/libm-test.inc (cos_test): Add more tests and enable more
35059         tests for long double.
35060         (sin_test): Likewise.
35061         (sincos_test): Likewise.
35062         * sysdeps/i386/fpu/libm-test-ulps: Update.
35063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35065 2012-03-16  David S. Miller  <davem@davemloft.net>
35067         * sysdeps/sparc/fpu/math_private.h: New file.
35069 2012-03-15  David S. Miller  <davem@davemloft.net>
35071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35072         file.
35073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35075         file.
35076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35081         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35082         sysdep routines.
35083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35085         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35086         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35088         * sysdeps/sparc/sparc-ifunc.h: New file.
35089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35090         sparc-ifunc.h
35091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35093         Likewise.
35094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35095         Likewise.
35096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35100         Likewise.
35101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35106         Likewise.
35107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35108         Likewise.
35109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35115         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35116         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35117         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35123         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35125         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35126         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35127         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35128         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35129         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35130         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35131         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35132         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35134 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35136         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35137         scaling.
35138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35140 2012-03-15  Andreas Jaeger  <aj@suse.de>
35142         [BZ #13852]
35143         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35144         ieee754/flt-32 implementation for sin, cos and sincos.
35145         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35146         * sysdeps/i386/fpu/s_cosf.S: Likewise.
35147         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35148         * sysdeps/i386/fpu/s_sinf.S: Likewise.
35149         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35150         ieee754/flt-32 implementation for tan.
35152         * math/libm-test.inc (cos_test): Enable some large input tests for
35153         float as well
35154         (sin_test): Likewise.
35155         (sincos_test): Likewise.
35156         (tan_test): Add tests for large input.
35158         * sysdeps/i386/fpu/libm-test-ulps: Update.
35160 2012-03-15  Andreas Jaeger  <aj@suse.de>
35162         [BZ #13658]
35163         * math/libm-test.inc (cos_test): Add more test cases.
35164         (sin_test): Likewise.
35165         (sincos_test): Likewise.
35167 2012-03-15  Andreas Jaeger  <aj@suse.de>
35169         [BZ #13837]
35170         * math/libm-test.inc (cos_test): Add a test case for large input
35171         value.
35172         (sin_test): Likewise.
35173         (sincos_test): Likewise.
35175 2012-03-15  Andreas Jaeger  <aj@suse.de>
35176             Joseph Myers  <joseph@codesourcery.com>
35178         [BZ #13658]
35179         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35180         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35181         * sysdeps/i386/fpu/branred.c: Likewise.
35182         * sysdeps/i386/fpu/dosincos.c: Likewise.
35183         * sysdeps/i386/fpu/mpa.c: Likewise.
35184         * sysdeps/i386/fpu/s_cos.S: Likewise.
35185         * sysdeps/i386/fpu/s_sin.S: Likewise.
35186         * sysdeps/i386/fpu/s_sincos.S: Likewise.
35187         * sysdeps/i386/fpu/sincos32.c: Likewise.
35189         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35190         Define.
35191         (libc_feupdateenv_53bit): Define.
35192         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35193         Define.
35194         (libc_feupdateenv_53bit): Define.
35196         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35197         53 bit (without extend i386 double precision).
35199         * math/libm-test.inc (sincos_test): Add tests for large input.
35200         (sin): Likewise.
35201         (cos): Likewise.
35203         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35205 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35209 2012-03-15  David S. Miller  <davem@davemloft.net>
35211         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35212         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35213         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35214         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35222         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35223         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35227         file.
35228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35230         file.
35231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35233         file.
35234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35236         file.
35237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35238         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35239         fmin/fmax sysdep routines.
35240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35242 2012-03-14  David S. Miller  <davem@davemloft.net>
35244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35248         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35249         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35250         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35251         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35254         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35255         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35256         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35257         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35260         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35261         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35262         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35263         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35264         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35265         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35266         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35267         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35268         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35269         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35270         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35271         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35272         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35273         routines.
35274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35275         file.
35276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35278         file.
35279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35281         file.
35282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35284         file.
35285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35287         file.
35288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35290         file.
35291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35292         file.
35293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35294         file.
35295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35296         file.
35297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35298         New file.
35299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35300         file.
35301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35302         file.
35303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35305         file.
35306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35308         file.
35309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35311         file.
35312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35314         VIS3 routines.
35316         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35317         New file.
35319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35321         * sysdeps/sparc/configure.in: New file.
35322         * sysdeps/sparc/configure: Generate.
35323         * configure.in (libc_cv_sparc_as_vis3): Substitute.
35324         * configure: Regenerate.
35325         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35326         * config.make.in (have-as-vis3): New.
35327         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35328         available use -Av9d instead of -Av9a.
35329         * sysdeps/sparc/sparc64/Makefile: Likewise.
35330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35332         New file.
35333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35334         file.
35335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35336         New file.
35337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35338         file.
35339         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35340         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35341         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35342         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35343         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35345         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35346         fzeros/fnegs to load 0x80000000 into a float register instead of
35347         using the stack.
35348         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35350 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35353         bits/syscall.h.
35354         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35355         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35356         ($(inst_includedir)/bits/syscall.h): Remove rule.
35357         ($(objpfx)bits/syscall.d): Include instead of
35358         $(objpfx)syscall-list.d.
35359         (generated): Change syscall-list.h and syscall-list.d to
35360         bits/syscall.h and bits/syscall.d.
35362 2012-03-14  Roland McGrath  <roland@hack.frob.com>
35364         [BZ #13846]
35365         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35367 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35369         [BZ #13841]
35370         * math/s_csqrt.c: Include <float.h>.
35371         (__csqrt): Scale large or subnormal inputs.
35372         * math/s_csqrtf.c: Likewise.
35373         * math/s_csqrtl.c: Likewise.
35374         * math/libm-test.inc (csqrt_test): Add more tests.
35375         * sysdeps/i386/fpu/libm-test-ulps: Update.
35376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35378         [BZ #13840]
35379         * math/libm-test.inc (hypot_test): Add more tests.
35381 2012-03-13  David S. Miller  <davem@davemloft.net>
35383         [BZ #13840]
35384         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35385         double-precision for the calculation instead of scaling.
35387 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
35389         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35390         manipulate bits before adding and subtracting TWO52[sx].
35391         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35392         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35393         Likewise.
35394         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35396 2012-03-13  David S. Miller  <davem@davemloft.net>
35398         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35399         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35400         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35401         rtld-global-offsets.h
35402         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35404         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35405         large parameters.
35407         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35409         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35410         'err' in the ifdef scope in which it is actually used.
35412         * nss/nss_db/db-init.c: Include string.h
35414 2012-03-12  David S. Miller  <davem@davemloft.net>
35416         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35417         masking out of the most significant byte of random value used.
35418         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35419         Fix coding style in previous change.
35421         * sysdeps/unix/sysv/linux/kernel-features.h
35422         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35423         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35424         expression.
35425         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35426         later.
35428 2012-03-11  David S. Miller  <davem@davemloft.net>
35430         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35431         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35432         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35433         for 'resultvar' otherwise things get truncated on 64-bit.
35435         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35436         Fix masking out of the most significant byte of random value used.
35438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35440 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
35442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35444 2012-03-09  David S. Miller  <davem@davemloft.net>
35446         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35447         variables with appropriate CPP guards.
35448         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35449         from the frame pointer, not the stack pointer.  Correct layout
35450         comments.  Fix test on resulting framesize and the management of
35451         the outregs buffer for pltexit.  Preserve floating point return
35452         values across _dl_call_pltexit call.
35453         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35454         framesize and the management of the outregs buffer for pltexit.
35455         Preserve floating point return values across _dl_call_pltexit
35456         call.
35457         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35458         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35459         (la_sparc64_gnu_pltexit): New functions.
35460         (print_exit): Fix format string for return register value.
35462 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
35464         * sunrpc/Makefile (others): Add rpcgen.
35465         ($(objpfx)rpcgen): Remove special build rule and dependency on
35466         libc.
35467         * sunrpc/rpcgen.c: New file.
35469 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
35471         [BZ #13673]
35472         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35473         * stdio-common/bug-vfprintf-nargs.c: Likewise.
35474         * sysdeps/i386/crti.S: Likewise.
35475         * sysdeps/i386/crtn.S: Likewise.
35476         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35477         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35478         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35479         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35480         * sysdeps/sh/crti.S: Likewise.
35481         * sysdeps/sh/crtn.S: Likewise.
35482         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35484         [BZ #13673]
35485         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35486         with URL.
35487         * locale/programs/locfile-kw.gperf: Likewise.
35488         * locale/programs/charmap-kw.h: Regenerated.
35489         * locale/programs/locfile-kw.h: Likewise.
35491         [BZ #13673]
35492         * intl/plural.y: Replace FSF snail mail address with URL.
35493         * intl/plural.c: Regenerated.
35495 2012-03-09  Richard Henderson  <rth@twiddle.net>
35497         * include/math_private.h: Remove file.
35498         * math/math_private.h: Move file ...
35499         * sysdeps/generic/math_private.h: ... here.
35501         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35502         * sysdeps/powerpc/fpu/math_private.h: Likewise.
35503         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35505         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35506         and <math_private.h>.
35507         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35508         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35509         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35510         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35511         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35512         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35513         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35514         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35515         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35516         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35517         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35518         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35519         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35520         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35521         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35522         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35523         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35524         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35525         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35526         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35527         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35528         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35529         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35530         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35531         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35532         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35533         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35534         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35535         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35536         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35537         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35538         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35539         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35540         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35541         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35542         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35543         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35544         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35545         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35546         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35547         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35548         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35549         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35550         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35551         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35552         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35553         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35554         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35555         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35556         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35557         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35558         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35559         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35560         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35561         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35562         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35563         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35564         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35565         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35566         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35567         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35568         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35569         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35570         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35571         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35572         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35573         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35574         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35575         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35576         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35577         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35578         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35579         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35580         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35581         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35582         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35583         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35584         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35585         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35586         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35587         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35588         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35589         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35590         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35591         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35592         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35593         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35594         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35595         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35596         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35597         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35598         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35599         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35600         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35601         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35602         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35603         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35604         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35605         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35606         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35607         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35608         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35609         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35610         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35611         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35612         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35613         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35614         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35615         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35616         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35617         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35618         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35619         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35620         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35621         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35622         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35623         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35624         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35625         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35626         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35627         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35628         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35629         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35630         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35631         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35632         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35633         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35634         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35635         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35636         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35637         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35638         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35639         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35640         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35641         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35642         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35643         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35644         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35645         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35646         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35647         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35648         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35649         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35650         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35651         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35652         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35653         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35654         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35655         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35656         * sysdeps/ieee754/k_standard.c: Likewise.
35657         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35658         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35659         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35660         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35661         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35662         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35663         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35664         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35665         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35666         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35667         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35668         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35669         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35670         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35671         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35672         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35673         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35674         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35675         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35676         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35677         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35678         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35679         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35680         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35681         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35682         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35683         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35684         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35685         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35686         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35687         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35688         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35689         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35690         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35691         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35692         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35693         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35694         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35695         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35696         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35697         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35698         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35699         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35700         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35701         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35702         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35703         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35704         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35705         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35706         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35707         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35708         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35709         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35710         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35711         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35712         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35713         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35714         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35715         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35716         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35717         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35718         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35719         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35720         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35721         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35722         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35723         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35724         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35725         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35726         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35727         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35729         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35730         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35731         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35732         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35733         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35734         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35735         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35736         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35737         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35738         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35739         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35740         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35741         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35742         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35743         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35744         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35745         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35746         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35747         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35748         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35749         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35750         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35751         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35752         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35753         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35754         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35755         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35756         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35757         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35758         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35759         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35760         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35761         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35762         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35763         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35764         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35765         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35766         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35767         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35768         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35769         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35770         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35771         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35772         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35773         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35774         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35775         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35776         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35777         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35778         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35779         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35780         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35781         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35782         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35783         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35784         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35785         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35786         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35787         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35788         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35789         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35790         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35791         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35792         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35793         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35794         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35795         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35796         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35797         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35798         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35799         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35800         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35801         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35802         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35803         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35804         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35805         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35806         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35807         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35808         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35809         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35810         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35811         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35812         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35813         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35814         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35815         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35816         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35817         * sysdeps/ieee754/s_lib_version.c: Likewise.
35818         * sysdeps/ieee754/s_matherr.c: Likewise.
35819         * sysdeps/ieee754/s_signgam.c: Likewise.
35820         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35821         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35822         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35823         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35824         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35825         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35826         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35827         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35828         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35829         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35830         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35831         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35832         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35833         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35834         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35835         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35836         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35837         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35838         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35839         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35840         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35842 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35844         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35845         * sunrpc/rpc_main.c: Likewise.
35846         * sunrpc/rpc_svcout.c: Likewise.
35848 2012-03-09  David S. Miller  <davem@davemloft.net>
35850         * include/math_private.h: New file.
35852 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35854         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35855         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35856         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35857         from <bits/socket_type.h>.
35858         (enum __socket_type): Don't define here.
35859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35860         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35861         bits/socket_type.h.
35863         [BZ #13566]
35864         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35865         checking __USE_GNU.
35867         * Makerules ($(inst_includedir)/%.h): New rule.
35868         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35869         (install-others): Remove variable setting.
35870         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35872 2012-03-08  Richard Henderson  <rth@twiddle.net>
35874         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35875         from macro to inline function; merge with the
35876         !__LIBC_INTERNAL_MATH_INLINES version.
35877         (__ieee754_sqrtf): Likewise.
35879         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35880         to inline function.
35881         (__rintf, __floor, __floorf): Likewise.
35883         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35884         macro to inline function.
35885         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35887         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35888         not <math/math_private.h>.
35890 2012-03-08  David S. Miller  <davem@davemloft.net>
35892         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35893         copyright year.
35894         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35896 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35898         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35899         normalization.
35900         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35901         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35903 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35905         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35906         be defined individually, they must be defined as a block.  Define
35907         S for printing a string instead of hidint the different by using a
35908         macro for adding the 'l'.
35909         * stdio-common/tst-fphex-wide.c: Adjust.
35911 2012-03-07  Marek Polacek  <polacek@redhat.com>
35913         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35915 2012-03-08  Marek Polacek  <polacek@redhat.com>
35917         [BZ #13806]
35918         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35919         * stdio-common/tst-fphex.c: Define a few macros to make the
35920         test reusable.  Use them.
35921         * stdio-common/tst-fphex-wide.c: New file.
35923 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35925         [BZ #6911]
35926         * manual/macros.texi (gnusystems): New macro.
35927         (nongnusystems): Likewise.
35928         (gnulinuxhurdsystems): Likewise.
35929         (gnuhurdsystems): Likewise..
35930         (gnulinuxsystems): Likewise.
35931         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35932         variants of the GNU system, not "GNU system".
35933         * manual/conf.texi: Likewise.
35934         * manual/errno.texi: Likewise.  Update example of errno macro
35935         expansion.
35936         * manual/filesys.texi: Likewise.
35937         (getumask): Document as specific to GNU/Hurd.
35938         * manual/install.texi: Likewise.  Reword some references to
35939         GNU/Linux.
35940         * manual/intro.texi: Likewise.
35941         * manual/io.texi: Likewise.
35942         (File Name Portability): Detail which constraints are inapplicable
35943         to all GNU systems and which are only inapplicable to GNU/Hurd.
35944         * manual/job.texi: Likewise.
35945         * manual/llio.texi: Likewise.
35946         (O_NOCTTY): Document as present on GNU/Linux.
35947         * manual/maint.texi: Likewise.
35948         * manual/memory.texi: Likewise.
35949         * manual/pattern.texi: Likewise.
35950         * manual/pipe.texi: Likewise.
35951         * manual/process.texi: Likewise.
35952         * manual/resource.texi: Likewise.
35953         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35954         child on GNU/Hurd.
35955         * manual/setjmp.texi: Likewise.
35956         * manual/signal.texi: Likewise.
35957         * manual/startup.texi: Likewise.
35958         * manual/stdio.texi: Likewise.
35959         * manual/terminal.texi: Likewise.
35960         (ONLCR): Document as POSIX.
35961         (OXTABS): Document availability on GNU/Linux as XTABS.
35962         (ONOEOT): Document availability separately from other bits.
35963         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35964         * manual/time.texi: Likewise.
35965         * manual/users.texi: Likewise.
35966         * INSTALL: Regenerated.
35967         * sysdeps/gnu/errlist.c: Regenerated.
35969         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35970         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35971         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35972         puts.
35973         * configure: Regenerated.
35975 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35977         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35978         default includes instead of AC_HEADER_CHECK.
35979         * sysdeps/i386/configure: Regenerated.
35981         [BZ #10716]
35982         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35983         * math/s_cacoshf.c (__cacoshf): Likewise.
35984         * math/s_cacoshl.c (__cacoshl): Likewise.
35985         * math/s_casinh.c (__casinh): Set signs of result from argument.
35986         * math/s_casinhf.c (__casinhf): Likewise.
35987         * math/s_casinhl.c (__casinhl): Likewise.
35988         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35989         (casinh_test): Add more tests.
35990         * sysdeps/i386/fpu/libm-test-ulps: Update.
35991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35993 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35995         * po/zh_TW.po: Update from translation team.
35997         * login/Makefile (distribute): Remove variable.
35998         * catgets/Makefile: Likewise.
35999         * mach/Makefile: Likewise.
36000         * malloc/Makefile: Likewise.
36001         * misc/Makefile: Likewise.
36002         * iconv/Makefile: Likewise.
36003         * nscd/Makefile: Likewise.
36004         * hurd/Makefile: Likewise.
36005         * manual/Makefile: Likewise.
36006         * locale/Makefile: Likewise.
36007         * intl/Makefile: Likewise.
36008         * conform/Makefile: Likewise.
36009         * nss/Makefile: Likewise.
36010         * time/Makefile: Likewise.
36011         * soft-fp/Makefile: Likewise.
36012         * dirent/Makefile: Likewise.
36013         * gmon/Makefile: Likewise.
36014         * po/Makefile: Likewise.
36015         * rt/Makefile: Likewise.
36016         * socket/Makefile: Likewise.
36017         * math/Makefile: Likewise.
36018         * signal/Makefile: Likewise.
36019         * debug/Makefile: Likewise.
36020         * elf/Makefile: Likewise.
36021         * timezone/Makefile: Likewise.
36022         * stdlib/Makefile: Likewise.
36023         * iconvdata/Makefile: Likewise.
36024         * sunrpc/Makefile: Likewise.
36025         * io/Makefile: Likewise.
36026         * argp/Makefile: Likewise.
36027         * inet/Makefile: Likewise.
36028         * hesiod/Makefile: Likewise.
36029         * grp/Makefile: Likewise.
36030         * csu/Makefile: Likewise.
36031         * wctype/Makefile: Likewise.
36032         * crypt/Makefile: Likewise.
36033         * libio/Makefile: Likewise.
36034         * string/Makefile: Likewise.
36035         * nis/Makefile: Likewise.
36036         * resolv/Makefile: Likewise.
36037         * stdio-common/Makefile: Likewise.
36038         * wcsmbs/Makefile: Likewise.
36039         * dlfcn/Makefile: Likewise.
36040         * posix/Makefile: Likewise.
36042         [BZ #6959]
36043         * timezone/Makefile: Don't install timezone files, just the programs
36044         and scripts.
36046 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
36048         * nss/databases.def: Add missing gshadow entry.
36050         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
36052 2012-03-06  Marek Polacek  <polacek@redhat.com>
36054         [BZ #13726]
36055         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36056         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36057         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36058         * stdio-common/tst-long-dbl-fphex.c: New file.
36060 2012-03-06  David S. Miller  <davem@davemloft.net>
36062         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36063         (set_obp_int): New function.
36064         (get_obp_int): New function.
36065         (__get_clockfreq_via_dev_openprom): Likewise.
36066         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36067         Avoid unused variable warnings on 'val' and use builtin_expect.
36068         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36069         __builtin_expect.
36070         (INLINE_CLONE_SYSCALL): Likewise.
36072 2012-03-05  David S. Miller  <davem@davemloft.net>
36074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36076 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
36078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36080         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36081         only for |x| >= 40.
36082         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36084 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36086         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36087         Replace gettimeofday with __vdso_gettimeofday.
36089         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36090         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36091         __vdso_clock_gettime and __vdso_getcpu.
36093         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36094         time with __vdso_time.
36096 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36098         * manual/lang.texi (size_t): Note types to which size_t may be
36099         equivalent with the GNU C Library, but do not describe when
36100         differences between them are significant.
36102 2012-03-05  Andreas Jaeger  <aj@suse.de>
36104         * sysdeps/i386/fpu/libm-test-ulps: Update.
36106 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36108         [BZ #3976]
36109         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36110         (__ieee754_pow): Save and restore rounding mode and use
36111         round-to-nearest for main computations.
36112         * math/libm-test.inc (pow_test_tonearest): New function.
36113         (pow_test_towardzero): Likewise.
36114         (pow_test_downward): Likewise.
36115         (pow_test_upward): Likewise.
36116         (main): Call the new functions.
36117         * sysdeps/i386/fpu/libm-test-ulps: Update.
36118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36120         [BZ #3976]
36121         * math/libm-test.inc (cosh_test_tonearest): New function.
36122         (cosh_test_towardzero): Likewise.
36123         (cosh_test_downward): Likewise.
36124         (cosh_test_upward): Likewise.
36125         (sinh_test_tonearest): Likewise.
36126         (sinh_test_towardzero): Likewise.
36127         (sinh_test_downward): Likewise.
36128         (sinh_test_upward): Likewise.
36129         (main): Call the new functions.
36130         * sysdeps/i386/fpu/libm-test-ulps: Update.
36131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36133 2012-03-05  Tom de Vries  <tom@codesourcery.com>
36135         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36136         default stack guard is set in last bytes.
36137         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36139 2012-03-05  Kees Cook  <keescook@chromium.org>
36141         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36143         [BZ #13656]
36144         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36145         possibly allocate from heap instead of stack.
36146         * stdio-common/bug-vfprintf-nargs.c: New file.
36147         * stdio-common/Makefile (tests): Add nargs overflow test.
36149 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
36151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36153 2012-03-03  Marek Polacek  <polacek@redhat.com>
36155         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36156         * math/math_private.h: Likewise.
36157         * stdlib/tst-strtod.c: Likewise.
36158         * sysdeps/i386/i486/bits/atomic.h: Likewise.
36159         * sysdeps/x86_64/bits/atomic.h: Likewise.
36161 2012-03-02  David S. Miller  <davem@davemloft.net>
36163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36167         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36168         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36169         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36170         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36172 2012-03-02  Roland McGrath  <roland@hack.frob.com>
36174         [BZ #13792]
36175         * manual/examples/README: New file, says the example source files
36176         can be used under GPL>=2.
36177         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36178         line containing just "*/".
36179         * manual/examples/add.c: Add copyright header (GPL>=2).
36180         * manual/examples/argp-ex1.c: Likewise.
36181         * manual/examples/argp-ex2.c: Likewise.
36182         * manual/examples/argp-ex3.c: Likewise.
36183         * manual/examples/argp-ex4.c: Likewise.
36184         * manual/examples/atexit.c: Likewise.
36185         * manual/examples/db.c: Likewise.
36186         * manual/examples/dir.c: Likewise.
36187         * manual/examples/dir2.c: Likewise.
36188         * manual/examples/execinfo.c: Likewise.
36189         * manual/examples/filecli.c: Likewise.
36190         * manual/examples/filesrv.c: Likewise.
36191         * manual/examples/fmtmsgexpl.c: Likewise.
36192         * manual/examples/genpass.c: Likewise.
36193         * manual/examples/inetcli.c: Likewise.
36194         * manual/examples/inetsrv.c: Likewise.
36195         * manual/examples/isockad.c: Likewise.
36196         * manual/examples/longopt.c: Likewise.
36197         * manual/examples/memopen.c: Likewise.
36198         * manual/examples/memstrm.c: Likewise.
36199         * manual/examples/mkfsock.c: Likewise.
36200         * manual/examples/mkisock.c: Likewise.
36201         * manual/examples/mygetpass.c: Likewise.
36202         * manual/examples/pipe.c: Likewise.
36203         * manual/examples/popen.c: Likewise.
36204         * manual/examples/rprintf.c: Likewise.
36205         * manual/examples/search.c: Likewise.
36206         * manual/examples/select.c: Likewise.
36207         * manual/examples/setjmp.c: Likewise.
36208         * manual/examples/sigh1.c: Likewise.
36209         * manual/examples/sigusr.c: Likewise.
36210         * manual/examples/stpcpy.c: Likewise.
36211         * manual/examples/strdupa.c: Likewise.
36212         * manual/examples/strftim.c: Likewise.
36213         * manual/examples/strncat.c: Likewise.
36214         * manual/examples/subopt.c: Likewise.
36215         * manual/examples/swapcontext.c: Likewise.
36216         * manual/examples/termios.c: Likewise.
36217         * manual/examples/testopt.c: Likewise.
36218         * manual/examples/testpass.c: Likewise.
36219         * manual/examples/timeval_subtract.c: Likewise.
36221         [BZ #13792]
36222         * manual/time.texi (Elapsed Time): Move timeval_subtract example
36223         function to ...
36224         * manual/timeval_subtract.c.texi: ... here, new file.
36226 2012-03-02  David S. Miller  <davem@davemloft.net>
36228         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36230 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
36232         [BZ #3976]
36233         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36234         (__sin): Save and restore rounding mode and use round-to-nearest
36235         for all computations.
36236         (__cos): Save and restore rounding mode and use round-to-nearest
36237         for all computations.
36238         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36239         <fenv.h>.
36240         (tan): Save and restore rounding mode and use round-to-nearest for
36241         all computations.
36242         * math/libm-test.inc (cos_test_tonearest): New function.
36243         (cos_test_towardzero): Likewise.
36244         (cos_test_downward): Likewise.
36245         (cos_test_upward): Likewise.
36246         (sin_test_tonearest): Likewise.
36247         (sin_test_towardzero): Likewise.
36248         (sin_test_downward): Likewise.
36249         (sin_test_upward): Likewise.
36250         (tan_test_tonearest): Likewise.
36251         (tan_test_towardzero): Likewise.
36252         (tan_test_downward): Likewise.
36253         (tan_test_upward): Likewise.
36254         (main): Call the new functions.
36255         * sysdeps/i386/fpu/libm-test-ulps: Update.
36256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36258         [BZ #10135]
36259         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36260         small n, then large n, before computing and testing k+n.
36261         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36262         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36263         Likewise.
36264         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36265         Likewise.
36266         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36267         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36268         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36269         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36270         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36271         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36272         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36273         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36274         * math/libm-test.inc (scalbn_test): Add more tests.
36275         (scalbln_test): Likewise.
36277         * manual/filesys.texi (mode_t): Describe constraints on size and
36278         signedness, not exact equivalence to a particular type.
36279         (ino_t): Likewise.
36280         (ino64_t): Likewise.
36281         (dev_t): Likewise.
36282         (nlink_t): Likewise.
36283         (blkcnt_t): Likewise.
36284         (blkcnt64_t): Likewise.
36285         * manual/llio.texi (off_t): Likewise.
36287         [BZ #3976]
36288         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36289         (__ieee754_exp): Save and restore rounding mode and use
36290         round-to-nearest for all computations.
36291         * math/libm-test.inc (exp_test_tonearest): New function.
36292         (exp_test_towardzero): Likewise.
36293         (exp_test_downward): Likewise.
36294         (exp_test_upward): Likewise.
36295         (main): Call the new functions.
36296         * sysdeps/i386/fpu/libm-test-ulps: Update.
36297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36299 2012-03-01  Chris Demetriou  <cgd@google.com>
36301         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36302         have predictable order.
36304 2012-03-01  David S. Miller  <davem@davemloft.net>
36306         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36308         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36309         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36310         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36311         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36313         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36314         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36315         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36317         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36318         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36319         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36320         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36321         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36325         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36326         * sysdeps/sparc/fpu/libm-test-ulps: to here.
36327         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36329         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36330         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36331         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36332         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36333         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36334         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36335         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36336         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36337         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36338         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36339         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36340         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36341         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36342         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36343         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36344         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36345         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36346         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36347         * sysdeps/sparc/elf/configure: Regenerated.
36349 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
36351         * configure.in (AS, LD): Require binutils 2.20 or later.
36352         * configure: Regenerated.
36353         * manual/install.texi (Tools for Compilation): Give binutils 2.20
36354         as required minimum version.
36355         * INSTALL: Regenerated.
36357         [BZ #2541]
36358         [BZ #4108]
36359         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36360         before squaring exponent.
36361         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36362         bottom long double and 27 bits of top long double before squaring
36363         exponent.
36364         * math/libm-test.inc (erfc_test): Add more tests.
36365         * sysdeps/i386/fpu/libm-test-ulps: Update.
36366         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36369 2012-03-01  Kai Tietz  <ktietz@redhat.com>
36371         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36372         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36373         containing bit-fields.
36374         * soft-fp/extended.h (_FP_UNION_E): Likewise.
36375         * soft-fp/single.h (_FP_UNION_S): Likewise.
36376         * soft-fp/double.h (_FP_UNION_D): Likewise.
36378 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36380         [BZ #13786]
36381         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36382         not include ../strcmp.S.
36383         [USE_AS_STRNCASECMP_L]: Likewise.
36384         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36385         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36386         * sysdeps/i386/i686/multiarch/strncase_l-c.c
36387         (__strncasecmp_l_ia32): Define as alias to
36388         __strncasecmp_l_nonascii.
36390         [BZ #5794]
36391         * math/libm-test.inc (expm1_test): Add test for bug 5794.
36392         * sysdeps/i386/fpu/libm-test-ulps: Update.
36393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36395         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36398 2012-02-29  Jeff Law  <law@redhat.com>
36400         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36401         out of bounds read.
36403 2012-02-29  Marek Polacek  <polacek@redhat.com>
36405         [BZ #13706]
36406         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36407         * elf/Makefile: Add rules to run tst-unused-dep.out.
36409 2012-02-28  David S. Miller  <davem@davemloft.net>
36411         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36412         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36413         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36414         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36415         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36416         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36418 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36420         * math/libm-test.inc (llround_test): Move one test from
36421         lround_test.  Use TEST_f_L in moved test.
36422         (lround_test): Move misplaced test to llround_test.  Add testcase
36423         from bug 2561.
36425 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
36427         * sysdeps/x86_64/fpu/e_expf.S: New file.
36428         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36430 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
36432         [BZ #13637]
36433         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36434         of remain_len that may cause incomplete multi-byte character and
36435         false match.
36436         * posix/bug-regex33.c: New file.
36437         * posix/Makefile (tests): Add bug-regex33.
36439 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
36441         * manual/macros.texi: New file.
36442         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36443         * manual/libc.texinfo: Include macros.texi.
36444         * manual/creatute.texi: Likewise.
36445         * manual/install.texi: Likewise.
36446         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36447         @glibcadj{} in references to the GNU C Library.
36448         * manual/charset.texi: Likewise.
36449         * manual/conf.texi: Likewise.
36450         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
36451         when not using those macros.
36452         * manual/creature.texi: Likewise.
36453         * manual/crypt.texi: Likewise.
36454         * manual/errno.texi: Likewise.
36455         * manual/filesys.texi: Likewise.
36456         * manual/header.texi: Likewise.
36457         * manual/install.texi: Likewise.
36458         * manual/intro.texi: Likewise.
36459         * manual/io.texi: Likewise.
36460         * manual/job.texi: Likewise.
36461         * manual/lang.texi: Likewise.
36462         * manual/libc.texiinfo: Likewise.
36463         * manual/llio.texi: Likewise.
36464         * manual/locale.texi: Likewise.
36465         * manual/maint.texi: Likewise.
36466         * manual/math.texi: Likewise.
36467         * manual/memory.texi: Likewise.
36468         * manual/message.texi: Likewise.
36469         * manual/nss.texi: Likewise.
36470         * manual/pattern.texi: Likewise.
36471         * manual/process.texi: Likewise.
36472         * manual/resource.texi: Likewise.
36473         * manual/search.texi: Likewise.
36474         * manual/setjmp.texi: Likewise.
36475         * manual/signal.texi: Likewise.
36476         * manual/socket.texi: Likewise.
36477         * manual/startup.texi: Likewise.
36478         * manual/stdio.texi: Likewise.
36479         * manual/string.texi: Likewise.
36480         * manual/sysinfo.texi: Likewise.
36481         * manual/syslog.texi: Likewise.
36482         * manual/terminal.texi: Likewise.
36483         * manual/time.texi: Likewise.
36484         * manual/users.texi: Likewise.
36485         * INSTALL: Regenerated.
36486         * NOTES: Regenerated.
36487         * sysdeps/gnu/errlist.c: Regenerated.
36489 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
36491         * include/dirent.h: Include <dirstream.h> before
36492         <dirent/dirent.h>.
36494 2012-02-28  David S. Miller  <davem@davemloft.net>
36496         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36497         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36498         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36499         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36501 2012-02-27  David S. Miller  <davem@davemloft.net>
36503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36505         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36506         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36509         frame pointer instead of stack pointer relative arg slot.
36510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36511         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36512         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36514 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
36516         [BZ #3992]
36517         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36519 2012-02-27  David S. Miller  <davem@davemloft.net>
36521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36525         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36526         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36527         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36528         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36530 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36532         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36533         later.  Allow versions 5-9.
36534         * configure: Regenerated.
36535         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36536         required minimum version and 4.6 as recommended version.  Do not
36537         mention bugs in GCC 2.7 and 2.8.
36538         * INSTALL: Regenerated.
36540 2012-02-27  David S. Miller  <davem@davemloft.net>
36542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36546         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36547         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36548         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36549         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36551         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36552         manipulate bits before adding and subtracting TWO112[sx].
36553         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36555 2012-02-27  Roland McGrath  <roland@hack.frob.com>
36557         [BZ #13775]
36558         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36559         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36560         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36561         being in POSIX, because they are in 1003.1-2008.
36563         * rt/tst-aio.c: Include <fcntl.h>.
36564         * rt/tst-aio7.c: Likewise.
36565         * rt/tst-aio64.c: Likewise.
36567         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36569 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36571         * manual/install.texi (--with-headers): Describe headers as
36572         interface headers, not private headers.
36573         (Specific advice for GNU/Linux systems): Describe use of headers
36574         from "make headers_install", not private headers from older
36575         kernels.
36576         * INSTALL: Regenerated.
36577         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36578         Change to 2.6.19.
36579         * sysdeps/unix/sysv/linux/configure: Regenerated.
36581         * manual/llio.texi (fclean): Remove documentation.
36583         * manual/Makefile (libc-texi-generated): New variable.  Include
36584         version.texi.
36585         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36586         $(libc-texi-generated), not duplicated list of files.
36587         (version.texi, stamp-version): New rules.
36588         (realclean): Remove $(libc-texi-generated), not individual files
36589         from that list.  Do not remove dir-add.texinfo.
36590         * manual/libc.texinfo: Comment out uses of edition numbers and
36591         references to printed manual.  Remove last-updated dates.
36592         (EDITION): Comment out.
36593         (ISBN): Likewise.
36594         (VERSION, UPDATED): Remove.
36595         (version.texi): Include.
36597 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36599         * sysdeps/posix/spawni.c: Include <signal.h>.
36600         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36601         * sysdeps/pthread/aio_fsync.c: Likewise.
36603 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36605         * conform/Makefile (tests): Run only when not cross-compiling and
36606         when fast-check is not defined.
36608         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36609         * conform/data/limits.h-data: Fixes for POSIX2008.
36610         * conform/run-conformtest.sh: Run all tests.
36611         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36612         headers.
36613         * include/bits/dlfcn.h: Likewise.
36614         * include/langinfo.h: Likewise.
36615         * include/monetary.h: Likewise.
36616         * include/sys/poll.h: Likewise.
36618         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36619         for __USE_GNU.
36620         * posix/spawn.h: Define __need_sigset_t.
36621         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36622         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36623         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36624         to get sigevent_t only.
36625         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36626         only for __USE_GNU.
36627         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36628         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36629         process_vm_writev only for __USE_GNU.
36630         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36632         * conform/Makefile: For now ignore errors from run-conformtest.
36633         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36634         POSIX to avoid namespace pollution.  Don't prepend headers.
36635         * conform/data/aio.h-data: Fixes for POSIX testing.
36636         * conform/data/fcntl.h-data: Likewise.
36637         * conform/data/glob.h-data: Likewise.
36638         * conform/data/grp.h-data: Likewise.
36639         * conform/data/pthread.h-data: Likewise.
36640         * conform/data/pwd.h-data: Likewise.
36641         * conform/data/signal.h-data: Likewise.
36642         * conform/data/spawn.h-data: Likewise.
36643         * conform/data/stdio.h-data: Likewise.
36644         * conform/data/stdlib.h-data: Likewise.
36645         * conform/data/stropts.h-data: Likewise.
36646         * conform/data/sys/mman.h-data: Likewise.
36647         * conform/data/sys/stat.h-data: Likewise.
36648         * conform/data/sys/types.h-data: Likewise.
36649         * conform/data/sys/wait.h-data: Likewise.
36650         * conform/data/time.h-data: Likewise.
36651         * conform/data/unistd.h-data: Likewise.
36652         * conform/data/utime.h-data: Likewise.
36654         * io/sys/stat.h: fchmod was always in POSIX.
36655         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36656         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36657         * rt/aio.h: Define __need_timespec before including <time.h>.
36658         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36659         struct.  Add forward declaration of pthread_attr_t and use it in
36660         sigevent.
36661         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36662         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36663         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36664         always remove CLK_TCK definition.
36666 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36668         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36670 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36672         * conform/run-conformtest.sh: New file.
36673         * conform/Makefile: Run run-conformtest for tests.
36674         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36675         support.
36677         * conform/data/uchar.h-data: New file.
36678         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36679         * conform/data/arpa/inet.h-data: Likewise.
36680         * conform/data/assert.h-data: Likewise.
36681         * conform/data/complex.h-data: Likewise.
36682         * conform/data/cpio.h-data: Likewise.
36683         * conform/data/ctype.h-data: Likewise.
36684         * conform/data/dirent.h-data: Likewise.
36685         * conform/data/dlfcn.h-data: Likewise.
36686         * conform/data/errno.h-data: Likewise.
36687         * conform/data/fcntl.h-data: Likewise.
36688         * conform/data/float.h-data: Likewise.
36689         * conform/data/fmtmsg.h-data: Likewise.
36690         * conform/data/fnmatch.h-data: Likewise.
36691         * conform/data/ftw.h-data: Likewise.
36692         * conform/data/glob.h-data: Likewise.
36693         * conform/data/grp.h-data: Likewise.
36694         * conform/data/iconv.h-data: Likewise.
36695         * conform/data/inttypes.h-data: Likewise.
36696         * conform/data/langinfo.h-data: Likewise.
36697         * conform/data/libgen.h-data: Likewise.
36698         * conform/data/limits.h-data: Likewise.
36699         * conform/data/locale.h-data: Likewise.
36700         * conform/data/math.h-data: Likewise.
36701         * conform/data/monetary.h-data: Likewise.
36702         * conform/data/mqueue.h-data: Likewise.
36703         * conform/data/ndbm.h-data: Likewise.
36704         * conform/data/net/if.h-data: Likewise.
36705         * conform/data/netdb.h-data: Likewise.
36706         * conform/data/netinet/in.h-data: Likewise.
36707         * conform/data/nl_types.h-data: Likewise.
36708         * conform/data/poll.h-data: Likewise.
36709         * conform/data/pthread.h-data: Likewise.
36710         * conform/data/pwd.h-data: Likewise.
36711         * conform/data/regex.h-data: Likewise.
36712         * conform/data/sched.h-data: Likewise.
36713         * conform/data/search.h-data: Likewise.
36714         * conform/data/semaphore.h-data: Likewise.
36715         * conform/data/setjmp.h-data: Likewise.
36716         * conform/data/signal.h-data: Likewise.
36717         * conform/data/spawn.h-data: Likewise.
36718         * conform/data/stdarg.h-data: Likewise.
36719         * conform/data/stdio.h-data: Likewise.
36720         * conform/data/stdlib.h-data: Likewise.
36721         * conform/data/string.h-data: Likewise.
36722         * conform/data/strings.h-data: Likewise.
36723         * conform/data/stropts.h-data: Likewise.
36724         * conform/data/sys/ipc.h-data: Likewise.
36725         * conform/data/sys/mman.h-data: Likewise.
36726         * conform/data/sys/msg.h-data: Likewise.
36727         * conform/data/sys/resource.h-data: Likewise.
36728         * conform/data/sys/select.h-data: Likewise.
36729         * conform/data/sys/sem.h-data: Likewise.
36730         * conform/data/sys/shm.h-data: Likewise.
36731         * conform/data/sys/socket.h-data: Likewise.
36732         * conform/data/sys/stat.h-data: Likewise.
36733         * conform/data/sys/statvfs.h-data: Likewise.
36734         * conform/data/sys/time.h-data: Likewise.
36735         * conform/data/sys/timeb.h-data: Likewise.
36736         * conform/data/sys/times.h-data: Likewise.
36737         * conform/data/sys/types.h-data: Likewise.
36738         * conform/data/sys/uio.h-data: Likewise.
36739         * conform/data/sys/un.h-data: Likewise.
36740         * conform/data/sys/utsname.h-data: Likewise.
36741         * conform/data/sys/wait.h-data: Likewise.
36742         * conform/data/syslog.h-data: Likewise.
36743         * conform/data/tar.h-data: Likewise.
36744         * conform/data/termios.h-data: Likewise.
36745         * conform/data/utime.h-data: Likewise.
36746         * conform/data/utmpx.h-data: Likewise.
36747         * conform/data/varargs.h-data: Likewise.
36748         * conform/data/wchar.h-data: Likewise.
36749         * conform/data/wctype.h-data: Likewise.
36750         * conform/data/wordexp.h-data: Likewise.
36752         * include/stropts.h: New file.
36753         * include/uchar.h: New file.
36754         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36755         * include/assert.h: Likewise.
36756         * include/ctype.h: Likewise.
36757         * include/dirent.h: Likewise.
36758         * include/dlfcn.h: Likewise.
36759         * include/fcntl.h: Likewise.
36760         * include/fnmatch.h: Likewise.
36761         * include/glob.h: Likewise.
36762         * include/grp.h: Likewise.
36763         * include/libio.h: Likewise.
36764         * include/locale.h: Likewise.
36765         * include/math.h: Likewise.
36766         * include/net/if.h: Likewise.
36767         * include/netdb.h: Likewise.
36768         * include/netinet/in.h: Likewise.
36769         * include/pthread.h: Likewise.
36770         * include/pwd.h: Likewise.
36771         * include/regex.h: Likewise.
36772         * include/sched.h: Likewise.
36773         * include/search.h: Likewise.
36774         * include/setjmp.h: Likewise.
36775         * include/signal.h: Likewise.
36776         * include/stdio.h: Likewise.
36777         * include/stdlib.h: Likewise.
36778         * include/string.h: Likewise.
36779         * include/sys/cdefs.h: Likewise.
36780         * include/sys/mman.h: Likewise.
36781         * include/sys/msg.h: Likewise.
36782         * include/sys/resource.h: Likewise.
36783         * include/sys/select.h: Likewise.
36784         * include/sys/socket.h: Likewise.
36785         * include/sys/stat.h: Likewise.
36786         * include/sys/statvfs.h: Likewise.
36787         * include/sys/time.h: Likewise.
36788         * include/sys/times.h: Likewise.
36789         * include/sys/uio.h: Likewise.
36790         * include/sys/utsname.h: Likewise.
36791         * include/sys/wait.h: Likewise.
36792         * include/termios.h: Likewise.
36793         * include/time.h: Likewise.
36794         * include/ulimit.h: Likewise.
36795         * include/unistd.h: Likewise.
36796         * include/utime.h: Likewise.
36797         * include/wchar.h: Likewise.
36798         * include/wctype.h: Likewise.
36799         * include/wordexp.h: Likewise.
36801         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36803         * time/time.h: TIME_UTC must be a macro.
36804         Make timespec_get available for ISO C11 only as well.
36806 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36808         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36809         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36811 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36813         * configure.in: Use -o not -a in test for unsupported multi-arch.
36815 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36817         * manual/texinfo.tex: Update to version 2012-01-19.16.
36819 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36821         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36823 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36825         [BZ #13738]
36826         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36827         * manual/fdl-1.3.texi: New file.
36828         * manual/fdl-1.1.texi: File removed.
36830         [BZ #13738]
36831         * manual/libc.texinfo (FDL_VERSION): New @set.
36832         Use it for mention of FDL in cover text.
36833         (Documentation License): Use it in @include file name.
36835 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36836             Roland McGrath  <roland@hack.frob.com>
36838         [BZ #5461]
36839         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36840         (not LONG_LONG_MAX and LONG_LONG_MIN.
36841         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36842         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36843         name.
36844         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36846 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36848         [BZ #2547]
36849         [BZ #11365]
36850         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36851         manipulate bits before adding and subtracting TWO23[sx].
36852         * math/libm-test.inc (nearbyint_test): Add more tests.
36854 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36856         [BZ #2548]
36857         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36858         bits before adding and subtracting TWO23[sx].
36859         * math/libm-test.inc (rint_test): Add more tests.
36860         (rint_test_tonearest): Likewise.
36861         (rint_test_towardzero): Likewise.
36862         (rint_test_downward): Likewise.
36863         (rint_test_upward: Likewise.
36865 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36867         [BZ #10110]
36868         * include/stdc-predef.h: New file.  Extracted from features.h.
36869         * include/features.h: Include stdc-predef.h.
36870         * Makefile (headers): Add stdc-predef.h.
36871         * CONFORMANCE (Compiler limitations): Update.
36873 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36875         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36877 2012-02-21  David S. Miller  <davem@davemloft.net>
36879         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36880         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36882 2012-02-20  David S. Miller  <davem@davemloft.net>
36884         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36885         using a normal save/restore sequence, rather than allocating a
36886         dummy stack frame just to store a frame pointer and restore.
36887         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36889 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36891         * manual/install.texi: Fix stray word in line-wrapped comment.
36893 2012-02-20  David S. Miller  <davem@davemloft.net>
36895         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36896         both binutils and gcc support GOTDATA.
36898         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36899         "rd %pc" in the PIC register setup sequences.
36901         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36902         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36903         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36904         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36905         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36906         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36907         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36908         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36909         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36910         (SYSCALL_ERROR_HANDLER): Likewise.
36911         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36912         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36913         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36914         (SYSCALL_ERROR_HANDLER): Likewise.
36916         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36917         (HAVE_GCC_GOTDATA): New.
36918         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36919         relocation support in both binutils and gcc.
36920         * sysdeps/sparc/elf/configure: Regenerate.
36922         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36923         * sysdeps/sparc/sparc32/elf/configure: Delete.
36924         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36925         * sysdeps/sparc/sparc64/elf/configure: Delete.
36926         * sysdeps/sparc/elf/configure.in: New file.
36927         * sysdeps/sparc/elf/configure: Generate.
36929         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36930         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36931         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36932         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36933         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36935 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36937         * manual/install.texi: Do not mention specific glibc version
36938         numbers.
36939         * manual/libc.texinfo (VERSION, UPDATED): Update.
36940         (@copying): Use @copyright{} and range of years.
36942 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36944         [BZ #13695]
36945         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36946         [crti.S not in sysdirs] (generated): Do not append.
36947         [crti.S not in sysdirs] (omit-deps): Likewise.
36948         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36949         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36950         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36951         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36952         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36953         Likewise.
36954         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36955         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36956         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36957         * csu/defs.awk: Remove file.
36958         * sysdeps/generic/initfini.c: Likewise.
36959         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36960         variable.
36961         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36962         Likewise.
36964 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36966         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36967         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36968         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36969         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36970         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36971         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36972         <bits/epoll.h>.
36973         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36974         (__EPOLL_PACKED): Define to empty if not defined by
36975         <bits/epoll.h>.
36976         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36978         bits/epoll.h.
36980 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36982         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36983         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36984         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36985         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36986         <bits/timerfd.h>.
36987         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36989         bits/timerfd.h.
36991 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36993         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36994         in C locale.
36995         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36996         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36997         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37000 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
37002         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37003         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37005 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
37007         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37008         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37009         defined.
37010         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37011         Likewise.
37012         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37013         entry for 2.16.
37015 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
37017         * math/w_acos.c: Use non-signaling floating-point comparisons.
37018         * math/w_acosf.c: Likewise.
37019         * math/w_acosh.c: Likewise.
37020         * math/w_acoshf.c: Likewise.
37021         * math/w_acoshl.c: Likewise.
37022         * math/w_acosl.c: Likewise.
37023         * math/w_asin.c: Likewise.
37024         * math/w_asinf.c: Likewise.
37025         * math/w_asinl.c: Likewise.
37026         * math/w_atanh.c: Likewise.
37027         * math/w_atanhf.c: Likewise.
37028         * math/w_atanhl.c: Likewise.
37029         * math/w_exp2.c: Likewise.
37030         * math/w_exp2f.c: Likewise.
37031         * math/w_exp2l.c: Likewise.
37032         * math/w_j0.c: Likewise.
37033         * math/w_j0f.c: Likewise.
37034         * math/w_j0l.c: Likewise.
37035         * math/w_j1.c: Likewise.
37036         * math/w_j1f.c: Likewise.
37037         * math/w_j1l.c: Likewise.
37038         * math/w_jn.c: Likewise.
37039         * math/w_jnf.c: Likewise.
37040         * math/w_log.c: Likewise.
37041         * math/w_log10.c: Likewise.
37042         * math/w_log10f.c: Likewise.
37043         * math/w_log10l.c: Likewise.
37044         * math/w_log2.c: Likewise.
37045         * math/w_log2f.c: Likewise.
37046         * math/w_log2l.c: Likewise.
37047         * math/w_logf.c: Likewise.
37048         * math/w_logl.c: Likewise.
37049         * math/w_sqrt.c: Likewise.
37050         * math/w_sqrtf.c: Likewise.
37051         * math/w_sqrtl.c: Likewise.
37052         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37053         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37054         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37055         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37056         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37058 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37060         [BZ #9739]
37061         * manual/string.texi (strnlen): Use correct parameter name in
37062         equivalent expression.
37064 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37066         [BZ #11174]
37067         * manual/users.texi (seteuid): Consistently use neweuid for
37068         argument name.
37070 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37072         [BZ #13704]
37073         * manual/nss.texi (Services in the NSS configuration): Correct
37074         list of services in example configuration file.
37076 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
37078         [BZ #11322]
37079         * manual/arith.texi: Remove statements about negative zero
37080         behaving identically to zero.
37082 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37084         [BZ #5993]
37085         * manual/install.texi: Do not document upgrading from libc5.
37087 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37089         [BZ #4596]
37090         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37092 2012-02-18  David S. Miller  <davem@davemloft.net>
37094         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37095         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37096         %o7 across the call.
37097         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37098         instead.
37099         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37100         SETUP_PIC_REG_LEAF.
37101         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37102         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37103         * sysdeps/sparc/crtn.S: Likewise.
37105 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
37107         * aout/Makefile: Remove.
37109 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
37111         [BZ #13058]
37112         * manual/examples/argp-ex1.c (main): Format definition in GNU
37113         style.
37114         * manual/examples/argp-ex2.c (main): Likewise.
37115         * manual/examples/argp-ex3.c (main): Likewise.
37116         * manual/examples/argp-ex4.c (main): Likewise.
37117         * manual/examples/longopt.c (main): Use new-style prototype
37118         definition.
37119         * manual/examples/strncat.c (main): Specify return type and use
37120         (void) for arguments.
37121         * manual/examples/subopt.c (main): Use char **argv argument.
37123 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37125         [BZ #5077]
37126         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37127         rounding modes.
37129 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
37131         [BZ #6907]
37132         * manual/string.texi (strchr): Change when strchrnul is
37133         recommended.
37135 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
37137         [BZ #174]
37138         * manual/locale.texi (setlocale): Document LOCPATH.
37140 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37142         [BZ #10210]
37143         * manual/process.texi (execle): Move @dots{} before last argument.
37145 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
37147         [BZ #12047]
37148         * manual/charset.texi (Generic Charset Conversion): Fix typo
37149         (LC_TYPE -> LC_CTYPE).
37151 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
37153         [BZ #5805]
37154         * manual/arith.texi (scalbn): Use @var{} on parameter names.
37155         (scalbnf): Likewise.
37156         (scalbnl): Likewise.
37157         (scalbln): Likewise.
37158         (scalblnf): Likewise.
37159         (scalblnl): Likewise.
37160         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37161         (vwarnx): Likewise.
37162         (verr): Likewise.
37163         (verrx): Likewise.
37164         * manual/filesys.texi (telldir): Use braces around return type.
37165         * manual/llio.texi (mmap): Add space after comma.
37166         (mmap64): Likewise.
37167         * manual/math.texi (jn): Use @var{} on parameter names.
37168         (jnf): Likewise.
37169         (jnl): Likewise.
37170         (yn): Likewise.
37171         (ynf): Likewise.
37172         (ynl): Likewise.
37173         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37174         line.
37175         * manual/resource.texi (ulimit): Use @dots{} instead of literal
37176         "...".
37177         (sched_get_priority_min): Remove semicolon on @deftypefun line.
37178         (sched_get_priority_max): Likewise.
37179         * manual/signal.texi (sigvec): Add space after comma.
37180         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37181         names.
37182         (if_indextoname): Likewise.
37183         (if_freenameindex): Likewise.
37184         (sendto): Use ',' instead of '.' in prototype.
37185         * manual/startup.texi (syscall): Use @dots{} instead of literal
37186         "...".
37187         * manual/stdio.texi (__fpending): Separate initial words of
37188         paragraph from @deftypefun line.
37189         * manual/syslog.texi (syslog): Use @dots{} instead of literal
37190         "...".
37191         (vsyslog): Use @var{} on parameter names.
37192         * manual/terminal.texi (stty): Use @var{} on parameter names.
37193         * manual/users.texi (getutmp): Use @var{} on parameter names.
37194         (getutmpx): Likewise.
37196 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37198         [BZ #6884]
37199         * manual/stdio.texi (fopen): Fix typos in description of
37200         ",ccs=STRING".
37202 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
37204         [BZ #4026]
37205         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37206         get clock_id definition.
37208 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
37210         [BZ #4822]
37211         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37212         (madvise): Cast every argument to void on its own.
37214 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37216         [BZ #9902]
37217         * manual/startup.texi (Exit Status): Fix typo.
37219 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37221         [BZ #10140]
37222         * manual/examples/argp-ex1.c: Include <stdlib.h>.
37223         * manual/examples/argp-ex2.c: Likewise.
37224         * manual/examples/argp-ex3.c: Likewise.
37226 2012-02-16  Richard Henderson  <rth@redhat.com>
37228         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37229         * sysdeps/s390/s390-32/initfini.c: Remove.
37230         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37231         * sysdeps/s390/s390-64/initfini.c: Remove.
37233 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37235         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37236         compiler output for sysdeps/generic/initfini.c.
37237         * sysdeps/sh/elf/initfini.c: Remove file.
37239 2012-02-16  David S. Miller  <davem@davemloft.net>
37241         [BZ #11494]
37242         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37244         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37245         * sysdeps/sparc/crti.S: New file.
37246         * sysdeps/sparc/crtn.S: New file.
37247         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37248         * sysdeps/sparc/sparc64/Makefile: Likewise.
37250 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
37252         [BZ #3335]
37253         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37255 2012-02-15  Roland McGrath  <roland@hack.frob.com>
37257         [BZ #4822]
37258         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37260         * mach/devstream.c (cookie_io_functions_t): Macro removed.
37261         (write, read, close): Likewise.
37262         Patch by Aurelien Jarno <aurelien@aurel32.net>.
37264 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
37266         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37267         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37268         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37269         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37270         <bits/signalfd.h>.
37271         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37272         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37273         bits/signalfd.h.
37275 2012-02-14  Marek Polacek  <polacek@redhat.com>
37277         * sysdeps/x86_64/crti.S: New file.
37278         * sysdeps/x86_64/crtn.S: New file.
37279         * sysdeps/x86_64/elf/initfini.c: Remove file.
37281 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37283         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37284         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37285         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37286         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37287         <bits/inotify.h>.
37288         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37290         bits/inotify.h.
37292 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37294         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37295         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37296         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37297         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37298         <bits/eventfd.h>.
37299         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37300         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37301         bits/eventfd.h.
37303 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
37305         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37306         __feraiseexcept instead of feraiseexcept.
37308         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37309         nanosleep invocations.
37310         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37311         strings, and add error checking for a nanosleep invocations.
37313 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
37315         Replace FSF snail mail address with URLs, as per GNU coding standards.
37316         Most of the snail mail addresses were wrong anyway, and omitting
37317         them makes the source code easier to maintain.  Almost all of the
37318         changes are to license notices and to locale LC_IDENTIFICATION
37319         addresses, except for this one:
37320         * manual/libc.texinfo: In "Published by", give the FSF's URL,
37321         not its snail mail address.
37323 2012-02-09  Richard Henderson  <rth@twiddle.net>
37325         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37326         of kernel-features.h.
37328         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37330 2012-02-08  Marek Polacek  <polacek@redhat.com>
37332         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37333         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37334         * sysdeps/gnu/_G_config.h: Likewise.
37335         * sysdeps/generic/_G_config.h: Likewise.
37337 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
37339         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37340         tests.
37341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37343         * sysdeps/powerpc/powerpc32/crti.S: New file.
37344         * sysdeps/powerpc/powerpc32/crtn.S: New file.
37345         * sysdeps/powerpc/powerpc64/crti.S: New file.
37346         * sysdeps/powerpc/powerpc64/crtn.S: New file.
37348         * Makeconfig (have-initfini): Don't set.
37349         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37350         * configure.in (nopic_initfini): Don't substitute.
37351         * config.h.in (HAVE_INITFINI): Don't #undef.
37352         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37353         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37355 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
37357         Support crti.S and crtn.S provided directly by architectures.
37358         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37359         [crti.S in sysdirs] (omit-deps): Likewise.
37360         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37361         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37362         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37363         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37364         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37365         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37366         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37367         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37368         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37369         compiler output for sysdeps/generic/initfini.c.
37370         * sysdeps/i386/elf/Makefile: Remove file.
37371         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37373 2012-02-07  Marek Polacek  <polacek@redhat.com>
37375         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37376         * sysdeps/gnu/_G_config.h: Likewise.
37377         * sysdeps/mach/hurd/_G_config.h: Likewise.
37379 2012-02-07  Marek Polacek  <polacek@redhat.com>
37381         * math/Makefile (tests): Add tst-CMPLX2.
37382         * math/tst-CMPLX2.c: New file.
37384 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
37386         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37388         * math/libm-test.inc (jn_test): Add missing L suffix.
37390 2012-02-06  Marek Polacek  <polacek@redhat.com>
37392         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37393         * sysdeps/i386/fpu/e_powf.S: Likewise.
37394         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37395         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37396         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37397         * sysdeps/i386/fpu/e_pow.S: Likewise.
37398         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37399         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37400         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37401         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37402         * sysdeps/i386/fpu/e_log2.S: Likewise.
37403         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37404         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37405         * sysdeps/i386/fpu/e_powl.S: Likewise.
37406         * sysdeps/i386/fpu/s_log1p.S: Likewise.
37407         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37408         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37409         * sysdeps/i386/fpu/e_logl.S: Likewise.
37410         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37411         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37412         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37413         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37414         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37415         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37416         * sysdeps/i386/fpu/e_log.S: Likewise.
37417         * sysdeps/i386/fpu/s_cexp.S: Likewise.
37418         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37419         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37420         * sysdeps/i386/fpu/e_logf.S: Likewise.
37421         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37422         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37423         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37424         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37425         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37426         * sysdeps/i386/fpu/e_log10.S: Likewise.
37427         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37428         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37429         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37430         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37431         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37432         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37433         * sysdeps/i386/asm-syntax.h: Likewise.
37434         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37435         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37436         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37437         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37438         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37439         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37440         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37441         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37442         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37443         * sysdeps/powerpc/sysdep.h: Likewise.
37444         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37445         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37447 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37449         [BZ #411]
37450         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37452 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37454         * sysdeps/i386/sysdep.h: Include <features.h>.
37455         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37456         version.
37458 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
37460         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37461         Define.
37462         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37463         LOAD_PIC_REG_STR.
37465 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37467         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37468         (SETUP_PIC_REG): Use GET_PC_THUNK.
37469         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37470         macro.
37472 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37474         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37475         for non-PIC compilation.
37476         (SETUP_PIC_REG): Add .p2align directive.
37477         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37478         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37479         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37480         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37481         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37482         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37483         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37484         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37485         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37486         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37487         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37488         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37489         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37490         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37491         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37492         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37493         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37494         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37495         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37496         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37497         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37498         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37499         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37500         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37501         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37502         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37503         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37504         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37505         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37506         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37507         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37508         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37509         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37510         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37511         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37512         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37513         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37514         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37515         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37516         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37517         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37519 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37521         * math/tst-CMPLX.c: Include <stdio.h>.
37523 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
37525         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37526         float.
37527         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37528         * sysdeps/sparc/bits/mathdef.h: Likewise.
37530 2012-01-31  Marek Polacek  <polacek@redhat.com>
37532         * libio/libio.h: Don't define _PARAMS.
37533         * locale/programs/config.h: Don't define PARAMS.
37534         * stdlib/strtol_l.c: Likewise.
37535         (__strtol_l): Remove PARAMS from the prototype.
37537 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
37539         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
37540         names.  Just use the correct names.  Remove unnecessary wrapper
37541         functions.
37542         * malloc/arena.c: Likewise.
37543         * malloc/hooks.c: Likewise.
37545         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37546         ARENA_TEST says not to.  Simplify test for creation of a new arena.
37547         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37549 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
37551         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37552         into tail calls.
37553         (update_get_addr): New function.
37554         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37555         GET_ADDR_MODULE parameter.
37557 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37559         * crypt/cert.c: Remove __STDC__ conditionals.
37560         * crypt/crypt-entry.c: Likewise.
37561         * crypt/crypt_util.c: Likewise.
37562         * libio/filedoalloc.c: Likewise.
37563         * libio/fileops.c: Likewise.
37564         * libio/genops.c: Likewise.
37565         * libio/iofclose.c: Likewise.
37566         * libio/iofdopen.c: Likewise.
37567         * libio/iofopen.c: Likewise.
37568         * libio/iofopen64.c: Likewise.
37569         * libio/iogetdelim.c: Likewise.
37570         * libio/iopopen.c: Likewise.
37571         * libio/obprintf.c: Likewise.
37572         * libio/oldfileops.c: Likewise.
37573         * libio/oldiofclose.c: Likewise.
37574         * libio/oldiofdopen.c: Likewise.
37575         * libio/oldiofopen.c: Likewise.
37576         * libio/oldiopopen.c: Likewise.
37577         * libio/wfiledoalloc.c: Likewise.
37578         * libio/wgenops.c: Likewise.
37579         * locale/programs/xmalloc.c: Likewise.
37580         * misc/syslog.c: Likewise.
37581         * stdio-common/xbug.c: Likewise.
37582         * string/memchr.c: Likewise.
37583         * string/memcmp.c: Likewise.
37584         * string/memrchr.c: Likewise.
37585         * string/rawmemchr.c: Likewise.
37586         * sysdeps/posix/getcwd.c: Likewise.
37587         * time/strftime_l.c: Likewise.
37589 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37591         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37592         * config.make.in (config-cflags-sse2avx): Define.
37593         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37594         Fix typo.
37596 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37598         * scripts/config.guess: Update from upstream config git repository.
37599         * scripts/config.sub: Likewise.
37601 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37603         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37604         (EM_NUM): Update.
37605         (R_TILEPRO_*, R_TILEGX_*): New macros.
37607         * scripts/firstversions.awk: Fix bug in version range handling.
37609         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37611         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37613         * include/sys/epoll.h: New file.
37614         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37615         libc_hidden_def.
37617 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37619         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37620         Avoid unnecessary __WORDSIZE == 64 test.
37621         (fmaxf): Use VEX format if possible.
37622         (fmax): Likewise.
37623         (fminf): Likewise.
37624         (fmin): Likewise.
37626         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37627         * math/math_private.h: Remove libc_fegetround* and
37628         libc_fesetround*.
37629         * sysdeps/i386/configure.in: Check for -msse2avx.
37630         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37631         also if SSE2AVX is defined.
37632         Remove libc_fegetround* and libc_fesetround*.
37633         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37634         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37635         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37636         of HAS_YMM_USABLE.
37637         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37638         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37639         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37641         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37643         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37645 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37647         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37648         size is not set.
37649         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37651 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37653         [BZ #13618]
37654         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37655         relocation.
37656         * Makeconfig (libm): Define.
37657         * elf/Makefile: Add rules to build and run tst-relsort1.
37658         * elf/tst-relsort1.c: New file.
37659         * elf/tst-relsort1mod1.c: New file.
37660         * elf/tst-relsort1mod2.c: New file.
37662 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37664         * math/s_ldexp.c: Remove __STDC__ conditionals.
37665         * math/s_ldexpf.c: Likewise.
37666         * math/s_ldexpl.c: Likewise.
37667         * math/s_nextafter.c: Likewise.
37668         * math/s_nexttowardf.c: Likewise.
37669         * math/s_significand.c: Likewise.
37670         * math/s_significandf.c: Likewise.
37671         * math/s_significandl.c: Likewise.
37672         * math/w_jnl.c: Likewise.
37673         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37674         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37675         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37676         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37677         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37678         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37679         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37680         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37681         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37682         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37683         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37684         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37685         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37686         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37687         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37688         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37689         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37690         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37691         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37692         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37693         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37694         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37695         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37696         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37697         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37698         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37699         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37700         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37701         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37702         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37703         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37704         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37705         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37706         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37707         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37708         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37709         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37710         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37711         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37712         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37713         * sysdeps/ieee754/k_standard.c: Likewise.
37714         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37715         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37716         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37717         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37718         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37719         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37720         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37721         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37722         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37723         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37724         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37725         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37726         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37727         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37728         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37729         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37730         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37731         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37732         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37733         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37734         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37735         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37736         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37737         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37738         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37739         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37740         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37741         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37743         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37744         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37745         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37746         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37747         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37748         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37749         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37750         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37751         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37752         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37753         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37754         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37755         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37756         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37757         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37758         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37759         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37760         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37761         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37762         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37763         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37764         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37765         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37766         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37767         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37768         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37769         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37770         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37771         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37772         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37773         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37774         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37775         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37776         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37777         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37778         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37779         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37780         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37781         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37782         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37783         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37784         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37785         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37786         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37787         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37788         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37789         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37790         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37791         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37792         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37793         * sysdeps/ieee754/s_matherr.c: Likewise.
37794         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37795         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37796         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37797         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37799 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37801         * crypt/md5.h: Remove __STDC__ conditionals.
37802         * libio/libioP.h: Likewise.
37803         * locale/programs/config.h: Likewise.
37804         * sysdeps/generic/sysdep.h: Likewise.
37805         * sysdeps/i386/asm-syntax.h: Likewise.
37806         * sysdeps/s390/asm-syntax.h: Likewise.
37807         * sysdeps/unix/sysdep.h: Likewise.
37808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37811 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37813         * libio/libio.h: Remove __STDC__ conditionals.
37814         * malloc/obstack.h: Likewise.
37815         * math/complex.h: Likewise.
37816         * math/math.h: Likewise.
37817         * sysdeps/generic/_G_config.h: Likewise.
37818         * sysdeps/gnu/_G_config.h: Likewise.
37819         * sysdeps/mach/hurd/_G_config.h: Likewise.
37820         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37821         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37822         * sysdeps/sparc/bits/mathdef.h: Likewise.
37824 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37826         [BZ #13583]
37827         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37828         Clean up HAS_* macros.
37829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37830         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37831         possible.
37832         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37833         HAS_AVX.
37834         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37835         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37836         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37837         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37838         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37840 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37842         * elf/tst-unique3.cc (gets): Remove declaration.
37843         * elf/tst-unique3lib.cc (gets): Likewise.
37844         * elf/tst-unique3lib2.cc (gets): Likewise.
37845         * elf/tst-unique4.cc (gets): Likewise.
37847 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37849         * include/stdio.h: Add C++ protection.  Add gets declarations and
37850         definitions.
37851         * debug/tst-chk1.c: Don't declare gets here.
37852         * stdio-common/tst-gets.c: Likewise.
37854 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37856         * posix/glob: Remove directory.
37858 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37860         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37862 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37864         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37865         of the non-standard EPFNOSUPPORT.
37867 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37869         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37870         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37871         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37873 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37875         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37877 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37879         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37880         transient errors.
37881         * nscd/grpcache.c (cache_addgr): Likewise.
37882         * nscd/hstcache.c (cache_addhst): Likewise.
37883         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37884         * nscd/pwdcache.c (cache_addpw): Likewise.
37885         * nscd/servicescache.c (cache_addserv): Likewise.
37887 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37889         * malloc/malloc.c: Various cleanups.
37890         * malloc/hooks.c: Likewise.
37892         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37893         * stdlib/bug-fmtmsg1.c: New file.
37895         * stdlib/fmtmsg.c (init): Add missing unlock.
37896         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37898 2012-01-12  Marek Polacek  <polacek@redhat.com>
37900         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37901         and _GNU_SOURCE.
37903 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37905         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37906         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37907         macro to ensure uniqueness of label name.
37908         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37909         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37911 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37913         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37915         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37916         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37917         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37918         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37920 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37922         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37924         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37925         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37926         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37928         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37930         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37931         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37932         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37933         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37935         * math/bits/math-finite.h: Add ldexp support.
37937 2012-01-10  Marek Polacek  <polacek@redhat.com>
37939         * locale/programs/localedef.h (show_archive_content): Add noreturn
37940         attribute.
37942 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37944         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37946 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37948         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37950         * io/Makefile (headers): Add bits/poll2.h.
37952 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37955         typo #include statement.
37957 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37959         * include/sys/cdefs.h: Define __attribute_alloc_size.
37960         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37961         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37962         * elf/pldd.c: Likewise.
37963         * iconv/iconv_charmap.c: Likewise.
37964         * iconv/iconvconfig.c: Likewise.
37965         * iconv/strtab.c: Likewise.
37966         * locale/programs/locale.c: Likewise.
37967         * locale/programs/localedef.h: Likewise.
37968         * locale/programs/simple-hash.c: Likewise.
37969         * nscd/nscd.h: Likewise.
37970         * nss/makedb.c: Likewise.
37971         * sysdeps/generic/ldconfig.h: Likewise.
37972         * locale/programs/localedef.c: Remove xmalloc prototype.
37973         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37975 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37977         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37978         appropriate.
37980 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37982         * math/Makefile (tests): Add tst-CMPLX.
37983         * math/tst-CMPLX.c: New file.
37985         * math/complex.h (CMPLXL): Fix typo.
37987         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37988         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37989         GLIBC_2.16.
37990         * debug/tst-chk1.c: Add poll and ppoll tests.
37991         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37992         * include/sys/poll.h: Add hidden proto for ppoll.
37993         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37994         * sysdeps/mach/hurd/ppoll.c: Likewise.
37995         * io/ppoll.c: Likewise.
37996         * debug/poll_chk.c: New file.
37997         * debug/ppoll_chk.c: New file.
37998         * include/bits/poll2.h: New file.
37999         * io/bits/poll2.h: New file.
38001         [BZ #1350]
38002         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38004         * configure.in: static is always set to yes.  Remove.
38005         * config.make.in: Don't set build-static.
38006         * Makeconfig: Remove use of build-static.
38007         * dlfcn/Makefile: Likewise.
38008         * elf/Makefile: Likewise.
38009         * math/Makefile: Likewise.
38010         * misc/Makefile: Likewise.
38011         * nptl/Makefile: Likewise.
38012         * sysdeps/mach/hurd/Makefile: Likewise.
38014         * configure.in: PWD_P is not used anymore.
38015         * config.make.in: Remove PWD_P entry.
38017         * configure.in: Remove last remnants of RANLIB.
38018         No need to check for signed size_t anymore.
38019         Don't set libc_commonpagesize and libc_relro_required here for Alpha
38020         and IA-64.
38021         Remove __builtin_expect test because we require at least gcc 3.4.
38022         * aclocal.m4: Likewise.
38024         * wcsmbs/mbrtoc16.c: Implement using towc function.
38025         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38026         * wcsmbs/wcsmbsload.c: Likewise.
38027         * iconv/gconv_simple.c: Likewise.
38028         * iconv/gconv_int.h: Likewise.
38029         * iconv/gconv_builtin.h: Likewise.
38030         * iconv/iconv_prog.c: Remove CHAR16 handling.
38032         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38034         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38036         * configure.in: Remove --with-elf and --enable-bounded options.
38037         Dont set base_machine for ia64.  More non-ELF conditions removed.
38038         Remove testing and setting of leading underscore information.
38039         * config.make.in (build-bounded): Set to no.
38040         * config.h.in: Remove NO_UNDERSCORES entry.
38041         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
38042         them.
38043         * csu/start.c: Remove !NO_UNDERSCORE code.
38044         * locale/localeinfo.h: Likewise.
38045         * sysdeps/generic/machine-gmon.h: Likewise.
38046         * sysdeps/generic/sysdep.h: Likewise.
38047         * sysdeps/i386/sysdep.h: Likewise.
38048         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38049         * sysdeps/mach/sysdep.h: Likewise.
38050         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38051         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38052         * sysdeps/sh/sysdep.h: Likewise.
38053         * sysdeps/sparc/sparc32/alloca.S: Likewise.
38054         * sysdeps/unix/i386/sysdep.S: Likewise.
38055         * sysdeps/unix/sparc/start.c: Likewise.
38056         * sysdeps/unix/sparc/sysdep.S: Likewise.
38057         * sysdeps/unix/sparc/sysdep.h: Likewise.
38058         * sysdeps/unix/start.c: Likewise.
38059         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38060         * sysdeps/x86_64/sysdep.h: Likewise.
38062 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
38064         [BZ #13553]
38065         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38066         for non-gcc.
38067         * argp/argp-fmtstream.h: Use const instead __const.
38068         * argp/argp.h: Likewise.
38069         * assert/assert.h: Likewise.
38070         * bits/fenv.h: Likewise.
38071         * bits/sched.h: Likewise.
38072         * bits/sigset.h: Likewise.
38073         * bits/sigthread.h: Likewise.
38074         * catgets/nl_types.h: Likewise.
38075         * conform/data/pthread.h-data: Likewise.
38076         * crypt/crypt-private.h: Likewise.
38077         * crypt/crypt.h: Likewise.
38078         * crypt/crypt_util.c: Likewise.
38079         * ctype/ctype.h: Likewise.
38080         * debug/execinfo.h: Likewise.
38081         * debug/mbsnrtowcs_chk.c: Likewise.
38082         * debug/mbsrtowcs_chk.c: Likewise.
38083         * debug/wcsnrtombs_chk.c: Likewise.
38084         * debug/wcsrtombs_chk.c: Likewise.
38085         * debug/wcstombs_chk.c: Likewise.
38086         * dirent/dirent.h: Likewise.
38087         * dlfcn/dlfcn.h: Likewise.
38088         * elf/neededtest4.c: Likewise.
38089         * grp/grp.h: Likewise.
38090         * gshadow/gshadow.h: Likewise.
38091         * iconv/gconv.h: Likewise.
38092         * iconv/gconv_int.h: Likewise.
38093         * iconv/gconv_simple.c: Likewise.
38094         * iconv/iconv.h: Likewise.
38095         * iconv/loop.c: Likewise.
38096         * iconv/skeleton.c: Likewise.
38097         * include/aio.h: Likewise.
38098         * include/aliases.h: Likewise.
38099         * include/argz.h: Likewise.
38100         * include/arpa/inet.h: Likewise.
38101         * include/assert.h: Likewise.
38102         * include/dirent.h: Likewise.
38103         * include/dlfcn.h: Likewise.
38104         * include/execinfo.h: Likewise.
38105         * include/fcntl.h: Likewise.
38106         * include/fenv.h: Likewise.
38107         * include/glob.h: Likewise.
38108         * include/grp.h: Likewise.
38109         * include/libintl.h: Likewise.
38110         * include/mntent.h: Likewise.
38111         * include/netdb.h: Likewise.
38112         * include/pwd.h: Likewise.
38113         * include/rpc/netdb.h: Likewise.
38114         * include/sched.h: Likewise.
38115         * include/search.h: Likewise.
38116         * include/shadow.h: Likewise.
38117         * include/signal.h: Likewise.
38118         * include/stdio.h: Likewise.
38119         * include/stdlib.h: Likewise.
38120         * include/string.h: Likewise.
38121         * include/sys/socket.h: Likewise.
38122         * include/sys/stat.h: Likewise.
38123         * include/sys/statfs.h: Likewise.
38124         * include/sys/statvfs.h: Likewise.
38125         * include/sys/syslog.h: Likewise.
38126         * include/sys/time.h: Likewise.
38127         * include/sys/uio.h: Likewise.
38128         * include/time.h: Likewise.
38129         * include/unistd.h: Likewise.
38130         * include/utmp.h: Likewise.
38131         * include/wchar.h: Likewise.
38132         * include/wctype.h: Likewise.
38133         * inet/aliases.h: Likewise.
38134         * inet/arpa/inet.h: Likewise.
38135         * inet/netinet/ether.h: Likewise.
38136         * inet/netinet/in.h: Likewise.
38137         * intl/libintl.h: Likewise.
38138         * io/bits/fcntl2.h: Likewise.
38139         * io/fcntl.h: Likewise.
38140         * io/ftw.h: Likewise.
38141         * io/sys/poll.h: Likewise.
38142         * io/sys/stat.h: Likewise.
38143         * io/sys/statfs.h: Likewise.
38144         * io/sys/statvfs.h: Likewise.
38145         * io/utime.h: Likewise.
38146         * libio/bits/stdio.h: Likewise.
38147         * libio/bits/stdio2.h: Likewise.
38148         * libio/libio.h: Likewise.
38149         * libio/libioP.h: Likewise.
38150         * libio/stdio.h: Likewise.
38151         * locale/lc-ctype.c: Likewise.
38152         * locale/locale.h: Likewise.
38153         * login/utmp.h: Likewise.
38154         * malloc/arena.c: Likewise.
38155         * malloc/malloc.c: Likewise.
38156         * malloc/malloc.h: Likewise.
38157         * malloc/mcheck.c: Likewise.
38158         * malloc/mtrace.c: Likewise.
38159         * math/bits/mathcalls.h: Likewise.
38160         * math/fenv.h: Likewise.
38161         * math/math_private.h: Likewise.
38162         * misc/bits/error.h: Likewise.
38163         * misc/bits/syslog.h: Likewise.
38164         * misc/err.h: Likewise.
38165         * misc/error.h: Likewise.
38166         * misc/fstab.h: Likewise.
38167         * misc/mntent.h: Likewise.
38168         * misc/regexp.h: Likewise.
38169         * misc/search.h: Likewise.
38170         * misc/sgtty.h: Likewise.
38171         * misc/sys/mman.h: Likewise.
38172         * misc/sys/syslog.h: Likewise.
38173         * misc/sys/uio.h: Likewise.
38174         * misc/sys/xattr.h: Likewise.
38175         * misc/ttyent.h: Likewise.
38176         * nis/rpcsvc/ypclnt.h: Likewise.
38177         * nss/nss.h: Likewise.
38178         * posix/bits/unistd.h: Likewise.
38179         * posix/fnmatch.h: Likewise.
38180         * posix/glob.h: Likewise.
38181         * posix/sched.h: Likewise.
38182         * posix/spawn.h: Likewise.
38183         * posix/sys/wait.h: Likewise.
38184         * posix/unistd.h: Likewise.
38185         * posix/wordexp.h: Likewise.
38186         * pwd/pwd.h: Likewise.
38187         * resolv/netdb.h: Likewise.
38188         * resource/sys/resource.h: Likewise.
38189         * rt/aio.h: Likewise.
38190         * rt/bits/mqueue2.h: Likewise.
38191         * rt/mqueue.h: Likewise.
38192         * shadow/shadow.h: Likewise.
38193         * signal/signal.h: Likewise.
38194         * socket/send.c: Likewise.
38195         * socket/sendto.c: Likewise.
38196         * socket/sys/socket.h: Likewise.
38197         * stdio-common/printf.h: Likewise.
38198         * stdlib/bits/stdlib.h: Likewise.
38199         * stdlib/fmtmsg.h: Likewise.
38200         * stdlib/monetary.h: Likewise.
38201         * stdlib/stdlib.h: Likewise.
38202         * stdlib/ucontext.h: Likewise.
38203         * streams/stropts.h: Likewise.
38204         * string/argz.h: Likewise.
38205         * string/bits/string2.h: Likewise.
38206         * string/string.h: Likewise.
38207         * string/strings.h: Likewise.
38208         * sunrpc/rpc/auth.h: Likewise.
38209         * sunrpc/rpc/auth_des.h: Likewise.
38210         * sunrpc/rpc/clnt.h: Likewise.
38211         * sunrpc/rpc/netdb.h: Likewise.
38212         * sunrpc/rpc/pmap_clnt.h: Likewise.
38213         * sunrpc/rpc/xdr.h: Likewise.
38214         * sysdeps/generic/inttypes.h: Likewise.
38215         * sysdeps/generic/net/if.h: Likewise.
38216         * sysdeps/generic/sys/swap.h: Likewise.
38217         * sysdeps/gnu/net/if.h: Likewise.
38218         * sysdeps/gnu/utmpx.h: Likewise.
38219         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38220         * sysdeps/i386/i486/bits/string.h: Likewise.
38221         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38222         * sysdeps/s390/bits/string.h: Likewise.
38223         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38224         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38225         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38226         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38227         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38228         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38229         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38230         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38231         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38232         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38233         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38234         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38235         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38236         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38237         * sysdeps/unix/sysv/linux/readv.c: Likewise.
38238         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38239         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38240         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38241         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38242         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38243         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38244         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38245         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38246         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38247         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38248         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38249         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38250         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38251         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38252         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38253         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38254         * sysvipc/sys/ipc.h: Likewise.
38255         * sysvipc/sys/msg.h: Likewise.
38256         * sysvipc/sys/sem.h: Likewise.
38257         * sysvipc/sys/shm.h: Likewise.
38258         * termios/termios.h: Likewise.
38259         * time/sys/time.h: Likewise.
38260         * time/time.h: Likewise.
38261         * wcsmbs/bits/wchar2.h: Likewise.
38262         * wcsmbs/uchar.h: Likewise.
38263         * wcsmbs/wchar.h: Likewise.
38264         * wctype/wctype.h: Likewise.
38266         [BZ #13551]
38267         * Makeconfig: Remove all but ELF support including AIX support.
38268         * Makerules: Likewise.
38269         * config.h.in: Likewise.
38270         * config.make.in: Likewise.
38271         * configure: Likewise.
38272         * configure.in: Likewise.
38273         * csu/Makefile: Likewise.
38274         * csu/version.c: Likewise.
38275         * debug/Makefile: Likewise.
38276         * dlfcn/Makefile: Likewise.
38277         * elf/Makefile: Likewise.
38278         * extra-lib.mk: Likewise.
38279         * iconv/Makefile: Likewise.
38280         * include/libc-symbols.h: Likewise.
38281         * include/shlib-compat.h: Likewise.
38282         * resolv/Makefile: Likewise.
38283         * resolv/res_libc.c: Likewise.
38284         * rt/Makefile: Likewise.
38285         * sysdeps/i386/asm-syntax.h: Likewise.
38286         * sysdeps/i386/sysdep.h: Likewise.
38287         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38288         * sysdeps/mach/sysdep.h: Likewise.
38289         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38290         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38291         * sysdeps/s390/asm-syntax.h: Likewise.
38292         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38293         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38294         * sysdeps/sh/sysdep.h: Likewise.
38295         * sysdeps/unix/sparc/sysdep.h: Likewise.
38296         * sysdeps/wordsize-32/divdi3.c: Likewise.
38297         * sysdeps/x86_64/sysdep.h: Likewise.
38299         * argp/Versions: Remove _argp_unlock_xxx.
38301         [BZ #13559]
38302         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
38303         * abilist/libBrokenLocale.abilist: Likewise.
38304         * abilist/libanl.abilist: Likewise.
38305         * abilist/libc.abilist: Likewise.
38306         * abilist/libcrypt.abilist: Likewise.
38307         * abilist/libdl.abilist: Likewise.
38308         * abilist/libm.abilist: Likewise.
38309         * abilist/libnsl.abilist: Likewise.
38310         * abilist/libpthread.abilist: Likewise.
38311         * abilist/libresolv.abilist: Likewise.
38312         * abilist/librt.abilist: Likewise.
38313         * abilist/libthread_db.abilist: Likewise.
38314         * abilist/libutil.abilist: Likewise.
38315         * abilist/libnss_db.abilist: New file.
38317         * scripts/abilist.awk: Add support for indirect functions.
38319         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38321         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38323         * shlib-versions: Remove entries for ports architectures.
38325         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
38326         files in ports.
38327         * elf/stackguard-macros.h: Remove support for IA-64.
38328         * elf/tst-auditmod1.c: Likewise.
38329         * sysdeps/generic/ldsodefs.h: Likewise.
38331         * sysdeps/unix/sysv/linux/configure.in: Ports should define
38332         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38333         configure files.
38335         [BZ #13552]
38336         * configure.in: Remove --enable-omitfp support.
38337         * FAQ.in: Adjust.
38338         * config.make.in: Likewise.
38339         * Makeconfig: Likewise.
38340         * manual/install.texi: Likewise.
38342         In case anyone cares, the IA-64 architecture could move to ports.
38343         * sysdeps/ia64/*: Removed.
38344         * sysdeps/unix/sysv/linux/ia64/*: Removed.
38345         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38347         [BZ #13555]
38348         * configure.in: Remove entries for unsupported architectures.
38350         [BZ #13533]
38351         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38352         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
38353         routines.
38354         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38355         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38356         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
38357         fall back to using wcrtomb.
38358         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38359         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
38360         renaming.
38361         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38362         * wcsmbs/tst-c16c32-1.c: New file.
38364         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38365         local variable.
38367         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38369         * elf/tst-unique3.cc: Add explicit declaration of gets.
38370         * elf/tst-unique3lib.cc: Likewise.
38371         * elf/tst-unique3lib2.cc: Likewise.
38372         * elf/tst-unique4.cc: Likewise.
38374         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38376 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
38378         [BZ #13566]
38379         * assert/assert.h (static_assert): Don't define for C++.
38380         * libio/stdio.h (gets): Do declare for C++ <= C++11.
38381         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38383 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
38385         * iconv/loop.c (single loop): Fix assertion in storing of
38386         remaining bytes.
38388         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38390 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
38392         * posix/getconf.c: Update copyright year.
38393         * nss/getent.c: Likewise.
38394         * nss/makedb.c: Likewise.
38395         * iconv/iconvconfig.c: Likewise.
38396         * iconv/iconv_prog.c: Likewise.
38397         * elf/ldconfig.c: Likewise.
38398         * elf/pldd.c: Likewise.
38399         * elf/sotruss.ksh: Likewise.
38400         * catgets/gencat.c: Likewise.
38401         * csu/version.c: Likewise.
38402         * elf/ldd.bash.in: Likewise.
38403         * elf/sprof.c (print_version): Likewise.
38404         * locale/programs/locale.c: Likewise.
38405         * locale/programs/localedef.c: Likewise.
38406         * login/programs/pt_chown.c: Likewise.
38407         * nscd/nscd.c (print_version): Likewise.
38408         * debug/xtrace.sh: Likewise.
38409         * malloc/memusage.sh: Likewise.
38410         * malloc/mtrace.pl: Likewise.
38411         * debug/catchsegv.sh: Likewise.
38413 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
38415         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38416         pure attribute.
38418 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
38420         [BZ #13533]
38421         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38422         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38423         transformations.
38424         * iconv/gconv_int.h: Likewise.
38425         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38426         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38427         from libc for GLIBC_2.16.
38428         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38429         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38430         * wcsmbs/uchar.h: Really define mbstate_t.
38431         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38432         * wcsmbs/c16rtomb.c: New file.
38433         * wcsmbs/mbrtoc16.c: New file.
38434         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38435         for C/POSIX locale.
38436         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38437         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38439         * wcsmbs/wchar.h: Add missing __restrict.
38441 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38443         [BZ #13532]
38444         * time/Makefile (routines): Add timespec_get.
38445         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38446         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
38447         timespec for ISO C11.
38448         * time/timespec_get.c: New file.
38449         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38450         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38452         [BZ #13531]
38453         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38454         * stdlib/stdlib.h: Declare aligned_alloc.
38455         * Versions.def: Add GLIBC_2.16 for libc.
38456         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38458         [BZ 13527]
38459         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38460         ISO C11.
38462         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38463         code.
38465         [BZ #13528]
38466         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38468         [BZ #13529]
38469         * assert/assert.h (static_assert): Define.
38471         * version.h: Update for 2.16 development version.
38473         [BZ #13526]
38474         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38475         _ISOC11_SOURCE.
38477         * version.h (RELEASE): Bump for 2.15 release.
38478         * include/features.h (__GLIBC_MINOR__): Bump to 15.
38480         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38481         Patch by Marek Polacek <mpolacek@redhat.com>.
38483         * bits/byteswap.h: Protect long long constants with __extension__.
38484         * sysdeps/i386/bits/byteswap.h: Likewise.
38485         * sysdeps/ia64/bits/byteswap.h: Likewise.
38486         * sysdeps/s390/bits/byteswap.h: Likewise.
38487         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38489 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38491         [BZ #13540]
38492         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38493         destination buffer.
38494         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38496 2011-12-23  Marek Polacek  <polacek@redhat.com>
38498         * elf/dl-addr.c (determine_info): Add inline keyword.
38499         * elf/tst-auditmod4b.c (check_avx): Likewise.
38500         * elf/tst-auditmod6b.c (check_avx): Likewise.
38501         * elf/tst-auditmod6c.c (check_avx): Likewise.
38502         * elf/tst-auditmod7b.c (check_avx): Likewise.
38504 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38506         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38507         !__SSE_MATH__.
38509 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38511         [BZ #13540]
38512         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38513         processing for last bytes.
38515 2011-08-06  Bruno Haible  <bruno@clisp.org>
38517         [BZ #13061]
38518         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38519         U+0385, not to U+1FEE.
38521         [BZ #13062]
38522         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38523         entry for U+00A5 U+0301.
38525 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38527         [BZ #13166]
38528         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38529         buffer for the output is too small.
38531         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38532         optimization.
38534         [BZ #13185]
38535         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38536         SSE flags if possible.
38538 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38540         [BZ #13540]
38541         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38542         processing for last bytes.
38544 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
38546         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38547         (syscall-list-default-options, syscall-list-default-condition)
38548         (syscall-list-includes): Define.
38549         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38550         list of ABIs and options and #if conditions for each ABI.  Do not
38551         handle common syscalls between ABIs specially.
38552         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38553         Remove.
38554         (syscall-list-variants, syscall-list-32bit-options)
38555         (syscall-list-32bit-condition, syscall-list-64bit-options)
38556         (syscall-list-64bit-condition): Define.
38557         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38558         (syscall-list-variants, syscall-list-32bit-options)
38559         (syscall-list-32bit-condition, syscall-list-64bit-options)
38560         (syscall-list-64bit-condition): Define.
38561         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38562         Remove.
38563         (syscall-list-variants, syscall-list-32bit-options)
38564         (syscall-list-32bit-condition, syscall-list-64bit-options)
38565         (syscall-list-64bit-condition): Define.
38566         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38567         Remove.
38568         (syscall-list-variants, syscall-list-32bit-options)
38569         (syscall-list-32bit-condition, syscall-list-64bit-options)
38570         (syscall-list-64bit-condition): Define.
38572 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38574         * locale/iso-639.def: Add brx entry.
38576         [BZ #13328]
38577         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38578         Proposed by Mariusz_Cukr <marcukr@op.pl>.
38580         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38581         __feraiseexcept_renamed.
38583 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38585         [BZ #13538]
38586         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38587         EPOLLET with unsigned values.
38588         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38589         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38591         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38592         to large cancellation.
38593         * math/s_cacoshf.c: Likewise.
38594         * math/s_cacoshl.c: Likewise.
38596 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38598         [BZ #13305]
38599         [BZ #12786]
38600         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38601         * math/s_cacoshf.c: Likewise.
38602         * math/s_cacoshl.c: Likewise.
38604 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38606         [BZ #13439]
38607         * iconv/gconv.h: Define __GCONV_SWAP.
38608         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38609         * iconvdata/utf-16.c: Likewise.
38610         * iconvdata/utf-32.c: Likewise.
38612 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38614         [BZ #13524]
38615         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38616         numerator after shifting it by one limb.
38618 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38620         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38621         under [__USE_EXTERN_INLINES].
38623 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38625         [BZ #13446]
38626         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38628 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38630         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38631         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38632         optimized code.
38633         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38634         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38635         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38636         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38637         for strncasecmp/strncasecmp_l compilation.
38638         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38639         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38641 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38643         [BZ #13484]
38644         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38645         of __asm__.
38647 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38649         [BZ #13506]
38650         * time/tzfile.c (__tzfile_read): Check values from file header.
38652 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38654         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38655         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38656         * powerpc/powerpc32/dl-start.S: Likewise.
38657         * powerpc/powerpc32/elf/start.S: Likewise.
38658         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38659         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38660         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38661         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38662         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38663         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38664         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38665         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38666         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38667         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38668         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38669         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38670         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38671         * powerpc/powerpc32/memset.S: Likewise.
38672         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38673         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38674         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38675         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38676         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38677         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38678         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38679         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38680         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38681         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38682         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38683         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38684         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38686 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38688         * math/libm-test.inc: Added more nearbyint tests.
38689         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38690         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38691         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38692         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38694 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38696         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38697         FD_CLOEXEC.
38699 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38701         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38702         Add wcscpy-ssse3 wcscpy-c.
38703         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38704         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38705         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38706         * sysdeps/x86_64/wcschr.S: New file.
38707         * sysdeps/x86_64/wcsrchr.S: New file.
38708         * string/test-strcmp.c: Remove checking of wcscmp function for
38709         wrong alignments.
38710         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38711         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38712         wcsrchr-sse2 wcsrchr-c.
38713         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38714         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38715         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38716         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38717         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38718         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38719         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38720         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38721         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38722         * wcsmbc/wcschr.c (WCSCHR): New macro.
38724 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38726         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38727         * wcsmbs/test-wcsrchr.c: New file.
38728         * string/test-strrchr.c: Add wcsrchr support.
38729         (WIDE): New macro.
38730         * wcsmbs/test-wcscpy.c: New file.
38731         * string/test-strcpy.c: Add wcscpy support.
38732         (WIDE): New macro.
38734 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38736         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38737         the inner loop.
38739 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38741         [BZ #13472]
38742         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38744 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38746         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38747         Minor optimizations.
38749         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38750         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38751         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38753 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38755         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38756         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38757         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38758         for gcc to avoid warnings.
38759         * inet/Makefile (tests): Add tst-checks.
38760         * inet/tst-checks.c: New file.
38762         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38763         warning.
38765         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38766         __wmemcmp_sse2.
38768         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38769         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38771         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38773 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38775         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38776         problem.
38778         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38780 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38782         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38783         conditional on GCC version.
38784         (__arch_compare_and_exchange_val_8_acq)
38785         (__arch_compare_and_exchange_val_16_acq)
38786         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38787         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38788         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38790 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38792         * sysdeps/sh/backtrace.c: New file.
38794 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38796         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38797         parenthesis.
38799 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38801         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38802         falling back to utime.
38804 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38806         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38807         expectations for float.
38809 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38811         * locale/weight.h (findidx): Add parameter len.
38812         * locale/weightwc.h (findidx): Likewise.
38813         * posix/fnmatch_loop.c (FCT): Adjust caller.
38814         * posix/regcomp.c (build_equiv_class): Likewise.
38815         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38816         * posix/regexec.c (check_node_accept_bytes): Likewise.
38817         * string/strcoll_l.c (STRCOLL): Likewise.
38818         * string/strxfrm_l.c (STRXFRM): Likewise.
38820 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38822         * Makefile.in: Remove CVSOPT handling.
38823         * configure.in: Remove use of AC_REVISION.
38824         * iconvdata/Makefile (distribute): No need to filter out CVS.
38825         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38826         handling.
38828 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38830         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38831         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38832         [USE_AS_STRNCASECMP_L]: Likewise.
38833         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38834         NO_TLS_DIRECT_SEG_REFS.
38835         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38836         Fix argument offsets for non-PIC.
38837         [USE_AS_STRNCASECMP_L]: Likewise.
38838         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38839         NO_TLS_DIRECT_SEG_REFS.
38841 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38843         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38844         O_CLOEXEC.
38845         * locale/loadlocale.c (_nl_load_locale): Likewise.
38847 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38849         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38850         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38851         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38852         (SYSCALL_GETTIME): Set errno on error.
38854         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38855         count references to noai6ai_cached.
38857 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38859         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38861         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38862         FD_CLOEXEC for /proc/self/maps.
38864         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38865         FD_CLOEXEC for /proc/meminfo.
38867         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38868         gai.conf.
38870         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38871         FD_CLOEXEC for given file.
38873         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38875         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38876         FD_CLOEXEC for /etc/hosts.
38877         (_gethtent): Likewise.
38879         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38881         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38882         cancellation and set FD_CLOEXEC for /etc/netgroup.
38884         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38885         reading /etc/publickey.
38887         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38888         allow cancellation when reading /etc/group.
38890         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38891         cancellation.
38892         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38894         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38895         when using data file.
38897         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38899         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38900         (write_nis_obj): Use "c" and "e" in fopen.
38902         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38904         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38906         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38908         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38910         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38911         locale.alias.
38913         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38915         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38917         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38919         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38920         file parsing and set FD_CLOEXEC.
38922 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38924         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38926 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38928         * malloc/arena.c (arena_get2): Don't call reused_arena when
38929         _int_new_arena failed.
38931 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38933         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38934         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38935         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38936         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38937         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38938         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38939         to compile strcasecmp and strncasecmp.
38940         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38941         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38945 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38947         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38948         locale-defines.sym to gen-as-const-headers.
38949         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38950         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38951         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38952         to compile strcasecmp and strncasecmp.
38953         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38954         strcasecmp_l and strncasecmp_l.
38955         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38956         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38957         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38958         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38959         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38960         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38961         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38962         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38963         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38964         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38965         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38967 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38969         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38970         result of SYSDEP_GETTIME_CPU to retval.
38971         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38972         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38974         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38975         variable.
38977         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38978         mantissa words.
38979         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38981         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38982         from unused variable.
38984         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38985         DWARF definitions.
38986         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38987         for assembling.
38989         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38990         over namespaces.
38992         * sunrpc/rpc_prot.c (rejected): Fix case value.
38994         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38995         unsigned long long int to avoid warnings in shift.
38997         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38998         of use of trans.
38999         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39000         variable tmp.
39002         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39003         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39004         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39006         * nis/nis_table.c (nis_list): Use variable of correct type for
39007         result of __follow_path call.
39009 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39011         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39012         of math functions ceil, trunc, floor, round, and sqrt, when
39013         avaliable on the platform.
39014         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39015         name clash.
39016         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39017         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39018         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39020 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
39022         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39023         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39025 2011-11-11  Roland McGrath  <roland@hack.frob.com>
39027         * include/unistd.h: Fix __readlink return type.
39028         Reported by Chris Metcalf <cmetcalf@tilera.com>.
39030 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
39032         * stdlib/ucontext.h: Undo last change for makecontext.
39034 2011-11-11  Andreas Schwab  <schwab@redhat.com>
39036         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39038         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39039         * setjmp/setjmp.h: Mark functions as non-leaf.
39040         * setjmp/bits/setjmp2.h: Likewise.
39041         * stdlib/ucontext.h: Likewise.
39043 2011-11-10  Andreas Schwab  <schwab@redhat.com>
39045         * malloc/arena.c (_int_new_arena): Don't increment narenas.
39046         (reused_arena): Don't check arena limit.
39047         (arena_get2): Atomically check arena limit.
39049 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
39051         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39052         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39054         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39055         instructions.
39057 2011-11-07  Andreas Schwab  <schwab@redhat.com>
39059         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39060         handler when locking.
39062         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39063         Fix size of allocated buffer.
39065 2011-11-04  Andreas Schwab  <schwab@redhat.com>
39067         [BZ #10103]
39068         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39069         declarations for long double functions.
39070         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39072         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39074 2011-11-03  Andreas Schwab  <schwab@redhat.com>
39076         * nscd/nscd.c (main): Don't start AVC thread until credentials are
39077         installed.
39079         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39080         is disabled.
39082 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39084         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39086 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39088         * include/alloca.h (stackinfo_alloca_round): Define.
39089         (extend_alloca): Use it.
39090         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39091         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39092         here.
39094         * scripts/check-local-headers.sh: Ignore libaudit.h.
39096         * nscd/Makefile (extra-objs): Make recursively expanded.
39098 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
39100         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39101         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39103         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39104         * posix/tst-rfc3484-2.c: Likewise.
39105         * posix/tst-rfc3484-3.c: Likewise.
39107         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39108         process_vm_writev.
39109         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39110         process_vm_writev.
39111         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39112         process_vm_writev from libc using GLIBC_2.15 version.
39114         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39116 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
39118         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39119         stack usage.
39121 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
39123         [BZ #13367]
39124         * nss/getent.c (initgroups_keys): Show error message in case no group
39125         names are given.
39127         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39128         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39129         __bump_nl_timestamp.
39130         * nscd/connections (nscd_init): When host database is served open
39131         netlink socket and request notification about configuration changes.
39132         (main_loop_poll): Track netlink file descriptor and bump timestamp
39133         in case data becomes available.
39134         (main_loop_epoll): Likewise.
39135         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39136         (database_pers_head): Add extra_data fileds.
39137         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39138         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39139         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39140         Adjust caller.
39141         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39142         in6ai data, call __free_in6ai.
39143         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39144         Add -DHAVE_NETLINK.
39145         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
39146         interface information.  Reuse previous data if netlink timestamp
39147         is not changed.
39148         (__bump_nl_timestamp): New function.
39149         (__free_in6ai): New function.
39151 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
39153         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39154         close_not_cancel_no_status here.
39155         (__check_pf): Reorganize code a bit to not call close twice if OOM.
39157 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39159         [BZ #13276]
39160         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39161         return value.
39163         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39164         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39165         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39167 2011-07-03  Andreas Jaeger  <aj@suse.de>
39169         [BZ #10709]
39170         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39171         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39172         * math/libm-test.inc (sin_test): Add test case.
39174 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39176         [BZ #13337]
39177         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39178         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39180         * elf/chroot_canon.c (chroot_canon): Cleanups.
39182         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39184         [BZ #13335]
39185         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39186         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39188         * string/test-strchr.c: Make usable for strchrnul testing.
39189         * string/test-strchrnul.c: New file.
39190         * string/Makefile (strop-tests): Add strchrnul.
39192         * po/it.po: Update from translation team.
39193         * po/es.po: Likewise.
39195 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
39197         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39198         the three constants needed as parameters.  Drop the others.
39199         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39200         __m128i_strloadu_tolower.
39201         Create and initialize variable zero and use it in all the places
39202         where _mm_setzero_si128 was used.
39204         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39205         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39206         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39207         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39208         anymore.
39209         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39210         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39211         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39212         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39213         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39214         __mpranred, __mptan.
39215         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39216         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39217         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39218         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39219         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39220         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39221         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39222         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39223         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39225 2011-10-28  Andreas Schwab  <schwab@redhat.com>
39227         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39228         redefine if SHARED.
39229         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39232         wide char related routines to wcsmbs subdir.
39234 2011-10-27  Andreas Schwab  <schwab@redhat.com>
39236         [BZ #13344]
39237         * misc/sys/cdefs.h (__THROWNL): Define.
39238         * posix/unistd.h: Use __THREADNL instead of __THREAD
39239         for memory synchronization functions.
39241 2011-10-26  Roland McGrath  <roland@hack.frob.com>
39243         [BZ #13349]
39244         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39245         doesn't exist.
39246         * manual/stdio.texi (Obstack Streams): Node removed.
39248 2011-10-26  Andreas Schwab  <schwab@redhat.com>
39250         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39251         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39252         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39254         * math/math_private.h (math_force_eval): Allow non-addressable
39255         arguments.
39256         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39258 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39260         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39261         file is not needed.
39263         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39264         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39265         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39266         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39267         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39268         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39269         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39270         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39271         Add AVX variants.
39272         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39273         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39274         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39275         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39276         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39277         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39278         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39279         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39280         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39281         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39282         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39283         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39284         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39285         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39286         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39287         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39288         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39289         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39290         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39292         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39293         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
39295         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39296         place.  Use VEX encoding when compiling for AVX.
39298 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39300         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39301         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39303         * string/test-strchr.c (do_test): Don't generate NUL bytes.
39305 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39307         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39308         useless if() expression.
39309         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39310         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39311         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39312         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39313         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39314         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39315         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39316         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39317         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39318         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39319         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39320         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39321         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39322         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39323         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39324         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39325         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39326         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39327         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39329         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39331 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39333         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39334         condition.
39335         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39337 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39339         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39340         .text section.  Avoid duplicate constants.
39341         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39342         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39343         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39345         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39346         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39347         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39348         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39349         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39350         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39351         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39352         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39353         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39354         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39355         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39356         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39357         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39358         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39359         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39360         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39361         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39362         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39363         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39364         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39365         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39366         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39367         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39368         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39369         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39370         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39371         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39372         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39373         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39374         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39375         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39376         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39377         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39378         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39379         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39380         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39381         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39382         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39383         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39384         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39385         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39387 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
39389         * sysdeps/x86_64/dla.h: Move to ...
39390         * sysdeps/x86_64/fpu/dla.h: ...here.
39391         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39392         situations.  Use __builtin_fma only for gcc 4.6 and up.
39394         * config.make.in: Add have-mfma4 entry.
39395         * configure.in: Substitute libc_cv_cc_fma4.
39396         * math/Makefile (dbl-only-routines): Add sincostab.
39397         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39398         Use __sincostab not sincos.
39399         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39400         name is a macro.
39401         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39402         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39404         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
39405         using __copysign.
39406         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
39407         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
39408         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39409         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39410         and __inv.
39411         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39412         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39413         __copysign.
39414         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
39415         define aliases when function name is a macro.
39416         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39417         sysdeps/ieee754/dbl-64/sincos.tbl.
39418         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39419         fma4-enabled routines.
39420         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39421         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39422         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39423         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39424         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39425         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39426         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39427         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39428         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39429         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39430         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39431         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39432         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39433         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39434         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39435         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39436         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39437         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39438         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39439         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39440         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39441         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39442         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39443         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39444         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39445         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39446         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39447         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39448         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39449         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39451         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39452         rename.
39453         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39454         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39455         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39456         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39457         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39458         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39459         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39460         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39462 2011-10-24  Andreas Schwab  <schwab@redhat.com>
39464         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39466 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39468         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39470         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39471         prediction.
39472         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39474         * string/strnlen.c: Don't define STRNLEN, reverse logic.
39475         Remove unused variable magic_bits.
39476         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39478         * string/strnlen.c: Define and use STRNLEN macro.
39479         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39480         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39481         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39482         * wcsmbs/wcslen.c: Define and use WCSLEN.
39483         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39484         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39485         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39486         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39487         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39488         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39489         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39491 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39494         strnlen-sse2-no-bsf.
39495         Rename strlen-no-bsf to strlen-sse2-no-bsf.
39496         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39497         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39498         Add strnlen support.
39499         (USE_AS_STRNLEN): New macro.
39500         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39501         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39502         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39503         * sysdeps/x86_64/wcslen.S: New file.
39505 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
39507         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39508         XMM-moves are used for copying on small sizes.
39510 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39512         * wcsmbs/Makefile (strop-tests): Add wcschr.
39513         * wcsmbs/test-wcschr.c: New file.
39514         * string/test-strchr.c: Update.
39515         Add wcschr support.
39516         (WIDE): New macro.
39518 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39520         * wcsmbs/Makefile (strop-tests): Add wcslen.
39521         * wcsmbs/test-wcslen.c: New file.
39522         * string/test-strlen.c: Update.
39523         Add wcslen support.
39524         (WIDE): New macro.
39526 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39528         * po/it.po: Update from translation team.
39530 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39532         * sysdeps/x86_64/wcscmp.S: Update.
39533         Fix wrong comparison semantics.
39534         wcscmp shall use signed comparison not unsigned.
39535         Don't use substraction to avoid overflow bug.
39536         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39537         * wcsmbc/wcscmp.c: Likewise.
39538         * string/test-strcmp.c: Likewise.
39539         Add new tests to check cases with negative values.
39541 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39543         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39544         * sysdeps/x86_64/dla.h: ...here.  New file.
39545         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39546         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39547         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39549         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39550         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39551         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39552         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39553         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39555 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
39557         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39558         __ynl_finite aliases.
39560 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39564         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39565         define DLA_FMA.
39566         [DLA_FMA] (EMULV): Use DLA_FMA.
39567         [DLA_FMA] (MUL12): Use EMULV.
39568         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39569         that are not needed.
39570         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39571         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39572         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39573         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39574         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39575         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39576         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39578 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
39580         * math/s_nan.c: Undef __nan.
39581         * math/s_nanf.c: Undef __nanf.
39582         * math/s_nanl.c: Undef __nanl.
39583         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39584         "math_private.h".
39586 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39588         * math/s_catan.c: Add branch predictions.
39589         * math/s_catanf.c: Likewise.
39590         * math/s_catanh.c: Likewise.
39591         * math/s_catanhf.c: Likewise.
39592         * math/s_catanhl.c: Likewise.
39593         * math/s_catanl.c: Likewise.
39594         * math/s_cexp.c: Likewise.
39595         * math/s_cexpf.c: Likewise.
39596         * math/s_cexpl.c: Likewise.
39597         * math/s_clog.c: Likewise.
39598         * math/s_clog10.c: Likewise.
39599         * math/s_clog10f.c: Likewise.
39600         * math/s_clog10l.c: Likewise.
39601         * math/s_clogf.c: Likewise.
39602         * math/s_clogl.c: Likewise.
39603         * math/s_csqrt.c: Likewise.
39604         * math/s_csqrtf.c: Likewise.
39605         * math/s_csqrtl.c: Likewise.
39606         * math/s_ctanf.c: Likewise.
39607         * math/s_ctanh.c: Likewise.
39608         * math/s_ctanhf.c: Likewise.
39609         * math/s_ctanhl.c: Likewise.
39610         * math/s_ctanl.c: Likewise.
39612         * math/math_private.h: Define __nan, __nanf, __nanl.
39613         * math/s_cacosh.c: Include <math_private.h>.
39614         * math/s_cacoshl.c: Likewise.
39615         * math/s_casinh.c: Likewise.
39616         * math/s_casinhf.c: Likewise.
39617         * math/s_casinhl.c: Likewise.
39618         * math/s_ccos.c: Rely entire on ccosh.
39619         * math/s_ccosf.c: Rely entire on ccoshf.
39620         * math/s_ccosl.c: Rely entirely on ccoshl.
39621         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39622         Remove tests for FE_INVALID.
39623         * math/s_ccoshf.c: Likewise.
39624         * math/s_ccoshl.c: Likewise.
39625         * math/s_csin.c: Likewise.
39626         * math/s_csinf.c: Likewise.
39627         * math/s_csinh.c Likewise.
39628         * math/s_csinhf.c: Likewise.
39629         * math/s_csinhl.c: Likewise.
39630         * math/s_csinl.c: Likewise.
39631         * math/s_ctan.c: Likewise.
39632         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39633         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39634         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39636 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39639         compilation problems.
39641         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39642         __builtin_expect.
39644 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39646         * sysdeps/i386/configure.in: Test for -mfma4 option.
39647         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39648         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39649         COMMON_CPUID_INDEX_80000001.
39650         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39651         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39652         use it if FMA3 is not supported.
39653         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39655         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39656         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39658 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39660         [BZ #12892]
39661         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39662         it would create a cycle with a link time dependency.
39664 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39666         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39667         instruction.
39668         * string/Makefile (strop-tests): Add rawmemchr.
39669         * string/test-rawmemchr.c: New file.
39671         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39672         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39673         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39674         when compiling str{,n}casecmp and when AVX is available.  Hook up
39675         new optimized code in initializers.
39677 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39679         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39680         __feraiseexcept instead of feraiseexcept.
39682 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39684         * math/math_private.h: Define defaults for libc_fetestexcept and
39685         libc_feupdateenv.
39686         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39687         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39688         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39689         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39690         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39691         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39692         libc_fetestexcept and libc_feupdateenv.
39694         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39695         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39696         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39697         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39698         libc_feholdexcept_setround.
39700         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39701         Add s_nearbyint-c and s_nearbyintf-c.
39702         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39703         nearbyintf inlines.
39704         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39705         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39706         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39707         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39709         * math/math_private.h: Define defaults for libc_fegetround,
39710         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39711         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39712         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39713         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39714         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39715         standard functions.
39716         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39717         Remove comments and hacks for old compiler versions.
39718         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39719         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39720         libc_feholdexceptl.
39722 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39724         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39725         (__feraiseexcept_renamed): Add __NTH.
39726         (feraiseexcept): Add __NTH.  Rename local variables to fix
39727         namespace violations.
39729 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39731         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39733         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39735         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39736         recently added interfaces.
39737         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39739         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39740         about macro parameter expansion.
39742         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39743         __NO_MATH_INLINES is defined.  Cleanups.
39745         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39746         and __floorf is target has SSE4.1.
39747         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39748         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39749         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39750         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39752         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39753         name.
39754         (floorf): Likewise.
39756         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39758 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39760         * misc/sys/cdefs.h: Fix last change.
39762         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39763         database lookup.
39765 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39767         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39769         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39770         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39771         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39772         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39773         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39774         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39775         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39776         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39777         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39778         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39779         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39780         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39781         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39782         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39783         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39784         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39785         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39786         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39787         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39788         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39789         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39790         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39792         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39793         ceil, ceilf, floor, floorf.
39795         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39796         Perform IRELATIVE relocations last.
39798         * elf/do-rel.h: Add another parameter nrelative, replacing the
39799         local variable with the same name.  Change name of the function
39800         to end in Rel or Rela (uppercase).
39801         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39802         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39803         elf_dynamic_do_##reloc function.
39805 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39807         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39808         is sufficient, at least on modern CPUs.
39810         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39812         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39813         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39815         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39816         __expl_finite.
39817         * math/bits/math-finite.h: Add entries for exp.
39818         * math/e_expl.c: Add __*_finite alias.
39819         * sysdeps/i386/fpu/e_exp.S: Likewise.
39820         * sysdeps/i386/fpu/e_expf.S: Likewise.
39821         * sysdeps/i386/fpu/e_expl.c: Likewise.
39822         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39823         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39824         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39825         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39826         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39827         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39828         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39830         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39831         is sufficient, at least on modern CPUs.
39833         * ctype/ctype-info.c (__ctype_init): Define.
39834         * include/ctype.h (__ctype_init): Declare.
39835         (__ctype_b_loc): The variable is always initialized.
39836         (__ctype_toupper_loc): Likewise.
39837         (__ctype_tolower_loc): Likewise.
39838         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39839         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39841 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39843         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39845         * configure.in: Also look in $cxxmachine/include for C++ system
39846         headers.
39848 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39850         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39851         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39852         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39853         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39854         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39855         (USE_AS_WMEMCMP): New macro.
39856         Fixing indents.
39857         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39858         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39859         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39860         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39861         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39862         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39863         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39864         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39865         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39866         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39867         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39868         (USE_AS_WMEMCMP): New macro.
39869         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39870         * sysdeps/string/test-memcmp.c: Update.
39871         Fix simple_wmemcmp.
39872         Add new tests.
39873         * wcsmbs/wmemcmp.c: Update.
39874         (WMEMCMP): New macro.
39875         Fix overflow bug.
39877 2011-10-12  Andreas Jaeger  <aj@suse.de>
39879         [BZ #13268]
39880         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39882 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39884         * libio/iofwide.c (do_length): Avoid warning.
39886         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39888 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39890         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39892         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39893         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39894         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39895         * sysdeps/i386/i686/fpu/e_log.S: New file.
39896         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39897         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39899         * ctype/ctype.h: Add support for inlined isXXX functions when
39900         compiling C++ code.
39902 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39904         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39906         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39908 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39910         [BZ #13291]
39911         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39913 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39915         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39916         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39917         feraiseexcept.
39919         * sysdeps/x86_64/memrchr.S: Check for zero size.
39921         * string/stratcliff.c: Add memrchr tests.
39923 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39925         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39926         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39927         rawmemchr-sse2 rawmemchr-sse2-bsf.
39928         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39929         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39930         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39931         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39932         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39933         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39934         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39935         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39936         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39937         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39938         * string/memrchr.c (MEMRCHR): New macro.
39940 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39942         Add integration with gcc's -ffinite-math-only and optimize wrapper
39943         functions in libm.
39944         * Versions.def: Define GLIBC_2.15 version for libm.
39945         * math/Makefile (headers): Add bits/math-finite.h.
39946         * math/bits/math-finite.h: New file.
39947         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39948         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39949         * math/e_acoshl.c: Add __*_finite alias.
39950         * math/e_acosl.c: Likewise.
39951         * math/e_asinl.c: Likewise.
39952         * math/e_atan2l.c: Likewise.
39953         * math/e_atanhl.c: Likewise.
39954         * math/e_coshl.c: Likewise.
39955         * math/e_exp10.c: Likewise.
39956         * math/e_exp10f.c: Likewise.
39957         * math/e_exp10l.c: Likewise.
39958         * math/e_exp2l.c: Likewise.
39959         * math/e_fmodl.c: Likewise.
39960         * math/e_gammal_r.c: Likewise.
39961         * math/e_hypotl.c: Likewise.
39962         * math/e_j0l.c: Likewise.
39963         * math/e_j1l.c: Likewise.
39964         * math/e_jnl.c: Likewise.
39965         * math/e_lgammal_r.c: Likewise.
39966         * math/e_log10l.c: Likewise.
39967         * math/e_log2l.c: Likewise.
39968         * math/e_logl.c: Likewise.
39969         * math/e_powl.c: Likewise.
39970         * math/e_sinhl.c: Likewise.
39971         * math/e_sqrtl.c: Likewise.
39972         * math/e_scalb.c: Completely rewritten and optimized.
39973         * math/e_scalbf.c: Likewise.
39974         * math/e_scalbl.c: Likewise.
39975         * math/w_acos.c: Likewise.
39976         * math/w_acosf.c: Likewise.
39977         * math/w_acosl.c: Likewise.
39978         * math/w_acosh.c: Likewise.
39979         * math/w_acoshf.c: Likewise.
39980         * math/w_acoshl.c: Likewise.
39981         * math/w_asin.c: Likewise.
39982         * math/w_asinf.c: Likewise.
39983         * math/w_asinl.c: Likewise.
39984         * math/w_atan2.c: Likewise.
39985         * math/w_atan2f.c: Likewise.
39986         * math/w_atan2l.c: Likewise.
39987         * math/w_atanh.c: Likewise.
39988         * math/w_atanhf.c: Likewise.
39989         * math/w_atanhl.c: Likewise.
39990         * math/w_exp10.c: Likewise.
39991         * math/w_exp10f.c: Likewise.
39992         * math/w_exp10l.c: Likewise.
39993         * math/w_fmod.c: Likewise.
39994         * math/w_fmodf.c: Likewise.
39995         * math/w_fmodl.c: Likewise.
39996         * math/w_j0.c: Likewise.
39997         * math/w_j0f.c: Likewise.
39998         * math/w_j0l.c: Likewise.
39999         * math/w_j1.c: Likewise.
40000         * math/w_j1f.c: Likewise.
40001         * math/w_j1l.c: Likewise.
40002         * math/w_jn.c: Likewise.
40003         * math/w_jnf.c: Likewise.
40004         * math/w_log.c: Likewise.
40005         * math/w_logf.c: Likewise.
40006         * math/w_logl.c: Likewise.
40007         * math/w_log10.c: Likewise.
40008         * math/w_log10f.c: Likewise.
40009         * math/w_log10l.c: Likewise.
40010         * math/w_log2.c: Likewise.
40011         * math/w_log2f.c: Likewise.
40012         * math/w_log2l.c: Likewise.
40013         * math/w_pow.c: Likewise.
40014         * math/w_powf.c: Likewise.
40015         * math/w_powl.c: Likewise.
40016         * math/w_remainder.c: Likewise.
40017         * math/w_remainderf.c: Likewise.
40018         * math/w_remainderl.c: Likewise.
40019         * math/w_scalb.c: Likewise.
40020         * math/w_scalbf.c: Likewise.
40021         * math/w_scalbl.c: Likewise.
40022         * math/w_sqrt.c: Likewise.
40023         * math/w_sqrtf.c: Likewise.
40024         * math/w_sqrtl.c: Likewise.
40025         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40026         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
40027         used.
40028         * math/math_private.h: Declare __kernel_standard_f.
40029         * math/w_cosh.c: Remove cruft and optimize a bit.
40030         * math/w_coshf.c: Likewise.
40031         * math/w_coshl.c: Likewise.
40032         * math/w_exp2.c: Likewise.
40033         * math/w_exp2f.c: Likewise.
40034         * math/w_exp2l.c: Likewise.
40035         * math/w_hypot.c: Likewise.
40036         * math/w_hypotf.c: Likewise.
40037         * math/w_hypotl.c: Likewise.
40038         * math/w_lgamma.c: Likewise.
40039         * math/w_lgamma_r.c: Likewise.
40040         * math/w_lgammaf.c: Likewise.
40041         * math/w_lgammaf_r.c: Likewise.
40042         * math/w_lgammal.c: Likewise.
40043         * math/w_lgammal_r.c: Likewise.
40044         * math/w_sinh.c: Likewise.
40045         * math/w_sinhf.c: Likewise.
40046         * math/w_sinhl.c: Likewise.
40047         * math/w_tgamma.c: Likewise.
40048         * math/w_tgammaf.c: Likewise.
40049         * math/w_tgammal.c: Likewise.
40050         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40051         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40052         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40053         Minor optimizations.  Pretty printing.  Remove cruft.
40054         * sysdeps/i386/fpu/e_acosf.S: Likewise.
40055         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40056         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40057         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40058         * sysdeps/i386/fpu/e_acosl.c: Likewise.
40059         * sysdeps/i386/fpu/e_asin.S: Likewise.
40060         * sysdeps/i386/fpu/e_asinf.S: Likewise.
40061         * sysdeps/i386/fpu/e_atan2.S: Likewise.
40062         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40063         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40064         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40065         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40066         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40067         * sysdeps/i386/fpu/e_exp10.S: Likewise.
40068         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40069         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40070         * sysdeps/i386/fpu/e_exp2.S: Likewise.
40071         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40072         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40073         * sysdeps/i386/fpu/e_fmod.S: Likewise.
40074         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40075         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40076         * sysdeps/i386/fpu/e_hypot.S: Likewise.
40077         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40078         * sysdeps/i386/fpu/e_log.S: Likewise.
40079         * sysdeps/i386/fpu/e_log10.S: Likewise.
40080         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40081         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40082         * sysdeps/i386/fpu/e_log2.S: Likewise.
40083         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40084         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40085         * sysdeps/i386/fpu/e_logf.S: Likewise.
40086         * sysdeps/i386/fpu/e_logl.S: Likewise.
40087         * sysdeps/i386/fpu/e_pow.S: Likewise.
40088         * sysdeps/i386/fpu/e_powf.S: Likewise.
40089         * sysdeps/i386/fpu/e_powl.S: Likewise.
40090         * sysdeps/i386/fpu/e_remainder.S: Likewise.
40091         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40092         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40093         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40094         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40095         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40096         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40097         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40098         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40099         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40100         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40101         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40102         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40103         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40104         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40105         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40106         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40107         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40108         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40109         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40110         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40111         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40112         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40113         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40114         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40115         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40116         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40117         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40118         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40119         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40120         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40121         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40122         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40123         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40124         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40125         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40126         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40127         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40128         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40129         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40130         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40131         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40132         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40133         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40134         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40135         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40136         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40137         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40138         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40139         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40140         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40141         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40142         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40143         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40144         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40145         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40146         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40147         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40148         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40149         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40150         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40151         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40152         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40153         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40154         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40155         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40156         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40157         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40158         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40159         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40160         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40161         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40162         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40163         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40164         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40165         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40166         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40167         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40168         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40169         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40170         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40171         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40172         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40173         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40174         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40175         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40176         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40177         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40178         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40179         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40180         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40181         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40182         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40183         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40184         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40185         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40186         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40187         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40188         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40189         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40190         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40191         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40192         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40193         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40194         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40195         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40196         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40197         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40198         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40199         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40200         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40201         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40202         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40203         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40204         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40205         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40206         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40207         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40208         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40209         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
40210         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40211         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40212         (__isnanf): Likewise.
40213         (__isinf_ns): Likewise.
40214         (__isinf_nsf): Likewise.
40215         (__finite): Likewise.
40216         (__finitef): Likewise.
40217         (__ieee754_sqrt): Define as macro.
40218         (__ieee754_sqrtf): Define as macro.
40219         (__ieee754_sqrtl): Define as macro.
40220         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40221         inlined copy.
40222         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40223         __FINITE_MATH_ONLY__ consistent.
40224         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40226 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
40228         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40229         of rawmemchr.
40231         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40233 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
40235         * po/ja.po: Update from translation team.
40237 2011-10-08  Roland McGrath  <roland@hack.frob.com>
40239         * locale/programs/locarchive.c (prepare_address_space): New function.
40240         (create_archive, enlarge_archive, open_archive): Use it.
40242         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40243         inside [SHARED], where it is used.
40245         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40247         * nss/getent.c (netgroup_keys): Remove unused variable.
40248         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40250 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
40252         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40253         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40254         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40255         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40256         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40257         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40258         * math/Makefile (libm-calls): Add s_isinf_ns.
40259         * math/divtc3.c: Use __isinf_nsl instead of isinf.
40260         * math/multc3.c: Likewise.
40261         * math/s_casin.c: Likewise.
40262         * math/s_casinf.c: Likewise.
40263         * math/s_casinl.c: Likewise.
40264         * math/s_ccos.c: Likewise.
40265         * math/s_ccosf.c: Likewise.
40266         * math/s_ccosl.c: Likewise.
40267         * math/s_ctan.c: Likewise.
40268         * math/s_ctanf.c: Likewise.
40269         * math/s_ctanh.c: Likewise.
40270         * math/s_ctanhf.c: Likewise.
40271         * math/s_ctanhl.c: Likewise.
40272         * math/s_ctanl.c: Likewise.
40273         * math/w_fmod.c: Likewise.
40274         * math/w_fmodf.c: Likewise.
40275         * math/w_fmodl.c: Likewise.
40276         * math/w_remainder.c: Likewise.
40277         * math/w_remainderf.c: Likewise.
40278         * math/w_remainderl.c: Likewise.
40279         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40280         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40281         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40282         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40283         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40284         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40285         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40286         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40288         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40289         of the number.
40290         * stdio-common/printf_fphex.c: Likewise.
40291         * stdio-common/printf_size.c: Likewise.
40293         * math/e_exp10.c: Include math_private.h using <...> not "...".
40294         * math/e_exp10f.c: Likewise.
40295         * math/e_exp10l.c: Likewise.
40296         * math/e_exp2l.c: Likewise.
40297         * math/e_j0l.c: Likewise.
40298         * math/e_j1l.c: Likewise.
40299         * math/e_jnl.c: Likewise.
40300         * math/e_lgammal_r.c: Likewise.
40301         * math/e_rem_pio2l.c: Likewise.
40302         * math/e_scalb.c: Likewise.
40303         * math/e_scalbf.c: Likewise.
40304         * math/e_scalbl.c: Likewise.
40305         * math/k_cosl.c: Likewise.
40306         * math/k_sinl.c: Likewise.
40307         * math/k_tanl.c: Likewise.
40308         * math/s_cacoshf.c: Likewise.
40309         * math/s_catan.c: Likewise.
40310         * math/s_catanf.c: Likewise.
40311         * math/s_catanh.c: Likewise.
40312         * math/s_catanhf.c: Likewise.
40313         * math/s_catanhl.c: Likewise.
40314         * math/s_catanl.c: Likewise.
40315         * math/s_ccosh.c: Likewise.
40316         * math/s_ccoshf.c: Likewise.
40317         * math/s_ccoshl.c: Likewise.
40318         * math/s_cexp.c: Likewise.
40319         * math/s_cexpf.c: Likewise.
40320         * math/s_cexpl.c: Likewise.
40321         * math/s_clog.c: Likewise.
40322         * math/s_clog10.c: Likewise.
40323         * math/s_clog10f.c: Likewise.
40324         * math/s_clog10l.c: Likewise.
40325         * math/s_clogf.c: Likewise.
40326         * math/s_clogl.c: Likewise.
40327         * math/s_csin.c: Likewise.
40328         * math/s_csinf.c: Likewise.
40329         * math/s_csinh.c: Likewise.
40330         * math/s_csinhf.c: Likewise.
40331         * math/s_csinhl.c: Likewise.
40332         * math/s_csinl.c: Likewise.
40333         * math/s_csqrt.c: Likewise.
40334         * math/s_csqrtf.c: Likewise.
40335         * math/s_csqrtl.c: Likewise.
40336         * math/s_ctan.c: Likewise.
40337         * math/s_ctanf.c: Likewise.
40338         * math/s_ctanh.c: Likewise.
40339         * math/s_ctanhf.c: Likewise.
40340         * math/s_ctanhl.c: Likewise.
40341         * math/s_ctanl.c: Likewise.
40342         * math/s_ldexp.c: Likewise.
40343         * math/s_ldexpf.c: Likewise.
40344         * math/s_ldexpl.c: Likewise.
40345         * math/s_significand.c: Likewise.
40346         * math/s_significandf.c: Likewise.
40347         * math/s_significandl.c: Likewise.
40348         * math/w_acos.c: Likewise.
40349         * math/w_acosf.c: Likewise.
40350         * math/w_acosh.c: Likewise.
40351         * math/w_acoshf.c: Likewise.
40352         * math/w_acoshl.c: Likewise.
40353         * math/w_acosl.c: Likewise.
40354         * math/w_asin.c: Likewise.
40355         * math/w_asinf.c: Likewise.
40356         * math/w_asinl.c: Likewise.
40357         * math/w_atan2.c: Likewise.
40358         * math/w_atan2f.c: Likewise.
40359         * math/w_atan2l.c: Likewise.
40360         * math/w_atanh.c: Likewise.
40361         * math/w_atanhf.c: Likewise.
40362         * math/w_atanhl.c: Likewise.
40363         * math/w_cosh.c: Likewise.
40364         * math/w_coshf.c: Likewise.
40365         * math/w_coshl.c: Likewise.
40366         * math/w_dremf.c: Likewise.
40367         * math/w_exp10.c: Likewise.
40368         * math/w_exp10f.c: Likewise.
40369         * math/w_exp10l.c: Likewise.
40370         * math/w_exp2.c: Likewise.
40371         * math/w_exp2f.c: Likewise.
40372         * math/w_fmod.c: Likewise.
40373         * math/w_fmodf.c: Likewise.
40374         * math/w_fmodl.c: Likewise.
40375         * math/w_hypot.c: Likewise.
40376         * math/w_hypotf.c: Likewise.
40377         * math/w_hypotl.c: Likewise.
40378         * math/w_j0.c: Likewise.
40379         * math/w_j0f.c: Likewise.
40380         * math/w_j0l.c: Likewise.
40381         * math/w_j1.c: Likewise.
40382         * math/w_j1f.c: Likewise.
40383         * math/w_j1l.c: Likewise.
40384         * math/w_jn.c: Likewise.
40385         * math/w_jnf.c: Likewise.
40386         * math/w_jnl.c: Likewise.
40387         * math/w_lgamma.c: Likewise.
40388         * math/w_lgamma_r.c: Likewise.
40389         * math/w_lgammaf.c: Likewise.
40390         * math/w_lgammaf_r.c: Likewise.
40391         * math/w_lgammal.c: Likewise.
40392         * math/w_lgammal_r.c: Likewise.
40393         * math/w_log.c: Likewise.
40394         * math/w_log10.c: Likewise.
40395         * math/w_log10f.c: Likewise.
40396         * math/w_log10l.c: Likewise.
40397         * math/w_log2.c: Likewise.
40398         * math/w_log2f.c: Likewise.
40399         * math/w_log2l.c: Likewise.
40400         * math/w_logf.c: Likewise.
40401         * math/w_logl.c: Likewise.
40402         * math/w_pow.c: Likewise.
40403         * math/w_powf.c: Likewise.
40404         * math/w_powl.c: Likewise.
40405         * math/w_remainder.c: Likewise.
40406         * math/w_remainderf.c: Likewise.
40407         * math/w_remainderl.c: Likewise.
40408         * math/w_scalb.c: Likewise.
40409         * math/w_scalbf.c: Likewise.
40410         * math/w_scalbl.c: Likewise.
40411         * math/w_sinh.c: Likewise.
40412         * math/w_sinhf.c: Likewise.
40413         * math/w_sinhl.c: Likewise.
40414         * math/w_sqrt.c: Likewise.
40415         * math/w_sqrtf.c: Likewise.
40416         * math/w_sqrtl.c: Likewise.
40417         * math/w_tgamma.c: Likewise.
40418         * math/w_tgammaf.c: Likewise.
40419         * math/w_tgammal.c: Likewise.
40421         * po/ja.po: Update from translation team.
40423 2011-09-29  Andreas Jaeger  <aj@suse.de>
40425         [BZ #13179]
40426         * sunrpc/netname.c (netname2host): Fix logic.
40428         [BZ #6779]
40429         [BZ #6783]
40430         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40431         correctly.
40432         * math/w_remainder.c (__remainder): Likewise.
40433         * math/w_remainderf.c (__remainderf): Likewise.
40434         * math/libm-test.inc (remainder_test): Add test cases.
40436 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40438         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
40439         sdiv_qrnnd.
40441 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40443         * string/test-memcmp.c: Avoid unncessary #defines.
40444         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40446 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40448         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40449         Use new sse2 version for core i3 - i7 as it's faster
40450         than sse42 version.
40451         (bit_Prefer_PMINUB_for_stringop): New.
40452         * sysdeps/x86_64/rawmemchr.S: Update.
40453         Replace with faster SSE2 version.
40454         * sysdeps/x86_64/memrchr.S: New file.
40455         * sysdeps/x86_64/memchr.S: Update.
40456         Replace with faster SSE2 version.
40458 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
40460         * elf/dl-load.c (lose): Add cast to avoid warning.
40462 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40464         * po/ca.po: Update from translation team.
40466         * inet/getnetgrent_r.c: Hook up nscd.
40467         * nscd/Makefile (routines): Add nscd_netgroup.
40468         (nscd-modules): Add netgroupcache.
40469         (CFLAGS-netgroupcache.c): Define.
40470         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40471         (cache_search): Add const to second parameter.
40472         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40473         INNETGR.
40474         (dbs): Add netgrdb entry.
40475         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40476         (verify_persistent_db): Handle netgrdb.
40477         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40478         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40479         GETFDNETGR.
40480         (netgroup_response_header): Define.
40481         (innetgroup_response_header): Define.
40482         (datahead): Add netgroup_response_header and innetgroup_response_header
40483         elements.
40484         * nscd/nscd.conf: Add entries for netgroup cache.
40485         * nscd/nscd.h (dbtype): Add netgrdb.
40486         (_PATH_NSCD_NETGROUP_DB): Define.
40487         (netgroup_iov_disabled): Declare.
40488         (xmalloc, xcalloc, xrealloc): Move declarations here.
40489         (cache_search): Adjust prototype.
40490         Add netgroup-related prototypes.
40491         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40492         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40493         (__nscd_innetgr): Declare.
40494         * nscd/selinux.c (perms): Use access_vector_t as element type and
40495         add netgroup-related initializers.
40496         * nscd/netgroupcache.c: New file.
40497         * nscd/nscd_netgroup.c: New file.
40498         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40499         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40500         For four parameters use innetgr.
40501         * nss/nss_files/files-init.c: Add definition and callback for netgr.
40502         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40503         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40504         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40506         * nscd/connections.c (register_traced_file): Don't register file
40507         for disabled databases.
40509 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
40511         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40513         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40514         from tree and freeing node.
40516 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
40518         * nss/nsswitch.c (__nss_database_lookup): Handle
40519         nss_parse_service_list out of memory case.
40521 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
40523         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40524         out of memory case.
40526 2011-10-04  Andreas Schwab  <schwab@redhat.com>
40528         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40529         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40530         pass it down.
40531         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40532         elf_machine_rela, elf_machine_lazy_rel.
40533         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40534         (ELF_DYNAMIC_DO_REL): Likewise.
40535         (ELF_DYNAMIC_DO_RELA): Likewise.
40536         (ELF_DYNAMIC_RELOCATE): Likewise.
40537         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40538         to ELF_DYNAMIC_DO_REL.
40539         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40540         (dl_main): In trace mode always set __RTLD_NOIFUNC.
40541         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40542         elf_machine_rela.
40543         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40544         skip_ifunc, don't call ifunc function if non-zero.
40545         (elf_machine_rela): Likewise.
40546         (elf_machine_lazy_rel): Likewise.
40547         (elf_machine_lazy_rela): Likewise.
40548         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40549         (elf_machine_lazy_rel): Likewise.
40550         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40551         Likewise.
40552         (elf_machine_lazy_rel): Likewise.
40553         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40554         Likewise.
40555         (elf_machine_lazy_rel): Likewise.
40556         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40557         (elf_machine_lazy_rel): Likewise.
40558         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40559         (elf_machine_lazy_rel): Likewise.
40560         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40561         (elf_machine_lazy_rel): Likewise.
40562         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40563         (elf_machine_lazy_rel): Likewise.
40564         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40565         (elf_machine_lazy_rel): Likewise.
40566         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40567         (elf_machine_lazy_rel): Likewise.
40569 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
40571         * nss/nss_files/files-init.c (_nss_files_init): Use static
40572         initialization for all the *_traced_file variables.
40574 2011-09-28  Andreas Schwab  <schwab@redhat.com>
40576         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40578 2011-09-27  Roland McGrath  <roland@hack.frob.com>
40580         [BZ #13226]
40581         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40583 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40585         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40586         Reread the line before reparsing it.
40588 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40590         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40592 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40593             Maxim Kuvyrkov  <maxim@codesourcery.com>
40594             Joseph Myers  <joseph@codesourcery.com>
40596         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40597         if needed for __stack_chk_guard.
40599 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40601         * sysdeps/posix/spawni.c (script_execute): Always define it.
40602         It will be optimized away if unused.
40603         (maybe_script_execute): New function.
40604         (__spawni): Call it.
40606         * Makerules: Don't include tls.make.
40607         (config-tls): Always set to thread.
40608         * tls.make.c: File removed.
40610 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40612         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40613         * config.make.in (CPPFLAGS-config): New substituted variable.
40615 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40617         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40619         [BZ #13192]
40620         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40621         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40623 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40625         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40626         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40627         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40628         (CALL_FAIL): Likewise.
40629         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40630         (CALL_FAIL): Macro removed.
40631         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40633 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40635         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40636         for __FINITE_MATH_ONLY__ == 1.
40638 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40640         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40641         __ieee754_sqrt instead of sqrt.
40642         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40643         __ieee754_sqrtf instead of sqrtf.
40644         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40645         __floorf instead of floorf.
40646         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40647         __floorf, __truncf instead of floorf, truncf.
40649 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40651         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40653         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40654         __extern_always_inline.
40655         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40656         32-bit.
40658 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40660         * elf/rtld.c (dl_main): Also relocate in dependency order when
40661         doing symbol dependency testing.
40663 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40665         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40666         Always define `refsym'.
40668 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40670         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40671         (__FD_ELT): Renamed from __FDELT.
40672         * misc/bits/select2.h (__FD_ELT): Likewise.
40673         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40674         __FD_MASK instead of __FDELT, __FDMASK.
40675         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40676         Likewise.
40677         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40678         Likewise.
40680         * elf/Makefile (gen-ldd): Fix pattern.
40682         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40683         (init_tls): Likewise.
40685 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40687         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40689 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40691         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40692         `struct cmsghdr *' instead of `void *'.
40693         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40694         Likewise.
40696 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40698         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40699         if non-absolute.
40700         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40701         ldd_rewrite_script.
40703 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40705         * configure.in: Remove --with-tls option.
40706         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40707         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40708         out in case it is missing.
40709         * sysdeps/ia64/elf/configure.in: Likewise.
40710         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40711         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40712         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40713         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40714         * sysdeps/sh/elf/configure.in: Likewise.
40715         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40716         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40717         * sysdeps/x86_64/elf/configure.in: Likewise.
40718         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40719         * sysdeps/mach/hurd/tls.h: Likewise.
40721         [BZ #13067]
40722         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40724         [BZ #13090]
40725         * configure.in: Fix use of AC_INIT.
40727         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40729 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40731         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40732         __set_errno.
40733         * malloc/hooks.c: Likewise.
40735         [BZ #11929]
40736         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40737         variables statically.
40738         (narenas): Initialize.
40739         (list_lock): Initialize.
40740         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40741         initializtion of main_arena and list_lock.  Small cleanups.
40742         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40743         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40744         Add initializers to main_arena and mp_.
40745         (malloc_state): Remove pagesize member.  Change all users to use
40746         GLRO(dl_pagesize).
40748         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40749         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40750         is always initialized.
40752         * malloc/malloc.c: Removed unused configurations and dead code.
40753         * malloc/arena.c: Likewise.
40754         * malloc/hooks.c: Likewise.
40755         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40757         * include/tls.h: Removed.  USE___THREAD must always be defined.
40758         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40759         * elf/dl-libc.c: Likewise.
40760         * elf/dl-tsd.c: Likewise.
40761         * include/errno.h: Likewise.
40762         * include/netdb.h: Likewise.
40763         * include/resolv.h: Likewise.
40764         * inet/herrno-loc.c: Likewise.
40765         * inet/herrno.c: Likewise.
40766         * malloc/arena.c: Likewise.
40767         * malloc/hooks.c: Likewise.
40768         * malloc/malloc.c: Likewise.
40769         * resolv/res-state.c: Likewise.
40770         * resolv/res_libc.c: Likewise.
40771         * sysdeps/i386/dl-machine.h: Likewise.
40772         * sysdeps/ia64/dl-machine.h: Likewise.
40773         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40774         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40775         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40776         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40777         * sysdeps/sh/dl-machine.h: Likewise.
40778         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40779         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40780         * sysdeps/unix/i386/sysdep.S: Likewise.
40781         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40782         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40784         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40787         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40788         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40789         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40790         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40791         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40792         * sysdeps/x86_64/dl-machine.h: Likewise.
40793         * tls.make.c: Likewise.
40795         * configure.in: Remove --with-__thread option.  Make tests for
40796         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40797         tls_model attribute fail if no support is available.  Remove
40798         USE_IN_LIBIO.
40799         * Makeconfig: Adjust for dropped configure option.  All features are
40800         now mandatory.
40801         * Makerules: Likewise.
40802         * Versions.def: Likewise.
40803         * argp/argp-fmtstream.c: Likewise.
40804         * argp/argp-fmtstream.h: Likewise.
40805         * argp/argp-help.c: Likewise.
40806         * assert/assert.c: Likewise.
40807         * config.h.in: Likewise.
40808         * config.make.in: Likewise.
40809         * configure: Likewise.
40810         * configure.in: Likewise.
40811         * csu/Versions: Likewise.
40812         * csu/init.c: Likewise.
40813         * elf/tst-audit2.c: Likewise.
40814         * elf/tst-tls10.c: Likewise.
40815         * elf/tst-tls10.h: Likewise.
40816         * elf/tst-tls11.c: Likewise.
40817         * elf/tst-tls12.c: Likewise.
40818         * elf/tst-tls14.c: Likewise.
40819         * elf/tst-tlsmod11.c: Likewise.
40820         * elf/tst-tlsmod12.c: Likewise.
40821         * elf/tst-tlsmod13.c: Likewise.
40822         * elf/tst-tlsmod13a.c: Likewise.
40823         * elf/tst-tlsmod14a.c: Likewise.
40824         * elf/tst-tlsmod15b.c: Likewise.
40825         * elf/tst-tlsmod16a.c: Likewise.
40826         * elf/tst-tlsmod16b.c: Likewise.
40827         * elf/tst-tlsmod7.c: Likewise.
40828         * elf/tst-tlsmod8.c: Likewise.
40829         * elf/tst-tlsmod9.c: Likewise.
40830         * gmon/gmon.c: Likewise.
40831         * grp/fgetgrent_r.c: Likewise.
40832         * grp/putgrent.c: Likewise.
40833         * hurd/fopenport.c: Likewise.
40834         * include/libc-symbols.h: Likewise.
40835         * include/tls.h: Likewise.
40836         * intl/gettextP.h: Likewise.
40837         * intl/loadinfo.h: Likewise.
40838         * locale/global-locale.c: Likewise.
40839         * locale/localeinfo.h: Likewise.
40840         * mach/devstream.c: Likewise.
40841         * malloc/arena.c: Likewise.
40842         * malloc/set-freeres.c: Likewise.
40843         * misc/err.c: Likewise.
40844         * misc/getttyent.c: Likewise.
40845         * misc/mntent_r.c: Likewise.
40846         * posix/getopt.c: Likewise.
40847         * posix/wordexp.c: Likewise.
40848         * pwd/fgetpwent_r.c: Likewise.
40849         * resolv/Versions: Likewise.
40850         * resolv/res_hconf.c: Likewise.
40851         * shadow/fgetspent_r.c: Likewise.
40852         * shadow/putspent.c: Likewise.
40853         * stdio-common/printf_fphex.c: Likewise.
40854         * stdio-common/tmpfile.c: Likewise.
40855         * stdlib/abort.c: Likewise.
40856         * stdlib/fmtmsg.c: Likewise.
40857         * sunrpc/auth_unix.c: Likewise.
40858         * sunrpc/clnt_perr.c: Likewise.
40859         * sunrpc/clnt_tcp.c: Likewise.
40860         * sunrpc/clnt_udp.c: Likewise.
40861         * sunrpc/clnt_unix.c: Likewise.
40862         * sunrpc/openchild.c: Likewise.
40863         * sunrpc/svc_simple.c: Likewise.
40864         * sunrpc/svc_tcp.c: Likewise.
40865         * sunrpc/svc_udp.c: Likewise.
40866         * sunrpc/svc_unix.c: Likewise.
40867         * sunrpc/xdr.c: Likewise.
40868         * sunrpc/xdr_array.c: Likewise.
40869         * sunrpc/xdr_rec.c: Likewise.
40870         * sunrpc/xdr_ref.c: Likewise.
40871         * sunrpc/xdr_stdio.c: Likewise.
40873 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40875         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40877 2011-07-03  Andreas Jaeger  <aj@suse.de>
40879         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40880         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40881         regenerate with gen-libm-tests.pl.
40883 2010-05-12  Petr Baudis  <pasky@suse.cz>
40885         [BZ #11589]
40886         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40887         around j0() zero points by switching to j1().
40888         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40889         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40890         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40891         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40893 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40895         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40896         instead of 0.
40897         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40898         instead of 0.
40899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40900         Patch in part by Pavel Roskin <proski@gnu.org>.
40902         [BZ #13138]
40903         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40904         realloc.
40905         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40906         Free memory block if necessary.
40908         [BZ #12847]
40909         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40910         be NULL.  Don't lock in this case.
40912 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40914         * elf/elf.h (ELFOSABI_GNU): New macro.
40915         (ELFOSABI_LINUX): Define to that.
40917 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40919         * string/strncat.c (strncat): Undef the symbol in case it has been
40920         defined in bits/string.h.
40922 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40924         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40926         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40927         link map.
40929 2011-08-17  Andreas Jaeger  <aj@suse.de>
40931         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40933 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40934             Ian Lance Taylor  <iant@google.com>
40936         * math/libm-test.inc (lround_test): New testcase.
40937         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40939 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40941         * Makefile: Remove support for automatic cvs check-ins.
40942         * Makerules: Likewise.
40943         * config.make.in: Likewise.
40944         * configure.in: Likewise.
40945         * intl/Makefile: Likewise.
40946         * locale/Makefile: Likewise.
40947         * po/Makefile: Likewise.
40948         * posix/Makefile: Likewise.
40949         * sysdeps/gnu/Makefile: Likewise.
40950         * sysdeps/mach/hurd/Makefile: Likewise.
40951         * sysdeps/sparc/sparc32/Makefile: Likewise.
40953         [BZ #13118]
40954         * posix/Makefile (bug-regex32-ENV): Define.
40955         Patch by John Stanley <jpsinthemix@verizon.net>.
40957         * misc/Makefile (headers): Add bits/select2.h.
40958         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40959         * misc/bits/select2.h: New file.
40960         * include/bits/select2.h: New file.
40961         * debug/Makefile (routines): Add fdelt_chk.
40962         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40963         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40964         FD_ISSET.
40965         * debug/fdelt_chk.c: New file.
40967         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40968         * wcsmbs/test-wmemcmp.c: Likewise.
40969         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40970         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40972 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40974         * string/Makefile (strop-tests): Add memcmp.
40975         * string/test-wmemcmp.c: New file.
40976         * string/test-memcmp.c: Add wmemcmp support.
40978 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40980         [BZ #13153]
40981         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40982         2011-07-19 change.
40984         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40985         garbage value in a __mach_port_mod_refs call in the cases of the
40986         task-self and thread-self ports.
40988 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40990         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40992 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40994         * elf/dl-load.c (lose): Check for non-null L.
40996 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40998         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41000         * elf/dl-libc.c (dlerror_run): Pass back error code from
41001         dl_catch_error.
41003         [BZ #13123]
41004         * elf/dl-load.c (lose): Free l_origin if it is valid.
41006         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41007         names.
41008         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41009         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41010         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41011         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41012         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41013         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41015 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41017         * sysdeps/powerpc/fpu/e_hypot.c: New file.
41018         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41019         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41020         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41021         * sysdeps/powerpc/fpu/k_cosf.c: New file.
41022         * sysdeps/powerpc/fpu/k_sinf.c: New file.
41023         * sysdeps/powerpc/fpu/s_cosf.c: New file.
41024         * sysdeps/powerpc/fpu/s_sinf.c: New file.
41025         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41026         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41028 2011-08-15  Alan Modra  <amodra@gmail.com>
41030         [BZ #13092]
41031         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41032         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41033         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
41034         ppc_mcount to static-only-routines.
41035         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41036         __mcount_internal.
41037         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41038         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
41040 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
41042         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41043         for finite and infinity parameters.
41045 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41047         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41048         and add nop instructions for throughput optimization.
41049         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41051 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
41053         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41054         aligned copy for power7 with vector-scalar instructions.
41055         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41057 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
41059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41060         AVX check.
41062 2011-09-07  Andreas Schwab  <schwab@redhat.com>
41064         [BZ #13144]
41065         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41066         last change.
41068 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41070         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41071         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41072         syscall wrapper around clock_gettime in __vdso_clock_gettime.
41073         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41074         clock_gettime.
41076 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41078         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41079         Forgot to demangle the pointer.
41081         * sysdeps/i386/sysdep.h: Define atom_text_section.
41082         * sysdeps/x86_64/sysdep.h: Likewise.
41083         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41084         section with atom_text_section.
41085         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41086         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41087         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41088         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41089         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41091         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41092         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41093         already be defined.  Change to take two parameters and don't assign
41094         result to variable.  Adjust all users.
41095         Define INTERNAL_GETTIME if not already defined.
41096         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41097         call.
41098         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41099         HAVE_CLOCK_GETTIME_VSYSCALL.
41100         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41102         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41103         gettimeofday vsyscall, just use time.
41105 2011-09-06  Andreas Schwab  <schwab@redhat.com>
41107         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41108         <errno.h>.
41110 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41112         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41113         syscall on x86-64.
41114         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41115         syscall.
41116         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41117         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41118         syscall if possible.
41120 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41122         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41123         e_ident.  Don't pass to find_mapsXX.
41124         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41126 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41129         strchr-sse2-no-bsf strrchr-sse2-no-bsf
41130         * sysdeps/x86_64/multiarch/strchr.S: Update.
41131         Check bit_slow_BSF bit.
41132         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41133         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41134         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41136 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41138         [BZ #13134]
41139         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41140         before glibc 2.15.
41141         (tryshell): Define.
41142         (__spawni): Change last parameter to be flag.  Test
41143         SPAWN_XFLAGS_USE_PATH flag to use path or not.
41144         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41145         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41146         * posix/spawni.c: Likewise.
41147         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41148         * posix/spawnp.c: Likewise.  Change normal version to use
41149         SPAWN_XFLAGS_USE_PATH.
41150         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41151         SPAWN_XFLAGS_TRY_SHELL.
41153         [BZ #13150]
41154         * posix/glob.h: Remove gcc 1.x support.
41156         [BZ #13068]
41157         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41159 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41161         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41162         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41163         strrchr-sse2-bsf
41164         * sysdeps/i386/i686/multiarch/strchr.S: New file.
41165         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41166         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41167         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41168         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41169         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41171 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41173         * sysdeps/x86_64/wcscmp.S: New file.
41175         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41176         wcscmp-c wcscmp-sse2
41177         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41178         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41179         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41180         * wcsmbs/wcscmp.c: Allow renaming.
41182 2011-09-05  David S. Miller  <davem@davemloft.net>
41184         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41185         stack slot, rather than the struct return pointer slot.
41186         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41187         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41189         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41191 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41193         * po/ja.po: Update from translation team.
41195         [BZ #13144]
41196         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41197         kernel in 64-bit binaries.
41199 2011-09-01  David S. Miller  <davem@davemloft.net>
41201         * elf/elf.h (HWCAP_SPARC_*): Move to..
41202         * sysdeps/sparc/sysdep.h: this new file and add new values.
41203         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41204         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41205         _DL_HWCAP_COUNT to 24.
41206         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41207         entries.
41208         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41209         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41210         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41211         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41212         instead of magic constants.
41213         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41215 2011-08-31  David S. Miller  <davem@davemloft.net>
41217         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41219         Reimplement to do errno handling inline.
41220         (SYSCALL_ERROR_HANDLER): New macro.
41221         (__SYSCALL_STRING): Do not do errno handling in asm.
41222         (__CLONE_SYSCALL_STRING): Delete.
41223         (__INTERNAL_SYSCALL_STRING): Delete.
41224         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41225         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41226         (PSEUDO): Reimplement to do errno handling inline.
41227         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41228         (SYSCALL_ERROR_HANDLER): New macro.
41229         (__SYSCALL_STRING): Do not do errno handling in asm.
41230         (__CLONE_SYSCALL_STRING): Delete.
41231         (__INTERNAL_SYSCALL_STRING): Delete.
41232         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41233         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41234         i386.
41235         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41236         (inline_syscall*): Add 'err' argument.
41237         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41238         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41239         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41240         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41242         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41243         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41245 2011-08-30  Andreas Schwab  <schwab@redhat.com>
41247         * elf/rtld.c (dl_main): Relocate objects in dependency order.
41249 2011-08-29  Jiri Olsa <jolsa@redhat.com>
41251         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41252         directive.
41254 2011-08-24  David S. Miller  <davem@davemloft.net>
41256         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41258 2011-08-24  Andreas Schwab  <schwab@redhat.com>
41260         * elf/Makefile: Add rules to build and run unload8 test.
41261         * elf/unload8.c: New file.
41262         * elf/unload8mod1.c: New file.
41263         * elf/unload8mod1x.c: New file.
41264         * elf/unload8mod2.c: New file.
41265         * elf/unload8mod3.c: New file.
41267         * elf/dl-close.c (_dl_close_worker): Reset private search list if
41268         it wasn't used.
41270 2011-08-23  David S. Miller  <davem@davemloft.net>
41272         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41273         subtract stack bias.
41274         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41275         %sp not %fp in calculations.
41276         (_JMPBUF_UNWINDS_ADJ): Likewise.
41278         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41279         (aio_suspend): Call it to force an exception region around the
41280         AIO_MISC_WAIT() invocation.
41282 2011-08-23  Andreas Schwab  <schwab@redhat.com>
41284         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41285         backslash.
41287 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
41289         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41290         protection macro.
41291         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41292         and <dl-machine.h>.
41293         (Elf64_FuncDesc): Remove.
41295 2011-08-22  David S. Miller  <davem@davemloft.net>
41297         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41298         sigaltstack check, add missing cfi directives.
41299         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41300         missing cfi directives, and sigaltstack handling.
41302 2011-08-16  Andreas Schwab  <schwab@redhat.com>
41304         [BZ #11724]
41305         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41306         object is seen twice.
41307         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41309         * elf/Makefile (distribute): Add tst-initorder2.c.
41310         (tests): Add tst-initorder2.
41311         (modules-names): Add tst-initorder2a tst-initorder2b
41312         tst-initorder2c tst-initorder2d.  Add rules to build them.
41313         ($(objpfx)tst-initorder2.out): New rule.
41314         * elf/tst-initorder2.c: New file.
41315         * elf/tst-initorder2.exp: New file.
41317 2011-08-22  Andreas Schwab  <schwab@redhat.com>
41319         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41321         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41322         dependencies back to end of function.
41324         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41325         $(elfobjdir)/ld.so.
41327 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
41329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41330         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41331         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41332         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41333         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41334         of __vdso_gettimeofday.
41335         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41336         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
41337         attribute_hidden.
41338         (_libc_vdso_platform_setup): Remove initialization of
41339         __vdso_gettimeofday and __vdso_time.
41341 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41343         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41344         and fgetc_unlocked.
41345         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41346         getc_unlocked.
41348         * elf/dl-open.c (add_to_global): Report additions to the global scope
41349         for LD_DEBUG=scopes.
41350         (dl_open_worker): Also print scope of newly loaded dependencies.
41351         (_dl_show_scope): Indicate if there is no scope.
41353         [BZ #13114]
41354         * stdio-common/Makefile (tests): Add bug24.
41355         * stdio-common/bug24.c: New file.
41357 2011-08-19  Andreas Jaeger  <aj@suse.de>
41359         [BZ #13114]
41360         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41361         non-existant file when using close-on-exec mode.
41363 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41365         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41366         the very first instruction.
41368         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41369         the CFI state in the end.
41370         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41371         inclusion of dl-trampoline.h.
41372         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41374 2011-08-19  Andreas Schwab  <schwab@redhat.com>
41376         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41377         expectations for long double.
41379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41380         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41382 2011-08-14  David S. Miller  <davem@davemloft.net>
41384         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41385         artificual limit depends upon the system page size.
41387 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41389         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41390         * resolv/Makefile: Define CFLAGS-libresolv.
41392 2011-08-17  Andreas Schwab  <schwab@redhat.com>
41394         * nss/makedb.c (compute_tables): Make variables used in nested
41395         function static.
41397 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41399         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41400         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41401         if buffer was too small.
41403         * elf/pldd.c (main): Attach to all threads in the process.
41404         Rewrite /proc handling to use *at functions.
41406 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
41408         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41409         specifies first scope to show.
41410         (dl_open_worker): Update callers.  Move printing scope of new
41411         object to before the relocation.
41412         * elf/rtld.c (dl_main): Update _dl_show_scope call.
41413         * sysdeps/generic/ldsodefs.h: Update declaration.
41415         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41416         string for the scope number.
41418 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
41420         * nscd/servicescache.c (cache_addserv): Make sure written is always
41421         initialized.
41423 2011-08-14  Roland McGrath  <roland@hack.frob.com>
41425         * sysdeps/i386/i486/bits/atomic.h
41426         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41427         statement expression, so as to suppress "set but not used" warning.
41428         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41430         * string/strncat.c (STRNCAT): Use prototype definition.
41432         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41433         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41434         -Iprograms here.
41435         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41436         (localedef-modules): Add localedef.
41437         (locale-modules): Add locale.
41439         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41440         * elf/rtld.c (dl_main): Invert order of assignment in last change,
41441         to avoid a warning.
41443 2011-08-14  David S. Miller  <davem@davemloft.net>
41445         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41446         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41448 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
41450         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41451         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41452         * elf/rtld.c (dl_main): Set l_name of vDSO.
41453         Call _dl_show_scope when DL_DEBUG_SCOPES.
41454         (process_dl_debug): Recognize scopes flag and also set it for all.
41455         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41456         Declare _dl_show_scope.
41458         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41459         (do_dlopen): Pass caller_dlopen to dl_open.
41460         (__libc_dlopen_mode): Initialize caller_dlopen.
41462         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41463         of libc.  Make tolower call locale-independent.  Optimize a bit by
41464         using isdigit instead of isalnum.
41465         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41467 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
41469         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41470         was a dependency or dynamically loaded.
41472 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
41474         * intl/l10nflist.c: Allow architecture-specific pop function.
41475         * sysdeps/x86_64/l10nflist.c: New file.
41477         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41478         classification.
41480 2011-08-10  Andreas Schwab  <schwab@redhat.com>
41482         * include/dirent.h: Add libc_hidden_proto for scandirat and
41483         scandirat64.  Don't declare __scandirat64.
41484         * dirent/scandirat.c: Add libc_hidden_def.
41485         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41486         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41488 2011-08-10  David S. Miller  <davem@davemloft.net>
41490         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41491         enum.
41492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41496 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
41498         * Versions.def [libc]: Add GLIBC_2.15.
41499         * dirent/Makefile (routines): Add scandirat and scandirat64.
41500         * dirent/Versions [libc]: Export scandirat and scandirat64 for
41501         GLIBC_2.15.
41502         * dirent/dirent.h: Declare scandirat and scandirat64.
41503         * dirent/scandirat.c: New file.
41504         * dirent/scandirat64.c: New file.
41505         * sysdeps/wordsize-64/scandirat.c: New file.
41506         * sysdeps/wordsize-64/scandirat64.c: New file.
41507         * dirent/opendir.c: Define opendirat.
41508         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
41509         using scandirat.
41510         * dirent/scandir64.c: Adjust for scandir.c change.
41511         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
41512         __scandirat64, and __scandir_cancel_handler.
41513         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
41514         additional parameter and use openat instead of open (outside of ld.so).
41515         Add new __opendir as wrapper around __opendirat.
41516         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41517         here without requiring old scandirat implementation.
41519 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
41521         * dirent/scandir.c (cancel_handler): Renamed to
41522         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
41523         defined.  Adjust users.
41524         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41525         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41527 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
41529         * string/test-string.h (IMPL): Use __STRING to expand name and then
41530         stringify it.
41532         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
41533         of cleanups.
41535 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41537         * string/Makefile: Update.
41538         (strop-tests): Append strncat.
41539         * string/test-wcscmp.c: New file.
41540         New comprehensive test for wcscmp.
41541         * string/test-strcmp.c: Update.
41542         (WIDE): New define.
41544 2011-07-22  Andreas Schwab  <schwab@redhat.com>
41546         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41547         line.
41549 2011-07-26  Andreas Schwab  <schwab@redhat.com>
41551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41552         encoding to ACE if AI_IDN.
41554 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
41556         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41557         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41559 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41561         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41562         Fix overflow bug in strncat.
41563         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41565         * string/test-strncat.c: Update.
41566         Add new tests for checking overflow bugs.
41568 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41570         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41571         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41572         * sysdeps/i386/i686/multiarch/strcat.S: New file.
41573         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41574         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41575         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41576         * sysdeps/i386/i686/multiarch/strncat.S: New file.
41577         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41578         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41580         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41581         (USE_AS_STRCAT): Define.
41582         Add strcat and strncat support.
41583         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41585 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41587         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41588         __n bigger than INT_MAX+1.
41589         (__strncmp_g): Likewise.
41591 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41593         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41594         * libio/stido.h: Likewise.
41596         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41597         (AF_NFC): Define.
41598         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41599         (AF_NFC): Define.
41601         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41602         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41603         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41604         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41605         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41607         [BZ #13021]
41608         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41609         installed.
41611         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41612         typo.
41613         (_dl_x86_64_save_sse): Likewise.
41615 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41617         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41618         OSXSAVE.
41619         (_dl_x86_64_save_sse): Likewise.
41621         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41623         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41625 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41627         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41628         change.
41629         (_dl_x86_64_save_sse): Use correct AVX check.
41631 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41633         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41634         bug in strncpy/strncat.
41635         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41637 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41639         * string/tester.c (test_strcat): Add tests for different alignments
41640         of source and destination.
41641         (test_strncat): Likewise.
41643 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41645         [BZ #12852]
41646         * posix/glob.c (glob): Check passed in values before using them in
41647         expressions to avoid some overflows.
41648         (glob_in_dir): Likewise.
41650         [BZ #13007]
41651         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41652         check for AVX enablement so that we don't crash with old kernels and
41653         new hardware.
41654         * elf/tst-audit4.c: Add same checks here.
41655         * elf/tst-audit6.c: Likewise.
41657         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41659 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41661         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41663 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41665         * po/cs.po: Update from translation team.
41666         * po/bg.po: Likewise.
41668 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41670         * misc/sys/cdefs.h: Add support for const attribute.
41671         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41672         to gnu_dev_{major,minor,makedev} functions.
41674 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41676         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41678 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41680         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41681         strlen results.
41683 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41686         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41687         register in order to avoid conflicts with the soft frame pointer
41688         being held in r11 when necessary.
41689         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41690         (INTERNAL_VSYSCALL_NCS): Likewise.
41692 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41694         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41695         * elf/dl-fini.c (_dl_fini): Adjust caller.
41696         * elf/dl-close.c (_dl_close_worker): Likewise.
41697         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41699 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41701         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41702         "aux_cache->nlibs < 0".
41704         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41705         in the reload-count case.
41707 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41710         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41711         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41712         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41713         * sysdeps/x86_64/multiarch/strcat.S: New file.
41714         * sysdeps/x86_64/multiarch/strncat.S: New file.
41715         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41716         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41717         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41718         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41719         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41720         (USE_AS_STRCAT): Define.
41721         Add strcat and strncat support.
41722         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41723         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41724         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41725         * string/strncat.c: Update.
41726         (USE_AS_STRNCAT): Define.
41727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41728         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41729         and i7.
41730         * sysdeps/x86_64/multiarch/init-arch.h
41731         (bit_Prefer_PMINUB_for_stringop): New.
41732         (index_Prefer_PMINUB_for_stringop): Likewise.
41733         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41734         bit_Prefer_PMINUB_for_stringop.
41736 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41738         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41739         buffer64.
41740         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41741         of casting of buffer.
41742         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41743         buffer32 and buffer64.
41744         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41745         writes instead of casting of buffer.
41746         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41747         buffer32.
41748         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41749         casting of buffer.
41751 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41753         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41755 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41757         * nscd/nscd.c (termination_handler): Don't do anything for a database
41758         if it has not yet been initialized.
41760 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41762         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41764 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41766         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41768 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41770         * po/nl.po: Update from translation team.
41771         * po/sv.po: Likewise.
41773 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41775         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41776         now disallowed by GCC.
41778         * configure.in (use-default-link): Default to yes if a test -shared
41779         link meets our qualifications.
41780         * configure: Regenerated.
41782         * config.make.in (output-format): New variable.
41783         * configure.in: Check for ld --print-output-format support.
41784         * configure: Regenerated.
41785         * Makerules ($(common-objpfx)format.lds)
41786         [$(output-format) != unknown]: Just use $(output-format),
41787         instead of the linker-script munging.
41789 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41791         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41792         of $(common-objpfx)shlib.lds.
41793         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41795         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41796         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41798         * configure.in (-z relro check): Adjust test code to add a large
41799         writable data section after it.
41800         * configure: Regenerated.
41802 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41804         * configure.in (-z relro check): Fix test code to make the variable
41805         truly const.
41806         * configure: Regenerated.
41808 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41810         * nscd/nscd.h (struct traced_file): Define.
41811         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41812         elements.  Add traced_files.
41813         (inotify_fd): Declare.
41814         (register_traced_file): Declare.
41815         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41816         (inotify_fd): Export.
41817         (resolv_conf_descr): Remove.
41818         (nscd_init): Move inotify descriptor creation to main.
41819         Don't register files for notification here.
41820         (register_traced_file): New function.
41821         (invalidate_cache): Don't use reset_res to determine whether to call
41822         res_init, go through the list of registered files.
41823         (main_loop_poll): The inotify descriptors are now stored in the
41824         structures for the traced files.
41825         (main_loop_epoll): Likewise
41826         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41827         to __nss_disable_nscd.
41828         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41829         for a database anymore.  Check the records for all the registered
41830         files instead.
41831         * nss/Makefile (libnss_files-routines): Add files-init.
41832         (libnss_db-routines): Add db-init.
41833         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41834         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41835         * nss/nss_db/db-init.c: New file.
41836         * nss/nss_files/files-init.c: New file.
41837         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41838         __nss_lookup_function.
41839         (__nss_lookup_function): Call nss_load_library.
41840         (nss_load_all_libraries): New function.
41841         (__nss_disable_nscd): Take parameter with callback function for files
41842         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41843         used for the cached services.
41844         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41845         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41846         options for features to all the files in nscd.
41848         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41850 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41852         * csu/elf-init.c (__libc_csu_init): Comment typo.
41854 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41856         * po/pl.po: Update from translation team.
41857         * po/ja.po: Likewise.
41858         * po/ru.po: Likewise.
41859         * po/ko.po: Likewise.
41860         * po/fr.po: Likewise.
41862 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41864         * configure.in (.ctors/.dtors header and trailer check):
41865         Use an empirical test on a built program.
41866         * configure: Regenerated.
41868         * configure.in (-z relro check): Use an empirical test on a built DSO.
41869         Detect, but do not require, on ia64.
41870         * configure: Regenerated.
41872         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41873         Update tests that use readelf to use $READELF instead.
41874         * configure: Regenerated.
41876 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41878         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41879         if the result is not used.
41881 2011-07-05  Andreas Jaeger  <aj@suse.de>
41883         [BZ#9696]
41884         * stdlib/tst-strtod.c: Add testcase.
41886 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41888         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41889         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41890         The latter has a higher limit.  Take additional parameter to pass to
41891         the new function.
41892         (__pathconf): Pass file to __statfs_link_max.
41893         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41894         __statfs_link_max.
41895         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41896         __statfs_link_max.
41898         [BZ #12868]
41899         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41900         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41901         Handle Lustre.
41902         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41903         (__statfs_filesize_max): Likewise.
41904         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41906 2011-07-05  Andreas Jaeger  <aj@suse.de>
41908         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41910 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41912         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41913         `status' variable.
41914         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41915         Likewise.
41917 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41919         * Makefile (strop-tests): Add strncat.
41920         * string/test-strncat.c: New file.
41922 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41924         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41926 2011-06-21  Andreas Jaeger  <aj@suse.de>
41928         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41929         Copy rule from iconvdata/Makefile.
41931 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41933         [BZ #12922]
41934         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41935         but no long options are defined, just return 'W'.
41937 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41939         [BZ #9696]
41940         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41942 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41944         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41945         netgroups to read.
41946         (innetgr): Likewise.
41948 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41950         * config.make.in (install_root): Default to $(DESTDIR).
41952 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41954         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41956 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41958         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41960         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41961         containing directory rather than embedding absolute directory names.
41963         * scripts/check-local-headers.sh: Rewritten using awk.
41964         Match by word, not by line.  Print error messages for matches.
41965         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41967         * Makerules [shlib-lds-flags empty]:
41968         ($(common-objpfx)libc_pic.opts): New target.
41969         ($(common-objpfx)libc_pic.os.clean): New target.
41970         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41972         * config.make.in (OBJCOPY): New variable.
41973         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41974         * configure: Regenerated.
41976         * config.make.in (use-default-link): New variable.
41977         * configure.in (use_default_link): Grok --with-default-link to set it.
41978         * configure: Regenerated.
41979         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41980         (shlib-lds, shlib-lds-flags): Define to empty.
41982         * Makerules (shlib-lds): New variable.
41983         (shlib-lds-flags): New variable.
41984         (build-shlib, build-moduile, build-module-asneeded): Use it.
41985         ($(common-objpfx)libc.so): Use $(shlib-lds).
41986         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41987         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41989         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41990         DT_FLAGS/DT_FLAGS_1 with zero flags.
41992         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41993         linker script munging.
41995 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41997         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41998         as 128-bit value.
41999         * crypt/sha512.c (sha512_process_block): Perform total addition using
42000         128-bit if possible.
42001         (__sha512_finish_ctx): Likewise.
42002         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42003         as 64-bit value.
42004         * crypt/sha256.c (SWAP64): Define.
42005         (sha256_process_block): Perform total addition using 64-bit if
42006         possible.
42007         (__sha256_finish_ctx): Likewise.
42009 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
42011         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
42012         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42013         * nscd/hstcache.c (cache_addhst): Likewise.
42014         * nscd/grpcache.c (cache_addgr): Likewise.
42015         * nscd/aicache.c (addhstaiX): Likewise
42016         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42018 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
42020         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42021         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42022         * nscd/hstcache.c (cache_addhst): Likewise.
42023         * nscd/grpcache.c (cache_addgr): Likewise.
42024         * nscd/aicache.c (addhstaiX): Likewise
42026 2011-07-01  Andreas Schwab  <schwab@redhat.com>
42028         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42029         domain only when needed.
42031 2011-06-30  Andreas Schwab  <schwab@redhat.com>
42033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42034         is always restored.
42036 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
42038         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42039         are re-adding the entry.
42040         * nscd/servicescache.c (cache_addserv): Likewise.
42042 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
42044         * sysdeps/generic/dl-irel.h: fix protection against multiple
42045         inclusions.
42046         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42048 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
42050         [BZ #12935]
42051         * malloc/memusage.sh: Fix quoting in message.
42052         * debug/xtrace.sh: Likewise.
42054         * configure.in: Remove support for --experimental-malloc option, make
42055         it the default.
42056         * config.make.in: Likewise.
42057         * malloc/Makefile: Likewise.
42059 2011-06-27  Andreas Schwab  <schwab@redhat.com>
42061         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42062         two-byte characters.
42064 2011-06-27  Roland McGrath  <roland@hack.frob.com>
42066         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42067         AC_CACHE_CHECK invocation.
42068         * configure: Regenerated.
42070         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42072 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
42074         [BZ #12350]
42075         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
42076         bit from old_res_options.
42078         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42080         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42081         value type for setfct.
42083 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
42085         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42086         __gettimeofday instead of gettimeofday.
42088 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
42090         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42092 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
42094         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42096         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42097         info.
42099 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42102         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42103         strcpy-sse2-unaligned strncpy-sse2-unaligned
42104         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42105         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42106         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42107         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42108         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42109         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42110         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42111         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42112         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42113         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42114         (STRCPY): Support SSE2 and SSSE3 versions.
42116 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
42118         [BZ #12874]
42119         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42120         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42121         kernels which artificially limit size of requests.
42123 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42125         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42126         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42127         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42128         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42129         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42130         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42131         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42132         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42133         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42134         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42135         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42136         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42137         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42138         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42139         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42141         Enable unaligned load optimization for Intel Core i3, i5 and i7
42142         processors.
42143         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42144         Define.
42145         (index_Fast_Unaligned_Load): Define.
42146         (HAS_FAST_UNALIGNED_LOAD): Define.
42148 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
42150         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42152 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42154         [BZ #12907]
42155         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42156         until it is clear that the information is realy needed.
42157         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42159 2011-06-22  Andreas Schwab  <schwab@redhat.com>
42161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42163 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42165         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42166         /sys/devices/system/cpu/online if it is usable.
42168         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42169         reading the information from the /proc filesystem to once a second.
42171 2011-06-21  Andreas Jaeger  <aj@suse.de>
42173         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42174         NULL after inclusion of kernel headers.
42176 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
42178         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42179         calls to internal_setent.
42181         [BZ #12885]
42182         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42183         addresses using gethostbyname4_r ignore IPv4 addresses.
42185         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42186         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
42188         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42190 2011-06-20  David S. Miller  <davem@davemloft.net>
42192         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42193         inclusions.
42194         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42196         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42197         (elf_irel): Use it.
42198         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42199         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42200         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42201         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42202         * sysdeps/x86_64/dl-irel.h: Likewise.
42204         * elf/dl-runtime.c: Use elf_ifunc_invoke.
42205         * elf/dl-sym.c: Likewise.
42207 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42209         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
42210         need to dereference resplen2.
42212 2011-06-14  Andreas Schwab  <schwab@redhat.com>
42214         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42216 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42218         * Makeconfig: Define vardbdir and inst_vardbdir.
42219         * nss/Makefile: Add rules to install db-Makefile.
42221         * nss/nss_db/db-XXX.c: Cleanup.
42223         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42224         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42225         GLIBC_PRIVATE.
42226         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42227         * nss/makedb.c: Implement -g option to specify that value strings
42228         are generated and should not be added to table iterated over for
42229         get*ent calls.
42230         * nss/nss_db/db-initgroups.c: New file.
42232         * nss/getent.c: Add support for initgroups lookups through getgrouplist
42233         interface.
42235         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42236         (internal_getgrouplist): Adjust to name change.
42237         Update use_initgroups_entry if this is not the first call.
42238         * nss/databases.def: Add initgroups entry.
42240         * nss/makedb.c (compute_tables): Check result of multiple hash table
42241         sizes to minimize maximum chain length.
42243 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
42245         * Versions.def: Add entry for libnss_db.
42246         * shlib-versions: Likewise.
42247         * nss/Makefile: Add rules to build libnss_db.
42248         * nss/Versions: Add libnss_db information.  Organize libnss_files
42249         entries better.
42250         * nss/db-Makefile: Add gshadow support.  Change rules for the new
42251         makedb progra.  Some minor improvements to generate smaller files.
42252         * nss/nss_db/nss_db.h: Move NSS database header data structures to
42253         here from...
42254         * nss/makedb.c: ...here.
42255         Improve database format to be smaller and require less memory at
42256         runtime.
42257         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
42258         db anymore.
42259         * nss/nss_db/db-netgrp.c: Likewise.
42260         * nss/nss_db/db-open.c: Likewise.
42261         * nss/nss_files/flies-XXX.x: Adjust comments.
42262         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42263         * nss/nss_files/files-grp.c: Likewise.
42264         * nss/nss_files/files-hosts.c: Likewise.
42265         * nss/nss_files/files-network.c: Likewise.
42266         * nss/nss_files/files-proto.c: Likewise.
42267         * nss/nss_files/files-pwd.c: Likewise.
42268         * nss/nss_files/files-rpc.c: Likewise.
42269         * nss/nss_files/files-service.c: Likewise.
42270         * nss/nss_files/files-sgrp.c: Likewise.
42271         * nss/nss_files/files-spwd.c: Likewise.
42272         * nss/nss_db/db-alias.c: Removed.
42273         * nss/nss_db/dummy-db.h: Removed.
42275 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
42277         * nss/makedb.c: Rewritten to not use database library.
42278         * nss/Makefile: Update to build new makedb program.
42280 2011-06-14  Andreas Jaeger  <aj@suse.de>
42282         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42283         memset declaration.
42285 2011-06-10  Andreas Schwab  <schwab@redhat.com>
42287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42288         tmpbuf.
42290 2011-06-10  Roland McGrath  <roland@hack.frob.com>
42292         * Makerules (shlib.lds): Fail if the linker script comes out empty.
42293         * elf/Makefile ($(objpfx)ld.so): Likewise.
42295         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42296         Don't list ld.so twice in dependencies.
42298         * posix/bug-regex31.c: Include <stdlib.h>.
42300         * nscd/hstcache.c (cache_addhst): Remove unused variable.
42302         * nis/nss_compat/compat-spwd.c
42303         (getspent_next_nss_netgr): Remove unused variable.
42304         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42306         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42307         nonmembers" output to use the right array.
42309         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42311         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42313         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42314         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42315         * catgets/gencat.c (read_input_file): Likewise.
42316         * locale/programs/locarchive.c (enlarge_archive): Likewise.
42318         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42319         variable definition inside #if's controlling its use.
42321         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42323         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42325         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42327         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42328         unreachable code.
42330         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42332         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42333         * configure: Regenerated.
42335         * Makerules: Revert last change.
42336         * elf/Makefile: Likewise.
42338 2011-06-09  Roland McGrath  <roland@hack.frob.com>
42340         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42341         * elf/Makefile ($(objpfx)librtld.os): Likewise.
42342         (reloc-link): Likewise.
42344 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
42346         * elf/Makefile: Add rules to build pldd.
42347         * elf/pldd.c: New file.
42348         * elf/pldd-xx.c: New file.
42350 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
42352         * version.h: Update for 2.15 development version.
42354 2011-06-07  David S. Miller  <davem@davemloft.net>
42356         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42357         ifuncs.
42358         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42359         elf_machine_lazy_rel): Likewise.
42360         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42361         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42362         elf_machine_lazy_rel): Likewise.
42363         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42364         dl_hwcap via passed in argument.
42365         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42366         Likewise.
42368 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42370         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
42372 2011-06-06  Roland McGrath  <roland@hack.frob.com>
42374         [BZ #12849]
42375         * manual/fdl-1.1.texi: New file, verbatim from:
42376         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42377         * manual/lgpl-2.1.texi: New file, verbatim from:
42378         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42379         * manual/Makefile (licenses): New variable, list those new file names.
42380         (texis): Use it.
42381         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42383         * manual/fdl.texi: File removed.
42384         * manual/lesser.texi: File removed.
42385         * manual/libc.texinfo (Copying, Documentation License):
42386         Use new @include file names, put @appendix directive before @include.
42388 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
42390         [BZ #12841]
42391         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42392         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42393         (mq_open): Add __NTH.
42395 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
42397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42398         Assume Intel Core i3/i5/i7 processor if AVX is available.
42400 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42402         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42403         typo.
42405 2011-05-31  Andreas Schwab  <schwab@redhat.com>
42407         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42408         memory.  Use alloca_account.  Fix memory leak when retrying.
42410 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42412         * version.h (RELEASE): Bump for 2.14 release.
42413         * include/features.h (__GLIBC_MINOR__): Bump to 14.
42415         * config.make.in (RANLIB): Remove entry.
42417 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
42419         * po/Makefile (po-sed-cmd): Add ksh to extensions.
42420         (libc.pot): Work around missing support for .ksh extension in xgettext.
42422         [BZ #12684]
42423         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42424         if both request failed.
42425         (send_dg): In case of server errors clear resplen or *resplen2.
42427         [BZ #12454]
42428         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42429         when there are multiple maps.
42430         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42431         (_dl_fini): Remove test here.
42433         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42435 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
42437         [BZ #12350]
42438         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42439         bit from old_res_options.
42440         (gaih_inet): Likewise.
42442         [BZ #11099]
42443         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42444         as signed.
42446         * resolv/res_init.c (res_setoptions): Make the code more compact.
42448         [BZ #11558]
42449         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42450         set RES_USEVC.
42452         [BZ #11634]
42453         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42455         * malloc/malloc.h: Mark malloc hook variables as deprecated.
42457         [BZ #11781]
42458         * malloc/malloc.h: Declare malloc hook variables as volatile.
42460         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42461         in last patch.
42463         [BZ #11799]
42464         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42465         raise in the comment.
42466         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42467         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42468         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42470 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
42472         [BZ #12811]
42473         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42474         grow the buffers more if it already has to be sufficient.
42475         (build_wcs_upper_buffer): Likewise.
42476         * posix/regexec.c (check_matching): Likewise.
42477         (clean_state_log_if_needed): Likewise.
42478         (extend_buffers): Don't enlarge buffers beyond size of the input
42479         buffer.
42480         Patches mostly by Emil Wojak <emil@wojak.eu>.
42481         * posix/bug-regex32.c: New file.
42482         * posix/Makefile (tests): Add bug-regex32.
42484         * locale/findlocale.c (_nl_find_locale): Return right away if
42485         _nl_explode_name failed.
42486         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42488         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42490         * debug/xtrace.sh: Unify messages.
42491         * malloc/memusage.sh: Likewise.
42493         [BZ #12813]
42494         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42495         time symbol from vDSO.  Substitute with vsyscall if not available.
42496         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42497         __vdso_time.
42499         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42500         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42501         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42502         Add sendmmsg and internal_sendmmsg.
42503         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42504         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42505         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42507         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42508         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42509         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42511 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
42513         [BZ #12813]
42514         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42515         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
42516         available.
42517         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42518         __vdso_getcpu.
42520         [BZ #12814]
42521         * iconvdata/Makefile (tests): Add bug-iconv9.
42522         * iconvdata/bug-iconv9.c: New file.
42524 2011-05-27  Andreas Schwab  <schwab@redhat.com>
42526         [BZ #12814]
42527         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42529 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
42531         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42532         (struct user_regs_struct): Change intcs field back to cs.
42534 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
42536         * po/ja.po: Update from translation team.
42538 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
42540         [BZ #12795]
42541         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42542         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42544 2011-05-20  Andreas Schwab  <schwab@redhat.com>
42546         * stdlib/longlong.h: Update from GCC.
42548 2011-05-23  Andreas Schwab  <schwab@redhat.com>
42550         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42551         parameter name.
42552         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42553         Add parameter name.
42554         (__sysconf): Pass it down.
42556 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
42558         [BZ #12671]
42559         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42560         some situations.
42561         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42562         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42563         add in in __libc_use_alloca calls.  Adjust callers.
42564         (glob): Use malloc in some situations.
42566         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42567         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42568         pltexit.
42570 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
42572         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42573         and CLOCK_BOOTTIME_ALARM.
42575         [BZ #12782]
42576         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42577         is returned.
42579         * string/_strerror.c (__strerror_r): Print negative errors as signed
42580         numbers.
42582         [BZ #12777]
42583         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42584         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42585         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42587         * configure.in: Fix typo in redirection and correct removal of test
42588         files in two cases.
42590         [BZ #12788]
42591         * locale/setlocale.c (new_composite_name): Fix test to check for
42592         identical name of all categories.
42594         [BZ #12792]
42595         * libio/filedoalloc.c (local_isatty): New function.
42596         (_IO_file_doallocate): Use local_isatty.
42597         * stdio-common/perror.c (perror): In case a new stream is used
42598         forward the stream error.
42599         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42600         error flag.
42602 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42604         [BZ #11869]
42605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42606         alloca.
42607         * include/alloca.h (extend_alloca_account): Define.
42609         [BZ #11857]
42610         * posix/regex.h: Fix comments with documentation of user-accessible
42611         fields after compilation and describe correct free'ing of pattern
42612         after re_compile_pattern.
42613         Patch by Reuben Thomas <rrt@sc3d.org>.
42615 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42617         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42618         and -mno-altivec to prevent the compiler from using Altivec and/or
42619         VSX instructions when the corresponding registers are not available.
42621 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42623         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42625 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42627         * libio/freopen.c (freopen): Use __dup2, not dup2.
42628         * libio/freopen64.c (freopen64): Likewise.
42630 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42632         [BZ #12775]
42633         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42634         * math/Makefile (tests): Add test-powl.
42635         (CFLAGS-test-powl.c): Define.
42636         * math/test-powl.c: New file.
42638 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42640         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42642 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42644         [BZ #11837]
42645         * iconvdata/gb18030.c: Update to GB18020-2005.
42647 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42649         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42650         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42651         Patch by Aharon Robbins <arnold@skeeve.com>.
42653         [BZ #11892]
42654         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42655         on the stack.
42657         [BZ #11895]
42658         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42659         through underflows.
42661         [BZ #12766]
42662         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42663         point to strings before performing equality test for error_one_per_line
42664         mode.
42666         [BZ #11697]
42667         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42669         [BZ #11820]
42670         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42671         (struct user_fpregs_struct): Avoid __uint*_t types.
42673         [BZ #6420]
42674         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42675         symbol info.  Use it instead of calling _dl_addr locally.
42676         (lock_and_info): New function.
42677         (tr_freehook): Call lock_and_info and pass symbol info as additional
42678         parameter to tr_where.
42679         (tr_mallochook): Likewise.
42680         (tr_reallochook): Likewise.
42681         (tr_memalignhook): Likewise.
42683         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42684         used and couldn't be at all thread-safe.
42686 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42688         * libio/freopen.c (freopen): Don't close old file descriptor
42689         before the new one is opened.  Instead dup the new file descriptor
42690         to the old one after the new stream is created.
42691         * libio/freopen64.c (freopen64): Likewise.
42692         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42693         * libio/fileops.c (_IO_new_file_close_it): Handle new
42694         _IO_FLAGS2_NOCLOSE flag.
42695         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42696         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42697         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42698         _IO_FLAGS2_NOCLOSE flag.
42699         * include/unistd.h: Add hidden_proto for dup3.
42700         Define __have_dup3.
42701         * io/dup3.c: Define hidden symbol.
42702         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42704         [BZ #7101]
42705         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42706         when an incomplete long option is used.
42707         * posix/tst-getopt_long1.c: New file.
42708         * posix/Makefile (tests): Add tst-getopt_long1.
42710         [BZ #10138]
42711         * scripts/config.guess: Update from autoconf-2.68.
42712         * scripts/config.sub: Likewise.
42714         [BZ #10157]
42715         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42716         tests into ...
42717         (has_cpuclock): ...this.  New function.
42718         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42719         macro here based on has_cpuclock code.
42721         [BZ #10149]
42722         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42723         First byte (not low byte) is now always NUL.
42724         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42726         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42727         Use non-cancelable interfaces.
42729         [BZ #9809]
42730         * locale/iso-639.def: Add entry for Sorani.
42732         [BZ #11901]
42733         * include/stdlib.h: Move include protection to the right place.
42734         Define abort_msg_s.  Declare __abort_msg with it.
42735         * stdlib/abort.c (__abort_msg): Adjust type.
42736         * assert/assert.c (__assert_fail_base): New function.  Majority
42737         of code from __assert_fail.  Allocate memory for __abort_msg with
42738         mmap.
42739         (__assert_fail): Now call __assert_fail_base.
42740         * assert/assert-perr.c: Remove bulk of implementation.  Use
42741         __assert_fail_base.
42742         * include/assert.hL Declare __assert_fail_base.
42743         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42744         mmap.
42745         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42747 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42749         [BZ #11952]
42750         [BZ #12453]
42751         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42752         until all modules are registered in the DTV.
42753         * elf/Makefile: Add rules to build and run tst-tls19.
42754         * elf/tst-tls19.c: New file.
42755         * elf/tst-tls19mod1.c: New file.
42756         * elf/tst-tls19mod2.c: New file.
42757         * elf/tst-tls19mod3.c: New file.
42758         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42760         [BZ #12083]
42761         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42762         correctly.
42764         [BZ #12601]
42765         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42766         two-byte sequence errors.
42767         * iconvdata/Makefile (tests): Add bug-iconv8.
42768         * iconvdata/bug-iconv8.c: New file.
42770         [BZ #12626]
42771         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42772         buf2 definition.
42774         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42776         [BZ #12432]
42777         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42778         (dummy_getcfa): New function.
42779         (init): Get _Unwind_GetCFA address, use dummy if not found.
42780         (backtrace_helper): In recursion check, also check whether CFA changes.
42781         (__backtrace): Completely initialize arg.
42783         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42784         storing incomplete byte sequence in state object.  Avoid testing for
42785         guaranteed too small input if we know there is enough data available.
42787 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42789         * Makeconfig (+link-pie): Indent.
42790         * Rules (binaries-pie): Define if $(have-fpie) and
42791         $(build-shared).
42792         (binaries-shared): Also filter out $(binaries-pie).
42793         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42794         * nscd/Makefile (others-pie): Add nscd.
42795         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42796         ($(objpfx)nscd): Remove command override.
42797         * login/Makefile (others-pie): Add pt_chown.
42798         ($(objpfx)pt_chown): Remove command override.
42799         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42800         remove command overrides.
42802 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42804         * libio/tst_putwc.c: Fix error messages.
42806         [BZ #12724]
42807         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42808         currently writing and seek to current position when not.
42809         * libio/Makefile (tests): Add bug-fclose1.
42810         * libio/bug-fclose1.c: New file.
42812 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42814         [BZ #12511]
42815         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42816         don't set DF_1_NODELETE here.
42817         (do_lookup_x): When entering new entry test for copy relocation
42818         and if necessary set DF_1_NODELETE flag.
42819         * elf/tst-unique4.cc: New file.
42820         * elf/tst-unique4.h: New file.
42821         * elf/tst-unique4lib.cc: New file.
42822         * elf/Makefile: Add rules to build and run tst-unique4.
42823         Patch by Piotr Bury <pbury@goahead.com>.
42825 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42827         [BZ #12052]
42828         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42830         [BZ #12625]
42831         * misc/mntent_r.c (addmntent): Flush the stream after the output
42833         [BZ #12393]
42834         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42835         (is_trusted_path_normalize): Skip initial colon.  Append slash
42836         to empty buffer.  Duplicate is_trusted_path code but allow
42837         constructed patch to be prefix.
42838         (is_dst): Allow $ORIGIN followed by /.
42839         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42840         Correct testing of result of is_trusted_path_normalize
42841         (decompose_rpath): Fix warning.
42843 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42845         [BZ #11257]
42846         * grp/initgroups.c (internal_getgrouplist): When we found the service
42847         list through the initgroups entry in nsswitch.conf do not always
42848         continue on a successful lookup.  Don't always use the
42849         __nss_group_database value if it is set.
42850         * nss/nsswitch.conf (initgroups): Change action for successful db
42851         lookup to continue for compatibility.
42853 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42855         [BZ #11532]
42856         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42857         and CP774 modules.
42858         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42859         and CP774 modules.
42860         * iconvdata/tst-tables.sh: Likewise.
42861         * iconvdata/cp770.c: New file.
42862         * iconvdata/cp771.c: New file.
42863         * iconvdata/cp772.c: New file.
42864         * iconvdata/cp773.c: New file.
42865         * iconvdata/cp774.c: New file.
42866         * iconvdata/testdata/CP770: New file.
42867         * iconvdata/testdata/CP770..UTF8: New file.
42868         * iconvdata/testdata/CP771: New file.
42869         * iconvdata/testdata/CP771..UTF8: New file.
42870         * iconvdata/testdata/CP772: New file.
42871         * iconvdata/testdata/CP772..UTF8: New file.
42872         * iconvdata/testdata/CP773: New file.
42873         * iconvdata/testdata/CP773..UTF8: New file.
42874         * iconvdata/testdata/CP774: New file.
42875         * iconvdata/testdata/CP774..UTF8: New file.
42877         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42878         END CHARMAP line.
42879         * iconvdata/gen-8bit-gap.sh: Likewise.
42880         * iconvdata/gen-8bit.sh: Likewise.
42882         * locale/iso-639.def: Add ary entry.
42884         [BZ #11258]
42885         * locale/C-translit.h.in: Add U20A1 transliteration.
42887         [BZ #12178]
42888         * locale/iso-639.def: Add wae entry.
42889         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42891         [BZ #12545]
42892         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42893         for n.
42895         [BZ #12711]
42896         * locale/C-translit.h.in: Add entry for U20B9.
42897         Patch by pravin.d.s@gmail.com.
42899 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42901         [BZ #12713]
42902         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42903         ENAMETOOLONG use generic getcwd.
42904         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42905         in rtld.  Use *stat64.
42906         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42907         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42908         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42909         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42910         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42911         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42912         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42913         __fstatat64 macros.
42914         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42915         * dirent/rewinddir.c: Add libc_hidden_def.
42916         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42917         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42919         * include/dirent.h (__alloc_dir): Add flags parameter.
42920         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42921         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42922         __alloc_dir.
42923         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42924         from fdopendir if O_CLOEXEC is already set.
42926 2011-03-15  Alan Modra  <amodra@gmail.com>
42928         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42929         l_tls_firstbyte_offset non-zero.  Save padding offset in
42930         l_tls_firstbyte_offset for later use.
42931         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42932         freeing static tls block.
42934 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42936         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42937         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42938         being defined by the kernel headers.
42940 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42942         [BZ #12734]
42943         * resolv/resolv.h: Define RES_NOTLDQUERY.
42944         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42945         no-tld-query and set RES_NOTLDQUERY.
42946         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42947         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42948         modern BIND to search name as TLD unless forbidden.
42950 2011-05-07  Petr Baudis  <pasky@suse.cz>
42951             Ulrich Drepper  <drepper@gmail.com>
42953         [BZ #12393]
42954         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42955         (is_trusted_path): ...to here.
42956         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42957         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42958         using is_trusted_path_normalize() in setuid scripts.
42960 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42962         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42963         __BEGIN/__END_DECLS.
42965 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42967         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42968         NSS_STATUS_NOTFOUND if no record was found.
42970 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42972         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42973         (headers-not-in-tirpc): Remove rpc/netdb.h
42974         * resolv/netdb.h: Revert last change.
42976 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42978         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42979         circular dependency between libgcc.a and libc.a.
42981 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42983         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42984         * nis/Makefile: Don't install rpcsvc/*.
42985         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42986         instead of <rpc/types.h>.
42987         (MAXHOSTNAMELEN): Define.
42989 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42991         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42993 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42995         [BZ #12714]
42996         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42997         gethostbyname4_r when IPv6 results are possible.
42999 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
43001         [BZ #12723]
43002         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43003         _PC_PIPE_BUF handling.
43005 2011-04-30  Bruno Haible  <bruno@clisp.org>
43007         [BZ #12717]
43008         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43009         * resolv/netdb.h (getnameinfo): Change type of flags parameter
43010         to 'int'.
43011         * inet/getnameinfo.c (getnameinfo): Likewise.
43013 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
43015         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43016         to groups setting in database lookup.
43017         * nss/nsswitch.conf: Add initgroups entry.
43019 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
43021         [BZ #12685]
43022         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43023         mode string.
43024         Patch by Eric Blake <eblake@redhat.com>.
43026 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
43028         * sunrpc/Makefile (need-export-routines): Add svc_run.
43029         (routines): Remove svc_run.
43030         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43031         * sunrpc/clnt_perr.c (clnt_perrno): Export.
43032         * sunrpc/svc_run.c (svc_run): Likewise.
43033         * sunrpc/svc_udp.c (svcudp_create): Likewise.
43035 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
43037         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43038         problem in reallocation in last patch.
43040 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
43042         * sunrpc/Makefile: Move inclusion of Rules.
43044 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43046         * nss/nss_files/files-initgroups.c: New file.
43047         * nss/Makefile (libnss_files-routines): Add files-initgroups.
43048         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43049         _nss_files_initgroups_dyn.
43051 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
43053         * elf/elf.h (R_ARM_IRELATIVE): Define.
43055 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43057         * po/ru.po: Update from translation team.
43059 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43061         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43062         dependencies.
43064 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
43066         [BZ #12653]
43067         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43068         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43069         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43070         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43071         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43073 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
43075         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43076         differing bytes.
43077         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43078         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43079         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43081 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43083         [BZ #12420]
43084         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43085         storing it.
43086         * stdlib/bug-getcontext.c: New file.
43087         * stdlib/Makefile: Add rules to build and run bug-getcontext.
43089 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43091         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43092         instructions into .machine "z9-109".
43093         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43094         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43096 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43098         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43099         between environment variables and auxiliary vector.
43101 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
43103         * Makefile: Add rules to build linkobj/libc.so.
43104         * include/libc-symbols.h: Define libc_hidden_nolink.
43105         * include/rpc/auth.h: Mark functions which are to be hidden.
43106         * include/rpc/auth_des.h: Likewise.
43107         * include/rpc/auth_unix.h: Likewise.
43108         * include/rpc/clnt.h: Likewise.
43109         * include/rpc/des_crypt.h: Likewise.
43110         * include/rpc/key_prot.h: Likewise.
43111         * include/rpc/pmap_clnt.h: Likewise.
43112         * include/rpc/pmap_prot.h: Likewise.
43113         * include/rpc/pmap_rmt.h: Likewise.
43114         * include/rpc/rpc_msg.h: Likewise.
43115         * include/rpc/svc.h: Likewise.
43116         * include/rpc/svc_auth.h: Likewise.
43117         * include/rpc/xdr.h: Likewise.
43118         * nis/Makefile: Link all DSOs against linkobj/libc.so.
43119         * nss/Makefile: Likewise.
43120         * sunrpc/Makefile: Don't install headers.  Build library with normal
43121         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
43122         * sunrpc/auth_des.c: Hide exported symbols by default, export some
43123         for the compat linking library.  Remove use of INTDEF/INTUSE.
43124         * sunrpc/auth_none.c: Likewise.
43125         * sunrpc/auth_unix.c: Likewise.
43126         * sunrpc/authdes_prot.c: Likewise.
43127         * sunrpc/authuxprot.c: Likewise.
43128         * sunrpc/clnt_gen.c: Likewise.
43129         * sunrpc/clnt_perr.c: Likewise.
43130         * sunrpc/clnt_raw.c: Likewise.
43131         * sunrpc/clnt_simp.c: Likewise.
43132         * sunrpc/clnt_tcp.c: Likewise.
43133         * sunrpc/clnt_udp.c: Likewise.
43134         * sunrpc/clnt_unix.c: Likewise.
43135         * sunrpc/des_crypt.c: Likewise.
43136         * sunrpc/des_soft.c: Likewise.
43137         * sunrpc/get_myaddr.c: Likewise.
43138         * sunrpc/key_call.c: Likewise.
43139         * sunrpc/key_prot.c: Likewise.
43140         * sunrpc/netname.c: Likewise.
43141         * sunrpc/pm_getmaps.c: Likewise.
43142         * sunrpc/pm_getport.c: Likewise.
43143         * sunrpc/pmap_clnt.c: Likewise.
43144         * sunrpc/pmap_prot.c: Likewise.
43145         * sunrpc/pmap_prot2.c: Likewise.
43146         * sunrpc/pmap_rmt.c: Likewise.
43147         * sunrpc/publickey.c: Likewise.
43148         * sunrpc/rpc_cmsg.c: Likewise.
43149         * sunrpc/rpc_common.c: Likewise.
43150         * sunrpc/rpc_dtable.c: Likewise.
43151         * sunrpc/rpc_prot.c: Likewise.
43152         * sunrpc/rpc_thread.c: Likewise.
43153         * sunrpc/rtime.c: Likewise.
43154         * sunrpc/svc.c: Likewise.
43155         * sunrpc/svc_auth.c: Likewise.
43156         * sunrpc/svc_authux.c: Likewise.
43157         * sunrpc/svc_raw.c: Likewise.
43158         * sunrpc/svc_run.c: Likewise.
43159         * sunrpc/svc_simple.c: Likewise.
43160         * sunrpc/svc_tcp.c: Likewise.
43161         * sunrpc/svc_udp.c: Likewise.
43162         * sunrpc/svc_unix.c: Likewise.
43163         * sunrpc/svcauth_des.c: Likewise.
43164         * sunrpc/xcrypt.c: Likewise.
43165         * sunrpc/xdr.c: Likewise.
43166         * sunrpc/xdr_array.c: Likewise.
43167         * sunrpc/xdr_float.c: Likewise.
43168         * sunrpc/xdr_intXX_t.c: Likewise.
43169         * sunrpc/xdr_mem.c: Likewise.
43170         * sunrpc/xdr_rec.c: Likewise.
43171         * sunrpc/xdr_ref.c: Likewise.
43172         * sunrpc/xdr_sizeof.c: Likewise.
43173         * sunrpc/xdr_stdio.c: Likewise.
43175 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
43177         [BZ #12650]
43178         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43179         * sysdeps/ia64/dl-tls.h: Likewise.
43180         * sysdeps/powerpc/dl-tls.h: Likewise.
43181         * sysdeps/s390/dl-tls.h: Likewise.
43182         * sysdeps/sh/dl-tls.h: Likewise.
43183         * sysdeps/sparc/dl-tls.h: Likewise.
43184         * sysdeps/x86_64/dl-tls.h: Likewise.
43185         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43187 2011-03-14  Andreas Schwab  <schwab@redhat.com>
43189         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43190         rpath element also skip the following colon.
43191         (expand_dynamic_string_token): Add is_path parameter and pass
43192         down to DL_DST_REQUIRED and _dl_dst_substitute.
43193         (decompose_rpath): Call expand_dynamic_string_token with
43194         non-zero is_path.  Ignore empty rpaths.
43195         (_dl_map_object_from_fd): Call expand_dynamic_string_token
43196         with zero is_path.
43198 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
43200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43201         Make cancelable.
43203 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
43205         [BZ #12655]
43206         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43207         Patch by Filipe David Manana <fdmanana@apache.org>.
43209 2011-04-07  Andreas Schwab  <schwab@redhat.com>
43211         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43212         Maintain aligned stack.
43213         (CHECK_RSP): Remove unused macro.
43215 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
43217         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43218         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43220 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
43222         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43224         * include/features.h: Mention __USE_XOPEN2K8 in comment.
43226 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
43228         [BZ #12518]
43229         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43230         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43231         * sysdeps/x86_64/memmove.c: New file.
43232         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43233         (memcpy): Renamed to ...
43234         (__new_memcpy): This.
43235         (memcpy): Provide GLIBC_2_14 memcpy.
43236         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43237         (memcpy): Provide GLIBC_2_2_5 memcpy.
43239 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43241         [BZ #12631]
43242         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43244 2011-03-30  Andreas Schwab  <schwab@redhat.com>
43246         * misc/syncfs.c: New file.
43247         * misc/Makefile (routines): Add syncfs.
43248         * posix/unistd.h: Declare syncfs.
43249         * sysdeps/unix/syscalls.list: Add syncfs.
43251 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43253         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43254         open_by_handle_at.
43255         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43256         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43258         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43259         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43260         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43261         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43263 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43265         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43266         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43267         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43268         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43269         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43270         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43271         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43273         * io/Makefile: Compile fallocate.c, fallocate64.c, and
43274         sync_file_range.c with -fexceptions.
43275         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43276         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43277         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43278         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43279         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43280         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43281         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43282         sync_file_range as cancellation point
43283         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
43284         now a wrapper around __call_sync_file_range with cancellation handling.
43285         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43286         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
43287         function name to __call_sync_file_range.
43288         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43289         Add call_sync_file_range.
43291 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43294         bits/timex.h.
43296 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43298         * iconv/iconv.h: Fix typo in comment.
43299         * io/fcntl.h: Likewise.
43300         * libio/stdio.h: Likewise.
43301         * posix/spawn.h: Likewise.
43302         * posix/unistd.h: Likewise.
43303         * stdlib/stdlib.h: Likewise.
43304         * time/time.h: Likewise.
43305         * wcsmbs/wchar.h: Likewise.
43307         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43308         open_by_handle): Add.
43309         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43310         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
43311         Augment a few comments.
43312         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43313         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43314         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43315         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43316         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43317         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43318         open_by_handle.
43320         * io/fcntl.h (AT_EMPTY_PATH): Define.
43322 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
43324         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43325         * sysdeps/unix/sysv/linux/bits/time.h: New file.
43326         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43327         to...
43328         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
43329         * Versions.def: Add GLIBC_2.14.
43330         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43331         Export.
43333 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
43335         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43336         round counter.
43337         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43339 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43341         [BZ #12597]
43342         * string/test-strncmp.c (do_page_test): New function.
43343         (check2): Likewise.
43344         (test_main): Call check2.
43345         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43347 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
43349         [BZ #12587]
43350         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43351         Handle cache information in CPU leaf 4.
43352         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43354 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
43356         [BZ #12583]
43357         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43358         character representation.
43359         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43361 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
43363         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43364         END(__isnan) to END(__isnanf) to match function entry point/label
43365         EALIGN(__isnanf,...).
43367 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
43369         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43371 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
43373         [BZ #12510]
43374         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43375         copy from the symbol referenced in the relocation to initialize the
43376         used variable.
43377         Patch by Piotr Bury <pbury@goahead.com>.
43378         * elf/Makefile: Add rules to build and tst-unique3.
43379         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43380         * elf/tst-unique3.cc: New file.
43381         * elf/tst-unique3.h: New file.
43382         * elf/tst-unique3lib.cc: New file.
43383         * elf/tst-unique3lib2.cc: New file.
43385         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43387 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
43389         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43390         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
43391         to _start.
43393 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
43395         * elf/dl-load.c (_dl_map_object): If we are looking for the first
43396         to-be-loaded object along a path to loader is ld.so.
43398 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43399             Ulrich Drepper  <drepper@gmail.com>
43401         * sysdeps/x86_64/memset.S: After aligning destination, code
43402         branches to different locations depending on the value of
43403         misalignment, when multiarch is enabled. Fix this.
43405 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43407         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43408         Set _x86_64_preferred_memory_instruction for AMD processsors.
43409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43410         Set bit_Prefer_SSE_for_memop for AMD processors.
43412 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
43414         * libio/fmemopen.c (fmemopen): Optimize a bit.
43416 2011-03-03  Andreas Schwab  <schwab@redhat.com>
43418         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43420 2011-03-03  Roland McGrath  <roland@redhat.com>
43422         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43424 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
43426         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43427         __bzero_ultra1 instead of __memset_ultra1.
43429 2011-02-23  Andreas Schwab  <schwab@redhat.com>
43430             Ulrich Drepper  <drepper@gmail.com>
43432         [BZ #12509]
43433         * include/link.h (struct link_map): Add l_orig_initfini.
43434         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43435         returning unsuccessfully.
43436         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43437         close of a file loaded at startup, restore the original l_initfini
43438         list.
43439         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43440         list, store the pointer.
43441         * elf/Makefile ($(objpfx)noload-mem): New rule.
43442         (noload-ENV): Define.
43443         (tests): Add $(objpfx)noload-mem.
43444         * elf/noload.c: Include <memcheck.h>.
43445         (main): Call mtrace.  Close all opened handles.
43447 2011-02-17  Andreas Schwab  <schwab@redhat.com>
43449         [BZ #12454]
43450         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43451         dependencies are missing.
43453 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43455         Fix __if_freereq crash: Unlike the generic version which uses free,
43456         Hurd needs munmap.
43457         * sysdeps/mach/hurd/ifreq.h: New file.
43459 2011-01-27  Petr Baudis  <pasky@suse.cz>
43460             Ulrich Drepper  <drepper@gmail.com>
43462         [BZ 12445]#
43463         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43464         to extend_alloca().
43465         * stdio-common/bug23.c: New file.
43466         * stdio-common/Makefile (tests): Add bug23.
43468 2010-09-28  Andreas Schwab  <schwab@redhat.com>
43469             Ulrich Drepper  <drepper@gmail.com>
43471         [BZ #12489]
43472         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43473         before performing relro protection.  At old place add assertion
43474         to make sure nothing changed.
43476 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
43477             Glauber de Oliveira Costa  <glommer@gmail.com>
43479         * elf/elf.h: Add new ARM TLS relocs.
43481 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
43483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43484         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43485         cast from r3.
43486         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
43487         'tests' variable.
43488         * sysdeps/wordsize-64/tst-writev.c: New file.
43490 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
43492         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43493         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43494         insns in _dl_start to prevent a TOC reference before relocs are
43495         resolved.
43497 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
43499         [BZ #12469]
43500         * Makeconfig: Remove RANLIB definition.
43501         * Makerules: Don't use RANLIB.
43502         * aclocal.m4: Remove ranlib test.
43503         * configure.in: No need to check for ranlib.
43504         * elf/rtld-Rules: Don't use RANLIB.
43506 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43508         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43509         protection macro.
43510         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43511         inclusion protection macro.
43513         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43514         SIGRTMIN and SIGRTMAX and print information in that case only when
43515         SIGRTMIN is defined.
43517 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
43519         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43520         arginfo fn returning -1.
43522         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43523         and thousands string is zero terminated.
43525 2011-02-03  Andreas Schwab  <schwab@redhat.com>
43527         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43528         sysdeps/unix/sysv/linux/bits/socket.h.
43530 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43532         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43533         (__CPU_COUNT): Remove old macros.
43534         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43535         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43536         (__CPU_ALLOC, __CPU_FREE): Add macros.
43537         (__sched_cpualloc, __sched_cpufree): Add declarations.
43539 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
43541         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43542         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43543         * nscd/aicache.c (addhstaiX): Return timeout of added value.
43544         (readdhstai): Return value of addhstaiX call.
43545         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43546         (addgrbyX): Return value returned by cache_addgr.
43547         (readdgrbyname): Return value returned by addgrbyX.
43548         (readdgrbygid): Likewise.
43549         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43550         (addpwbyX): Return value returned by cache_addpw.
43551         (readdpwbyname): Return value returned by addhstbyX.
43552         (readdpwbyuid): Likewise.
43553         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43554         (addservbyX): Return value returned by cache_addserv.
43555         (readdservbyname): Return value returned by addservbyX:
43556         (readdservbyport): Likewise.
43557         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43558         (addhstbyX): Return value returned by cache_addhst.
43559         (readdhstbyname): Return value returned by addhstbyX.
43560         (readdhstbyaddr): Likewise.
43561         (readdhstbynamev6): Likewise.
43562         (readdhstbyaddrv6): Likewise.
43563         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43564         (readdinitgroups): Return value returned by addinitgroupsX.
43565         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43566         (prune_cache): Keep track of timeout value of re-added entries.
43567         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43568         * nscd/nscd.h: Adjust prototypes of readd* functions.
43570 2011-02-04  Roland McGrath  <roland@redhat.com>
43572         * nis/nis_server.c (nis_servstate): Use the right name for 0.
43573         (nis_stats): Likewise.
43574         * nis/nis_modify.c (nis_modify): Likewise.
43575         * nis/nis_remove.c (nis_remove): Likewise.
43576         * nis/nis_add.c (nis_add): Likewise.
43578         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43580         * posix/fnmatch_loop.c: Add some consts.
43582         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43584 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43586         [BZ #12460]
43587         * config.make.in (config-cflags-novzeroupper): Define.
43588         * configure.in: Substitute libc_cv_cc_novzeroupper.
43589         * elf/Makefile (AVX-CFLAGS): Define.
43590         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43591         (CFLAGS-tst-auditmod4a.c): Likewise.
43592         (CFLAGS-tst-auditmod4b.c): Likewise.
43593         (CFLAGS-tst-auditmod6b.c): Likewise.
43594         (CFLAGS-tst-auditmod6c.c): Likewise.
43595         (CFLAGS-tst-auditmod7b.c): Likewise.
43596         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43598 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43600         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43601         function to the callback.
43602         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43604 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43606         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43607         of errno.
43609 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43611         [BZ #11724]
43612         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43613         of constructors.
43614         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43615         of destructors.
43616         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43618         [BZ #11724]
43619         * elf/Makefile: Add rules to build and run new test.
43620         * elf/tst-initorder.c: New file.
43621         * elf/tst-initorder.exp: New file.
43622         * elf/tst-initordera1.c: New file.
43623         * elf/tst-initordera2.c: New file.
43624         * elf/tst-initordera3.c: New file.
43625         * elf/tst-initordera4.c: New file.
43626         * elf/tst-initorderb1.c: New file.
43627         * elf/tst-initorderb2.c: New file.
43628         * elf/tst-order-a1.c: New file.
43629         * elf/tst-order-a2.c: New file.
43630         * elf/tst-order-a3.c: New file.
43631         * elf/tst-order-a4.c: New file.
43632         * elf/tst-order-b1.c: New file.
43633         * elf/tst-order-b2.c: New file.
43634         * elf/tst-order-main.c: New file.
43635         New test case by George Gensure <werkt0@gmail.com>.
43637 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43640         decoding ACE if AI_CANONIDN.
43642 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43644         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43646 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43648         * version.h (RELEASE): Bump for 2.13 release.
43649         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43651         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43653         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43654         MADV_NOHUGEPAGE.
43655         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43656         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43657         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43658         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43659         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43660         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43662         * posix/getconf.c: Update copyright year.
43663         * catgets/gencat.c: Likewise.
43664         * csu/version.c: Likewise.
43665         * debug/catchsegv.sh: Likewise.
43666         * debug/xtrace.sh: Likewise.
43667         * elf/ldconfig.c: Likewise.
43668         * elf/ldd.bash.in: Likewise.
43669         * elf/sprof.c (print_version): Likewise.
43670         * iconv/iconv_prog.c: Likewise.
43671         * iconv/iconvconfig.c: Likewise.
43672         * locale/programs/locale.c: Likewise.
43673         * locale/programs/localedef.c: Likewise.
43674         * malloc/memusage.sh: Likewise.
43675         * malloc/mtrace.pl: Likewise.
43676         * nscd/nscd.c (print_version): Likewise.
43677         * nss/getent.c: Likewise.
43679         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43680         PF_CAIF, and PF_ALG.
43681         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43683 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43685         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43686         (modules-names): Use them.
43687         (ifunc-test-modules, ifunc-pie-tests): Define.
43688         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43689         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43690         (test-extras): Likewise.
43691         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43692         $(compile-command.c).
43693         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43694         (all-built-dso): Define.
43695         (check-textrel.out, check-execstack.out): Depend on it.
43697         * configure.in: Don't override --enable-multi-arch.
43699 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43701         [BZ #6812]
43702         * nscd/hstcache.c (tryagain): Define.
43703         (cache_addhst): Return tryagain not notfound for temporary errors.
43704         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43705         failed.
43707 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43709         [BZ #10563]
43710         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43711         to make the syscall.
43712         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43714         [BZ #12378]
43715         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43716         and fall back to matching as normal character if the string ends before
43717         the matching ']' is found.  This is what POSIX requires.
43718         * posix/testfnm.c: Adjust test result.
43719         * posix/globtest.sh: Adjust test result.  Add new test.
43720         * posix/tst-fnmatch.input: Likewise.
43721         * posix/tst-fnmatch2.c: Add new test.
43723 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43725         * elf/Makefile (check-execstack): Revert last change.  Depend on
43726         check-execstack.h.
43727         (check-execstack.h): New target.
43728         (generated): Add check-execstack.h.
43729         * elf/check-execstack.c: Include "check-execstack.h".
43730         (main): Revert last change.
43731         (handle_file): Return zero if GNU_STACK is absent and
43732         DEFAULT_STACK_PERMS doesn't include PF_X.
43734 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43736         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43737         in child fails because the descriptor is already closed.
43738         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43739         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43740         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43742         [BZ #12397]
43743         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43744         syscall.
43746         [BZ #10484]
43747         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43748         temporary buffer used to handle multi lookups locally.
43749         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43751 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43753         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43754         loader is ld.so.
43756 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43758         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43759         alignment for SSE2.
43761 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43763         [BZ #12394]
43764         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43765         characters.  When rounding increased number of integer digits recompute
43766         number of groups.
43767         * stdio-common/tst-grouping.c: New file.
43768         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43770 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43772         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43773         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43775         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43776         void.
43777         * bits/select.h: Likewise.
43779 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43781         * po/ja.po: Update from translation team.
43783 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43785         [BZ #11155]
43786         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43787         implementation just like for lxstat, fxstatat, et al.
43789 2010-12-27  Jim Meyering  <meyering@redhat.com>
43791         [BZ #12348]
43792         * posix/regexec.c (build_trtable): Return failure indication upon
43793         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43795 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43797         [BZ #12201]
43798         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43799         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43800         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43801         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43803         [BZ #12207]
43804         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43806         [BZ #12204]
43807         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43808         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43810 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43812         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43813         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43814         script has SORT_BY_INIT_PRIORITY.
43815         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43816         NO_CTORS_DTORS_SECTIONS is defined.
43817         * elf/soinit.c: Likewise.
43818         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43819         NO_CTORS_DTORS_SECTIONS is defined.
43820         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43821         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43822         * sysdeps/sh/init-first.c: Likewise.
43823         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43825 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43827         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43828         always use the slow path.
43830 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43832         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43833         similar rule which adds the sysdep directories to the header search in
43834         order to pick up the correct platform stackinfo.h.
43835         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43836         perform test if it is, otherwise return successfully without testing.
43837         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43838         DEFAULT_STACK_PERMS define in stackinfo.h.
43839         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43840         defined in stackinfo.h.
43841         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43842         DEFAULT_STACK_PERMS defined in stackinfo.h.
43843         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43844         * sysdeps/ia64/stackinfo.h: Likewise.
43845         * sysdeps/s390/stackinfo.h: Likewise.
43846         * sysdeps/sh/stackinfo.h: Likewise.
43847         * sysdeps/sparc/stackinfo.h: Likewise.
43848         * sysdeps/x86_64/stackinfo.h: Likewise.
43849         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43850         PF_X for powerpc64.  Retain PF_X for powerpc32.
43852 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43854         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43855         accurately.
43856         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43857         GETDENTS_64BIT_ALIGNED.
43859 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43861         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43863 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43865         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43866         _GNU_SOURCE.
43868         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43869         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43870         Remove __restrict.
43871         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43872         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43874 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43876         [BZ #11655]
43877         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43878         are initialized.
43880 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43882         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43884 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43886         * po/it.po: Update from translation team.
43888 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43890         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43891         unused codes.
43893 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43895         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43897 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43899         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43900         specially.
43901         (gaih_getanswer_slice): Likewise.
43903 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43905         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43907 2010-05-31  Petr Baudis  <pasky@suse.cz>
43909         [BZ #11149]
43910         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43911         silently even in the chroot mode.
43913 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43915         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43916         last patch a bit.  Pretty printing
43918 2010-05-31  Petr Baudis <pasky@suse.cz>
43920         [BZ #10085]
43921         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43922         initialization of skip_initgroups_dyn.
43924 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43926         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43927         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43929 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43931         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43933 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43935         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43936         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43937         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43938         ($(objpfx)tst-fnmatch-mem): New rule.
43939         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43940         * posix/tst-fnmatch.c (main): Call mtrace.
43942 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43945         Support Intel processor model 6 and model 0x2c.
43947 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43949         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43950           signed comparison.
43952 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43954         [BZ #12205]
43955         * string/test-strncasecmp.c (check_result): New function.
43956         (do_one_test): Use it.
43957         (check1): New function.
43958         (test_main): Use it.
43959         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43960         Support strcasecmp and strncasecmp.
43962 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43964         [BZ #12194]
43965         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43966         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43968 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43970         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43971         IFUNC support.
43972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43973         memset-x86-64.
43974         * sysdeps/x86_64/multiarch/bzero.S: New file.
43975         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43976         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43977         * sysdeps/x86_64/multiarch/memset.S: New file.
43978         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43980         Set bit_Prefer_SSE_for_memop for Intel processors.
43981         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43982         Define.
43983         (index_Prefer_SSE_for_memop): Define.
43984         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43986 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43988         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43989         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43991 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43993         [BZ #12191]
43994         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43995         (__x86_64_raw_data_cache_size_half): Likewise.
43996         (__x86_64_raw_shared_cache_size): Likewise.
43997         (__x86_64_raw_shared_cache_size_half): Likewise.
43999         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44000         (__x86_64_raw_data_cache_size_half): Likewise.
44001         (__x86_64_raw_shared_cache_size): Likewise.
44002         (__x86_64_raw_shared_cache_size_half): Likewise.
44003         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44004         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44005         and __x86_64_raw_shared_cache_size_half.  Round
44006         __x86_64_data_cache_size_half, __x86_64_data_cache_size
44007         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44008         to multiple of 256 bytes.
44010 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
44012         [BZ #12167]
44013         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44014         of inacessible symlinks.  Verify result of symlink before returning it.
44015         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44016         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44018 2010-10-28  Erich Ritz  <erichritz@gmail.com>
44020         * math/math.h (isinf): Fix typo in comment.
44022 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
44024         * po/da.po: Update from translation team.
44026 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
44028         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44029         is added to the list.
44031 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44032             Ulrich Drepper  <drepper@gmail.com>
44034         * elf/dl-object.c (_dl_new_object): Don't append the new object to
44035         the global list here.  Move code to...
44036         (_dl_add_to_namespace_list): ...here.  New function.
44037         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44038         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44039         * elf/dl-load.c (lose): Don't remove the element from the list.
44040         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44041         (_dl_map_object): Likewise.
44043 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
44045         [BZ #12159]
44046         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44047         into all bytes of SSE register.
44048         Patch by Richard Li <richardpku@gmail.com>.
44050 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
44052         [BZ #12140]
44053         * malloc/malloc.c (_int_free): Fill correct number of bytes when
44054         perturbing.
44056 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
44058         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44059         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44060         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44061         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44063         submachine.
44064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44066 2010-10-22  Andreas Schwab  <schwab@redhat.com>
44068         * include/dlfcn.h (__RTLD_SECURE): Define.
44069         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
44070         mode & __RTLD_SECURE instead.
44071         (open_path): Rename preloaded parameter to secure.
44072         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44073         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44074         * elf/dl-deps.c (openaux): Likewise.
44075         * elf/rtld.c (struct map_args): Remove is_preloaded.
44076         (map_doit): Don't use it.
44077         (dl_main): Likewise.
44078         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44079         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44081 2010-09-09  Andreas Schwab  <schwab@redhat.com>
44083         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44084         (sysd-rules-targets): Remove duplicates.
44085         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44086         rtld-%.$o dependency.
44088 2010-10-18  Andreas Schwab  <schwab@redhat.com>
44090         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44091         _dl_map_object do it.
44093 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
44095         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44096         fast fma builtins, define the macros in the C99 standard.
44097         (FP_FAST_FMAF): Likewise.
44098         (FP_FAST_FMAL): Likewise.
44099         * sysdeps/x86_64/bits/mathdef.h: Likewise.
44101         * bits/mathdef.h: Update copyright year.
44102         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44104 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
44106         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44107         builtins, define the macros in the C99 standard.
44108         (FP_FAST_FMAF): Likewise.
44109         (FP_FAST_FMAL): Likewise.
44110         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44111         multiply/add.
44112         (FP_FAST_FMAF): Likewise.
44114 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
44116         [BZ #3268]
44117         * math/libm-test.inc (fma_test): Some new testcases.
44118         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44119         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44120         y and infinite z.  Do multiplication by C already in long double.
44121         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44122         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44123         y and infinite z.  Do bitwise or of inexact bit into u.d.
44124         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44125         * sysdeps/i386/fpu/s_fmaf.S: Removed.
44126         * sysdeps/i386/fpu/s_fma.S: Removed.
44127         * sysdeps/i386/fpu/s_fmal.S: Removed.
44129 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
44131         [BZ #3268]
44132         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44134         computation is not scheduled after fetestexcept.  Fix value
44135         of minimum denormal long double.
44137 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
44139         [BZ #3268]
44140         * math/libm-test.inc (fma_test): Add some more tests.
44141         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44142         correctly.
44144 2010-10-15  Andreas Schwab  <schwab@redhat.com>
44146         * scripts/data/localplt-s390-linux-gnu.data: New file.
44147         * scripts/data/localplt-s390x-linux-gnu.data: New file.
44149 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
44151         [BZ #3268]
44152         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44153         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44154         instead of dbl-64.
44155         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44156         inlines.
44157         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44158         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44159         if one of x and y is very large and the other is subnormal.
44160         * sysdeps/s390/fpu/s_fmaf.c: New file.
44161         * sysdeps/s390/fpu/s_fma.c: New file.
44162         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44163         * sysdeps/powerpc/fpu/s_fma.S: New file.
44164         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44165         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44166         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44168 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
44170         [BZ #3268]
44171         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44172         fma tests.
44173         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44174         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44175         * sysdeps/i386/i686/multiarch/s_fma.c: Include
44176         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44177         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44178         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44179         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44181 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
44183         [BZ #12078]
44184         * posix/regcomp.c (parse_branch): One more memory leak plugged.
44185         * posix/bug-regex31.input: Add test case.
44187 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44189         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44190         * posix/bug-regex31.input: New file.
44192         [BZ #12078]
44193         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44194         (parse_sub_exp): Fix last change, use postorder.
44196         * posix/bug-regex31.c: New file.
44197         * posix/Makefile: Add rules to build and run bug-regex31.
44199         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44201         [BZ #12078]
44202         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44204         [BZ #12108]
44205         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44206         to have entries in sys_siglist.
44208         [BZ #12093]
44209         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44210         be NULL.
44212 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
44214         [BZ #3268]
44215         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44216         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44217         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44218         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44219         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44220         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44221         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44222         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44223         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44224         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44225         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44226         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44227         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44228         * math/ftestexcept.c (fetestexcept): Likewise.
44229         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44230         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44231         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44232         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44233         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44234         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44235         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44237 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44239         [BZ #12107]
44240         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44241         newline.
44243 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
44245         * string/bug-strstr1.c: New file.
44246         * string/Makefile: Add rules to build and run bug-strstr1.
44248 2010-10-05  Eric Blake  <eblake@redhat.com>
44250         [BZ #12092]
44251         * string/str-two-way.h (two_way_long_needle): Always clear memory
44252         when skipping input due to the shift table.
44254 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
44256         [BZ #12005]
44257         * malloc/mcheck.c: Handle large requests.
44259         [BZ #12077]
44260         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44261         for strncmp and strncasecmp.
44262         * string/stratcliff.c: Add tests for strcmp and strncmp.
44263         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44265 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44267         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44268         __set_fpscr.
44270 2010-09-30  Andreas Jaeger  <aj@suse.de>
44272         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44273         (CGROUP_SUPER_MAGIC): Define.
44274         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44275         Handle btrfs and cgroup file systems.
44276         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44277         Likewise.
44279 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
44281         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44282         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44284 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44286         [BZ #12067]
44287         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44288         trying to locate the ELF header.
44290 2010-09-27  Andreas Schwab  <schwab@redhat.com>
44292         [BZ #11611]
44293         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44294         Mask out sign-bit copies when constructing f_fsid.
44296 2010-09-24  Petr Baudis <pasky@suse.cz>
44298         * debug/stack_chk_fail_local.c: Add missing licence exception.
44299         * debug/warning-nop.c: Likewise.
44301 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
44303         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44304         implementing getdents64 using getdents syscall, set d_type if
44305         __ASSUME_GETDENTS32_D_TYPE.
44307 2010-09-16  Andreas Schwab  <schwab@redhat.com>
44309         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44310         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44312 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
44314         [BZ #12037]
44315         * posix/unistd.h: Undo change of feature selection for ftruncate from
44316         2010-01-11.
44318 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
44320         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44321         detection.
44323 2010-09-20  Andreas Schwab  <schwab@redhat.com>
44325         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44326         fanotify_mark.
44327         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44329 2010-09-14  Andreas Schwab  <schwab@redhat.com>
44331         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44332         variables after CHECK_SP call.
44333         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44335 2010-09-13  Andreas Schwab  <schwab@redhat.com>
44336             Ulrich Drepper  <drepper@redhat.com>
44338         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44339         re-relocationg ld.so.
44340         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44341         _dl_init_paths call.
44342         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
44343         here anymore.
44345 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
44347         * resolv/res_init.c (__res_vinit): Count the default server we added.
44349 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
44350             Ulrich Drepper  <drepper@redhat.com>
44352         [BZ #11968]
44353         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44354         (____longjmp_chk): Use %ebx for saving value across system call.
44355         Add unwind info.
44357 2010-09-06  Andreas Schwab  <schwab@redhat.com>
44359         * manual/Makefile: Don't mix pattern rules with normal rules.
44361 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44363         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44364         operation.
44365         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44366         * libio/iofopncook.c (_IO_cookie_init): Likewise.
44367         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44368         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44369         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44370         Likewise.
44372 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
44374         [BZ #11979]
44375         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44376         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44378 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
44380         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44381         * sysdeps/x86_64/addmul_1.S: Likewise.
44382         * sysdeps/x86_64/lshift.S: Likewise.
44383         * sysdeps/x86_64/mul_1.S: Likewise.
44384         * sysdeps/x86_64/rshift.S: Likewise.
44385         * sysdeps/x86_64/sub_n.S: Likewise.
44386         * sysdeps/x86_64/submul_1.S: Likewise.
44388 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44390         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44391         Define __sched_param instead of SCHED_* and sched_param when
44392         <bits/sched.h> is included with __need_schedparam defined.
44393         * bits/sched.h [__need_schedparam]
44394         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44395         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44396         (__defined_schedparam): Define to 1.
44397         (__sched_param): New structure, identical to sched_param.
44398         (__need_schedparam): Undefine.
44400 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
44402         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44403         (epoll_create1): Declare.
44405         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44407 2010-08-31  Andreas Schwab  <schwab@redhat.com>
44409         [BZ #7066]
44410         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44411         shifting retval into place.
44413 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44415         * nis/rpcsvc/nis.h: Update copyright notice.
44416         * nis/rpcsvc/nis.x: Likewise.
44417         * nis/rpcsvc/nis_callback.h: Likewise.
44418         * nis/rpcsvc/nis_callback.x: Likewise.
44419         * nis/rpcsvc/nis_object.x: Likewise.
44420         * nis/rpcsvc/nis_tags.h: Likewise.
44421         * nis/rpcsvc/yp.h: Likewise.
44422         * nis/rpcsvc/yp.x: Likewise.
44423         * nis/rpcsvc/ypupd.h: Likewise.
44424         * nis/yp_xdr.c: Likewise.
44425         * nis/ypupdate_xdr.c: Likewise.
44427         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
44428         mainly the body of pmap_getport.  Add parameters to specify timeouts.
44429         (pmap_getport): Use __libc_rpc_getport.
44430         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44431         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44432         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44434 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
44436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44437         fanotify_mark.
44439 2010-08-27  Roland McGrath  <roland@redhat.com>
44441         * sysdeps/i386/i686/multiarch/Makefile
44442         (CFLAGS-varshift.c): New variable.
44444 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
44446         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44447         * sysdeps/i386/i686/multiarch/varshift.c: New file.
44449         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44451         * sysdeps/x86_64/strlen.S: Minimal code improvement.
44453 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
44455         * sysdeps/x86_64/strlen.S: Unroll the loop.
44456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44457         strlen-sse2 strlen-sse2-bsf.
44458         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44459         __strlen_no_bsf if bit_Slow_BSF is set.
44460         (__strlen_sse42): Removed.
44461         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44462         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44464 2010-08-25  Roland McGrath  <roland@redhat.com>
44466         * sysdeps/x86_64/multiarch/varshift.S: File removed.
44467         * sysdeps/x86_64/multiarch/varshift.c: New file.
44468         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44469         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44470         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44471         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44473 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
44475         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44476         strlen-sse2 strlen-sse2-bsf.
44477         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44478         __strlen_sse2_bsf if bit_Slow_BSF is unset.
44479         (__strlen_sse2): Removed.
44480         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44481         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44483         bit_Slow_BSF for Atom.
44484         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44485         (index_Slow_BSF): Define.
44486         (HAS_SLOW_BSF): Define.
44488 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
44490         [BZ #10851]
44491         * resolv/res_init.c (__res_vinit): When no server address at all
44492         is given default to loopback.
44494 2010-08-24  Roland McGrath  <roland@redhat.com>
44496         * configure.in: Remove config-name.h generation.
44497         * configure: Regenerated.
44498         * config-name.in: File removed.
44499         * scripts/config-uname.sh: New file.
44500         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44501         ($(objdir)config-name.h): New target.
44503         * sunrpc/rpc_parse.h: Avoid nested comment.
44505 2010-08-24  Richard Henderson  <rth@redhat.com>
44506             Ulrich Drepper  <drepper@redhat.com>
44507             H.J. Lu  <hongjiu.lu@intel.com>
44509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44510         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44511         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44512         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
44513         _mm_alignr_epi8 with _mm_loadu_si128.
44514         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44515         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44516         (__m128i_shift_right): Removed.
44517         * sysdeps/i386/i686/multiarch/varshift.h: New file.
44518         * sysdeps/i386/i686/multiarch/varshift.S: New file.
44519         * sysdeps/x86_64/multiarch/varshift.h: New file.
44520         * sysdeps/x86_64/multiarch/varshift.S: New file.
44522 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
44524         * configure.in: Move assembler checks to before sysdep dir checking.
44526 2010-08-20  Petr Baudis  <pasky@suse.cz>
44528         * LICENSES: Sync the sunrpc license.
44530 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
44532         * sunrpc/auth_des.c: Update copyright notice once again.
44533         * sunrpc/auth_none.c: Likewise.
44534         * sunrpc/auth_unix.c: Likewise.
44535         * sunrpc/authdes_prot.c: Likewise.
44536         * sunrpc/authuxprot.c: Likewise.
44537         * sunrpc/bindrsvprt.c: Likewise.
44538         * sunrpc/clnt_gen.c: Likewise.
44539         * sunrpc/clnt_perr.c: Likewise.
44540         * sunrpc/clnt_raw.c: Likewise.
44541         * sunrpc/clnt_simp.c: Likewise.
44542         * sunrpc/clnt_tcp.c: Likewise.
44543         * sunrpc/clnt_udp.c: Likewise.
44544         * sunrpc/clnt_unix.c: Likewise.
44545         * sunrpc/des_crypt.c: Likewise.
44546         * sunrpc/des_soft.c: Likewise.
44547         * sunrpc/get_myaddr.c: Likewise.
44548         * sunrpc/getrpcport.c: Likewise.
44549         * sunrpc/key_call.c: Likewise.
44550         * sunrpc/key_prot.c: Likewise.
44551         * sunrpc/openchild.c: Likewise.
44552         * sunrpc/pm_getmaps.c: Likewise.
44553         * sunrpc/pm_getport.c: Likewise.
44554         * sunrpc/pmap_clnt.c: Likewise.
44555         * sunrpc/pmap_prot.c: Likewise.
44556         * sunrpc/pmap_prot2.c: Likewise.
44557         * sunrpc/pmap_rmt.c: Likewise.
44558         * sunrpc/rpc/auth.h: Likewise.
44559         * sunrpc/rpc/auth_unix.h: Likewise.
44560         * sunrpc/rpc/clnt.h: Likewise.
44561         * sunrpc/rpc/des_crypt.h: Likewise.
44562         * sunrpc/rpc/key_prot.h: Likewise.
44563         * sunrpc/rpc/netdb.h: Likewise.
44564         * sunrpc/rpc/pmap_clnt.h: Likewise.
44565         * sunrpc/rpc/pmap_prot.h: Likewise.
44566         * sunrpc/rpc/pmap_rmt.h: Likewise.
44567         * sunrpc/rpc/rpc.h: Likewise.
44568         * sunrpc/rpc/rpc_des.h: Likewise.
44569         * sunrpc/rpc/rpc_msg.h: Likewise.
44570         * sunrpc/rpc/svc.h: Likewise.
44571         * sunrpc/rpc/svc_auth.h: Likewise.
44572         * sunrpc/rpc/types.h: Likewise.
44573         * sunrpc/rpc/xdr.h: Likewise.
44574         * sunrpc/rpc_clntout.c: Likewise.
44575         * sunrpc/rpc_cmsg.c: Likewise.
44576         * sunrpc/rpc_common.c: Likewise.
44577         * sunrpc/rpc_cout.c: Likewise.
44578         * sunrpc/rpc_dtable.c: Likewise.
44579         * sunrpc/rpc_hout.c: Likewise.
44580         * sunrpc/rpc_main.c: Likewise.
44581         * sunrpc/rpc_parse.c: Likewise.
44582         * sunrpc/rpc_parse.h: Likewise.
44583         * sunrpc/rpc_prot.c: Likewise.
44584         * sunrpc/rpc_sample.c: Likewise.
44585         * sunrpc/rpc_scan.c: Likewise.
44586         * sunrpc/rpc_scan.h: Likewise.
44587         * sunrpc/rpc_svcout.c: Likewise.
44588         * sunrpc/rpc_tblout.c: Likewise.
44589         * sunrpc/rpc_util.c: Likewise.
44590         * sunrpc/rpc_util.h: Likewise.
44591         * sunrpc/rpcinfo.c: Likewise.
44592         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44593         * sunrpc/rpcsvc/key_prot.x: Likewise.
44594         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44595         * sunrpc/rpcsvc/mount.x: Likewise.
44596         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44597         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44598         * sunrpc/rpcsvc/rex.x: Likewise.
44599         * sunrpc/rpcsvc/rstat.x: Likewise.
44600         * sunrpc/rpcsvc/rusers.x: Likewise.
44601         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44602         * sunrpc/rpcsvc/spray.x: Likewise.
44603         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44604         * sunrpc/rtime.c: Likewise.
44605         * sunrpc/svc.c: Likewise.
44606         * sunrpc/svc_auth.c: Likewise.
44607         * sunrpc/svc_authux.c: Likewise.
44608         * sunrpc/svc_raw.c: Likewise.
44609         * sunrpc/svc_run.c: Likewise.
44610         * sunrpc/svc_simple.c: Likewise.
44611         * sunrpc/svc_tcp.c: Likewise.
44612         * sunrpc/svc_udp.c: Likewise.
44613         * sunrpc/svc_unix.c: Likewise.
44614         * sunrpc/svcauth_des.c: Likewise.
44615         * sunrpc/xcrypt.c: Likewise.
44616         * sunrpc/xdr.c: Likewise.
44617         * sunrpc/xdr_array.c: Likewise.
44618         * sunrpc/xdr_float.c: Likewise.
44619         * sunrpc/xdr_mem.c: Likewise.
44620         * sunrpc/xdr_rec.c: Likewise.
44621         * sunrpc/xdr_ref.c: Likewise.
44622         * sunrpc/xdr_sizeof.c: Likewise.
44623         * sunrpc/xdr_stdio.c: Likewise.
44625         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44626         handling.
44628 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44630         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44632 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44634         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44635         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44636         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44637         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44638         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44639         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44640         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44641         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44642         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44643         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44644         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44645         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44646         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44647         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44649 2010-07-26  Anton Blanchard  <anton@samba.org>
44651         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44652         * malloc/arena.c (heap_trim): Likewise.
44654 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44656         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44657         here.  Not...
44658         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44659         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44661 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44663         * sysdeps/i386/elf/Makefile: New file.
44665 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44667         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44668         from fanotify_init.
44669         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44670         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44672 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44674         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44675         of strncasecmp_l.
44676         * sysdeps/multiarch/strcmp.S: Likewise.
44678 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44680         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44681         strncase_l-nonascii.
44682         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44683         Add strncase_l-ssse3.
44684         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44685         * sysdeps/x86_64/strcmp.S: Likewise.
44686         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44687         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44688         * sysdeps/x86_64/strncase.S: New file.
44689         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44690         * sysdeps/x86_64/strncase_l.S: New file.
44691         * string/Makefile (strop-tests): Add strncasecmp.
44692         * string/test-strncasecmp.c: New file.
44694         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44695         warning.
44697         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44698         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44700 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44702         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44704 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44706         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44707         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44708         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44710 2010-05-01  Alan Modra  <amodra@gmail.com>
44712         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44713         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44714         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44715         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44716         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44717         tidying.  Don't tail-call __sigjmp_save for static lib.
44718         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44719         save location.
44720         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44721         (CALL_MCOUNT): Add eh info, and nop after bl.
44722         (TAIL_CALL_SYSCALL_ERROR): New macro.
44723         (PSEUDO_RET): Use it.
44724         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44725         Correct save location of integer regs and cr.
44726         (_dl_profile_resolve): Correct cr save location.  Delete nops
44727         after bl when SHARED.  Reduce cfi size a little by better
44728         placement of cfi directives.
44729         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44730         make a stack frame.  Instead use parm save area as a temp.
44731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44732         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44734         Don't make a stack frame for parent, use parm save area.
44735         Increase child stack frame to 112 bytes.  Don't save unused reg,
44736         and adjust reg usage.  Set up cfi on error recovery and
44737         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44739         (__makecontext): Add dummy nop after jump to exit.
44740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44741         Use correct parm save area and cr save, reduce stack frame.
44742         Correct cfi for possible PSEUDO_RET frame setup.
44743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44744         Branch to local label emitted by PSEUDO_RET rather than
44745         __syscall_error.
44747 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44749         [BZ #11904]
44750         * locale/programs/locale.c (print_assignment): New function.
44751         (show_locale_vars): Use it.
44753 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44755         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44756         field.
44757         (struct statfs64): Likewise.
44758         (_STATFS_F_FLAGS): Define.
44759         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44760         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44761         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44762         (ST_VALID): Define locally.
44763         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44764         __statvfs_getflags, use the provided value.
44765         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44766         __ASSUME_STATFS_F_FLAGS.
44768         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44770         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44771         Add sys/fanotify.h.
44772         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44773         fanotify_mask for GLIBC_2.13.
44774         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44775         fanotify_init and fanotify_mark.
44776         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44777         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44779         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44780         Add prlimit.
44781         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44782         prlimit64 for GLIBC_2.13.
44783         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44784         prlimit64.
44785         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44786         syscall.
44787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44788         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44789         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44790         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44792         add prlimit alias.
44793         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44795         [BZ #11903]
44796         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44797         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44799         * nss/Makefile: Add rules to build and run tst-nss-test1.
44800         * shlib-versions: Add entry for libnss_test1.
44801         * nss/nss_test1.c: New file.
44802         * nss/tst-nss-test1.c: New file.
44804         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44805         (__nss_configure_lookup): Set appropriate entry in
44806         __nss_configure_lookup to true.
44807         * nss/nsswitch.h: Define enum with indeces of databases in
44808         databases and __nss_database_custom arrays.  Declare
44809         __nss_database_custom.
44810         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44811         to avoid using nscd when custom rules are installed.
44812         * nss/getXXbyYY_r.c: Likewise.
44813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44815         * nss/nss_files/files-parse.c: Whitespace fixes.
44817 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44819         [BZ #11883]
44820         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44821         * posix/fnmatch_loop.c: Likewise.
44823 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44825         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44826         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44827         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44828         * Versions.def [GLIBC_2.13]: Add.
44830 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44832         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44833         Also fail if tpwd after pwuid call is NULL.
44835 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44837         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44838         when converting to ms.
44840 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44842         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44843         EOPNOTSUPP errors with ENOTTY.
44844         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44845         EOPNOTSUPP errors with ENOTTY.
44847 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44849         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44850         Add strcasecmp_l-ssse3.
44851         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44852         strcasecmp.
44853         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44854         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44855         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44857 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44859         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44861         * string/Makefile (strop-tests): Add strcasecmp.
44862         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44863         strcasecmp_l-nonascii.
44864         (gen-as-const-headers): Add locale-defines.sym.
44865         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44866         * sysdeps/x86_64/strcasecmp.S: New file.
44867         * sysdeps/x86_64/strcasecmp_l.S: New file.
44868         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44869         * sysdeps/x86_64/locale-defines.sym: New file.
44870         * string/test-strcasecmp.c: New file.
44872         * string/test-strcasestr.c: Test both ends of the range of characters.
44873         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44875 2010-07-29  Roland McGrath  <roland@redhat.com>
44877         [BZ #11856]
44878         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44880 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44882         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44883         for ld.so.
44885 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44887         * manual/memory.texi (Malloc Tunable Parameters): Document
44888         M_PERTURB.
44890 2010-07-26  Roland McGrath  <roland@redhat.com>
44892         [BZ #11840]
44893         * configure.in (-fgnu89-inline check): Set and substitute
44894         gnu89_inline, not libc_cv_gnu89_inline.
44895         * configure: Regenerated.
44896         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44898 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44900         * string/test-strnlen.c: New file.
44901         * string/Makefile (strop-tests): Add strnlen.
44902         * string/tester.c (test_strnlen): Add a few more test cases.
44903         * string/tst-strlen.c: Better error reporting.
44905         * sysdeps/x86_64/strnlen.S: New file.
44907 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44909         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44910         lower-latency instructions.
44912 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44914         * string/test-strcasestr.c: New file.
44915         * string/test-strstr.c: New file.
44916         * string/Makefile (strop-tests): Add strstr and strcasestr.
44917         * string/str-two-way.h: Don't undefine MAX.
44918         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44920 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44922         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44923         strcasestr-nonascii.
44924         (CFLAGS-strcasestr-nonascii.c): Define.
44925         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44926         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44927         Remove unused attribute.
44929 2010-07-20  Roland McGrath  <roland@redhat.com>
44931         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44932         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44933         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44934         like LD_HWCAP_MASK can disable hwcaps.
44936 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44938         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44940 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44942         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44943         call in strcasestr.
44944         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44945         __strcasestr_sse42_nonascii.
44946         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44947         strcasestr-nonascii.c.
44948         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44950 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44952         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44953         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44954         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44955         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44957 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44959         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44960         fcntl.
44962 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44964         [BZ #11577]
44965         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44966         dl_signal_cerror.
44968 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44970         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44971         _PC_PIPE_BUF using F_GETPIPE_SZ.
44973 2010-07-05  Roland McGrath  <roland@redhat.com>
44975         * manual/arith.texi (Rounding Functions): Fix rint description
44976         implicit in round description.
44978 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44980         * elf/Makefile: Fix linking for a few tests to make recent linker
44981         happy.
44983 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44985         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44986         $(common-objpfx)libc_nonshared.a.
44988 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44990         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44991         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44992         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44993         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44994         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44995         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44996         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44997         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45012         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45013         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45014         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45015         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45016         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45017         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45018         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45019         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45020         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45021         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45022         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45023         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45039 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
45041         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45042         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
45043         * string/memmove.c (memmove): Renamed to ...
45044         (MEMMOVE): ...this.  Default to memmove.
45045         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45046         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45047         (END_CHK): Define.
45048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45049         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45050         mempcpy-ssse3-back memmove-ssse3-back.
45051         * sysdeps/x86_64/multiarch/bcopy.S: New file .
45052         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45053         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45054         * sysdeps/x86_64/multiarch/memcpy.S: New file.
45055         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45056         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45057         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45058         * sysdeps/x86_64/multiarch/memmove.c: New file.
45059         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45060         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45061         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45062         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45063         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45064         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45065         Define.
45066         (index_Fast_Copy_Backward): Define.
45067         (HAS_ARCH_FEATURE): Define.
45068         (HAS_FAST_REP_STRING): Define.
45069         (HAS_FAST_COPY_BACKWARD): Define.
45071 2010-06-21  Andreas Schwab  <schwab@redhat.com>
45073         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45074         Restore proper fallback handling.
45076 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
45078         [BZ #11701]
45079         * posix/group_member.c (__group_member): Correct checking loop.
45081         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45082         OOM in getpwuid_r correctly.  Return error number when the caller
45083         should return, otherwise -1.
45084         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45085         call returning > 0 value.
45086         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45088 2010-06-07  Andreas Schwab  <schwab@redhat.com>
45090         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45091         libc_nonshared.a from targets in modules-names.
45093 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
45095         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45096         requires it.
45098 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
45100         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45101         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45102         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45103         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45105 2010-06-02  Andreas Schwab  <schwab@redhat.com>
45107         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45109 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
45111         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45112         and F_GETPIPE_SZ.
45113         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45114         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45115         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45116         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45117         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45118         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45120 2010-06-14  Roland McGrath  <roland@redhat.com>
45122         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45124 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
45126         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45127         __REDIRECT followed by __THROW.
45128         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45129         * posix/getopt.h (getopt): Likewise.
45131 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45133         * hurd/lookup-at.c (__file_name_lookup_at): Accept
45134         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
45135         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45136         in AT_FLAGS.
45137         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45138         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45140 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
45142         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45144 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
45146         [BZ #11640]
45147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45148         Properly check family and model.
45150 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
45152         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45154 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
45156         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45158 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
45160         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45161         symbol reference.
45163 2010-05-19  Andreas Schwab  <schwab@redhat.com>
45165         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45166         symbol reference.
45168 2010-05-21  Andreas Schwab  <schwab@redhat.com>
45170         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45171         and internal_recvmmsg.
45172         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45173         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45174         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45175         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45177         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45178         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45179         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45181 2010-05-20  Andreas Schwab  <schwab@redhat.com>
45183         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45185 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
45187         POWER7 optimizations.
45188         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45189         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45191 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
45193         * version.h: Update for 2.13 development version.
45195 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
45197         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45198         exceptions.  Return 0.
45200 2010-05-07  Roland McGrath  <roland@redhat.com>
45202         * elf/ldconfig.c (main): Add a const.
45204 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
45206         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45207         (args_options): Add no-idn option.
45208         (ahosts_keys_int): Add idn_flags to ai_flags.
45209         (parse_option): Handle 'i' option to clear idn_flags.
45211         * malloc/malloc.c (_int_free): Possible race in the most recently
45212         added check.  Only act on the data if no current modification
45213         happened.
45215 See ChangeLog.17 for earlier changes.